ng-tailwind 4.1.13 → 4.1.14

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 (202) hide show
  1. package/README.md +24 -24
  2. package/animations/ngt-angular-animations.d.ts +5 -5
  3. package/base/ngt-base-ng-model.d.ts +32 -32
  4. package/components/ngt-action/ngt-action.component.d.ts +16 -16
  5. package/components/ngt-action/ngt-action.module.d.ts +10 -10
  6. package/components/ngt-button/ngt-button.component.d.ts +25 -25
  7. package/components/ngt-button/ngt-button.module.d.ts +10 -10
  8. package/components/ngt-checkbox/ngt-checkbox.component.d.ts +47 -46
  9. package/components/ngt-checkbox/ngt-checkbox.module.d.ts +10 -10
  10. package/components/ngt-content/ngt-content.component.d.ts +12 -12
  11. package/components/ngt-content/ngt-content.module.d.ts +8 -8
  12. package/components/ngt-datatable/ngt-datatable.component.d.ts +117 -117
  13. package/components/ngt-datatable/ngt-datatable.module.d.ts +24 -24
  14. package/components/ngt-datatable/ngt-tbody/ngt-tbody.component.d.ts +14 -14
  15. package/components/ngt-datatable/ngt-td/ngt-td.component.d.ts +14 -14
  16. package/components/ngt-datatable/ngt-td-check/ngt-td-check.component.d.ts +29 -29
  17. package/components/ngt-datatable/ngt-th/ngt-th.component.d.ts +51 -51
  18. package/components/ngt-datatable/ngt-th-check/ngt-th-check.component.d.ts +22 -22
  19. package/components/ngt-datatable/ngt-thead/ngt-thead.component.d.ts +13 -13
  20. package/components/ngt-datatable/ngt-tr/ngt-tr.component.d.ts +20 -20
  21. package/components/ngt-date/ngt-date.component.d.ts +79 -79
  22. package/components/ngt-date/ngt-date.module.d.ts +13 -13
  23. package/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.d.ts +8 -8
  24. package/components/ngt-dropdown/ngt-dropdown.component.d.ts +53 -53
  25. package/components/ngt-dropdown/ngt-dropdown.module.d.ts +9 -9
  26. package/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.d.ts +14 -14
  27. package/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +25 -25
  28. package/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +35 -35
  29. package/components/ngt-dropzone/ngt-dropzone.component.d.ts +86 -86
  30. package/components/ngt-dropzone/ngt-dropzone.meta.d.ts +27 -27
  31. package/components/ngt-dropzone/ngt-dropzone.module.d.ts +17 -17
  32. package/components/ngt-floating-button/ngt-floating-button.component.d.ts +35 -35
  33. package/components/ngt-floating-button/ngt-floating-button.module.d.ts +10 -10
  34. package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.d.ts +10 -10
  35. package/components/ngt-form/ngt-form.component.d.ts +55 -55
  36. package/components/ngt-form/ngt-form.module.d.ts +9 -9
  37. package/components/ngt-header-nav/ngt-header-nav.component.d.ts +14 -14
  38. package/components/ngt-header-nav/ngt-header-nav.module.d.ts +8 -8
  39. package/components/ngt-helper/ngt-helper.component.d.ts +25 -25
  40. package/components/ngt-helper/ngt-helper.module.d.ts +10 -10
  41. package/components/ngt-input/ngt-input.component.d.ts +109 -109
  42. package/components/ngt-input/ngt-input.module.d.ts +14 -14
  43. package/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.d.ts +5 -5
  44. package/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.d.ts +5 -5
  45. package/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.d.ts +15 -15
  46. package/components/ngt-modal/ngt-modal.component.d.ts +25 -25
  47. package/components/ngt-modal/ngt-modal.module.d.ts +11 -11
  48. package/components/ngt-multi-select/ngt-multi-select.component.d.ts +103 -103
  49. package/components/ngt-multi-select/ngt-multi-select.module.d.ts +15 -15
  50. package/components/ngt-pagination/ngt-pagination.component.d.ts +43 -43
  51. package/components/ngt-pagination/ngt-pagination.module.d.ts +12 -12
  52. package/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.d.ts +15 -15
  53. package/components/ngt-popover/ngt-popover.component.d.ts +31 -31
  54. package/components/ngt-popover/ngt-popover.directive.d.ts +27 -27
  55. package/components/ngt-popover/ngt-popover.module.d.ts +11 -11
  56. package/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.d.ts +12 -12
  57. package/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.d.ts +12 -12
  58. package/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.d.ts +17 -17
  59. package/components/ngt-portlet/ngt-portlet.component.d.ts +20 -20
  60. package/components/ngt-portlet/ngt-portlet.module.d.ts +13 -13
  61. package/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.d.ts +9 -9
  62. package/components/ngt-radio-button/ngt-radio-button.component.d.ts +35 -35
  63. package/components/ngt-radio-button/ngt-radio-button.module.d.ts +11 -11
  64. package/components/ngt-section/ngt-section.component.d.ts +29 -29
  65. package/components/ngt-section/ngt-section.module.d.ts +11 -11
  66. package/components/ngt-select/ngt-select.component.d.ts +135 -135
  67. package/components/ngt-select/ngt-select.directive.d.ts +20 -20
  68. package/components/ngt-select/ngt-select.module.d.ts +16 -16
  69. package/components/ngt-shining/ngt-shining.component.d.ts +19 -19
  70. package/components/ngt-shining/ngt-shining.module.d.ts +8 -8
  71. package/components/ngt-sidenav/ngt-sidenav.component.d.ts +32 -32
  72. package/components/ngt-sidenav/ngt-sidenav.module.d.ts +8 -8
  73. package/components/ngt-slider/ngt-slider.component.d.ts +34 -34
  74. package/components/ngt-slider/ngt-slider.module.d.ts +9 -9
  75. package/components/ngt-svg/ngt-svg.component.d.ts +13 -13
  76. package/components/ngt-svg/ngt-svg.module.d.ts +10 -10
  77. package/components/ngt-tag/ngt-tag.component.d.ts +13 -13
  78. package/components/ngt-tag/ngt-tag.module.d.ts +9 -9
  79. package/components/ngt-textarea/ngt-textarea.component.d.ts +49 -49
  80. package/components/ngt-textarea/ngt-textarea.module.d.ts +13 -13
  81. package/components/ngt-validation/ngt-validation.component.d.ts +13 -13
  82. package/components/ngt-validation/ngt-validation.module.d.ts +8 -8
  83. package/directives/ngt-stylizable/ngt-stylizable.directive.d.ts +68 -68
  84. package/directives/ngt-stylizable/ngt-stylizable.module.d.ts +8 -8
  85. package/enums/size.enum.d.ts +8 -8
  86. package/esm2020/animations/ngt-angular-animations.mjs +34 -34
  87. package/esm2020/base/ngt-base-ng-model.mjs +90 -90
  88. package/esm2020/components/ngt-action/ngt-action.component.mjs +54 -54
  89. package/esm2020/components/ngt-action/ngt-action.module.mjs +28 -28
  90. package/esm2020/components/ngt-button/ngt-button.component.mjs +115 -115
  91. package/esm2020/components/ngt-button/ngt-button.module.mjs +28 -28
  92. package/esm2020/components/ngt-checkbox/ngt-checkbox.component.mjs +177 -175
  93. package/esm2020/components/ngt-checkbox/ngt-checkbox.module.mjs +28 -28
  94. package/esm2020/components/ngt-content/ngt-content.component.mjs +32 -32
  95. package/esm2020/components/ngt-content/ngt-content.module.mjs +20 -20
  96. package/esm2020/components/ngt-datatable/ngt-datatable.component.mjs +431 -431
  97. package/esm2020/components/ngt-datatable/ngt-datatable.module.mjs +95 -95
  98. package/esm2020/components/ngt-datatable/ngt-tbody/ngt-tbody.component.mjs +57 -57
  99. package/esm2020/components/ngt-datatable/ngt-td/ngt-td.component.mjs +62 -62
  100. package/esm2020/components/ngt-datatable/ngt-td-check/ngt-td-check.component.mjs +113 -113
  101. package/esm2020/components/ngt-datatable/ngt-th/ngt-th.component.mjs +211 -211
  102. package/esm2020/components/ngt-datatable/ngt-th-check/ngt-th-check.component.mjs +91 -91
  103. package/esm2020/components/ngt-datatable/ngt-thead/ngt-thead.component.mjs +55 -55
  104. package/esm2020/components/ngt-datatable/ngt-tr/ngt-tr.component.mjs +86 -86
  105. package/esm2020/components/ngt-date/ngt-date.component.mjs +418 -418
  106. package/esm2020/components/ngt-date/ngt-date.module.mjs +40 -40
  107. package/esm2020/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.mjs +19 -19
  108. package/esm2020/components/ngt-dropdown/ngt-dropdown.component.mjs +204 -204
  109. package/esm2020/components/ngt-dropdown/ngt-dropdown.module.mjs +21 -21
  110. package/esm2020/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.mjs +54 -54
  111. package/esm2020/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.mjs +66 -66
  112. package/esm2020/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.mjs +94 -94
  113. package/esm2020/components/ngt-dropzone/ngt-dropzone.component.mjs +464 -464
  114. package/esm2020/components/ngt-dropzone/ngt-dropzone.meta.mjs +24 -24
  115. package/esm2020/components/ngt-dropzone/ngt-dropzone.module.mjs +55 -55
  116. package/esm2020/components/ngt-floating-button/ngt-floating-button.component.mjs +119 -119
  117. package/esm2020/components/ngt-floating-button/ngt-floating-button.module.mjs +28 -28
  118. package/esm2020/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.mjs +22 -22
  119. package/esm2020/components/ngt-form/ngt-form.component.mjs +193 -193
  120. package/esm2020/components/ngt-form/ngt-form.module.mjs +29 -29
  121. package/esm2020/components/ngt-header-nav/ngt-header-nav.component.mjs +39 -39
  122. package/esm2020/components/ngt-header-nav/ngt-header-nav.module.mjs +20 -20
  123. package/esm2020/components/ngt-helper/ngt-helper.component.mjs +68 -68
  124. package/esm2020/components/ngt-helper/ngt-helper.module.mjs +28 -28
  125. package/esm2020/components/ngt-input/ngt-input.component.mjs +722 -722
  126. package/esm2020/components/ngt-input/ngt-input.module.mjs +47 -47
  127. package/esm2020/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.mjs +11 -11
  128. package/esm2020/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.mjs +11 -11
  129. package/esm2020/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.mjs +38 -38
  130. package/esm2020/components/ngt-modal/ngt-modal.component.mjs +102 -102
  131. package/esm2020/components/ngt-modal/ngt-modal.module.mjs +39 -39
  132. package/esm2020/components/ngt-multi-select/ngt-multi-select.component.mjs +446 -446
  133. package/esm2020/components/ngt-multi-select/ngt-multi-select.module.mjs +52 -52
  134. package/esm2020/components/ngt-pagination/ngt-pagination.component.mjs +162 -162
  135. package/esm2020/components/ngt-pagination/ngt-pagination.module.mjs +36 -36
  136. package/esm2020/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.mjs +40 -40
  137. package/esm2020/components/ngt-popover/ngt-popover.component.mjs +85 -85
  138. package/esm2020/components/ngt-popover/ngt-popover.directive.mjs +105 -105
  139. package/esm2020/components/ngt-popover/ngt-popover.module.mjs +36 -36
  140. package/esm2020/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.mjs +34 -34
  141. package/esm2020/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.mjs +33 -33
  142. package/esm2020/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.mjs +53 -53
  143. package/esm2020/components/ngt-portlet/ngt-portlet.component.mjs +74 -74
  144. package/esm2020/components/ngt-portlet/ngt-portlet.module.mjs +47 -47
  145. package/esm2020/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.mjs +19 -19
  146. package/esm2020/components/ngt-radio-button/ngt-radio-button.component.mjs +125 -125
  147. package/esm2020/components/ngt-radio-button/ngt-radio-button.module.mjs +29 -29
  148. package/esm2020/components/ngt-section/ngt-section.component.mjs +119 -119
  149. package/esm2020/components/ngt-section/ngt-section.module.mjs +32 -32
  150. package/esm2020/components/ngt-select/ngt-select.component.mjs +552 -552
  151. package/esm2020/components/ngt-select/ngt-select.directive.mjs +36 -36
  152. package/esm2020/components/ngt-select/ngt-select.module.mjs +65 -65
  153. package/esm2020/components/ngt-shining/ngt-shining.component.mjs +40 -40
  154. package/esm2020/components/ngt-shining/ngt-shining.module.mjs +20 -20
  155. package/esm2020/components/ngt-sidenav/ngt-sidenav.component.mjs +132 -132
  156. package/esm2020/components/ngt-sidenav/ngt-sidenav.module.mjs +20 -20
  157. package/esm2020/components/ngt-slider/ngt-slider.component.mjs +99 -99
  158. package/esm2020/components/ngt-slider/ngt-slider.module.mjs +24 -24
  159. package/esm2020/components/ngt-svg/ngt-svg.component.mjs +53 -53
  160. package/esm2020/components/ngt-svg/ngt-svg.module.mjs +28 -28
  161. package/esm2020/components/ngt-tag/ngt-tag.component.mjs +37 -37
  162. package/esm2020/components/ngt-tag/ngt-tag.module.mjs +24 -24
  163. package/esm2020/components/ngt-textarea/ngt-textarea.component.mjs +238 -238
  164. package/esm2020/components/ngt-textarea/ngt-textarea.module.mjs +43 -43
  165. package/esm2020/components/ngt-validation/ngt-validation.component.mjs +26 -26
  166. package/esm2020/components/ngt-validation/ngt-validation.module.mjs +20 -20
  167. package/esm2020/directives/ngt-stylizable/ngt-stylizable.directive.mjs +290 -290
  168. package/esm2020/directives/ngt-stylizable/ngt-stylizable.module.mjs +20 -20
  169. package/esm2020/enums/size.enum.mjs +11 -11
  170. package/esm2020/helpers/enum/enum.mjs +7 -7
  171. package/esm2020/helpers/form/form.mjs +14 -14
  172. package/esm2020/helpers/input-mask/input-mask.helper.mjs +23 -23
  173. package/esm2020/helpers/routing/route.mjs +11 -11
  174. package/esm2020/helpers/uuid.mjs +10 -10
  175. package/esm2020/ng-tailwind.mjs +4 -4
  176. package/esm2020/public-api.mjs +121 -121
  177. package/esm2020/services/http/ngt-attachment-http.service.mjs +3 -3
  178. package/esm2020/services/http/ngt-http-form.service.mjs +3 -3
  179. package/esm2020/services/http/ngt-http-resource.service.mjs +3 -3
  180. package/esm2020/services/http/ngt-http-validation.service.mjs +3 -3
  181. package/esm2020/services/http/ngt-http.service.mjs +3 -3
  182. package/esm2020/services/http/ngt-translate.service.mjs +3 -3
  183. package/esm2020/services/ngt-stylizable/ngt-stylizable.service.mjs +273 -273
  184. package/fesm2015/ng-tailwind.mjs +7792 -7790
  185. package/fesm2015/ng-tailwind.mjs.map +1 -1
  186. package/fesm2020/ng-tailwind.mjs +7655 -7653
  187. package/fesm2020/ng-tailwind.mjs.map +1 -1
  188. package/helpers/enum/enum.d.ts +1 -1
  189. package/helpers/form/form.d.ts +4 -4
  190. package/helpers/input-mask/input-mask.helper.d.ts +17 -17
  191. package/helpers/routing/route.d.ts +2 -2
  192. package/helpers/uuid.d.ts +1 -1
  193. package/index.d.ts +5 -5
  194. package/package.json +1 -1
  195. package/public-api.d.ts +83 -83
  196. package/services/http/ngt-attachment-http.service.d.ts +10 -10
  197. package/services/http/ngt-http-form.service.d.ts +5 -5
  198. package/services/http/ngt-http-resource.service.d.ts +12 -12
  199. package/services/http/ngt-http-validation.service.d.ts +11 -11
  200. package/services/http/ngt-http.service.d.ts +27 -27
  201. package/services/http/ngt-translate.service.d.ts +29 -29
  202. package/services/ngt-stylizable/ngt-stylizable.service.d.ts +96 -96
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./ngt-helper.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../ngt-svg/ngt-svg.module";
5
- import * as i4 from "../ngt-dropdown/ngt-dropdown.module";
6
- export declare class NgtHelperModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtHelperModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtHelperModule, [typeof i1.NgtHelperComponent], [typeof i2.CommonModule, typeof i3.NgtSvgModule, typeof i4.NgtDropdownModule], [typeof i1.NgtHelperComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<NgtHelperModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ngt-helper.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../ngt-svg/ngt-svg.module";
5
+ import * as i4 from "../ngt-dropdown/ngt-dropdown.module";
6
+ export declare class NgtHelperModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtHelperModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtHelperModule, [typeof i1.NgtHelperComponent], [typeof i2.CommonModule, typeof i3.NgtSvgModule, typeof i4.NgtDropdownModule], [typeof i1.NgtHelperComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgtHelperModule>;
10
+ }
@@ -1,109 +1,109 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
2
- import { ControlContainer } from '@angular/forms';
3
- import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
4
- import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
5
- import { NgtHttpFindExistingResourceInterface, NgtHttpResourceService } from '../../services/http/ngt-http-resource.service';
6
- import { NgtHttpValidationService } from '../../services/http/ngt-http-validation.service';
7
- import { NgtTranslateService } from '../../services/http/ngt-translate.service';
8
- import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
9
- import { NgtFormComponent } from '../ngt-form/ngt-form.component';
10
- import * as i0 from "@angular/core";
11
- export declare class NgtInputComponent extends NgtBaseNgModel implements OnInit, OnDestroy {
12
- private injector;
13
- private ngtStylizableDirective;
14
- formContainer: ControlContainer;
15
- private ngtFormComponent;
16
- private renderer;
17
- private ngtValidationService;
18
- private ngtResourceService;
19
- private changeDetector;
20
- ngtTranslateService: NgtTranslateService;
21
- element: ElementRef;
22
- label: string;
23
- placeholder: string;
24
- shining: boolean;
25
- loading: boolean;
26
- helpTitle: string;
27
- helpTextColor: string;
28
- helpText: string;
29
- innerLeftIcon: string;
30
- innerLeftIconColor: string;
31
- innerRightIcon: string;
32
- innerRightIconColor: string;
33
- decimalMaskPrecision: number;
34
- showCharactersLength: boolean;
35
- uppercase: boolean;
36
- isDisabled: boolean;
37
- isReadonly: boolean;
38
- showRoundedIcon: boolean;
39
- type: string;
40
- name: string;
41
- mask: string;
42
- focus: boolean;
43
- allowClear: boolean;
44
- jit: boolean;
45
- findExistingResource: NgtHttpFindExistingResourceInterface;
46
- allowPhoneValidation: boolean;
47
- isRequired: boolean;
48
- uniqueResource: any;
49
- minValue: number;
50
- maxValue: number;
51
- maxLength: number;
52
- minLength: number;
53
- match: string;
54
- multipleOf: number;
55
- externalServerDependency: boolean;
56
- helperReverseYPosition: boolean;
57
- helperAutoXReverse: boolean;
58
- onClickLeftIcon: EventEmitter<any>;
59
- onClickRightIcon: EventEmitter<any>;
60
- validatePhoneResult: EventEmitter<any>;
61
- maxTotalCharsCount: number;
62
- existingResourceId: string;
63
- componentReady: boolean;
64
- inputProperties: {
65
- htmlType?: string;
66
- length?: number;
67
- };
68
- ngtStyle: NgtStylizableService;
69
- private emailValidatorTimeout;
70
- private phoneValidatorTimeout;
71
- private uniqueValidatorTimeout;
72
- private searchExistingResourceTimeout;
73
- private subscriptions;
74
- constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, renderer: Renderer2, ngtValidationService: NgtHttpValidationService, ngtResourceService: NgtHttpResourceService, changeDetector: ChangeDetectorRef, ngtTranslateService: NgtTranslateService);
75
- setFocus(): void;
76
- hasFocus(): boolean;
77
- clearInput(event?: Event): void;
78
- ngOnChanges(changes: SimpleChanges): void;
79
- ngOnDestroy(): void;
80
- change(value: any): void;
81
- ngOnInit(): void;
82
- getInputPaddings(): string;
83
- showPassword(): void;
84
- hidePassword(): void;
85
- getRemainingCharacters(): number;
86
- private initComponent;
87
- private updateValidations;
88
- private setupMasks;
89
- private setupProperties;
90
- private minValueValidator;
91
- private multipleOfValidator;
92
- private externalServerDependencyValidator;
93
- private timeValidator;
94
- private cnpjCpfValidator;
95
- private matchValidator;
96
- private emailValidator;
97
- private searchExistingResource;
98
- private validatePhone;
99
- private uniqueValidator;
100
- private validatorCNPJ;
101
- private validatorCPF;
102
- private getNativeValue;
103
- private getElementTitle;
104
- private removeMasks;
105
- private hasEmailServiceValidation;
106
- private destroySubscriptions;
107
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtInputComponent, [null, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; skipSelf: true; }, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, null, { optional: true; }]>;
108
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtInputComponent, "ngt-input", never, { "label": "label"; "placeholder": "placeholder"; "shining": "shining"; "loading": "loading"; "helpTitle": "helpTitle"; "helpTextColor": "helpTextColor"; "helpText": "helpText"; "innerLeftIcon": "innerLeftIcon"; "innerLeftIconColor": "innerLeftIconColor"; "innerRightIcon": "innerRightIcon"; "innerRightIconColor": "innerRightIconColor"; "decimalMaskPrecision": "decimalMaskPrecision"; "showCharactersLength": "showCharactersLength"; "uppercase": "uppercase"; "isDisabled": "isDisabled"; "isReadonly": "isReadonly"; "showRoundedIcon": "showRoundedIcon"; "type": "type"; "name": "name"; "mask": "mask"; "focus": "focus"; "allowClear": "allowClear"; "jit": "jit"; "findExistingResource": "findExistingResource"; "allowPhoneValidation": "allowPhoneValidation"; "isRequired": "isRequired"; "uniqueResource": "uniqueResource"; "minValue": "minValue"; "maxValue": "maxValue"; "maxLength": "maxLength"; "minLength": "minLength"; "match": "match"; "multipleOf": "multipleOf"; "externalServerDependency": "externalServerDependency"; "helperReverseYPosition": "helperReverseYPosition"; "helperAutoXReverse": "helperAutoXReverse"; }, { "onClickLeftIcon": "onClickLeftIcon"; "onClickRightIcon": "onClickRightIcon"; "validatePhoneResult": "validatePhoneResult"; }, never, ["*"], false, never>;
109
- }
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
2
+ import { ControlContainer } from '@angular/forms';
3
+ import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
4
+ import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
5
+ import { NgtHttpFindExistingResourceInterface, NgtHttpResourceService } from '../../services/http/ngt-http-resource.service';
6
+ import { NgtHttpValidationService } from '../../services/http/ngt-http-validation.service';
7
+ import { NgtTranslateService } from '../../services/http/ngt-translate.service';
8
+ import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
9
+ import { NgtFormComponent } from '../ngt-form/ngt-form.component';
10
+ import * as i0 from "@angular/core";
11
+ export declare class NgtInputComponent extends NgtBaseNgModel implements OnInit, OnDestroy {
12
+ private injector;
13
+ private ngtStylizableDirective;
14
+ formContainer: ControlContainer;
15
+ private ngtFormComponent;
16
+ private renderer;
17
+ private ngtValidationService;
18
+ private ngtResourceService;
19
+ private changeDetector;
20
+ ngtTranslateService: NgtTranslateService;
21
+ element: ElementRef;
22
+ label: string;
23
+ placeholder: string;
24
+ shining: boolean;
25
+ loading: boolean;
26
+ helpTitle: string;
27
+ helpTextColor: string;
28
+ helpText: string;
29
+ innerLeftIcon: string;
30
+ innerLeftIconColor: string;
31
+ innerRightIcon: string;
32
+ innerRightIconColor: string;
33
+ decimalMaskPrecision: number;
34
+ showCharactersLength: boolean;
35
+ uppercase: boolean;
36
+ isDisabled: boolean;
37
+ isReadonly: boolean;
38
+ showRoundedIcon: boolean;
39
+ type: string;
40
+ name: string;
41
+ mask: string;
42
+ focus: boolean;
43
+ allowClear: boolean;
44
+ jit: boolean;
45
+ findExistingResource: NgtHttpFindExistingResourceInterface;
46
+ allowPhoneValidation: boolean;
47
+ isRequired: boolean;
48
+ uniqueResource: any;
49
+ minValue: number;
50
+ maxValue: number;
51
+ maxLength: number;
52
+ minLength: number;
53
+ match: string;
54
+ multipleOf: number;
55
+ externalServerDependency: boolean;
56
+ helperReverseYPosition: boolean;
57
+ helperAutoXReverse: boolean;
58
+ onClickLeftIcon: EventEmitter<any>;
59
+ onClickRightIcon: EventEmitter<any>;
60
+ validatePhoneResult: EventEmitter<any>;
61
+ maxTotalCharsCount: number;
62
+ existingResourceId: string;
63
+ componentReady: boolean;
64
+ inputProperties: {
65
+ htmlType?: string;
66
+ length?: number;
67
+ };
68
+ ngtStyle: NgtStylizableService;
69
+ private emailValidatorTimeout;
70
+ private phoneValidatorTimeout;
71
+ private uniqueValidatorTimeout;
72
+ private searchExistingResourceTimeout;
73
+ private subscriptions;
74
+ constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, renderer: Renderer2, ngtValidationService: NgtHttpValidationService, ngtResourceService: NgtHttpResourceService, changeDetector: ChangeDetectorRef, ngtTranslateService: NgtTranslateService);
75
+ setFocus(): void;
76
+ hasFocus(): boolean;
77
+ clearInput(event?: Event): void;
78
+ ngOnChanges(changes: SimpleChanges): void;
79
+ ngOnDestroy(): void;
80
+ change(value: any): void;
81
+ ngOnInit(): void;
82
+ getInputPaddings(): string;
83
+ showPassword(): void;
84
+ hidePassword(): void;
85
+ getRemainingCharacters(): number;
86
+ private initComponent;
87
+ private updateValidations;
88
+ private setupMasks;
89
+ private setupProperties;
90
+ private minValueValidator;
91
+ private multipleOfValidator;
92
+ private externalServerDependencyValidator;
93
+ private timeValidator;
94
+ private cnpjCpfValidator;
95
+ private matchValidator;
96
+ private emailValidator;
97
+ private searchExistingResource;
98
+ private validatePhone;
99
+ private uniqueValidator;
100
+ private validatorCNPJ;
101
+ private validatorCPF;
102
+ private getNativeValue;
103
+ private getElementTitle;
104
+ private removeMasks;
105
+ private hasEmailServiceValidation;
106
+ private destroySubscriptions;
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtInputComponent, [null, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; skipSelf: true; }, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, null, { optional: true; }]>;
108
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtInputComponent, "ngt-input", never, { "label": "label"; "placeholder": "placeholder"; "shining": "shining"; "loading": "loading"; "helpTitle": "helpTitle"; "helpTextColor": "helpTextColor"; "helpText": "helpText"; "innerLeftIcon": "innerLeftIcon"; "innerLeftIconColor": "innerLeftIconColor"; "innerRightIcon": "innerRightIcon"; "innerRightIconColor": "innerRightIconColor"; "decimalMaskPrecision": "decimalMaskPrecision"; "showCharactersLength": "showCharactersLength"; "uppercase": "uppercase"; "isDisabled": "isDisabled"; "isReadonly": "isReadonly"; "showRoundedIcon": "showRoundedIcon"; "type": "type"; "name": "name"; "mask": "mask"; "focus": "focus"; "allowClear": "allowClear"; "jit": "jit"; "findExistingResource": "findExistingResource"; "allowPhoneValidation": "allowPhoneValidation"; "isRequired": "isRequired"; "uniqueResource": "uniqueResource"; "minValue": "minValue"; "maxValue": "maxValue"; "maxLength": "maxLength"; "minLength": "minLength"; "match": "match"; "multipleOf": "multipleOf"; "externalServerDependency": "externalServerDependency"; "helperReverseYPosition": "helperReverseYPosition"; "helperAutoXReverse": "helperAutoXReverse"; }, { "onClickLeftIcon": "onClickLeftIcon"; "onClickRightIcon": "onClickRightIcon"; "validatePhoneResult": "validatePhoneResult"; }, never, ["*"], false, never>;
109
+ }
@@ -1,14 +1,14 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./ngt-input.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "../ngt-validation/ngt-validation.module";
6
- import * as i5 from "../ngt-shining/ngt-shining.module";
7
- import * as i6 from "../ngt-svg/ngt-svg.module";
8
- import * as i7 from "../ngt-form/ngt-form.module";
9
- import * as i8 from "../ngt-helper/ngt-helper.module";
10
- export declare class NgtInputModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtInputModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtInputModule, [typeof i1.NgtInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.NgtValidationModule, typeof i5.NgtShiningModule, typeof i6.NgtSvgModule, typeof i7.NgtFormModule, typeof i8.NgtHelperModule], [typeof i1.NgtInputComponent]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<NgtInputModule>;
14
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ngt-input.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../ngt-validation/ngt-validation.module";
6
+ import * as i5 from "../ngt-shining/ngt-shining.module";
7
+ import * as i6 from "../ngt-svg/ngt-svg.module";
8
+ import * as i7 from "../ngt-form/ngt-form.module";
9
+ import * as i8 from "../ngt-helper/ngt-helper.module";
10
+ export declare class NgtInputModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtInputModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtInputModule, [typeof i1.NgtInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.NgtValidationModule, typeof i5.NgtShiningModule, typeof i6.NgtSvgModule, typeof i7.NgtFormModule, typeof i8.NgtHelperModule], [typeof i1.NgtInputComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgtInputModule>;
14
+ }
@@ -1,5 +1,5 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NgtModalBodyComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtModalBodyComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtModalBodyComponent, "ngt-modal-body", never, {}, {}, never, ["*"], false, never>;
5
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class NgtModalBodyComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtModalBodyComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtModalBodyComponent, "ngt-modal-body", never, {}, {}, never, ["*"], false, never>;
5
+ }
@@ -1,5 +1,5 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NgtModalFooterComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtModalFooterComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtModalFooterComponent, "ngt-modal-footer", never, {}, {}, never, ["*"], false, never>;
5
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class NgtModalFooterComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtModalFooterComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtModalFooterComponent, "ngt-modal-footer", never, {}, {}, never, ["*"], false, never>;
5
+ }
@@ -1,15 +1,15 @@
1
- import { EventEmitter, Injector } from '@angular/core';
2
- import { NgtStylizableDirective } from '../../../directives/ngt-stylizable/ngt-stylizable.directive';
3
- import { NgtStylizableService } from '../../../services/ngt-stylizable/ngt-stylizable.service';
4
- import * as i0 from "@angular/core";
5
- export declare class NgtModalHeaderComponent {
6
- private injector;
7
- private tailStylizableDirective;
8
- static onCloseModalByHeader: EventEmitter<void>;
9
- disableDefaultCloses: boolean;
10
- ngtStyle: NgtStylizableService;
11
- constructor(injector: Injector, tailStylizableDirective: NgtStylizableDirective);
12
- emitOnCloseEvent(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtModalHeaderComponent, [null, { optional: true; self: true; }]>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtModalHeaderComponent, "ngt-modal-header", never, { "disableDefaultCloses": "disableDefaultCloses"; }, {}, never, ["*"], false, never>;
15
- }
1
+ import { EventEmitter, Injector } from '@angular/core';
2
+ import { NgtStylizableDirective } from '../../../directives/ngt-stylizable/ngt-stylizable.directive';
3
+ import { NgtStylizableService } from '../../../services/ngt-stylizable/ngt-stylizable.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NgtModalHeaderComponent {
6
+ private injector;
7
+ private tailStylizableDirective;
8
+ static onCloseModalByHeader: EventEmitter<void>;
9
+ disableDefaultCloses: boolean;
10
+ ngtStyle: NgtStylizableService;
11
+ constructor(injector: Injector, tailStylizableDirective: NgtStylizableDirective);
12
+ emitOnCloseEvent(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtModalHeaderComponent, [null, { optional: true; self: true; }]>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtModalHeaderComponent, "ngt-modal-header", never, { "disableDefaultCloses": "disableDefaultCloses"; }, {}, never, ["*"], false, never>;
15
+ }
@@ -1,25 +1,25 @@
1
- import { ChangeDetectorRef, EventEmitter, Injector } from '@angular/core';
2
- import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
3
- import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
4
- import * as i0 from "@angular/core";
5
- export declare class NgtModalComponent {
6
- private changeDetectorRef;
7
- private injector;
8
- private tailStylizableDirective;
9
- customLayout: boolean;
10
- disableDefaultCloses: boolean;
11
- ngtStyle: NgtStylizableService;
12
- onCloseModal: EventEmitter<void>;
13
- onOpenModal: EventEmitter<void>;
14
- isOpen: boolean;
15
- private keydownEventWasAdded;
16
- private subscriptions;
17
- constructor(changeDetectorRef: ChangeDetectorRef, injector: Injector, tailStylizableDirective: NgtStylizableDirective);
18
- close(): void;
19
- open(): void;
20
- private addKeydownEventListener;
21
- private bindOnCloseModalByHeaderSubscription;
22
- private destroySubscriptions;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtModalComponent, [null, null, { optional: true; self: true; }]>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtModalComponent, "ngt-modal", never, { "customLayout": "customLayout"; "disableDefaultCloses": "disableDefaultCloses"; "ngtStyle": "ngtStyle"; }, { "onCloseModal": "onCloseModal"; "onOpenModal": "onOpenModal"; }, never, ["[header]", "[body]", "[footer]", "*"], false, never>;
25
- }
1
+ import { ChangeDetectorRef, EventEmitter, Injector } from '@angular/core';
2
+ import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
3
+ import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NgtModalComponent {
6
+ private changeDetectorRef;
7
+ private injector;
8
+ private tailStylizableDirective;
9
+ customLayout: boolean;
10
+ disableDefaultCloses: boolean;
11
+ ngtStyle: NgtStylizableService;
12
+ onCloseModal: EventEmitter<void>;
13
+ onOpenModal: EventEmitter<void>;
14
+ isOpen: boolean;
15
+ private keydownEventWasAdded;
16
+ private subscriptions;
17
+ constructor(changeDetectorRef: ChangeDetectorRef, injector: Injector, tailStylizableDirective: NgtStylizableDirective);
18
+ close(): void;
19
+ open(): void;
20
+ private addKeydownEventListener;
21
+ private bindOnCloseModalByHeaderSubscription;
22
+ private destroySubscriptions;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtModalComponent, [null, null, { optional: true; self: true; }]>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtModalComponent, "ngt-modal", never, { "customLayout": "customLayout"; "disableDefaultCloses": "disableDefaultCloses"; "ngtStyle": "ngtStyle"; }, { "onCloseModal": "onCloseModal"; "onOpenModal": "onOpenModal"; }, never, ["[header]", "[body]", "[footer]", "*"], false, never>;
25
+ }
@@ -1,11 +1,11 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./ngt-modal.component";
3
- import * as i2 from "./ngt-modal-header/ngt-modal-header.component";
4
- import * as i3 from "./ngt-modal-body/ngt-modal-body.component";
5
- import * as i4 from "./ngt-modal-footer/ngt-modal-footer.component";
6
- import * as i5 from "@angular/common";
7
- export declare class NgtModalModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtModalModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtModalModule, [typeof i1.NgtModalComponent, typeof i2.NgtModalHeaderComponent, typeof i3.NgtModalBodyComponent, typeof i4.NgtModalFooterComponent], [typeof i5.CommonModule], [typeof i1.NgtModalComponent, typeof i2.NgtModalHeaderComponent, typeof i3.NgtModalBodyComponent, typeof i4.NgtModalFooterComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<NgtModalModule>;
11
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ngt-modal.component";
3
+ import * as i2 from "./ngt-modal-header/ngt-modal-header.component";
4
+ import * as i3 from "./ngt-modal-body/ngt-modal-body.component";
5
+ import * as i4 from "./ngt-modal-footer/ngt-modal-footer.component";
6
+ import * as i5 from "@angular/common";
7
+ export declare class NgtModalModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtModalModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtModalModule, [typeof i1.NgtModalComponent, typeof i2.NgtModalHeaderComponent, typeof i3.NgtModalBodyComponent, typeof i4.NgtModalFooterComponent], [typeof i5.CommonModule], [typeof i1.NgtModalComponent, typeof i2.NgtModalHeaderComponent, typeof i3.NgtModalBodyComponent, typeof i4.NgtModalFooterComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgtModalModule>;
11
+ }
@@ -1,103 +1,103 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
- import { ControlContainer } from '@angular/forms';
3
- import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
4
- import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
5
- import { NgtHttpService } from '../../services/http/ngt-http.service';
6
- import { NgtTranslateService } from '../../services/http/ngt-translate.service';
7
- import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
8
- import { NgtFormComponent } from '../ngt-form/ngt-form.component';
9
- import { NgtInputComponent } from '../ngt-input/ngt-input.component';
10
- import * as i0 from "@angular/core";
11
- export declare class NgtMultiSelectComponent extends NgtBaseNgModel implements OnInit, OnDestroy, OnChanges {
12
- private ngtHttpService;
13
- private injector;
14
- private changeDetector;
15
- ngtStylizableDirective: NgtStylizableDirective;
16
- formContainer: ControlContainer;
17
- ngtFormComponent: NgtFormComponent;
18
- ngtTranslateService: NgtTranslateService;
19
- containerRef: ElementRef;
20
- inputSearch: NgtInputComponent;
21
- elementCheckboxTemplate: TemplateRef<any>;
22
- /** Visual */
23
- customOptionTemplate: TemplateRef<any>;
24
- customHeaderTemplate: TemplateRef<any>;
25
- label: string;
26
- helpTitle: string;
27
- helpText: string;
28
- helpTextColor: string;
29
- shining: boolean;
30
- loading: boolean;
31
- /** Behavior */
32
- bindLabel: string | Function;
33
- bindSearch: string;
34
- itemsPerPage: number;
35
- name: string;
36
- remoteResource: any;
37
- items: Array<any>;
38
- searchable: boolean;
39
- /** Validation */
40
- isRequired: boolean;
41
- isDisabled: boolean;
42
- onDataChange: EventEmitter<Array<NgtSelectContainerSelectableElementInterface>>;
43
- searchTerm: string;
44
- searchInputName: string;
45
- selectAllCheckboxName: string;
46
- displayOnlySelectedName: string;
47
- selectedElements: Array<NgtSelectContainerSelectableElementInterface>;
48
- itemsTotal: number;
49
- selectAllCheckbox: boolean;
50
- displayOnlySelected: boolean;
51
- nativeName: string;
52
- nativeValue: any;
53
- ngtStyle: NgtStylizableService;
54
- selectableElements: Array<NgtSelectContainerSelectableElementInterface>;
55
- selectableElementsOnSearch: Array<NgtSelectContainerSelectableElementInterface>;
56
- componentReady: boolean;
57
- private pagination;
58
- private subscriptions;
59
- private inSearch;
60
- private searchTimeout;
61
- private previousSearchTerm;
62
- private becameVisible;
63
- private selectableResourcesCount;
64
- constructor(ngtHttpService: NgtHttpService, injector: Injector, changeDetector: ChangeDetectorRef, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, ngtTranslateService: NgtTranslateService);
65
- onScroll(event: any): void;
66
- ngOnInit(): void;
67
- ngDoCheck(): void;
68
- ngOnChanges(changes: SimpleChanges): void;
69
- ngOnDestroy(): void;
70
- setFocus(): void;
71
- refresh(itemsPerPage?: number, searchTerm?: string): Promise<void>;
72
- reset(): void;
73
- selectAll(): void;
74
- selectElements(elements: Array<any>): void;
75
- toggleItem(selectableElement: NgtSelectContainerSelectableElementInterface, event?: Event): void;
76
- onNativeChange(selectableElement: NgtSelectContainerSelectableElementInterface): void;
77
- change(selectedElements: Array<any>): void;
78
- search(term: string): void;
79
- getSelectableElements(): Array<any>;
80
- getSelectableElementValue(selectableItem: any): string;
81
- hasValidationErrors(): boolean;
82
- private handleElementSelection;
83
- private loadData;
84
- private bindSelectableElements;
85
- private bindSelectedElements;
86
- private initComponentValidation;
87
- private updateValidations;
88
- private isRequiredValidator;
89
- private findSelectedElement;
90
- private compareWith;
91
- private hasChangesBetweenBindings;
92
- private isSelectedElement;
93
- private isHidden;
94
- private isColoquentResources;
95
- private destroySubscriptions;
96
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtMultiSelectComponent, [null, null, null, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; skipSelf: true; }, { optional: true; }]>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtMultiSelectComponent, "ngt-multi-select", never, { "customOptionTemplate": "customOptionTemplate"; "customHeaderTemplate": "customHeaderTemplate"; "label": "label"; "helpTitle": "helpTitle"; "helpText": "helpText"; "helpTextColor": "helpTextColor"; "shining": "shining"; "loading": "loading"; "bindLabel": "bindLabel"; "bindSearch": "bindSearch"; "itemsPerPage": "itemsPerPage"; "name": "name"; "remoteResource": "remoteResource"; "items": "items"; "searchable": "searchable"; "isRequired": "isRequired"; "isDisabled": "isDisabled"; }, { "onDataChange": "onDataChange"; }, never, never, false, never>;
98
- }
99
- export interface NgtSelectContainerSelectableElementInterface {
100
- uuid: string;
101
- isSelected: boolean;
102
- value: any;
103
- }
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { ControlContainer } from '@angular/forms';
3
+ import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
4
+ import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
5
+ import { NgtHttpService } from '../../services/http/ngt-http.service';
6
+ import { NgtTranslateService } from '../../services/http/ngt-translate.service';
7
+ import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
8
+ import { NgtFormComponent } from '../ngt-form/ngt-form.component';
9
+ import { NgtInputComponent } from '../ngt-input/ngt-input.component';
10
+ import * as i0 from "@angular/core";
11
+ export declare class NgtMultiSelectComponent extends NgtBaseNgModel implements OnInit, OnDestroy, OnChanges {
12
+ private ngtHttpService;
13
+ private injector;
14
+ private changeDetector;
15
+ ngtStylizableDirective: NgtStylizableDirective;
16
+ formContainer: ControlContainer;
17
+ ngtFormComponent: NgtFormComponent;
18
+ ngtTranslateService: NgtTranslateService;
19
+ containerRef: ElementRef;
20
+ inputSearch: NgtInputComponent;
21
+ elementCheckboxTemplate: TemplateRef<any>;
22
+ /** Visual */
23
+ customOptionTemplate: TemplateRef<any>;
24
+ customHeaderTemplate: TemplateRef<any>;
25
+ label: string;
26
+ helpTitle: string;
27
+ helpText: string;
28
+ helpTextColor: string;
29
+ shining: boolean;
30
+ loading: boolean;
31
+ /** Behavior */
32
+ bindLabel: string | Function;
33
+ bindSearch: string;
34
+ itemsPerPage: number;
35
+ name: string;
36
+ remoteResource: any;
37
+ items: Array<any>;
38
+ searchable: boolean;
39
+ /** Validation */
40
+ isRequired: boolean;
41
+ isDisabled: boolean;
42
+ onDataChange: EventEmitter<Array<NgtSelectContainerSelectableElementInterface>>;
43
+ searchTerm: string;
44
+ searchInputName: string;
45
+ selectAllCheckboxName: string;
46
+ displayOnlySelectedName: string;
47
+ selectedElements: Array<NgtSelectContainerSelectableElementInterface>;
48
+ itemsTotal: number;
49
+ selectAllCheckbox: boolean;
50
+ displayOnlySelected: boolean;
51
+ nativeName: string;
52
+ nativeValue: any;
53
+ ngtStyle: NgtStylizableService;
54
+ selectableElements: Array<NgtSelectContainerSelectableElementInterface>;
55
+ selectableElementsOnSearch: Array<NgtSelectContainerSelectableElementInterface>;
56
+ componentReady: boolean;
57
+ private pagination;
58
+ private subscriptions;
59
+ private inSearch;
60
+ private searchTimeout;
61
+ private previousSearchTerm;
62
+ private becameVisible;
63
+ private selectableResourcesCount;
64
+ constructor(ngtHttpService: NgtHttpService, injector: Injector, changeDetector: ChangeDetectorRef, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, ngtTranslateService: NgtTranslateService);
65
+ onScroll(event: any): void;
66
+ ngOnInit(): void;
67
+ ngDoCheck(): void;
68
+ ngOnChanges(changes: SimpleChanges): void;
69
+ ngOnDestroy(): void;
70
+ setFocus(): void;
71
+ refresh(itemsPerPage?: number, searchTerm?: string): Promise<void>;
72
+ reset(): void;
73
+ selectAll(): void;
74
+ selectElements(elements: Array<any>): void;
75
+ toggleItem(selectableElement: NgtSelectContainerSelectableElementInterface, event?: Event): void;
76
+ onNativeChange(selectableElement: NgtSelectContainerSelectableElementInterface): void;
77
+ change(selectedElements: Array<any>): void;
78
+ search(term: string): void;
79
+ getSelectableElements(): Array<any>;
80
+ getSelectableElementValue(selectableItem: any): string;
81
+ hasValidationErrors(): boolean;
82
+ private handleElementSelection;
83
+ private loadData;
84
+ private bindSelectableElements;
85
+ private bindSelectedElements;
86
+ private initComponentValidation;
87
+ private updateValidations;
88
+ private isRequiredValidator;
89
+ private findSelectedElement;
90
+ private compareWith;
91
+ private hasChangesBetweenBindings;
92
+ private isSelectedElement;
93
+ private isHidden;
94
+ private isColoquentResources;
95
+ private destroySubscriptions;
96
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtMultiSelectComponent, [null, null, null, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; skipSelf: true; }, { optional: true; }]>;
97
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtMultiSelectComponent, "ngt-multi-select", never, { "customOptionTemplate": "customOptionTemplate"; "customHeaderTemplate": "customHeaderTemplate"; "label": "label"; "helpTitle": "helpTitle"; "helpText": "helpText"; "helpTextColor": "helpTextColor"; "shining": "shining"; "loading": "loading"; "bindLabel": "bindLabel"; "bindSearch": "bindSearch"; "itemsPerPage": "itemsPerPage"; "name": "name"; "remoteResource": "remoteResource"; "items": "items"; "searchable": "searchable"; "isRequired": "isRequired"; "isDisabled": "isDisabled"; }, { "onDataChange": "onDataChange"; }, never, never, false, never>;
98
+ }
99
+ export interface NgtSelectContainerSelectableElementInterface {
100
+ uuid: string;
101
+ isSelected: boolean;
102
+ value: any;
103
+ }