design-angular-kit 1.0.0-9 → 1.0.0-prerelease.1
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 +77 -7
- 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/components.module.mjs +218 -0
- package/esm2022/lib/components/core/accordion/accordion.component.mjs +38 -0
- package/esm2022/lib/components/core/alert/alert.component.mjs +72 -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/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 +81 -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 +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 +59 -0
- package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +27 -0
- package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +141 -0
- package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +62 -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 +23 -0
- package/esm2022/lib/components/core/modal/modal.component.mjs +195 -0
- package/esm2022/lib/components/core/notifications/notifications.component.mjs +112 -0
- package/esm2022/lib/components/core/pagination/pagination.component.mjs +127 -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 +26 -0
- package/esm2022/lib/components/core/spinner/spinner.component.mjs +31 -0
- package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +112 -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 +39 -0
- package/esm2022/lib/components/core/tab/tab.module.mjs +23 -0
- package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +136 -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/tooltip/tooltip.directive.mjs +143 -0
- package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +95 -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 +58 -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 +55 -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 +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 +55 -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 +73 -0
- package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +41 -0
- package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +13 -0
- package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +18 -0
- package/esm2022/lib/components/utils/error-page/error-page.component.mjs +75 -0
- package/esm2022/lib/components/utils/icon/icon.component.mjs +56 -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/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-init.mjs +2 -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/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 +98 -0
- package/fesm2022/design-angular-kit.mjs +5450 -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/components.module.d.ts +45 -0
- 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/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 +8 -5
- 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 +4 -4
- package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +24 -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/tooltip/tooltip.directive.d.ts +12 -11
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +49 -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 +5 -5
- 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 +13 -10
- 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 +22 -25
- 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 +15 -15
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +9 -5
- package/lib/design-angular-kit-config.d.ts +16 -0
- package/lib/design-angular-kit.module.d.ts +6 -4
- 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-init.d.ts +7 -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/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 +14 -20
- package/public_api.d.ts +29 -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,10 +1,15 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Carousel Item
|
|
6
|
+
* @description element, image or text slide of carousel
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItCarouselItemComponent extends ItAbstractComponent {
|
|
4
9
|
/**
|
|
5
10
|
* The content of item
|
|
6
11
|
*/
|
|
7
12
|
htmlContent: TemplateRef<any>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselItemComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCarouselItemComponent, "it-carousel-item", never, {}, {}, never, ["*"], true, never>;
|
|
10
15
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./carousel/carousel.component";
|
|
3
|
+
import * as i2 from "./carousel-item/carousel-item.component";
|
|
4
|
+
export declare class ItCarouselModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItCarouselModule, never, [typeof i1.ItCarouselComponent, typeof i2.ItCarouselItemComponent], [typeof i1.ItCarouselComponent, typeof i2.ItCarouselItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItCarouselModule>;
|
|
8
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { IconName } from '../../../interfaces/icon';
|
|
3
|
+
import { ChipColor } from '../../../interfaces/core';
|
|
4
|
+
import { DesignAngularKitConfig } from '../../../design-angular-kit-config';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
+
export declare class ItChipComponent {
|
|
7
|
+
protected readonly config: DesignAngularKitConfig;
|
|
6
8
|
/**
|
|
7
9
|
* Indica la label
|
|
8
10
|
*/
|
|
@@ -54,9 +56,10 @@ export declare class ChipComponent {
|
|
|
54
56
|
/**
|
|
55
57
|
* Evento emesso al click sul bottone di chiusura
|
|
56
58
|
*/
|
|
57
|
-
|
|
59
|
+
closeEvent: EventEmitter<any>;
|
|
58
60
|
iconClose: IconName;
|
|
61
|
+
constructor(config: DesignAngularKitConfig);
|
|
59
62
|
clickToClose(): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItChipComponent, never>;
|
|
64
|
+
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
65
|
}
|
|
@@ -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,7 +1,7 @@
|
|
|
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
|
|
@@ -19,6 +19,6 @@ export declare class DimmerComponent implements OnInit {
|
|
|
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,40 @@ 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
|
|
21
26
|
*/
|
|
22
|
-
fullWidth?:
|
|
27
|
+
fullWidth?: boolean;
|
|
23
28
|
/**
|
|
24
29
|
* Dark menu style
|
|
30
|
+
* @default false
|
|
25
31
|
*/
|
|
26
|
-
dark?:
|
|
32
|
+
dark?: boolean;
|
|
27
33
|
/**
|
|
28
34
|
* The dropdown items
|
|
29
35
|
*/
|
|
30
|
-
items?: QueryList<
|
|
36
|
+
items?: QueryList<ItDropdownItemComponent>;
|
|
31
37
|
/**
|
|
32
38
|
* Fires immediately when the show instance method is called.
|
|
33
39
|
*/
|
|
34
|
-
|
|
40
|
+
showEvent: EventEmitter<Event>;
|
|
35
41
|
/**
|
|
36
42
|
* Fired when the dropdown has been made visible to the user and CSS transitions have completed.
|
|
37
43
|
*/
|
|
38
|
-
|
|
44
|
+
shownEvent: EventEmitter<Event>;
|
|
39
45
|
/**
|
|
40
46
|
* Fires immediately when the hide instance method has been called.
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
hideEvent: EventEmitter<Event>;
|
|
43
49
|
/**
|
|
44
50
|
* Fired when the dropdown has finished being hidden from the user and CSS transitions have completed.
|
|
45
51
|
*/
|
|
46
|
-
|
|
52
|
+
hiddenEvent: EventEmitter<Event>;
|
|
47
53
|
private dropdown?;
|
|
48
54
|
private dropdownButton?;
|
|
49
55
|
get buttonClass(): string;
|
|
50
|
-
get isFullWidth(): boolean;
|
|
51
|
-
get isDark(): boolean;
|
|
52
56
|
ngOnChanges(changes: SimpleChanges): void;
|
|
53
57
|
ngAfterViewInit(): void;
|
|
54
58
|
/**
|
|
@@ -56,6 +60,7 @@ export declare class DropdownComponent extends AbstractComponent {
|
|
|
56
60
|
* @private
|
|
57
61
|
*/
|
|
58
62
|
private setDarkItems;
|
|
63
|
+
private updateListeners;
|
|
59
64
|
/**
|
|
60
65
|
* Toggles the dropdown menu of a given navbar or tabbed navigation.
|
|
61
66
|
*/
|
|
@@ -76,6 +81,8 @@ export declare class DropdownComponent extends AbstractComponent {
|
|
|
76
81
|
* Destroys an element's dropdown. (Removes stored data on the DOM element)
|
|
77
82
|
*/
|
|
78
83
|
dispose(): void;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownComponent, never>;
|
|
85
|
+
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; }; "dark": { "alias": "dark"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; }, ["items"], ["[listHeading]", "[list]", "[button]"], true, never>;
|
|
86
|
+
static ngAcceptInputType_fullWidth: i1.BooleanInput;
|
|
87
|
+
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
81
88
|
}
|
|
@@ -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
|
+
}
|
|
@@ -1,39 +1,106 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
|
+
import { Modal as BSModal } from 'bootstrap';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
+
import * as i1 from "../../../utils/coercion";
|
|
6
|
+
/**
|
|
7
|
+
* Modal windows
|
|
8
|
+
* @description To show featured content, notifications to users, or personalized content.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ItModalComponent extends ItAbstractComponent implements AfterViewInit {
|
|
5
11
|
/**
|
|
6
|
-
*
|
|
12
|
+
* Show/Hide close button on header
|
|
13
|
+
* @default true
|
|
7
14
|
*/
|
|
8
|
-
|
|
15
|
+
closeButton: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* To correctly format the contents of the modal with icon
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
alertModal?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* To correctly format the contents of the modal with Link List
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
dialogLinkList?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Modal type Popconfirm can be used for short confirmation messages.
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
popconfirm?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* You can choose to use a scroll inside the modal, keeping the header and footer of the modal always visible
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
scrollable?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* To have modals that appear with fades
|
|
38
|
+
* @default true
|
|
39
|
+
*/
|
|
40
|
+
fade?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Modal alignment
|
|
43
|
+
* - <b>centered</b>: to vertically center the modal
|
|
44
|
+
* - <b>left</b>: to left-align the modal
|
|
45
|
+
* - <b>right</b>: to right-align the modal
|
|
46
|
+
* @default undefined
|
|
47
|
+
*/
|
|
48
|
+
alignment: 'centered' | 'left' | 'right' | undefined;
|
|
9
49
|
/**
|
|
10
50
|
* The modal size
|
|
51
|
+
* @default undefined
|
|
52
|
+
*/
|
|
53
|
+
size: 'sm' | 'lg' | 'xl' | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn’t close the modal when clicked.
|
|
56
|
+
* @default true
|
|
57
|
+
*/
|
|
58
|
+
backdrop: 'static' | boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Puts the focus on the modal when initialized.
|
|
61
|
+
* @default true
|
|
62
|
+
*/
|
|
63
|
+
focus: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Closes the modal when escape key is pressed.
|
|
66
|
+
* @default true
|
|
67
|
+
*/
|
|
68
|
+
keyboard: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* To better distinguish the footer element with a shadow
|
|
71
|
+
* @default false
|
|
72
|
+
*/
|
|
73
|
+
footerShadow?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Modal options
|
|
11
76
|
*/
|
|
12
|
-
|
|
77
|
+
options?: Partial<BSModal.Options>;
|
|
13
78
|
/**
|
|
14
79
|
* This event fires immediately when the instance method show is called.
|
|
15
80
|
*/
|
|
16
|
-
|
|
81
|
+
showEvent: EventEmitter<Event>;
|
|
17
82
|
/**
|
|
18
83
|
* This event fires when the modal has been made visible to the user (it will wait for CSS transitions to complete).
|
|
19
84
|
*/
|
|
20
|
-
|
|
85
|
+
shownEvent: EventEmitter<Event>;
|
|
21
86
|
/**
|
|
22
87
|
* This event is raised immediately when the instance method hide has been called.
|
|
23
88
|
*/
|
|
24
|
-
|
|
89
|
+
hideEvent: EventEmitter<Event>;
|
|
25
90
|
/**
|
|
26
91
|
* This event fires when the modal has finished hiding from the user (it will wait for CSS transitions to complete).
|
|
27
92
|
*/
|
|
28
|
-
|
|
93
|
+
hiddenEvent: EventEmitter<Event>;
|
|
29
94
|
/**
|
|
30
95
|
* This event is fired when the modal is displayed, its background is static and a click outside the modal or a press
|
|
31
96
|
* of the esc key occurs and data-bs-keyboard is set to false.
|
|
32
97
|
*/
|
|
33
|
-
|
|
98
|
+
hidePreventedEvent: EventEmitter<Event>;
|
|
34
99
|
private modal?;
|
|
35
100
|
private modalElement?;
|
|
36
101
|
ngAfterViewInit(): void;
|
|
102
|
+
protected get modalClass(): string;
|
|
103
|
+
protected get dialogClass(): string;
|
|
37
104
|
/**
|
|
38
105
|
* Manually activate/deactivate a modal. Returns to the caller before the modal has actually been shown or hidden
|
|
39
106
|
*/
|
|
@@ -54,6 +121,15 @@ export declare class ModalComponent extends AbstractComponent {
|
|
|
54
121
|
* Destroys the modal of an element.
|
|
55
122
|
*/
|
|
56
123
|
dispose(): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItModalComponent, never>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItModalComponent, "it-modal", ["itModal"], { "closeButton": { "alias": "closeButton"; "required": false; }; "alertModal": { "alias": "alertModal"; "required": false; }; "dialogLinkList": { "alias": "dialogLinkList"; "required": false; }; "popconfirm": { "alias": "popconfirm"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "fade": { "alias": "fade"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "size": { "alias": "size"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "focus": { "alias": "focus"; "required": false; }; "keyboard": { "alias": "keyboard"; "required": false; }; "footerShadow": { "alias": "footerShadow"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "hidePreventedEvent": "hidePreventedEvent"; }, never, ["[beforeTitle]", "[modalTitle]", "[description]", "*", "[footer]"], true, never>;
|
|
126
|
+
static ngAcceptInputType_closeButton: i1.BooleanInput;
|
|
127
|
+
static ngAcceptInputType_alertModal: i1.BooleanInput;
|
|
128
|
+
static ngAcceptInputType_dialogLinkList: i1.BooleanInput;
|
|
129
|
+
static ngAcceptInputType_popconfirm: i1.BooleanInput;
|
|
130
|
+
static ngAcceptInputType_scrollable: i1.BooleanInput;
|
|
131
|
+
static ngAcceptInputType_fade: i1.BooleanInput;
|
|
132
|
+
static ngAcceptInputType_focus: i1.BooleanInput;
|
|
133
|
+
static ngAcceptInputType_keyboard: i1.BooleanInput;
|
|
134
|
+
static ngAcceptInputType_footerShadow: i1.BooleanInput;
|
|
59
135
|
}
|