ng-tailwind 2.24.310 → 2.24.314
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/animations/ngt-angular-animations.d.ts +5 -5
- package/base/ngt-base-ng-model.d.ts +32 -32
- package/bundles/ng-tailwind.umd.js +7318 -7271
- package/bundles/ng-tailwind.umd.js.map +1 -1
- package/components/ngt-action/ngt-action.component.d.ts +13 -13
- package/components/ngt-action/ngt-action.module.d.ts +2 -2
- package/components/ngt-button/ngt-button.component.d.ts +22 -22
- package/components/ngt-button/ngt-button.module.d.ts +2 -2
- package/components/ngt-checkbox/ngt-checkbox.component.d.ts +41 -41
- package/components/ngt-checkbox/ngt-checkbox.module.d.ts +2 -2
- package/components/ngt-content/ngt-content.component.d.ts +9 -9
- package/components/ngt-content/ngt-content.module.d.ts +2 -2
- package/components/ngt-datatable/ngt-datatable.component.d.ts +112 -112
- package/components/ngt-datatable/ngt-datatable.module.d.ts +2 -2
- package/components/ngt-datatable/ngt-tbody/ngt-tbody.component.d.ts +11 -11
- package/components/ngt-datatable/ngt-td/ngt-td.component.d.ts +11 -11
- package/components/ngt-datatable/ngt-td-check/ngt-td-check.component.d.ts +24 -24
- package/components/ngt-datatable/ngt-th/ngt-th.component.d.ts +47 -47
- package/components/ngt-datatable/ngt-th-check/ngt-th-check.component.d.ts +19 -19
- package/components/ngt-datatable/ngt-thead/ngt-thead.component.d.ts +10 -10
- package/components/ngt-datatable/ngt-tr/ngt-tr.component.d.ts +17 -17
- package/components/ngt-date/ngt-date.component.d.ts +71 -71
- package/components/ngt-date/ngt-date.module.d.ts +2 -2
- package/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.d.ts +5 -5
- package/components/ngt-dropdown/ngt-dropdown.component.d.ts +42 -42
- package/components/ngt-dropdown/ngt-dropdown.module.d.ts +2 -2
- package/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.d.ts +11 -11
- package/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +12 -12
- package/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +21 -21
- package/components/ngt-dropzone/ngt-dropzone.component.d.ts +103 -103
- package/components/ngt-dropzone/ngt-dropzone.module.d.ts +2 -2
- package/components/ngt-floating-button/ngt-floating-button.component.d.ts +32 -32
- package/components/ngt-floating-button/ngt-floating-button.module.d.ts +2 -2
- package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.d.ts +7 -7
- package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.module.d.ts +2 -2
- package/components/ngt-form/ngt-form.component.d.ts +52 -52
- package/components/ngt-form/ngt-form.module.d.ts +2 -2
- package/components/ngt-header-nav/ngt-header-nav.component.d.ts +11 -11
- package/components/ngt-header-nav/ngt-header-nav.module.d.ts +2 -2
- package/components/ngt-helper/ngt-helper.component.d.ts +15 -10
- package/components/ngt-helper/ngt-helper.module.d.ts +2 -2
- package/components/ngt-input/ngt-input.component.d.ts +92 -92
- package/components/ngt-input/ngt-input.module.d.ts +2 -2
- package/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.d.ts +2 -2
- package/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.d.ts +2 -2
- package/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.d.ts +12 -12
- package/components/ngt-modal/ngt-modal.component.d.ts +19 -19
- package/components/ngt-modal/ngt-modal.module.d.ts +2 -2
- package/components/ngt-multi-select/ngt-multi-select.component.d.ts +97 -97
- package/components/ngt-multi-select/ngt-multi-select.module.d.ts +2 -2
- package/components/ngt-pagination/ngt-pagination.component.d.ts +40 -40
- package/components/ngt-pagination/ngt-pagination.module.d.ts +2 -2
- package/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.d.ts +9 -9
- package/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.d.ts +9 -9
- package/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.d.ts +14 -14
- package/components/ngt-portlet/ngt-portlet.component.d.ts +17 -17
- package/components/ngt-portlet/ngt-portlet.module.d.ts +2 -2
- package/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.d.ts +6 -6
- package/components/ngt-radio-button/ngt-radio-button.component.d.ts +27 -27
- package/components/ngt-radio-button/ngt-radio-button.module.d.ts +2 -2
- package/components/ngt-section/ngt-section.component.d.ts +23 -23
- package/components/ngt-section/ngt-section.module.d.ts +2 -2
- package/components/ngt-select/ngt-select.component.d.ts +122 -122
- package/components/ngt-select/ngt-select.directive.d.ts +13 -13
- package/components/ngt-select/ngt-select.module.d.ts +2 -2
- package/components/ngt-shining/ngt-shining.component.d.ts +16 -16
- package/components/ngt-shining/ngt-shining.module.d.ts +2 -2
- package/components/ngt-sidenav/ngt-sidenav.component.d.ts +29 -29
- package/components/ngt-sidenav/ngt-sidenav.module.d.ts +2 -2
- package/components/ngt-slider/ngt-slider.component.d.ts +31 -31
- package/components/ngt-slider/ngt-slider.module.d.ts +2 -2
- package/components/ngt-svg/ngt-svg.component.d.ts +10 -10
- package/components/ngt-svg/ngt-svg.module.d.ts +2 -2
- package/components/ngt-tag/ngt-tag.component.d.ts +10 -10
- package/components/ngt-tag/ngt-tag.module.d.ts +2 -2
- package/components/ngt-textarea/ngt-textarea.component.d.ts +46 -46
- package/components/ngt-textarea/ngt-textarea.module.d.ts +2 -2
- package/components/ngt-validation/ngt-validation.component.d.ts +10 -10
- package/components/ngt-validation/ngt-validation.module.d.ts +2 -2
- package/directives/ngt-stylizable/ngt-stylizable.directive.d.ts +65 -63
- package/directives/ngt-stylizable/ngt-stylizable.module.d.ts +2 -2
- package/enums/size.enum.d.ts +8 -8
- package/esm2015/animations/ngt-angular-animations.js +34 -34
- package/esm2015/base/ngt-base-ng-model.js +90 -90
- package/esm2015/components/ngt-action/ngt-action.component.js +49 -49
- package/esm2015/components/ngt-action/ngt-action.module.js +19 -19
- package/esm2015/components/ngt-button/ngt-button.component.js +106 -106
- package/esm2015/components/ngt-button/ngt-button.module.js +19 -19
- package/esm2015/components/ngt-checkbox/ngt-checkbox.component.js +137 -137
- package/esm2015/components/ngt-checkbox/ngt-checkbox.module.js +19 -19
- package/esm2015/components/ngt-content/ngt-content.component.js +33 -33
- package/esm2015/components/ngt-content/ngt-content.module.js +15 -15
- package/esm2015/components/ngt-datatable/ngt-datatable.component.js +400 -400
- package/esm2015/components/ngt-datatable/ngt-datatable.module.js +58 -58
- package/esm2015/components/ngt-datatable/ngt-tbody/ngt-tbody.component.js +58 -60
- package/esm2015/components/ngt-datatable/ngt-td/ngt-td.component.js +63 -63
- package/esm2015/components/ngt-datatable/ngt-td-check/ngt-td-check.component.js +102 -102
- package/esm2015/components/ngt-datatable/ngt-th/ngt-th.component.js +192 -192
- package/esm2015/components/ngt-datatable/ngt-th-check/ngt-th-check.component.js +87 -87
- package/esm2015/components/ngt-datatable/ngt-thead/ngt-thead.component.js +56 -58
- package/esm2015/components/ngt-datatable/ngt-tr/ngt-tr.component.js +76 -76
- package/esm2015/components/ngt-date/ngt-date.component.js +354 -352
- package/esm2015/components/ngt-date/ngt-date.module.js +25 -25
- package/esm2015/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.js +20 -20
- package/esm2015/components/ngt-dropdown/ngt-dropdown.component.js +165 -165
- package/esm2015/components/ngt-dropdown/ngt-dropdown.module.js +16 -16
- package/esm2015/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.js +47 -47
- package/esm2015/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.js +46 -45
- package/esm2015/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.js +67 -67
- package/esm2015/components/ngt-dropzone/ngt-dropzone.component.js +411 -411
- package/esm2015/components/ngt-dropzone/ngt-dropzone.module.js +37 -37
- package/esm2015/components/ngt-floating-button/ngt-floating-button.component.js +94 -94
- package/esm2015/components/ngt-floating-button/ngt-floating-button.module.js +19 -19
- package/esm2015/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.js +23 -23
- package/esm2015/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.module.js +15 -15
- package/esm2015/components/ngt-form/ngt-form.component.js +181 -181
- package/esm2015/components/ngt-form/ngt-form.module.js +17 -17
- package/esm2015/components/ngt-header-nav/ngt-header-nav.component.js +38 -38
- package/esm2015/components/ngt-header-nav/ngt-header-nav.module.js +15 -15
- package/esm2015/components/ngt-helper/ngt-helper.component.js +44 -24
- package/esm2015/components/ngt-helper/ngt-helper.module.js +19 -19
- package/esm2015/components/ngt-input/ngt-input.component.js +610 -608
- package/esm2015/components/ngt-input/ngt-input.module.js +28 -28
- package/esm2015/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.js +11 -11
- package/esm2015/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.js +11 -11
- package/esm2015/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.js +40 -40
- package/esm2015/components/ngt-modal/ngt-modal.component.js +79 -79
- package/esm2015/components/ngt-modal/ngt-modal.module.js +28 -28
- package/esm2015/components/ngt-multi-select/ngt-multi-select.component.js +392 -392
- package/esm2015/components/ngt-multi-select/ngt-multi-select.module.js +33 -33
- package/esm2015/components/ngt-pagination/ngt-pagination.component.js +172 -172
- package/esm2015/components/ngt-pagination/ngt-pagination.module.js +23 -23
- package/esm2015/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.js +32 -32
- package/esm2015/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.js +33 -33
- package/esm2015/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.js +47 -45
- package/esm2015/components/ngt-portlet/ngt-portlet.component.js +58 -58
- package/esm2015/components/ngt-portlet/ngt-portlet.module.js +32 -32
- package/esm2015/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.js +19 -19
- package/esm2015/components/ngt-radio-button/ngt-radio-button.component.js +97 -97
- package/esm2015/components/ngt-radio-button/ngt-radio-button.module.js +18 -18
- package/esm2015/components/ngt-section/ngt-section.component.js +98 -98
- package/esm2015/components/ngt-section/ngt-section.module.js +21 -21
- package/esm2015/components/ngt-select/ngt-select.component.js +467 -465
- package/esm2015/components/ngt-select/ngt-select.directive.js +35 -35
- package/esm2015/components/ngt-select/ngt-select.module.js +40 -40
- package/esm2015/components/ngt-shining/ngt-shining.component.js +41 -41
- package/esm2015/components/ngt-shining/ngt-shining.module.js +15 -15
- package/esm2015/components/ngt-sidenav/ngt-sidenav.component.js +123 -123
- package/esm2015/components/ngt-sidenav/ngt-sidenav.module.js +15 -15
- package/esm2015/components/ngt-slider/ngt-slider.component.js +82 -82
- package/esm2015/components/ngt-slider/ngt-slider.module.js +17 -17
- package/esm2015/components/ngt-svg/ngt-svg.component.js +52 -52
- package/esm2015/components/ngt-svg/ngt-svg.module.js +19 -19
- package/esm2015/components/ngt-tag/ngt-tag.component.js +36 -36
- package/esm2015/components/ngt-tag/ngt-tag.module.js +17 -17
- package/esm2015/components/ngt-textarea/ngt-textarea.component.js +211 -209
- package/esm2015/components/ngt-textarea/ngt-textarea.module.js +24 -24
- package/esm2015/components/ngt-validation/ngt-validation.component.js +24 -24
- package/esm2015/components/ngt-validation/ngt-validation.module.js +15 -15
- package/esm2015/directives/ngt-stylizable/ngt-stylizable.directive.js +227 -220
- package/esm2015/directives/ngt-stylizable/ngt-stylizable.module.js +15 -15
- package/esm2015/enums/size.enum.js +11 -11
- package/esm2015/helpers/enum/enum.js +7 -7
- package/esm2015/helpers/form/form.js +14 -14
- package/esm2015/helpers/routing/route.js +11 -11
- package/esm2015/helpers/uuid.js +10 -10
- package/esm2015/ng-tailwind.js +10 -10
- package/esm2015/public-api.js +117 -117
- package/esm2015/services/http/ngt-attachment-http.service.js +3 -3
- package/esm2015/services/http/ngt-http-form.service.js +3 -3
- package/esm2015/services/http/ngt-http-resource.service.js +3 -3
- package/esm2015/services/http/ngt-http-validation.service.js +4 -4
- package/esm2015/services/http/ngt-http.service.js +3 -3
- package/esm2015/services/http/ngt-translate.service.js +3 -3
- package/esm2015/services/ngt-stylizable/ngt-stylizable.service.js +273 -266
- package/fesm2015/ng-tailwind.js +6404 -6365
- package/fesm2015/ng-tailwind.js.map +1 -1
- package/helpers/enum/enum.d.ts +1 -1
- package/helpers/form/form.d.ts +4 -4
- package/helpers/routing/route.d.ts +2 -2
- package/helpers/uuid.d.ts +1 -1
- package/ng-tailwind.d.ts +10 -10
- package/ng-tailwind.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +80 -80
- package/services/http/ngt-attachment-http.service.d.ts +10 -10
- package/services/http/ngt-http-form.service.d.ts +5 -5
- package/services/http/ngt-http-resource.service.d.ts +12 -12
- package/services/http/ngt-http-validation.service.d.ts +10 -10
- package/services/http/ngt-http.service.d.ts +27 -27
- package/services/http/ngt-translate.service.d.ts +27 -27
- package/services/ngt-stylizable/ngt-stylizable.service.d.ts +96 -93
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
-
export declare class NgtFloatingButtonComponent {
|
|
5
|
-
private injector;
|
|
6
|
-
private ngtStylizableDirective;
|
|
7
|
-
menus: Array<NgtFloatingButtonMenu>;
|
|
8
|
-
icon: string;
|
|
9
|
-
label: string;
|
|
10
|
-
withAnimation: boolean;
|
|
11
|
-
isOpen: boolean;
|
|
12
|
-
ngtStyle: NgtStylizableService;
|
|
13
|
-
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
14
|
-
toggleMenu(): void;
|
|
15
|
-
openExternalLink(url: string): void;
|
|
16
|
-
onClick(event: Event, menu: NgtFloatingButtonMenu): any;
|
|
17
|
-
isTypeAction(menu: NgtFloatingButtonMenu): boolean;
|
|
18
|
-
isTypeNavigation(menu: NgtFloatingButtonMenu): boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface NgtFloatingButtonMenu {
|
|
21
|
-
name?: string;
|
|
22
|
-
type: NgtFloatingButtonType;
|
|
23
|
-
icon?: string;
|
|
24
|
-
tooltip?: string;
|
|
25
|
-
externalLink?: boolean;
|
|
26
|
-
url?: string;
|
|
27
|
-
action?: Function;
|
|
28
|
-
}
|
|
29
|
-
export declare enum NgtFloatingButtonType {
|
|
30
|
-
NAVIGATION = "NAVIGATION",
|
|
31
|
-
ACTION = "ACTION"
|
|
32
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
+
export declare class NgtFloatingButtonComponent {
|
|
5
|
+
private injector;
|
|
6
|
+
private ngtStylizableDirective;
|
|
7
|
+
menus: Array<NgtFloatingButtonMenu>;
|
|
8
|
+
icon: string;
|
|
9
|
+
label: string;
|
|
10
|
+
withAnimation: boolean;
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
ngtStyle: NgtStylizableService;
|
|
13
|
+
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
14
|
+
toggleMenu(): void;
|
|
15
|
+
openExternalLink(url: string): void;
|
|
16
|
+
onClick(event: Event, menu: NgtFloatingButtonMenu): any;
|
|
17
|
+
isTypeAction(menu: NgtFloatingButtonMenu): boolean;
|
|
18
|
+
isTypeNavigation(menu: NgtFloatingButtonMenu): boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface NgtFloatingButtonMenu {
|
|
21
|
+
name?: string;
|
|
22
|
+
type: NgtFloatingButtonType;
|
|
23
|
+
icon?: string;
|
|
24
|
+
tooltip?: string;
|
|
25
|
+
externalLink?: boolean;
|
|
26
|
+
url?: string;
|
|
27
|
+
action?: Function;
|
|
28
|
+
}
|
|
29
|
+
export declare enum NgtFloatingButtonType {
|
|
30
|
+
NAVIGATION = "NAVIGATION",
|
|
31
|
+
ACTION = "ACTION"
|
|
32
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class NgtFloatingButtonModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class NgtFloatingButtonModule {
|
|
2
|
+
}
|
package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NgtTranslateService } from '../../../services/http/ngt-translate.service';
|
|
2
|
-
import { NgtFormComponent } from '../ngt-form.component';
|
|
3
|
-
export declare class NgtFormValidationMessageComponent {
|
|
4
|
-
ngtForm: NgtFormComponent;
|
|
5
|
-
ngtTranslateService: NgtTranslateService;
|
|
6
|
-
constructor(ngtForm: NgtFormComponent, ngtTranslateService: NgtTranslateService);
|
|
7
|
-
}
|
|
1
|
+
import { NgtTranslateService } from '../../../services/http/ngt-translate.service';
|
|
2
|
+
import { NgtFormComponent } from '../ngt-form.component';
|
|
3
|
+
export declare class NgtFormValidationMessageComponent {
|
|
4
|
+
ngtForm: NgtFormComponent;
|
|
5
|
+
ngtTranslateService: NgtTranslateService;
|
|
6
|
+
constructor(ngtForm: NgtFormComponent, ngtTranslateService: NgtTranslateService);
|
|
7
|
+
}
|
package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.module.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class NgtFormValidationMessageModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class NgtFormValidationMessageModule {
|
|
2
|
+
}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlContainer, NgForm } from '@angular/forms';
|
|
3
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { NgtHttpFormService } from '../../services/http/ngt-http-form.service';
|
|
6
|
-
export declare class NgtFormComponent implements OnInit, OnDestroy {
|
|
7
|
-
formContainer: ControlContainer;
|
|
8
|
-
ngForm: NgForm;
|
|
9
|
-
router: Router;
|
|
10
|
-
route: ActivatedRoute;
|
|
11
|
-
private ngtHttpFormService;
|
|
12
|
-
guessFormState: boolean;
|
|
13
|
-
message: string;
|
|
14
|
-
routeIdentifier: string;
|
|
15
|
-
resource: any;
|
|
16
|
-
customLayout: boolean;
|
|
17
|
-
static onSubmitInvalidForm: EventEmitter<NgForm>;
|
|
18
|
-
onCreating: EventEmitter<any>;
|
|
19
|
-
onEditing: EventEmitter<any>;
|
|
20
|
-
onLoadingChange: EventEmitter<boolean>;
|
|
21
|
-
onShiningChange: EventEmitter<boolean>;
|
|
22
|
-
setupComponent: EventEmitter<any>;
|
|
23
|
-
onResourceLoadingError: EventEmitter<string>;
|
|
24
|
-
formState: NgtFormState;
|
|
25
|
-
uriId: any;
|
|
26
|
-
private loading;
|
|
27
|
-
private shining;
|
|
28
|
-
private subscriptions;
|
|
29
|
-
constructor(formContainer: ControlContainer, ngForm: NgForm, router: Router, route: ActivatedRoute, ngtHttpFormService: NgtHttpFormService);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
isCreating(): boolean;
|
|
33
|
-
isEditing(): boolean;
|
|
34
|
-
isLoading(): boolean;
|
|
35
|
-
isShining(): boolean;
|
|
36
|
-
canShowValidationMessage(): boolean;
|
|
37
|
-
setShining(shining: boolean): void;
|
|
38
|
-
setLoading(loading: boolean): void;
|
|
39
|
-
setFormState(state: NgtFormState, triggerChange?: boolean): void;
|
|
40
|
-
getFormState(): NgtFormState;
|
|
41
|
-
triggerFormStateChange(): void;
|
|
42
|
-
formHasChanges(): boolean;
|
|
43
|
-
saveResource(): Observable<unknown>;
|
|
44
|
-
protected triggerFormCreating(): void;
|
|
45
|
-
protected triggerFormEditing(): void;
|
|
46
|
-
private determineFormState;
|
|
47
|
-
private destroySubscriptions;
|
|
48
|
-
}
|
|
49
|
-
export declare enum NgtFormState {
|
|
50
|
-
CREATING = "CREATING",
|
|
51
|
-
EDITING = "EDITING"
|
|
52
|
-
}
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlContainer, NgForm } from '@angular/forms';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { NgtHttpFormService } from '../../services/http/ngt-http-form.service';
|
|
6
|
+
export declare class NgtFormComponent implements OnInit, OnDestroy {
|
|
7
|
+
formContainer: ControlContainer;
|
|
8
|
+
ngForm: NgForm;
|
|
9
|
+
router: Router;
|
|
10
|
+
route: ActivatedRoute;
|
|
11
|
+
private ngtHttpFormService;
|
|
12
|
+
guessFormState: boolean;
|
|
13
|
+
message: string;
|
|
14
|
+
routeIdentifier: string;
|
|
15
|
+
resource: any;
|
|
16
|
+
customLayout: boolean;
|
|
17
|
+
static onSubmitInvalidForm: EventEmitter<NgForm>;
|
|
18
|
+
onCreating: EventEmitter<any>;
|
|
19
|
+
onEditing: EventEmitter<any>;
|
|
20
|
+
onLoadingChange: EventEmitter<boolean>;
|
|
21
|
+
onShiningChange: EventEmitter<boolean>;
|
|
22
|
+
setupComponent: EventEmitter<any>;
|
|
23
|
+
onResourceLoadingError: EventEmitter<string>;
|
|
24
|
+
formState: NgtFormState;
|
|
25
|
+
uriId: any;
|
|
26
|
+
private loading;
|
|
27
|
+
private shining;
|
|
28
|
+
private subscriptions;
|
|
29
|
+
constructor(formContainer: ControlContainer, ngForm: NgForm, router: Router, route: ActivatedRoute, ngtHttpFormService: NgtHttpFormService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
isCreating(): boolean;
|
|
33
|
+
isEditing(): boolean;
|
|
34
|
+
isLoading(): boolean;
|
|
35
|
+
isShining(): boolean;
|
|
36
|
+
canShowValidationMessage(): boolean;
|
|
37
|
+
setShining(shining: boolean): void;
|
|
38
|
+
setLoading(loading: boolean): void;
|
|
39
|
+
setFormState(state: NgtFormState, triggerChange?: boolean): void;
|
|
40
|
+
getFormState(): NgtFormState;
|
|
41
|
+
triggerFormStateChange(): void;
|
|
42
|
+
formHasChanges(): boolean;
|
|
43
|
+
saveResource(): Observable<unknown>;
|
|
44
|
+
protected triggerFormCreating(): void;
|
|
45
|
+
protected triggerFormEditing(): void;
|
|
46
|
+
private determineFormState;
|
|
47
|
+
private destroySubscriptions;
|
|
48
|
+
}
|
|
49
|
+
export declare enum NgtFormState {
|
|
50
|
+
CREATING = "CREATING",
|
|
51
|
+
EDITING = "EDITING"
|
|
52
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class NgtFormModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class NgtFormModule {
|
|
2
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
-
export declare class NgtHeaderNavComponent {
|
|
5
|
-
private injector;
|
|
6
|
-
private ngtStylizableDirective;
|
|
7
|
-
element: ElementRef;
|
|
8
|
-
ngtStyle: NgtStylizableService;
|
|
9
|
-
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
10
|
-
ngAfterViewInit(): void;
|
|
11
|
-
}
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
+
export declare class NgtHeaderNavComponent {
|
|
5
|
+
private injector;
|
|
6
|
+
private ngtStylizableDirective;
|
|
7
|
+
element: ElementRef;
|
|
8
|
+
ngtStyle: NgtStylizableService;
|
|
9
|
+
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class NgtHeaderNavModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class NgtHeaderNavModule {
|
|
2
|
+
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { NgtTranslateService } from '../../services/http/ngt-translate.service';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { NgtTranslateService } from '../../services/http/ngt-translate.service';
|
|
3
|
+
import { NgtStylizableService } from "../../services/ngt-stylizable/ngt-stylizable.service";
|
|
4
|
+
import { NgtStylizableDirective } from "../../directives/ngt-stylizable/ngt-stylizable.directive";
|
|
5
|
+
export declare class NgtHelperComponent {
|
|
6
|
+
ngtStylizableDirective: NgtStylizableDirective;
|
|
7
|
+
ngtTranslateService: NgtTranslateService;
|
|
8
|
+
private injector;
|
|
9
|
+
dropdownRef: ElementRef;
|
|
10
|
+
icon: string;
|
|
11
|
+
helpTitle: string;
|
|
12
|
+
iconColor: string;
|
|
13
|
+
ngtStyle: NgtStylizableService;
|
|
14
|
+
constructor(ngtStylizableDirective: NgtStylizableDirective, ngtTranslateService: NgtTranslateService, injector: Injector);
|
|
15
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class NgtHelperModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class NgtHelperModule {
|
|
2
|
+
}
|
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ControlContainer } from '@angular/forms';
|
|
3
|
-
import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
|
|
4
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
5
|
-
import { NgtHttpFindExistingResourceInterface, NgtHttpResourceService } from '../../services/http/ngt-http-resource.service';
|
|
6
|
-
import { NgtHttpValidationService } from '../../services/http/ngt-http-validation.service';
|
|
7
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
8
|
-
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
9
|
-
export declare class NgtInputComponent extends NgtBaseNgModel implements OnInit, OnDestroy {
|
|
10
|
-
private injector;
|
|
11
|
-
private ngtStylizableDirective;
|
|
12
|
-
formContainer: ControlContainer;
|
|
13
|
-
private ngtFormComponent;
|
|
14
|
-
private renderer;
|
|
15
|
-
private ngtValidationService;
|
|
16
|
-
private ngtResourceService;
|
|
17
|
-
private changeDetector;
|
|
18
|
-
element: ElementRef;
|
|
19
|
-
label: string;
|
|
20
|
-
placeholder: string;
|
|
21
|
-
shining: boolean;
|
|
22
|
-
loading: boolean;
|
|
23
|
-
helpTitle: string;
|
|
24
|
-
helpTextColor: string;
|
|
25
|
-
helpText: string;
|
|
26
|
-
innerLeftIcon: string;
|
|
27
|
-
innerLeftIconColor: string;
|
|
28
|
-
innerRightIcon: string;
|
|
29
|
-
innerRightIconColor: string;
|
|
30
|
-
decimalMaskPrecision: number;
|
|
31
|
-
isDisabled: boolean;
|
|
32
|
-
isReadonly: boolean;
|
|
33
|
-
type: string;
|
|
34
|
-
name: string;
|
|
35
|
-
mask: string;
|
|
36
|
-
focus: boolean;
|
|
37
|
-
allowClear: boolean;
|
|
38
|
-
jit: boolean;
|
|
39
|
-
findExistingResource: NgtHttpFindExistingResourceInterface;
|
|
40
|
-
isRequired: boolean;
|
|
41
|
-
uniqueResource: any;
|
|
42
|
-
minValue: number;
|
|
43
|
-
maxValue: number;
|
|
44
|
-
maxLength: number;
|
|
45
|
-
minLength: number;
|
|
46
|
-
match: string;
|
|
47
|
-
multipleOf: number;
|
|
48
|
-
externalServerDependency: boolean;
|
|
49
|
-
onClickLeftIcon: EventEmitter<any>;
|
|
50
|
-
onClickRightIcon: EventEmitter<any>;
|
|
51
|
-
existingResourceId: string;
|
|
52
|
-
componentReady: boolean;
|
|
53
|
-
inputProperties: {
|
|
54
|
-
htmlType?: string;
|
|
55
|
-
length?: number;
|
|
56
|
-
};
|
|
57
|
-
ngtStyle: NgtStylizableService;
|
|
58
|
-
private emailValidatorTimeout;
|
|
59
|
-
private uniqueValidatorTimeout;
|
|
60
|
-
private searchExistingResourceTimeout;
|
|
61
|
-
private subscriptions;
|
|
62
|
-
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, renderer: Renderer2, ngtValidationService: NgtHttpValidationService, ngtResourceService: NgtHttpResourceService, changeDetector: ChangeDetectorRef);
|
|
63
|
-
setFocus(): void;
|
|
64
|
-
clearInput(event?: Event): void;
|
|
65
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
66
|
-
ngOnDestroy(): void;
|
|
67
|
-
change(value: any): void;
|
|
68
|
-
ngOnInit(): void;
|
|
69
|
-
getInputPaddings(): string;
|
|
70
|
-
showPassword(): void;
|
|
71
|
-
hidePassword(): void;
|
|
72
|
-
private initComponent;
|
|
73
|
-
private updateValidations;
|
|
74
|
-
private setupMasks;
|
|
75
|
-
private setupProperties;
|
|
76
|
-
private minValueValidator;
|
|
77
|
-
private multipleOfValidator;
|
|
78
|
-
private externalServerDependencyValidator;
|
|
79
|
-
private timeValidator;
|
|
80
|
-
private cnpjCpfValidator;
|
|
81
|
-
private matchValidator;
|
|
82
|
-
private emailValidator;
|
|
83
|
-
private searchExistingResource;
|
|
84
|
-
private uniqueValidator;
|
|
85
|
-
private validatorCNPJ;
|
|
86
|
-
private validatorCPF;
|
|
87
|
-
private getNativeValue;
|
|
88
|
-
private getElementTitle;
|
|
89
|
-
private removeMasks;
|
|
90
|
-
private hasEmailServiceValidation;
|
|
91
|
-
private destroySubscriptions;
|
|
92
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ControlContainer } from '@angular/forms';
|
|
3
|
+
import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
|
|
4
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
5
|
+
import { NgtHttpFindExistingResourceInterface, NgtHttpResourceService } from '../../services/http/ngt-http-resource.service';
|
|
6
|
+
import { NgtHttpValidationService } from '../../services/http/ngt-http-validation.service';
|
|
7
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
8
|
+
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
9
|
+
export declare class NgtInputComponent extends NgtBaseNgModel implements OnInit, OnDestroy {
|
|
10
|
+
private injector;
|
|
11
|
+
private ngtStylizableDirective;
|
|
12
|
+
formContainer: ControlContainer;
|
|
13
|
+
private ngtFormComponent;
|
|
14
|
+
private renderer;
|
|
15
|
+
private ngtValidationService;
|
|
16
|
+
private ngtResourceService;
|
|
17
|
+
private changeDetector;
|
|
18
|
+
element: ElementRef;
|
|
19
|
+
label: string;
|
|
20
|
+
placeholder: string;
|
|
21
|
+
shining: boolean;
|
|
22
|
+
loading: boolean;
|
|
23
|
+
helpTitle: string;
|
|
24
|
+
helpTextColor: string;
|
|
25
|
+
helpText: string;
|
|
26
|
+
innerLeftIcon: string;
|
|
27
|
+
innerLeftIconColor: string;
|
|
28
|
+
innerRightIcon: string;
|
|
29
|
+
innerRightIconColor: string;
|
|
30
|
+
decimalMaskPrecision: number;
|
|
31
|
+
isDisabled: boolean;
|
|
32
|
+
isReadonly: boolean;
|
|
33
|
+
type: string;
|
|
34
|
+
name: string;
|
|
35
|
+
mask: string;
|
|
36
|
+
focus: boolean;
|
|
37
|
+
allowClear: boolean;
|
|
38
|
+
jit: boolean;
|
|
39
|
+
findExistingResource: NgtHttpFindExistingResourceInterface;
|
|
40
|
+
isRequired: boolean;
|
|
41
|
+
uniqueResource: any;
|
|
42
|
+
minValue: number;
|
|
43
|
+
maxValue: number;
|
|
44
|
+
maxLength: number;
|
|
45
|
+
minLength: number;
|
|
46
|
+
match: string;
|
|
47
|
+
multipleOf: number;
|
|
48
|
+
externalServerDependency: boolean;
|
|
49
|
+
onClickLeftIcon: EventEmitter<any>;
|
|
50
|
+
onClickRightIcon: EventEmitter<any>;
|
|
51
|
+
existingResourceId: string;
|
|
52
|
+
componentReady: boolean;
|
|
53
|
+
inputProperties: {
|
|
54
|
+
htmlType?: string;
|
|
55
|
+
length?: number;
|
|
56
|
+
};
|
|
57
|
+
ngtStyle: NgtStylizableService;
|
|
58
|
+
private emailValidatorTimeout;
|
|
59
|
+
private uniqueValidatorTimeout;
|
|
60
|
+
private searchExistingResourceTimeout;
|
|
61
|
+
private subscriptions;
|
|
62
|
+
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective, formContainer: ControlContainer, ngtFormComponent: NgtFormComponent, renderer: Renderer2, ngtValidationService: NgtHttpValidationService, ngtResourceService: NgtHttpResourceService, changeDetector: ChangeDetectorRef);
|
|
63
|
+
setFocus(): void;
|
|
64
|
+
clearInput(event?: Event): void;
|
|
65
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
66
|
+
ngOnDestroy(): void;
|
|
67
|
+
change(value: any): void;
|
|
68
|
+
ngOnInit(): void;
|
|
69
|
+
getInputPaddings(): string;
|
|
70
|
+
showPassword(): void;
|
|
71
|
+
hidePassword(): void;
|
|
72
|
+
private initComponent;
|
|
73
|
+
private updateValidations;
|
|
74
|
+
private setupMasks;
|
|
75
|
+
private setupProperties;
|
|
76
|
+
private minValueValidator;
|
|
77
|
+
private multipleOfValidator;
|
|
78
|
+
private externalServerDependencyValidator;
|
|
79
|
+
private timeValidator;
|
|
80
|
+
private cnpjCpfValidator;
|
|
81
|
+
private matchValidator;
|
|
82
|
+
private emailValidator;
|
|
83
|
+
private searchExistingResource;
|
|
84
|
+
private uniqueValidator;
|
|
85
|
+
private validatorCNPJ;
|
|
86
|
+
private validatorCPF;
|
|
87
|
+
private getNativeValue;
|
|
88
|
+
private getElementTitle;
|
|
89
|
+
private removeMasks;
|
|
90
|
+
private hasEmailServiceValidation;
|
|
91
|
+
private destroySubscriptions;
|
|
92
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class NgtInputModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class NgtInputModule {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class NgtModalBodyComponent {
|
|
2
|
-
}
|
|
1
|
+
export declare class NgtModalBodyComponent {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class NgtModalFooterComponent {
|
|
2
|
-
}
|
|
1
|
+
export declare class NgtModalFooterComponent {
|
|
2
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { NgtStylizableDirective } from '../../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
-
import { NgtStylizableService } from '../../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
-
import { NgtModalComponent } from '../ngt-modal.component';
|
|
5
|
-
export declare class NgtModalHeaderComponent {
|
|
6
|
-
private ngtModalInstance;
|
|
7
|
-
private injector;
|
|
8
|
-
private tailStylizableDirective;
|
|
9
|
-
ngtModal: NgtModalComponent;
|
|
10
|
-
ngtStyle: NgtStylizableService;
|
|
11
|
-
constructor(ngtModalInstance: NgtModalComponent, injector: Injector, tailStylizableDirective: NgtStylizableDirective);
|
|
12
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { NgtStylizableDirective } from '../../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
+
import { NgtStylizableService } from '../../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
+
import { NgtModalComponent } from '../ngt-modal.component';
|
|
5
|
+
export declare class NgtModalHeaderComponent {
|
|
6
|
+
private ngtModalInstance;
|
|
7
|
+
private injector;
|
|
8
|
+
private tailStylizableDirective;
|
|
9
|
+
ngtModal: NgtModalComponent;
|
|
10
|
+
ngtStyle: NgtStylizableService;
|
|
11
|
+
constructor(ngtModalInstance: NgtModalComponent, injector: Injector, tailStylizableDirective: NgtStylizableDirective);
|
|
12
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, Injector } from '@angular/core';
|
|
2
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
-
export declare class NgtModalComponent {
|
|
5
|
-
private changeDetectorRef;
|
|
6
|
-
private injector;
|
|
7
|
-
private tailStylizableDirective;
|
|
8
|
-
customLayout: boolean;
|
|
9
|
-
disableDefaultCloses: boolean;
|
|
10
|
-
ngtStyle: NgtStylizableService;
|
|
11
|
-
onCloseModal: EventEmitter<any>;
|
|
12
|
-
onOpenModal: EventEmitter<any>;
|
|
13
|
-
isOpen: boolean;
|
|
14
|
-
private keydownEventWasAdded;
|
|
15
|
-
constructor(changeDetectorRef: ChangeDetectorRef, injector: Injector, tailStylizableDirective: NgtStylizableDirective);
|
|
16
|
-
close(): void;
|
|
17
|
-
open(): void;
|
|
18
|
-
private addKeydownEventListener;
|
|
19
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, Injector } from '@angular/core';
|
|
2
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
+
export declare class NgtModalComponent {
|
|
5
|
+
private changeDetectorRef;
|
|
6
|
+
private injector;
|
|
7
|
+
private tailStylizableDirective;
|
|
8
|
+
customLayout: boolean;
|
|
9
|
+
disableDefaultCloses: boolean;
|
|
10
|
+
ngtStyle: NgtStylizableService;
|
|
11
|
+
onCloseModal: EventEmitter<any>;
|
|
12
|
+
onOpenModal: EventEmitter<any>;
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
private keydownEventWasAdded;
|
|
15
|
+
constructor(changeDetectorRef: ChangeDetectorRef, injector: Injector, tailStylizableDirective: NgtStylizableDirective);
|
|
16
|
+
close(): void;
|
|
17
|
+
open(): void;
|
|
18
|
+
private addKeydownEventListener;
|
|
19
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class NgtModalModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class NgtModalModule {
|
|
2
|
+
}
|