UNPKG

10.7 kBMarkdownView Raw
1<p align="center">
2 <img style="
3 @font-face {
4 font-family: Open Sans;
5 src: url(scr/assets/fonts/opensans.TTF);
6 }
7 font-family: 'Open Sans'
8 " src="src/assets/img/logo-readme.svg" width="500">
9 <br />
10 Truly-UI is a UI Framework for creating rich desktop applications
11 <br /><br />
12 <a href="http://commitizen.github.io/cz-cli/">
13 <img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?branch=master" />
14 </a>
15 <a href="https://david-dm.org/TemainfoSoftware/truly-ui/">
16 <img src="https://david-dm.org/TemainfoSoftware/truly-ui.svg" />
17 </a>
18 <a href="https://github.com/semantic-release/semantic-release">
19 <img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" />
20 </a>
21 <br />
22 <a href="https://github.com/TemainfoSoftware/truly-ui/blob/master/LICENSE.md">
23 <img src="https://img.shields.io/badge/license-MIT-green.svg" />
24 </a>
25 <a href="https://greenkeeper.io/">
26 <img src="https://badges.greenkeeper.io/TemainfoSoftware/truly-ui.svg" />
27 </a>
28 <a href="https://www.codacy.com/app/mister-x59/truly-ui?utm_source=github.com&utm_medium=referral&utm_content=TemainfoSoftware/truly-ui&utm_campaign=badger">
29 <img src="https://api.codacy.com/project/badge/Grade/666b375858d540d08c7dccb9fe8e5a30" />
30 </a>
31 <a href="https://travis-ci.org/TemainfoSoftware/truly-ui">
32 <img src="https://travis-ci.org/TemainfoSoftware/truly-ui.svg?branch=master" />
33 </a>
34 <br/>
35</p>
36
37-------
38
39<p align="center">
40 <a href="#quick-links">Quick Links</a> &bull;
41 <a href="#motivation">Motivation</a> &bull;
42 <a href="#prerequisites">Prerequisites</a> &bull;
43 <a href="#installation">Installation</a> &bull;
44 <a href="#usage">Usage</a> &bull;
45 <a href="#available-features">Available Features</a> &bull;
46 <a href="#feedback">Feedback</a> &bull;
47 <a href="#license">License</a>
48</p>
49
50-------
51 <br/>
52
53## Quick Links
54
55* ✨ Learn about it on the [docs site](http://truly-ui.com/)
56* 🚀 See it in action on [Stackblitz](https://stackblitz.com/edit/truly-ui-simple)
57* 😎 Checkout the [sample application](integration.md)
58* 📖 Read the blog [posts](https://medium.com/truly-ui)
59* 📝 Learn about updates from the [changelog](https://github.com/TemainfoSoftware/truly-ui/releases)
60* 💬 Get to know the latest news first through [slack](https://trulyui.slack.com)
61
62## Motivation
63
64TrulyUI is an Angular Framework especially developed for Desktop Applications based on Web Components using the greatest technologies of the world. TrulyUI is based on Angular, maintained by world-wide community. By the way, we believe that Angular is the most promising Web Framework. We developed TrulyUI thinking to fill a gap on open-source Web Technologies that's poor when it's about applications on Desktop. Ex: Electron, App.js and NW.js
65
66## Prerequisites
67
68We assume that you have already installed the following packages at least and are already running an AngularIO project.
69
70* [NodeJS &gt;= 11.2.0](https://nodejs.org)
71* [Angular Cli &gt;= 10.0.0](https://cli.angular.io/)
72* [Angular &gt;= 10.0.0](https://angular.io/)
73
74## Installation
75
761. Having NPM installation run the following command on your terminal to install it:
77
78 ```bash
79 $ npm install --save truly-ui @angular/animations @angular/cdk
80 ```
81
822. Because NPM does not install `peerDependencies`, you should manually install the dependencies:
83
84 ```bash
85 $ npm install --save string-format ts-md5 object-path reflect-metadata
86 $ npm install --save-dev @types/object-path
87 ```
88
893. Configure styles of used font packages \(Icon Packages are already installed when running npm install truly-ui\):
90
91 Inside the `angular.json` file add the following paths to the `styles` key
92
93 ```text
94 "styles": [
95 "src/styles.css",
96 ...
97 "node_modules/@angular/cdk/overlay-prebuilt.css",
98 "node_modules/truly-ui/css/icons/dx-icons/css/icons.scss",
99 "node_modules/truly-ui/css/icons/fa-icons/css/icons.scss",
100 "node_modules/truly-ui/css/icons/ion-icons/css/icons.scss",
101 "node_modules/truly-ui/css/icons/animations.scss"
102 ]
103 ```
104
1054. Configure CoreModule on your AppModule:
106
107 ```typescript
108 import { BrowserModule } from '@angular/platform-browser';
109 import { FormsModule } from '@angular/forms';
110 import { NgModule } from '@angular/core';
111
112 import { AppComponent } from './app.component';
113
114 import { CoreModule } from 'truly-ui'; //CoreModule
115
116 @NgModule({
117 declarations: [
118 AppComponent
119 ],
120 imports: [
121 BrowserModule,
122 CoreModule.forRoot({theme: 'default'}) // Configurations
123 ],
124 providers: [],
125 bootstrap: [AppComponent]
126 })
127 export class AppModule { }
128 ```
129
130 **Usage**
131
132 The use of the components is basically the importation of the main module and the use of the directives in its application: Example is the import of the input module and its use
133
134```typescript
135import { BrowserModule } from '@angular/platform-browser';
136import { FormsModule } from '@angular/forms';
137import { NgModule } from '@angular/core';
138
139import { AppComponent } from './app.component';
140
141// Import your library, for example the InputComponent :
142import { InputModule, ButtonModule, CoreModule } from 'truly-ui';//Import Modules
143
144@NgModule({
145 declarations: [
146 AppComponent
147 ],
148 imports: [
149 BrowserModule,
150 CoreModule.forRoot({theme: 'default'}),
151
152 // Specify your library as an import
153 InputModule,
154 ButtonModule
155 ],
156 providers: [],
157 bootstrap: [AppComponent]
158})
159export class AppModule { }
160```
161
162Once your library is imported, you can use its components, directives and pipes in your Angular application:
163
164```markup
165<!-- You can now use your library component in app.component.html -->
166
167 <tl-input
168 [(ngModel)]="Many Properties"
169 [iconBefore]="'ion-printer'"
170 [placeholder]="'With Placeholder'"
171 [textAfter]="'US'"
172 [clearButton]="true"
173 [autocomplete]="'off'">
174 </tl-input>
175```
176
177## Available Features
178
179| Feature | Notes | Docs |
180| :--- | :--- | :--- |
181| accordion | | [Docs](http://truly-ui.com/accordion) |
182| autocomplete | | [Docs](http://truly-ui.com/autocomplete) |
183| avatar | | [Docs](http://truly-ui.com/avatar) |
184| badge | | [Docs](http://truly-ui.com/badge) |
185| blockui | | [Docs](http://truly-ui.com/blockui) |
186| button | | [Docs](http://truly-ui.com/button) |
187| buttongroup | | [Docs](http://truly-ui.com/buttongroup) |
188| calendar | | [Docs](http://truly-ui.com/calendar) |
189| chatlist | | [Docs](http://truly-ui.com/chatlist) |
190| checkbox | | [Docs](http://truly-ui.com/checkbox) |
191| colorpicker | | [Docs](http://truly-ui.com/colorpicker) |
192| contextmenu | | [Docs](http://truly-ui.com/contextmenu) |
193| datatable | | [Docs](http://truly-ui.com/datatable) |
194| datepicker | | [Docs](http://truly-ui.com/datepicker) |
195| dialog | | [Docs](http://truly-ui.com/dialog) |
196| dropdownlist | | [Docs](http://truly-ui.com/dropdownlist) |
197| editor | | [Docs](http://truly-ui.com/editor) |
198| form | | [Docs](http://truly-ui.com/form) |
199| icon | | [Docs](http://truly-ui.com/icon) |
200| input | | [Docs](http://truly-ui.com/input) |
201| listbox | | [Docs](http://truly-ui.com/listbox) |
202| menu | | [Docs](http://truly-ui.com/menu) |
203| shortcut | | [Docs](http://truly-ui.com/misc) |
204| modal | | [Docs](http://truly-ui.com/modal) |
205| multiselect | | [Docs](http://truly-ui.com/multiselect) |
206| multiview | | [Docs](http://truly-ui.com/multiview) |
207| navigator | | [Docs](http://truly-ui.com/navigator) |
208| overlaypanel | | [Docs](http://truly-ui.com/overlaypanel) |
209| panelgroup | | [Docs](http://truly-ui.com/panelgroup) |
210| popupmenu | | [Docs](http://truly-ui.com/popupmenu) |
211| progressbar | | [Docs](http://truly-ui.com/progressbar) |
212| radiobutton | | [Docs](http://truly-ui.com/radiobutton) |
213| sidebar | | [Docs](http://truly-ui.com/sidebar) |
214| splitbutton | | [Docs](http://truly-ui.com/splitbutton) |
215| stopwatch | | [Docs](http://truly-ui.com/stopwatch) |
216| switch | | [Docs](http://truly-ui.com/switch) |
217| tabcontrol | | [Docs](http://truly-ui.com/tabcontrol) |
218| textarea | | [Docs](http://truly-ui.com/tabcontrol) |
219| theming | | [Docs](http://truly-ui.com/theming) |
220| timeavaliable | | [Docs](http://truly-ui.com/timeavaliable) |
221| timeline | | [Docs](http://truly-ui.com/timeline) |
222| timepicker | | [Docs](http://truly-ui.com/timepicker) |
223| toaster | | [Docs](http://truly-ui.com/toaster) |
224| toolbar | | [Docs](http://truly-ui.com/toolbar) |
225| tooltip | | [Docs](http://truly-ui.com/tooltip) |
226| validators | | [Docs](http://truly-ui.com/validators) |
227
228### In progress, planned, and non-planned features
229
230| Feature | Status | Docs | Issue |
231| :--- | :--- | :--- | :--- |
232| datetimepicker | non-planned | | |
233| clockpicker | In-progress, planned S1 2021 | | |
234| monthyearpicker | non-planned | | |
235| paginator | In-progress, planned S1 2021 | | |
236| schedule | In-progress, planned S1 2021 | | |
237| widget | non-planned | | |
238
239## Feedback
240
241Feedback is always welcome.
242
243## For google
244
245angular ui components angular 2 components, angular 4 components, angular electron, angular 5 components ng2 nw ng components ng-components ng2-components angular2 components angular4 electron angular 5 components angular 6 components angular 7 components angular electron components desktop applications library ui components desktop electron angular components electron angular
246
247## License
248
249The MIT License \(MIT\)
250
251Copyright \(c\) 2020 [Temainfo Software](mailto:suporte@temainfo.com.br)
252
253Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files \(the "Software"\), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
254
255The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
256
257THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
258