design-angular-kit 1.0.0-16 → 1.0.0-18
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 +31 -6
- package/assets/i18n/en.json +4 -1
- package/assets/i18n/it.json +4 -1
- package/esm2022/lib/abstracts/abstract-form.component.mjs +186 -0
- package/esm2022/lib/abstracts/abstract.component.mjs +45 -0
- package/esm2022/lib/components/components.module.mjs +188 -0
- package/esm2022/lib/components/core/accordion/accordion.component.mjs +38 -0
- package/esm2022/lib/components/core/alert/alert.component.mjs +74 -0
- package/esm2022/lib/components/core/badge/badge.directive.mjs +38 -0
- package/esm2022/lib/components/core/button/button.directive.mjs +85 -0
- package/esm2022/lib/components/core/callout/callout.component.mjs +57 -0
- package/esm2022/lib/components/core/card/card.component.mjs +64 -0
- package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +89 -0
- package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +19 -0
- package/esm2022/lib/components/core/carousel/carousel.module.mjs +23 -0
- package/esm2022/lib/components/core/chip/chip.component.mjs +96 -0
- package/esm2022/lib/components/core/collapse/collapse.component.mjs +101 -0
- package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +24 -0
- package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
- package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +59 -0
- package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +27 -0
- package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +143 -0
- package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +68 -0
- package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +18 -0
- package/esm2022/lib/components/core/forward/forward.directive.mjs +53 -0
- package/esm2022/lib/components/core/link/link.component.mjs +46 -0
- package/esm2022/lib/components/core/list/list/list.component.mjs +17 -0
- package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +40 -0
- package/esm2022/lib/components/core/list/list.module.mjs +23 -0
- package/esm2022/lib/components/core/modal/modal.component.mjs +164 -0
- package/esm2022/lib/components/core/notifications/notifications.component.mjs +111 -0
- package/esm2022/lib/components/core/pagination/pagination.component.mjs +133 -0
- package/esm2022/lib/components/core/popover/popover.directive.mjs +175 -0
- package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +35 -0
- package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +27 -0
- package/esm2022/lib/components/core/spinner/spinner.component.mjs +36 -0
- package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +138 -0
- package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +19 -0
- package/esm2022/lib/components/core/steppers/steppers.module.mjs +23 -0
- package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +60 -0
- package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +36 -0
- package/esm2022/lib/components/core/tab/tab.module.mjs +23 -0
- package/esm2022/lib/components/core/table/table.component.mjs +57 -0
- package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +142 -0
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +49 -0
- package/esm2022/lib/components/form/form.module.mjs +55 -0
- package/esm2022/lib/components/form/input/input.component.mjs +239 -0
- package/esm2022/lib/components/form/password-input/password-input.component.mjs +155 -0
- package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +69 -0
- package/esm2022/lib/components/form/range/range.component.mjs +64 -0
- package/esm2022/lib/components/form/rating/rating.component.mjs +51 -0
- package/esm2022/lib/components/form/select/select.component.mjs +70 -0
- package/esm2022/lib/components/form/textarea/textarea.component.mjs +47 -0
- package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +140 -0
- package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +112 -0
- package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +71 -0
- package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +64 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +57 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +23 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
- package/esm2022/lib/components/navigation/header/header.component.mjs +58 -0
- package/esm2022/lib/components/utils/error-page/error-page.component.mjs +81 -0
- package/esm2022/lib/components/utils/icon/icon.component.mjs +55 -0
- package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +41 -0
- package/esm2022/lib/design-angular-kit.module.mjs +68 -0
- package/{esm2020 → esm2022}/lib/interfaces/form.mjs +1 -1
- package/esm2022/lib/interfaces/icon.mjs +165 -0
- package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +37 -0
- package/esm2022/lib/services/notification/notification.service.mjs +120 -0
- package/esm2022/lib/utils/file-utils.mjs +73 -0
- package/esm2022/lib/utils/regex.mjs +31 -0
- package/esm2022/lib/validators/it-validators.mjs +153 -0
- package/esm2022/public_api.mjs +85 -0
- package/fesm2022/design-angular-kit.mjs +4615 -0
- package/fesm2022/design-angular-kit.mjs.map +1 -0
- package/lib/abstracts/abstract-form.component.d.ts +4 -4
- package/lib/abstracts/abstract.component.d.ts +3 -3
- package/lib/components/components.module.d.ts +32 -52
- package/lib/components/core/accordion/accordion.component.d.ts +6 -5
- package/lib/components/core/alert/alert.component.d.ts +5 -5
- package/lib/components/core/badge/badge.directive.d.ts +5 -5
- package/lib/components/core/button/button.directive.d.ts +11 -11
- package/lib/components/core/callout/callout.component.d.ts +7 -7
- package/lib/components/core/card/card.component.d.ts +8 -8
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +10 -10
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +4 -4
- package/lib/components/core/carousel/carousel.module.d.ts +8 -0
- package/lib/components/core/chip/chip.component.d.ts +6 -3
- package/lib/components/core/collapse/collapse.component.d.ts +8 -8
- package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +3 -3
- package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +3 -3
- package/lib/components/core/dimmer/dimmer.component.d.ts +4 -4
- package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +14 -9
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +8 -8
- package/lib/components/core/dropdown/dropdown.module.d.ts +8 -0
- package/lib/components/core/forward/forward.directive.d.ts +3 -3
- package/lib/components/core/link/link.component.d.ts +9 -8
- package/lib/components/core/list/list/list.component.d.ts +4 -4
- package/lib/components/core/list/list-item/list-item.component.d.ts +9 -9
- package/lib/components/core/list/list.module.d.ts +8 -0
- package/lib/components/core/modal/modal.component.d.ts +11 -11
- package/lib/components/core/notifications/notifications.component.d.ts +6 -6
- package/lib/components/core/pagination/pagination.component.d.ts +8 -8
- package/lib/components/core/popover/popover.directive.d.ts +3 -3
- package/lib/components/core/progress-bar/progress-bar.component.d.ts +6 -6
- package/lib/components/core/progress-button/progress-button.component.d.ts +5 -5
- package/lib/components/core/spinner/spinner.component.d.ts +5 -5
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +37 -13
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +5 -5
- package/lib/components/core/steppers/steppers.module.d.ts +8 -0
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +9 -9
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +8 -8
- package/lib/components/core/tab/tab.module.d.ts +8 -0
- package/lib/components/core/table/table.component.d.ts +12 -12
- package/lib/components/core/tooltip/tooltip.directive.d.ts +3 -3
- package/lib/components/form/checkbox/checkbox.component.d.ts +12 -10
- package/lib/components/form/form.module.d.ts +16 -0
- package/lib/components/form/input/input.component.d.ts +18 -13
- package/lib/components/form/password-input/password-input.component.d.ts +11 -6
- package/lib/components/form/radio-button/radio-button.component.d.ts +6 -6
- package/lib/components/form/range/range.component.d.ts +42 -0
- package/lib/components/form/rating/rating.component.d.ts +24 -0
- package/lib/components/form/select/select.component.d.ts +11 -6
- package/lib/components/form/textarea/textarea.component.d.ts +5 -5
- package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +4 -4
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +6 -6
- package/lib/components/navigation/back-button/back-button.component.d.ts +3 -3
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +7 -7
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
- package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +6 -6
- package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/lib/components/navigation/header/header.component.d.ts +6 -6
- package/lib/components/utils/error-page/error-page.component.d.ts +6 -6
- package/lib/components/utils/icon/icon.component.d.ts +7 -7
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +4 -4
- package/lib/design-angular-kit.module.d.ts +3 -4
- package/lib/interfaces/core.d.ts +16 -16
- package/lib/interfaces/form.d.ts +3 -3
- package/lib/interfaces/icon.d.ts +4 -4
- package/lib/pipes/mark-matching-text.pipe.d.ts +4 -4
- package/lib/services/{notifications/notifications.service.d.ts → notification/notification.service.d.ts} +3 -3
- package/lib/utils/boolean-input.d.ts +1 -1
- package/lib/utils/regex.d.ts +5 -0
- package/lib/validators/it-validators.d.ts +4 -0
- package/package.json +13 -19
- package/public_api.d.ts +13 -4
- package/esm2020/lib/abstracts/abstract-form.component.mjs +0 -188
- package/esm2020/lib/abstracts/abstract.component.mjs +0 -45
- package/esm2020/lib/components/components.module.mjs +0 -256
- package/esm2020/lib/components/core/accordion/accordion.component.mjs +0 -35
- package/esm2020/lib/components/core/alert/alert.component.mjs +0 -73
- package/esm2020/lib/components/core/badge/badge.directive.mjs +0 -37
- package/esm2020/lib/components/core/button/button.directive.mjs +0 -84
- package/esm2020/lib/components/core/callout/callout.component.mjs +0 -57
- package/esm2020/lib/components/core/card/card.component.mjs +0 -64
- package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +0 -89
- package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -19
- package/esm2020/lib/components/core/chip/chip.component.mjs +0 -89
- package/esm2020/lib/components/core/collapse/collapse.component.mjs +0 -101
- package/esm2020/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +0 -24
- package/esm2020/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +0 -11
- package/esm2020/lib/components/core/dimmer/dimmer.component.mjs +0 -59
- package/esm2020/lib/components/core/dropdown/dropdown/dropdown.component.mjs +0 -130
- package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -68
- package/esm2020/lib/components/core/forward/forward.directive.mjs +0 -52
- package/esm2020/lib/components/core/link/link.component.mjs +0 -40
- package/esm2020/lib/components/core/list/list/list.component.mjs +0 -17
- package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +0 -41
- package/esm2020/lib/components/core/modal/modal.component.mjs +0 -163
- package/esm2020/lib/components/core/notifications/notifications.component.mjs +0 -110
- package/esm2020/lib/components/core/pagination/pagination.component.mjs +0 -131
- package/esm2020/lib/components/core/popover/popover.directive.mjs +0 -174
- package/esm2020/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
- package/esm2020/lib/components/core/progress-button/progress-button.component.mjs +0 -27
- package/esm2020/lib/components/core/rating/rating.component.mjs +0 -49
- package/esm2020/lib/components/core/spinner/spinner.component.mjs +0 -35
- package/esm2020/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +0 -127
- package/esm2020/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -19
- package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -59
- package/esm2020/lib/components/core/tab/tab-item/tab-item.component.mjs +0 -36
- package/esm2020/lib/components/core/table/table.component.mjs +0 -57
- package/esm2020/lib/components/core/tooltip/tooltip.directive.mjs +0 -141
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -40
- package/esm2020/lib/components/form/input/input.component.mjs +0 -232
- package/esm2020/lib/components/form/password-input/password-input.component.mjs +0 -152
- package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +0 -68
- package/esm2020/lib/components/form/select/select.component.mjs +0 -62
- package/esm2020/lib/components/form/textarea/textarea.component.mjs +0 -46
- package/esm2020/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -139
- package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -104
- package/esm2020/lib/components/navigation/back-button/back-button.component.mjs +0 -69
- package/esm2020/lib/components/navigation/back-to-top/back-to-top.component.mjs +0 -64
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -56
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -23
- package/esm2020/lib/components/navigation/header/header.component.mjs +0 -57
- package/esm2020/lib/components/utils/error-page/error-page.component.mjs +0 -79
- package/esm2020/lib/components/utils/icon/icon.component.mjs +0 -55
- package/esm2020/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -39
- package/esm2020/lib/design-angular-kit.module.mjs +0 -68
- package/esm2020/lib/interfaces/icon.mjs +0 -162
- package/esm2020/lib/pipes/mark-matching-text.pipe.mjs +0 -36
- package/esm2020/lib/services/notifications/notifications.service.mjs +0 -120
- package/esm2020/lib/utils/file-utils.mjs +0 -73
- package/esm2020/lib/utils/regex.mjs +0 -26
- package/esm2020/lib/validators/it-validators.mjs +0 -147
- package/esm2020/public_api.mjs +0 -74
- package/fesm2015/design-angular-kit.mjs +0 -4422
- package/fesm2015/design-angular-kit.mjs.map +0 -1
- package/fesm2020/design-angular-kit.mjs +0 -4354
- package/fesm2020/design-angular-kit.mjs.map +0 -1
- package/lib/components/core/rating/rating.component.d.ts +0 -24
- /package/{esm2020 → esm2022}/design-angular-kit.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/design-angular-kit-config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interfaces/core.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interfaces/design-angular-kit-init.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interfaces/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/utils/boolean-input.mjs +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
|
|
2
2
|
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
3
|
-
import {
|
|
3
|
+
import { ItSteppersItemComponent } from '../steppers-item/steppers-item.component';
|
|
4
4
|
import { ProgressBarColor } from '../../../../interfaces/core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class ItSteppersContainerComponent implements AfterViewInit, OnDestroy {
|
|
7
7
|
private readonly _changeDetectorRef;
|
|
8
8
|
/**
|
|
9
9
|
* The active step index
|
|
@@ -18,54 +18,74 @@ export declare class SteppersContainerComponent implements AfterViewInit, OnDest
|
|
|
18
18
|
/**
|
|
19
19
|
* Dark style
|
|
20
20
|
*/
|
|
21
|
-
dark
|
|
21
|
+
dark: BooleanInput | undefined;
|
|
22
22
|
/**
|
|
23
23
|
* The labels present in the header steps can be anticipated by the relative ordinal number.
|
|
24
24
|
*/
|
|
25
|
-
steppersNumber
|
|
25
|
+
steppersNumber: BooleanInput | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* The progress style
|
|
28
28
|
* -<b>progress</b>: Show progress bar - You can change the color with the `progressColor` attribute
|
|
29
29
|
* -<b>dots</b>: Show progress dots
|
|
30
30
|
* @default undefined - don't show progress
|
|
31
31
|
*/
|
|
32
|
-
progressStyle
|
|
32
|
+
progressStyle: 'progress' | 'dots' | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* Customize progress color
|
|
35
35
|
*/
|
|
36
|
-
progressColor
|
|
36
|
+
progressColor: ProgressBarColor | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* Show the back button
|
|
39
39
|
* @default true
|
|
40
40
|
*/
|
|
41
41
|
showBackButton: BooleanInput;
|
|
42
|
+
/**
|
|
43
|
+
* Disable the back button
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
disableBackButton: BooleanInput | undefined;
|
|
42
47
|
/**
|
|
43
48
|
* Show the forward button
|
|
44
49
|
* @default true
|
|
45
50
|
*/
|
|
46
51
|
showForwardButton: BooleanInput;
|
|
52
|
+
/**
|
|
53
|
+
* Disable the forward button
|
|
54
|
+
* @default false
|
|
55
|
+
*/
|
|
56
|
+
disableForwardButton: BooleanInput | undefined;
|
|
47
57
|
/**
|
|
48
58
|
* Show the confirm button
|
|
49
59
|
* @default false
|
|
50
60
|
*/
|
|
51
|
-
showConfirmButton: BooleanInput;
|
|
61
|
+
showConfirmButton: BooleanInput | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Disable the confirm button
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
disableConfirmButton: BooleanInput | undefined;
|
|
52
67
|
/**
|
|
53
68
|
* Show the confirm button as indeterminate progress button
|
|
54
69
|
*/
|
|
55
|
-
confirmLoading
|
|
70
|
+
confirmLoading: BooleanInput | undefined;
|
|
56
71
|
/**
|
|
57
72
|
* Show the save button
|
|
58
73
|
* @default false
|
|
59
74
|
*/
|
|
60
|
-
showSaveButton: BooleanInput;
|
|
75
|
+
showSaveButton: BooleanInput | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Disable the save button
|
|
78
|
+
* @default false
|
|
79
|
+
*/
|
|
80
|
+
disableSaveButton: BooleanInput | undefined;
|
|
61
81
|
/**
|
|
62
82
|
* Show the save button as indeterminate progress button
|
|
63
83
|
*/
|
|
64
|
-
saveLoading
|
|
84
|
+
saveLoading: BooleanInput | undefined;
|
|
65
85
|
/**
|
|
66
86
|
* The stepper items
|
|
67
87
|
*/
|
|
68
|
-
steps?: QueryList<
|
|
88
|
+
steps?: QueryList<ItSteppersItemComponent>;
|
|
69
89
|
/**
|
|
70
90
|
* On back button click
|
|
71
91
|
* @event activeStep the current step index
|
|
@@ -90,15 +110,19 @@ export declare class SteppersContainerComponent implements AfterViewInit, OnDest
|
|
|
90
110
|
get isSteppersNumber(): boolean;
|
|
91
111
|
get isDark(): boolean;
|
|
92
112
|
get isShowBackButton(): boolean;
|
|
113
|
+
get isDisableBackButton(): boolean;
|
|
93
114
|
get isShowForwardButton(): boolean;
|
|
115
|
+
get isDisableForwardButton(): boolean;
|
|
94
116
|
get isShowConfirmButton(): boolean;
|
|
117
|
+
get isDisableConfirmButton(): boolean;
|
|
95
118
|
get isConfirmLoading(): boolean;
|
|
96
119
|
get isShowSaveButton(): boolean;
|
|
120
|
+
get isDisableSaveButton(): boolean;
|
|
97
121
|
get isSaveLoading(): boolean;
|
|
98
122
|
private stepsSubscriptions?;
|
|
99
123
|
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
100
124
|
ngAfterViewInit(): void;
|
|
101
125
|
ngOnDestroy(): void;
|
|
102
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
103
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersContainerComponent, never>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItSteppersContainerComponent, "it-steppers-container[activeStep]", never, { "activeStep": { "alias": "activeStep"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "steppersNumber": { "alias": "steppersNumber"; "required": false; }; "progressStyle": { "alias": "progressStyle"; "required": false; }; "progressColor": { "alias": "progressColor"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "disableBackButton": { "alias": "disableBackButton"; "required": false; }; "showForwardButton": { "alias": "showForwardButton"; "required": false; }; "disableForwardButton": { "alias": "disableForwardButton"; "required": false; }; "showConfirmButton": { "alias": "showConfirmButton"; "required": false; }; "disableConfirmButton": { "alias": "disableConfirmButton"; "required": false; }; "confirmLoading": { "alias": "confirmLoading"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "disableSaveButton": { "alias": "disableSaveButton"; "required": false; }; "saveLoading": { "alias": "saveLoading"; "required": false; }; }, { "backClick": "backClick"; "forwardClick": "forwardClick"; "confirmClick": "confirmClick"; "saveClick": "saveClick"; }, ["steps"], never, true, never>;
|
|
104
128
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { IconName } from '../../../../interfaces/icon';
|
|
3
|
-
import {
|
|
3
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class ItSteppersItemComponent extends ItAbstractComponent {
|
|
6
6
|
/**
|
|
7
7
|
* The labels present in the header steps
|
|
8
8
|
*/
|
|
@@ -10,11 +10,11 @@ export declare class SteppersItemComponent extends AbstractComponent {
|
|
|
10
10
|
/**
|
|
11
11
|
* The labels present in the header steps can be preceded by an icon.
|
|
12
12
|
*/
|
|
13
|
-
icon
|
|
13
|
+
icon: IconName | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* The content of step
|
|
16
16
|
*/
|
|
17
17
|
htmlContent: TemplateRef<any>;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersItemComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItSteppersItemComponent, "it-steppers-item[label]", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
20
20
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./steppers-container/steppers-container.component";
|
|
3
|
+
import * as i2 from "./steppers-item/steppers-item.component";
|
|
4
|
+
export declare class ItSteppersModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItSteppersModule, never, [typeof i1.ItSteppersContainerComponent, typeof i2.ItSteppersItemComponent], [typeof i1.ItSteppersContainerComponent, typeof i2.ItSteppersItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItSteppersModule>;
|
|
8
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy, QueryList } from '@angular/core';
|
|
2
2
|
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ItTabItemComponent } from '../tab-item/tab-item.component';
|
|
4
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class ItTabContainerComponent extends ItAbstractComponent implements OnDestroy, AfterViewInit {
|
|
7
7
|
/**
|
|
8
8
|
* Tabs automatically occupy the entire available width
|
|
9
9
|
*/
|
|
10
|
-
auto
|
|
10
|
+
auto: BooleanInput | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* To obtain the correct margin between text and icon in the horizontally developed tab
|
|
13
13
|
*/
|
|
14
|
-
iconText
|
|
14
|
+
iconText: BooleanInput | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Dark style
|
|
17
17
|
*/
|
|
18
|
-
dark
|
|
18
|
+
dark: BooleanInput | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* The tab items
|
|
21
21
|
*/
|
|
22
|
-
tabs?: QueryList<
|
|
22
|
+
tabs?: QueryList<ItTabItemComponent>;
|
|
23
23
|
private tabNavLinks?;
|
|
24
24
|
private tabSubscriptions?;
|
|
25
25
|
isTrueBooleanInput(booleanInput?: BooleanInput): boolean;
|
|
26
26
|
ngAfterViewInit(): void;
|
|
27
27
|
ngOnDestroy(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTabContainerComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItTabContainerComponent, "it-tab-container", never, { "auto": { "alias": "auto"; "required": false; }; "iconText": { "alias": "iconText"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, ["tabs"], never, true, never>;
|
|
30
30
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { AfterViewInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
3
3
|
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
4
4
|
import { IconName } from '../../../../interfaces/icon';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class ItTabItemComponent extends ItAbstractComponent implements AfterViewInit {
|
|
7
7
|
/**
|
|
8
8
|
* The tab label
|
|
9
9
|
*/
|
|
10
|
-
label
|
|
10
|
+
label: string | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* The icon name
|
|
13
13
|
*/
|
|
14
|
-
icon
|
|
14
|
+
icon: IconName | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Default active tab
|
|
17
17
|
*/
|
|
18
|
-
active
|
|
18
|
+
active: BooleanInput | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Default disabled tab
|
|
21
21
|
*/
|
|
22
|
-
disabled
|
|
22
|
+
disabled: BooleanInput | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Custom class
|
|
25
25
|
*/
|
|
@@ -29,6 +29,6 @@ export declare class TabItemComponent extends AbstractComponent implements After
|
|
|
29
29
|
*/
|
|
30
30
|
htmlContent: TemplateRef<any>;
|
|
31
31
|
ngAfterViewInit(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTabItemComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItTabItemComponent, "it-tab-item", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "active": { "alias": "active"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
34
34
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tab-container/tab-container.component";
|
|
3
|
+
import * as i2 from "./tab-item/tab-item.component";
|
|
4
|
+
export declare class ItTabModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTabModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItTabModule, never, [typeof i1.ItTabContainerComponent, typeof i2.ItTabItemComponent], [typeof i1.ItTabContainerComponent, typeof i2.ItTabItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItTabModule>;
|
|
8
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { TableColor, TableHeadColor, TableResponsive, VerticalAlignment } from '../../../interfaces/core';
|
|
2
2
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class ItTableComponent {
|
|
5
5
|
/**
|
|
6
6
|
* Table color
|
|
7
7
|
*/
|
|
8
|
-
color
|
|
8
|
+
color: TableColor | undefined;
|
|
9
9
|
/**
|
|
10
10
|
* Head table color
|
|
11
11
|
*/
|
|
12
|
-
headColor
|
|
12
|
+
headColor: TableHeadColor | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* Use vertical alignment classes to realign where needed.
|
|
15
15
|
*/
|
|
16
|
-
alignment
|
|
16
|
+
alignment: VerticalAlignment | undefined;
|
|
17
17
|
/**
|
|
18
18
|
* Use .table-striped to add zebra stripes to each table row contained in <tbody>.
|
|
19
19
|
*/
|
|
20
|
-
striped
|
|
20
|
+
striped: BooleanInput | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Add .table-hover to enable hover state on table rows contained in <tbody>.
|
|
23
23
|
*/
|
|
24
|
-
hover
|
|
24
|
+
hover: BooleanInput | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* Add .table-bordered to have borders on all sides of the table and on all cells.
|
|
27
27
|
*/
|
|
28
|
-
bordered
|
|
28
|
+
bordered: BooleanInput | undefined;
|
|
29
29
|
/**
|
|
30
30
|
* Add the .table-borderless class for a borderless table.
|
|
31
31
|
*/
|
|
32
|
-
borderless
|
|
32
|
+
borderless: BooleanInput | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* Add .table-sm to make tables more compact by halving the cell padding.
|
|
35
35
|
*/
|
|
36
|
-
compact
|
|
36
|
+
compact: BooleanInput | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* To render the <caption> on top of the table
|
|
39
39
|
*/
|
|
40
|
-
captionTop
|
|
40
|
+
captionTop: BooleanInput | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* Responsive tables allow you to scroll tables horizontally with ease.
|
|
43
43
|
* @default responsive
|
|
@@ -49,6 +49,6 @@ export declare class TableComponent {
|
|
|
49
49
|
get isBorderless(): boolean;
|
|
50
50
|
get isCompact(): boolean;
|
|
51
51
|
get isCaptionTop(): boolean;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTableComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItTableComponent, "it-table", never, { "color": { "alias": "color"; "required": false; }; "headColor": { "alias": "headColor"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "borderless": { "alias": "borderless"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "captionTop": { "alias": "captionTop"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; }, {}, never, ["[caption]", "[thead]", "[tbody]", "[tfoot]"], true, never>;
|
|
54
54
|
}
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/cor
|
|
|
2
2
|
import { ElementPlacement } from '../../../interfaces/core';
|
|
3
3
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class ItTooltipDirective implements AfterViewInit, OnDestroy {
|
|
6
6
|
private readonly _elementRef;
|
|
7
7
|
/**
|
|
8
8
|
* Define the tooltip title
|
|
@@ -76,6 +76,6 @@ export declare class TooltipDirective implements AfterViewInit, OnDestroy {
|
|
|
76
76
|
* Updates the position of an element's tooltip.
|
|
77
77
|
*/
|
|
78
78
|
update(): void;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
80
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTooltipDirective, never>;
|
|
80
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItTooltipDirective, "[itTooltip]", ["itTooltip"], { "title": { "alias": "itTooltip"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipHtml": { "alias": "tooltipHtml"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "insertedEvent": "insertedEvent"; }, never, never, true, never>;
|
|
81
81
|
}
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
3
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class ItCheckboxComponent extends ItAbstractFormComponent<boolean | null | undefined> implements OnInit, OnChanges {
|
|
6
6
|
/**
|
|
7
7
|
* If show checkbox as toggle
|
|
8
8
|
*/
|
|
9
|
-
toggle
|
|
9
|
+
toggle: BooleanInput | undefined;
|
|
10
10
|
/**
|
|
11
11
|
* If show checkbox inline
|
|
12
12
|
*/
|
|
13
|
-
inline
|
|
13
|
+
inline: BooleanInput | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* If is checkbox group
|
|
16
16
|
*/
|
|
17
|
-
group
|
|
17
|
+
group: BooleanInput | undefined;
|
|
18
18
|
/**
|
|
19
19
|
* If checkbox is checked
|
|
20
20
|
*/
|
|
21
|
-
checked
|
|
21
|
+
checked: BooleanInput | undefined;
|
|
22
22
|
/**
|
|
23
23
|
* If checkbox is indeterminate
|
|
24
24
|
*/
|
|
25
|
-
indeterminate
|
|
25
|
+
indeterminate: BooleanInput | undefined;
|
|
26
26
|
get isIndeterminate(): boolean;
|
|
27
27
|
get isGroup(): boolean;
|
|
28
28
|
ngOnInit(): void;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
private markAsChecked;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCheckboxComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCheckboxComponent, "it-checkbox", never, { "toggle": { "alias": "toggle"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, {}, never, ["*", "[error]", "[label]"], true, never>;
|
|
31
33
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./checkbox/checkbox.component";
|
|
3
|
+
import * as i2 from "./input/input.component";
|
|
4
|
+
import * as i3 from "./password-input/password-input.component";
|
|
5
|
+
import * as i4 from "./radio-button/radio-button.component";
|
|
6
|
+
import * as i5 from "./range/range.component";
|
|
7
|
+
import * as i6 from "./rating/rating.component";
|
|
8
|
+
import * as i7 from "./select/select.component";
|
|
9
|
+
import * as i8 from "./textarea/textarea.component";
|
|
10
|
+
import * as i9 from "./upload-drag-drop/upload-drag-drop.component";
|
|
11
|
+
import * as i10 from "./upload-file-list/upload-file-list.component";
|
|
12
|
+
export declare class ItFormModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItFormModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItFormModule, never, [typeof i1.ItCheckboxComponent, typeof i2.ItInputComponent, typeof i3.ItPasswordInputComponent, typeof i4.ItRadioButtonComponent, typeof i5.ItRangeComponent, typeof i6.ItRatingComponent, typeof i7.ItSelectComponent, typeof i8.ItTextareaComponent, typeof i9.ItUploadDragDropComponent, typeof i10.ItUploadFileListComponent], [typeof i1.ItCheckboxComponent, typeof i2.ItInputComponent, typeof i3.ItPasswordInputComponent, typeof i4.ItRadioButtonComponent, typeof i5.ItRangeComponent, typeof i6.ItRatingComponent, typeof i7.ItSelectComponent, typeof i8.ItTextareaComponent, typeof i9.ItUploadDragDropComponent, typeof i10.ItUploadFileListComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItFormModule>;
|
|
16
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
3
|
import { AutocompleteItem, InputControlType } from '../../../interfaces/form';
|
|
4
4
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class ItInputComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit {
|
|
8
8
|
/**
|
|
9
9
|
* The input type
|
|
10
10
|
* @default text
|
|
@@ -17,12 +17,12 @@ export declare class InputComponent extends AbstractFormComponent<string | numbe
|
|
|
17
17
|
/**
|
|
18
18
|
* The input description
|
|
19
19
|
*/
|
|
20
|
-
description
|
|
20
|
+
description: string | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* To prevent modification of the contained value.
|
|
23
23
|
* - <b>plaintext</b>: Readonly field in the form stylized as plain text
|
|
24
24
|
*/
|
|
25
|
-
readonly
|
|
25
|
+
readonly: BooleanInput | 'plaintext' | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* The max date value [Used only in type = 'date']
|
|
28
28
|
* @default '9999-12-31'
|
|
@@ -33,31 +33,36 @@ export declare class InputComponent extends AbstractFormComponent<string | numbe
|
|
|
33
33
|
* The min date value [Used only in type = 'date']
|
|
34
34
|
* @example 'yyyy-mm-dd'
|
|
35
35
|
*/
|
|
36
|
-
minDate
|
|
36
|
+
minDate: string | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* The max value [Used only in type = 'number']
|
|
39
39
|
*/
|
|
40
|
-
max
|
|
40
|
+
max: number | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* The min value [Used only in type = 'number']
|
|
43
43
|
*/
|
|
44
|
-
min
|
|
44
|
+
min: number | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* The step value [Used only in type = 'number']
|
|
47
47
|
*/
|
|
48
|
-
step
|
|
48
|
+
step: number | 'any' | undefined;
|
|
49
49
|
/**
|
|
50
50
|
* If is a currency number [Used only in type = 'number']
|
|
51
51
|
*/
|
|
52
|
-
currency
|
|
52
|
+
currency: BooleanInput | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* If is a percentage number [Used only in type = 'number']
|
|
55
55
|
*/
|
|
56
|
-
percentage
|
|
56
|
+
percentage: BooleanInput | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* To make the numeric field automatically resize according to the value contained in it. [Used only in type = 'number']
|
|
59
59
|
*/
|
|
60
|
-
adaptive
|
|
60
|
+
adaptive: BooleanInput | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Input autocomplete attribute (Browser autocomplete)
|
|
63
|
+
* @default undefined
|
|
64
|
+
*/
|
|
65
|
+
autocomplete: string | undefined;
|
|
61
66
|
/**
|
|
62
67
|
* Indicates the list of searchable elements on which to base the input autocomplete system [Optional. Used only in type = 'search']
|
|
63
68
|
* If you need to retrieve items via API, can pass a function of Observable
|
|
@@ -102,6 +107,6 @@ export declare class InputComponent extends AbstractFormComponent<string | numbe
|
|
|
102
107
|
onEntryClick(entry: AutocompleteItem, event: Event): void;
|
|
103
108
|
autocompleteItemTrackByValueFn(index: number, item: AutocompleteItem): string;
|
|
104
109
|
onKeyDown(): void;
|
|
105
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
106
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItInputComponent, never>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItInputComponent, "it-input", never, { "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "adaptive": { "alias": "adaptive"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "autocompleteData": { "alias": "autocompleteData"; "required": false; }; "autocompleteDebounceTime": { "alias": "autocompleteDebounceTime"; "required": false; }; }, { "autocompleteSelectedEvent": "autocompleteSelectedEvent"; }, never, ["[prepend]", "[prependText]", "[append]", "[appendText]", "[error]"], true, never>;
|
|
107
112
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class ItPasswordInputComponent extends ItAbstractFormComponent<string | null | undefined> implements OnInit, AfterViewInit {
|
|
7
7
|
/**
|
|
8
8
|
* The field is required
|
|
9
9
|
* @default true
|
|
@@ -44,17 +44,22 @@ export declare class PasswordInputComponent extends AbstractFormComponent<string
|
|
|
44
44
|
* - <b>string</b>: show custom description
|
|
45
45
|
* @default true for StrengthMeter mode else is undefined
|
|
46
46
|
*/
|
|
47
|
-
description
|
|
47
|
+
description: string | true | undefined;
|
|
48
48
|
/**
|
|
49
49
|
* Enable to show the strength meter
|
|
50
50
|
* @default false
|
|
51
51
|
*/
|
|
52
|
-
showStrengthMeter
|
|
52
|
+
showStrengthMeter: BooleanInput | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* Is the confirmation password field
|
|
55
55
|
* @default false
|
|
56
56
|
*/
|
|
57
57
|
confirmPasswordField: BooleanInput;
|
|
58
|
+
/**
|
|
59
|
+
* Input autocomplete attribute (Browser autocomplete)
|
|
60
|
+
* @default undefined
|
|
61
|
+
*/
|
|
62
|
+
autocomplete: string | undefined;
|
|
58
63
|
private inputPasswordBs?;
|
|
59
64
|
private inputElement?;
|
|
60
65
|
ngOnInit(): void;
|
|
@@ -69,6 +74,6 @@ export declare class PasswordInputComponent extends AbstractFormComponent<string
|
|
|
69
74
|
* Retrieve the default StrengthMeter description message from TranslateService
|
|
70
75
|
*/
|
|
71
76
|
protected get strengthMeterDescription(): Observable<string>;
|
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItPasswordInputComponent, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItPasswordInputComponent, "it-password-input", never, { "required": { "alias": "required"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "useNumber": { "alias": "useNumber"; "required": false; }; "useCapitalCase": { "alias": "useCapitalCase"; "required": false; }; "useSmallCase": { "alias": "useSmallCase"; "required": false; }; "useSpecialCharacters": { "alias": "useSpecialCharacters"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "showStrengthMeter": { "alias": "showStrengthMeter"; "required": false; }; "confirmPasswordField": { "alias": "confirmPasswordField"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, ["[error]"], true, never>;
|
|
74
79
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
3
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class ItRadioButtonComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit {
|
|
6
6
|
/**
|
|
7
7
|
* The radio value
|
|
8
8
|
*/
|
|
9
|
-
value
|
|
9
|
+
value: string | number | undefined | null;
|
|
10
10
|
/**
|
|
11
11
|
* If show radio inline
|
|
12
12
|
* @default false
|
|
@@ -20,11 +20,11 @@ export declare class RadioButtonComponent extends AbstractFormComponent<string |
|
|
|
20
20
|
/**
|
|
21
21
|
* If is radio is checked
|
|
22
22
|
*/
|
|
23
|
-
checked
|
|
23
|
+
checked: BooleanInput | undefined;
|
|
24
24
|
get isInline(): boolean;
|
|
25
25
|
get isGroup(): boolean;
|
|
26
26
|
get name(): string;
|
|
27
27
|
ngOnInit(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItRadioButtonComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItRadioButtonComponent, "it-radio-button[value]", never, { "value": { "alias": "value"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, {}, never, ["[label]", "*", "[error]", "[error]"], true, never>;
|
|
30
30
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ItRangeComponent extends ItAbstractFormComponent<number | null | undefined> implements OnInit, OnChanges, OnDestroy {
|
|
5
|
+
/**
|
|
6
|
+
* The max value
|
|
7
|
+
*/
|
|
8
|
+
max?: number;
|
|
9
|
+
/**
|
|
10
|
+
* The min value
|
|
11
|
+
*/
|
|
12
|
+
min?: number;
|
|
13
|
+
/**
|
|
14
|
+
* The step value
|
|
15
|
+
*/
|
|
16
|
+
step?: number | 'any';
|
|
17
|
+
/**
|
|
18
|
+
* The color on left of thumb [Require rightColor]
|
|
19
|
+
* @example '#0d6efd' or 'var(--bs-primary)'
|
|
20
|
+
* @default undefined ('var(--bs-gray-300)')
|
|
21
|
+
*/
|
|
22
|
+
leftColor?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The color on right of thumb [Require leftColor]
|
|
25
|
+
* @example '#0d6efd' or 'var(--bs-primary)'
|
|
26
|
+
* @default undefined ('var(--bs-gray-300)')
|
|
27
|
+
*/
|
|
28
|
+
rightColor?: string;
|
|
29
|
+
slider: ElementRef<HTMLInputElement>;
|
|
30
|
+
private subscription?;
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
writeValue(value: number | null | undefined): void;
|
|
35
|
+
/**
|
|
36
|
+
* Update the percentage of slider color
|
|
37
|
+
* @private
|
|
38
|
+
*/
|
|
39
|
+
private updateSliderColor;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItRangeComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItRangeComponent, "it-range", never, { "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "leftColor": { "alias": "leftColor"; "required": false; }; "rightColor": { "alias": "rightColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
42
|
+
}
|