ng-tailwind 6.4.6 → 7.0.1

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 (87) hide show
  1. package/base/{ngt-base-ng-model.d.ts → ngt-control-value-accessor.d.ts} +15 -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 +96 -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 +106 -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 +15 -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 +2 -3
  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 +3 -5
  57. package/components/ngt-datatable/ngt-th-check/ngt-th-check.component.d.ts +1 -1
  58. package/components/ngt-datatable/ngt-thead/ngt-thead.component.d.ts +4 -8
  59. package/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.d.ts +6 -4
  60. package/components/ngt-dropdown/ngt-dropdown.component.d.ts +35 -24
  61. package/components/ngt-helper/ngt-helper.component.d.ts +24 -14
  62. package/components/ngt-modal/ngt-modal.component.d.ts +4 -2
  63. package/components/ngt-pagination/ngt-pagination.module.d.ts +1 -1
  64. package/components/ngt-popover/ngt-popover.module.d.ts +2 -2
  65. package/components/ngt-portlet/ngt-portlet.module.d.ts +2 -2
  66. package/components/ngt-section/ngt-section.component.d.ts +4 -2
  67. package/components/ngt-section/ngt-section.module.d.ts +2 -2
  68. package/components/ngt-validation/ngt-validation.component.d.ts +10 -4
  69. package/components/{ngt-dropzone → shared}/custom-dropzone-preview/custom-dropzone-preview.component.d.ts +7 -5
  70. package/components/shared/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +31 -0
  71. package/components/shared/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +38 -0
  72. package/fesm2022/ng-tailwind.mjs +6746 -3341
  73. package/fesm2022/ng-tailwind.mjs.map +1 -1
  74. package/helpers/routing/route.d.ts +2 -1
  75. package/helpers/validators/validation.helper.d.ts +24 -0
  76. package/package.json +3 -3
  77. package/public-api.d.ts +63 -45
  78. package/services/http/ngt-attachment-http.service.d.ts +1 -1
  79. package/services/validation/ngt-reactive-form-validation.service.d.ts +20 -0
  80. package/components/ngt-dropdown/ngt-dropdown.module.d.ts +0 -9
  81. package/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +0 -25
  82. package/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +0 -35
  83. package/components/ngt-dropzone/ngt-dropzone.module.d.ts +0 -17
  84. package/components/ngt-helper/ngt-helper.module.d.ts +0 -10
  85. /package/components/{ngt-radio-button → forms/template-driven/ngt-radio-button}/ngt-radio-button-container/ngt-radio-button-container.component.d.ts +0 -0
  86. /package/components/{ngt-select → forms/template-driven/ngt-select}/ngt-select.directive.d.ts +0 -0
  87. /package/{components/ngt-dropzone → meta}/ngt-dropzone.meta.d.ts +0 -0
@@ -1,11 +1,11 @@
1
1
  import { AfterViewInit, ElementRef, Injector, OnChanges, OnDestroy, Renderer2, SimpleChanges } 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 { 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 { NgtStylizableService } from '../../../../services/ngt-stylizable/ngt-stylizable.service';
6
6
  import { NgtFormComponent } from '../ngt-form/ngt-form.component';
7
- import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
8
- import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
7
+ import { NgtSectionComponent } from '../../../ngt-section/ngt-section.component';
8
+ import { NgtModalComponent } from '../../../ngt-modal/ngt-modal.component';
9
9
  import * as i0 from "@angular/core";
10
10
  export declare enum NgtCheckboxMode {
11
11
  DEFAULT = "DEFAULT",
@@ -13,14 +13,14 @@ export declare enum NgtCheckboxMode {
13
13
  SIDE_TOGGLE = "SIDE_TOGGLE",
14
14
  RADIO = "RADIO"
15
15
  }
16
- export declare class NgtCheckboxComponent extends NgtBaseNgModel implements AfterViewInit, OnChanges, OnDestroy {
17
- private injector;
16
+ export declare class NgtCheckboxComponent extends NgtControlValueAccessor implements AfterViewInit, OnChanges, OnDestroy {
18
17
  private renderer;
19
18
  formContainer: ControlContainer;
20
19
  private ngtStylizableDirective;
21
20
  private ngtForm;
22
21
  private ngtSection;
23
22
  private ngtModal;
23
+ protected injector: Injector;
24
24
  element: ElementRef;
25
25
  label: string;
26
26
  shining: boolean;
@@ -34,7 +34,7 @@ export declare class NgtCheckboxComponent extends NgtBaseNgModel implements Afte
34
34
  helperAutoXReverse: boolean;
35
35
  ngtStyle: NgtStylizableService;
36
36
  private subscriptions;
37
- constructor(injector: Injector, renderer: Renderer2, formContainer: ControlContainer, ngtStylizableDirective: NgtStylizableDirective, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent);
37
+ constructor(renderer: Renderer2, formContainer: ControlContainer, ngtStylizableDirective: NgtStylizableDirective, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, injector: Injector);
38
38
  ngAfterViewInit(): void;
39
39
  ngOnChanges(changes: SimpleChanges): void;
40
40
  ngOnDestroy(): void;
@@ -48,6 +48,6 @@ export declare class NgtCheckboxComponent extends NgtBaseNgModel implements Afte
48
48
  disabled(): boolean;
49
49
  private isDisabledByParent;
50
50
  private destroySubscriptions;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtCheckboxComponent, [null, null, { optional: true; host: true; }, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }]>;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtCheckboxComponent, [null, { optional: true; host: true; }, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, null]>;
52
52
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtCheckboxComponent, "ngt-checkbox", never, { "label": { "alias": "label"; "required": false; }; "shining": { "alias": "shining"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isClickDisabled": { "alias": "isClickDisabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "helpTextColor": { "alias": "helpTextColor"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "helperAutoXReverse": { "alias": "helperAutoXReverse"; "required": false; }; }, {}, never, never, false, never>;
53
53
  }
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ngt-checkbox.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "../ngt-shining/ngt-shining.module";
5
- import * as i4 from "../ngt-helper/ngt-helper.module";
4
+ import * as i3 from "../../../ngt-shining/ngt-shining.module";
5
+ import * as i4 from "../../../ngt-helper/ngt-helper.component";
6
6
  export declare class NgtCheckboxModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtCheckboxModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtCheckboxModule, [typeof i1.NgtCheckboxComponent], [typeof i2.CommonModule, typeof i3.NgtShiningModule, typeof i4.NgtHelperModule], [typeof i1.NgtCheckboxComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtCheckboxModule, [typeof i1.NgtCheckboxComponent], [typeof i2.CommonModule, typeof i3.NgtShiningModule, typeof i4.NgtHelperComponent], [typeof i1.NgtCheckboxComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtCheckboxModule>;
10
10
  }
@@ -2,12 +2,12 @@ import { Injector, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { ControlContainer } from '@angular/forms';
3
3
  import { FlatpickrOptions } from 'ev-date-picker';
4
4
  import { EvDatePickerComponent } from 'ev-date-picker/ev-date-picker.component';
5
- import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
6
- import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
7
- import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
5
+ import { NgtControlValueAccessor } from '../../../../base/ngt-control-value-accessor';
6
+ import { NgtStylizableDirective } from '../../../../directives/ngt-stylizable/ngt-stylizable.directive';
7
+ import { NgtStylizableService } from '../../../../services/ngt-stylizable/ngt-stylizable.service';
8
8
  import { NgtFormComponent } from '../ngt-form/ngt-form.component';
9
- import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
10
- import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
9
+ import { NgtSectionComponent } from '../../../ngt-section/ngt-section.component';
10
+ import { NgtModalComponent } from '../../../ngt-modal/ngt-modal.component';
11
11
  import * as i0 from "@angular/core";
12
12
  export declare enum NgtDateLocale {
13
13
  BRAZIL = "BRAZIL",
@@ -17,13 +17,13 @@ export declare enum NgtDateMode {
17
17
  SINGLE = "SINGLE",
18
18
  RANGE = "RANGE"
19
19
  }
20
- export declare class NgtDateComponent extends NgtBaseNgModel implements OnInit, OnDestroy {
20
+ export declare class NgtDateComponent extends NgtControlValueAccessor implements OnInit, OnDestroy {
21
21
  formContainer: ControlContainer;
22
- private injector;
23
22
  private ngtStylizableDirective;
24
23
  private ngtForm;
25
24
  private ngtSection;
26
25
  private ngtModal;
26
+ protected injector: Injector;
27
27
  evDatePicker: EvDatePickerComponent;
28
28
  label: string;
29
29
  placeholder: string;
@@ -61,7 +61,7 @@ export declare class NgtDateComponent extends NgtBaseNgModel implements OnInit,
61
61
  };
62
62
  private subscriptions;
63
63
  private lastInputedDateString;
64
- constructor(formContainer: ControlContainer, injector: Injector, ngtStylizableDirective: NgtStylizableDirective, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent);
64
+ constructor(formContainer: ControlContainer, ngtStylizableDirective: NgtStylizableDirective, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, injector: Injector);
65
65
  ngOnChanges(changes: SimpleChanges): void;
66
66
  ngOnInit(): void;
67
67
  ngOnDestroy(): void;
@@ -81,6 +81,6 @@ export declare class NgtDateComponent extends NgtBaseNgModel implements OnInit,
81
81
  private convertDateToAmericanFormat;
82
82
  private isDisabledByParent;
83
83
  private destroySubscriptions;
84
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtDateComponent, [{ optional: true; host: true; }, null, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }]>;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtDateComponent, [{ optional: true; host: true; }, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, null]>;
85
85
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtDateComponent, "ngt-date", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "helpTextColor": { "alias": "helpTextColor"; "required": false; }; "shining": { "alias": "shining"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "dateFormatNgModel": { "alias": "dateFormatNgModel"; "required": false; }; "showCalendarIcon": { "alias": "showCalendarIcon"; "required": false; }; "helperReverseYPosition": { "alias": "helperReverseYPosition"; "required": false; }; "name": { "alias": "name"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isReadonly": { "alias": "isReadonly"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "time_24hr": { "alias": "time_24hr"; "required": false; }; "enableTime": { "alias": "enableTime"; "required": false; }; "noCalendar": { "alias": "noCalendar"; "required": false; }; "minuteIncrement": { "alias": "minuteIncrement"; "required": false; }; "allowInput": { "alias": "allowInput"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "defaultDate": { "alias": "defaultDate"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; }, {}, never, ["*"], false, never>;
86
86
  }
@@ -3,11 +3,11 @@ import * as i1 from "./ngt-date.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "ev-date-picker";
6
- import * as i5 from "../ngt-validation/ngt-validation.module";
7
- import * as i6 from "../ngt-shining/ngt-shining.module";
8
- import * as i7 from "../ngt-helper/ngt-helper.module";
6
+ import * as i5 from "../../../ngt-validation/ngt-validation.module";
7
+ import * as i6 from "../../../ngt-shining/ngt-shining.module";
8
+ import * as i7 from "../../../ngt-helper/ngt-helper.component";
9
9
  export declare class NgtDateModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtDateModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtDateModule, [typeof i1.NgtDateComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.EvDatePickerModule, typeof i5.NgtValidationModule, typeof i6.NgtShiningModule, typeof i7.NgtHelperModule], [typeof i1.NgtDateComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtDateModule, [typeof i1.NgtDateComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.EvDatePickerModule, typeof i5.NgtValidationModule, typeof i6.NgtShiningModule, typeof i7.NgtHelperComponent], [typeof i1.NgtDateComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtDateModule>;
13
13
  }
@@ -1,23 +1,23 @@
1
- import { AfterContentChecked, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { AfterContentChecked, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, SimpleChanges, WritableSignal } from '@angular/core';
2
2
  import { ControlContainer } from '@angular/forms';
3
3
  import { NgxDropzoneChangeEvent, NgxDropzoneComponent } from 'ngx-dropzone';
4
- import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
5
- import { NgtAttachmentHttpService } from '../../services/http/ngt-attachment-http.service';
6
- import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
7
- import { NgtDropzoneFileViewerComponent } from './ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component';
8
- import { NgtDropzoneErrorType, NgtDropzoneFile, NgtDropzonePreviewType } from './ngt-dropzone.meta';
4
+ import { NgtControlValueAccessor } from '../../../../base/ngt-control-value-accessor';
5
+ import { NgtAttachmentHttpService } from '../../../../services/http/ngt-attachment-http.service';
6
+ import { NgtStylizableService } from '../../../../services/ngt-stylizable/ngt-stylizable.service';
7
+ import { NgtDropzoneFileViewerComponent } from '../../../shared/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component';
8
+ import { NgtDropzoneErrorType, NgtDropzoneFile, NgtDropzonePreviewType } from '../../../../meta/ngt-dropzone.meta';
9
9
  import { NgtFormComponent } from '../ngt-form/ngt-form.component';
10
- import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
11
- import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
10
+ import { NgtSectionComponent } from '../../../ngt-section/ngt-section.component';
11
+ import { NgtModalComponent } from '../../../ngt-modal/ngt-modal.component';
12
12
  import * as i0 from "@angular/core";
13
- export declare class NgtDropzoneComponent extends NgtBaseNgModel implements OnInit, OnDestroy, AfterContentChecked {
13
+ export declare class NgtDropzoneComponent extends NgtControlValueAccessor implements OnInit, OnDestroy, AfterContentChecked {
14
14
  formContainer: ControlContainer;
15
- private injector;
16
15
  private changeDetector;
17
16
  private ngtAttachmentHttpService;
18
17
  private ngtForm;
19
18
  private ngtSection;
20
19
  private ngtModal;
20
+ protected injector: Injector;
21
21
  container: ElementRef;
22
22
  ngxDropzone: NgxDropzoneComponent;
23
23
  ngtDropzoneFileViewer: NgtDropzoneFileViewerComponent;
@@ -61,8 +61,11 @@ export declare class NgtDropzoneComponent extends NgtBaseNgModel implements OnIn
61
61
  ngtDropzoneLoaderStyle: NgtStylizableService;
62
62
  ngxElementId: string;
63
63
  imageViewerOptions: any;
64
+ fileViewerUrl: WritableSignal<string>;
65
+ fileViewerFileName: WritableSignal<string>;
66
+ fileViewerFileSize: WritableSignal<number>;
64
67
  private subscriptions;
65
- constructor(formContainer: ControlContainer, injector: Injector, changeDetector: ChangeDetectorRef, ngtAttachmentHttpService: NgtAttachmentHttpService, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent);
68
+ constructor(formContainer: ControlContainer, changeDetector: ChangeDetectorRef, ngtAttachmentHttpService: NgtAttachmentHttpService, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, injector: Injector);
66
69
  ngOnChanges(changes: SimpleChanges): void;
67
70
  ngAfterContentChecked(): void;
68
71
  ngOnInit(): void;
@@ -70,6 +73,7 @@ export declare class NgtDropzoneComponent extends NgtBaseNgModel implements OnIn
70
73
  imagePreview(index: any): void;
71
74
  onImageClick(element: any, index?: any): void;
72
75
  onFileClick(url: string, name: string, size: number): void;
76
+ onCloseFileViewer(): void;
73
77
  onSelect(event: NgxDropzoneChangeEvent): Promise<void>;
74
78
  uploadFiles(files: Array<File>): Promise<void>;
75
79
  loadFilePreview(attachments: any): Promise<void>;
@@ -90,6 +94,6 @@ export declare class NgtDropzoneComponent extends NgtBaseNgModel implements OnIn
90
94
  private updateValidations;
91
95
  private isDisabledByParent;
92
96
  private destroySubscriptions;
93
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtDropzoneComponent, [{ optional: true; host: true; }, null, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }]>;
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtDropzoneComponent, [{ optional: true; host: true; }, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, null]>;
94
98
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtDropzoneComponent, "ngt-dropzone", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "helpTextColor": { "alias": "helpTextColor"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "resources": { "alias": "resources"; "required": false; }; "multipleSelection": { "alias": "multipleSelection"; "required": false; }; "itemsLimit": { "alias": "itemsLimit"; "required": false; }; "showFileName": { "alias": "showFileName"; "required": false; }; "disableClick": { "alias": "disableClick"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "canDownloadFile": { "alias": "canDownloadFile"; "required": false; }; "verticalExpandable": { "alias": "verticalExpandable"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; "hideNgxDropzone": { "alias": "hideNgxDropzone"; "required": false; }; "acceptedFiles": { "alias": "acceptedFiles"; "required": false; }; "unacceptedFiles": { "alias": "unacceptedFiles"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "previewType": { "alias": "previewType"; "required": false; }; "name": { "alias": "name"; "required": false; }; "remoteResource": { "alias": "remoteResource"; "required": false; }; }, { "onFileSelected": "onFileSelected"; "onFileSelectError": "onFileSelectError"; "onFileUploadFail": "onFileUploadFail"; "onFileRemoved": "onFileRemoved"; "onFileUploadInit": "onFileUploadInit"; "onFileUploaded": "onFileUploaded"; "onFilePreviewLoaded": "onFilePreviewLoaded"; }, never, never, false, never>;
95
99
  }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ngt-dropzone.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../../../ngt-validation/ngt-validation.module";
6
+ import * as i5 from "ngx-dropzone";
7
+ import * as i6 from "../../../ngt-svg/ngt-svg.module";
8
+ import * as i7 from "../../../ngt-helper/ngt-helper.component";
9
+ import * as i8 from "../../../shared/custom-dropzone-preview/custom-dropzone-preview.component";
10
+ import * as i9 from "../../../shared/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component";
11
+ import * as i10 from "../../../shared/ngt-dropzone-view/ngt-dropzone-view.component";
12
+ export declare class NgtDropzoneModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtDropzoneModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtDropzoneModule, [typeof i1.NgtDropzoneComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NgtValidationModule, typeof i5.NgxDropzoneModule, typeof i6.NgtSvgModule, typeof i7.NgtHelperComponent, typeof i8.CustomDropzonePreviewComponent, typeof i9.NgtDropzoneFileViewerComponent, typeof i10.NgtDropzoneViewComponent], [typeof i1.NgtDropzoneComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgtDropzoneModule>;
16
+ }
@@ -1,10 +1,10 @@
1
- import { NgtTranslateService } from '../../../services/http/ngt-translate.service';
1
+ import { NgtTranslateService } from '../../../../../services/http/ngt-translate.service';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class NgtFormValidationMessageComponent {
4
4
  ngtTranslateService: NgtTranslateService;
5
- canShowValidationMessage: boolean;
6
- message: string;
5
+ readonly canShowValidationMessage: import("@angular/core").InputSignal<boolean>;
6
+ readonly message: import("@angular/core").InputSignal<string>;
7
7
  constructor(ngtTranslateService: NgtTranslateService);
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtFormValidationMessageComponent, [{ optional: true; }]>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtFormValidationMessageComponent, "ngt-form-validation-message", never, { "canShowValidationMessage": { "alias": "canShowValidationMessage"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtFormValidationMessageComponent, "ngt-form-validation-message", never, { "canShowValidationMessage": { "alias": "canShowValidationMessage"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
10
10
  }
@@ -2,8 +2,8 @@ import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } fro
2
2
  import { ControlContainer, NgForm } from '@angular/forms';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { Observable } from 'rxjs';
5
- import { NgtHttpFormService } from '../../services/http/ngt-http-form.service';
6
- import { NgtAbilityValidationService } from '../../services/validation/ngt-ability-validation.service';
5
+ import { NgtHttpFormService } from '../../../../services/http/ngt-http-form.service';
6
+ import { NgtAbilityValidationService } from '../../../../services/validation/ngt-ability-validation.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare enum NgtFormState {
9
9
  CREATING = "CREATING",
@@ -1,9 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ngt-form.component";
3
- import * as i2 from "./ngt-form-validation-message/ngt-form-validation-message.component";
4
- import * as i3 from "@angular/common";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "./ngt-form-validation-message/ngt-form-validation-message.component";
5
5
  export declare class NgtFormModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtFormModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtFormModule, [typeof i1.NgtFormComponent, typeof i2.NgtFormValidationMessageComponent], [typeof i3.CommonModule], [typeof i1.NgtFormComponent, typeof i2.NgtFormValidationMessageComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtFormModule, [typeof i1.NgtFormComponent], [typeof i2.CommonModule, typeof i3.NgtFormValidationMessageComponent], [typeof i1.NgtFormComponent, typeof i3.NgtFormValidationMessageComponent]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtFormModule>;
9
9
  }
@@ -1,17 +1,16 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, Renderer2, SimpleChanges, TemplateRef } from '@angular/core';
2
2
  import { AsyncValidatorFn, ControlContainer } from '@angular/forms';
3
- import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
4
- import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
5
- import { NgtHttpFindExistingResourceInterface, NgtHttpResourceService } from '../../services/http/ngt-http-resource.service';
6
- import { NgtHttpValidationService } from '../../services/http/ngt-http-validation.service';
7
- import { NgtTranslateService } from '../../services/http/ngt-translate.service';
8
- import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
3
+ import { NgtControlValueAccessor } from '../../../../base/ngt-control-value-accessor';
4
+ import { NgtStylizableDirective } from '../../../../directives/ngt-stylizable/ngt-stylizable.directive';
5
+ import { NgtHttpFindExistingResourceInterface, NgtHttpResourceService } from '../../../../services/http/ngt-http-resource.service';
6
+ import { NgtHttpValidationService } from '../../../../services/http/ngt-http-validation.service';
7
+ import { NgtTranslateService } from '../../../../services/http/ngt-translate.service';
8
+ import { NgtStylizableService } from '../../../../services/ngt-stylizable/ngt-stylizable.service';
9
9
  import { NgtFormComponent } from '../ngt-form/ngt-form.component';
10
- import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
11
- import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
10
+ import { NgtSectionComponent } from '../../../ngt-section/ngt-section.component';
11
+ import { NgtModalComponent } from '../../../ngt-modal/ngt-modal.component';
12
12
  import * as i0 from "@angular/core";
13
- export declare class NgtInputComponent extends NgtBaseNgModel implements OnInit, OnDestroy {
14
- private injector;
13
+ export declare class NgtInputComponent extends NgtControlValueAccessor implements OnInit, OnDestroy {
15
14
  private renderer;
16
15
  private changeDetector;
17
16
  private ngtStylizableDirective;
@@ -22,6 +21,7 @@ export declare class NgtInputComponent extends NgtBaseNgModel implements OnInit,
22
21
  private ngtForm;
23
22
  private ngtSection;
24
23
  private ngtModal;
24
+ protected injector: Injector;
25
25
  ngtTranslateService: NgtTranslateService;
26
26
  element: ElementRef;
27
27
  label: string;
@@ -84,7 +84,7 @@ export declare class NgtInputComponent extends NgtBaseNgModel implements OnInit,
84
84
  private uniqueValidatorTimeout;
85
85
  private searchExistingResourceTimeout;
86
86
  private subscriptions;
87
- constructor(injector: Injector, renderer: Renderer2, changeDetector: ChangeDetectorRef, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, ngtValidationService: NgtHttpValidationService, ngtResourceService: NgtHttpResourceService, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, ngtTranslateService: NgtTranslateService);
87
+ constructor(renderer: Renderer2, changeDetector: ChangeDetectorRef, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, ngtValidationService: NgtHttpValidationService, ngtResourceService: NgtHttpResourceService, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, injector: Injector, ngtTranslateService: NgtTranslateService);
88
88
  ngOnInit(): void;
89
89
  ngOnChanges(changes: SimpleChanges): void;
90
90
  ngOnDestroy(): void;
@@ -114,8 +114,6 @@ export declare class NgtInputComponent extends NgtBaseNgModel implements OnInit,
114
114
  private searchExistingResource;
115
115
  private validatePhone;
116
116
  private uniqueValidator;
117
- private validatorCNPJ;
118
- private validatorCPF;
119
117
  private getNativeValue;
120
118
  private getElementTitle;
121
119
  private removeMasks;
@@ -124,6 +122,6 @@ export declare class NgtInputComponent extends NgtBaseNgModel implements OnInit,
124
122
  private isDisabledByParent;
125
123
  private hasChangesBetweenModels;
126
124
  private destroySubscriptions;
127
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtInputComponent, [null, null, null, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; }]>;
125
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtInputComponent, [null, null, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, null, { optional: true; }]>;
128
126
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtInputComponent, "ngt-input", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "shining": { "alias": "shining"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "helpTextColor": { "alias": "helpTextColor"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "innerLeftIcon": { "alias": "innerLeftIcon"; "required": false; }; "innerLeftIconColor": { "alias": "innerLeftIconColor"; "required": false; }; "innerRightIcon": { "alias": "innerRightIcon"; "required": false; }; "innerRightIconColor": { "alias": "innerRightIconColor"; "required": false; }; "decimalMaskPrecision": { "alias": "decimalMaskPrecision"; "required": false; }; "showCharactersLength": { "alias": "showCharactersLength"; "required": false; }; "uppercase": { "alias": "uppercase"; "required": false; }; "customInnerContentTemplate": { "alias": "customInnerContentTemplate"; "required": false; }; "helperReverseYPosition": { "alias": "helperReverseYPosition"; "required": false; }; "helperAutoXReverse": { "alias": "helperAutoXReverse"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isReadonly": { "alias": "isReadonly"; "required": false; }; "showRoundedIcon": { "alias": "showRoundedIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "focus": { "alias": "focus"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "jit": { "alias": "jit"; "required": false; }; "useInputEvent": { "alias": "useInputEvent"; "required": false; }; "findExistingResource": { "alias": "findExistingResource"; "required": false; }; "allowPhoneValidation": { "alias": "allowPhoneValidation"; "required": false; }; "validatePassword": { "alias": "validatePassword"; "required": false; }; "passwordableId": { "alias": "passwordableId"; "required": false; }; "passwordPolicyId": { "alias": "passwordPolicyId"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; "uniqueResource": { "alias": "uniqueResource"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "match": { "alias": "match"; "required": false; }; "multipleOf": { "alias": "multipleOf"; "required": false; }; "validateMinValueOnMask": { "alias": "validateMinValueOnMask"; "required": false; }; "externalServerDependency": { "alias": "externalServerDependency"; "required": false; }; "customValidator": { "alias": "customValidator"; "required": false; }; }, { "onClickLeftIcon": "onClickLeftIcon"; "onClickRightIcon": "onClickRightIcon"; "validatePhoneResult": "validatePhoneResult"; }, never, ["*"], false, never>;
129
127
  }
@@ -2,13 +2,13 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ngt-input.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-svg/ngt-svg.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-svg/ngt-svg.module";
8
8
  import * as i7 from "../ngt-form/ngt-form.module";
9
- import * as i8 from "../ngt-helper/ngt-helper.module";
9
+ import * as i8 from "../../../ngt-helper/ngt-helper.component";
10
10
  export declare class NgtInputModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtInputModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtInputModule, [typeof i1.NgtInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.NgtValidationModule, typeof i5.NgtShiningModule, typeof i6.NgtSvgModule, typeof i7.NgtFormModule, typeof i8.NgtHelperModule], [typeof i1.NgtInputComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtInputModule, [typeof i1.NgtInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.NgtValidationModule, typeof i5.NgtShiningModule, typeof i6.NgtSvgModule, typeof i7.NgtFormModule, typeof i8.NgtHelperComponent], [typeof i1.NgtInputComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtInputModule>;
14
14
  }
@@ -1,23 +1,23 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } 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 { NgtHttpService } from '../../services/http/ngt-http.service';
6
- import { NgtTranslateService } from '../../services/http/ngt-translate.service';
7
- import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
3
+ import { NgtControlValueAccessor } from '../../../../base/ngt-control-value-accessor';
4
+ import { NgtStylizableDirective } from '../../../../directives/ngt-stylizable/ngt-stylizable.directive';
5
+ import { NgtHttpService } from '../../../../services/http/ngt-http.service';
6
+ import { NgtTranslateService } from '../../../../services/http/ngt-translate.service';
7
+ import { NgtStylizableService } from '../../../../services/ngt-stylizable/ngt-stylizable.service';
8
8
  import { NgtFormComponent } from '../ngt-form/ngt-form.component';
9
9
  import { NgtInputComponent } from '../ngt-input/ngt-input.component';
10
- import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
11
- import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
10
+ import { NgtSectionComponent } from '../../../ngt-section/ngt-section.component';
11
+ import { NgtModalComponent } from '../../../ngt-modal/ngt-modal.component';
12
12
  import * as i0 from "@angular/core";
13
- export declare class NgtMultiSelectComponent extends NgtBaseNgModel implements OnInit, OnDestroy, OnChanges {
13
+ export declare class NgtMultiSelectComponent extends NgtControlValueAccessor implements OnInit, OnDestroy, OnChanges {
14
14
  private ngtHttpService;
15
- private injector;
16
15
  private changeDetector;
17
16
  private ngtForm;
18
17
  private ngtSection;
19
18
  private ngtModal;
20
19
  private ngtStylizableDirective;
20
+ protected injector: Injector;
21
21
  formContainer: ControlContainer;
22
22
  ngtTranslateService: NgtTranslateService;
23
23
  containerRef: ElementRef;
@@ -72,7 +72,7 @@ export declare class NgtMultiSelectComponent extends NgtBaseNgModel implements O
72
72
  private becameVisible;
73
73
  private selectableResourcesCount;
74
74
  private originalItems;
75
- constructor(ngtHttpService: NgtHttpService, injector: Injector, changeDetector: ChangeDetectorRef, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtTranslateService: NgtTranslateService);
75
+ constructor(ngtHttpService: NgtHttpService, changeDetector: ChangeDetectorRef, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, ngtStylizableDirective: NgtStylizableDirective, injector: Injector, formContainer: ControlContainer, ngtTranslateService: NgtTranslateService);
76
76
  onScroll(event: any): void;
77
77
  ngOnInit(): void;
78
78
  ngDoCheck(): void;
@@ -108,7 +108,7 @@ export declare class NgtMultiSelectComponent extends NgtBaseNgModel implements O
108
108
  private isColoquentResources;
109
109
  private isDisabledByParent;
110
110
  private destroySubscriptions;
111
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtMultiSelectComponent, [null, null, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; }]>;
111
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtMultiSelectComponent, [null, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; self: true; }, null, { optional: true; host: true; }, { optional: true; }]>;
112
112
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtMultiSelectComponent, "ngt-multi-select", never, { "customOptionTemplate": { "alias": "customOptionTemplate"; "required": false; }; "customHeaderTemplate": { "alias": "customHeaderTemplate"; "required": false; }; "label": { "alias": "label"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "helpTextColor": { "alias": "helpTextColor"; "required": false; }; "helperReverseYPosition": { "alias": "helperReverseYPosition"; "required": false; }; "helperAutoXReverse": { "alias": "helperAutoXReverse"; "required": false; }; "shining": { "alias": "shining"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindSearch": { "alias": "bindSearch"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "name": { "alias": "name"; "required": false; }; "remoteResource": { "alias": "remoteResource"; "required": false; }; "items": { "alias": "items"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "allowOriginalItemsUnselect": { "alias": "allowOriginalItemsUnselect"; "required": false; }; "allowSelectAll": { "alias": "allowSelectAll"; "required": false; }; "allowDisplayOnlySelected": { "alias": "allowDisplayOnlySelected"; "required": false; }; "autoSelectUniqueOption": { "alias": "autoSelectUniqueOption"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, { "onDataChange": "onDataChange"; }, never, never, false, never>;
113
113
  }
114
114
  export interface NgtSelectContainerSelectableElementInterface {
@@ -2,14 +2,14 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ngt-multi-select.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-input/ngt-input.module";
9
9
  import * as i8 from "../ngt-checkbox/ngt-checkbox.module";
10
- import * as i9 from "../../directives/ngt-stylizable/ngt-stylizable.module";
10
+ import * as i9 from "../../../../directives/ngt-stylizable/ngt-stylizable.module";
11
11
  export declare class NgtMultiSelectModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtMultiSelectModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtMultiSelectModule, [typeof i1.NgtMultiSelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NgtValidationModule, typeof i5.NgtShiningModule, typeof i6.NgtHelperModule, typeof i7.NgtInputModule, typeof i8.NgtCheckboxModule, typeof i9.NgtStylizableModule], [typeof i1.NgtMultiSelectComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtMultiSelectModule, [typeof i1.NgtMultiSelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NgtValidationModule, typeof i5.NgtShiningModule, typeof i6.NgtHelperComponent, typeof i7.NgtInputModule, typeof i8.NgtCheckboxModule, typeof i9.NgtStylizableModule], [typeof i1.NgtMultiSelectComponent]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtMultiSelectModule>;
15
15
  }
@@ -1,21 +1,21 @@
1
1
  import { AfterViewInit, ElementRef, Injector, OnDestroy, 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 { 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 { NgtStylizableService } from '../../../../services/ngt-stylizable/ngt-stylizable.service';
6
6
  import { NgtFormComponent } from '../ngt-form/ngt-form.component';
7
- import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
7
+ import { NgtSectionComponent } from '../../../ngt-section/ngt-section.component';
8
8
  import { NgtRadioButtonContainerComponent } from './ngt-radio-button-container/ngt-radio-button-container.component';
9
- import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
9
+ import { NgtModalComponent } from '../../../ngt-modal/ngt-modal.component';
10
10
  import * as i0 from "@angular/core";
11
- export declare class NgtRadioButtonComponent extends NgtBaseNgModel implements AfterViewInit, OnDestroy {
12
- private injector;
11
+ export declare class NgtRadioButtonComponent extends NgtControlValueAccessor implements AfterViewInit, OnDestroy {
13
12
  private renderer;
14
13
  private ngtStylizableDirective;
15
14
  private ngtForm;
16
15
  private ngtSection;
17
16
  private ngtModal;
18
17
  private ngtRadioButtonContainer;
18
+ protected injector: Injector;
19
19
  formContainer: ControlContainer;
20
20
  element: ElementRef;
21
21
  label: string;
@@ -31,7 +31,7 @@ export declare class NgtRadioButtonComponent extends NgtBaseNgModel implements A
31
31
  helperAutoXReverse: boolean;
32
32
  ngtStyle: NgtStylizableService;
33
33
  private subscriptions;
34
- constructor(injector: Injector, renderer: Renderer2, ngtStylizableDirective: NgtStylizableDirective, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, ngtRadioButtonContainer: NgtRadioButtonContainerComponent, formContainer: ControlContainer);
34
+ constructor(renderer: Renderer2, ngtStylizableDirective: NgtStylizableDirective, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, ngtRadioButtonContainer: NgtRadioButtonContainerComponent, injector: Injector, formContainer: ControlContainer);
35
35
  ngAfterViewInit(): void;
36
36
  ngOnDestroy(): void;
37
37
  change(value: boolean): void;
@@ -40,6 +40,6 @@ export declare class NgtRadioButtonComponent extends NgtBaseNgModel implements A
40
40
  getStyle(): string;
41
41
  private isDisabledByParent;
42
42
  private destroySubscriptions;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtRadioButtonComponent, [null, null, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; host: true; }]>;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtRadioButtonComponent, [null, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, null, { optional: true; host: true; }]>;
44
44
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtRadioButtonComponent, "ngt-radio-button", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "shining": { "alias": "shining"; "required": false; }; "isSelectable": { "alias": "isSelectable"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "selectedHexColor": { "alias": "selectedHexColor"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "helpTextColor": { "alias": "helpTextColor"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "helperReverseYPosition": { "alias": "helperReverseYPosition"; "required": false; }; "helperAutoXReverse": { "alias": "helperAutoXReverse"; "required": false; }; }, {}, never, never, false, never>;
45
45
  }
@@ -2,10 +2,10 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ngt-radio-button.component";
3
3
  import * as i2 from "./ngt-radio-button-container/ngt-radio-button-container.component";
4
4
  import * as i3 from "@angular/common";
5
- import * as i4 from "../ngt-shining/ngt-shining.module";
6
- import * as i5 from "../ngt-helper/ngt-helper.module";
5
+ import * as i4 from "../../../ngt-shining/ngt-shining.module";
6
+ import * as i5 from "../../../ngt-helper/ngt-helper.component";
7
7
  export declare class NgtRadioButtonModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtRadioButtonModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtRadioButtonModule, [typeof i1.NgtRadioButtonComponent, typeof i2.NgtRadioButtonContainerComponent], [typeof i3.CommonModule, typeof i4.NgtShiningModule, typeof i5.NgtHelperModule], [typeof i1.NgtRadioButtonComponent, typeof i2.NgtRadioButtonContainerComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtRadioButtonModule, [typeof i1.NgtRadioButtonComponent, typeof i2.NgtRadioButtonContainerComponent], [typeof i3.CommonModule, typeof i4.NgtShiningModule, typeof i5.NgtHelperComponent], [typeof i1.NgtRadioButtonComponent, typeof i2.NgtRadioButtonContainerComponent]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtRadioButtonModule>;
11
11
  }
@@ -2,14 +2,14 @@ import { ChangeDetectorRef, DoCheck, EventEmitter, Injector, OnChanges, OnDestro
2
2
  import { ControlContainer } from '@angular/forms';
3
3
  import { NgOption, NgSelectComponent } from '@ng-select/ng-select';
4
4
  import { Observable, Subject } from 'rxjs';
5
- import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
6
- import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
7
- import { NgtHttpService } from '../../services/http/ngt-http.service';
8
- import { NgtTranslateService } from '../../services/http/ngt-translate.service';
9
- import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
5
+ import { NgtControlValueAccessor } from '../../../../base/ngt-control-value-accessor';
6
+ import { NgtStylizableDirective } from '../../../../directives/ngt-stylizable/ngt-stylizable.directive';
7
+ import { NgtHttpService } from '../../../../services/http/ngt-http.service';
8
+ import { NgtTranslateService } from '../../../../services/http/ngt-translate.service';
9
+ import { NgtStylizableService } from '../../../../services/ngt-stylizable/ngt-stylizable.service';
10
10
  import { NgtFormComponent } from '../ngt-form/ngt-form.component';
11
- import { NgtSectionComponent } from '../ngt-section/ngt-section.component';
12
- import { NgtModalComponent } from '../ngt-modal/ngt-modal.component';
11
+ import { NgtSectionComponent } from '../../../ngt-section/ngt-section.component';
12
+ import { NgtModalComponent } from '../../../ngt-modal/ngt-modal.component';
13
13
  import * as i0 from "@angular/core";
14
14
  export declare enum NgtSelectDropdownPanelHeight {
15
15
  AUTO = "auto",
@@ -19,16 +19,16 @@ export declare enum NgtSelectDropdownPanelHeight {
19
19
  LG = "lg",
20
20
  XL = "xl"
21
21
  }
22
- export declare class NgtSelectComponent extends NgtBaseNgModel implements OnChanges, OnDestroy, OnInit, DoCheck {
22
+ export declare class NgtSelectComponent extends NgtControlValueAccessor implements OnChanges, OnDestroy, OnInit, DoCheck {
23
23
  ngtStylizableDirective: NgtStylizableDirective;
24
24
  formContainer: ControlContainer;
25
25
  ngtTranslateService: NgtTranslateService;
26
- private injector;
27
26
  private ngtHttp;
28
27
  private changeDetector;
29
28
  private ngtForm;
30
29
  private ngtSection;
31
30
  private ngtModal;
31
+ protected injector: Injector;
32
32
  ngSelectComponent: NgSelectComponent;
33
33
  ngtOptionTemplate: TemplateRef<any>;
34
34
  ngtOptionSelectedTemplate: TemplateRef<any>;
@@ -103,7 +103,7 @@ export declare class NgtSelectComponent extends NgtBaseNgModel implements OnChan
103
103
  private currentState;
104
104
  private searchTimeout;
105
105
  private hadFirstItemsLoad;
106
- constructor(ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtTranslateService: NgtTranslateService, injector: Injector, ngtHttp: NgtHttpService, changeDetector: ChangeDetectorRef, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent);
106
+ constructor(ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtTranslateService: NgtTranslateService, ngtHttp: NgtHttpService, changeDetector: ChangeDetectorRef, ngtForm: NgtFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, injector: Injector);
107
107
  compareWith: (a: any, b: any) => boolean;
108
108
  ngOnInit(): void;
109
109
  ngAfterViewInit(): void;
@@ -149,6 +149,6 @@ export declare class NgtSelectComponent extends NgtBaseNgModel implements OnChan
149
149
  private bindSubscriptions;
150
150
  private isDisabledByParent;
151
151
  private destroySubscriptions;
152
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectComponent, [{ optional: true; self: true; }, { optional: true; host: true; }, { optional: true; }, null, null, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }]>;
152
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgtSelectComponent, [{ optional: true; self: true; }, { optional: true; host: true; }, { optional: true; }, null, null, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, null]>;
153
153
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtSelectComponent, "ngt-select", never, { "label": { "alias": "label"; "required": false; }; "labelIcon": { "alias": "labelIcon"; "required": false; }; "labelIconColor": { "alias": "labelIconColor"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "helpTextColor": { "alias": "helpTextColor"; "required": false; }; "shining": { "alias": "shining"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "typeToSearchText": { "alias": "typeToSearchText"; "required": false; }; "clearAllTooltip": { "alias": "clearAllTooltip"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "createText": { "alias": "createText"; "required": false; }; "labelForId": { "alias": "labelForId"; "required": false; }; "dropdownPanelMinHeight": { "alias": "dropdownPanelMinHeight"; "required": false; }; "helperReverseYPosition": { "alias": "helperReverseYPosition"; "required": false; }; "helperAutoXReverse": { "alias": "helperAutoXReverse"; "required": false; }; "name": { "alias": "name"; "required": false; }; "autoLoad": { "alias": "autoLoad"; "required": false; }; "allowCreate": { "alias": "allowCreate"; "required": false; }; "allowOriginalItemsUnselect": { "alias": "allowOriginalItemsUnselect"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isReadonly": { "alias": "isReadonly"; "required": false; }; "remoteResource": { "alias": "remoteResource"; "required": false; }; "hideSelected": { "alias": "hideSelected"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "items": { "alias": "items"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "maxSelectedItems": { "alias": "maxSelectedItems"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "guessCompareWith": { "alias": "guessCompareWith"; "required": false; }; "autoSelectUniqueOption": { "alias": "autoSelectUniqueOption"; "required": false; }; "groupValue": { "alias": "groupValue"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "sortSelectedItemsFn": { "alias": "sortSelectedItemsFn"; "required": false; }; "isAllowedToRemoveFn": { "alias": "isAllowedToRemoveFn"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; }, { "onLoadRemoteResource": "onLoadRemoteResource"; "onSelectedItemRemove": "onSelectedItemRemove"; "onClear": "onClear"; "onClose": "onClose"; }, ["ngtOptionTemplate", "ngtOptionSelectedTemplate", "ngtSelectHeaderTemplate"], never, false, never>;
154
154
  }