design-angular-kit 1.0.0-2 → 1.0.0-21
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 +102 -26
- package/assets/i18n/en.json +122 -0
- package/assets/i18n/it.json +52 -11
- 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 +192 -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 +47 -0
- package/esm2022/lib/design-angular-kit-config.mjs +15 -0
- package/esm2022/lib/design-angular-kit.module.mjs +68 -0
- package/esm2022/lib/interfaces/core.mjs +16 -0
- package/esm2022/lib/interfaces/design-angular-kit-init.mjs +2 -0
- package/esm2022/lib/interfaces/form.mjs +2 -0
- package/esm2022/lib/interfaces/icon.mjs +165 -0
- package/esm2022/lib/interfaces/utils.mjs +2 -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 +4649 -0
- package/fesm2022/design-angular-kit.mjs.map +1 -0
- package/lib/abstracts/{abstract-form-component.d.ts → abstract-form.component.d.ts} +12 -10
- package/lib/abstracts/abstract.component.d.ts +24 -8
- package/lib/components/components.module.d.ts +40 -0
- package/lib/components/core/accordion/accordion.component.d.ts +11 -9
- package/lib/components/core/alert/alert.component.d.ts +32 -5
- package/lib/components/core/badge/badge.directive.d.ts +12 -6
- package/lib/components/core/button/button.directive.d.ts +24 -17
- package/lib/components/core/callout/callout.component.d.ts +26 -17
- package/lib/components/core/card/card.component.d.ts +23 -13
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +34 -15
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +8 -3
- package/lib/components/core/carousel/carousel.module.d.ts +8 -0
- package/lib/components/core/chip/chip.component.d.ts +8 -5
- package/lib/components/core/collapse/collapse.component.d.ts +16 -15
- 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 +53 -10
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +8 -13
- 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 -10
- package/lib/components/core/list/list/list.component.d.ts +6 -5
- package/lib/components/core/list/list-item/list-item.component.d.ts +12 -8
- package/lib/components/core/list/list.module.d.ts +8 -0
- package/lib/components/core/modal/modal.component.d.ts +83 -14
- package/lib/components/core/notifications/notifications.component.d.ts +25 -11
- package/lib/components/core/pagination/pagination.component.d.ts +71 -10
- package/lib/components/core/popover/popover.directive.d.ts +15 -14
- 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 +6 -6
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +128 -0
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +20 -0
- package/lib/components/core/steppers/steppers.module.d.ts +8 -0
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +14 -12
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +11 -11
- package/lib/components/core/tab/tab.module.d.ts +8 -0
- package/lib/components/core/table/table.component.d.ts +14 -14
- package/lib/components/core/tooltip/tooltip.directive.d.ts +12 -11
- package/lib/components/form/checkbox/checkbox.component.d.ts +13 -10
- package/lib/components/form/form.module.d.ts +16 -0
- package/lib/components/form/input/input.component.d.ts +59 -13
- package/lib/components/form/password-input/password-input.component.d.ts +33 -8
- package/lib/components/form/radio-button/radio-button.component.d.ts +7 -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 +12 -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 +8 -7
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +11 -9
- package/lib/components/navigation/back-button/back-button.component.d.ts +4 -4
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +28 -13
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +11 -9
- 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 +9 -13
- package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
- package/lib/components/utils/icon/icon.component.d.ts +14 -16
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +27 -0
- package/lib/design-angular-kit-config.d.ts +16 -0
- package/lib/design-angular-kit.module.d.ts +9 -4
- package/lib/interfaces/core.d.ts +40 -16
- package/lib/interfaces/design-angular-kit-init.d.ts +7 -0
- package/lib/interfaces/form.d.ts +32 -8
- package/lib/interfaces/icon.d.ts +4 -3
- package/lib/interfaces/utils.d.ts +10 -0
- package/lib/pipes/mark-matching-text.pipe.d.ts +10 -0
- package/lib/services/{notifications/notifications.service.d.ts → notification/notification.service.d.ts} +20 -20
- package/lib/utils/boolean-input.d.ts +1 -1
- package/lib/utils/file-utils.d.ts +5 -0
- package/lib/utils/regex.d.ts +5 -0
- package/lib/validators/it-validators.d.ts +16 -9
- package/package.json +13 -17
- package/public_api.d.ts +21 -4
- package/esm2020/lib/abstracts/abstract-form-component.mjs +0 -165
- package/esm2020/lib/abstracts/abstract.component.mjs +0 -20
- package/esm2020/lib/components/core/accordion/accordion.component.mjs +0 -20
- package/esm2020/lib/components/core/alert/alert.component.mjs +0 -29
- package/esm2020/lib/components/core/badge/badge.directive.mjs +0 -34
- package/esm2020/lib/components/core/button/button.directive.mjs +0 -78
- package/esm2020/lib/components/core/callout/callout.component.mjs +0 -59
- package/esm2020/lib/components/core/card/card.component.mjs +0 -58
- package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +0 -66
- package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -14
- package/esm2020/lib/components/core/chip/chip.component.mjs +0 -89
- package/esm2020/lib/components/core/collapse/collapse.component.mjs +0 -96
- 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 -60
- package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -71
- package/esm2020/lib/components/core/forward/forward.directive.mjs +0 -51
- package/esm2020/lib/components/core/link/link.component.mjs +0 -39
- package/esm2020/lib/components/core/list/list/list.component.mjs +0 -13
- package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +0 -36
- package/esm2020/lib/components/core/modal/modal.component.mjs +0 -98
- package/esm2020/lib/components/core/notifications/notifications.component.mjs +0 -66
- package/esm2020/lib/components/core/pagination/pagination.component.mjs +0 -51
- package/esm2020/lib/components/core/popover/popover.directive.mjs +0 -176
- 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/spinner/spinner.component.mjs +0 -35
- package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -33
- 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 -140
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -40
- package/esm2020/lib/components/form/input/input.component.mjs +0 -159
- package/esm2020/lib/components/form/password-input/password-input.component.mjs +0 -112
- package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +0 -53
- 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 -134
- package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -99
- 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 -39
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -45
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -23
- package/esm2020/lib/components/navigation/header/header.component.mjs +0 -61
- package/esm2020/lib/components/utils/icon/icon.component.mjs +0 -54
- package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +0 -13
- package/esm2020/lib/design-angular-kit.module.mjs +0 -42
- package/esm2020/lib/interfaces/core.mjs +0 -16
- package/esm2020/lib/interfaces/form.mjs +0 -2
- package/esm2020/lib/interfaces/icon.mjs +0 -2
- package/esm2020/lib/modules/components.module.mjs +0 -241
- package/esm2020/lib/services/notifications/notifications.service.mjs +0 -122
- package/esm2020/lib/utils/file-utils.mjs +0 -65
- package/esm2020/lib/utils/regex.mjs +0 -26
- package/esm2020/lib/validators/it-validators.mjs +0 -131
- package/esm2020/public_api.mjs +0 -64
- package/fesm2015/design-angular-kit.mjs +0 -3271
- package/fesm2015/design-angular-kit.mjs.map +0 -1
- package/fesm2020/design-angular-kit.mjs +0 -3231
- package/fesm2020/design-angular-kit.mjs.map +0 -1
- package/lib/components/utils/not-found-page/not-found-page.component.d.ts +0 -5
- package/lib/modules/components.module.d.ts +0 -57
- /package/{esm2020 → esm2022}/design-angular-kit.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/utils/boolean-input.mjs +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
5
|
+
export declare class ItPaginationComponent implements OnChanges {
|
|
4
6
|
/**
|
|
5
7
|
* Index of page (start 0)
|
|
6
8
|
*/
|
|
@@ -9,23 +11,82 @@ export declare class PaginationComponent {
|
|
|
9
11
|
* Max number of page (counter)
|
|
10
12
|
*/
|
|
11
13
|
pageNumbers: number;
|
|
14
|
+
/**
|
|
15
|
+
* Number of pages closest to the current one to display
|
|
16
|
+
* @default 5
|
|
17
|
+
*/
|
|
18
|
+
visiblePages: number;
|
|
12
19
|
/**
|
|
13
20
|
* Pagination alignment (justify-content)
|
|
14
21
|
*/
|
|
15
|
-
alignment
|
|
22
|
+
alignment: 'center' | 'end' | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Enable/Disable simple mode
|
|
25
|
+
* Pagination in the "Simple mode" version is optimized for mobile devices.
|
|
26
|
+
* @default undefined - disabled
|
|
27
|
+
*/
|
|
28
|
+
simpleMode: BooleanInput | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Enable/Disable text links
|
|
31
|
+
* Chevron icons used as navigation links are replaced by text links such as “previous” and “next”.
|
|
32
|
+
* @default undefined - disabled
|
|
33
|
+
*/
|
|
34
|
+
textLinks: BooleanInput | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Current value of Changer
|
|
37
|
+
* If is set show the Changer
|
|
38
|
+
* @default undefined - hide the Changer
|
|
39
|
+
*/
|
|
40
|
+
currentChanger: number | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Available Changer values
|
|
43
|
+
* @default [10, 25, 50, 100]
|
|
44
|
+
*/
|
|
45
|
+
changerValues: Array<number>;
|
|
16
46
|
/**
|
|
17
|
-
*
|
|
47
|
+
* Hide/Show "Jump to page" input
|
|
48
|
+
* @default undefined - hidden
|
|
18
49
|
*/
|
|
19
|
-
|
|
50
|
+
showJumpToPage: BooleanInput | undefined;
|
|
20
51
|
/**
|
|
21
|
-
*
|
|
52
|
+
* Fired when page is changed. Emit the new index of page
|
|
22
53
|
*/
|
|
23
|
-
|
|
54
|
+
pageEvent: EventEmitter<number>;
|
|
55
|
+
/**
|
|
56
|
+
* Fired when changer is changed. Emit the new changer value
|
|
57
|
+
*/
|
|
58
|
+
changerEvent: EventEmitter<number>;
|
|
59
|
+
/**
|
|
60
|
+
* The pages
|
|
61
|
+
* @protected
|
|
62
|
+
*/
|
|
63
|
+
protected pages: Array<number>;
|
|
64
|
+
/**
|
|
65
|
+
* Jump to page input
|
|
66
|
+
* @protected
|
|
67
|
+
*/
|
|
68
|
+
protected jumpToPage: FormControl<number | null>;
|
|
69
|
+
get isSimpleMode(): boolean;
|
|
70
|
+
get isTextLinks(): boolean;
|
|
71
|
+
get isShowJumpToPage(): boolean;
|
|
72
|
+
constructor();
|
|
73
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
74
|
+
/**
|
|
75
|
+
* Create array to generate pagination of `visiblePages` element
|
|
76
|
+
*/
|
|
77
|
+
private calculatePages;
|
|
24
78
|
/**
|
|
25
79
|
* On click page change
|
|
80
|
+
* @param event click event
|
|
26
81
|
* @param newPage the new page of table
|
|
27
82
|
*/
|
|
28
|
-
pageChange(newPage: number): void;
|
|
29
|
-
|
|
30
|
-
|
|
83
|
+
protected pageChange(event: Event, newPage: number): void;
|
|
84
|
+
/**
|
|
85
|
+
* On click changer
|
|
86
|
+
* @param event click event
|
|
87
|
+
* @param value the new changer value
|
|
88
|
+
*/
|
|
89
|
+
protected changerChange(event: Event, value: number): void;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItPaginationComponent, never>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItPaginationComponent, "it-pagination[currentPage][pageNumbers]", never, { "currentPage": { "alias": "currentPage"; "required": false; }; "pageNumbers": { "alias": "pageNumbers"; "required": false; }; "visiblePages": { "alias": "visiblePages"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "simpleMode": { "alias": "simpleMode"; "required": false; }; "textLinks": { "alias": "textLinks"; "required": false; }; "currentChanger": { "alias": "currentChanger"; "required": false; }; "changerValues": { "alias": "changerValues"; "required": false; }; "showJumpToPage": { "alias": "showJumpToPage"; "required": false; }; }, { "pageEvent": "pageEvent"; "changerEvent": "changerEvent"; }, never, ["*"], true, never>;
|
|
31
92
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
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 ItPopoverDirective implements AfterViewInit, OnDestroy {
|
|
6
6
|
private readonly _elementRef;
|
|
7
7
|
/**
|
|
8
8
|
* Define the popover content
|
|
@@ -13,53 +13,54 @@ export declare class PopoverDirective implements AfterViewInit {
|
|
|
13
13
|
* Define the popover title
|
|
14
14
|
* @param title the popover title
|
|
15
15
|
*/
|
|
16
|
-
set
|
|
16
|
+
set popoverTitle(title: string | undefined);
|
|
17
17
|
/**
|
|
18
18
|
* Define the popover placement
|
|
19
19
|
* @param placement
|
|
20
20
|
*/
|
|
21
|
-
set
|
|
21
|
+
set popoverPlacement(placement: ElementPlacement);
|
|
22
22
|
/**
|
|
23
23
|
* Appends the popover to a specific element.
|
|
24
24
|
* @param container
|
|
25
25
|
*/
|
|
26
|
-
set
|
|
26
|
+
set popoverContainer(container: 'body' | string | undefined);
|
|
27
27
|
/**
|
|
28
28
|
* Indicates whether the title contains html
|
|
29
29
|
* @param html true if contain html
|
|
30
30
|
*/
|
|
31
|
-
set
|
|
31
|
+
set popoverHtml(html: BooleanInput);
|
|
32
32
|
/**
|
|
33
33
|
* How popover is triggered
|
|
34
34
|
* - 'hover': To open the Popover on hover of the mouse over the element
|
|
35
35
|
* - 'focus': To ignore popovers on the user's next click of an element other than the toggle element.
|
|
36
36
|
* @param trigger
|
|
37
37
|
*/
|
|
38
|
-
set
|
|
38
|
+
set popoverTrigger(trigger: 'click' | 'hover' | 'focus' | 'manual' | undefined);
|
|
39
39
|
/**
|
|
40
40
|
* This event fires immediately when the show method is called.
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
showEvent: EventEmitter<Event>;
|
|
43
43
|
/**
|
|
44
44
|
* This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
shownEvent: EventEmitter<Event>;
|
|
47
47
|
/**
|
|
48
48
|
* This event fires immediately when the hide method is called.
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
hideEvent: EventEmitter<Event>;
|
|
51
51
|
/**
|
|
52
52
|
* This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
hiddenEvent: EventEmitter<Event>;
|
|
55
55
|
/**
|
|
56
56
|
* This event fires after the show event when the tooltip template has been added to the DOM.
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
insertedEvent: EventEmitter<Event>;
|
|
59
59
|
private readonly element;
|
|
60
60
|
private popover?;
|
|
61
61
|
constructor(_elementRef: ElementRef);
|
|
62
62
|
ngAfterViewInit(): void;
|
|
63
|
+
ngOnDestroy(): void;
|
|
63
64
|
/**
|
|
64
65
|
* Shows the popover of an item.
|
|
65
66
|
*/
|
|
@@ -92,6 +93,6 @@ export declare class PopoverDirective implements AfterViewInit {
|
|
|
92
93
|
* Updates the position of an element's popover.
|
|
93
94
|
*/
|
|
94
95
|
update(): void;
|
|
95
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
96
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItPopoverDirective, never>;
|
|
97
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItPopoverDirective, "[itPopover]", ["itPopover"], { "content": { "alias": "itPopover"; "required": false; }; "popoverTitle": { "alias": "popoverTitle"; "required": false; }; "popoverPlacement": { "alias": "popoverPlacement"; "required": false; }; "popoverContainer": { "alias": "popoverContainer"; "required": false; }; "popoverHtml": { "alias": "popoverHtml"; "required": false; }; "popoverTrigger": { "alias": "popoverTrigger"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "insertedEvent": "insertedEvent"; }, never, never, true, never>;
|
|
97
98
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProgressBarColor } 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 ItProgressBarComponent {
|
|
5
5
|
/**
|
|
6
6
|
* The progress bar value [0, 100]
|
|
7
7
|
*/
|
|
@@ -9,20 +9,20 @@ export declare class ProgressBarComponent {
|
|
|
9
9
|
/**
|
|
10
10
|
* Show the progress label
|
|
11
11
|
*/
|
|
12
|
-
showLabel
|
|
12
|
+
showLabel: BooleanInput | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* Show the progress as indeterminate
|
|
15
15
|
*/
|
|
16
|
-
indeterminate
|
|
16
|
+
indeterminate: BooleanInput | undefined;
|
|
17
17
|
/**
|
|
18
18
|
* The progress bar color
|
|
19
19
|
*/
|
|
20
|
-
color
|
|
20
|
+
color: ProgressBarColor | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Return the background color
|
|
23
23
|
*/
|
|
24
24
|
get bgColor(): string;
|
|
25
25
|
get isIndeterminate(): boolean;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItProgressBarComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItProgressBarComponent, "it-progress-bar[value]", never, { "value": { "alias": "value"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
2
2
|
import { ProgressBarColor } from '../../../interfaces/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class ItProgressButtonComponent {
|
|
5
5
|
/**
|
|
6
6
|
* Behavior of the progress bar
|
|
7
7
|
* - <b>true</b>: Show indeterminate progress bar
|
|
@@ -9,14 +9,14 @@ export declare class ProgressButtonComponent {
|
|
|
9
9
|
* - <b>number</b> [0, 100]: Assign a specific value to the progress bar
|
|
10
10
|
* @default undefined
|
|
11
11
|
*/
|
|
12
|
-
progress
|
|
12
|
+
progress: number | BooleanInput | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* The progress bar color
|
|
15
15
|
*/
|
|
16
|
-
progressColor
|
|
16
|
+
progressColor: ProgressBarColor | undefined;
|
|
17
17
|
get isProgress(): boolean;
|
|
18
18
|
get progressValue(): number;
|
|
19
19
|
get isIndeterminate(): boolean;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItProgressButtonComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItProgressButtonComponent, "button[itButton][progress]", never, { "progress": { "alias": "progress"; "required": false; }; "progressColor": { "alias": "progressColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
22
22
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BooleanInput } from
|
|
1
|
+
import { BooleanInput } from '../../../utils/boolean-input';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class ItSpinnerComponent {
|
|
4
4
|
/**
|
|
5
5
|
* The spinner is active
|
|
6
6
|
*/
|
|
@@ -8,14 +8,14 @@ export declare class SpinnerComponent {
|
|
|
8
8
|
/**
|
|
9
9
|
* Show a small spinner
|
|
10
10
|
*/
|
|
11
|
-
small
|
|
11
|
+
small: BooleanInput | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* Show the double animation
|
|
14
14
|
*/
|
|
15
|
-
double
|
|
15
|
+
double: BooleanInput | undefined;
|
|
16
16
|
get isActive(): boolean;
|
|
17
17
|
get isSmall(): boolean;
|
|
18
18
|
get isDouble(): boolean;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItSpinnerComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItSpinnerComponent, "it-spinner", never, { "active": { "alias": "active"; "required": false; }; "small": { "alias": "small"; "required": false; }; "double": { "alias": "double"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
3
|
+
import { ItSteppersItemComponent } from '../steppers-item/steppers-item.component';
|
|
4
|
+
import { ProgressBarColor } from '../../../../interfaces/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ItSteppersContainerComponent implements AfterViewInit, OnDestroy {
|
|
7
|
+
private readonly _changeDetectorRef;
|
|
8
|
+
/**
|
|
9
|
+
* The active step index
|
|
10
|
+
* @param index the step index
|
|
11
|
+
*/
|
|
12
|
+
activeStep: number;
|
|
13
|
+
/**
|
|
14
|
+
* Show the stepper header
|
|
15
|
+
* @default true
|
|
16
|
+
*/
|
|
17
|
+
showHeader: BooleanInput;
|
|
18
|
+
/**
|
|
19
|
+
* Dark style
|
|
20
|
+
*/
|
|
21
|
+
dark: BooleanInput | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* The labels present in the header steps can be anticipated by the relative ordinal number.
|
|
24
|
+
*/
|
|
25
|
+
steppersNumber: BooleanInput | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* The progress style
|
|
28
|
+
* -<b>progress</b>: Show progress bar - You can change the color with the `progressColor` attribute
|
|
29
|
+
* -<b>dots</b>: Show progress dots
|
|
30
|
+
* @default undefined - don't show progress
|
|
31
|
+
*/
|
|
32
|
+
progressStyle: 'progress' | 'dots' | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Customize progress color
|
|
35
|
+
*/
|
|
36
|
+
progressColor: ProgressBarColor | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Show the back button
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
showBackButton: BooleanInput;
|
|
42
|
+
/**
|
|
43
|
+
* Disable the back button
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
disableBackButton: BooleanInput | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Show the forward button
|
|
49
|
+
* @default true
|
|
50
|
+
*/
|
|
51
|
+
showForwardButton: BooleanInput;
|
|
52
|
+
/**
|
|
53
|
+
* Disable the forward button
|
|
54
|
+
* @default false
|
|
55
|
+
*/
|
|
56
|
+
disableForwardButton: BooleanInput | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Show the confirm button
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
61
|
+
showConfirmButton: BooleanInput | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Disable the confirm button
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
disableConfirmButton: BooleanInput | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Show the confirm button as indeterminate progress button
|
|
69
|
+
*/
|
|
70
|
+
confirmLoading: BooleanInput | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Show the save button
|
|
73
|
+
* @default false
|
|
74
|
+
*/
|
|
75
|
+
showSaveButton: BooleanInput | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Disable the save button
|
|
78
|
+
* @default false
|
|
79
|
+
*/
|
|
80
|
+
disableSaveButton: BooleanInput | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Show the save button as indeterminate progress button
|
|
83
|
+
*/
|
|
84
|
+
saveLoading: BooleanInput | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* The stepper items
|
|
87
|
+
*/
|
|
88
|
+
steps?: QueryList<ItSteppersItemComponent>;
|
|
89
|
+
/**
|
|
90
|
+
* On back button click
|
|
91
|
+
* @event activeStep the current step index
|
|
92
|
+
*/
|
|
93
|
+
backClick: EventEmitter<number>;
|
|
94
|
+
/**
|
|
95
|
+
* On forward button click
|
|
96
|
+
* @event activeStep the current step index
|
|
97
|
+
*/
|
|
98
|
+
forwardClick: EventEmitter<number>;
|
|
99
|
+
/**
|
|
100
|
+
* On confirm button click
|
|
101
|
+
* @event activeStep the current step index
|
|
102
|
+
*/
|
|
103
|
+
confirmClick: EventEmitter<number>;
|
|
104
|
+
/**
|
|
105
|
+
* On save button click
|
|
106
|
+
* @event activeStep the current step index
|
|
107
|
+
*/
|
|
108
|
+
saveClick: EventEmitter<number>;
|
|
109
|
+
get isShowHeader(): boolean;
|
|
110
|
+
get isSteppersNumber(): boolean;
|
|
111
|
+
get isDark(): boolean;
|
|
112
|
+
get isShowBackButton(): boolean;
|
|
113
|
+
get isDisableBackButton(): boolean;
|
|
114
|
+
get isShowForwardButton(): boolean;
|
|
115
|
+
get isDisableForwardButton(): boolean;
|
|
116
|
+
get isShowConfirmButton(): boolean;
|
|
117
|
+
get isDisableConfirmButton(): boolean;
|
|
118
|
+
get isConfirmLoading(): boolean;
|
|
119
|
+
get isShowSaveButton(): boolean;
|
|
120
|
+
get isDisableSaveButton(): boolean;
|
|
121
|
+
get isSaveLoading(): boolean;
|
|
122
|
+
private stepsSubscriptions?;
|
|
123
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
124
|
+
ngAfterViewInit(): void;
|
|
125
|
+
ngOnDestroy(): void;
|
|
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>;
|
|
128
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { IconName } from '../../../../interfaces/icon';
|
|
3
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ItSteppersItemComponent extends ItAbstractComponent {
|
|
6
|
+
/**
|
|
7
|
+
* The labels present in the header steps
|
|
8
|
+
*/
|
|
9
|
+
label: string;
|
|
10
|
+
/**
|
|
11
|
+
* The labels present in the header steps can be preceded by an icon.
|
|
12
|
+
*/
|
|
13
|
+
icon: IconName | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* The content of step
|
|
16
|
+
*/
|
|
17
|
+
htmlContent: TemplateRef<any>;
|
|
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
|
+
}
|
|
@@ -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,28 +1,30 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
2
|
-
import { BooleanInput } from
|
|
3
|
-
import {
|
|
1
|
+
import { AfterViewInit, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
3
|
+
import { ItTabItemComponent } from '../tab-item/tab-item.component';
|
|
4
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
6
|
-
private readonly _changeDetectorRef;
|
|
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<
|
|
23
|
-
|
|
22
|
+
tabs?: QueryList<ItTabItemComponent>;
|
|
23
|
+
private tabNavLinks?;
|
|
24
|
+
private tabSubscriptions?;
|
|
24
25
|
isTrueBooleanInput(booleanInput?: BooleanInput): boolean;
|
|
25
26
|
ngAfterViewInit(): void;
|
|
26
|
-
|
|
27
|
-
static
|
|
27
|
+
ngOnDestroy(): void;
|
|
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>;
|
|
28
30
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { BooleanInput } from
|
|
4
|
-
import { IconName } from
|
|
1
|
+
import { AfterViewInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
3
|
+
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
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 {
|
|
|
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
|
-
import { TableColor, TableHeadColor, TableResponsive, VerticalAlignment } from
|
|
2
|
-
import { BooleanInput } from
|
|
1
|
+
import { TableColor, TableHeadColor, TableResponsive, VerticalAlignment } from '../../../interfaces/core';
|
|
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
|
}
|