ng-tailwind 2.24.310 → 2.24.314

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 (193) 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/bundles/ng-tailwind.umd.js +7318 -7271
  5. package/bundles/ng-tailwind.umd.js.map +1 -1
  6. package/components/ngt-action/ngt-action.component.d.ts +13 -13
  7. package/components/ngt-action/ngt-action.module.d.ts +2 -2
  8. package/components/ngt-button/ngt-button.component.d.ts +22 -22
  9. package/components/ngt-button/ngt-button.module.d.ts +2 -2
  10. package/components/ngt-checkbox/ngt-checkbox.component.d.ts +41 -41
  11. package/components/ngt-checkbox/ngt-checkbox.module.d.ts +2 -2
  12. package/components/ngt-content/ngt-content.component.d.ts +9 -9
  13. package/components/ngt-content/ngt-content.module.d.ts +2 -2
  14. package/components/ngt-datatable/ngt-datatable.component.d.ts +112 -112
  15. package/components/ngt-datatable/ngt-datatable.module.d.ts +2 -2
  16. package/components/ngt-datatable/ngt-tbody/ngt-tbody.component.d.ts +11 -11
  17. package/components/ngt-datatable/ngt-td/ngt-td.component.d.ts +11 -11
  18. package/components/ngt-datatable/ngt-td-check/ngt-td-check.component.d.ts +24 -24
  19. package/components/ngt-datatable/ngt-th/ngt-th.component.d.ts +47 -47
  20. package/components/ngt-datatable/ngt-th-check/ngt-th-check.component.d.ts +19 -19
  21. package/components/ngt-datatable/ngt-thead/ngt-thead.component.d.ts +10 -10
  22. package/components/ngt-datatable/ngt-tr/ngt-tr.component.d.ts +17 -17
  23. package/components/ngt-date/ngt-date.component.d.ts +71 -71
  24. package/components/ngt-date/ngt-date.module.d.ts +2 -2
  25. package/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.d.ts +5 -5
  26. package/components/ngt-dropdown/ngt-dropdown.component.d.ts +42 -42
  27. package/components/ngt-dropdown/ngt-dropdown.module.d.ts +2 -2
  28. package/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.d.ts +11 -11
  29. package/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +12 -12
  30. package/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +21 -21
  31. package/components/ngt-dropzone/ngt-dropzone.component.d.ts +103 -103
  32. package/components/ngt-dropzone/ngt-dropzone.module.d.ts +2 -2
  33. package/components/ngt-floating-button/ngt-floating-button.component.d.ts +32 -32
  34. package/components/ngt-floating-button/ngt-floating-button.module.d.ts +2 -2
  35. package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.d.ts +7 -7
  36. package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.module.d.ts +2 -2
  37. package/components/ngt-form/ngt-form.component.d.ts +52 -52
  38. package/components/ngt-form/ngt-form.module.d.ts +2 -2
  39. package/components/ngt-header-nav/ngt-header-nav.component.d.ts +11 -11
  40. package/components/ngt-header-nav/ngt-header-nav.module.d.ts +2 -2
  41. package/components/ngt-helper/ngt-helper.component.d.ts +15 -10
  42. package/components/ngt-helper/ngt-helper.module.d.ts +2 -2
  43. package/components/ngt-input/ngt-input.component.d.ts +92 -92
  44. package/components/ngt-input/ngt-input.module.d.ts +2 -2
  45. package/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.d.ts +2 -2
  46. package/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.d.ts +2 -2
  47. package/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.d.ts +12 -12
  48. package/components/ngt-modal/ngt-modal.component.d.ts +19 -19
  49. package/components/ngt-modal/ngt-modal.module.d.ts +2 -2
  50. package/components/ngt-multi-select/ngt-multi-select.component.d.ts +97 -97
  51. package/components/ngt-multi-select/ngt-multi-select.module.d.ts +2 -2
  52. package/components/ngt-pagination/ngt-pagination.component.d.ts +40 -40
  53. package/components/ngt-pagination/ngt-pagination.module.d.ts +2 -2
  54. package/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.d.ts +9 -9
  55. package/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.d.ts +9 -9
  56. package/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.d.ts +14 -14
  57. package/components/ngt-portlet/ngt-portlet.component.d.ts +17 -17
  58. package/components/ngt-portlet/ngt-portlet.module.d.ts +2 -2
  59. package/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.d.ts +6 -6
  60. package/components/ngt-radio-button/ngt-radio-button.component.d.ts +27 -27
  61. package/components/ngt-radio-button/ngt-radio-button.module.d.ts +2 -2
  62. package/components/ngt-section/ngt-section.component.d.ts +23 -23
  63. package/components/ngt-section/ngt-section.module.d.ts +2 -2
  64. package/components/ngt-select/ngt-select.component.d.ts +122 -122
  65. package/components/ngt-select/ngt-select.directive.d.ts +13 -13
  66. package/components/ngt-select/ngt-select.module.d.ts +2 -2
  67. package/components/ngt-shining/ngt-shining.component.d.ts +16 -16
  68. package/components/ngt-shining/ngt-shining.module.d.ts +2 -2
  69. package/components/ngt-sidenav/ngt-sidenav.component.d.ts +29 -29
  70. package/components/ngt-sidenav/ngt-sidenav.module.d.ts +2 -2
  71. package/components/ngt-slider/ngt-slider.component.d.ts +31 -31
  72. package/components/ngt-slider/ngt-slider.module.d.ts +2 -2
  73. package/components/ngt-svg/ngt-svg.component.d.ts +10 -10
  74. package/components/ngt-svg/ngt-svg.module.d.ts +2 -2
  75. package/components/ngt-tag/ngt-tag.component.d.ts +10 -10
  76. package/components/ngt-tag/ngt-tag.module.d.ts +2 -2
  77. package/components/ngt-textarea/ngt-textarea.component.d.ts +46 -46
  78. package/components/ngt-textarea/ngt-textarea.module.d.ts +2 -2
  79. package/components/ngt-validation/ngt-validation.component.d.ts +10 -10
  80. package/components/ngt-validation/ngt-validation.module.d.ts +2 -2
  81. package/directives/ngt-stylizable/ngt-stylizable.directive.d.ts +65 -63
  82. package/directives/ngt-stylizable/ngt-stylizable.module.d.ts +2 -2
  83. package/enums/size.enum.d.ts +8 -8
  84. package/esm2015/animations/ngt-angular-animations.js +34 -34
  85. package/esm2015/base/ngt-base-ng-model.js +90 -90
  86. package/esm2015/components/ngt-action/ngt-action.component.js +49 -49
  87. package/esm2015/components/ngt-action/ngt-action.module.js +19 -19
  88. package/esm2015/components/ngt-button/ngt-button.component.js +106 -106
  89. package/esm2015/components/ngt-button/ngt-button.module.js +19 -19
  90. package/esm2015/components/ngt-checkbox/ngt-checkbox.component.js +137 -137
  91. package/esm2015/components/ngt-checkbox/ngt-checkbox.module.js +19 -19
  92. package/esm2015/components/ngt-content/ngt-content.component.js +33 -33
  93. package/esm2015/components/ngt-content/ngt-content.module.js +15 -15
  94. package/esm2015/components/ngt-datatable/ngt-datatable.component.js +400 -400
  95. package/esm2015/components/ngt-datatable/ngt-datatable.module.js +58 -58
  96. package/esm2015/components/ngt-datatable/ngt-tbody/ngt-tbody.component.js +58 -60
  97. package/esm2015/components/ngt-datatable/ngt-td/ngt-td.component.js +63 -63
  98. package/esm2015/components/ngt-datatable/ngt-td-check/ngt-td-check.component.js +102 -102
  99. package/esm2015/components/ngt-datatable/ngt-th/ngt-th.component.js +192 -192
  100. package/esm2015/components/ngt-datatable/ngt-th-check/ngt-th-check.component.js +87 -87
  101. package/esm2015/components/ngt-datatable/ngt-thead/ngt-thead.component.js +56 -58
  102. package/esm2015/components/ngt-datatable/ngt-tr/ngt-tr.component.js +76 -76
  103. package/esm2015/components/ngt-date/ngt-date.component.js +354 -352
  104. package/esm2015/components/ngt-date/ngt-date.module.js +25 -25
  105. package/esm2015/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.js +20 -20
  106. package/esm2015/components/ngt-dropdown/ngt-dropdown.component.js +165 -165
  107. package/esm2015/components/ngt-dropdown/ngt-dropdown.module.js +16 -16
  108. package/esm2015/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.js +47 -47
  109. package/esm2015/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.js +46 -45
  110. package/esm2015/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.js +67 -67
  111. package/esm2015/components/ngt-dropzone/ngt-dropzone.component.js +411 -411
  112. package/esm2015/components/ngt-dropzone/ngt-dropzone.module.js +37 -37
  113. package/esm2015/components/ngt-floating-button/ngt-floating-button.component.js +94 -94
  114. package/esm2015/components/ngt-floating-button/ngt-floating-button.module.js +19 -19
  115. package/esm2015/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.js +23 -23
  116. package/esm2015/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.module.js +15 -15
  117. package/esm2015/components/ngt-form/ngt-form.component.js +181 -181
  118. package/esm2015/components/ngt-form/ngt-form.module.js +17 -17
  119. package/esm2015/components/ngt-header-nav/ngt-header-nav.component.js +38 -38
  120. package/esm2015/components/ngt-header-nav/ngt-header-nav.module.js +15 -15
  121. package/esm2015/components/ngt-helper/ngt-helper.component.js +44 -24
  122. package/esm2015/components/ngt-helper/ngt-helper.module.js +19 -19
  123. package/esm2015/components/ngt-input/ngt-input.component.js +610 -608
  124. package/esm2015/components/ngt-input/ngt-input.module.js +28 -28
  125. package/esm2015/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.js +11 -11
  126. package/esm2015/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.js +11 -11
  127. package/esm2015/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.js +40 -40
  128. package/esm2015/components/ngt-modal/ngt-modal.component.js +79 -79
  129. package/esm2015/components/ngt-modal/ngt-modal.module.js +28 -28
  130. package/esm2015/components/ngt-multi-select/ngt-multi-select.component.js +392 -392
  131. package/esm2015/components/ngt-multi-select/ngt-multi-select.module.js +33 -33
  132. package/esm2015/components/ngt-pagination/ngt-pagination.component.js +172 -172
  133. package/esm2015/components/ngt-pagination/ngt-pagination.module.js +23 -23
  134. package/esm2015/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.js +32 -32
  135. package/esm2015/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.js +33 -33
  136. package/esm2015/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.js +47 -45
  137. package/esm2015/components/ngt-portlet/ngt-portlet.component.js +58 -58
  138. package/esm2015/components/ngt-portlet/ngt-portlet.module.js +32 -32
  139. package/esm2015/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.js +19 -19
  140. package/esm2015/components/ngt-radio-button/ngt-radio-button.component.js +97 -97
  141. package/esm2015/components/ngt-radio-button/ngt-radio-button.module.js +18 -18
  142. package/esm2015/components/ngt-section/ngt-section.component.js +98 -98
  143. package/esm2015/components/ngt-section/ngt-section.module.js +21 -21
  144. package/esm2015/components/ngt-select/ngt-select.component.js +467 -465
  145. package/esm2015/components/ngt-select/ngt-select.directive.js +35 -35
  146. package/esm2015/components/ngt-select/ngt-select.module.js +40 -40
  147. package/esm2015/components/ngt-shining/ngt-shining.component.js +41 -41
  148. package/esm2015/components/ngt-shining/ngt-shining.module.js +15 -15
  149. package/esm2015/components/ngt-sidenav/ngt-sidenav.component.js +123 -123
  150. package/esm2015/components/ngt-sidenav/ngt-sidenav.module.js +15 -15
  151. package/esm2015/components/ngt-slider/ngt-slider.component.js +82 -82
  152. package/esm2015/components/ngt-slider/ngt-slider.module.js +17 -17
  153. package/esm2015/components/ngt-svg/ngt-svg.component.js +52 -52
  154. package/esm2015/components/ngt-svg/ngt-svg.module.js +19 -19
  155. package/esm2015/components/ngt-tag/ngt-tag.component.js +36 -36
  156. package/esm2015/components/ngt-tag/ngt-tag.module.js +17 -17
  157. package/esm2015/components/ngt-textarea/ngt-textarea.component.js +211 -209
  158. package/esm2015/components/ngt-textarea/ngt-textarea.module.js +24 -24
  159. package/esm2015/components/ngt-validation/ngt-validation.component.js +24 -24
  160. package/esm2015/components/ngt-validation/ngt-validation.module.js +15 -15
  161. package/esm2015/directives/ngt-stylizable/ngt-stylizable.directive.js +227 -220
  162. package/esm2015/directives/ngt-stylizable/ngt-stylizable.module.js +15 -15
  163. package/esm2015/enums/size.enum.js +11 -11
  164. package/esm2015/helpers/enum/enum.js +7 -7
  165. package/esm2015/helpers/form/form.js +14 -14
  166. package/esm2015/helpers/routing/route.js +11 -11
  167. package/esm2015/helpers/uuid.js +10 -10
  168. package/esm2015/ng-tailwind.js +10 -10
  169. package/esm2015/public-api.js +117 -117
  170. package/esm2015/services/http/ngt-attachment-http.service.js +3 -3
  171. package/esm2015/services/http/ngt-http-form.service.js +3 -3
  172. package/esm2015/services/http/ngt-http-resource.service.js +3 -3
  173. package/esm2015/services/http/ngt-http-validation.service.js +4 -4
  174. package/esm2015/services/http/ngt-http.service.js +3 -3
  175. package/esm2015/services/http/ngt-translate.service.js +3 -3
  176. package/esm2015/services/ngt-stylizable/ngt-stylizable.service.js +273 -266
  177. package/fesm2015/ng-tailwind.js +6404 -6365
  178. package/fesm2015/ng-tailwind.js.map +1 -1
  179. package/helpers/enum/enum.d.ts +1 -1
  180. package/helpers/form/form.d.ts +4 -4
  181. package/helpers/routing/route.d.ts +2 -2
  182. package/helpers/uuid.d.ts +1 -1
  183. package/ng-tailwind.d.ts +10 -10
  184. package/ng-tailwind.metadata.json +1 -1
  185. package/package.json +1 -1
  186. package/public-api.d.ts +80 -80
  187. package/services/http/ngt-attachment-http.service.d.ts +10 -10
  188. package/services/http/ngt-http-form.service.d.ts +5 -5
  189. package/services/http/ngt-http-resource.service.d.ts +12 -12
  190. package/services/http/ngt-http-validation.service.d.ts +10 -10
  191. package/services/http/ngt-http.service.d.ts +27 -27
  192. package/services/http/ngt-translate.service.d.ts +27 -27
  193. package/services/ngt-stylizable/ngt-stylizable.service.d.ts +96 -93
@@ -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
- export declare class NgtActionComponent {
5
- private injector;
6
- private ngtStylizableDirective;
7
- href: string;
8
- icon: string;
9
- ngtStyle: NgtStylizableService;
10
- isDisabled: boolean;
11
- constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
12
- onClick(event: Event): void;
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
+ export declare class NgtActionComponent {
5
+ private injector;
6
+ private ngtStylizableDirective;
7
+ href: string;
8
+ icon: string;
9
+ ngtStyle: NgtStylizableService;
10
+ isDisabled: boolean;
11
+ constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
12
+ onClick(event: Event): void;
13
+ }
@@ -1,2 +1,2 @@
1
- export declare class NgtActionModule {
2
- }
1
+ export declare class NgtActionModule {
2
+ }
@@ -1,22 +1,22 @@
1
- import { Injector, OnChanges, OnDestroy, SimpleChanges } 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 { NgtFormComponent } from '../ngt-form/ngt-form.component';
5
- export declare class NgtButtonComponent implements OnChanges, OnDestroy {
6
- private ngtFormComponent;
7
- private injector;
8
- private ngtStylizableDirective;
9
- link: boolean;
10
- href: string;
11
- type: string;
12
- loading: boolean;
13
- isDisabled: boolean;
14
- noSubmit: boolean;
15
- ngtStyle: NgtStylizableService;
16
- private subscriptions;
17
- constructor(ngtFormComponent: NgtFormComponent, injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
18
- onClick(event: Event): void;
19
- ngOnChanges(changes: SimpleChanges): void;
20
- ngOnDestroy(): void;
21
- private destroySubscriptions;
22
- }
1
+ import { Injector, OnChanges, OnDestroy, SimpleChanges } 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 { NgtFormComponent } from '../ngt-form/ngt-form.component';
5
+ export declare class NgtButtonComponent implements OnChanges, OnDestroy {
6
+ private ngtFormComponent;
7
+ private injector;
8
+ private ngtStylizableDirective;
9
+ link: boolean;
10
+ href: string;
11
+ type: string;
12
+ loading: boolean;
13
+ isDisabled: boolean;
14
+ noSubmit: boolean;
15
+ ngtStyle: NgtStylizableService;
16
+ private subscriptions;
17
+ constructor(ngtFormComponent: NgtFormComponent, injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
18
+ onClick(event: Event): void;
19
+ ngOnChanges(changes: SimpleChanges): void;
20
+ ngOnDestroy(): void;
21
+ private destroySubscriptions;
22
+ }
@@ -1,2 +1,2 @@
1
- export declare class NgtButtonModule {
2
- }
1
+ export declare class NgtButtonModule {
2
+ }
@@ -1,41 +1,41 @@
1
- import { AfterViewInit, ElementRef, Injector, OnDestroy, 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 { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
6
- import { NgtFormComponent } from '../ngt-form/ngt-form.component';
7
- export declare class NgtCheckboxComponent extends NgtBaseNgModel implements AfterViewInit, OnDestroy {
8
- private injector;
9
- formContainer: ControlContainer;
10
- private renderer;
11
- private ngtStylizableDirective;
12
- private ngtFormComponent;
13
- element: ElementRef;
14
- label: string;
15
- shining: boolean;
16
- isDisabled: boolean;
17
- isClickDisabled: boolean;
18
- name: string;
19
- mode: NgtCheckboxMode;
20
- helpTitle: string;
21
- helpTextColor: string;
22
- helpText: string;
23
- ngtStyle: NgtStylizableService;
24
- private subscriptions;
25
- constructor(injector: Injector, formContainer: ControlContainer, renderer: Renderer2, ngtStylizableDirective: NgtStylizableDirective, ngtFormComponent: NgtFormComponent);
26
- ngAfterViewInit(): void;
27
- ngOnDestroy(): void;
28
- change(value: any): void;
29
- onNativeChange(value: any): void;
30
- hasChangesBetweenModels(): boolean;
31
- isToggleMode(): boolean;
32
- isDefaultMode(): boolean;
33
- isRadioMode(): boolean;
34
- ngOnChanges(changes: SimpleChanges): void;
35
- private destroySubscriptions;
36
- }
37
- export declare enum NgtCheckboxMode {
38
- DEFAULT = "DEFAULT",
39
- TOGGLE = "TOGGLE",
40
- RADIO = "RADIO"
41
- }
1
+ import { AfterViewInit, ElementRef, Injector, OnDestroy, 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 { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
6
+ import { NgtFormComponent } from '../ngt-form/ngt-form.component';
7
+ export declare class NgtCheckboxComponent extends NgtBaseNgModel implements AfterViewInit, OnDestroy {
8
+ private injector;
9
+ formContainer: ControlContainer;
10
+ private renderer;
11
+ private ngtStylizableDirective;
12
+ private ngtFormComponent;
13
+ element: ElementRef;
14
+ label: string;
15
+ shining: boolean;
16
+ isDisabled: boolean;
17
+ isClickDisabled: boolean;
18
+ name: string;
19
+ mode: NgtCheckboxMode;
20
+ helpTitle: string;
21
+ helpTextColor: string;
22
+ helpText: string;
23
+ ngtStyle: NgtStylizableService;
24
+ private subscriptions;
25
+ constructor(injector: Injector, formContainer: ControlContainer, renderer: Renderer2, ngtStylizableDirective: NgtStylizableDirective, ngtFormComponent: NgtFormComponent);
26
+ ngAfterViewInit(): void;
27
+ ngOnDestroy(): void;
28
+ change(value: any): void;
29
+ onNativeChange(value: any): void;
30
+ hasChangesBetweenModels(): boolean;
31
+ isToggleMode(): boolean;
32
+ isDefaultMode(): boolean;
33
+ isRadioMode(): boolean;
34
+ ngOnChanges(changes: SimpleChanges): void;
35
+ private destroySubscriptions;
36
+ }
37
+ export declare enum NgtCheckboxMode {
38
+ DEFAULT = "DEFAULT",
39
+ TOGGLE = "TOGGLE",
40
+ RADIO = "RADIO"
41
+ }
@@ -1,2 +1,2 @@
1
- export declare class NgtCheckboxModule {
2
- }
1
+ export declare class NgtCheckboxModule {
2
+ }
@@ -1,9 +1,9 @@
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
- export declare class NgtContentComponent {
5
- private injector;
6
- private tailStylizableDirective;
7
- ngtStyle: NgtStylizableService;
8
- constructor(injector: Injector, tailStylizableDirective: NgtStylizableDirective);
9
- }
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
+ export declare class NgtContentComponent {
5
+ private injector;
6
+ private tailStylizableDirective;
7
+ ngtStyle: NgtStylizableService;
8
+ constructor(injector: Injector, tailStylizableDirective: NgtStylizableDirective);
9
+ }
@@ -1,2 +1,2 @@
1
- export declare class NgtContentModule {
2
- }
1
+ export declare class NgtContentModule {
2
+ }
@@ -1,112 +1,112 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
- import { NgtHttpService } from '../../services/http/ngt-http.service';
3
- import { NgtTranslateService } from '../../services/http/ngt-translate.service';
4
- import { NgtInputComponent } from '../ngt-input/ngt-input.component';
5
- import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
6
- import { NgtPaginationComponent } from '../ngt-pagination/ngt-pagination.component';
7
- export declare class NgtDatatableComponent implements OnInit, OnDestroy {
8
- private injector;
9
- private ngtHttpService;
10
- private changeDetector;
11
- ngtTranslateService: NgtTranslateService;
12
- table: ElementRef;
13
- ngtPagination: NgtPaginationComponent;
14
- searchModal: NgtModalComponent;
15
- remoteResource: any;
16
- type: NgtDatatableType;
17
- filterTagBgColor: string;
18
- inputSearch: NgtInputComponent;
19
- searchDelay: number;
20
- searchTermMinLength: number;
21
- searchTermOnEnter: boolean;
22
- defaultFilters: any;
23
- filtersDescription: {};
24
- onDataChange: EventEmitter<any>;
25
- onClearFilter: EventEmitter<any>;
26
- onClearSelectedElements: EventEmitter<any>;
27
- onSelectedElementsChange: EventEmitter<Array<NgtCheckedElement>>;
28
- onToogleAllCheckboxes: EventEmitter<any>;
29
- onToogleCheckbox: EventEmitter<NgtCheckedElement>;
30
- onOpenSearchModal: EventEmitter<string>;
31
- onSearch: EventEmitter<any>;
32
- searchModalTemplate: TemplateRef<any>;
33
- data: any[];
34
- loading: boolean;
35
- cleaningFilter: boolean;
36
- componentReady: boolean;
37
- filtersTranslated: any[];
38
- emptyStateVisible: boolean;
39
- columnCount: any[];
40
- selectedElements: Array<NgtCheckedElement>;
41
- private searching;
42
- private searchTimeout;
43
- private subscriptions;
44
- private currentState;
45
- constructor(injector: Injector, ngtHttpService: NgtHttpService, changeDetector: ChangeDetectorRef, ngtTranslateService: NgtTranslateService);
46
- ngOnInit(): void;
47
- ngOnDestroy(): void;
48
- setSearchModalTemplate(template: TemplateRef<any>): void;
49
- openSearchModal(reference?: string): void;
50
- clearSelectedElements(): void;
51
- getCurrentState(): {
52
- filters: {
53
- defaultFilters: {};
54
- silentFilters: {};
55
- qualifiedFilters: {};
56
- };
57
- sort: {
58
- field: string;
59
- direction: string;
60
- };
61
- };
62
- init(): void;
63
- search(filters: Object, searchType?: NgtDatatableSearchType, applyDelayOnSearch?: boolean): Promise<void>;
64
- sort(field: any, direction: any): Promise<void>;
65
- refresh(stayInPage?: NgtDatatableParam, loader?: NgtDatatableParam): Promise<void>;
66
- getData(): any[];
67
- getCurrentSort(): {
68
- field: string;
69
- direction: string;
70
- };
71
- setPerPage(perPage: number): void;
72
- applyFiltersDescription(): void;
73
- setFilterDescription(reference: string, description: string): void;
74
- removeFilter(reference?: any): void;
75
- hasAppliedFilter(filter: Object | NgtCustomFilter | string): boolean;
76
- hasAppliedFilters(searchType?: NgtDatatableSearchType): boolean;
77
- ngOnChanges(changes: SimpleChanges): void;
78
- apply(page?: number, applyDelayOnSearch?: boolean, loader?: NgtDatatableParam): Promise<void>;
79
- private loadData;
80
- private getQualifiedFilters;
81
- private bindVisibilityAttributes;
82
- private proccessRemoteResponse;
83
- private initSearchWithInput;
84
- private initCheckboxEvent;
85
- private canApplyFilters;
86
- private isValidFilter;
87
- private destroySubscriptions;
88
- }
89
- export declare enum NgtDatatableType {
90
- REMOTE = "REMOTE",
91
- FIXED = "FIXED"
92
- }
93
- export declare enum NgtDatatableSearchType {
94
- DEFAULT = "DEFAULT",
95
- SILENT = "SILENT"
96
- }
97
- export declare enum NgtDatatableParam {
98
- STAY_IN_PAGE = 1,
99
- RESET_PAGE = 0,
100
- ENABLE_LOADER = 1,
101
- DISABLE_LOADER = 0
102
- }
103
- export declare class NgtCheckedElement {
104
- id: string;
105
- checked: boolean;
106
- reference: any;
107
- }
108
- export declare class NgtCustomFilter {
109
- term: string;
110
- tagValue: string;
111
- tagLabel?: string;
112
- }
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { NgtHttpService } from '../../services/http/ngt-http.service';
3
+ import { NgtTranslateService } from '../../services/http/ngt-translate.service';
4
+ import { NgtInputComponent } from '../ngt-input/ngt-input.component';
5
+ import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
6
+ import { NgtPaginationComponent } from '../ngt-pagination/ngt-pagination.component';
7
+ export declare class NgtDatatableComponent implements OnInit, OnDestroy {
8
+ private injector;
9
+ private ngtHttpService;
10
+ private changeDetector;
11
+ ngtTranslateService: NgtTranslateService;
12
+ table: ElementRef;
13
+ ngtPagination: NgtPaginationComponent;
14
+ searchModal: NgtModalComponent;
15
+ remoteResource: any;
16
+ type: NgtDatatableType;
17
+ filterTagBgColor: string;
18
+ inputSearch: NgtInputComponent;
19
+ searchDelay: number;
20
+ searchTermMinLength: number;
21
+ searchTermOnEnter: boolean;
22
+ defaultFilters: any;
23
+ filtersDescription: {};
24
+ onDataChange: EventEmitter<any>;
25
+ onClearFilter: EventEmitter<any>;
26
+ onClearSelectedElements: EventEmitter<any>;
27
+ onSelectedElementsChange: EventEmitter<Array<NgtCheckedElement>>;
28
+ onToogleAllCheckboxes: EventEmitter<any>;
29
+ onToogleCheckbox: EventEmitter<NgtCheckedElement>;
30
+ onOpenSearchModal: EventEmitter<string>;
31
+ onSearch: EventEmitter<any>;
32
+ searchModalTemplate: TemplateRef<any>;
33
+ data: any[];
34
+ loading: boolean;
35
+ cleaningFilter: boolean;
36
+ componentReady: boolean;
37
+ filtersTranslated: any[];
38
+ emptyStateVisible: boolean;
39
+ columnCount: any[];
40
+ selectedElements: Array<NgtCheckedElement>;
41
+ private searching;
42
+ private searchTimeout;
43
+ private subscriptions;
44
+ private currentState;
45
+ constructor(injector: Injector, ngtHttpService: NgtHttpService, changeDetector: ChangeDetectorRef, ngtTranslateService: NgtTranslateService);
46
+ ngOnInit(): void;
47
+ ngOnDestroy(): void;
48
+ setSearchModalTemplate(template: TemplateRef<any>): void;
49
+ openSearchModal(reference?: string): void;
50
+ clearSelectedElements(): void;
51
+ getCurrentState(): {
52
+ filters: {
53
+ defaultFilters: {};
54
+ silentFilters: {};
55
+ qualifiedFilters: {};
56
+ };
57
+ sort: {
58
+ field: string;
59
+ direction: string;
60
+ };
61
+ };
62
+ init(): void;
63
+ search(filters: Object, searchType?: NgtDatatableSearchType, applyDelayOnSearch?: boolean): Promise<void>;
64
+ sort(field: any, direction: any): Promise<void>;
65
+ refresh(stayInPage?: NgtDatatableParam, loader?: NgtDatatableParam): Promise<void>;
66
+ getData(): any[];
67
+ getCurrentSort(): {
68
+ field: string;
69
+ direction: string;
70
+ };
71
+ setPerPage(perPage: number): void;
72
+ applyFiltersDescription(): void;
73
+ setFilterDescription(reference: string, description: string): void;
74
+ removeFilter(reference?: any): void;
75
+ hasAppliedFilter(filter: Object | NgtCustomFilter | string): boolean;
76
+ hasAppliedFilters(searchType?: NgtDatatableSearchType): boolean;
77
+ ngOnChanges(changes: SimpleChanges): void;
78
+ apply(page?: number, applyDelayOnSearch?: boolean, loader?: NgtDatatableParam): Promise<void>;
79
+ private loadData;
80
+ private getQualifiedFilters;
81
+ private bindVisibilityAttributes;
82
+ private proccessRemoteResponse;
83
+ private initSearchWithInput;
84
+ private initCheckboxEvent;
85
+ private canApplyFilters;
86
+ private isValidFilter;
87
+ private destroySubscriptions;
88
+ }
89
+ export declare enum NgtDatatableType {
90
+ REMOTE = "REMOTE",
91
+ FIXED = "FIXED"
92
+ }
93
+ export declare enum NgtDatatableSearchType {
94
+ DEFAULT = "DEFAULT",
95
+ SILENT = "SILENT"
96
+ }
97
+ export declare enum NgtDatatableParam {
98
+ STAY_IN_PAGE = 1,
99
+ RESET_PAGE = 0,
100
+ ENABLE_LOADER = 1,
101
+ DISABLE_LOADER = 0
102
+ }
103
+ export declare class NgtCheckedElement {
104
+ id: string;
105
+ checked: boolean;
106
+ reference: any;
107
+ }
108
+ export declare class NgtCustomFilter {
109
+ term: string;
110
+ tagValue: string;
111
+ tagLabel?: string;
112
+ }
@@ -1,2 +1,2 @@
1
- export declare class NgtDatatableModule {
2
- }
1
+ export declare class NgtDatatableModule {
2
+ }
@@ -1,11 +1,11 @@
1
- import { ElementRef, 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
- export declare class NgtTbodyComponent {
5
- private injector;
6
- private hostElement;
7
- private ngtStylizableDirective;
8
- ngtStyle: NgtStylizableService;
9
- constructor(injector: Injector, hostElement: ElementRef, ngtStylizableDirective: NgtStylizableDirective);
10
- private bindNgtStyle;
11
- }
1
+ import { ElementRef, 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
+ export declare class NgtTbodyComponent {
5
+ private injector;
6
+ private hostElement;
7
+ private ngtStylizableDirective;
8
+ ngtStyle: NgtStylizableService;
9
+ constructor(injector: Injector, hostElement: ElementRef, ngtStylizableDirective: NgtStylizableDirective);
10
+ private bindNgtStyle;
11
+ }
@@ -1,11 +1,11 @@
1
- import { ElementRef, 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
- export declare class NgtTdComponent {
5
- private injector;
6
- private hostElement;
7
- private ngtStylizableDirective;
8
- ngtStyle: NgtStylizableService;
9
- constructor(injector: Injector, hostElement: ElementRef, ngtStylizableDirective: NgtStylizableDirective);
10
- private bindNgtStyle;
11
- }
1
+ import { ElementRef, 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
+ export declare class NgtTdComponent {
5
+ private injector;
6
+ private hostElement;
7
+ private ngtStylizableDirective;
8
+ ngtStyle: NgtStylizableService;
9
+ constructor(injector: Injector, hostElement: ElementRef, ngtStylizableDirective: NgtStylizableDirective);
10
+ private bindNgtStyle;
11
+ }
@@ -1,24 +1,24 @@
1
- import { ElementRef, Injector, OnDestroy, EventEmitter } 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 { NgtCheckboxComponent } from '../../ngt-checkbox/ngt-checkbox.component';
5
- import { NgtDatatableComponent } from '../ngt-datatable.component';
6
- export declare class NgtTdCheckComponent implements OnDestroy {
7
- private injector;
8
- private hostElement;
9
- private ngtStylizableDirective;
10
- private ngtDataTable;
11
- checkbox: NgtCheckboxComponent;
12
- reference: any;
13
- checked: boolean;
14
- onCheckboxInit: EventEmitter<any>;
15
- ngtStyle: NgtStylizableService;
16
- private id;
17
- private subscriptions;
18
- constructor(injector: Injector, hostElement: ElementRef, ngtStylizableDirective: NgtStylizableDirective, ngtDataTable: NgtDatatableComponent);
19
- ngAfterContentInit(): void;
20
- ngOnDestroy(): void;
21
- onCheckboxChange(checked: boolean): void;
22
- private bindNgtStyle;
23
- private destroySubscriptions;
24
- }
1
+ import { ElementRef, Injector, OnDestroy, EventEmitter } 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 { NgtCheckboxComponent } from '../../ngt-checkbox/ngt-checkbox.component';
5
+ import { NgtDatatableComponent } from '../ngt-datatable.component';
6
+ export declare class NgtTdCheckComponent implements OnDestroy {
7
+ private injector;
8
+ private hostElement;
9
+ private ngtStylizableDirective;
10
+ private ngtDataTable;
11
+ checkbox: NgtCheckboxComponent;
12
+ reference: any;
13
+ checked: boolean;
14
+ onCheckboxInit: EventEmitter<any>;
15
+ ngtStyle: NgtStylizableService;
16
+ private id;
17
+ private subscriptions;
18
+ constructor(injector: Injector, hostElement: ElementRef, ngtStylizableDirective: NgtStylizableDirective, ngtDataTable: NgtDatatableComponent);
19
+ ngAfterContentInit(): void;
20
+ ngOnDestroy(): void;
21
+ onCheckboxChange(checked: boolean): void;
22
+ private bindNgtStyle;
23
+ private destroySubscriptions;
24
+ }
@@ -1,47 +1,47 @@
1
- import { ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, SimpleChanges, TemplateRef } 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 { NgtInputComponent } from '../../ngt-input/ngt-input.component';
5
- import { NgtDatatableComponent } from '../ngt-datatable.component';
6
- export declare class NgtThComponent implements OnChanges, OnDestroy {
7
- private injector;
8
- private hostElement;
9
- private ngtStylizableDirective;
10
- ngtDataTable: NgtDatatableComponent;
11
- searchInput: NgtInputComponent;
12
- modal: TemplateRef<any>;
13
- reference: string;
14
- sortReference: string;
15
- sortable: boolean;
16
- searchable: boolean;
17
- hasCustomSearch: boolean;
18
- searchLabel: string;
19
- sortableTooltip: NgtSortableTooltip;
20
- onEnableSearch: EventEmitter<any>;
21
- inputFocused: boolean;
22
- isCurrentSort: boolean;
23
- sortDirection: string;
24
- searchTerm: any;
25
- customSearchTerm: any;
26
- ngtStyle: NgtStylizableService;
27
- private subscriptions;
28
- constructor(injector: Injector, hostElement: ElementRef, ngtStylizableDirective: NgtStylizableDirective, ngtDataTable: NgtDatatableComponent);
29
- ngOnChanges(changes: SimpleChanges): void;
30
- ngOnDestroy(): void;
31
- sort(): Promise<void>;
32
- enableSearch(event: any): void;
33
- search(term: any): void;
34
- customSearch(term: any): void;
35
- getTooltip(): string;
36
- private getSortReference;
37
- private checkDataTable;
38
- private checkReference;
39
- private getNextSortDirection;
40
- private bindNgtStyle;
41
- private destroySubscriptions;
42
- }
43
- export interface NgtSortableTooltip {
44
- ascending: string;
45
- descending: string;
46
- unordered: string;
47
- }
1
+ import { ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, SimpleChanges, TemplateRef } 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 { NgtInputComponent } from '../../ngt-input/ngt-input.component';
5
+ import { NgtDatatableComponent } from '../ngt-datatable.component';
6
+ export declare class NgtThComponent implements OnChanges, OnDestroy {
7
+ private injector;
8
+ private hostElement;
9
+ private ngtStylizableDirective;
10
+ ngtDataTable: NgtDatatableComponent;
11
+ searchInput: NgtInputComponent;
12
+ modal: TemplateRef<any>;
13
+ reference: string;
14
+ sortReference: string;
15
+ sortable: boolean;
16
+ searchable: boolean;
17
+ hasCustomSearch: boolean;
18
+ searchLabel: string;
19
+ sortableTooltip: NgtSortableTooltip;
20
+ onEnableSearch: EventEmitter<any>;
21
+ inputFocused: boolean;
22
+ isCurrentSort: boolean;
23
+ sortDirection: string;
24
+ searchTerm: any;
25
+ customSearchTerm: any;
26
+ ngtStyle: NgtStylizableService;
27
+ private subscriptions;
28
+ constructor(injector: Injector, hostElement: ElementRef, ngtStylizableDirective: NgtStylizableDirective, ngtDataTable: NgtDatatableComponent);
29
+ ngOnChanges(changes: SimpleChanges): void;
30
+ ngOnDestroy(): void;
31
+ sort(): Promise<void>;
32
+ enableSearch(event: any): void;
33
+ search(term: any): void;
34
+ customSearch(term: any): void;
35
+ getTooltip(): string;
36
+ private getSortReference;
37
+ private checkDataTable;
38
+ private checkReference;
39
+ private getNextSortDirection;
40
+ private bindNgtStyle;
41
+ private destroySubscriptions;
42
+ }
43
+ export interface NgtSortableTooltip {
44
+ ascending: string;
45
+ descending: string;
46
+ unordered: string;
47
+ }