design-angular-kit 1.0.0-9 → 1.0.0-prerelease.2
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 +212 -64
- package/assets/i18n/en.json +81 -12
- package/assets/i18n/it.json +80 -11
- package/esm2022/lib/abstracts/abstract-form.component.mjs +187 -0
- package/esm2022/lib/abstracts/abstract.component.mjs +45 -0
- package/esm2022/lib/components/core/accordion/accordion.component.mjs +39 -0
- package/esm2022/lib/components/core/alert/alert.component.mjs +71 -0
- package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +43 -0
- package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +38 -0
- package/esm2022/lib/components/core/avatar/avatar.directive.mjs +78 -0
- package/esm2022/lib/components/core/avatar/avatar.module.mjs +33 -0
- package/esm2022/lib/components/core/badge/badge.directive.mjs +39 -0
- package/esm2022/lib/components/core/button/button.directive.mjs +86 -0
- package/esm2022/lib/components/core/callout/callout.component.mjs +57 -0
- package/esm2022/lib/components/core/card/card.component.mjs +59 -0
- package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +84 -0
- package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +19 -0
- package/esm2022/lib/components/core/carousel/carousel.module.mjs +18 -0
- package/esm2022/lib/components/core/chip/chip.component.mjs +136 -0
- package/esm2022/lib/components/core/collapse/collapse.component.mjs +104 -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 +55 -0
- package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +19 -0
- package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +144 -0
- package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +61 -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 +42 -0
- package/esm2022/lib/components/core/list/list/list.component.mjs +22 -0
- package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +51 -0
- package/esm2022/lib/components/core/list/list.module.mjs +18 -0
- package/esm2022/lib/components/core/modal/modal.component.mjs +194 -0
- package/esm2022/lib/components/core/notifications/notifications.component.mjs +111 -0
- package/esm2022/lib/components/core/pagination/pagination.component.mjs +130 -0
- package/esm2022/lib/components/core/popover/popover.directive.mjs +176 -0
- package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +34 -0
- package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +25 -0
- package/esm2022/lib/components/core/spinner/spinner.component.mjs +30 -0
- package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +116 -0
- package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +20 -0
- package/esm2022/lib/components/core/steppers/steppers.module.mjs +18 -0
- package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +63 -0
- package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +39 -0
- package/esm2022/lib/components/core/tab/tab.module.mjs +18 -0
- package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +134 -0
- package/esm2022/lib/components/core/table/sort/sort.directive.mjs +123 -0
- package/esm2022/lib/components/core/table/table.component.mjs +45 -0
- package/esm2022/lib/components/core/table/table.module.mjs +19 -0
- package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +143 -0
- package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +106 -0
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +48 -0
- package/esm2022/lib/components/form/form.module.mjs +59 -0
- package/esm2022/lib/components/form/input/input.component.mjs +187 -0
- package/esm2022/lib/components/form/password-input/password-input.component.mjs +149 -0
- package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +60 -0
- package/esm2022/lib/components/form/range/range.component.mjs +64 -0
- package/esm2022/lib/components/form/rating/rating.component.mjs +50 -0
- package/esm2022/lib/components/form/select/select.component.mjs +70 -0
- package/esm2022/lib/components/form/textarea/textarea.component.mjs +55 -0
- package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +142 -0
- package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +107 -0
- package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +67 -0
- package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +58 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +51 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +21 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
- package/esm2022/lib/components/navigation/header/header.component.mjs +87 -0
- package/esm2022/lib/components/navigation/megamenu/megamenu.component.mjs +27 -0
- package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +40 -0
- package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +11 -0
- package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +18 -0
- package/esm2022/lib/components/utils/error-page/error-page.component.mjs +74 -0
- package/esm2022/lib/components/utils/icon/icon.component.mjs +58 -0
- package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +50 -0
- package/esm2022/lib/design-angular-kit.module.mjs +213 -0
- package/esm2022/lib/enums/colors.enums.mjs +12 -0
- package/esm2022/lib/enums/sizes.enum.mjs +9 -0
- package/esm2022/lib/interfaces/core.mjs +16 -0
- package/esm2022/lib/interfaces/design-angular-kit-config.mjs +7 -0
- package/esm2022/lib/interfaces/form.mjs +2 -0
- package/esm2022/lib/interfaces/icon.mjs +165 -0
- package/esm2022/lib/interfaces/sortable-table.mjs +6 -0
- package/esm2022/lib/pipes/date-ago.pipe.mjs +56 -0
- package/esm2022/lib/pipes/duration.pipe.mjs +110 -0
- package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +48 -0
- package/esm2022/lib/provide-design-angular-kit.mjs +61 -0
- package/esm2022/lib/services/notification/notification.service.mjs +120 -0
- package/esm2022/lib/utils/coercion.mjs +18 -0
- package/esm2022/lib/utils/date-utils.mjs +160 -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 +99 -0
- package/fesm2022/design-angular-kit.mjs +5556 -0
- package/fesm2022/design-angular-kit.mjs.map +1 -0
- package/lib/abstracts/{abstract-form-component.d.ts → abstract-form.component.d.ts} +12 -14
- package/lib/abstracts/abstract.component.d.ts +18 -8
- package/lib/components/core/accordion/accordion.component.d.ts +11 -5
- package/lib/components/core/alert/alert.component.d.ts +15 -10
- package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +29 -0
- package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +13 -0
- package/lib/components/core/avatar/avatar.directive.d.ts +33 -0
- package/lib/components/core/avatar/avatar.module.d.ts +9 -0
- package/lib/components/core/badge/badge.directive.d.ts +14 -7
- package/lib/components/core/button/button.directive.d.ts +25 -15
- package/lib/components/core/callout/callout.component.d.ts +18 -20
- package/lib/components/core/card/card.component.d.ts +46 -18
- 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 +29 -15
- package/lib/components/core/collapse/collapse.component.d.ts +22 -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 +6 -6
- package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +30 -17
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +15 -12
- 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 +14 -10
- package/lib/components/core/list/list/list.component.d.ts +20 -6
- package/lib/components/core/list/list-item/list-item.component.d.ts +23 -9
- package/lib/components/core/list/list.module.d.ts +8 -0
- package/lib/components/core/modal/modal.component.d.ts +89 -13
- package/lib/components/core/notifications/notifications.component.d.ts +9 -8
- 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 +11 -8
- package/lib/components/core/progress-button/progress-button.component.d.ts +5 -6
- package/lib/components/core/spinner/spinner.component.d.ts +13 -10
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +55 -27
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +5 -4
- package/lib/components/core/steppers/steppers.module.d.ts +8 -0
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +15 -12
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +14 -10
- package/lib/components/core/tab/tab.module.d.ts +8 -0
- package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +72 -0
- package/lib/components/core/table/sort/sort.directive.d.ts +53 -0
- package/lib/components/core/table/table.component.d.ts +26 -20
- package/lib/components/core/table/table.module.d.ts +9 -0
- package/lib/components/core/tooltip/tooltip.directive.d.ts +12 -11
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +55 -0
- package/lib/components/form/checkbox/checkbox.component.d.ts +23 -12
- package/lib/components/form/form.module.d.ts +17 -0
- package/lib/components/form/input/input.component.d.ts +42 -43
- package/lib/components/form/password-input/password-input.component.d.ts +35 -10
- package/lib/components/form/radio-button/radio-button.component.d.ts +20 -11
- 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 +15 -5
- package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +18 -12
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +14 -11
- package/lib/components/navigation/back-button/back-button.component.d.ts +8 -8
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +15 -16
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +12 -14
- package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +9 -8
- package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/lib/components/navigation/header/header.component.d.ts +28 -25
- package/lib/components/navigation/megamenu/megamenu.component.d.ts +22 -0
- package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +16 -0
- package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +5 -0
- package/lib/components/navigation/navbar/navbar.module.d.ts +8 -0
- package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
- package/lib/components/utils/icon/icon.component.d.ts +25 -17
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +9 -5
- package/lib/design-angular-kit.module.d.ts +44 -7
- package/lib/enums/colors.enums.d.ts +10 -0
- package/lib/enums/sizes.enum.d.ts +7 -0
- package/lib/interfaces/core.d.ts +16 -15
- package/lib/interfaces/design-angular-kit-config.d.ts +30 -0
- package/lib/interfaces/form.d.ts +9 -9
- package/lib/interfaces/icon.d.ts +4 -3
- package/lib/interfaces/sortable-table.d.ts +33 -0
- package/lib/pipes/date-ago.pipe.d.ts +17 -0
- package/lib/pipes/duration.pipe.d.ts +35 -0
- package/lib/pipes/mark-matching-text.pipe.d.ts +15 -7
- package/lib/provide-design-angular-kit.d.ts +7 -0
- package/lib/services/{notifications/notifications.service.d.ts → notification/notification.service.d.ts} +3 -3
- package/lib/utils/coercion.d.ts +14 -0
- package/lib/utils/date-utils.d.ts +78 -0
- package/lib/utils/file-utils.d.ts +1 -1
- package/lib/utils/regex.d.ts +5 -0
- package/lib/validators/it-validators.d.ts +9 -2
- package/package.json +17 -22
- package/public_api.d.ts +31 -4
- package/esm2020/lib/abstracts/abstract-form-component.mjs +0 -174
- package/esm2020/lib/abstracts/abstract.component.mjs +0 -27
- package/esm2020/lib/components/core/accordion/accordion.component.mjs +0 -31
- package/esm2020/lib/components/core/alert/alert.component.mjs +0 -69
- package/esm2020/lib/components/core/badge/badge.directive.mjs +0 -34
- package/esm2020/lib/components/core/button/button.directive.mjs +0 -80
- package/esm2020/lib/components/core/callout/callout.component.mjs +0 -84
- 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 -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 -51
- package/esm2020/lib/components/core/link/link.component.mjs +0 -40
- 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 -110
- package/esm2020/lib/components/core/pagination/pagination.component.mjs +0 -51
- package/esm2020/lib/components/core/popover/popover.directive.mjs +0 -179
- 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/steppers/steppers-container/steppers-container.component.mjs +0 -119
- package/esm2020/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -18
- 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 -143
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -40
- package/esm2020/lib/components/form/input/input.component.mjs +0 -222
- 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 -137
- 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 -74
- 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 -63
- package/esm2020/lib/components/utils/icon/icon.component.mjs +0 -54
- package/esm2020/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -39
- package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +0 -13
- package/esm2020/lib/design-angular-kit.module.mjs +0 -56
- 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 -257
- 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/boolean-input.mjs +0 -15
- 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 -134
- package/esm2020/public_api.mjs +0 -70
- package/fesm2015/design-angular-kit.mjs +0 -3850
- package/fesm2015/design-angular-kit.mjs.map +0 -1
- package/fesm2020/design-angular-kit.mjs +0 -3797
- 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 -61
- package/lib/utils/boolean-input.d.ts +0 -11
- /package/{esm2020 → esm2022}/design-angular-kit.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interfaces/utils.mjs +0 -0
|
@@ -1,62 +1,76 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { IconName } from '../../../interfaces/icon';
|
|
3
|
+
import { ChipColor } from '../../../interfaces/core';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare
|
|
5
|
-
export declare class ChipComponent {
|
|
5
|
+
export declare class ItChipComponent {
|
|
6
6
|
/**
|
|
7
7
|
* Indica la label
|
|
8
|
-
|
|
8
|
+
*/
|
|
9
9
|
set label(value: string);
|
|
10
10
|
get label(): string;
|
|
11
11
|
private _label;
|
|
12
12
|
/**
|
|
13
13
|
* Indica se mostrate il pulante di chisura
|
|
14
|
-
|
|
14
|
+
*/
|
|
15
15
|
set showCloseButton(value: boolean);
|
|
16
16
|
get showCloseButton(): boolean;
|
|
17
17
|
private _showCloseButton;
|
|
18
18
|
/**
|
|
19
19
|
* Indica il size
|
|
20
|
-
|
|
20
|
+
*/
|
|
21
21
|
set size(value: '' | 'lg');
|
|
22
22
|
get size(): '' | 'lg';
|
|
23
23
|
private _size;
|
|
24
24
|
/**
|
|
25
25
|
* Indica il colore della chip
|
|
26
|
-
|
|
26
|
+
*/
|
|
27
27
|
set color(value: ChipColor | undefined);
|
|
28
28
|
get color(): ChipColor | undefined;
|
|
29
29
|
private _color;
|
|
30
30
|
/**
|
|
31
31
|
* Indica se la chip è disabilitata
|
|
32
|
-
|
|
32
|
+
*/
|
|
33
33
|
set disabled(value: boolean);
|
|
34
34
|
get disabled(): boolean;
|
|
35
35
|
private _disabled;
|
|
36
36
|
/**
|
|
37
37
|
* Indica il nome dell'icona, se valorizzata viene mostrata
|
|
38
|
-
|
|
38
|
+
*/
|
|
39
39
|
set icon(value: IconName | undefined);
|
|
40
40
|
get icon(): IconName | undefined;
|
|
41
41
|
private _icon;
|
|
42
42
|
/**
|
|
43
43
|
* Indica l'url dell'avatar, se valorizzata viene mostrata
|
|
44
|
-
|
|
44
|
+
*/
|
|
45
45
|
set avatar(value: string | undefined);
|
|
46
46
|
get avatar(): string | undefined;
|
|
47
47
|
private _avatar;
|
|
48
48
|
/**
|
|
49
49
|
* Indica il valore da aggiungere al parametro alt, di default ''
|
|
50
|
-
|
|
50
|
+
*/
|
|
51
51
|
set altAvatar(value: string);
|
|
52
52
|
get altAvatar(): string;
|
|
53
53
|
private _altAvatar;
|
|
54
54
|
/**
|
|
55
55
|
* Evento emesso al click sul bottone di chiusura
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
*/
|
|
57
|
+
closeEvent: EventEmitter<any>;
|
|
58
|
+
/**
|
|
59
|
+
* Return the icon href
|
|
60
|
+
*/
|
|
61
|
+
protected get iconHref(): string;
|
|
62
|
+
private iconClose;
|
|
63
|
+
/**
|
|
64
|
+
* Return the close icon href
|
|
65
|
+
*/
|
|
66
|
+
protected get iconCloseHref(): string;
|
|
67
|
+
/**
|
|
68
|
+
* The bootstrap-italia asset folder path
|
|
69
|
+
* @default ./bootstrap-italia
|
|
70
|
+
*/
|
|
71
|
+
protected assetBasePath: string;
|
|
72
|
+
constructor();
|
|
59
73
|
clickToClose(): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItChipComponent, never>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItChipComponent, "it-chip", never, { "label": { "alias": "label"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "altAvatar": { "alias": "altAvatar"; "required": false; }; }, { "closeEvent": "closeEvent"; }, never, never, true, never>;
|
|
62
76
|
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { BooleanInput } from '../../../utils/boolean-input';
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
4
|
+
import * as i1 from "../../../utils/coercion";
|
|
5
|
+
export declare class ItCollapseComponent extends ItAbstractComponent implements AfterViewInit {
|
|
6
6
|
/**
|
|
7
7
|
* Enable multiple collapse
|
|
8
|
+
* @default false
|
|
8
9
|
*/
|
|
9
|
-
multi?:
|
|
10
|
+
multi?: boolean;
|
|
10
11
|
/**
|
|
11
12
|
* Toggles the collapsible element on invocation
|
|
13
|
+
* @default false
|
|
12
14
|
*/
|
|
13
|
-
opened?:
|
|
15
|
+
opened?: boolean;
|
|
14
16
|
/**
|
|
15
17
|
* Custom class
|
|
16
18
|
*/
|
|
@@ -18,24 +20,27 @@ export declare class CollapseComponent extends AbstractComponent {
|
|
|
18
20
|
/**
|
|
19
21
|
* This event fires immediately when the show method is called.
|
|
20
22
|
*/
|
|
21
|
-
|
|
23
|
+
showEvent: EventEmitter<Event>;
|
|
22
24
|
/**
|
|
23
25
|
* This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
|
|
24
26
|
*/
|
|
25
|
-
|
|
27
|
+
shownEvent: EventEmitter<Event>;
|
|
26
28
|
/**
|
|
27
29
|
* This event fires immediately when the hide method is called.
|
|
28
30
|
*/
|
|
29
|
-
|
|
31
|
+
hideEvent: EventEmitter<Event>;
|
|
30
32
|
/**
|
|
31
33
|
* This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
|
|
32
34
|
*/
|
|
33
|
-
|
|
35
|
+
hiddenEvent: EventEmitter<Event>;
|
|
34
36
|
private collapse?;
|
|
35
|
-
private
|
|
36
|
-
|
|
37
|
-
get isOpenedOnStart(): boolean;
|
|
37
|
+
private open;
|
|
38
|
+
protected collapseDiv?: ElementRef<HTMLDivElement>;
|
|
38
39
|
ngAfterViewInit(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Shows if collapse is open or not
|
|
42
|
+
*/
|
|
43
|
+
isOpen(): boolean;
|
|
39
44
|
/**
|
|
40
45
|
* Shows a resealable item
|
|
41
46
|
* NOTE: Returns to the caller before the collapsable element has actually been shown (onShown event).
|
|
@@ -55,6 +60,8 @@ export declare class CollapseComponent extends AbstractComponent {
|
|
|
55
60
|
* Eliminates the possibility of an item being resealable
|
|
56
61
|
*/
|
|
57
62
|
dispose(): void;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCollapseComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCollapseComponent, "it-collapse", ["itCollapse"], { "multi": { "alias": "multi"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; }, never, ["*"], true, never>;
|
|
65
|
+
static ngAcceptInputType_multi: i1.BooleanInput;
|
|
66
|
+
static ngAcceptInputType_opened: i1.BooleanInput;
|
|
60
67
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class ItDimmerButtonsComponent {
|
|
3
3
|
/**
|
|
4
4
|
* Indica se abbiamo 1 solo bottone
|
|
5
5
|
* @default false
|
|
@@ -7,6 +7,6 @@ export declare class DimmerButtonsComponent {
|
|
|
7
7
|
set hasOneButton(value: boolean);
|
|
8
8
|
get hasOneButton(): boolean;
|
|
9
9
|
private _hasOneButton;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerButtonsComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerButtonsComponent, "it-dimmer-buttons", never, { "hasOneButton": { "alias": "hasOneButton"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
12
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
2
|
+
export declare class ItDimmerIconComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerIconComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerIconComponent, "it-dimmer-icon", never, {}, {}, never, ["*"], true, never>;
|
|
5
5
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export
|
|
4
|
-
export declare class
|
|
3
|
+
export type DimmerColor = '' | 'dimmer-primary';
|
|
4
|
+
export declare class ItDimmerComponent implements OnInit {
|
|
5
5
|
private elementRef;
|
|
6
6
|
/**
|
|
7
7
|
* Dimmer status
|
|
8
8
|
* @default false
|
|
9
|
-
|
|
9
|
+
*/
|
|
10
10
|
set active(value: boolean);
|
|
11
11
|
get active(): boolean;
|
|
12
12
|
private _active;
|
|
13
13
|
/**
|
|
14
14
|
* Colore del dimmer
|
|
15
15
|
* @default ''
|
|
16
|
-
|
|
16
|
+
*/
|
|
17
17
|
set color(value: DimmerColor);
|
|
18
18
|
get color(): DimmerColor;
|
|
19
19
|
private _color;
|
|
20
20
|
constructor(elementRef: ElementRef);
|
|
21
21
|
ngOnInit(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerComponent, "it-dimmer", never, { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
24
24
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dimmer.component";
|
|
3
|
+
import * as i2 from "./dimmer-icon/dimmer-icon.component";
|
|
4
|
+
import * as i3 from "./dimmer-buttons/dimmer-buttons.component";
|
|
5
|
+
export declare class ItDimmerModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItDimmerModule, never, [typeof i1.ItDimmerComponent, typeof i2.ItDimmerIconComponent, typeof i3.ItDimmerButtonsComponent], [typeof i1.ItDimmerComponent, typeof i2.ItDimmerIconComponent, typeof i3.ItDimmerButtonsComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItDimmerModule>;
|
|
9
|
+
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { EventEmitter, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
3
3
|
import { ButtonColor, DropdownDirection } from '../../../../interfaces/core';
|
|
4
|
-
import {
|
|
5
|
-
import { DropdownItemComponent } from '../dropdown-item/dropdown-item.component';
|
|
4
|
+
import { ItDropdownItemComponent } from '../dropdown-item/dropdown-item.component';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
|
-
|
|
6
|
+
import * as i1 from "../../../../utils/coercion";
|
|
7
|
+
export declare class ItDropdownComponent extends ItAbstractComponent implements AfterViewInit, OnChanges {
|
|
8
|
+
/**
|
|
9
|
+
* Dropdown mode
|
|
10
|
+
*/
|
|
11
|
+
mode: 'button' | 'link' | 'nav';
|
|
8
12
|
/**
|
|
9
13
|
* Button color
|
|
10
14
|
*/
|
|
@@ -15,40 +19,45 @@ export declare class DropdownComponent extends AbstractComponent {
|
|
|
15
19
|
* - <strong>dropend</strong>: right
|
|
16
20
|
* - <strong>dropstart</strong>: left
|
|
17
21
|
*/
|
|
18
|
-
direction
|
|
22
|
+
direction: DropdownDirection | undefined;
|
|
19
23
|
/**
|
|
20
24
|
* To get a dropdown menu as wide as the element containing the dropdown button
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
fullWidth?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Contains a Megamenu element
|
|
30
|
+
* @default false
|
|
21
31
|
*/
|
|
22
|
-
|
|
32
|
+
megamenu?: boolean;
|
|
23
33
|
/**
|
|
24
34
|
* Dark menu style
|
|
35
|
+
* @default false
|
|
25
36
|
*/
|
|
26
|
-
dark?:
|
|
37
|
+
dark?: boolean;
|
|
27
38
|
/**
|
|
28
39
|
* The dropdown items
|
|
29
40
|
*/
|
|
30
|
-
items?: QueryList<
|
|
41
|
+
items?: QueryList<ItDropdownItemComponent>;
|
|
31
42
|
/**
|
|
32
43
|
* Fires immediately when the show instance method is called.
|
|
33
44
|
*/
|
|
34
|
-
|
|
45
|
+
showEvent: EventEmitter<Event>;
|
|
35
46
|
/**
|
|
36
47
|
* Fired when the dropdown has been made visible to the user and CSS transitions have completed.
|
|
37
48
|
*/
|
|
38
|
-
|
|
49
|
+
shownEvent: EventEmitter<Event>;
|
|
39
50
|
/**
|
|
40
51
|
* Fires immediately when the hide instance method has been called.
|
|
41
52
|
*/
|
|
42
|
-
|
|
53
|
+
hideEvent: EventEmitter<Event>;
|
|
43
54
|
/**
|
|
44
55
|
* Fired when the dropdown has finished being hidden from the user and CSS transitions have completed.
|
|
45
56
|
*/
|
|
46
|
-
|
|
57
|
+
hiddenEvent: EventEmitter<Event>;
|
|
47
58
|
private dropdown?;
|
|
48
59
|
private dropdownButton?;
|
|
49
60
|
get buttonClass(): string;
|
|
50
|
-
get isFullWidth(): boolean;
|
|
51
|
-
get isDark(): boolean;
|
|
52
61
|
ngOnChanges(changes: SimpleChanges): void;
|
|
53
62
|
ngAfterViewInit(): void;
|
|
54
63
|
/**
|
|
@@ -56,6 +65,7 @@ export declare class DropdownComponent extends AbstractComponent {
|
|
|
56
65
|
* @private
|
|
57
66
|
*/
|
|
58
67
|
private setDarkItems;
|
|
68
|
+
private updateListeners;
|
|
59
69
|
/**
|
|
60
70
|
* Toggles the dropdown menu of a given navbar or tabbed navigation.
|
|
61
71
|
*/
|
|
@@ -76,6 +86,9 @@ export declare class DropdownComponent extends AbstractComponent {
|
|
|
76
86
|
* Destroys an element's dropdown. (Removes stored data on the DOM element)
|
|
77
87
|
*/
|
|
78
88
|
dispose(): void;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownComponent, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItDropdownComponent, "it-dropdown", ["itDropdown"], { "mode": { "alias": "mode"; "required": false; }; "color": { "alias": "color"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "megamenu": { "alias": "megamenu"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; }, ["items"], ["[listHeading]", "[list]", "[button]"], true, never>;
|
|
91
|
+
static ngAcceptInputType_fullWidth: i1.BooleanInput;
|
|
92
|
+
static ngAcceptInputType_megamenu: i1.BooleanInput;
|
|
93
|
+
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
81
94
|
}
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
2
1
|
import { IconName } from '../../../../interfaces/icon';
|
|
3
|
-
import {
|
|
2
|
+
import { ItLinkComponent } from '../../link/link.component';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
4
|
+
import * as i1 from "../../../../utils/coercion";
|
|
5
|
+
export declare class ItDropdownItemComponent extends ItLinkComponent {
|
|
6
6
|
/**
|
|
7
7
|
* Show divider
|
|
8
|
+
* @default false
|
|
8
9
|
*/
|
|
9
|
-
divider?:
|
|
10
|
+
divider?: boolean;
|
|
10
11
|
/**
|
|
11
12
|
* Active item
|
|
13
|
+
* @default false
|
|
12
14
|
*/
|
|
13
|
-
active?:
|
|
15
|
+
active?: boolean;
|
|
14
16
|
/**
|
|
15
17
|
* To increase the size of links
|
|
18
|
+
* @default false
|
|
16
19
|
*/
|
|
17
|
-
large?:
|
|
20
|
+
large?: boolean;
|
|
18
21
|
/**
|
|
19
22
|
* The name of icon to show
|
|
20
23
|
*/
|
|
21
|
-
iconName
|
|
24
|
+
iconName: IconName | undefined;
|
|
22
25
|
/**
|
|
23
26
|
* The icon position
|
|
24
27
|
* @default right
|
|
@@ -29,11 +32,11 @@ export declare class DropdownItemComponent extends LinkComponent {
|
|
|
29
32
|
* @default false
|
|
30
33
|
*/
|
|
31
34
|
isDark: boolean;
|
|
32
|
-
get isDivider(): boolean;
|
|
33
|
-
get isActive(): boolean;
|
|
34
|
-
get isLarge(): boolean;
|
|
35
35
|
get linkClass(): string;
|
|
36
36
|
setDark(dark: boolean): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownItemComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItDropdownItemComponent, "it-dropdown-item", never, { "divider": { "alias": "divider"; "required": false; }; "active": { "alias": "active"; "required": false; }; "large": { "alias": "large"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
39
|
+
static ngAcceptInputType_divider: i1.BooleanInput;
|
|
40
|
+
static ngAcceptInputType_active: i1.BooleanInput;
|
|
41
|
+
static ngAcceptInputType_large: i1.BooleanInput;
|
|
39
42
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dropdown/dropdown.component";
|
|
3
|
+
import * as i2 from "./dropdown-item/dropdown-item.component";
|
|
4
|
+
export declare class ItDropdownModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItDropdownModule, never, [typeof i1.ItDropdownComponent, typeof i2.ItDropdownItemComponent], [typeof i1.ItDropdownComponent, typeof i2.ItDropdownItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItDropdownModule>;
|
|
8
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class ItForwardDirective {
|
|
3
3
|
private document?;
|
|
4
4
|
/**
|
|
5
5
|
* Indica, se HTMLElement, l'elemento a cui navigare, o se stringa, il selettore che selezionerà l'elemento a cui navigare.
|
|
@@ -9,6 +9,6 @@ export declare class ForwardDirective {
|
|
|
9
9
|
private _itForward;
|
|
10
10
|
constructor(document?: Document | undefined);
|
|
11
11
|
onClick(event: any): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItForwardDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItForwardDirective, "[itForward]", never, { "itForward": { "alias": "itForward"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
4
|
+
import * as i1 from "../../../utils/coercion";
|
|
5
|
+
export declare class ItLinkComponent extends ItAbstractComponent implements AfterViewInit, OnChanges {
|
|
5
6
|
/**
|
|
6
7
|
* The router link action
|
|
7
8
|
*
|
|
@@ -10,22 +11,25 @@ export declare class LinkComponent extends AbstractComponent {
|
|
|
10
11
|
* - string: shorthand for array of commands with just the string, i.e. ['/route']
|
|
11
12
|
* - null|undefined: Disables the link by removing the href
|
|
12
13
|
*/
|
|
13
|
-
href
|
|
14
|
+
href: any[] | string | null | undefined;
|
|
14
15
|
/**
|
|
15
16
|
* Is an external link (false to not use Angular router link)
|
|
17
|
+
* @default false
|
|
16
18
|
*/
|
|
17
|
-
externalLink?:
|
|
19
|
+
externalLink?: boolean;
|
|
18
20
|
/**
|
|
19
21
|
* Is disabled link
|
|
22
|
+
* @default false
|
|
20
23
|
*/
|
|
21
|
-
disabled?:
|
|
24
|
+
disabled?: boolean;
|
|
22
25
|
/**
|
|
23
26
|
* Custom class
|
|
24
27
|
*/
|
|
25
28
|
class: string;
|
|
26
|
-
get isExternalLink(): boolean;
|
|
27
|
-
get isDisabled(): boolean;
|
|
28
29
|
ngAfterViewInit(): void;
|
|
29
|
-
|
|
30
|
-
static
|
|
30
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItLinkComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItLinkComponent, "it-link", never, { "href": { "alias": "href"; "required": false; }; "externalLink": { "alias": "externalLink"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
33
|
+
static ngAcceptInputType_externalLink: i1.BooleanInput;
|
|
34
|
+
static ngAcceptInputType_disabled: i1.BooleanInput;
|
|
31
35
|
}
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
2
|
+
import * as i1 from "../../../../utils/coercion";
|
|
3
|
+
export declare class ItListComponent {
|
|
4
4
|
/**
|
|
5
|
-
* Add 'link-list' class for navigation
|
|
5
|
+
* Add 'link-list' class for navigation menu
|
|
6
|
+
* @default false
|
|
6
7
|
*/
|
|
7
|
-
linkList?:
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
linkList?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Add 'link-sublist' class for navigation menu
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
linkSubList?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Add 'multiline' class for wrapper
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
multiline?: boolean;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItListComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItListComponent, "it-list", never, { "linkList": { "alias": "linkList"; "required": false; }; "linkSubList": { "alias": "linkSubList"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
21
|
+
static ngAcceptInputType_linkList: i1.BooleanInput;
|
|
22
|
+
static ngAcceptInputType_linkSubList: i1.BooleanInput;
|
|
23
|
+
static ngAcceptInputType_multiline: i1.BooleanInput;
|
|
10
24
|
}
|
|
@@ -1,24 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { LinkComponent } from '../../link/link.component';
|
|
1
|
+
import { ItLinkComponent } from '../../link/link.component';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
3
|
+
import * as i1 from "../../../../utils/coercion";
|
|
4
|
+
export declare class ItListItemComponent extends ItLinkComponent {
|
|
5
5
|
/**
|
|
6
6
|
* Add active class
|
|
7
|
+
* @default false
|
|
7
8
|
*/
|
|
8
|
-
active?:
|
|
9
|
+
active?: boolean;
|
|
9
10
|
/**
|
|
10
11
|
* Add large class
|
|
11
12
|
*/
|
|
12
|
-
large?:
|
|
13
|
+
large?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Add icon-left class
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
iconLeft?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Add icon-right class
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
iconRight?: boolean;
|
|
13
24
|
/**
|
|
14
25
|
* The avatar url
|
|
15
26
|
*/
|
|
16
|
-
avatar
|
|
27
|
+
avatar: URL | undefined;
|
|
17
28
|
/**
|
|
18
29
|
* The thumb image url
|
|
19
30
|
*/
|
|
20
|
-
image
|
|
31
|
+
image: URL | undefined;
|
|
21
32
|
get itemClass(): string;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItListItemComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItListItemComponent, "it-list-item", never, { "active": { "alias": "active"; "required": false; }; "large": { "alias": "large"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, ["[icon]", "*", "[action]", "[metadata]", "[multiple]"], true, never>;
|
|
35
|
+
static ngAcceptInputType_active: i1.BooleanInput;
|
|
36
|
+
static ngAcceptInputType_iconLeft: i1.BooleanInput;
|
|
37
|
+
static ngAcceptInputType_iconRight: i1.BooleanInput;
|
|
24
38
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./list/list.component";
|
|
3
|
+
import * as i2 from "./list-item/list-item.component";
|
|
4
|
+
export declare class ItListModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItListModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItListModule, never, [typeof i1.ItListComponent, typeof i2.ItListItemComponent], [typeof i1.ItListComponent, typeof i2.ItListItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItListModule>;
|
|
8
|
+
}
|