ng-tailwind 5.2.0 → 5.2.2

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 (212) 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 +30 -30
  5. package/components/ngt-action/ngt-action.module.d.ts +10 -10
  6. package/components/ngt-button/ngt-button.component.d.ts +35 -35
  7. package/components/ngt-button/ngt-button.module.d.ts +10 -10
  8. package/components/ngt-checkbox/ngt-checkbox.component.d.ts +53 -53
  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-context-menu/ngt-context-menu.component.d.ts +19 -19
  13. package/components/ngt-context-menu/ngt-context-menu.directive.d.ts +25 -25
  14. package/components/ngt-context-menu/ngt-context-menu.module.d.ts +10 -10
  15. package/components/ngt-datatable/ngt-datatable.component.d.ts +125 -125
  16. package/components/ngt-datatable/ngt-datatable.module.d.ts +25 -25
  17. package/components/ngt-datatable/ngt-tbody/ngt-tbody.component.d.ts +14 -14
  18. package/components/ngt-datatable/ngt-td/ngt-td.component.d.ts +14 -14
  19. package/components/ngt-datatable/ngt-td-check/ngt-td-check.component.d.ts +29 -29
  20. package/components/ngt-datatable/ngt-th/ngt-th.component.d.ts +55 -55
  21. package/components/ngt-datatable/ngt-th-check/ngt-th-check.component.d.ts +32 -32
  22. package/components/ngt-datatable/ngt-thead/ngt-thead.component.d.ts +13 -13
  23. package/components/ngt-datatable/ngt-tr/ngt-tr.component.d.ts +20 -20
  24. package/components/ngt-date/ngt-date.component.d.ts +85 -85
  25. package/components/ngt-date/ngt-date.module.d.ts +13 -13
  26. package/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.d.ts +8 -8
  27. package/components/ngt-dropdown/ngt-dropdown.component.d.ts +53 -53
  28. package/components/ngt-dropdown/ngt-dropdown.module.d.ts +9 -9
  29. package/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.d.ts +14 -14
  30. package/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +25 -25
  31. package/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +35 -35
  32. package/components/ngt-dropzone/ngt-dropzone.component.d.ts +95 -95
  33. package/components/ngt-dropzone/ngt-dropzone.meta.d.ts +27 -27
  34. package/components/ngt-dropzone/ngt-dropzone.module.d.ts +17 -17
  35. package/components/ngt-floating-button/ngt-floating-button.component.d.ts +35 -35
  36. package/components/ngt-floating-button/ngt-floating-button.module.d.ts +10 -10
  37. package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.d.ts +10 -10
  38. package/components/ngt-form/ngt-form.component.d.ts +60 -60
  39. package/components/ngt-form/ngt-form.module.d.ts +9 -9
  40. package/components/ngt-header-nav/ngt-header-nav.component.d.ts +14 -14
  41. package/components/ngt-header-nav/ngt-header-nav.module.d.ts +8 -8
  42. package/components/ngt-helper/ngt-helper.component.d.ts +25 -25
  43. package/components/ngt-helper/ngt-helper.module.d.ts +10 -10
  44. package/components/ngt-input/ngt-input.component.d.ts +129 -129
  45. package/components/ngt-input/ngt-input.module.d.ts +14 -14
  46. package/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.d.ts +17 -17
  47. package/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.d.ts +12 -5
  48. package/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.d.ts +15 -15
  49. package/components/ngt-modal/ngt-modal.component.d.ts +31 -31
  50. package/components/ngt-modal/ngt-modal.module.d.ts +11 -11
  51. package/components/ngt-multi-select/ngt-multi-select.component.d.ts +116 -116
  52. package/components/ngt-multi-select/ngt-multi-select.module.d.ts +15 -15
  53. package/components/ngt-pagination/ngt-pagination.component.d.ts +43 -43
  54. package/components/ngt-pagination/ngt-pagination.module.d.ts +12 -12
  55. package/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.d.ts +21 -21
  56. package/components/ngt-popover/ngt-popover.component.d.ts +31 -31
  57. package/components/ngt-popover/ngt-popover.directive.d.ts +31 -31
  58. package/components/ngt-popover/ngt-popover.module.d.ts +11 -11
  59. package/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.d.ts +12 -12
  60. package/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.d.ts +12 -12
  61. package/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.d.ts +18 -18
  62. package/components/ngt-portlet/ngt-portlet.component.d.ts +20 -20
  63. package/components/ngt-portlet/ngt-portlet.module.d.ts +13 -13
  64. package/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.d.ts +9 -9
  65. package/components/ngt-radio-button/ngt-radio-button.component.d.ts +45 -45
  66. package/components/ngt-radio-button/ngt-radio-button.module.d.ts +11 -11
  67. package/components/ngt-section/ngt-section.component.d.ts +38 -38
  68. package/components/ngt-section/ngt-section.module.d.ts +11 -11
  69. package/components/ngt-select/ngt-select.component.d.ts +154 -154
  70. package/components/ngt-select/ngt-select.directive.d.ts +20 -20
  71. package/components/ngt-select/ngt-select.module.d.ts +16 -16
  72. package/components/ngt-shining/ngt-shining.component.d.ts +19 -19
  73. package/components/ngt-shining/ngt-shining.module.d.ts +8 -8
  74. package/components/ngt-sidenav/ngt-sidenav.component.d.ts +32 -32
  75. package/components/ngt-sidenav/ngt-sidenav.module.d.ts +8 -8
  76. package/components/ngt-slider/ngt-slider.component.d.ts +36 -36
  77. package/components/ngt-slider/ngt-slider.module.d.ts +9 -9
  78. package/components/ngt-svg/ngt-svg.component.d.ts +13 -13
  79. package/components/ngt-svg/ngt-svg.module.d.ts +10 -10
  80. package/components/ngt-tag/ngt-tag.component.d.ts +13 -13
  81. package/components/ngt-tag/ngt-tag.module.d.ts +9 -9
  82. package/components/ngt-textarea/ngt-textarea.component.d.ts +49 -49
  83. package/components/ngt-textarea/ngt-textarea.module.d.ts +13 -13
  84. package/components/ngt-validation/ngt-validation.component.d.ts +13 -13
  85. package/components/ngt-validation/ngt-validation.module.d.ts +8 -8
  86. package/directives/ngt-stylizable/ngt-stylizable.directive.d.ts +68 -68
  87. package/directives/ngt-stylizable/ngt-stylizable.module.d.ts +8 -8
  88. package/enums/size.enum.d.ts +8 -8
  89. package/esm2020/animations/ngt-angular-animations.mjs +34 -34
  90. package/esm2020/base/ngt-base-ng-model.mjs +90 -90
  91. package/esm2020/components/ngt-action/ngt-action.component.mjs +96 -96
  92. package/esm2020/components/ngt-action/ngt-action.module.mjs +28 -28
  93. package/esm2020/components/ngt-button/ngt-button.component.mjs +142 -142
  94. package/esm2020/components/ngt-button/ngt-button.module.mjs +28 -28
  95. package/esm2020/components/ngt-checkbox/ngt-checkbox.component.mjs +192 -192
  96. package/esm2020/components/ngt-checkbox/ngt-checkbox.module.mjs +28 -28
  97. package/esm2020/components/ngt-content/ngt-content.component.mjs +32 -32
  98. package/esm2020/components/ngt-content/ngt-content.module.mjs +20 -20
  99. package/esm2020/components/ngt-context-menu/ngt-context-menu.component.mjs +25 -25
  100. package/esm2020/components/ngt-context-menu/ngt-context-menu.directive.mjs +89 -89
  101. package/esm2020/components/ngt-context-menu/ngt-context-menu.module.mjs +33 -33
  102. package/esm2020/components/ngt-datatable/ngt-datatable.component.mjs +470 -470
  103. package/esm2020/components/ngt-datatable/ngt-datatable.module.mjs +99 -99
  104. package/esm2020/components/ngt-datatable/ngt-tbody/ngt-tbody.component.mjs +57 -57
  105. package/esm2020/components/ngt-datatable/ngt-td/ngt-td.component.mjs +62 -62
  106. package/esm2020/components/ngt-datatable/ngt-td-check/ngt-td-check.component.mjs +113 -113
  107. package/esm2020/components/ngt-datatable/ngt-th/ngt-th.component.mjs +228 -228
  108. package/esm2020/components/ngt-datatable/ngt-th-check/ngt-th-check.component.mjs +127 -127
  109. package/esm2020/components/ngt-datatable/ngt-thead/ngt-thead.component.mjs +55 -55
  110. package/esm2020/components/ngt-datatable/ngt-tr/ngt-tr.component.mjs +86 -86
  111. package/esm2020/components/ngt-date/ngt-date.component.mjs +435 -435
  112. package/esm2020/components/ngt-date/ngt-date.module.mjs +40 -40
  113. package/esm2020/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.mjs +19 -19
  114. package/esm2020/components/ngt-dropdown/ngt-dropdown.component.mjs +204 -204
  115. package/esm2020/components/ngt-dropdown/ngt-dropdown.module.mjs +21 -21
  116. package/esm2020/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.mjs +54 -54
  117. package/esm2020/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.mjs +69 -66
  118. package/esm2020/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.mjs +94 -94
  119. package/esm2020/components/ngt-dropzone/ngt-dropzone.component.mjs +496 -496
  120. package/esm2020/components/ngt-dropzone/ngt-dropzone.meta.mjs +24 -24
  121. package/esm2020/components/ngt-dropzone/ngt-dropzone.module.mjs +55 -55
  122. package/esm2020/components/ngt-floating-button/ngt-floating-button.component.mjs +119 -119
  123. package/esm2020/components/ngt-floating-button/ngt-floating-button.module.mjs +28 -28
  124. package/esm2020/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.mjs +22 -22
  125. package/esm2020/components/ngt-form/ngt-form.component.mjs +207 -207
  126. package/esm2020/components/ngt-form/ngt-form.module.mjs +29 -29
  127. package/esm2020/components/ngt-header-nav/ngt-header-nav.component.mjs +39 -39
  128. package/esm2020/components/ngt-header-nav/ngt-header-nav.module.mjs +20 -20
  129. package/esm2020/components/ngt-helper/ngt-helper.component.mjs +68 -68
  130. package/esm2020/components/ngt-helper/ngt-helper.module.mjs +28 -28
  131. package/esm2020/components/ngt-input/ngt-input.component.mjs +844 -844
  132. package/esm2020/components/ngt-input/ngt-input.module.mjs +47 -47
  133. package/esm2020/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.mjs +46 -46
  134. package/esm2020/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.mjs +33 -11
  135. package/esm2020/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.mjs +40 -40
  136. package/esm2020/components/ngt-modal/ngt-modal.component.mjs +122 -122
  137. package/esm2020/components/ngt-modal/ngt-modal.module.mjs +39 -39
  138. package/esm2020/components/ngt-multi-select/ngt-multi-select.component.mjs +503 -503
  139. package/esm2020/components/ngt-multi-select/ngt-multi-select.module.mjs +52 -52
  140. package/esm2020/components/ngt-pagination/ngt-pagination.component.mjs +162 -162
  141. package/esm2020/components/ngt-pagination/ngt-pagination.module.mjs +36 -36
  142. package/esm2020/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.mjs +58 -58
  143. package/esm2020/components/ngt-popover/ngt-popover.component.mjs +85 -85
  144. package/esm2020/components/ngt-popover/ngt-popover.directive.mjs +126 -126
  145. package/esm2020/components/ngt-popover/ngt-popover.module.mjs +36 -36
  146. package/esm2020/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.mjs +34 -34
  147. package/esm2020/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.mjs +35 -35
  148. package/esm2020/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.mjs +57 -57
  149. package/esm2020/components/ngt-portlet/ngt-portlet.component.mjs +74 -74
  150. package/esm2020/components/ngt-portlet/ngt-portlet.module.mjs +47 -47
  151. package/esm2020/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.mjs +19 -19
  152. package/esm2020/components/ngt-radio-button/ngt-radio-button.component.mjs +153 -153
  153. package/esm2020/components/ngt-radio-button/ngt-radio-button.module.mjs +29 -29
  154. package/esm2020/components/ngt-section/ngt-section.component.mjs +151 -151
  155. package/esm2020/components/ngt-section/ngt-section.module.mjs +32 -32
  156. package/esm2020/components/ngt-select/ngt-select.component.mjs +670 -670
  157. package/esm2020/components/ngt-select/ngt-select.directive.mjs +36 -36
  158. package/esm2020/components/ngt-select/ngt-select.module.mjs +65 -65
  159. package/esm2020/components/ngt-shining/ngt-shining.component.mjs +40 -40
  160. package/esm2020/components/ngt-shining/ngt-shining.module.mjs +20 -20
  161. package/esm2020/components/ngt-sidenav/ngt-sidenav.component.mjs +132 -132
  162. package/esm2020/components/ngt-sidenav/ngt-sidenav.module.mjs +20 -20
  163. package/esm2020/components/ngt-slider/ngt-slider.component.mjs +100 -100
  164. package/esm2020/components/ngt-slider/ngt-slider.module.mjs +24 -24
  165. package/esm2020/components/ngt-svg/ngt-svg.component.mjs +53 -53
  166. package/esm2020/components/ngt-svg/ngt-svg.module.mjs +28 -28
  167. package/esm2020/components/ngt-tag/ngt-tag.component.mjs +37 -37
  168. package/esm2020/components/ngt-tag/ngt-tag.module.mjs +24 -24
  169. package/esm2020/components/ngt-textarea/ngt-textarea.component.mjs +238 -238
  170. package/esm2020/components/ngt-textarea/ngt-textarea.module.mjs +43 -43
  171. package/esm2020/components/ngt-validation/ngt-validation.component.mjs +26 -26
  172. package/esm2020/components/ngt-validation/ngt-validation.module.mjs +20 -20
  173. package/esm2020/directives/ngt-stylizable/ngt-stylizable.directive.mjs +290 -290
  174. package/esm2020/directives/ngt-stylizable/ngt-stylizable.module.mjs +20 -20
  175. package/esm2020/enums/size.enum.mjs +11 -11
  176. package/esm2020/helpers/enum/enum.mjs +7 -7
  177. package/esm2020/helpers/form/form.mjs +14 -14
  178. package/esm2020/helpers/input-mask/input-mask.helper.mjs +26 -26
  179. package/esm2020/helpers/promise/promise-helper.mjs +4 -4
  180. package/esm2020/helpers/routing/route.mjs +11 -11
  181. package/esm2020/helpers/uuid.mjs +10 -10
  182. package/esm2020/ng-tailwind.mjs +4 -4
  183. package/esm2020/public-api.mjs +127 -127
  184. package/esm2020/services/http/ngt-attachment-http.service.mjs +3 -3
  185. package/esm2020/services/http/ngt-http-form.service.mjs +3 -3
  186. package/esm2020/services/http/ngt-http-resource.service.mjs +3 -3
  187. package/esm2020/services/http/ngt-http-validation.service.mjs +3 -3
  188. package/esm2020/services/http/ngt-http.service.mjs +3 -3
  189. package/esm2020/services/http/ngt-translate.service.mjs +3 -3
  190. package/esm2020/services/ngt-stylizable/ngt-stylizable.service.mjs +273 -273
  191. package/esm2020/services/validation/ngt-ability-validation.service.mjs +3 -3
  192. package/fesm2015/ng-tailwind.mjs +8657 -8632
  193. package/fesm2015/ng-tailwind.mjs.map +1 -1
  194. package/fesm2020/ng-tailwind.mjs +8482 -8459
  195. package/fesm2020/ng-tailwind.mjs.map +1 -1
  196. package/helpers/enum/enum.d.ts +1 -1
  197. package/helpers/form/form.d.ts +4 -4
  198. package/helpers/input-mask/input-mask.helper.d.ts +20 -20
  199. package/helpers/promise/promise-helper.d.ts +1 -1
  200. package/helpers/routing/route.d.ts +2 -2
  201. package/helpers/uuid.d.ts +1 -1
  202. package/index.d.ts +5 -5
  203. package/package.json +1 -1
  204. package/public-api.d.ts +87 -87
  205. package/services/http/ngt-attachment-http.service.d.ts +9 -9
  206. package/services/http/ngt-http-form.service.d.ts +5 -5
  207. package/services/http/ngt-http-resource.service.d.ts +12 -12
  208. package/services/http/ngt-http-validation.service.d.ts +12 -12
  209. package/services/http/ngt-http.service.d.ts +27 -27
  210. package/services/http/ngt-translate.service.d.ts +33 -33
  211. package/services/ngt-stylizable/ngt-stylizable.service.d.ts +96 -96
  212. package/services/validation/ngt-ability-validation.service.d.ts +5 -5
@@ -1,13 +1,13 @@
1
- import { AfterViewChecked, OnChanges, SimpleChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NgtSvgComponent implements AfterViewChecked, OnChanges {
4
- src: string;
5
- class: string;
6
- private svgIconElement;
7
- private appliedClass;
8
- ngAfterViewChecked(): void;
9
- ngOnChanges(changes: SimpleChanges): void;
10
- private checkClassChange;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtSvgComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtSvgComponent, "ngt-svg", never, { "src": "src"; "class": "class"; }, {}, never, never, false, never>;
13
- }
1
+ import { AfterViewChecked, OnChanges, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NgtSvgComponent implements AfterViewChecked, OnChanges {
4
+ src: string;
5
+ class: string;
6
+ private svgIconElement;
7
+ private appliedClass;
8
+ ngAfterViewChecked(): void;
9
+ ngOnChanges(changes: SimpleChanges): void;
10
+ private checkClassChange;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtSvgComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtSvgComponent, "ngt-svg", never, { "src": "src"; "class": "class"; }, {}, never, never, false, never>;
13
+ }
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./ngt-svg.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/common/http";
5
- import * as i4 from "angular-svg-icon";
6
- export declare class NgtSvgModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtSvgModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSvgModule, [typeof i1.NgtSvgComponent], [typeof i2.CommonModule, typeof i3.HttpClientModule, typeof i4.AngularSvgIconModule], [typeof i1.NgtSvgComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<NgtSvgModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ngt-svg.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/common/http";
5
+ import * as i4 from "angular-svg-icon";
6
+ export declare class NgtSvgModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtSvgModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSvgModule, [typeof i1.NgtSvgComponent], [typeof i2.CommonModule, typeof i3.HttpClientModule, typeof i4.AngularSvgIconModule], [typeof i1.NgtSvgComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgtSvgModule>;
10
+ }
@@ -1,13 +1,13 @@
1
- import { 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 NgtTagComponent {
6
- private injector;
7
- private ngtStylizableDirective;
8
- icon: string;
9
- ngtStyle: NgtStylizableService;
10
- constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtTagComponent, [null, { optional: true; self: true; }]>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtTagComponent, "ngt-tag", never, { "icon": "icon"; }, {}, never, ["*"], false, never>;
13
- }
1
+ import { 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 NgtTagComponent {
6
+ private injector;
7
+ private ngtStylizableDirective;
8
+ icon: string;
9
+ ngtStyle: NgtStylizableService;
10
+ constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtTagComponent, [null, { optional: true; self: true; }]>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtTagComponent, "ngt-tag", never, { "icon": "icon"; }, {}, never, ["*"], false, never>;
13
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./ngt-tag.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../ngt-svg/ngt-svg.module";
5
- export declare class NgtTagModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtTagModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtTagModule, [typeof i1.NgtTagComponent], [typeof i2.CommonModule, typeof i3.NgtSvgModule], [typeof i1.NgtTagComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<NgtTagModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ngt-tag.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../ngt-svg/ngt-svg.module";
5
+ export declare class NgtTagModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtTagModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtTagModule, [typeof i1.NgtTagComponent], [typeof i2.CommonModule, typeof i3.NgtSvgModule], [typeof i1.NgtTagComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgtTagModule>;
9
+ }
@@ -1,49 +1,49 @@
1
- import { ElementRef, Injector, OnDestroy, OnInit, Renderer2 } 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 { NgtTranslateService } from '../../services/http/ngt-translate.service';
6
- import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
7
- import { NgtFormComponent } from '../ngt-form/ngt-form.component';
8
- import * as i0 from "@angular/core";
9
- export declare class NgtTextareaComponent extends NgtBaseNgModel implements OnInit, OnDestroy {
10
- private injector;
11
- private ngtStylizableDirective;
12
- formContainer: ControlContainer;
13
- private ngtFormComponent;
14
- private renderer;
15
- ngtTranslateService: NgtTranslateService;
16
- element: ElementRef;
17
- label: string;
18
- placeholder: string;
19
- rows: string;
20
- showCharactersLength: boolean;
21
- helpTitle: string;
22
- helpText: string;
23
- helpTextColor: string;
24
- shining: boolean;
25
- name: string;
26
- isDisabled: boolean;
27
- isReadonly: boolean;
28
- jit: boolean;
29
- focus: boolean;
30
- isRequired: boolean;
31
- maxLength: number;
32
- componentReady: boolean;
33
- ngtStyle: NgtStylizableService;
34
- private subscriptions;
35
- constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, renderer: Renderer2, ngtTranslateService: NgtTranslateService);
36
- ngOnChanges(changes: any): void;
37
- ngOnInit(): void;
38
- ngOnDestroy(): void;
39
- setFocus(): void;
40
- clear(): void;
41
- change(value: any): void;
42
- getRemainingCharacters(): number;
43
- private initComponent;
44
- private updateValidations;
45
- private getNativeValue;
46
- private destroySubscriptions;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtTextareaComponent, [null, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; skipSelf: true; }, null, { optional: true; }]>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtTextareaComponent, "ngt-textarea", never, { "label": "label"; "placeholder": "placeholder"; "rows": "rows"; "showCharactersLength": "showCharactersLength"; "helpTitle": "helpTitle"; "helpText": "helpText"; "helpTextColor": "helpTextColor"; "shining": "shining"; "name": "name"; "isDisabled": "isDisabled"; "isReadonly": "isReadonly"; "jit": "jit"; "focus": "focus"; "isRequired": "isRequired"; "maxLength": "maxLength"; }, {}, never, ["*"], false, never>;
49
- }
1
+ import { ElementRef, Injector, OnDestroy, OnInit, Renderer2 } 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 { NgtTranslateService } from '../../services/http/ngt-translate.service';
6
+ import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
7
+ import { NgtFormComponent } from '../ngt-form/ngt-form.component';
8
+ import * as i0 from "@angular/core";
9
+ export declare class NgtTextareaComponent extends NgtBaseNgModel implements OnInit, OnDestroy {
10
+ private injector;
11
+ private ngtStylizableDirective;
12
+ formContainer: ControlContainer;
13
+ private ngtFormComponent;
14
+ private renderer;
15
+ ngtTranslateService: NgtTranslateService;
16
+ element: ElementRef;
17
+ label: string;
18
+ placeholder: string;
19
+ rows: string;
20
+ showCharactersLength: boolean;
21
+ helpTitle: string;
22
+ helpText: string;
23
+ helpTextColor: string;
24
+ shining: boolean;
25
+ name: string;
26
+ isDisabled: boolean;
27
+ isReadonly: boolean;
28
+ jit: boolean;
29
+ focus: boolean;
30
+ isRequired: boolean;
31
+ maxLength: number;
32
+ componentReady: boolean;
33
+ ngtStyle: NgtStylizableService;
34
+ private subscriptions;
35
+ constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, renderer: Renderer2, ngtTranslateService: NgtTranslateService);
36
+ ngOnChanges(changes: any): void;
37
+ ngOnInit(): void;
38
+ ngOnDestroy(): void;
39
+ setFocus(): void;
40
+ clear(): void;
41
+ change(value: any): void;
42
+ getRemainingCharacters(): number;
43
+ private initComponent;
44
+ private updateValidations;
45
+ private getNativeValue;
46
+ private destroySubscriptions;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtTextareaComponent, [null, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; skipSelf: true; }, null, { optional: true; }]>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtTextareaComponent, "ngt-textarea", never, { "label": "label"; "placeholder": "placeholder"; "rows": "rows"; "showCharactersLength": "showCharactersLength"; "helpTitle": "helpTitle"; "helpText": "helpText"; "helpTextColor": "helpTextColor"; "shining": "shining"; "name": "name"; "isDisabled": "isDisabled"; "isReadonly": "isReadonly"; "jit": "jit"; "focus": "focus"; "isRequired": "isRequired"; "maxLength": "maxLength"; }, {}, never, ["*"], false, never>;
49
+ }
@@ -1,13 +1,13 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./ngt-textarea.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-helper/ngt-helper.module";
8
- import * as i7 from "../ngt-form/ngt-form.module";
9
- export declare class NgtTextareaModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtTextareaModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtTextareaModule, [typeof i1.NgtTextareaComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.NgtValidationModule, typeof i5.NgtShiningModule, typeof i6.NgtHelperModule, typeof i7.NgtFormModule], [typeof i1.NgtTextareaComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<NgtTextareaModule>;
13
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ngt-textarea.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-helper/ngt-helper.module";
8
+ import * as i7 from "../ngt-form/ngt-form.module";
9
+ export declare class NgtTextareaModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtTextareaModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtTextareaModule, [typeof i1.NgtTextareaComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.NgtValidationModule, typeof i5.NgtShiningModule, typeof i6.NgtHelperModule, typeof i7.NgtFormModule], [typeof i1.NgtTextareaComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgtTextareaModule>;
13
+ }
@@ -1,13 +1,13 @@
1
- import { ControlContainer, UntypedFormControl } from '@angular/forms';
2
- import { NgtTranslateService } from '../../services/http/ngt-translate.service';
3
- import * as i0 from "@angular/core";
4
- export declare class NgtValidationComponent {
5
- ngtTranslateService: NgtTranslateService;
6
- control: UntypedFormControl;
7
- container: ControlContainer;
8
- minValue: number;
9
- minLength: number;
10
- constructor(ngtTranslateService: NgtTranslateService);
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtValidationComponent, [{ optional: true; }]>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtValidationComponent, "ngt-validation", never, { "control": "control"; "container": "container"; "minValue": "minValue"; "minLength": "minLength"; }, {}, never, never, false, never>;
13
- }
1
+ import { ControlContainer, UntypedFormControl } from '@angular/forms';
2
+ import { NgtTranslateService } from '../../services/http/ngt-translate.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NgtValidationComponent {
5
+ ngtTranslateService: NgtTranslateService;
6
+ control: UntypedFormControl;
7
+ container: ControlContainer;
8
+ minValue: number;
9
+ minLength: number;
10
+ constructor(ngtTranslateService: NgtTranslateService);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtValidationComponent, [{ optional: true; }]>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtValidationComponent, "ngt-validation", never, { "control": "control"; "container": "container"; "minValue": "minValue"; "minLength": "minLength"; }, {}, never, never, false, never>;
13
+ }
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./ngt-validation.component";
3
- import * as i2 from "@angular/common";
4
- export declare class NgtValidationModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtValidationModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtValidationModule, [typeof i1.NgtValidationComponent], [typeof i2.CommonModule], [typeof i1.NgtValidationComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<NgtValidationModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ngt-validation.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class NgtValidationModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtValidationModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtValidationModule, [typeof i1.NgtValidationComponent], [typeof i2.CommonModule], [typeof i1.NgtValidationComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgtValidationModule>;
8
+ }
@@ -1,68 +1,68 @@
1
- import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
2
- import * as i0 from "@angular/core";
3
- export declare class NgtStylizableDirective {
4
- private ngtStylizableService;
5
- constructor();
6
- get color(): any;
7
- get h(): string;
8
- get w(): string;
9
- get p(): string;
10
- get px(): string;
11
- get py(): string;
12
- get pt(): string;
13
- get pr(): string;
14
- get pb(): string;
15
- get pl(): string;
16
- get m(): string;
17
- get mx(): string;
18
- get my(): string;
19
- get mt(): string;
20
- get mr(): string;
21
- get mb(): string;
22
- get ml(): string;
23
- get border(): string;
24
- get shadow(): string;
25
- get rounded(): string;
26
- get font(): string;
27
- get text(): string;
28
- get breakWords(): string;
29
- get overflow(): string;
30
- get position(): string;
31
- get justifyContent(): string;
32
- get cursor(): string;
33
- get fontCase(): string;
34
- set color(color: any);
35
- set textColor(textColor: string);
36
- set bgColor(bgColor: string);
37
- set borderColor(borderColor: any);
38
- set h(h: string);
39
- set w(w: string);
40
- set p(p: string);
41
- set px(px: string);
42
- set py(py: string);
43
- set pt(pt: string);
44
- set pr(pr: string);
45
- set pb(pb: string);
46
- set pl(pl: string);
47
- set m(m: string);
48
- set mx(mx: string);
49
- set my(my: string);
50
- set mt(mt: string);
51
- set mr(mr: string);
52
- set mb(mb: string);
53
- set ml(ml: string);
54
- set border(border: string);
55
- set shadow(shadow: string);
56
- set rounded(rounded: string);
57
- set font(font: string);
58
- set text(text: string);
59
- set breakWords(breakWords: string);
60
- set overflow(overflow: string);
61
- set position(position: string);
62
- set justifyContent(justifyContent: string);
63
- set cursor(cursor: string);
64
- set fontCase(fontCase: string);
65
- getNgtStylizableService(): NgtStylizableService;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtStylizableDirective, never>;
67
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgtStylizableDirective, "[ngt-stylizable]", never, { "color": "color"; "textColor": "color.text"; "bgColor": "color.bg"; "borderColor": "color.border"; "h": "h"; "w": "w"; "p": "p"; "px": "px"; "py": "py"; "pt": "pt"; "pr": "pr"; "pb": "pb"; "pl": "pl"; "m": "m"; "mx": "mx"; "my": "my"; "mt": "mt"; "mr": "mr"; "mb": "mb"; "ml": "ml"; "border": "border"; "shadow": "shadow"; "rounded": "rounded"; "font": "font"; "text": "text"; "breakWords": "breakWords"; "overflow": "overflow"; "position": "position"; "justifyContent": "justifyContent"; "cursor": "cursor"; "fontCase": "fontCase"; }, {}, never, never, false, never>;
68
- }
1
+ import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NgtStylizableDirective {
4
+ private ngtStylizableService;
5
+ constructor();
6
+ get color(): any;
7
+ get h(): string;
8
+ get w(): string;
9
+ get p(): string;
10
+ get px(): string;
11
+ get py(): string;
12
+ get pt(): string;
13
+ get pr(): string;
14
+ get pb(): string;
15
+ get pl(): string;
16
+ get m(): string;
17
+ get mx(): string;
18
+ get my(): string;
19
+ get mt(): string;
20
+ get mr(): string;
21
+ get mb(): string;
22
+ get ml(): string;
23
+ get border(): string;
24
+ get shadow(): string;
25
+ get rounded(): string;
26
+ get font(): string;
27
+ get text(): string;
28
+ get breakWords(): string;
29
+ get overflow(): string;
30
+ get position(): string;
31
+ get justifyContent(): string;
32
+ get cursor(): string;
33
+ get fontCase(): string;
34
+ set color(color: any);
35
+ set textColor(textColor: string);
36
+ set bgColor(bgColor: string);
37
+ set borderColor(borderColor: any);
38
+ set h(h: string);
39
+ set w(w: string);
40
+ set p(p: string);
41
+ set px(px: string);
42
+ set py(py: string);
43
+ set pt(pt: string);
44
+ set pr(pr: string);
45
+ set pb(pb: string);
46
+ set pl(pl: string);
47
+ set m(m: string);
48
+ set mx(mx: string);
49
+ set my(my: string);
50
+ set mt(mt: string);
51
+ set mr(mr: string);
52
+ set mb(mb: string);
53
+ set ml(ml: string);
54
+ set border(border: string);
55
+ set shadow(shadow: string);
56
+ set rounded(rounded: string);
57
+ set font(font: string);
58
+ set text(text: string);
59
+ set breakWords(breakWords: string);
60
+ set overflow(overflow: string);
61
+ set position(position: string);
62
+ set justifyContent(justifyContent: string);
63
+ set cursor(cursor: string);
64
+ set fontCase(fontCase: string);
65
+ getNgtStylizableService(): NgtStylizableService;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtStylizableDirective, never>;
67
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgtStylizableDirective, "[ngt-stylizable]", never, { "color": "color"; "textColor": "color.text"; "bgColor": "color.bg"; "borderColor": "color.border"; "h": "h"; "w": "w"; "p": "p"; "px": "px"; "py": "py"; "pt": "pt"; "pr": "pr"; "pb": "pb"; "pl": "pl"; "m": "m"; "mx": "mx"; "my": "my"; "mt": "mt"; "mr": "mr"; "mb": "mb"; "ml": "ml"; "border": "border"; "shadow": "shadow"; "rounded": "rounded"; "font": "font"; "text": "text"; "breakWords": "breakWords"; "overflow": "overflow"; "position": "position"; "justifyContent": "justifyContent"; "cursor": "cursor"; "fontCase": "fontCase"; }, {}, never, never, false, never>;
68
+ }
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./ngt-stylizable.directive";
3
- import * as i2 from "@angular/common";
4
- export declare class NgtStylizableModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtStylizableModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtStylizableModule, [typeof i1.NgtStylizableDirective], [typeof i2.CommonModule], [typeof i1.NgtStylizableDirective]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<NgtStylizableModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ngt-stylizable.directive";
3
+ import * as i2 from "@angular/common";
4
+ export declare class NgtStylizableModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtStylizableModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtStylizableModule, [typeof i1.NgtStylizableDirective], [typeof i2.CommonModule], [typeof i1.NgtStylizableDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgtStylizableModule>;
8
+ }
@@ -1,8 +1,8 @@
1
- export declare enum Size {
2
- AUTO = "AUTO",
3
- XS = "XS",
4
- SM = "SM",
5
- MD = "MD",
6
- XL = "XL",
7
- FULL = "FULL"
8
- }
1
+ export declare enum Size {
2
+ AUTO = "AUTO",
3
+ XS = "XS",
4
+ SM = "SM",
5
+ MD = "MD",
6
+ XL = "XL",
7
+ FULL = "FULL"
8
+ }
@@ -1,34 +1,34 @@
1
- import { animate, state, style, transition, trigger } from '@angular/animations';
2
- export function slideLeftToRightAnimation(name, duration, customStyle) {
3
- return trigger(name, [
4
- state('void', customStyle ? customStyle : style({ transform: 'translateX(-50px)', opacity: 0 })),
5
- transition(':enter, :leave', [
6
- animate(duration)
7
- ])
8
- ]);
9
- }
10
- export function slideRightToLeftAnimation(name, duration, customStyle) {
11
- return trigger(name, [
12
- state('void', customStyle ? customStyle : style({ transform: 'translateX(50px)', opacity: 0 })),
13
- transition(':enter, :leave', [
14
- animate(duration)
15
- ])
16
- ]);
17
- }
18
- export function fadeDownAnimation(name, duration, customStyle) {
19
- return trigger(name, [
20
- state('void', customStyle ? customStyle : style({ transform: 'translateY(-20px)', opacity: 0 })),
21
- transition(':enter, :leave', [
22
- animate(duration)
23
- ])
24
- ]);
25
- }
26
- export function fadeUpAnimation(name, duration, customStyle) {
27
- return trigger(name, [
28
- state('void', customStyle ? customStyle : style({ transform: 'translateY(20px)', opacity: 0 })),
29
- transition(':enter, :leave', [
30
- animate(duration)
31
- ])
32
- ]);
33
- }
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd0LWFuZ3VsYXItYW5pbWF0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXRhaWx3aW5kL3NyYy9hbmltYXRpb25zL25ndC1hbmd1bGFyLWFuaW1hdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9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ICAgICAgICAgYW5pbWF0ZShkdXJhdGlvbilcbiAgICAgICAgXSlcbiAgICBdKTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGZhZGVVcEFuaW1hdGlvbihuYW1lOiBzdHJpbmcsIGR1cmF0aW9uOiBhbnksIGN1c3RvbVN0eWxlPzogQW5pbWF0aW9uU3R5bGVNZXRhZGF0YSkge1xuICAgIHJldHVybiB0cmlnZ2VyKG5hbWUsIFtcbiAgICAgICAgc3RhdGUoJ3ZvaWQnLCBjdXN0b21TdHlsZSA/IGN1c3RvbVN0eWxlIDogc3R5bGUoeyB0cmFuc2Zvcm06ICd0cmFuc2xhdGVZKDIwcHgpJywgb3BhY2l0eTogMCB9KSksXG4gICAgICAgIHRyYW5zaXRpb24oJzplbnRlciwgOmxlYXZlJywgW1xuICAgICAgICAgICAgYW5pbWF0ZShkdXJhdGlvbilcbiAgICAgICAgXSlcbiAgICBdKTtcbn1cbiJdfQ==
1
+ import { animate, state, style, transition, trigger } from '@angular/animations';
2
+ export function slideLeftToRightAnimation(name, duration, customStyle) {
3
+ return trigger(name, [
4
+ state('void', customStyle ? customStyle : style({ transform: 'translateX(-50px)', opacity: 0 })),
5
+ transition(':enter, :leave', [
6
+ animate(duration)
7
+ ])
8
+ ]);
9
+ }
10
+ export function slideRightToLeftAnimation(name, duration, customStyle) {
11
+ return trigger(name, [
12
+ state('void', customStyle ? customStyle : style({ transform: 'translateX(50px)', opacity: 0 })),
13
+ transition(':enter, :leave', [
14
+ animate(duration)
15
+ ])
16
+ ]);
17
+ }
18
+ export function fadeDownAnimation(name, duration, customStyle) {
19
+ return trigger(name, [
20
+ state('void', customStyle ? customStyle : style({ transform: 'translateY(-20px)', opacity: 0 })),
21
+ transition(':enter, :leave', [
22
+ animate(duration)
23
+ ])
24
+ ]);
25
+ }
26
+ export function fadeUpAnimation(name, duration, customStyle) {
27
+ return trigger(name, [
28
+ state('void', customStyle ? customStyle : style({ transform: 'translateY(20px)', opacity: 0 })),
29
+ transition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