ng-tailwind 4.1.13 → 4.1.14
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/components/ngt-action/ngt-action.component.d.ts +16 -16
- package/components/ngt-action/ngt-action.module.d.ts +10 -10
- package/components/ngt-button/ngt-button.component.d.ts +25 -25
- package/components/ngt-button/ngt-button.module.d.ts +10 -10
- package/components/ngt-checkbox/ngt-checkbox.component.d.ts +47 -46
- package/components/ngt-checkbox/ngt-checkbox.module.d.ts +10 -10
- package/components/ngt-content/ngt-content.component.d.ts +12 -12
- package/components/ngt-content/ngt-content.module.d.ts +8 -8
- package/components/ngt-datatable/ngt-datatable.component.d.ts +117 -117
- package/components/ngt-datatable/ngt-datatable.module.d.ts +24 -24
- package/components/ngt-datatable/ngt-tbody/ngt-tbody.component.d.ts +14 -14
- package/components/ngt-datatable/ngt-td/ngt-td.component.d.ts +14 -14
- package/components/ngt-datatable/ngt-td-check/ngt-td-check.component.d.ts +29 -29
- package/components/ngt-datatable/ngt-th/ngt-th.component.d.ts +51 -51
- package/components/ngt-datatable/ngt-th-check/ngt-th-check.component.d.ts +22 -22
- package/components/ngt-datatable/ngt-thead/ngt-thead.component.d.ts +13 -13
- package/components/ngt-datatable/ngt-tr/ngt-tr.component.d.ts +20 -20
- package/components/ngt-date/ngt-date.component.d.ts +79 -79
- package/components/ngt-date/ngt-date.module.d.ts +13 -13
- package/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.d.ts +8 -8
- package/components/ngt-dropdown/ngt-dropdown.component.d.ts +53 -53
- package/components/ngt-dropdown/ngt-dropdown.module.d.ts +9 -9
- package/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.d.ts +14 -14
- package/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.d.ts +25 -25
- package/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.d.ts +35 -35
- package/components/ngt-dropzone/ngt-dropzone.component.d.ts +86 -86
- package/components/ngt-dropzone/ngt-dropzone.meta.d.ts +27 -27
- package/components/ngt-dropzone/ngt-dropzone.module.d.ts +17 -17
- package/components/ngt-floating-button/ngt-floating-button.component.d.ts +35 -35
- package/components/ngt-floating-button/ngt-floating-button.module.d.ts +10 -10
- package/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.d.ts +10 -10
- package/components/ngt-form/ngt-form.component.d.ts +55 -55
- package/components/ngt-form/ngt-form.module.d.ts +9 -9
- package/components/ngt-header-nav/ngt-header-nav.component.d.ts +14 -14
- package/components/ngt-header-nav/ngt-header-nav.module.d.ts +8 -8
- package/components/ngt-helper/ngt-helper.component.d.ts +25 -25
- package/components/ngt-helper/ngt-helper.module.d.ts +10 -10
- package/components/ngt-input/ngt-input.component.d.ts +109 -109
- package/components/ngt-input/ngt-input.module.d.ts +14 -14
- package/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.d.ts +5 -5
- package/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.d.ts +5 -5
- package/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.d.ts +15 -15
- package/components/ngt-modal/ngt-modal.component.d.ts +25 -25
- package/components/ngt-modal/ngt-modal.module.d.ts +11 -11
- package/components/ngt-multi-select/ngt-multi-select.component.d.ts +103 -103
- package/components/ngt-multi-select/ngt-multi-select.module.d.ts +15 -15
- package/components/ngt-pagination/ngt-pagination.component.d.ts +43 -43
- package/components/ngt-pagination/ngt-pagination.module.d.ts +12 -12
- package/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.d.ts +15 -15
- package/components/ngt-popover/ngt-popover.component.d.ts +31 -31
- package/components/ngt-popover/ngt-popover.directive.d.ts +27 -27
- package/components/ngt-popover/ngt-popover.module.d.ts +11 -11
- package/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.d.ts +12 -12
- package/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.d.ts +12 -12
- package/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.d.ts +17 -17
- package/components/ngt-portlet/ngt-portlet.component.d.ts +20 -20
- package/components/ngt-portlet/ngt-portlet.module.d.ts +13 -13
- package/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.d.ts +9 -9
- package/components/ngt-radio-button/ngt-radio-button.component.d.ts +35 -35
- package/components/ngt-radio-button/ngt-radio-button.module.d.ts +11 -11
- package/components/ngt-section/ngt-section.component.d.ts +29 -29
- package/components/ngt-section/ngt-section.module.d.ts +11 -11
- package/components/ngt-select/ngt-select.component.d.ts +135 -135
- package/components/ngt-select/ngt-select.directive.d.ts +20 -20
- package/components/ngt-select/ngt-select.module.d.ts +16 -16
- package/components/ngt-shining/ngt-shining.component.d.ts +19 -19
- package/components/ngt-shining/ngt-shining.module.d.ts +8 -8
- package/components/ngt-sidenav/ngt-sidenav.component.d.ts +32 -32
- package/components/ngt-sidenav/ngt-sidenav.module.d.ts +8 -8
- package/components/ngt-slider/ngt-slider.component.d.ts +34 -34
- package/components/ngt-slider/ngt-slider.module.d.ts +9 -9
- package/components/ngt-svg/ngt-svg.component.d.ts +13 -13
- package/components/ngt-svg/ngt-svg.module.d.ts +10 -10
- package/components/ngt-tag/ngt-tag.component.d.ts +13 -13
- package/components/ngt-tag/ngt-tag.module.d.ts +9 -9
- package/components/ngt-textarea/ngt-textarea.component.d.ts +49 -49
- package/components/ngt-textarea/ngt-textarea.module.d.ts +13 -13
- package/components/ngt-validation/ngt-validation.component.d.ts +13 -13
- package/components/ngt-validation/ngt-validation.module.d.ts +8 -8
- package/directives/ngt-stylizable/ngt-stylizable.directive.d.ts +68 -68
- package/directives/ngt-stylizable/ngt-stylizable.module.d.ts +8 -8
- package/enums/size.enum.d.ts +8 -8
- package/esm2020/animations/ngt-angular-animations.mjs +34 -34
- package/esm2020/base/ngt-base-ng-model.mjs +90 -90
- package/esm2020/components/ngt-action/ngt-action.component.mjs +54 -54
- package/esm2020/components/ngt-action/ngt-action.module.mjs +28 -28
- package/esm2020/components/ngt-button/ngt-button.component.mjs +115 -115
- package/esm2020/components/ngt-button/ngt-button.module.mjs +28 -28
- package/esm2020/components/ngt-checkbox/ngt-checkbox.component.mjs +177 -175
- package/esm2020/components/ngt-checkbox/ngt-checkbox.module.mjs +28 -28
- package/esm2020/components/ngt-content/ngt-content.component.mjs +32 -32
- package/esm2020/components/ngt-content/ngt-content.module.mjs +20 -20
- package/esm2020/components/ngt-datatable/ngt-datatable.component.mjs +431 -431
- package/esm2020/components/ngt-datatable/ngt-datatable.module.mjs +95 -95
- package/esm2020/components/ngt-datatable/ngt-tbody/ngt-tbody.component.mjs +57 -57
- package/esm2020/components/ngt-datatable/ngt-td/ngt-td.component.mjs +62 -62
- package/esm2020/components/ngt-datatable/ngt-td-check/ngt-td-check.component.mjs +113 -113
- package/esm2020/components/ngt-datatable/ngt-th/ngt-th.component.mjs +211 -211
- package/esm2020/components/ngt-datatable/ngt-th-check/ngt-th-check.component.mjs +91 -91
- package/esm2020/components/ngt-datatable/ngt-thead/ngt-thead.component.mjs +55 -55
- package/esm2020/components/ngt-datatable/ngt-tr/ngt-tr.component.mjs +86 -86
- package/esm2020/components/ngt-date/ngt-date.component.mjs +418 -418
- package/esm2020/components/ngt-date/ngt-date.module.mjs +40 -40
- package/esm2020/components/ngt-dropdown/ngt-dropdown-container/ngt-dropdown-container.component.mjs +19 -19
- package/esm2020/components/ngt-dropdown/ngt-dropdown.component.mjs +204 -204
- package/esm2020/components/ngt-dropdown/ngt-dropdown.module.mjs +21 -21
- package/esm2020/components/ngt-dropzone/custom-dropzone-preview/custom-dropzone-preview.component.mjs +54 -54
- package/esm2020/components/ngt-dropzone/ngt-dropzone-file-viewer/ngt-dropzone-file-viewer.component.mjs +66 -66
- package/esm2020/components/ngt-dropzone/ngt-dropzone-view/ngt-dropzone-view.component.mjs +94 -94
- package/esm2020/components/ngt-dropzone/ngt-dropzone.component.mjs +464 -464
- package/esm2020/components/ngt-dropzone/ngt-dropzone.meta.mjs +24 -24
- package/esm2020/components/ngt-dropzone/ngt-dropzone.module.mjs +55 -55
- package/esm2020/components/ngt-floating-button/ngt-floating-button.component.mjs +119 -119
- package/esm2020/components/ngt-floating-button/ngt-floating-button.module.mjs +28 -28
- package/esm2020/components/ngt-form/ngt-form-validation-message/ngt-form-validation-message.component.mjs +22 -22
- package/esm2020/components/ngt-form/ngt-form.component.mjs +193 -193
- package/esm2020/components/ngt-form/ngt-form.module.mjs +29 -29
- package/esm2020/components/ngt-header-nav/ngt-header-nav.component.mjs +39 -39
- package/esm2020/components/ngt-header-nav/ngt-header-nav.module.mjs +20 -20
- package/esm2020/components/ngt-helper/ngt-helper.component.mjs +68 -68
- package/esm2020/components/ngt-helper/ngt-helper.module.mjs +28 -28
- package/esm2020/components/ngt-input/ngt-input.component.mjs +722 -722
- package/esm2020/components/ngt-input/ngt-input.module.mjs +47 -47
- package/esm2020/components/ngt-modal/ngt-modal-body/ngt-modal-body.component.mjs +11 -11
- package/esm2020/components/ngt-modal/ngt-modal-footer/ngt-modal-footer.component.mjs +11 -11
- package/esm2020/components/ngt-modal/ngt-modal-header/ngt-modal-header.component.mjs +38 -38
- package/esm2020/components/ngt-modal/ngt-modal.component.mjs +102 -102
- package/esm2020/components/ngt-modal/ngt-modal.module.mjs +39 -39
- package/esm2020/components/ngt-multi-select/ngt-multi-select.component.mjs +446 -446
- package/esm2020/components/ngt-multi-select/ngt-multi-select.module.mjs +52 -52
- package/esm2020/components/ngt-pagination/ngt-pagination.component.mjs +162 -162
- package/esm2020/components/ngt-pagination/ngt-pagination.module.mjs +36 -36
- package/esm2020/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.mjs +40 -40
- package/esm2020/components/ngt-popover/ngt-popover.component.mjs +85 -85
- package/esm2020/components/ngt-popover/ngt-popover.directive.mjs +105 -105
- package/esm2020/components/ngt-popover/ngt-popover.module.mjs +36 -36
- package/esm2020/components/ngt-portlet/ngt-portlet-body/ngt-portlet-body.component.mjs +34 -34
- package/esm2020/components/ngt-portlet/ngt-portlet-footer/ngt-portlet-footer.component.mjs +33 -33
- package/esm2020/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.mjs +53 -53
- package/esm2020/components/ngt-portlet/ngt-portlet.component.mjs +74 -74
- package/esm2020/components/ngt-portlet/ngt-portlet.module.mjs +47 -47
- package/esm2020/components/ngt-radio-button/ngt-radio-button-container/ngt-radio-button-container.component.mjs +19 -19
- package/esm2020/components/ngt-radio-button/ngt-radio-button.component.mjs +125 -125
- package/esm2020/components/ngt-radio-button/ngt-radio-button.module.mjs +29 -29
- package/esm2020/components/ngt-section/ngt-section.component.mjs +119 -119
- package/esm2020/components/ngt-section/ngt-section.module.mjs +32 -32
- package/esm2020/components/ngt-select/ngt-select.component.mjs +552 -552
- package/esm2020/components/ngt-select/ngt-select.directive.mjs +36 -36
- package/esm2020/components/ngt-select/ngt-select.module.mjs +65 -65
- package/esm2020/components/ngt-shining/ngt-shining.component.mjs +40 -40
- package/esm2020/components/ngt-shining/ngt-shining.module.mjs +20 -20
- package/esm2020/components/ngt-sidenav/ngt-sidenav.component.mjs +132 -132
- package/esm2020/components/ngt-sidenav/ngt-sidenav.module.mjs +20 -20
- package/esm2020/components/ngt-slider/ngt-slider.component.mjs +99 -99
- package/esm2020/components/ngt-slider/ngt-slider.module.mjs +24 -24
- package/esm2020/components/ngt-svg/ngt-svg.component.mjs +53 -53
- package/esm2020/components/ngt-svg/ngt-svg.module.mjs +28 -28
- package/esm2020/components/ngt-tag/ngt-tag.component.mjs +37 -37
- package/esm2020/components/ngt-tag/ngt-tag.module.mjs +24 -24
- package/esm2020/components/ngt-textarea/ngt-textarea.component.mjs +238 -238
- package/esm2020/components/ngt-textarea/ngt-textarea.module.mjs +43 -43
- package/esm2020/components/ngt-validation/ngt-validation.component.mjs +26 -26
- package/esm2020/components/ngt-validation/ngt-validation.module.mjs +20 -20
- package/esm2020/directives/ngt-stylizable/ngt-stylizable.directive.mjs +290 -290
- package/esm2020/directives/ngt-stylizable/ngt-stylizable.module.mjs +20 -20
- package/esm2020/enums/size.enum.mjs +11 -11
- package/esm2020/helpers/enum/enum.mjs +7 -7
- package/esm2020/helpers/form/form.mjs +14 -14
- package/esm2020/helpers/input-mask/input-mask.helper.mjs +23 -23
- package/esm2020/helpers/routing/route.mjs +11 -11
- package/esm2020/helpers/uuid.mjs +10 -10
- package/esm2020/ng-tailwind.mjs +4 -4
- package/esm2020/public-api.mjs +121 -121
- package/esm2020/services/http/ngt-attachment-http.service.mjs +3 -3
- package/esm2020/services/http/ngt-http-form.service.mjs +3 -3
- package/esm2020/services/http/ngt-http-resource.service.mjs +3 -3
- package/esm2020/services/http/ngt-http-validation.service.mjs +3 -3
- package/esm2020/services/http/ngt-http.service.mjs +3 -3
- package/esm2020/services/http/ngt-translate.service.mjs +3 -3
- package/esm2020/services/ngt-stylizable/ngt-stylizable.service.mjs +273 -273
- package/fesm2015/ng-tailwind.mjs +7792 -7790
- package/fesm2015/ng-tailwind.mjs.map +1 -1
- package/fesm2020/ng-tailwind.mjs +7655 -7653
- package/fesm2020/ng-tailwind.mjs.map +1 -1
- package/helpers/enum/enum.d.ts +1 -1
- package/helpers/form/form.d.ts +4 -4
- package/helpers/input-mask/input-mask.helper.d.ts +17 -17
- package/helpers/routing/route.d.ts +2 -2
- package/helpers/uuid.d.ts +1 -1
- package/index.d.ts +5 -5
- package/package.json +1 -1
- package/public-api.d.ts +83 -83
- 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 +11 -11
- package/services/http/ngt-http.service.d.ts +27 -27
- package/services/http/ngt-translate.service.d.ts +29 -29
- package/services/ngt-stylizable/ngt-stylizable.service.d.ts +96 -96
package/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# NgTailwind
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project ng-tailwind` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-tailwind`.
|
|
8
|
-
> Note: Don't forget to add `--project ng-tailwind` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build ng-tailwind` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build ng-tailwind`, go to the dist folder `cd dist/ng-tailwind` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test ng-tailwind` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
|
|
1
|
+
# NgTailwind
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project ng-tailwind` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-tailwind`.
|
|
8
|
+
> Note: Don't forget to add `--project ng-tailwind` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build ng-tailwind` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build ng-tailwind`, go to the dist folder `cd dist/ng-tailwind` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test ng-tailwind` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnimationStyleMetadata } from '@angular/animations';
|
|
2
|
-
export declare function slideLeftToRightAnimation(name: string, duration: any, customStyle?: AnimationStyleMetadata): import("@angular/animations").AnimationTriggerMetadata;
|
|
3
|
-
export declare function slideRightToLeftAnimation(name: string, duration: any, customStyle?: AnimationStyleMetadata): import("@angular/animations").AnimationTriggerMetadata;
|
|
4
|
-
export declare function fadeDownAnimation(name: string, duration: any, customStyle?: AnimationStyleMetadata): import("@angular/animations").AnimationTriggerMetadata;
|
|
5
|
-
export declare function fadeUpAnimation(name: string, duration: any, customStyle?: AnimationStyleMetadata): import("@angular/animations").AnimationTriggerMetadata;
|
|
1
|
+
import { AnimationStyleMetadata } from '@angular/animations';
|
|
2
|
+
export declare function slideLeftToRightAnimation(name: string, duration: any, customStyle?: AnimationStyleMetadata): import("@angular/animations").AnimationTriggerMetadata;
|
|
3
|
+
export declare function slideRightToLeftAnimation(name: string, duration: any, customStyle?: AnimationStyleMetadata): import("@angular/animations").AnimationTriggerMetadata;
|
|
4
|
+
export declare function fadeDownAnimation(name: string, duration: any, customStyle?: AnimationStyleMetadata): import("@angular/animations").AnimationTriggerMetadata;
|
|
5
|
+
export declare function fadeUpAnimation(name: string, duration: any, customStyle?: AnimationStyleMetadata): import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlContainer, ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
/**
|
|
4
|
-
* Based on https://stackoverflow.com/a/37786142/8055997
|
|
5
|
-
*/
|
|
6
|
-
export declare abstract class NgtBaseNgModel implements ControlValueAccessor {
|
|
7
|
-
formControl: AbstractControl;
|
|
8
|
-
formContainer: ControlContainer;
|
|
9
|
-
onValueChangeEvent: EventEmitter<any>;
|
|
10
|
-
private ignore;
|
|
11
|
-
private _value;
|
|
12
|
-
constructor();
|
|
13
|
-
get value(): any;
|
|
14
|
-
set value(v: any);
|
|
15
|
-
onValueChange(): EventEmitter<any>;
|
|
16
|
-
writeValue(value: any): void;
|
|
17
|
-
onChange: (_: any) => void;
|
|
18
|
-
change(v: any): void;
|
|
19
|
-
onTouched: () => void;
|
|
20
|
-
registerOnChange(fn: (_: any) => void): void;
|
|
21
|
-
registerOnTouched(fn: () => void): void;
|
|
22
|
-
isValid(): boolean;
|
|
23
|
-
markAsPristine(): void;
|
|
24
|
-
markAsDirty(): void;
|
|
25
|
-
setSubmitted(submitted: boolean): void;
|
|
26
|
-
private valuesAreEquals;
|
|
27
|
-
}
|
|
28
|
-
export declare function NgtMakeProvider(type: any): {
|
|
29
|
-
provide: import("@angular/core").InjectionToken<readonly ControlValueAccessor[]>;
|
|
30
|
-
useExisting: import("@angular/core").Type<any>;
|
|
31
|
-
multi: boolean;
|
|
32
|
-
};
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlContainer, ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
/**
|
|
4
|
+
* Based on https://stackoverflow.com/a/37786142/8055997
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class NgtBaseNgModel implements ControlValueAccessor {
|
|
7
|
+
formControl: AbstractControl;
|
|
8
|
+
formContainer: ControlContainer;
|
|
9
|
+
onValueChangeEvent: EventEmitter<any>;
|
|
10
|
+
private ignore;
|
|
11
|
+
private _value;
|
|
12
|
+
constructor();
|
|
13
|
+
get value(): any;
|
|
14
|
+
set value(v: any);
|
|
15
|
+
onValueChange(): EventEmitter<any>;
|
|
16
|
+
writeValue(value: any): void;
|
|
17
|
+
onChange: (_: any) => void;
|
|
18
|
+
change(v: any): void;
|
|
19
|
+
onTouched: () => void;
|
|
20
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
21
|
+
registerOnTouched(fn: () => void): void;
|
|
22
|
+
isValid(): boolean;
|
|
23
|
+
markAsPristine(): void;
|
|
24
|
+
markAsDirty(): void;
|
|
25
|
+
setSubmitted(submitted: boolean): void;
|
|
26
|
+
private valuesAreEquals;
|
|
27
|
+
}
|
|
28
|
+
export declare function NgtMakeProvider(type: any): {
|
|
29
|
+
provide: import("@angular/core").InjectionToken<readonly ControlValueAccessor[]>;
|
|
30
|
+
useExisting: import("@angular/core").Type<any>;
|
|
31
|
+
multi: boolean;
|
|
32
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
5
|
-
export declare class NgtActionComponent {
|
|
6
|
-
private injector;
|
|
7
|
-
private ngtStylizableDirective;
|
|
8
|
-
href: string;
|
|
9
|
-
icon: string;
|
|
10
|
-
ngtStyle: NgtStylizableService;
|
|
11
|
-
isDisabled: boolean;
|
|
12
|
-
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
13
|
-
onClick(event: Event): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtActionComponent, [null, { optional: true; self: true; }]>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtActionComponent, "ngt-action", never, { "href": "href"; "icon": "icon"; "ngtStyle": "ngtStyle"; "isDisabled": "isDisabled"; }, {}, never, ["*", "*"], false, never>;
|
|
16
|
-
}
|
|
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 * as i0 from "@angular/core";
|
|
5
|
+
export declare class NgtActionComponent {
|
|
6
|
+
private injector;
|
|
7
|
+
private ngtStylizableDirective;
|
|
8
|
+
href: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
ngtStyle: NgtStylizableService;
|
|
11
|
+
isDisabled: boolean;
|
|
12
|
+
constructor(injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
13
|
+
onClick(event: Event): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtActionComponent, [null, { optional: true; self: true; }]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtActionComponent, "ngt-action", never, { "href": "href"; "icon": "icon"; "ngtStyle": "ngtStyle"; "isDisabled": "isDisabled"; }, {}, never, ["*", "*"], false, never>;
|
|
16
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ngt-action.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/router";
|
|
5
|
-
import * as i4 from "../ngt-svg/ngt-svg.module";
|
|
6
|
-
export declare class NgtActionModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtActionModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtActionModule, [typeof i1.NgtActionComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.NgtSvgModule], [typeof i1.NgtActionComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgtActionModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngt-action.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
import * as i4 from "../ngt-svg/ngt-svg.module";
|
|
6
|
+
export declare class NgtActionModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtActionModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtActionModule, [typeof i1.NgtActionComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.NgtSvgModule], [typeof i1.NgtActionComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgtActionModule>;
|
|
10
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Injector, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
-
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgtButtonComponent implements OnChanges, OnDestroy {
|
|
7
|
-
private ngtFormComponent;
|
|
8
|
-
private injector;
|
|
9
|
-
private ngtStylizableDirective;
|
|
10
|
-
link: boolean;
|
|
11
|
-
href: string;
|
|
12
|
-
type: string;
|
|
13
|
-
loading: boolean;
|
|
14
|
-
isDisabled: boolean;
|
|
15
|
-
noSubmit: boolean;
|
|
16
|
-
ngtStyle: NgtStylizableService;
|
|
17
|
-
private subscriptions;
|
|
18
|
-
constructor(ngtFormComponent: NgtFormComponent, injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
19
|
-
onClick(event: Event): void;
|
|
20
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
private destroySubscriptions;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtButtonComponent, [{ optional: true; skipSelf: true; }, null, { optional: true; self: true; }]>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtButtonComponent, "ngt-button", never, { "link": "link"; "href": "href"; "type": "type"; "loading": "loading"; "isDisabled": "isDisabled"; "noSubmit": "noSubmit"; }, {}, never, ["*"], false, never>;
|
|
25
|
-
}
|
|
1
|
+
import { Injector, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
3
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
4
|
+
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NgtButtonComponent implements OnChanges, OnDestroy {
|
|
7
|
+
private ngtFormComponent;
|
|
8
|
+
private injector;
|
|
9
|
+
private ngtStylizableDirective;
|
|
10
|
+
link: boolean;
|
|
11
|
+
href: string;
|
|
12
|
+
type: string;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
isDisabled: boolean;
|
|
15
|
+
noSubmit: boolean;
|
|
16
|
+
ngtStyle: NgtStylizableService;
|
|
17
|
+
private subscriptions;
|
|
18
|
+
constructor(ngtFormComponent: NgtFormComponent, injector: Injector, ngtStylizableDirective: NgtStylizableDirective);
|
|
19
|
+
onClick(event: Event): void;
|
|
20
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
private destroySubscriptions;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtButtonComponent, [{ optional: true; skipSelf: true; }, null, { optional: true; self: true; }]>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtButtonComponent, "ngt-button", never, { "link": "link"; "href": "href"; "type": "type"; "loading": "loading"; "isDisabled": "isDisabled"; "noSubmit": "noSubmit"; }, {}, never, ["*"], false, never>;
|
|
25
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ngt-button.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/router";
|
|
5
|
-
import * as i4 from "../ngt-form/ngt-form.module";
|
|
6
|
-
export declare class NgtButtonModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtButtonModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtButtonModule, [typeof i1.NgtButtonComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.NgtFormModule], [typeof i1.NgtButtonComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgtButtonModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngt-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
import * as i4 from "../ngt-form/ngt-form.module";
|
|
6
|
+
export declare class NgtButtonModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtButtonModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtButtonModule, [typeof i1.NgtButtonComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.NgtFormModule], [typeof i1.NgtButtonComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgtButtonModule>;
|
|
10
|
+
}
|
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, Injector, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ControlContainer } from '@angular/forms';
|
|
3
|
-
import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
|
|
4
|
-
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
5
|
-
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
6
|
-
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class NgtCheckboxComponent extends NgtBaseNgModel implements AfterViewInit, OnDestroy {
|
|
9
|
-
private injector;
|
|
10
|
-
formContainer: ControlContainer;
|
|
11
|
-
private renderer;
|
|
12
|
-
private ngtStylizableDirective;
|
|
13
|
-
private ngtFormComponent;
|
|
14
|
-
element: ElementRef;
|
|
15
|
-
label: string;
|
|
16
|
-
shining: boolean;
|
|
17
|
-
isDisabled: boolean;
|
|
18
|
-
isClickDisabled: boolean;
|
|
19
|
-
name: string;
|
|
20
|
-
mode: NgtCheckboxMode;
|
|
21
|
-
helpTitle: string;
|
|
22
|
-
helpTextColor: string;
|
|
23
|
-
helpText: string;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
static
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
1
|
+
import { AfterViewInit, ElementRef, Injector, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ControlContainer } from '@angular/forms';
|
|
3
|
+
import { NgtBaseNgModel } from '../../base/ngt-base-ng-model';
|
|
4
|
+
import { NgtStylizableDirective } from '../../directives/ngt-stylizable/ngt-stylizable.directive';
|
|
5
|
+
import { NgtStylizableService } from '../../services/ngt-stylizable/ngt-stylizable.service';
|
|
6
|
+
import { NgtFormComponent } from '../ngt-form/ngt-form.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class NgtCheckboxComponent extends NgtBaseNgModel implements AfterViewInit, OnDestroy {
|
|
9
|
+
private injector;
|
|
10
|
+
formContainer: ControlContainer;
|
|
11
|
+
private renderer;
|
|
12
|
+
private ngtStylizableDirective;
|
|
13
|
+
private ngtFormComponent;
|
|
14
|
+
element: ElementRef;
|
|
15
|
+
label: string;
|
|
16
|
+
shining: boolean;
|
|
17
|
+
isDisabled: boolean;
|
|
18
|
+
isClickDisabled: boolean;
|
|
19
|
+
name: string;
|
|
20
|
+
mode: NgtCheckboxMode;
|
|
21
|
+
helpTitle: string;
|
|
22
|
+
helpTextColor: string;
|
|
23
|
+
helpText: string;
|
|
24
|
+
helperAutoXReverse: boolean;
|
|
25
|
+
ngtStyle: NgtStylizableService;
|
|
26
|
+
private subscriptions;
|
|
27
|
+
constructor(injector: Injector, formContainer: ControlContainer, renderer: Renderer2, ngtStylizableDirective: NgtStylizableDirective, ngtFormComponent: NgtFormComponent);
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
change(value: any): void;
|
|
31
|
+
onNativeChange(value: any): void;
|
|
32
|
+
hasChangesBetweenModels(): boolean;
|
|
33
|
+
isToggleMode(): boolean;
|
|
34
|
+
isSideToggleMode(): boolean;
|
|
35
|
+
isDefaultMode(): boolean;
|
|
36
|
+
isRadioMode(): boolean;
|
|
37
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
38
|
+
private destroySubscriptions;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtCheckboxComponent, [null, { optional: true; host: true; }, null, { optional: true; self: true; }, { optional: true; skipSelf: true; }]>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtCheckboxComponent, "ngt-checkbox", never, { "label": "label"; "shining": "shining"; "isDisabled": "isDisabled"; "isClickDisabled": "isClickDisabled"; "name": "name"; "mode": "mode"; "helpTitle": "helpTitle"; "helpTextColor": "helpTextColor"; "helpText": "helpText"; "helperAutoXReverse": "helperAutoXReverse"; }, {}, never, never, false, never>;
|
|
41
|
+
}
|
|
42
|
+
export declare enum NgtCheckboxMode {
|
|
43
|
+
DEFAULT = "DEFAULT",
|
|
44
|
+
TOGGLE = "TOGGLE",
|
|
45
|
+
SIDE_TOGGLE = "SIDE_TOGGLE",
|
|
46
|
+
RADIO = "RADIO"
|
|
47
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ngt-checkbox.component";
|
|
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";
|
|
6
|
-
export declare class NgtCheckboxModule {
|
|
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]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgtCheckboxModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngt-checkbox.component";
|
|
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";
|
|
6
|
+
export declare class NgtCheckboxModule {
|
|
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]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgtCheckboxModule>;
|
|
10
|
+
}
|
|
@@ -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 * as i0 from "@angular/core";
|
|
5
|
-
export declare class NgtContentComponent {
|
|
6
|
-
private injector;
|
|
7
|
-
private tailStylizableDirective;
|
|
8
|
-
ngtStyle: NgtStylizableService;
|
|
9
|
-
constructor(injector: Injector, tailStylizableDirective: NgtStylizableDirective);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtContentComponent, [null, { optional: true; self: true; }]>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtContentComponent, "ngt-content", never, { "ngtStyle": "ngtStyle"; }, {}, never, ["*"], false, never>;
|
|
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 * as i0 from "@angular/core";
|
|
5
|
+
export declare class NgtContentComponent {
|
|
6
|
+
private injector;
|
|
7
|
+
private tailStylizableDirective;
|
|
8
|
+
ngtStyle: NgtStylizableService;
|
|
9
|
+
constructor(injector: Injector, tailStylizableDirective: NgtStylizableDirective);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtContentComponent, [null, { optional: true; self: true; }]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtContentComponent, "ngt-content", never, { "ngtStyle": "ngtStyle"; }, {}, never, ["*"], false, never>;
|
|
12
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ngt-content.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class NgtContentModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtContentModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtContentModule, [typeof i1.NgtContentComponent], [typeof i2.CommonModule], [typeof i1.NgtContentComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgtContentModule>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngt-content.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class NgtContentModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtContentModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgtContentModule, [typeof i1.NgtContentComponent], [typeof i2.CommonModule], [typeof i1.NgtContentComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgtContentModule>;
|
|
8
|
+
}
|