ng-tailwind 6.0.2 → 6.1.3

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.
@@ -1,5 +1,7 @@
1
1
  import { Injector, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { ControlContainer } from '@angular/forms';
3
+ import { FlatpickrOptions } from 'ev-date-picker';
4
+ import { EvDatePickerComponent } from 'ev-date-picker/ev-date-picker.component';
3
5
  import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
4
6
  import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
5
7
  import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
@@ -14,6 +16,7 @@ export declare class NgtDateComponent extends NgtBaseNgModel implements OnInit,
14
16
  private ngtForm;
15
17
  private ngtSection;
16
18
  private ngtModal;
19
+ evDatePicker: EvDatePickerComponent;
17
20
  label: string;
18
21
  placeholder: string;
19
22
  helpTitle: string;
@@ -40,6 +43,7 @@ export declare class NgtDateComponent extends NgtBaseNgModel implements OnInit,
40
43
  defaultDate: string;
41
44
  isRequired: boolean;
42
45
  ngtStyle: NgtStylizableService;
46
+ dateConfig: FlatpickrOptions;
43
47
  nativeValue: any;
44
48
  componentReady: boolean;
45
49
  nativeName: string;
@@ -54,8 +58,8 @@ export declare class NgtDateComponent extends NgtBaseNgModel implements OnInit,
54
58
  ngOnInit(): void;
55
59
  ngOnDestroy(): void;
56
60
  clearInput(clearInstance?: boolean): void;
57
- change(value: any): void;
58
- onNativeChange(value: any, dateStr: string, instance: any, triggerClose: boolean): void;
61
+ change(value: any): any;
62
+ onNativeChange(value: any, dateStr: string, instance: any, triggerClose: boolean): any;
59
63
  getNativeValue(): any;
60
64
  getFormattedNativeValue(): any;
61
65
  hasErrors(): boolean;
@@ -70,7 +74,7 @@ export declare class NgtDateComponent extends NgtBaseNgModel implements OnInit,
70
74
  private isDisabledByParent;
71
75
  private destroySubscriptions;
72
76
  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; }]>;
73
- 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, never, false, never>;
77
+ 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>;
74
78
  }
75
79
  export declare enum NgtDateLocale {
76
80
  BRAZIL = "BRAZIL",
@@ -2,11 +2,12 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ngt-date.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 "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";
8
9
  export declare class NgtDateModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtDateModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtDateModule, [typeof i1.NgtDateComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NgtValidationModule, typeof i5.NgtShiningModule, typeof i6.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.NgtHelperModule], [typeof i1.NgtDateComponent]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtDateModule>;
12
13
  }
@@ -1,8 +1,10 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { EloverdeDocViewerComponent } from 'eloverde-doc-viewer';
2
3
  import { NgtTranslateService } from '../../../services/http/ngt-translate.service';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class NgtDropzoneFileViewerComponent {
5
6
  ngtTranslateService: NgtTranslateService;
7
+ eloverdeDocViewer: EloverdeDocViewerComponent;
6
8
  url: string;
7
9
  fileName: string;
8
10
  fileSize: number;
@@ -8,9 +8,10 @@ import * as i6 from "@angular/forms";
8
8
  import * as i7 from "../ngt-validation/ngt-validation.module";
9
9
  import * as i8 from "ngx-dropzone";
10
10
  import * as i9 from "../ngt-svg/ngt-svg.module";
11
- import * as i10 from "../ngt-helper/ngt-helper.module";
11
+ import * as i10 from "eloverde-doc-viewer";
12
+ import * as i11 from "../ngt-helper/ngt-helper.module";
12
13
  export declare class NgtDropzoneModule {
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtDropzoneModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgtDropzoneModule, [typeof i1.NgtDropzoneComponent, typeof i2.NgtDropzoneFileViewerComponent, typeof i3.NgtDropzoneViewComponent, typeof i4.CustomDropzonePreviewComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.NgtValidationModule, typeof i8.NgxDropzoneModule, typeof i9.NgtSvgModule, typeof i10.NgtHelperModule], [typeof i1.NgtDropzoneComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgtDropzoneModule, [typeof i1.NgtDropzoneComponent, typeof i2.NgtDropzoneFileViewerComponent, typeof i3.NgtDropzoneViewComponent, typeof i4.CustomDropzonePreviewComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.NgtValidationModule, typeof i8.NgxDropzoneModule, typeof i9.NgtSvgModule, typeof i10.EloverdeDocViewerModule, typeof i11.NgtHelperModule], [typeof i1.NgtDropzoneComponent]>;
15
16
  static ɵinj: i0.ɵɵInjectorDeclaration<NgtDropzoneModule>;
16
17
  }