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,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
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ItNotificationService } from '../../../services/notification/notification.service';
|
|
3
3
|
import { Notification, NotificationPosition, NotificationType } from '../../../interfaces/core';
|
|
4
|
-
import { BooleanInput } from '../../../utils/boolean-input';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
|
|
5
|
+
import * as i1 from "../../../utils/coercion";
|
|
6
|
+
export declare class ItNotificationsComponent implements OnDestroy {
|
|
7
7
|
private readonly _changeDetectorRef;
|
|
8
8
|
private readonly _notificationService;
|
|
9
9
|
/**
|
|
@@ -14,18 +14,18 @@ export declare class NotificationsComponent implements OnDestroy {
|
|
|
14
14
|
/**
|
|
15
15
|
* Default notifications position
|
|
16
16
|
*/
|
|
17
|
-
position
|
|
17
|
+
position: NotificationPosition | undefined;
|
|
18
18
|
/**
|
|
19
19
|
* Default notifications is dismissible
|
|
20
20
|
* @default true
|
|
21
21
|
*/
|
|
22
|
-
dismissible
|
|
22
|
+
dismissible: boolean;
|
|
23
23
|
private subscription;
|
|
24
24
|
private notificationCount;
|
|
25
25
|
protected notifications: Array<Notification & {
|
|
26
26
|
id: string;
|
|
27
27
|
}>;
|
|
28
|
-
constructor(_changeDetectorRef: ChangeDetectorRef, _notificationService:
|
|
28
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _notificationService: ItNotificationService);
|
|
29
29
|
ngOnDestroy(): void;
|
|
30
30
|
protected get NotificationType(): typeof NotificationType;
|
|
31
31
|
/**
|
|
@@ -39,6 +39,7 @@ export declare class NotificationsComponent implements OnDestroy {
|
|
|
39
39
|
* @protected
|
|
40
40
|
*/
|
|
41
41
|
private getNotificationIcon;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItNotificationsComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItNotificationsComponent, "it-notifications", never, { "duration": { "alias": "duration"; "required": false; }; "position": { "alias": "position"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
|
+
static ngAcceptInputType_dismissible: i1.BooleanInput;
|
|
44
45
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
+
import * as i1 from "../../../utils/coercion";
|
|
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 false - disabled
|
|
27
|
+
*/
|
|
28
|
+
simpleMode?: boolean;
|
|
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 false - disabled
|
|
33
|
+
*/
|
|
34
|
+
textLinks?: boolean;
|
|
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 false - hidden
|
|
18
49
|
*/
|
|
19
|
-
|
|
50
|
+
showJumpToPage?: boolean;
|
|
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
|
+
constructor();
|
|
70
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
71
|
+
/**
|
|
72
|
+
* Create array to generate pagination of `visiblePages` element
|
|
73
|
+
*/
|
|
74
|
+
private calculatePages;
|
|
24
75
|
/**
|
|
25
76
|
* On click page change
|
|
77
|
+
* @param event click event
|
|
26
78
|
* @param newPage the new page of table
|
|
27
79
|
*/
|
|
28
|
-
pageChange(newPage: number): void;
|
|
29
|
-
|
|
30
|
-
|
|
80
|
+
protected pageChange(event: Event, newPage: number): void;
|
|
81
|
+
/**
|
|
82
|
+
* On click changer
|
|
83
|
+
* @param event click event
|
|
84
|
+
* @param value the new changer value
|
|
85
|
+
*/
|
|
86
|
+
protected changerChange(event: Event, value: number): void;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItPaginationComponent, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItPaginationComponent, "it-pagination", never, { "currentPage": { "alias": "currentPage"; "required": true; }; "pageNumbers": { "alias": "pageNumbers"; "required": true; }; "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>;
|
|
89
|
+
static ngAcceptInputType_simpleMode: i1.BooleanInput;
|
|
90
|
+
static ngAcceptInputType_textLinks: i1.BooleanInput;
|
|
91
|
+
static ngAcceptInputType_showJumpToPage: i1.BooleanInput;
|
|
31
92
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ElementPlacement } from '../../../interfaces/core';
|
|
3
|
-
import { BooleanInput } from '../../../utils/boolean-input';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
4
|
+
import * as i1 from "../../../utils/coercion";
|
|
5
|
+
export declare class ItPopoverDirective implements AfterViewInit, OnDestroy {
|
|
6
6
|
private readonly _elementRef;
|
|
7
7
|
/**
|
|
8
8
|
* Define the popover content
|
|
@@ -13,49 +13,49 @@ export declare class PopoverDirective implements AfterViewInit, OnDestroy {
|
|
|
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: boolean);
|
|
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);
|
|
@@ -93,6 +93,7 @@ export declare class PopoverDirective implements AfterViewInit, OnDestroy {
|
|
|
93
93
|
* Updates the position of an element's popover.
|
|
94
94
|
*/
|
|
95
95
|
update(): void;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
97
|
-
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>;
|
|
98
|
+
static ngAcceptInputType_popoverHtml: i1.BooleanInput;
|
|
98
99
|
}
|
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
import { ProgressBarColor } from '../../../interfaces/core';
|
|
2
|
-
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
3
|
+
import * as i1 from "../../../utils/coercion";
|
|
4
|
+
export declare class ItProgressBarComponent {
|
|
5
5
|
/**
|
|
6
6
|
* The progress bar value [0, 100]
|
|
7
7
|
*/
|
|
8
8
|
value: number;
|
|
9
9
|
/**
|
|
10
10
|
* Show the progress label
|
|
11
|
+
* @default false
|
|
11
12
|
*/
|
|
12
|
-
showLabel?:
|
|
13
|
+
showLabel?: boolean;
|
|
13
14
|
/**
|
|
14
15
|
* Show the progress as indeterminate
|
|
16
|
+
* @default false
|
|
15
17
|
*/
|
|
16
|
-
indeterminate?:
|
|
18
|
+
indeterminate?: boolean;
|
|
17
19
|
/**
|
|
18
20
|
* The progress bar color
|
|
19
21
|
*/
|
|
20
|
-
color
|
|
22
|
+
color: ProgressBarColor | undefined;
|
|
21
23
|
/**
|
|
22
24
|
* Return the background color
|
|
23
25
|
*/
|
|
24
26
|
get bgColor(): string;
|
|
25
|
-
|
|
26
|
-
static
|
|
27
|
-
static
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItProgressBarComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItProgressBarComponent, "it-progress-bar", never, { "value": { "alias": "value"; "required": true; }; "showLabel": { "alias": "showLabel"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
+
static ngAcceptInputType_showLabel: i1.BooleanInput;
|
|
30
|
+
static ngAcceptInputType_indeterminate: i1.BooleanInput;
|
|
28
31
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { BooleanInput } from '../../../utils/boolean-input';
|
|
2
1
|
import { ProgressBarColor } from '../../../interfaces/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
3
|
+
export declare class ItProgressButtonComponent {
|
|
5
4
|
/**
|
|
6
5
|
* Behavior of the progress bar
|
|
7
6
|
* - <b>true</b>: Show indeterminate progress bar
|
|
@@ -9,14 +8,14 @@ export declare class ProgressButtonComponent {
|
|
|
9
8
|
* - <b>number</b> [0, 100]: Assign a specific value to the progress bar
|
|
10
9
|
* @default undefined
|
|
11
10
|
*/
|
|
12
|
-
progress
|
|
11
|
+
progress: number | boolean | undefined;
|
|
13
12
|
/**
|
|
14
13
|
* The progress bar color
|
|
15
14
|
*/
|
|
16
|
-
progressColor
|
|
15
|
+
progressColor: ProgressBarColor | undefined;
|
|
17
16
|
get isProgress(): boolean;
|
|
18
17
|
get progressValue(): number;
|
|
19
18
|
get isIndeterminate(): boolean;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItProgressButtonComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItProgressButtonComponent, "button[itButton][progress]", never, { "progress": { "alias": "progress"; "required": false; }; "progressColor": { "alias": "progressColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
22
21
|
}
|
|
@@ -1,21 +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 ItSpinnerComponent {
|
|
4
4
|
/**
|
|
5
5
|
* The spinner is active
|
|
6
|
+
* @default true
|
|
6
7
|
*/
|
|
7
|
-
active:
|
|
8
|
+
active: boolean;
|
|
8
9
|
/**
|
|
9
10
|
* Show a small spinner
|
|
11
|
+
* @default false
|
|
10
12
|
*/
|
|
11
|
-
small?:
|
|
13
|
+
small?: boolean;
|
|
12
14
|
/**
|
|
13
15
|
* Show the double animation
|
|
16
|
+
* @default false
|
|
14
17
|
*/
|
|
15
|
-
double?:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
static
|
|
20
|
-
static
|
|
18
|
+
double?: boolean;
|
|
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
|
+
static ngAcceptInputType_active: i1.BooleanInput;
|
|
22
|
+
static ngAcceptInputType_small: i1.BooleanInput;
|
|
23
|
+
static ngAcceptInputType_double: i1.BooleanInput;
|
|
21
24
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, EventEmitter, QueryList } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { SteppersItemComponent } from '../steppers-item/steppers-item.component';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
+
import { ItSteppersItemComponent } from '../steppers-item/steppers-item.component';
|
|
4
3
|
import { ProgressBarColor } from '../../../../interfaces/core';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
|
|
5
|
+
import * as i1 from "../../../../utils/coercion";
|
|
6
|
+
export declare class ItSteppersContainerComponent implements AfterViewInit, OnDestroy {
|
|
7
7
|
private readonly _changeDetectorRef;
|
|
8
8
|
/**
|
|
9
9
|
* The active step index
|
|
@@ -14,58 +14,80 @@ export declare class SteppersContainerComponent implements AfterViewInit {
|
|
|
14
14
|
* Show the stepper header
|
|
15
15
|
* @default true
|
|
16
16
|
*/
|
|
17
|
-
showHeader:
|
|
17
|
+
showHeader: boolean;
|
|
18
18
|
/**
|
|
19
19
|
* Dark style
|
|
20
|
+
* @default false
|
|
20
21
|
*/
|
|
21
|
-
dark?:
|
|
22
|
+
dark?: boolean;
|
|
22
23
|
/**
|
|
23
24
|
* The labels present in the header steps can be anticipated by the relative ordinal number.
|
|
25
|
+
* @efualt false
|
|
24
26
|
*/
|
|
25
|
-
steppersNumber?:
|
|
27
|
+
steppersNumber?: boolean;
|
|
26
28
|
/**
|
|
27
29
|
* The progress style
|
|
28
30
|
* -<b>progress</b>: Show progress bar - You can change the color with the `progressColor` attribute
|
|
29
31
|
* -<b>dots</b>: Show progress dots
|
|
30
32
|
* @default undefined - don't show progress
|
|
31
33
|
*/
|
|
32
|
-
progressStyle
|
|
34
|
+
progressStyle: 'progress' | 'dots' | undefined;
|
|
33
35
|
/**
|
|
34
36
|
* Customize progress color
|
|
35
37
|
*/
|
|
36
|
-
progressColor
|
|
38
|
+
progressColor: ProgressBarColor | undefined;
|
|
37
39
|
/**
|
|
38
40
|
* Show the back button
|
|
39
41
|
* @default true
|
|
40
42
|
*/
|
|
41
|
-
showBackButton:
|
|
43
|
+
showBackButton: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Disable the back button
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
disableBackButton?: boolean;
|
|
42
49
|
/**
|
|
43
50
|
* Show the forward button
|
|
44
51
|
* @default true
|
|
45
52
|
*/
|
|
46
|
-
showForwardButton:
|
|
53
|
+
showForwardButton: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Disable the forward button
|
|
56
|
+
* @default false
|
|
57
|
+
*/
|
|
58
|
+
disableForwardButton?: boolean;
|
|
47
59
|
/**
|
|
48
60
|
* Show the confirm button
|
|
49
61
|
* @default false
|
|
50
62
|
*/
|
|
51
|
-
showConfirmButton
|
|
63
|
+
showConfirmButton?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Disable the confirm button
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
68
|
+
disableConfirmButton?: boolean;
|
|
52
69
|
/**
|
|
53
70
|
* Show the confirm button as indeterminate progress button
|
|
54
71
|
*/
|
|
55
|
-
confirmLoading?:
|
|
72
|
+
confirmLoading?: boolean;
|
|
56
73
|
/**
|
|
57
74
|
* Show the save button
|
|
58
75
|
* @default false
|
|
59
76
|
*/
|
|
60
|
-
showSaveButton
|
|
77
|
+
showSaveButton?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Disable the save button
|
|
80
|
+
* @default false
|
|
81
|
+
*/
|
|
82
|
+
disableSaveButton?: boolean;
|
|
61
83
|
/**
|
|
62
84
|
* Show the save button as indeterminate progress button
|
|
63
85
|
*/
|
|
64
|
-
saveLoading?:
|
|
86
|
+
saveLoading?: boolean;
|
|
65
87
|
/**
|
|
66
88
|
* The stepper items
|
|
67
89
|
*/
|
|
68
|
-
steps?: QueryList<
|
|
90
|
+
steps?: QueryList<ItSteppersItemComponent>;
|
|
69
91
|
/**
|
|
70
92
|
* On back button click
|
|
71
93
|
* @event activeStep the current step index
|
|
@@ -86,17 +108,23 @@ export declare class SteppersContainerComponent implements AfterViewInit {
|
|
|
86
108
|
* @event activeStep the current step index
|
|
87
109
|
*/
|
|
88
110
|
saveClick: EventEmitter<number>;
|
|
89
|
-
|
|
90
|
-
get isSteppersNumber(): boolean;
|
|
91
|
-
get isDark(): boolean;
|
|
92
|
-
get isShowBackButton(): boolean;
|
|
93
|
-
get isShowForwardButton(): boolean;
|
|
94
|
-
get isShowConfirmButton(): boolean;
|
|
95
|
-
get isConfirmLoading(): boolean;
|
|
96
|
-
get isShowSaveButton(): boolean;
|
|
97
|
-
get isSaveLoading(): boolean;
|
|
111
|
+
private stepsSubscriptions?;
|
|
98
112
|
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
99
113
|
ngAfterViewInit(): void;
|
|
100
|
-
|
|
101
|
-
static
|
|
114
|
+
ngOnDestroy(): void;
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersContainerComponent, never>;
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItSteppersContainerComponent, "it-steppers-container", never, { "activeStep": { "alias": "activeStep"; "required": true; }; "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>;
|
|
117
|
+
static ngAcceptInputType_showHeader: i1.BooleanInput;
|
|
118
|
+
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
119
|
+
static ngAcceptInputType_steppersNumber: i1.BooleanInput;
|
|
120
|
+
static ngAcceptInputType_showBackButton: i1.BooleanInput;
|
|
121
|
+
static ngAcceptInputType_disableBackButton: i1.BooleanInput;
|
|
122
|
+
static ngAcceptInputType_showForwardButton: i1.BooleanInput;
|
|
123
|
+
static ngAcceptInputType_disableForwardButton: i1.BooleanInput;
|
|
124
|
+
static ngAcceptInputType_showConfirmButton: i1.BooleanInput;
|
|
125
|
+
static ngAcceptInputType_disableConfirmButton: i1.BooleanInput;
|
|
126
|
+
static ngAcceptInputType_confirmLoading: i1.BooleanInput;
|
|
127
|
+
static ngAcceptInputType_showSaveButton: i1.BooleanInput;
|
|
128
|
+
static ngAcceptInputType_disableSaveButton: i1.BooleanInput;
|
|
129
|
+
static ngAcceptInputType_saveLoading: i1.BooleanInput;
|
|
102
130
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { IconName } from '../../../../interfaces/icon';
|
|
3
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
5
|
+
export declare class ItSteppersItemComponent extends ItAbstractComponent {
|
|
5
6
|
/**
|
|
6
7
|
* The labels present in the header steps
|
|
7
8
|
*/
|
|
@@ -9,11 +10,11 @@ export declare class SteppersItemComponent {
|
|
|
9
10
|
/**
|
|
10
11
|
* The labels present in the header steps can be preceded by an icon.
|
|
11
12
|
*/
|
|
12
|
-
icon
|
|
13
|
+
icon: IconName | undefined;
|
|
13
14
|
/**
|
|
14
15
|
* The content of step
|
|
15
16
|
*/
|
|
16
17
|
htmlContent: TemplateRef<any>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersItemComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItSteppersItemComponent, "it-steppers-item", never, { "label": { "alias": "label"; "required": true; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
19
20
|
}
|