@falcon-ng/tailwind 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/esm2020/falcon-ng-tailwind.mjs +5 -0
  2. package/esm2020/lib/base-control.mjs +50 -0
  3. package/esm2020/lib/base-form-component.mjs +234 -0
  4. package/esm2020/lib/component/auto-complete/auto-complete.component.mjs +33 -0
  5. package/esm2020/lib/component/bottom-sheet/bottom-sheet.component.mjs +29 -0
  6. package/esm2020/lib/component/button/button.component.mjs +27 -0
  7. package/esm2020/lib/component/button-toggle/button-toggle.component.mjs +32 -0
  8. package/esm2020/lib/component/checkbox/checkbox.component.mjs +18 -0
  9. package/esm2020/lib/component/chips/chip.component.mjs +109 -0
  10. package/esm2020/lib/component/date-picker/date-picker.component.mjs +17 -0
  11. package/esm2020/lib/component/dialog/dialog.component.mjs +21 -0
  12. package/esm2020/lib/component/pagination/pagination.component.mjs +95 -0
  13. package/esm2020/lib/component/progress-bar/progress-bar.component.mjs +20 -0
  14. package/esm2020/lib/component/progress-spinner/progress-spinner.component.mjs +26 -0
  15. package/esm2020/lib/component/radio/radio.component.mjs +31 -0
  16. package/esm2020/lib/component/rich-text-editor/rich-text-editor.component.mjs +15 -0
  17. package/esm2020/lib/component/select/select.component.mjs +35 -0
  18. package/esm2020/lib/component/slide-toggle/slide-toggle.component.mjs +14 -0
  19. package/esm2020/lib/component/slider/slider.component.mjs +15 -0
  20. package/esm2020/lib/component/snack-bar/snack-bar.component.mjs +11 -0
  21. package/esm2020/lib/component/table/table.component.mjs +74 -0
  22. package/esm2020/lib/component/textarea/textarea.component.mjs +16 -0
  23. package/esm2020/lib/component/textbox/textbox.component.mjs +17 -0
  24. package/esm2020/lib/control-builder/control-builder.component.mjs +18 -0
  25. package/esm2020/lib/control-type/AutoComplete.mjs +8 -0
  26. package/esm2020/lib/control-type/Button.mjs +8 -0
  27. package/esm2020/lib/control-type/ButtonToggle.mjs +8 -0
  28. package/esm2020/lib/control-type/CheckBox.mjs +8 -0
  29. package/esm2020/lib/control-type/Chip.mjs +8 -0
  30. package/esm2020/lib/control-type/DatePicker.mjs +8 -0
  31. package/esm2020/lib/control-type/Divider.mjs +8 -0
  32. package/esm2020/lib/control-type/Editor.mjs +8 -0
  33. package/esm2020/lib/control-type/Radio.mjs +8 -0
  34. package/esm2020/lib/control-type/RichTextEditor.mjs +8 -0
  35. package/esm2020/lib/control-type/SlideToggle.mjs +8 -0
  36. package/esm2020/lib/control-type/Slider.mjs +8 -0
  37. package/esm2020/lib/control-type/Textarea.mjs +8 -0
  38. package/esm2020/lib/control-type/Textbox.mjs +8 -0
  39. package/esm2020/lib/control-type/select.mjs +8 -0
  40. package/esm2020/lib/falcon-core.module.mjs +230 -0
  41. package/esm2020/lib/model/constant.mjs +32 -0
  42. package/esm2020/lib/model/enum.mjs +2 -0
  43. package/esm2020/lib/model/environments.mjs +3 -0
  44. package/esm2020/lib/model/interface.mjs +2 -0
  45. package/esm2020/lib/model/ivalidator.mjs +2 -0
  46. package/esm2020/lib/module/angularmaterial.module.mjs +189 -0
  47. package/esm2020/lib/reactive-field.directive.mjs +28 -0
  48. package/esm2020/lib/service/appsetting.service.mjs +55 -0
  49. package/esm2020/lib/service/http/generic-http-client.mjs +197 -0
  50. package/esm2020/lib/service/http/igeneric-http-client.mjs +10 -0
  51. package/esm2020/lib/service/logger.service.mjs +78 -0
  52. package/esm2020/lib/service/open-id/TokenHelperService.mjs +71 -0
  53. package/esm2020/lib/service/open-id/auth-guard.service.mjs +30 -0
  54. package/esm2020/lib/service/open-id/auth.service.mjs +154 -0
  55. package/esm2020/public-api.mjs +47 -0
  56. package/fesm2015/falcon-ng-tailwind.mjs +1988 -0
  57. package/fesm2015/falcon-ng-tailwind.mjs.map +1 -0
  58. package/fesm2020/falcon-ng-tailwind.mjs +1962 -0
  59. package/fesm2020/falcon-ng-tailwind.mjs.map +1 -0
  60. package/index.d.ts +5 -0
  61. package/lib/base-control.d.ts +104 -0
  62. package/lib/base-form-component.d.ts +169 -0
  63. package/lib/component/auto-complete/auto-complete.component.d.ts +17 -0
  64. package/lib/component/bottom-sheet/bottom-sheet.component.d.ts +11 -0
  65. package/lib/component/button/button.component.d.ts +12 -0
  66. package/lib/component/button-toggle/button-toggle.component.d.ts +14 -0
  67. package/lib/component/checkbox/checkbox.component.d.ts +10 -0
  68. package/lib/component/chips/chip.component.d.ts +35 -0
  69. package/lib/component/date-picker/date-picker.component.d.ts +9 -0
  70. package/lib/component/dialog/dialog.component.d.ts +8 -0
  71. package/lib/component/pagination/pagination.component.d.ts +20 -0
  72. package/lib/component/progress-bar/progress-bar.component.d.ts +11 -0
  73. package/lib/component/progress-spinner/progress-spinner.component.d.ts +12 -0
  74. package/lib/component/radio/radio.component.d.ts +14 -0
  75. package/lib/component/rich-text-editor/rich-text-editor.component.d.ts +9 -0
  76. package/lib/component/select/select.component.d.ts +15 -0
  77. package/lib/component/slide-toggle/slide-toggle.component.d.ts +9 -0
  78. package/lib/component/slider/slider.component.d.ts +9 -0
  79. package/lib/component/snack-bar/snack-bar.component.d.ts +5 -0
  80. package/lib/component/table/table.component.d.ts +21 -0
  81. package/lib/component/textarea/textarea.component.d.ts +9 -0
  82. package/lib/component/textbox/textbox.component.d.ts +9 -0
  83. package/lib/control-builder/control-builder.component.d.ts +9 -0
  84. package/lib/control-type/AutoComplete.d.ts +5 -0
  85. package/lib/control-type/Button.d.ts +5 -0
  86. package/lib/control-type/ButtonToggle.d.ts +5 -0
  87. package/{src/lib/control-type/Chip.ts → lib/control-type/CheckBox.d.ts} +2 -3
  88. package/lib/control-type/Chip.d.ts +5 -0
  89. package/lib/control-type/DatePicker.d.ts +5 -0
  90. package/lib/control-type/Divider.d.ts +5 -0
  91. package/lib/control-type/Editor.d.ts +5 -0
  92. package/lib/control-type/Radio.d.ts +5 -0
  93. package/lib/control-type/RichTextEditor.d.ts +5 -0
  94. package/{src/lib/control-type/Radio.ts → lib/control-type/SlideToggle.d.ts} +2 -3
  95. package/lib/control-type/Slider.d.ts +5 -0
  96. package/lib/control-type/Textarea.d.ts +5 -0
  97. package/lib/control-type/Textbox.d.ts +5 -0
  98. package/lib/control-type/select.d.ts +5 -0
  99. package/lib/falcon-core.module.d.ts +35 -0
  100. package/lib/model/constant.d.ts +5 -0
  101. package/lib/model/enum.d.ts +144 -0
  102. package/{src/lib/model/environments.ts → lib/model/environments.d.ts} +5 -7
  103. package/{src/lib/model/interface.ts → lib/model/interface.d.ts} +80 -91
  104. package/{src/lib/model/ivalidator.ts → lib/model/ivalidator.d.ts} +3 -3
  105. package/lib/module/angularmaterial.module.d.ts +49 -0
  106. package/lib/reactive-field.directive.d.ts +14 -0
  107. package/lib/service/appsetting.service.d.ts +22 -0
  108. package/lib/service/http/generic-http-client.d.ts +121 -0
  109. package/lib/service/http/igeneric-http-client.d.ts +92 -0
  110. package/lib/service/logger.service.d.ts +18 -0
  111. package/lib/service/open-id/TokenHelperService.d.ts +11 -0
  112. package/lib/service/open-id/auth-guard.service.d.ts +11 -0
  113. package/lib/service/open-id/auth.service.d.ts +36 -0
  114. package/package.json +22 -2
  115. package/public-api.d.ts +34 -0
  116. package/ng-package.json +0 -7
  117. package/src/lib/base-control.ts +0 -142
  118. package/src/lib/base-form-component.ts +0 -363
  119. package/src/lib/component/auto-complete/auto-complete.component.html +0 -39
  120. package/src/lib/component/auto-complete/auto-complete.component.scss +0 -0
  121. package/src/lib/component/auto-complete/auto-complete.component.spec.ts +0 -23
  122. package/src/lib/component/auto-complete/auto-complete.component.ts +0 -31
  123. package/src/lib/component/bottom-sheet/bottom-sheet.component.html +0 -9
  124. package/src/lib/component/bottom-sheet/bottom-sheet.component.scss +0 -0
  125. package/src/lib/component/bottom-sheet/bottom-sheet.component.spec.ts +0 -23
  126. package/src/lib/component/bottom-sheet/bottom-sheet.component.ts +0 -19
  127. package/src/lib/component/button/button.component.css +0 -0
  128. package/src/lib/component/button/button.component.html +0 -54
  129. package/src/lib/component/button/button.component.spec.ts +0 -23
  130. package/src/lib/component/button/button.component.ts +0 -17
  131. package/src/lib/component/button-toggle/button-toggle.component.html +0 -21
  132. package/src/lib/component/button-toggle/button-toggle.component.scss +0 -0
  133. package/src/lib/component/button-toggle/button-toggle.component.spec.ts +0 -23
  134. package/src/lib/component/button-toggle/button-toggle.component.ts +0 -26
  135. package/src/lib/component/checkbox/checkbox.component.html +0 -6
  136. package/src/lib/component/checkbox/checkbox.component.scss +0 -0
  137. package/src/lib/component/checkbox/checkbox.component.spec.ts +0 -23
  138. package/src/lib/component/checkbox/checkbox.component.ts +0 -17
  139. package/src/lib/component/chips/chip.component.html +0 -75
  140. package/src/lib/component/chips/chip.component.scss +0 -3
  141. package/src/lib/component/chips/chip.component.spec.ts +0 -23
  142. package/src/lib/component/chips/chip.component.ts +0 -125
  143. package/src/lib/component/date-picker/date-picker.component.html +0 -18
  144. package/src/lib/component/date-picker/date-picker.component.scss +0 -0
  145. package/src/lib/component/date-picker/date-picker.component.spec.ts +0 -23
  146. package/src/lib/component/date-picker/date-picker.component.ts +0 -13
  147. package/src/lib/component/dialog/dialog.component.html +0 -12
  148. package/src/lib/component/dialog/dialog.component.scss +0 -3
  149. package/src/lib/component/dialog/dialog.component.spec.ts +0 -23
  150. package/src/lib/component/dialog/dialog.component.ts +0 -12
  151. package/src/lib/component/pagination/pagination.component.html +0 -10
  152. package/src/lib/component/pagination/pagination.component.scss +0 -0
  153. package/src/lib/component/pagination/pagination.component.spec.ts +0 -23
  154. package/src/lib/component/pagination/pagination.component.ts +0 -86
  155. package/src/lib/component/progress-bar/progress-bar.component.html +0 -1
  156. package/src/lib/component/progress-bar/progress-bar.component.scss +0 -0
  157. package/src/lib/component/progress-bar/progress-bar.component.spec.ts +0 -23
  158. package/src/lib/component/progress-bar/progress-bar.component.ts +0 -15
  159. package/src/lib/component/progress-spinner/progress-spinner.component.html +0 -7
  160. package/src/lib/component/progress-spinner/progress-spinner.component.scss +0 -0
  161. package/src/lib/component/progress-spinner/progress-spinner.component.spec.ts +0 -23
  162. package/src/lib/component/progress-spinner/progress-spinner.component.ts +0 -16
  163. package/src/lib/component/radio/radio.component.html +0 -13
  164. package/src/lib/component/radio/radio.component.scss +0 -14
  165. package/src/lib/component/radio/radio.component.spec.ts +0 -23
  166. package/src/lib/component/radio/radio.component.ts +0 -29
  167. package/src/lib/component/rich-text-editor/rich-text-editor.component.html +0 -10
  168. package/src/lib/component/rich-text-editor/rich-text-editor.component.scss +0 -0
  169. package/src/lib/component/rich-text-editor/rich-text-editor.component.spec.ts +0 -23
  170. package/src/lib/component/rich-text-editor/rich-text-editor.component.ts +0 -13
  171. package/src/lib/component/select/select.component.html +0 -25
  172. package/src/lib/component/select/select.component.scss +0 -0
  173. package/src/lib/component/select/select.component.spec.ts +0 -23
  174. package/src/lib/component/select/select.component.ts +0 -32
  175. package/src/lib/component/slide-toggle/slide-toggle.component.html +0 -7
  176. package/src/lib/component/slide-toggle/slide-toggle.component.scss +0 -0
  177. package/src/lib/component/slide-toggle/slide-toggle.component.spec.ts +0 -23
  178. package/src/lib/component/slide-toggle/slide-toggle.component.ts +0 -13
  179. package/src/lib/component/slider/slider.component.html +0 -11
  180. package/src/lib/component/slider/slider.component.scss +0 -0
  181. package/src/lib/component/slider/slider.component.spec.ts +0 -23
  182. package/src/lib/component/slider/slider.component.ts +0 -13
  183. package/src/lib/component/snack-bar/snack-bar.component.html +0 -1
  184. package/src/lib/component/snack-bar/snack-bar.component.scss +0 -0
  185. package/src/lib/component/snack-bar/snack-bar.component.spec.ts +0 -23
  186. package/src/lib/component/snack-bar/snack-bar.component.ts +0 -10
  187. package/src/lib/component/table/table.component.html +0 -82
  188. package/src/lib/component/table/table.component.scss +0 -17
  189. package/src/lib/component/table/table.component.spec.ts +0 -23
  190. package/src/lib/component/table/table.component.ts +0 -54
  191. package/src/lib/component/textarea/textarea.component.html +0 -22
  192. package/src/lib/component/textarea/textarea.component.scss +0 -3
  193. package/src/lib/component/textarea/textarea.component.spec.ts +0 -23
  194. package/src/lib/component/textarea/textarea.component.ts +0 -13
  195. package/src/lib/component/textbox/textbox.component.html +0 -27
  196. package/src/lib/component/textbox/textbox.component.scss +0 -3
  197. package/src/lib/component/textbox/textbox.component.spec.ts +0 -23
  198. package/src/lib/component/textbox/textbox.component.ts +0 -13
  199. package/src/lib/control-builder/control-builder.component.html +0 -5
  200. package/src/lib/control-builder/control-builder.component.scss +0 -0
  201. package/src/lib/control-builder/control-builder.component.ts +0 -14
  202. package/src/lib/control-type/AutoComplete.ts +0 -6
  203. package/src/lib/control-type/Button.ts +0 -6
  204. package/src/lib/control-type/ButtonToggle.ts +0 -6
  205. package/src/lib/control-type/CheckBox.ts +0 -6
  206. package/src/lib/control-type/DatePicker.ts +0 -6
  207. package/src/lib/control-type/Divider.ts +0 -6
  208. package/src/lib/control-type/Editor.ts +0 -6
  209. package/src/lib/control-type/RichTextEditor.ts +0 -6
  210. package/src/lib/control-type/SlideToggle.ts +0 -6
  211. package/src/lib/control-type/Slider.ts +0 -6
  212. package/src/lib/control-type/select.ts +0 -6
  213. package/src/lib/control-type/textarea.ts +0 -6
  214. package/src/lib/control-type/textbox.ts +0 -6
  215. package/src/lib/falcon-core.module.ts +0 -141
  216. package/src/lib/model/constant.ts +0 -32
  217. package/src/lib/model/enum.ts +0 -151
  218. package/src/lib/module/angularmaterial.module.ts +0 -98
  219. package/src/lib/reactive-field.directive.ts +0 -24
  220. package/src/lib/service/appsetting.service.ts +0 -57
  221. package/src/lib/service/http/generic-http-client.ts +0 -205
  222. package/src/lib/service/http/httpInterceptor.ts +0 -36
  223. package/src/lib/service/http/igeneric-http-client.ts +0 -110
  224. package/src/lib/service/logger.service.ts +0 -75
  225. package/src/lib/service/open-id/TokenHelperService.ts +0 -76
  226. package/src/lib/service/open-id/auth-guard.service.ts +0 -25
  227. package/src/lib/service/open-id/auth.service.ts +0 -179
  228. package/src/public-api.ts +0 -35
  229. package/tsconfig.lib.json +0 -15
  230. package/tsconfig.lib.prod.json +0 -10
  231. package/tsconfig.spec.json +0 -14
@@ -0,0 +1,169 @@
1
+ import { Observable } from 'rxjs';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { Layout } from './base-control';
4
+ /**
5
+ * @description
6
+ * Base form component initialized to create form controls, set validation, submit.
7
+ *
8
+ * @usageNotes
9
+ * The following snippet shows how a component can implement this abstract class to
10
+ * define its own initialization method.
11
+ * ```ts
12
+ * export class InputComponent extends BaseFormComponent<any> implements OnInit {
13
+ * constructor(fb : FormBuilder) {
14
+ * super(fb);
15
+ * this.defineForm();
16
+ * }
17
+ * protected defineForm(): void {
18
+ * }
19
+ * ngOnInit(): void {
20
+ * this.formGroup = this.createControls();
21
+ * }
22
+ * protected submitDatasource(model: any): Observable<any> {
23
+ * return of(model);
24
+ * }
25
+ * ```
26
+ */
27
+ export declare abstract class BaseFormComponent<T> {
28
+ formGroup: FormGroup;
29
+ protected abstract defineForm(): void;
30
+ protected abstract submitDataSource(model: T): Observable<T>;
31
+ dataSource: T | undefined;
32
+ controlsConfig: Layout<T>;
33
+ showLoading: boolean;
34
+ protected fb: FormBuilder;
35
+ constructor();
36
+ /**
37
+ * @description
38
+ * Method evoke on when the form is submitted.
39
+ * @returns submitDatasource() method with form data if valid otherwise form invalid.
40
+ */
41
+ onSubmit(): void;
42
+ /**
43
+ * @description
44
+ * Private method to validate all form controls before is form submited.
45
+ * @param formGroup Validate form group.
46
+ * @returns Groups of controls added to the form builder.
47
+ */
48
+ private validateAllFormFields;
49
+ /**
50
+ * @description
51
+ * Create the reactive form controls
52
+ * @returns Groups of controls added to the form builder.
53
+ */
54
+ protected createControls(): FormGroup<{}>;
55
+ /**
56
+ * @description
57
+ * Private method to bind the form control.
58
+ * @param controlConfig field to bind.
59
+ * @param group group to add.
60
+ * @param index index of the layout
61
+ */
62
+ private bindControl;
63
+ /**
64
+ * @description
65
+ * Private method to bind the validation to the form controls on form submit.
66
+ * @param validations Push the validation to the controls.
67
+ * @returns Validation.
68
+ */
69
+ private bindValidations;
70
+ /**
71
+ * Create an form array element
72
+ * @param layoutConfig layout of form array
73
+ * @returns Form array group
74
+ */
75
+ private createFormArrayGroup;
76
+ /**
77
+ * @description
78
+ * Reset fild values to default or specify some value.
79
+ * @param defaultValues Specify the specific value to set to the controls.
80
+ * @returns void.
81
+ */
82
+ reset(defaultValues?: any): void;
83
+ /**
84
+ * @description
85
+ * Reset specific fild Errors.
86
+ * @param name Name of the field to reset the error.
87
+ * @returns void.
88
+ */
89
+ resetFieldErrors(name: string): void;
90
+ /**
91
+ * @description
92
+ * Get the controls value from the form.
93
+ * @returns Form controls values.
94
+ */
95
+ get value(): any;
96
+ /**
97
+ * @description
98
+ * Updating parts of the data model.
99
+ * Use the patchValue() method to replace any properties defined in the object that have changed in the form model.
100
+ * @returns Form controls values.
101
+ * @param value The object that matches the structure of the group.
102
+ * @param options Configuration options that determine how the control propagates changes and
103
+ * emits events after the value is patched.
104
+ * `onlySelf`: When true, each change only affects this control and not its parent. Default is
105
+ * true.
106
+ * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
107
+ * `valueChanges`
108
+ * @usageNotes
109
+ * The following snippet shows how a component can implement this abstract class to
110
+ * define its own initialization method.
111
+ * ```ts
112
+ * this.formGroup.patchValue({
113
+ * name: 'Todd Motto',
114
+ * event: {
115
+ * title: 'AngularCamp 2016',
116
+ * location: 'Barcelona, Spain'
117
+ * }
118
+ * });
119
+ * ```
120
+ */
121
+ protected patchValue(value: {
122
+ [key: string]: any;
123
+ }, options?: {
124
+ onlySelf?: boolean;
125
+ emitEvent?: boolean;
126
+ }): void;
127
+ /**
128
+ * @description
129
+ * Updating parts of the data model.
130
+ * Use the setValue() method to set a new value for an individual control. The setValue() method strictly adheres to the structure of the form group and replaces the entire value for the control.
131
+ * @returns Form controls values.
132
+ * @param value The object that matches the structure of the group.
133
+ * @param options Configuration options that determine how the control propagates changes and
134
+ * emits events after the value is patched.
135
+ * `onlySelf`: When true, each change only affects this control and not its parent. Default is
136
+ * true.
137
+ * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
138
+ * `valueChanges`
139
+ * @usageNotes
140
+ * The following snippet shows how a component can implement this abstract class to
141
+ * define its own initialization method.
142
+ * ```ts
143
+ * this.formGroup.setValue({
144
+ * name: 'Todd Motto',
145
+ * event: {
146
+ * title: 'AngularCamp 2016',
147
+ * location: 'Barcelona, Spain'
148
+ * }
149
+ * });
150
+ * ```
151
+ */
152
+ protected setValue(value: {
153
+ [key: string]: any;
154
+ }, options?: {
155
+ onlySelf?: boolean;
156
+ emitEvent?: boolean;
157
+ }): void;
158
+ /**
159
+ * @description
160
+ * Dynamically remove the form control.
161
+ * @param index Index of item.
162
+ * @usageNotes
163
+ * The following snippet shows how to remove the form control from Froup Group
164
+ * ```ts
165
+ * removeControl(1);
166
+ * ```
167
+ */
168
+ protected removeControl(layoutIndex: number, index: number): void;
169
+ }
@@ -0,0 +1,17 @@
1
+ import { BaseControl } from "../../base-control";
2
+ import { FormControl, FormGroup } from "@angular/forms";
3
+ import { IOptions } from "../../model/interface";
4
+ import { Observable } from "rxjs";
5
+ import * as i0 from "@angular/core";
6
+ export declare class AutoCompleteComponent {
7
+ control: BaseControl<string>;
8
+ formGroup: FormGroup;
9
+ autoCompleteControl: FormControl<any>;
10
+ constructor();
11
+ filteredOptions: Observable<IOptions[]>;
12
+ ngOnInit(): void;
13
+ private _filter;
14
+ optionSelected(value: any): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "falcon-auto-complete", never, {}, {}, never, never, false, never>;
17
+ }
@@ -0,0 +1,11 @@
1
+ import { MatBottomSheetRef } from "@angular/material/bottom-sheet";
2
+ import * as i0 from "@angular/core";
3
+ export declare class BottomSheetComponent {
4
+ private _bottomSheetRef;
5
+ data: any;
6
+ constructor(_bottomSheetRef: MatBottomSheetRef<BottomSheetComponent>, data: any);
7
+ ngOnInit(): void;
8
+ click(event: MouseEvent, item: any): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BottomSheetComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<BottomSheetComponent, "lib-bottom-sheet", never, {}, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormGroup } from "@angular/forms";
3
+ import { BaseControl } from "../../base-control";
4
+ import * as i0 from "@angular/core";
5
+ export declare class ButtonComponent {
6
+ control: BaseControl<string>;
7
+ formGroup: FormGroup;
8
+ btnClick: EventEmitter<string>;
9
+ childBtnClick(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "falcon-button", never, { "control": "control"; "formGroup": "formGroup"; }, { "btnClick": "btnClick"; }, never, never, false, never>;
12
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormGroup } from "@angular/forms";
3
+ import { BaseControl } from "../../base-control";
4
+ import { MatButtonToggleChange } from "@angular/material/button-toggle";
5
+ import * as i0 from "@angular/core";
6
+ export declare class ButtonToggleComponent implements OnInit {
7
+ control: BaseControl<string>;
8
+ formGroup: FormGroup;
9
+ toggleGroupChange: EventEmitter<MatButtonToggleChange>;
10
+ ngOnInit(): void;
11
+ toggleChange($event: any): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonToggleComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonToggleComponent, "falcon-button-toggle", never, {}, { "toggleGroupChange": "toggleGroupChange"; }, never, never, false, never>;
14
+ }
@@ -0,0 +1,10 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import { BaseControl } from '../../base-control';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CheckboxComponent {
5
+ control: BaseControl<string>;
6
+ formGroup: FormGroup;
7
+ change($event: any): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "falcon-checkbox", never, {}, {}, never, never, false, never>;
10
+ }
@@ -0,0 +1,35 @@
1
+ import { ElementRef, OnInit } from '@angular/core';
2
+ import { BaseControl } from '../../base-control';
3
+ import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
4
+ import { Observable } from 'rxjs';
5
+ import { IOptions } from '../../model/interface';
6
+ import { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
7
+ import { MatChipInputEvent } from '@angular/material/chips';
8
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
9
+ import * as i0 from "@angular/core";
10
+ export declare class ChipComponent implements OnInit {
11
+ private fb;
12
+ control: BaseControl<any>;
13
+ formGroup: FormGroup;
14
+ readonly separatorKeysCodes: number[];
15
+ selectable: boolean;
16
+ removable: boolean;
17
+ addOnBlur: boolean;
18
+ filteredOptions: Observable<IOptions[]>;
19
+ autoCompleteControl: FormControl<string | null>;
20
+ private items;
21
+ chipAutoCompleteInput: ElementRef<HTMLInputElement>;
22
+ chipTextInput: ElementRef<HTMLInputElement>;
23
+ matAutocomplete: MatAutocomplete;
24
+ constructor(fb: FormBuilder);
25
+ ngOnInit(): void;
26
+ add(event: MatChipInputEvent): void;
27
+ createItem(value: String): FormGroup;
28
+ remove(option: IOptions): void;
29
+ optionSelected(event: MatAutocompleteSelectedEvent): void;
30
+ private _filter;
31
+ drop(event: CdkDragDrop<IOptions[]>): void;
32
+ keyboardEnterEvent(event: any): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "falcon-chip", never, { "control": "control"; "formGroup": "formGroup"; }, {}, never, never, false, never>;
35
+ }
@@ -0,0 +1,9 @@
1
+ import { BaseControl } from "../../base-control";
2
+ import { FormGroup } from "@angular/forms";
3
+ import * as i0 from "@angular/core";
4
+ export declare class DatePickerComponent {
5
+ control: BaseControl<string>;
6
+ formGroup: FormGroup;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "falcon-date-picker", never, {}, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { IDialogData } from "../../model/interface";
2
+ import * as i0 from "@angular/core";
3
+ export declare class DialogComponent {
4
+ data: IDialogData;
5
+ constructor(data: IDialogData);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "lib-dialog", never, {}, {}, never, never, false, never>;
8
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PaginationComponent {
4
+ totalPage: number;
5
+ pageSize: number;
6
+ paginationEvent: EventEmitter<number>;
7
+ paginationSize: number[];
8
+ preDisable: boolean;
9
+ nextDisable: boolean;
10
+ private start;
11
+ private end;
12
+ currentPage: number;
13
+ firstLoad: boolean;
14
+ constructor();
15
+ ngOnInit(): void;
16
+ receiveBtnChange($event: any): void;
17
+ private range;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "falcon-pagination", never, { "totalPage": "totalPage"; "pageSize": "pageSize"; }, { "paginationEvent": "paginationEvent"; }, never, never, false, never>;
20
+ }
@@ -0,0 +1,11 @@
1
+ import { ThemePalette } from "@angular/material/core";
2
+ import { ProgressBarMode } from "@angular/material/progress-bar";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ProgressBarComponent {
5
+ bufferValue: number;
6
+ color: ThemePalette;
7
+ mode: ProgressBarMode;
8
+ value: number;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "falcon-progress-bar", never, { "bufferValue": "bufferValue"; "color": "color"; "mode": "mode"; "value": "value"; }, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { ThemePalette } from "@angular/material/core";
2
+ import { ProgressSpinnerMode } from "@angular/material/progress-spinner";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ProgressSpinnerComponent {
5
+ diameter: number;
6
+ color: ThemePalette;
7
+ mode: ProgressSpinnerMode;
8
+ value: number;
9
+ strokeWidth: number;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressSpinnerComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressSpinnerComponent, "falcon-progress-spinner", never, { "diameter": "diameter"; "color": "color"; "mode": "mode"; "value": "value"; "strokeWidth": "strokeWidth"; }, {}, never, never, false, never>;
12
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { MatRadioChange } from "@angular/material/radio";
4
+ import { BaseControl } from "../../base-control";
5
+ import * as i0 from "@angular/core";
6
+ export declare class RadioComponent {
7
+ control: BaseControl<string>;
8
+ formGroup: FormGroup;
9
+ radioGroupChange: EventEmitter<MatRadioChange>;
10
+ ngOnInit(): void;
11
+ radioGroupChangeEvent($event: any): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "falcon-radio", never, {}, { "radioGroupChange": "radioGroupChange"; }, never, never, false, never>;
14
+ }
@@ -0,0 +1,9 @@
1
+ import { BaseControl } from "../../base-control";
2
+ import { FormGroup } from "@angular/forms";
3
+ import * as i0 from "@angular/core";
4
+ export declare class RichTextEditorComponent {
5
+ control: BaseControl<string>;
6
+ formGroup: FormGroup;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<RichTextEditorComponent, "lib-rich-text-editor", never, {}, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { BaseControl } from '../../base-control';
3
+ import { FormGroup } from '@angular/forms';
4
+ import { MatSelectChange } from '@angular/material/select';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SelectComponent implements OnInit {
7
+ control: BaseControl<string>;
8
+ formGroup: FormGroup;
9
+ selectionChange: EventEmitter<MatSelectChange>;
10
+ constructor();
11
+ ngOnInit(): void;
12
+ selectChange($event: any): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "falcon-select", never, {}, { "selectionChange": "selectionChange"; }, never, never, false, never>;
15
+ }
@@ -0,0 +1,9 @@
1
+ import { BaseControl } from "../../base-control";
2
+ import { FormGroup } from "@angular/forms";
3
+ import * as i0 from "@angular/core";
4
+ export declare class SlideToggleComponent {
5
+ control: BaseControl<string>;
6
+ formGroup: FormGroup;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SlideToggleComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<SlideToggleComponent, "falcon-slide-toggle", never, {}, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { BaseControl } from "../../base-control";
2
+ import { FormGroup } from "@angular/forms";
3
+ import * as i0 from "@angular/core";
4
+ export declare class SliderComponent {
5
+ control: BaseControl<string>;
6
+ formGroup: FormGroup;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "falcon-slider", never, {}, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SnackBarComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<SnackBarComponent, "lib-snack-bar", never, {}, {}, never, never, false, never>;
5
+ }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { MatTableConfig } from "../../model/interface";
3
+ import { MatPaginator, PageEvent } from "@angular/material/paginator";
4
+ import { MatSort } from "@angular/material/sort";
5
+ import { TableAction } from "../../model/enum";
6
+ import * as i0 from "@angular/core";
7
+ export declare class TableComponent implements OnInit {
8
+ matTableConfig: MatTableConfig;
9
+ paginator: MatPaginator;
10
+ sort: MatSort;
11
+ pageEvent: EventEmitter<PageEvent>;
12
+ displayedColumns: string[];
13
+ tableActionRowEvent: EventEmitter<any>;
14
+ ngOnInit(): void;
15
+ ngAfterViewInit(): void;
16
+ applyFilter(event: Event): void;
17
+ page(e: any): void;
18
+ tableAction($item: any, action: TableAction): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "falcon-table", never, { "matTableConfig": "matTableConfig"; "displayedColumns": "displayedColumns"; }, { "pageEvent": "pageEvent"; "tableActionRowEvent": "tableActionRowEvent"; }, never, never, false, never>;
21
+ }
@@ -0,0 +1,9 @@
1
+ import { BaseControl } from '../../base-control';
2
+ import { FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TextareaComponent {
5
+ control: BaseControl<string>;
6
+ formGroup: FormGroup;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "falcon-textarea", never, {}, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import { BaseControl } from '../../base-control';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TextboxComponent {
5
+ control: BaseControl<string>;
6
+ formGroup: FormGroup;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextboxComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextboxComponent, "falcon-textbox", never, {}, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { FormGroup } from "@angular/forms";
2
+ import { Layout } from "../base-control";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ControlBuilderComponent {
5
+ layout: Layout<string>;
6
+ formGroup: FormGroup;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ControlBuilderComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ControlBuilderComponent, "control-builder", never, { "layout": "layout"; "formGroup": "formGroup"; }, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class AutoComplete extends BaseControl<string> {
4
+ controlType: ControlType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from "../base-control";
2
+ import { ControlType } from "../model/enum";
3
+ export declare class Button extends BaseControl<string> {
4
+ controlType: ControlType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class ButtonToggle extends BaseControl<string> {
4
+ controlType: ControlType;
5
+ }
@@ -1,6 +1,5 @@
1
1
  import { BaseControl } from '../base-control';
2
2
  import { ControlType } from '../model/enum';
3
-
4
- export class Chip extends BaseControl<string> {
5
- override controlType = ControlType.Chip;
3
+ export declare class CheckBox extends BaseControl<boolean> {
4
+ controlType: ControlType;
6
5
  }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class Chip extends BaseControl<string> {
4
+ controlType: ControlType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class DatePicker extends BaseControl<string> {
4
+ controlType: ControlType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class Divider extends BaseControl<string> {
4
+ controlType: ControlType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class Editor extends BaseControl<string> {
4
+ controlType: ControlType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class Radio extends BaseControl<string> {
4
+ controlType: ControlType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class RichTextEditor extends BaseControl<any> {
4
+ controlType: ControlType;
5
+ }
@@ -1,6 +1,5 @@
1
1
  import { BaseControl } from '../base-control';
2
2
  import { ControlType } from '../model/enum';
3
-
4
- export class Radio extends BaseControl<string> {
5
- override controlType = ControlType.Radio;
3
+ export declare class SliderToggle extends BaseControl<boolean> {
4
+ controlType: ControlType;
6
5
  }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class Slider extends BaseControl<number> {
4
+ controlType: ControlType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class Textarea extends BaseControl<string> {
4
+ controlType: ControlType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class Textbox extends BaseControl<string> {
4
+ controlType: ControlType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { BaseControl } from '../base-control';
2
+ import { ControlType } from '../model/enum';
3
+ export declare class Select extends BaseControl<string> {
4
+ controlType: ControlType;
5
+ }
@@ -0,0 +1,35 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./component/textbox/textbox.component";
4
+ import * as i2 from "./component/textarea/textarea.component";
5
+ import * as i3 from "./component/select/select.component";
6
+ import * as i4 from "./reactive-field.directive";
7
+ import * as i5 from "./control-builder/control-builder.component";
8
+ import * as i6 from "./component/date-picker/date-picker.component";
9
+ import * as i7 from "./component/checkbox/checkbox.component";
10
+ import * as i8 from "./component/radio/radio.component";
11
+ import * as i9 from "./component/auto-complete/auto-complete.component";
12
+ import * as i10 from "./component/button-toggle/button-toggle.component";
13
+ import * as i11 from "./component/chips/chip.component";
14
+ import * as i12 from "./component/slider/slider.component";
15
+ import * as i13 from "./component/slide-toggle/slide-toggle.component";
16
+ import * as i14 from "./component/button/button.component";
17
+ import * as i15 from "./component/dialog/dialog.component";
18
+ import * as i16 from "./component/snack-bar/snack-bar.component";
19
+ import * as i17 from "./component/bottom-sheet/bottom-sheet.component";
20
+ import * as i18 from "./component/progress-bar/progress-bar.component";
21
+ import * as i19 from "./component/progress-spinner/progress-spinner.component";
22
+ import * as i20 from "./component/table/table.component";
23
+ import * as i21 from "./component/pagination/pagination.component";
24
+ import * as i22 from "./component/rich-text-editor/rich-text-editor.component";
25
+ import * as i23 from "./module/angularmaterial.module";
26
+ import * as i24 from "@angular/common";
27
+ import * as i25 from "@angular/forms";
28
+ import * as i26 from "@angular/router";
29
+ import * as i27 from "@kolkov/angular-editor";
30
+ export declare class FalconCoreModule {
31
+ static forRoot(environment: any): ModuleWithProviders<FalconCoreModule>;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<FalconCoreModule, never>;
33
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FalconCoreModule, [typeof i1.TextboxComponent, typeof i2.TextareaComponent, typeof i3.SelectComponent, typeof i4.ReactiveFieldDirective, typeof i5.ControlBuilderComponent, typeof i6.DatePickerComponent, typeof i7.CheckboxComponent, typeof i8.RadioComponent, typeof i9.AutoCompleteComponent, typeof i10.ButtonToggleComponent, typeof i11.ChipComponent, typeof i12.SliderComponent, typeof i13.SlideToggleComponent, typeof i14.ButtonComponent, typeof i15.DialogComponent, typeof i16.SnackBarComponent, typeof i17.BottomSheetComponent, typeof i18.ProgressBarComponent, typeof i19.ProgressSpinnerComponent, typeof i20.TableComponent, typeof i21.PaginationComponent, typeof i22.RichTextEditorComponent], [typeof i23.AngularmaterialModule, typeof i24.CommonModule, typeof i25.FormsModule, typeof i25.ReactiveFormsModule, typeof i26.RouterModule, typeof i27.AngularEditorModule], [typeof i23.AngularmaterialModule, typeof i24.CommonModule, typeof i25.FormsModule, typeof i25.ReactiveFormsModule, typeof i5.ControlBuilderComponent, typeof i26.RouterModule, typeof i18.ProgressBarComponent, typeof i19.ProgressSpinnerComponent, typeof i21.PaginationComponent, typeof i20.TableComponent, typeof i27.AngularEditorModule, typeof i14.ButtonComponent]>;
34
+ static ɵinj: i0.ɵɵInjectorDeclaration<FalconCoreModule>;
35
+ }
@@ -0,0 +1,5 @@
1
+ import { TextboxComponent } from '../component/textbox/textbox.component';
2
+ import { ChipComponent } from '../component/chips/chip.component';
3
+ export declare class Constant {
4
+ static ComponentMapper: (typeof TextboxComponent | typeof ChipComponent)[];
5
+ }