ng-tailwind 6.4.5 → 7.0.0

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 (86) hide show
  1. package/base/{ngt-base-ng-model.d.ts → ngt-control-value-accessor.d.ts} +14 -17
  2. package/components/forms/reactive/ngt-reactive-checkbox/ngt-reactive-checkbox.component.d.ts +54 -0
  3. package/components/forms/reactive/ngt-reactive-date/ngt-reactive-date.component.d.ts +94 -0
  4. package/components/forms/reactive/ngt-reactive-date/services/ngt-reactive-date-formatter.service.d.ts +12 -0
  5. package/components/forms/reactive/ngt-reactive-dropzone/ngt-reactive-dropzone.component.d.ts +110 -0
  6. package/components/forms/reactive/ngt-reactive-dropzone/services/ngt-reactive-dropzone-error.service.d.ts +14 -0
  7. package/components/forms/reactive/ngt-reactive-dropzone/services/ngt-reactive-dropzone-file.service.d.ts +24 -0
  8. package/components/forms/reactive/ngt-reactive-dropzone/services/ngt-reactive-dropzone-state.service.d.ts +17 -0
  9. package/components/forms/reactive/ngt-reactive-dropzone/services/ngt-reactive-dropzone-validation.service.d.ts +11 -0
  10. package/components/forms/reactive/ngt-reactive-dropzone/services/ngt-reactive-dropzone-viewer.service.d.ts +22 -0
  11. package/components/forms/reactive/ngt-reactive-form/ngt-reactive-form.component.d.ts +55 -0
  12. package/components/forms/reactive/ngt-reactive-input/ngt-reactive-input.component.d.ts +134 -0
  13. package/components/forms/reactive/ngt-reactive-input/services/ngt-reactive-input-loader.service.d.ts +8 -0
  14. package/components/forms/reactive/ngt-reactive-input/services/ngt-reactive-input-mask.service.d.ts +10 -0
  15. package/components/forms/reactive/ngt-reactive-input/services/ngt-reactive-input-validation.service.d.ts +43 -0
  16. package/components/forms/reactive/ngt-reactive-radio-button/ngt-reactive-radio-button-container/ngt-reactive-radio-button-container.component.d.ts +9 -0
  17. package/components/forms/reactive/ngt-reactive-radio-button/ngt-reactive-radio-button.component.d.ts +58 -0
  18. package/components/forms/reactive/ngt-reactive-select/ngt-reactive-select.component.d.ts +152 -0
  19. package/components/forms/reactive/ngt-reactive-select/ngt-reactive-select.directive.d.ts +20 -0
  20. package/components/forms/reactive/ngt-reactive-select/services/ngt-reactive-select-dropdown.service.d.ts +10 -0
  21. package/components/forms/reactive/ngt-reactive-select/services/ngt-reactive-select-items.service.d.ts +32 -0
  22. package/components/forms/reactive/ngt-reactive-select/services/ngt-reactive-select-search.service.d.ts +34 -0
  23. package/components/forms/reactive/ngt-reactive-select/services/ngt-reactive-select-state.service.d.ts +22 -0
  24. package/components/forms/reactive/ngt-reactive-select/services/ngt-reactive-select-tag-manager.service.d.ts +17 -0
  25. package/components/forms/reactive/ngt-reactive-select/services/ngt-reactive-select-validation.service.d.ts +16 -0
  26. package/components/forms/reactive/ngt-reactive-slider/ngt-reactive-slider.component.d.ts +44 -0
  27. package/components/forms/reactive/ngt-reactive-textarea/ngt-reactive-textarea.component.d.ts +76 -0
  28. package/components/forms/reactive/ngt-reactive-textarea/services/ngt-reactive-textarea-validation.service.d.ts +18 -0
  29. package/components/{ngt-checkbox → forms/template-driven/ngt-checkbox}/ngt-checkbox.component.d.ts +9 -9
  30. package/components/{ngt-checkbox → forms/template-driven/ngt-checkbox}/ngt-checkbox.module.d.ts +3 -3
  31. package/components/{ngt-date → forms/template-driven/ngt-date}/ngt-date.component.d.ts +9 -9
  32. package/components/{ngt-date → forms/template-driven/ngt-date}/ngt-date.module.d.ts +4 -4
  33. package/components/{ngt-dropzone → forms/template-driven/ngt-dropzone}/ngt-dropzone.component.d.ts +16 -12
  34. package/components/forms/template-driven/ngt-dropzone/ngt-dropzone.module.d.ts +16 -0
  35. package/components/{ngt-form → forms/template-driven/ngt-form}/ngt-form-validation-message/ngt-form-validation-message.component.d.ts +4 -4
  36. package/components/{ngt-form → forms/template-driven/ngt-form}/ngt-form.component.d.ts +2 -2
  37. package/components/{ngt-form → forms/template-driven/ngt-form}/ngt-form.module.d.ts +3 -3
  38. package/components/{ngt-input → forms/template-driven/ngt-input}/ngt-input.component.d.ts +12 -14
  39. package/components/{ngt-input → forms/template-driven/ngt-input}/ngt-input.module.d.ts +5 -5
  40. package/components/{ngt-multi-select → forms/template-driven/ngt-multi-select}/ngt-multi-select.component.d.ts +11 -11
  41. package/components/{ngt-multi-select → forms/template-driven/ngt-multi-select}/ngt-multi-select.module.d.ts +5 -5
  42. package/components/{ngt-radio-button → forms/template-driven/ngt-radio-button}/ngt-radio-button.component.d.ts +9 -9
  43. package/components/{ngt-radio-button → forms/template-driven/ngt-radio-button}/ngt-radio-button.module.d.ts +3 -3
  44. package/components/{ngt-select → forms/template-driven/ngt-select}/ngt-select.component.d.ts +11 -11
  45. package/components/{ngt-select → forms/template-driven/ngt-select}/ngt-select.module.d.ts +5 -5
  46. package/components/{ngt-slider → forms/template-driven/ngt-slider}/ngt-slider.component.d.ts +2 -2
  47. package/components/{ngt-slider → forms/template-driven/ngt-slider}/ngt-slider.module.d.ts +1 -1
  48. package/components/{ngt-textarea → forms/template-driven/ngt-textarea}/ngt-textarea.component.d.ts +8 -8
  49. package/components/{ngt-textarea → forms/template-driven/ngt-textarea}/ngt-textarea.module.d.ts +4 -4
  50. package/components/ngt-action/ngt-action.component.d.ts +5 -3
  51. package/components/ngt-button/ngt-button.component.d.ts +5 -3
  52. package/components/ngt-button/ngt-button.module.d.ts +1 -1
  53. package/components/ngt-datatable/ngt-datatable.component.d.ts +1 -1
  54. package/components/ngt-datatable/ngt-datatable.module.d.ts +2 -2
  55. package/components/ngt-datatable/ngt-td-check/ngt-td-check.component.d.ts +1 -1
  56. package/components/ngt-datatable/ngt-th/ngt-th.component.d.ts +1 -1
  57. package/components/ngt-datatable/ngt-th-check/ngt-th-check.component.d.ts +1 -1
  58. package/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.d.ts +6 -4
  59. package/components/ngt-dropdown/ngt-dropdown.component.d.ts +35 -24
  60. package/components/ngt-helper/ngt-helper.component.d.ts +24 -14
  61. package/components/ngt-modal/ngt-modal.component.d.ts +4 -2
  62. package/components/ngt-pagination/ngt-pagination.module.d.ts +1 -1
  63. package/components/ngt-popover/ngt-popover.module.d.ts +2 -2
  64. package/components/ngt-portlet/ngt-portlet.module.d.ts +2 -2
  65. package/components/ngt-section/ngt-section.component.d.ts +4 -2
  66. package/components/ngt-section/ngt-section.module.d.ts +2 -2
  67. package/components/ngt-validation/ngt-validation.component.d.ts +10 -4
  68. package/components/{ngt-dropzone → shared}/custom-dropzone-preview/custom-dropzone-preview.component.d.ts +7 -5
  69. package/components/shared/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +31 -0
  70. package/components/shared/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +38 -0
  71. package/fesm2022/ng-tailwind.mjs +6718 -3302
  72. package/fesm2022/ng-tailwind.mjs.map +1 -1
  73. package/helpers/routing/route.d.ts +2 -1
  74. package/helpers/validators/validation.helper.d.ts +24 -0
  75. package/package.json +3 -3
  76. package/public-api.d.ts +63 -45
  77. package/services/http/ngt-attachment-http.service.d.ts +1 -1
  78. package/services/validation/ngt-reactive-form-validation.service.d.ts +20 -0
  79. package/components/ngt-dropdown/ngt-dropdown.module.d.ts +0 -9
  80. package/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +0 -25
  81. package/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +0 -35
  82. package/components/ngt-dropzone/ngt-dropzone.module.d.ts +0 -17
  83. package/components/ngt-helper/ngt-helper.module.d.ts +0 -10
  84. /package/components/{ngt-radio-button → forms/template-driven/ngt-radio-button}/ngt-radio-button-container/ngt-radio-button-container.component.d.ts +0 -0
  85. /package/components/{ngt-select → forms/template-driven/ngt-select}/ngt-select.directive.d.ts +0 -0
  86. /package/{components/ngt-dropzone → meta}/ngt-dropzone.meta.d.ts +0 -0
@@ -4,13 +4,13 @@ import * as i2 from "./ngt-select.directive";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/forms";
6
6
  import * as i5 from "@ng-select/ng-select";
7
- import * as i6 from "../ngt-validation/ngt-validation.module";
7
+ import * as i6 from "../../../ngt-validation/ngt-validation.module";
8
8
  import * as i7 from "../ngt-form/ngt-form.module";
9
- import * as i8 from "../ngt-shining/ngt-shining.module";
10
- import * as i9 from "../ngt-helper/ngt-helper.module";
11
- import * as i10 from "../ngt-svg/ngt-svg.module";
9
+ import * as i8 from "../../../ngt-shining/ngt-shining.module";
10
+ import * as i9 from "../../../ngt-helper/ngt-helper.component";
11
+ import * as i10 from "../../../ngt-svg/ngt-svg.module";
12
12
  export declare class NgtSelectModule {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSelectModule, [typeof i1.NgtSelectComponent, typeof i2.NgtSelectOptionTmp, typeof i2.NgtSelectOptionSelectedTmp, typeof i2.NgtSelectHeaderTmp], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.NgSelectModule, typeof i6.NgtValidationModule, typeof i7.NgtFormModule, typeof i8.NgtShiningModule, typeof i9.NgtHelperModule, typeof i10.NgtSvgModule], [typeof i1.NgtSelectComponent, typeof i2.NgtSelectOptionTmp, typeof i2.NgtSelectOptionSelectedTmp, typeof i2.NgtSelectHeaderTmp]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSelectModule, [typeof i1.NgtSelectComponent, typeof i2.NgtSelectOptionTmp, typeof i2.NgtSelectOptionSelectedTmp, typeof i2.NgtSelectHeaderTmp], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.NgSelectModule, typeof i6.NgtValidationModule, typeof i7.NgtFormModule, typeof i8.NgtShiningModule, typeof i9.NgtHelperComponent, typeof i10.NgtSvgModule], [typeof i1.NgtSelectComponent, typeof i2.NgtSelectOptionTmp, typeof i2.NgtSelectOptionSelectedTmp, typeof i2.NgtSelectHeaderTmp]>;
15
15
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtSelectModule>;
16
16
  }
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
2
2
  import { ControlContainer } from '@angular/forms';
3
- import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
3
+ import { NgtControlValueAccessor } from '../../../../base/ngt-control-value-accessor';
4
4
  import { NgtFormComponent } from '../ngt-form/ngt-form.component';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare enum NgtSliderColorSchemeEnum {
@@ -9,7 +9,7 @@ export declare enum NgtSliderColorSchemeEnum {
9
9
  WARNING = "warning",
10
10
  DANGER = "danger"
11
11
  }
12
- export declare class NgtSliderComponent extends NgtBaseNgModel implements AfterViewInit, OnDestroy {
12
+ export declare class NgtSliderComponent extends NgtControlValueAccessor implements AfterViewInit, OnDestroy {
13
13
  formContainer: ControlContainer;
14
14
  private renderer;
15
15
  private ngtFormComponent;
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ngt-slider.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "../ngt-shining/ngt-shining.module";
4
+ import * as i3 from "../../../ngt-shining/ngt-shining.module";
5
5
  export declare class NgtSliderModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtSliderModule, never>;
7
7
  static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSliderModule, [typeof i1.NgtSliderComponent], [typeof i2.CommonModule, typeof i3.NgtShiningModule], [typeof i1.NgtSliderComponent]>;
@@ -1,17 +1,17 @@
1
1
  import { ElementRef, Injector, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
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';
3
+ import { NgtControlValueAccessor } from '../../../../base/ngt-control-value-accessor';
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
7
  import { NgtFormComponent } from '../ngt-form/ngt-form.component';
8
8
  import * as i0 from "@angular/core";
9
- export declare class NgtTextareaComponent extends NgtBaseNgModel implements OnInit, OnDestroy {
10
- private injector;
9
+ export declare class NgtTextareaComponent extends NgtControlValueAccessor implements OnInit, OnDestroy {
11
10
  private ngtStylizableDirective;
12
11
  formContainer: ControlContainer;
13
12
  private ngtFormComponent;
14
13
  private renderer;
14
+ protected injector: Injector;
15
15
  ngtTranslateService: NgtTranslateService;
16
16
  element: ElementRef;
17
17
  label: string;
@@ -32,7 +32,7 @@ export declare class NgtTextareaComponent extends NgtBaseNgModel implements OnIn
32
32
  componentReady: boolean;
33
33
  ngtStyle: NgtStylizableService;
34
34
  private subscriptions;
35
- constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, renderer: Renderer2, ngtTranslateService: NgtTranslateService);
35
+ constructor(ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, renderer: Renderer2, injector: Injector, ngtTranslateService: NgtTranslateService);
36
36
  ngOnChanges(changes: any): void;
37
37
  ngOnInit(): void;
38
38
  ngOnDestroy(): void;
@@ -44,6 +44,6 @@ export declare class NgtTextareaComponent extends NgtBaseNgModel implements OnIn
44
44
  private updateValidations;
45
45
  private getNativeValue;
46
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; }]>;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtTextareaComponent, [{ optional: true; self: true; }, { optional: true; host: true; }, { optional: true; skipSelf: true; }, null, null, { optional: true; }]>;
48
48
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtTextareaComponent, "ngt-textarea", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "showCharactersLength": { "alias": "showCharactersLength"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "helpTextColor": { "alias": "helpTextColor"; "required": false; }; "shining": { "alias": "shining"; "required": false; }; "name": { "alias": "name"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isReadonly": { "alias": "isReadonly"; "required": false; }; "jit": { "alias": "jit"; "required": false; }; "focus": { "alias": "focus"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, {}, never, ["*"], false, never>;
49
49
  }
@@ -2,12 +2,12 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ngt-textarea.component";
3
3
  import * as i2 from "@angular/common";
4
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";
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.component";
8
8
  import * as i7 from "../ngt-form/ngt-form.module";
9
9
  export declare class NgtTextareaModule {
10
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]>;
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.NgtHelperComponent, typeof i7.NgtFormModule], [typeof i1.NgtTextareaComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtTextareaModule>;
13
13
  }
@@ -1,7 +1,8 @@
1
1
  import { Injector, OnDestroy } from '@angular/core';
2
2
  import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
3
3
  import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
4
- import { NgtFormComponent } from '../ngt-form/ngt-form.component';
4
+ import { NgtFormComponent } from '../forms/template-driven/ngt-form/ngt-form.component';
5
+ import { NgtReactiveFormComponent } from '../forms/reactive/ngt-reactive-form/ngt-reactive-form.component';
5
6
  import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
6
7
  import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
7
8
  import { NgtModalBodyComponent } from '../ngt-modal/ngt-modal-body/ngt-modal-body.component';
@@ -10,6 +11,7 @@ export declare class NgtActionComponent implements OnDestroy {
10
11
  private injector;
11
12
  private ngtStylizableDirective;
12
13
  ngtForm: NgtFormComponent;
14
+ private ngtReactiveForm;
13
15
  ngtSection: NgtSectionComponent;
14
16
  ngtModal: NgtModalComponent;
15
17
  ngtModalBody: NgtModalBodyComponent;
@@ -19,12 +21,12 @@ export declare class NgtActionComponent implements OnDestroy {
19
21
  isDisabled: boolean;
20
22
  forceEnable: boolean;
21
23
  private subscriptions;
22
- constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, ngtModalBody: NgtModalBodyComponent);
24
+ constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective, ngtForm: NgtFormComponent, ngtReactiveForm: NgtReactiveFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, ngtModalBody: NgtModalBodyComponent);
23
25
  ngOnDestroy(): void;
24
26
  onClick(event: Event): void;
25
27
  disabled(): boolean;
26
28
  private isDisabledByParent;
27
29
  private destroySubscriptions;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtActionComponent, [null, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }]>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtActionComponent, [null, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }]>;
29
31
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtActionComponent, "ngt-action", never, { "href": { "alias": "href"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "ngtStyle": { "alias": "ngtStyle"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "forceEnable": { "alias": "forceEnable"; "required": false; }; }, {}, never, ["*", "*"], false, never>;
30
32
  }
@@ -1,7 +1,8 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, Injector, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
2
  import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
3
3
  import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
4
- import { NgtFormComponent } from '../ngt-form/ngt-form.component';
4
+ import { NgtFormComponent } from '../forms/template-driven/ngt-form/ngt-form.component';
5
+ import { NgtReactiveFormComponent } from '../forms/reactive/ngt-reactive-form/ngt-reactive-form.component';
5
6
  import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
6
7
  import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
7
8
  import * as i0 from "@angular/core";
@@ -9,6 +10,7 @@ export declare class NgtButtonComponent implements AfterViewInit, OnChanges, OnD
9
10
  private changeDetector;
10
11
  private injector;
11
12
  private ngtForm;
13
+ private ngtReactiveForm;
12
14
  private ngtSection;
13
15
  private ngtModal;
14
16
  private ngtStylizableDirective;
@@ -21,7 +23,7 @@ export declare class NgtButtonComponent implements AfterViewInit, OnChanges, OnD
21
23
  noSubmit: boolean;
22
24
  ngtStyle: NgtStylizableService;
23
25
  private subscriptions;
24
- constructor(changeDetector: ChangeDetectorRef, injector: Injector, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, ngtStylizableDirective: NgtStylizableDirective);
26
+ constructor(changeDetector: ChangeDetectorRef, injector: Injector, ngtForm: NgtFormComponent, ngtReactiveForm: NgtReactiveFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, ngtStylizableDirective: NgtStylizableDirective);
25
27
  onClick(event: Event): void;
26
28
  ngAfterViewInit(): void;
27
29
  ngOnChanges(changes: SimpleChanges): void;
@@ -30,6 +32,6 @@ export declare class NgtButtonComponent implements AfterViewInit, OnChanges, OnD
30
32
  private bindSubscriptions;
31
33
  private isDisabledByParent;
32
34
  private destroySubscriptions;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtButtonComponent, [null, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; self: true; }]>;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtButtonComponent, [null, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; self: true; }]>;
34
36
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtButtonComponent, "ngt-button", never, { "href": { "alias": "href"; "required": false; }; "type": { "alias": "type"; "required": false; }; "link": { "alias": "link"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "forceEnable": { "alias": "forceEnable"; "required": false; }; "noSubmit": { "alias": "noSubmit"; "required": false; }; }, {}, never, ["*"], false, never>;
35
37
  }
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ngt-button.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/router";
5
- import * as i4 from "../ngt-form/ngt-form.module";
5
+ import * as i4 from "../forms/template-driven/ngt-form/ngt-form.module";
6
6
  export declare class NgtButtonModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtButtonModule, never>;
8
8
  static ɵmod: i0.ɵɵNgModuleDeclaration<NgtButtonModule, [typeof i1.NgtButtonComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.NgtFormModule], [typeof i1.NgtButtonComponent]>;
@@ -1,7 +1,7 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
2
  import { NgtHttpService } from '../../services/http/ngt-http.service';
3
3
  import { NgtTranslateService } from '../../services/http/ngt-translate.service';
4
- import { NgtInputComponent } from '../ngt-input/ngt-input.component';
4
+ import { NgtInputComponent } from '../forms/template-driven/ngt-input/ngt-input.component';
5
5
  import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
6
6
  import { NgtPaginationComponent } from '../ngt-pagination/ngt-pagination.component';
7
7
  import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
@@ -11,8 +11,8 @@ import * as i9 from "@angular/common";
11
11
  import * as i10 from "@angular/forms";
12
12
  import * as i11 from "../ngt-shining/ngt-shining.module";
13
13
  import * as i12 from "../ngt-pagination/ngt-pagination.module";
14
- import * as i13 from "../ngt-checkbox/ngt-checkbox.module";
15
- import * as i14 from "../ngt-input/ngt-input.module";
14
+ import * as i13 from "../forms/template-driven/ngt-checkbox/ngt-checkbox.module";
15
+ import * as i14 from "../forms/template-driven/ngt-input/ngt-input.module";
16
16
  import * as i15 from "../ngt-modal/ngt-modal.module";
17
17
  import * as i16 from "../ngt-tag/ngt-tag.module";
18
18
  import * as i17 from "../ngt-action/ngt-action.module";
@@ -1,7 +1,7 @@
1
1
  import { ElementRef, EventEmitter, Injector, OnDestroy } from '@angular/core';
2
2
  import { NgtStylizableDirective } from '../../../directives/ngt-stylizable/ngt-stylizable.directive';
3
3
  import { NgtStylizableService } from '../../../services/ngt-stylizable/ngt-stylizable.service';
4
- import { NgtCheckboxComponent } from '../../ngt-checkbox/ngt-checkbox.component';
4
+ import { NgtCheckboxComponent } from '../../forms/template-driven/ngt-checkbox/ngt-checkbox.component';
5
5
  import { NgtDatatableComponent } from '../ngt-datatable.component';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class NgtTdCheckComponent implements OnDestroy {
@@ -1,7 +1,7 @@
1
1
  import { ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
2
2
  import { NgtStylizableDirective } from '../../../directives/ngt-stylizable/ngt-stylizable.directive';
3
3
  import { NgtStylizableService } from '../../../services/ngt-stylizable/ngt-stylizable.service';
4
- import { NgtInputComponent } from '../../ngt-input/ngt-input.component';
4
+ import { NgtInputComponent } from '../../forms/template-driven/ngt-input/ngt-input.component';
5
5
  import { NgtDatatableComponent } from '../ngt-datatable.component';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class NgtThComponent implements OnChanges, OnDestroy {
@@ -2,7 +2,7 @@ import { AfterContentInit, ElementRef, Injector, OnDestroy } from '@angular/core
2
2
  import { NgtTranslateService } from '../../../services/http/ngt-translate.service';
3
3
  import { NgtStylizableDirective } from '../../../directives/ngt-stylizable/ngt-stylizable.directive';
4
4
  import { NgtStylizableService } from '../../../services/ngt-stylizable/ngt-stylizable.service';
5
- import { NgtCheckboxComponent } from '../../ngt-checkbox/ngt-checkbox.component';
5
+ import { NgtCheckboxComponent } from '../../forms/template-driven/ngt-checkbox/ngt-checkbox.component';
6
6
  import { NgtDatatableComponent } from '../ngt-datatable.component';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class NgtThCheckComponent implements AfterContentInit, OnDestroy {
@@ -1,8 +1,10 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { WritableSignal } from '@angular/core';
2
+ import { NgtDropdownComponent } from '../ngt-dropdown.component';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class NgtDropdownContainerComponent {
4
- onActiveDropdownChange: EventEmitter<any>;
5
- setActiveDropdown(activeDropdown: any): void;
5
+ readonly onActiveDropdownChange: import("@angular/core").OutputEmitterRef<NgtDropdownComponent>;
6
+ readonly activeDropdown: WritableSignal<NgtDropdownComponent | null>;
7
+ setActiveDropdown(activeDropdown: NgtDropdownComponent): void;
6
8
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtDropdownContainerComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtDropdownContainerComponent, "[ngt-dropdown-container]", never, {}, { "onActiveDropdownChange": "onActiveDropdownChange"; }, never, ["*"], false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtDropdownContainerComponent, "[ngt-dropdown-container]", never, {}, { "onActiveDropdownChange": "onActiveDropdownChange"; }, never, ["*"], true, never>;
8
10
  }
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, SimpleChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, OnDestroy, Signal, WritableSignal } from '@angular/core';
2
2
  import { NgtDropdownContainerComponent } from './ngt-dropdown-container/ngt-dropdown-container.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare enum NgtDropdownOpenMethod {
@@ -11,27 +11,37 @@ export declare class NgtDropdownComponent implements OnDestroy {
11
11
  private ngtDropdownContainer;
12
12
  private changeDetector;
13
13
  containerRef: ElementRef;
14
- scrollable: boolean;
15
- autoXReverse: boolean;
16
- autoYReverse: boolean;
17
- reverseXPosition: boolean;
18
- reverseYPosition: boolean;
19
- closeOnClick: boolean;
20
- closeTimeout: number;
21
- openMethod: NgtDropdownOpenMethod;
22
- onToggle: EventEmitter<boolean>;
23
- onHostClick: EventEmitter<any>;
24
- name: string;
25
- isOpen: boolean;
26
- isYPositionReversed: boolean;
27
- isXPositionReversed: boolean;
28
- isBindingYPosition: boolean;
29
- isBindingXPosition: boolean;
14
+ /** Visual Inputs */
15
+ readonly scrollable: import("@angular/core").InputSignal<boolean>;
16
+ readonly autoXReverse: import("@angular/core").InputSignal<boolean>;
17
+ readonly autoYReverse: import("@angular/core").InputSignal<boolean>;
18
+ readonly reverseXPosition: import("@angular/core").InputSignal<boolean>;
19
+ readonly reverseYPosition: import("@angular/core").InputSignal<boolean>;
20
+ /** Behavior Inputs */
21
+ readonly closeOnClick: import("@angular/core").InputSignal<boolean>;
22
+ readonly closeTimeout: import("@angular/core").InputSignal<number>;
23
+ readonly openMethod: import("@angular/core").InputSignal<NgtDropdownOpenMethod>;
24
+ /** Outputs */
25
+ readonly onToggle: import("@angular/core").OutputEmitterRef<boolean>;
26
+ readonly onHostClick: import("@angular/core").OutputEmitterRef<any>;
27
+ /** Computed Signals */
28
+ readonly shouldReverseXPosition: Signal<boolean>;
29
+ readonly shouldReverseYPosition: Signal<boolean>;
30
+ readonly isClickMethod: Signal<boolean>;
31
+ readonly isHoverMethod: Signal<boolean>;
32
+ readonly isRightClickMethod: Signal<boolean>;
33
+ readonly isPopoverClickMethod: Signal<boolean>;
34
+ /** Internal Signals */
35
+ readonly uuid: string;
36
+ readonly isOpen: WritableSignal<boolean>;
37
+ readonly isYPositionReversed: WritableSignal<boolean>;
38
+ readonly isXPositionReversed: WritableSignal<boolean>;
39
+ readonly isBindingContainerYPosition: WritableSignal<boolean>;
40
+ readonly isBindingContainerXPosition: WritableSignal<boolean>;
41
+ private readonly containerXPosition;
42
+ private readonly containerYPosition;
30
43
  private subscriptions;
31
- private containerXPosition;
32
- private containerYPosition;
33
44
  constructor(ngtDropdownContainer: NgtDropdownContainerComponent, changeDetector: ChangeDetectorRef);
34
- ngOnChanges(changes: SimpleChanges): void;
35
45
  ngOnDestroy(): void;
36
46
  open(): void;
37
47
  closeOnSelectOption(): void;
@@ -40,14 +50,15 @@ export declare class NgtDropdownComponent implements OnDestroy {
40
50
  onHover(host: any, container: any): void;
41
51
  onClick(event: Event, host: any, container: any): void;
42
52
  onRightClick(event: Event): void;
43
- shouldReverseXPosition(): boolean;
44
- shouldReverseYPosition(): boolean;
53
+ private registerEffects;
54
+ private bindSubscriptions;
45
55
  private bindContainerXPosition;
46
56
  private bindContainerYPosition;
47
57
  private watchHover;
58
+ private getShouldReverseXPosition;
59
+ private getShouldReverseYPosition;
48
60
  private isInHover;
49
61
  private destroySubscriptions;
50
- private isClickMethod;
51
62
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtDropdownComponent, [{ optional: true; skipSelf: true; }, null]>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtDropdownComponent, "ngt-dropdown", never, { "scrollable": { "alias": "scrollable"; "required": false; }; "autoXReverse": { "alias": "autoXReverse"; "required": false; }; "autoYReverse": { "alias": "autoYReverse"; "required": false; }; "reverseXPosition": { "alias": "reverseXPosition"; "required": false; }; "reverseYPosition": { "alias": "reverseYPosition"; "required": false; }; "closeOnClick": { "alias": "closeOnClick"; "required": false; }; "closeTimeout": { "alias": "closeTimeout"; "required": false; }; "openMethod": { "alias": "openMethod"; "required": false; }; }, { "onToggle": "onToggle"; "onHostClick": "onHostClick"; }, never, ["[host]", "[container]"], false, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtDropdownComponent, "ngt-dropdown", never, { "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "autoXReverse": { "alias": "autoXReverse"; "required": false; "isSignal": true; }; "autoYReverse": { "alias": "autoYReverse"; "required": false; "isSignal": true; }; "reverseXPosition": { "alias": "reverseXPosition"; "required": false; "isSignal": true; }; "reverseYPosition": { "alias": "reverseYPosition"; "required": false; "isSignal": true; }; "closeOnClick": { "alias": "closeOnClick"; "required": false; "isSignal": true; }; "closeTimeout": { "alias": "closeTimeout"; "required": false; "isSignal": true; }; "openMethod": { "alias": "openMethod"; "required": false; "isSignal": true; }; }, { "onToggle": "onToggle"; "onHostClick": "onHostClick"; }, never, ["[host]", "[container]"], true, never>;
53
64
  }
@@ -1,4 +1,5 @@
1
- import { ElementRef, Injector } from '@angular/core';
1
+ import { Injector, Signal, WritableSignal } from '@angular/core';
2
+ import { NgtDropdownOpenMethod } from '../ngt-dropdown/ngt-dropdown.component';
2
3
  import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
3
4
  import { NgtTranslateService } from '../../services/http/ngt-translate.service';
4
5
  import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
@@ -7,19 +8,28 @@ export declare class NgtHelperComponent {
7
8
  ngtStylizableDirective: NgtStylizableDirective;
8
9
  ngtTranslateService: NgtTranslateService;
9
10
  private injector;
10
- dropdownRef: ElementRef;
11
- helpTextColor: string;
12
- helpText: string;
13
- helpTitle: string;
14
- icon: string;
15
- iconSize: string;
16
- iconColor: string;
17
- iconTitle: string;
18
- tooltipSize: string;
19
- autoXReverse: boolean;
20
- helperReverseYPosition: boolean;
21
- ngtStyle: NgtStylizableService;
11
+ /** Visual Inputs */
12
+ readonly helpTextColor: import("@angular/core").InputSignal<string>;
13
+ readonly helpText: import("@angular/core").InputSignal<string>;
14
+ readonly helpTitle: import("@angular/core").InputSignal<string>;
15
+ readonly icon: import("@angular/core").InputSignal<string>;
16
+ readonly iconSize: import("@angular/core").InputSignal<string>;
17
+ readonly iconColor: import("@angular/core").InputSignal<string>;
18
+ readonly iconTitle: import("@angular/core").InputSignal<string>;
19
+ readonly tooltipSize: import("@angular/core").InputSignal<string>;
20
+ /** Behavior Inputs */
21
+ readonly autoXReverse: import("@angular/core").InputSignal<boolean>;
22
+ readonly helperReverseYPosition: import("@angular/core").InputSignal<boolean>;
23
+ /** Computed Signals */
24
+ readonly hasIcon: Signal<boolean>;
25
+ readonly hasHelpText: Signal<boolean>;
26
+ readonly hasIconTitle: Signal<boolean>;
27
+ readonly displayHelpTitle: Signal<string>;
28
+ /** Internal Signals */
29
+ readonly ngtStyle: WritableSignal<NgtStylizableService>;
30
+ readonly NgtDropdownOpenMethod: typeof NgtDropdownOpenMethod;
22
31
  constructor(ngtStylizableDirective: NgtStylizableDirective, ngtTranslateService: NgtTranslateService, injector: Injector);
32
+ private setupNgtStylizable;
23
33
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtHelperComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtHelperComponent, "ngt-helper", never, { "helpTextColor": { "alias": "helpTextColor"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconTitle": { "alias": "iconTitle"; "required": false; }; "tooltipSize": { "alias": "tooltipSize"; "required": false; }; "autoXReverse": { "alias": "autoXReverse"; "required": false; }; "helperReverseYPosition": { "alias": "helperReverseYPosition"; "required": false; }; }, {}, never, ["*"], false, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtHelperComponent, "ngt-helper", never, { "helpTextColor": { "alias": "helpTextColor"; "required": false; "isSignal": true; }; "helpText": { "alias": "helpText"; "required": false; "isSignal": true; }; "helpTitle": { "alias": "helpTitle"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; "iconTitle": { "alias": "iconTitle"; "required": false; "isSignal": true; }; "tooltipSize": { "alias": "tooltipSize"; "required": false; "isSignal": true; }; "autoXReverse": { "alias": "autoXReverse"; "required": false; "isSignal": true; }; "helperReverseYPosition": { "alias": "helperReverseYPosition"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
25
35
  }
@@ -10,12 +10,14 @@ export declare class NgtModalComponent implements AfterViewInit {
10
10
  private ngtAbilityValidationService;
11
11
  customLayout: boolean;
12
12
  disableDefaultCloses: boolean;
13
- isDisabled: boolean;
14
13
  ngtStyle: NgtStylizableService;
15
14
  onCloseModal: EventEmitter<void>;
16
15
  onOpenModal: EventEmitter<void>;
16
+ readonly isDisabled: import("@angular/core").InputSignal<boolean>;
17
+ readonly isDisabledState: import("@angular/core").Signal<boolean>;
17
18
  isOpen: boolean;
18
19
  viewMode: boolean;
20
+ private readonly internalDisabledState;
19
21
  private keydownEventWasAdded;
20
22
  private subscriptions;
21
23
  constructor(changeDetectorRef: ChangeDetectorRef, injector: Injector, tailStylizableDirective: NgtStylizableDirective, ngtAbilityValidationService: NgtAbilityValidationService);
@@ -27,5 +29,5 @@ export declare class NgtModalComponent implements AfterViewInit {
27
29
  private destroySubscriptions;
28
30
  private closeViewMode;
29
31
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtModalComponent, [null, null, { optional: true; self: true; }, { optional: true; }]>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtModalComponent, "ngt-modal", never, { "customLayout": { "alias": "customLayout"; "required": false; }; "disableDefaultCloses": { "alias": "disableDefaultCloses"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "ngtStyle": { "alias": "ngtStyle"; "required": false; }; }, { "onCloseModal": "onCloseModal"; "onOpenModal": "onOpenModal"; }, never, ["[header]", "[body]", "[footer]", "*"], false, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtModalComponent, "ngt-modal", never, { "customLayout": { "alias": "customLayout"; "required": false; }; "disableDefaultCloses": { "alias": "disableDefaultCloses"; "required": false; }; "ngtStyle": { "alias": "ngtStyle"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; }, { "onCloseModal": "onCloseModal"; "onOpenModal": "onOpenModal"; }, never, ["[header]", "[body]", "[footer]", "*"], false, never>;
31
33
  }
@@ -4,7 +4,7 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "../../directives/ngt-stylizable/ngt-stylizable.module";
6
6
  import * as i5 from "../ngt-action/ngt-action.module";
7
- import * as i6 from "../ngt-select/ngt-select.module";
7
+ import * as i6 from "../forms/template-driven/ngt-select/ngt-select.module";
8
8
  export declare class NgtPaginationModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtPaginationModule, never>;
10
10
  static ɵmod: i0.ɵɵNgModuleDeclaration<NgtPaginationModule, [typeof i1.NgtPaginationComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NgtStylizableModule, typeof i5.NgtActionModule, typeof i6.NgtSelectModule], [typeof i1.NgtPaginationComponent]>;
@@ -3,9 +3,9 @@ import * as i1 from "./ngt-popover.component";
3
3
  import * as i2 from "./ngt-popover-tooltip/ngt-popover-tooltip.component";
4
4
  import * as i3 from "./ngt-popover.directive";
5
5
  import * as i4 from "@angular/common";
6
- import * as i5 from "../ngt-dropdown/ngt-dropdown.module";
6
+ import * as i5 from "../ngt-dropdown/ngt-dropdown.component";
7
7
  export declare class NgtPopoverModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtPopoverModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtPopoverModule, [typeof i1.NgtPopoverComponent, typeof i2.NgtPopoverTooltipComponent, typeof i3.NgtPopoverDirective], [typeof i4.CommonModule, typeof i5.NgtDropdownModule], [typeof i1.NgtPopoverComponent, typeof i3.NgtPopoverDirective]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtPopoverModule, [typeof i1.NgtPopoverComponent, typeof i2.NgtPopoverTooltipComponent, typeof i3.NgtPopoverDirective], [typeof i4.CommonModule, typeof i5.NgtDropdownComponent], [typeof i1.NgtPopoverComponent, typeof i3.NgtPopoverDirective]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtPopoverModule>;
11
11
  }
@@ -5,9 +5,9 @@ import * as i3 from "./ngt-portlet-body/ngt-portlet-body.component";
5
5
  import * as i4 from "./ngt-portlet-footer/ngt-portlet-footer.component";
6
6
  import * as i5 from "@angular/common";
7
7
  import * as i6 from "../ngt-svg/ngt-svg.module";
8
- import * as i7 from "../ngt-helper/ngt-helper.module";
8
+ import * as i7 from "../ngt-helper/ngt-helper.component";
9
9
  export declare class NgtPortletModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtPortletModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtPortletModule, [typeof i1.NgtPortletComponent, typeof i2.NgtPortletHeaderComponent, typeof i3.NgtPortletBodyComponent, typeof i4.NgtPortletFooterComponent], [typeof i5.CommonModule, typeof i6.NgtSvgModule, typeof i7.NgtHelperModule], [typeof i1.NgtPortletComponent, typeof i2.NgtPortletHeaderComponent, typeof i3.NgtPortletBodyComponent, typeof i4.NgtPortletFooterComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtPortletModule, [typeof i1.NgtPortletComponent, typeof i2.NgtPortletHeaderComponent, typeof i3.NgtPortletBodyComponent, typeof i4.NgtPortletFooterComponent], [typeof i5.CommonModule, typeof i6.NgtSvgModule, typeof i7.NgtHelperComponent], [typeof i1.NgtPortletComponent, typeof i2.NgtPortletHeaderComponent, typeof i3.NgtPortletBodyComponent, typeof i4.NgtPortletFooterComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtPortletModule>;
13
13
  }
@@ -19,13 +19,15 @@ export declare class NgtSectionComponent implements AfterViewInit {
19
19
  helpTitle: string;
20
20
  helpText: string;
21
21
  helpIconColor: string;
22
- isDisabled: boolean;
23
22
  onRemove: EventEmitter<void>;
24
23
  onToggleSection: EventEmitter<boolean>;
24
+ readonly isDisabled: import("@angular/core").InputSignal<boolean>;
25
+ readonly isDisabledState: import("@angular/core").Signal<boolean>;
25
26
  ngtSectionStyle: NgtStylizableService;
26
27
  ngtCaptionStyle: NgtStylizableService;
27
28
  ngtSubtitleStyle: NgtStylizableService;
28
29
  canDisplay: boolean;
30
+ private readonly internalDisabledState;
29
31
  constructor(injector: Injector, changeDetector: ChangeDetectorRef, ngtStylizableDirective: NgtStylizableDirective, ngtAbilityValidationService: NgtAbilityValidationService);
30
32
  ngAfterViewInit(): Promise<void>;
31
33
  open(): void;
@@ -34,5 +36,5 @@ export declare class NgtSectionComponent implements AfterViewInit {
34
36
  scrollTo(): void;
35
37
  remove(event: Event): void;
36
38
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtSectionComponent, [null, null, { optional: true; self: true; }, { optional: true; }]>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtSectionComponent, "ngt-section", never, { "name": { "alias": "name"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "accordion": { "alias": "accordion"; "required": false; }; "showSection": { "alias": "showSection"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "helpIconColor": { "alias": "helpIconColor"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, { "onRemove": "onRemove"; "onToggleSection": "onToggleSection"; }, never, ["*"], false, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtSectionComponent, "ngt-section", never, { "name": { "alias": "name"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "accordion": { "alias": "accordion"; "required": false; }; "showSection": { "alias": "showSection"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "helpIconColor": { "alias": "helpIconColor"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; }, { "onRemove": "onRemove"; "onToggleSection": "onToggleSection"; }, never, ["*"], false, never>;
38
40
  }
@@ -3,9 +3,9 @@ import * as i1 from "./ngt-section.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../../directives/ngt-stylizable/ngt-stylizable.module";
5
5
  import * as i4 from "../ngt-svg/ngt-svg.module";
6
- import * as i5 from "../ngt-helper/ngt-helper.module";
6
+ import * as i5 from "../ngt-helper/ngt-helper.component";
7
7
  export declare class NgtSectionModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtSectionModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSectionModule, [typeof i1.NgtSectionComponent], [typeof i2.CommonModule, typeof i3.NgtStylizableModule, typeof i4.NgtSvgModule, typeof i5.NgtHelperModule], [typeof i1.NgtSectionComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtSectionModule, [typeof i1.NgtSectionComponent], [typeof i2.CommonModule, typeof i3.NgtStylizableModule, typeof i4.NgtSvgModule, typeof i5.NgtHelperComponent], [typeof i1.NgtSectionComponent]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtSectionModule>;
11
11
  }
@@ -1,13 +1,19 @@
1
- import { ControlContainer, UntypedFormControl } from '@angular/forms';
1
+ import { ControlContainer, FormGroupDirective, UntypedFormControl } from '@angular/forms';
2
2
  import { NgtTranslateService } from '../../services/http/ngt-translate.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class NgtValidationComponent {
5
5
  ngtTranslateService: NgtTranslateService;
6
+ private formGroup;
6
7
  control: UntypedFormControl;
7
8
  container: ControlContainer;
8
9
  minValue: number;
9
10
  minLength: number;
10
- constructor(ngtTranslateService: NgtTranslateService);
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtValidationComponent, [{ optional: true; }]>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtValidationComponent, "ngt-validation", never, { "control": { "alias": "control"; "required": false; }; "container": { "alias": "container"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; }, {}, never, never, false, never>;
11
+ constructor(ngtTranslateService: NgtTranslateService, formGroup: FormGroupDirective);
12
+ get isSubmitted(): boolean;
13
+ get isDirty(): boolean;
14
+ get isTouched(): boolean;
15
+ shouldShowError(error: string): boolean;
16
+ private hasError;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtValidationComponent, [{ optional: true; }, { optional: true; skipSelf: true; }]>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtValidationComponent, "ngt-validation", never, { "control": { "alias": "control"; "required": true; }; "container": { "alias": "container"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; }, {}, never, never, false, never>;
13
19
  }
@@ -1,14 +1,16 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnInit, Signal } from '@angular/core';
2
2
  import { DomSanitizer } from '@angular/platform-browser';
3
3
  import { NgxDropzonePreviewComponent } from 'ngx-dropzone';
4
- import { NgtDropzoneFileTypeEnum } from '../ngt-dropzone.meta';
4
+ import { NgtDropzoneFileTypeEnum } from '../../../meta/ngt-dropzone.meta';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class CustomDropzonePreviewComponent extends NgxDropzonePreviewComponent implements OnInit {
7
7
  sanitizer: DomSanitizer;
8
- fileType: NgtDropzoneFileTypeEnum;
8
+ /** Computed Signals */
9
+ readonly fileType: Signal<NgtDropzoneFileTypeEnum>;
10
+ /** Internal Signals */
11
+ private readonly fileSignal;
9
12
  constructor(sanitizer: DomSanitizer);
10
13
  ngOnInit(): void;
11
- private bindFileType;
12
14
  static ɵfac: i0.ɵɵFactoryDeclaration<CustomDropzonePreviewComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<CustomDropzonePreviewComponent, "custom-dropzone-preview", never, {}, {}, never, never, false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomDropzonePreviewComponent, "custom-dropzone-preview", never, {}, {}, never, never, true, never>;
14
16
  }
@@ -0,0 +1,31 @@
1
+ import { Signal, WritableSignal } from '@angular/core';
2
+ import { EloverdeDocViewerComponent } from 'eloverde-doc-viewer';
3
+ import { NgtTranslateService } from '../../../services/http/ngt-translate.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NgtDropzoneFileViewerComponent {
6
+ ngtTranslateService: NgtTranslateService;
7
+ eloverdeDocViewer: EloverdeDocViewerComponent;
8
+ /** Visual Inputs */
9
+ readonly url: import("@angular/core").InputSignal<string>;
10
+ readonly fileName: import("@angular/core").InputSignal<string>;
11
+ readonly fileSize: import("@angular/core").InputSignal<number>;
12
+ readonly disableContent: import("@angular/core").InputSignal<string>;
13
+ readonly canDownloadFile: import("@angular/core").InputSignal<boolean>;
14
+ /** Outputs */
15
+ readonly onClose: import("@angular/core").OutputEmitterRef<void>;
16
+ /** Internal Signals */
17
+ readonly canShowViewer: WritableSignal<boolean>;
18
+ readonly loading: WritableSignal<boolean>;
19
+ readonly maxFileSize: WritableSignal<number>; /** 30 MB */
20
+ /** Computed Signals */
21
+ readonly isFileTooLarge: Signal<boolean>;
22
+ constructor(ngtTranslateService: NgtTranslateService);
23
+ keyEvent(event: KeyboardEvent): void;
24
+ init(): void;
25
+ close(): void;
26
+ handleClose(): void;
27
+ downloadFile(): void;
28
+ private registerEffects;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtDropzoneFileViewerComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtDropzoneFileViewerComponent, "ngt-dropzone-file-viewer", never, { "url": { "alias": "url"; "required": false; "isSignal": true; }; "fileName": { "alias": "fileName"; "required": false; "isSignal": true; }; "fileSize": { "alias": "fileSize"; "required": false; "isSignal": true; }; "disableContent": { "alias": "disableContent"; "required": false; "isSignal": true; }; "canDownloadFile": { "alias": "canDownloadFile"; "required": false; "isSignal": true; }; }, { "onClose": "onClose"; }, never, never, true, never>;
31
+ }