design-angular-kit 1.4.0 → 1.6.0
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 +5 -2
- package/fesm2022/design-angular-kit.mjs +521 -553
- package/fesm2022/design-angular-kit.mjs.map +1 -1
- package/index.d.ts +3980 -3
- package/package.json +11 -10
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-animations.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-animations.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-assets.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-assets.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-http-client.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-http-client.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-localisation.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-localisation.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/angular-json-helper.js +1 -2
- package/schematics/ng-add/rules/setup-project/angular-json-helper.js.map +1 -1
- package/schematics/ng-add/setup-project.js +2 -2
- package/schematics/ng-add/setup-project.js.map +1 -1
- package/schematics/ng-add/setup-project.spec.js +1 -1
- package/schematics/ng-add/utils.js +13 -6
- package/schematics/ng-add/utils.js.map +1 -1
- package/schematics/ng-add/utils.spec.d.ts +1 -0
- package/schematics/ng-add/utils.spec.js +48 -0
- package/schematics/ng-add/utils.spec.js.map +1 -0
- package/schematics/ng-add/versions-helper.js +11 -19
- package/schematics/ng-add/versions-helper.js.map +1 -1
- package/schematics/ng-add/versions-helper.spec.d.ts +1 -0
- package/schematics/ng-add/versions-helper.spec.js +46 -0
- package/schematics/ng-add/versions-helper.spec.js.map +1 -0
- package/esm2022/design-angular-kit.mjs +0 -5
- package/esm2022/lib/abstracts/abstract-form.component.mjs +0 -199
- package/esm2022/lib/abstracts/abstract.component.mjs +0 -46
- package/esm2022/lib/components/core/accordion/accordion.component.mjs +0 -39
- package/esm2022/lib/components/core/alert/alert.component.mjs +0 -71
- package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +0 -43
- package/esm2022/lib/components/core/avatar/avatar-extra-text.directive.mjs +0 -22
- package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +0 -84
- package/esm2022/lib/components/core/avatar/avatar-presence.directive.mjs +0 -38
- package/esm2022/lib/components/core/avatar/avatar-status.directive.mjs +0 -38
- package/esm2022/lib/components/core/avatar/avatar-wrapper.directive.mjs +0 -32
- package/esm2022/lib/components/core/avatar/avatar.directive.mjs +0 -78
- package/esm2022/lib/components/core/avatar/avatar.module.mjs +0 -52
- package/esm2022/lib/components/core/badge/badge.directive.mjs +0 -39
- package/esm2022/lib/components/core/button/button.directive.mjs +0 -80
- package/esm2022/lib/components/core/callout/callout.component.mjs +0 -64
- package/esm2022/lib/components/core/card/card.component.mjs +0 -59
- package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +0 -86
- package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -19
- package/esm2022/lib/components/core/carousel/carousel.module.mjs +0 -18
- package/esm2022/lib/components/core/chip/chip.component.mjs +0 -136
- package/esm2022/lib/components/core/collapse/collapse.component.mjs +0 -116
- package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +0 -27
- package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +0 -11
- package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +0 -55
- package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +0 -19
- package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +0 -147
- package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -70
- package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +0 -18
- package/esm2022/lib/components/core/forward/forward.directive.mjs +0 -57
- package/esm2022/lib/components/core/link/link.component.mjs +0 -42
- package/esm2022/lib/components/core/list/list/list.component.mjs +0 -22
- package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +0 -67
- package/esm2022/lib/components/core/list/list.module.mjs +0 -18
- package/esm2022/lib/components/core/modal/modal.component.mjs +0 -194
- package/esm2022/lib/components/core/notifications/notifications.component.mjs +0 -111
- package/esm2022/lib/components/core/pagination/pagination.component.mjs +0 -130
- package/esm2022/lib/components/core/popover/popover.directive.mjs +0 -176
- package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
- package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +0 -25
- package/esm2022/lib/components/core/spinner/spinner.component.mjs +0 -30
- package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +0 -116
- package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -22
- package/esm2022/lib/components/core/steppers/steppers.module.mjs +0 -18
- package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -97
- package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +0 -39
- package/esm2022/lib/components/core/tab/tab.module.mjs +0 -18
- package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +0 -134
- package/esm2022/lib/components/core/table/sort/sort.directive.mjs +0 -123
- package/esm2022/lib/components/core/table/table.component.mjs +0 -45
- package/esm2022/lib/components/core/table/table.module.mjs +0 -19
- package/esm2022/lib/components/core/timeline/timeline-item/timeline-item.component.mjs +0 -90
- package/esm2022/lib/components/core/timeline/timeline.component.mjs +0 -36
- package/esm2022/lib/components/core/timeline/timeline.module.mjs +0 -18
- package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +0 -143
- package/esm2022/lib/components/core/video-player/video-player-i18n.model.mjs +0 -2
- package/esm2022/lib/components/core/video-player/video-player-i18n.service.mjs +0 -130
- package/esm2022/lib/components/core/video-player/video-player.component.mjs +0 -301
- package/esm2022/lib/components/core/video-player/video-player.config.mjs +0 -43
- package/esm2022/lib/components/core/video-player/video-player.cookie.mjs +0 -25
- package/esm2022/lib/components/core/video-player/video-player.model.mjs +0 -3
- package/esm2022/lib/components/core/video-player/video-player.module.mjs +0 -16
- package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +0 -178
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +0 -48
- package/esm2022/lib/components/form/form.module.mjs +0 -67
- package/esm2022/lib/components/form/input/input.component.mjs +0 -190
- package/esm2022/lib/components/form/password-input/password-input.component.mjs +0 -149
- package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +0 -60
- package/esm2022/lib/components/form/range/range.component.mjs +0 -64
- package/esm2022/lib/components/form/rating/rating.component.mjs +0 -50
- package/esm2022/lib/components/form/search/search.component.mjs +0 -112
- package/esm2022/lib/components/form/select/select.component.mjs +0 -70
- package/esm2022/lib/components/form/textarea/textarea.component.mjs +0 -55
- package/esm2022/lib/components/form/transfer/store/transfer.reducers.mjs +0 -191
- package/esm2022/lib/components/form/transfer/store/transfer.state.mjs +0 -2
- package/esm2022/lib/components/form/transfer/store/transfer.store.mjs +0 -70
- package/esm2022/lib/components/form/transfer/transfer-list/transfer-list.component.mjs +0 -72
- package/esm2022/lib/components/form/transfer/transfer.component.mjs +0 -149
- package/esm2022/lib/components/form/transfer/transfer.model.mjs +0 -6
- package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -142
- package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -107
- package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +0 -67
- package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +0 -68
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -51
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -21
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +0 -18
- package/esm2022/lib/components/navigation/footer/footer.component.mjs +0 -12
- package/esm2022/lib/components/navigation/header/header.component.mjs +0 -103
- package/esm2022/lib/components/navigation/megamenu/megamenu.component.mjs +0 -27
- package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +0 -49
- package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +0 -11
- package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +0 -18
- package/esm2022/lib/components/navigation/navscroll/navscroll-list-item.component.mjs +0 -97
- package/esm2022/lib/components/navigation/navscroll/navscroll-list-items.component.mjs +0 -44
- package/esm2022/lib/components/navigation/navscroll/navscroll.component.mjs +0 -116
- package/esm2022/lib/components/navigation/navscroll/navscroll.model.mjs +0 -2
- package/esm2022/lib/components/navigation/navscroll/navscroll.store.mjs +0 -68
- package/esm2022/lib/components/navigation/navscroll/navscroll.utils.mjs +0 -23
- package/esm2022/lib/components/navigation/sidebar/sidebar.component.mjs +0 -50
- package/esm2022/lib/components/navigation/skiplink/skiplink/skiplink.component.mjs +0 -27
- package/esm2022/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.mjs +0 -26
- package/esm2022/lib/components/navigation/skiplink/skiplink.module.mjs +0 -18
- package/esm2022/lib/components/utils/error-page/error-page.component.mjs +0 -74
- package/esm2022/lib/components/utils/icon/icon.component.mjs +0 -63
- package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -50
- package/esm2022/lib/design-angular-kit.module.mjs +0 -241
- package/esm2022/lib/enums/colors.enums.mjs +0 -12
- package/esm2022/lib/enums/sizes.enum.mjs +0 -9
- package/esm2022/lib/interfaces/core.mjs +0 -16
- package/esm2022/lib/interfaces/design-angular-kit-config.mjs +0 -7
- package/esm2022/lib/interfaces/form.mjs +0 -2
- package/esm2022/lib/interfaces/icon.mjs +0 -181
- package/esm2022/lib/interfaces/sortable-table.mjs +0 -6
- package/esm2022/lib/interfaces/utils.mjs +0 -2
- package/esm2022/lib/pipes/date-ago.pipe.mjs +0 -56
- package/esm2022/lib/pipes/duration.pipe.mjs +0 -115
- package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +0 -48
- package/esm2022/lib/provide-design-angular-kit.mjs +0 -64
- package/esm2022/lib/services/notification/notification.service.mjs +0 -120
- package/esm2022/lib/utils/coercion.mjs +0 -18
- package/esm2022/lib/utils/date-utils.mjs +0 -162
- package/esm2022/lib/utils/file-utils.mjs +0 -73
- package/esm2022/lib/utils/regex.mjs +0 -35
- package/esm2022/lib/validators/it-validators.mjs +0 -161
- package/esm2022/public_api.mjs +0 -119
- package/lib/abstracts/abstract-form.component.d.ts +0 -89
- package/lib/abstracts/abstract.component.d.ts +0 -30
- package/lib/components/core/accordion/accordion.component.d.ts +0 -18
- package/lib/components/core/alert/alert.component.d.ts +0 -44
- package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +0 -29
- package/lib/components/core/avatar/avatar-extra-text.directive.d.ts +0 -6
- package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +0 -20
- package/lib/components/core/avatar/avatar-presence.directive.d.ts +0 -17
- package/lib/components/core/avatar/avatar-status.directive.d.ts +0 -17
- package/lib/components/core/avatar/avatar-wrapper.directive.d.ts +0 -9
- package/lib/components/core/avatar/avatar.directive.d.ts +0 -33
- package/lib/components/core/avatar/avatar.module.d.ts +0 -13
- package/lib/components/core/badge/badge.directive.d.ts +0 -23
- package/lib/components/core/button/button.directive.d.ts +0 -48
- package/lib/components/core/callout/callout.component.d.ts +0 -50
- package/lib/components/core/card/card.component.d.ts +0 -69
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +0 -65
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +0 -15
- package/lib/components/core/carousel/carousel.module.d.ts +0 -8
- package/lib/components/core/chip/chip.component.d.ts +0 -76
- package/lib/components/core/collapse/collapse.component.d.ts +0 -67
- package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +0 -12
- package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +0 -5
- package/lib/components/core/dimmer/dimmer.component.d.ts +0 -24
- package/lib/components/core/dimmer/dimmer.module.d.ts +0 -9
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +0 -94
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +0 -46
- package/lib/components/core/dropdown/dropdown.module.d.ts +0 -8
- package/lib/components/core/forward/forward.directive.d.ts +0 -14
- package/lib/components/core/link/link.component.d.ts +0 -35
- package/lib/components/core/list/list/list.component.d.ts +0 -24
- package/lib/components/core/list/list-item/list-item.component.d.ts +0 -44
- package/lib/components/core/list/list.module.d.ts +0 -8
- package/lib/components/core/modal/modal.component.d.ts +0 -135
- package/lib/components/core/notifications/notifications.component.d.ts +0 -45
- package/lib/components/core/pagination/pagination.component.d.ts +0 -92
- package/lib/components/core/popover/popover.directive.d.ts +0 -99
- package/lib/components/core/progress-bar/progress-bar.component.d.ts +0 -31
- package/lib/components/core/progress-button/progress-button.component.d.ts +0 -21
- package/lib/components/core/spinner/spinner.component.d.ts +0 -24
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +0 -130
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +0 -24
- package/lib/components/core/steppers/steppers.module.d.ts +0 -8
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +0 -60
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +0 -38
- package/lib/components/core/tab/tab.module.d.ts +0 -8
- package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +0 -72
- package/lib/components/core/table/sort/sort.directive.d.ts +0 -53
- package/lib/components/core/table/table.component.d.ts +0 -60
- package/lib/components/core/table/table.module.d.ts +0 -9
- package/lib/components/core/timeline/timeline-item/timeline-item.component.d.ts +0 -79
- package/lib/components/core/timeline/timeline.component.d.ts +0 -21
- package/lib/components/core/timeline/timeline.module.d.ts +0 -8
- package/lib/components/core/tooltip/tooltip.directive.d.ts +0 -82
- package/lib/components/core/video-player/video-player-i18n.model.d.ts +0 -179
- package/lib/components/core/video-player/video-player-i18n.service.d.ts +0 -17
- package/lib/components/core/video-player/video-player.component.d.ts +0 -46
- package/lib/components/core/video-player/video-player.config.d.ts +0 -68
- package/lib/components/core/video-player/video-player.cookie.d.ts +0 -6
- package/lib/components/core/video-player/video-player.model.d.ts +0 -44
- package/lib/components/core/video-player/video-player.module.d.ts +0 -7
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +0 -75
- package/lib/components/form/checkbox/checkbox.component.d.ts +0 -41
- package/lib/components/form/form.module.d.ts +0 -19
- package/lib/components/form/input/input.component.d.ts +0 -95
- package/lib/components/form/password-input/password-input.component.d.ts +0 -80
- package/lib/components/form/radio-button/radio-button.component.d.ts +0 -38
- package/lib/components/form/range/range.component.d.ts +0 -42
- package/lib/components/form/rating/rating.component.d.ts +0 -24
- package/lib/components/form/search/search.component.d.ts +0 -59
- package/lib/components/form/select/select.component.d.ts +0 -36
- package/lib/components/form/textarea/textarea.component.d.ts +0 -34
- package/lib/components/form/transfer/store/transfer.reducers.d.ts +0 -103
- package/lib/components/form/transfer/store/transfer.state.d.ts +0 -18
- package/lib/components/form/transfer/store/transfer.store.d.ts +0 -23
- package/lib/components/form/transfer/transfer-list/transfer-list.component.d.ts +0 -48
- package/lib/components/form/transfer/transfer.component.d.ts +0 -75
- package/lib/components/form/transfer/transfer.model.d.ts +0 -6
- package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +0 -60
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +0 -62
- package/lib/components/navigation/back-button/back-button.component.d.ts +0 -47
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +0 -50
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +0 -28
- package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +0 -23
- package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +0 -8
- package/lib/components/navigation/footer/footer.component.d.ts +0 -6
- package/lib/components/navigation/header/header.component.d.ts +0 -38
- package/lib/components/navigation/megamenu/megamenu.component.d.ts +0 -22
- package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +0 -19
- package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +0 -5
- package/lib/components/navigation/navbar/navbar.module.d.ts +0 -8
- package/lib/components/navigation/navscroll/navscroll-list-item.component.d.ts +0 -16
- package/lib/components/navigation/navscroll/navscroll-list-items.component.d.ts +0 -7
- package/lib/components/navigation/navscroll/navscroll.component.d.ts +0 -47
- package/lib/components/navigation/navscroll/navscroll.model.d.ts +0 -10
- package/lib/components/navigation/navscroll/navscroll.store.d.ts +0 -16
- package/lib/components/navigation/navscroll/navscroll.utils.d.ts +0 -6
- package/lib/components/navigation/sidebar/sidebar.component.d.ts +0 -26
- package/lib/components/navigation/skiplink/skiplink/skiplink.component.d.ts +0 -17
- package/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.d.ts +0 -24
- package/lib/components/navigation/skiplink/skiplink.module.d.ts +0 -8
- package/lib/components/utils/error-page/error-page.component.d.ts +0 -44
- package/lib/components/utils/icon/icon.component.d.ts +0 -53
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +0 -27
- package/lib/design-angular-kit.module.d.ts +0 -55
- package/lib/enums/colors.enums.d.ts +0 -10
- package/lib/enums/sizes.enum.d.ts +0 -7
- package/lib/interfaces/core.d.ts +0 -77
- package/lib/interfaces/design-angular-kit-config.d.ts +0 -30
- package/lib/interfaces/form.d.ts +0 -67
- package/lib/interfaces/icon.d.ts +0 -4
- package/lib/interfaces/sortable-table.d.ts +0 -33
- package/lib/interfaces/utils.d.ts +0 -10
- package/lib/pipes/date-ago.pipe.d.ts +0 -17
- package/lib/pipes/duration.pipe.d.ts +0 -35
- package/lib/pipes/mark-matching-text.pipe.d.ts +0 -18
- package/lib/provide-design-angular-kit.d.ts +0 -7
- package/lib/services/notification/notification.service.d.ts +0 -63
- package/lib/utils/coercion.d.ts +0 -14
- package/lib/utils/date-utils.d.ts +0 -79
- package/lib/utils/file-utils.d.ts +0 -32
- package/lib/utils/regex.d.ts +0 -34
- package/lib/validators/it-validators.d.ts +0 -70
- package/public_api.d.ts +0 -106
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { IconName } from '../../../../interfaces/icon';
|
|
2
|
-
import { ItLinkComponent } from '../../link/link.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../../utils/coercion";
|
|
5
|
-
export declare class ItDropdownItemComponent extends ItLinkComponent {
|
|
6
|
-
/**
|
|
7
|
-
* Show divider
|
|
8
|
-
* @default false
|
|
9
|
-
*/
|
|
10
|
-
divider?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Active item
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
active?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* To increase the size of links
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
large?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* The name of icon to show
|
|
23
|
-
*/
|
|
24
|
-
iconName: IconName | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* The icon position
|
|
27
|
-
* @default right
|
|
28
|
-
*/
|
|
29
|
-
iconPosition: 'left' | 'right';
|
|
30
|
-
/**
|
|
31
|
-
* Dropdown mode
|
|
32
|
-
*/
|
|
33
|
-
mode?: 'button' | 'link' | 'nav';
|
|
34
|
-
/**
|
|
35
|
-
* Change icon color if menu is dark
|
|
36
|
-
* @default false
|
|
37
|
-
*/
|
|
38
|
-
isDark: boolean;
|
|
39
|
-
get linkClass(): string;
|
|
40
|
-
setDark(dark: boolean): void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownItemComponent, never>;
|
|
42
|
-
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; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
43
|
-
static ngAcceptInputType_divider: i1.BooleanInput;
|
|
44
|
-
static ngAcceptInputType_active: i1.BooleanInput;
|
|
45
|
-
static ngAcceptInputType_large: i1.BooleanInput;
|
|
46
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ItForwardDirective {
|
|
3
|
-
private document?;
|
|
4
|
-
/**
|
|
5
|
-
* Indica, se HTMLElement, l'elemento a cui navigare, o se stringa, il selettore che selezionerà l'elemento a cui navigare.
|
|
6
|
-
*/
|
|
7
|
-
set itForward(value: HTMLElement | string | undefined);
|
|
8
|
-
get itForward(): HTMLElement | string | undefined;
|
|
9
|
-
private _itForward;
|
|
10
|
-
constructor(document?: Document | undefined);
|
|
11
|
-
onClick(event: any): void;
|
|
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
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../utils/coercion";
|
|
5
|
-
export declare class ItLinkComponent extends ItAbstractComponent implements AfterViewInit, OnChanges {
|
|
6
|
-
/**
|
|
7
|
-
* The router link action
|
|
8
|
-
*
|
|
9
|
-
* Commands to pass to Router#createUrlTree.
|
|
10
|
-
* - array: commands to pass to Router#createUrlTree.
|
|
11
|
-
* - string: shorthand for array of commands with just the string, i.e. ['/route']
|
|
12
|
-
* - null|undefined: Disables the link by removing the href
|
|
13
|
-
*/
|
|
14
|
-
href: any[] | string | null | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Is an external link (false to not use Angular router link)
|
|
17
|
-
* @default false
|
|
18
|
-
*/
|
|
19
|
-
externalLink?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Is disabled link
|
|
22
|
-
* @default false
|
|
23
|
-
*/
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Custom class
|
|
27
|
-
*/
|
|
28
|
-
class: string;
|
|
29
|
-
ngAfterViewInit(): void;
|
|
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;
|
|
35
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../../../../utils/coercion";
|
|
3
|
-
export declare class ItListComponent {
|
|
4
|
-
/**
|
|
5
|
-
* Add 'link-list' class for navigation menu
|
|
6
|
-
* @default false
|
|
7
|
-
*/
|
|
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;
|
|
24
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { ItLinkComponent } from '../../link/link.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../../utils/coercion";
|
|
5
|
-
export declare class ItListItemComponent extends ItLinkComponent {
|
|
6
|
-
private elRef;
|
|
7
|
-
constructor(elRef: ElementRef);
|
|
8
|
-
/**
|
|
9
|
-
* Add active class
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
active?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Add large class
|
|
15
|
-
*/
|
|
16
|
-
size?: 'large' | 'medium';
|
|
17
|
-
/**
|
|
18
|
-
* Add icon-left class
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
iconLeft?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Add icon-right class
|
|
24
|
-
* @default false
|
|
25
|
-
*/
|
|
26
|
-
iconRight?: boolean;
|
|
27
|
-
private _avatar;
|
|
28
|
-
/**
|
|
29
|
-
* The avatar url
|
|
30
|
-
* @deprecated L'input 'avatar' è deprecato. Usa la documentazione del component Avatar per questo caso d'uso, facendo riferimento all'esempio Avatar con lista. Sarà rimosso nelle prossime versioni.
|
|
31
|
-
*/
|
|
32
|
-
get avatar(): URL | undefined;
|
|
33
|
-
set avatar(value: URL | undefined);
|
|
34
|
-
/**
|
|
35
|
-
* The thumb image url
|
|
36
|
-
*/
|
|
37
|
-
image: URL | undefined;
|
|
38
|
-
get itemClass(): string;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItListItemComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItListItemComponent, "it-list-item", never, { "active": { "alias": "active"; "required": false; }; "size": { "alias": "size"; "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>;
|
|
41
|
-
static ngAcceptInputType_active: i1.BooleanInput;
|
|
42
|
-
static ngAcceptInputType_iconLeft: i1.BooleanInput;
|
|
43
|
-
static ngAcceptInputType_iconRight: i1.BooleanInput;
|
|
44
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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,135 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
|
-
import { Modal as BSModal } from 'bootstrap';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
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 {
|
|
11
|
-
/**
|
|
12
|
-
* Show/Hide close button on header
|
|
13
|
-
* @default true
|
|
14
|
-
*/
|
|
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;
|
|
49
|
-
/**
|
|
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
|
|
76
|
-
*/
|
|
77
|
-
options?: Partial<BSModal.Options>;
|
|
78
|
-
/**
|
|
79
|
-
* This event fires immediately when the instance method show is called.
|
|
80
|
-
*/
|
|
81
|
-
showEvent: EventEmitter<Event>;
|
|
82
|
-
/**
|
|
83
|
-
* This event fires when the modal has been made visible to the user (it will wait for CSS transitions to complete).
|
|
84
|
-
*/
|
|
85
|
-
shownEvent: EventEmitter<Event>;
|
|
86
|
-
/**
|
|
87
|
-
* This event is raised immediately when the instance method hide has been called.
|
|
88
|
-
*/
|
|
89
|
-
hideEvent: EventEmitter<Event>;
|
|
90
|
-
/**
|
|
91
|
-
* This event fires when the modal has finished hiding from the user (it will wait for CSS transitions to complete).
|
|
92
|
-
*/
|
|
93
|
-
hiddenEvent: EventEmitter<Event>;
|
|
94
|
-
/**
|
|
95
|
-
* This event is fired when the modal is displayed, its background is static and a click outside the modal or a press
|
|
96
|
-
* of the esc key occurs and data-bs-keyboard is set to false.
|
|
97
|
-
*/
|
|
98
|
-
hidePreventedEvent: EventEmitter<Event>;
|
|
99
|
-
private modal?;
|
|
100
|
-
private modalElement?;
|
|
101
|
-
ngAfterViewInit(): void;
|
|
102
|
-
protected get modalClass(): string;
|
|
103
|
-
protected get dialogClass(): string;
|
|
104
|
-
/**
|
|
105
|
-
* Manually activate/deactivate a modal. Returns to the caller before the modal has actually been shown or hidden
|
|
106
|
-
*/
|
|
107
|
-
toggle(): void;
|
|
108
|
-
/**
|
|
109
|
-
* Manually open a modal. Returns to the caller before the modal has actually been displayed
|
|
110
|
-
*/
|
|
111
|
-
show(): void;
|
|
112
|
-
/**
|
|
113
|
-
* Manually hide a modal. Returns to the caller before the modal has actually been hidden
|
|
114
|
-
*/
|
|
115
|
-
hide(): void;
|
|
116
|
-
/**
|
|
117
|
-
* Manually reposition the modal if the height of the modal changes when it is opened (in case a scroll bar appears).
|
|
118
|
-
*/
|
|
119
|
-
handleUpdate(): void;
|
|
120
|
-
/**
|
|
121
|
-
* Destroys the modal of an element.
|
|
122
|
-
*/
|
|
123
|
-
dispose(): void;
|
|
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;
|
|
135
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ItNotificationService } from '../../../services/notification/notification.service';
|
|
3
|
-
import { Notification, NotificationPosition, NotificationType } from '../../../interfaces/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../utils/coercion";
|
|
6
|
-
export declare class ItNotificationsComponent implements OnDestroy {
|
|
7
|
-
private readonly _changeDetectorRef;
|
|
8
|
-
private readonly _notificationService;
|
|
9
|
-
/**
|
|
10
|
-
* Default notifications duration (milliseconds)
|
|
11
|
-
* @default 8000
|
|
12
|
-
*/
|
|
13
|
-
duration: number;
|
|
14
|
-
/**
|
|
15
|
-
* Default notifications position
|
|
16
|
-
*/
|
|
17
|
-
position: NotificationPosition | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* Default notifications is dismissible
|
|
20
|
-
* @default true
|
|
21
|
-
*/
|
|
22
|
-
dismissible: boolean;
|
|
23
|
-
private subscription;
|
|
24
|
-
private notificationCount;
|
|
25
|
-
protected notifications: Array<Notification & {
|
|
26
|
-
id: string;
|
|
27
|
-
}>;
|
|
28
|
-
constructor(_changeDetectorRef: ChangeDetectorRef, _notificationService: ItNotificationService);
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
protected get NotificationType(): typeof NotificationType;
|
|
31
|
-
/**
|
|
32
|
-
* Hide the notification
|
|
33
|
-
* @param id
|
|
34
|
-
*/
|
|
35
|
-
protected hideNotification(id: string): void;
|
|
36
|
-
/**
|
|
37
|
-
* Retrieve the icon name by notification type
|
|
38
|
-
* @param notification the notification
|
|
39
|
-
* @protected
|
|
40
|
-
*/
|
|
41
|
-
private getNotificationIcon;
|
|
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;
|
|
45
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../utils/coercion";
|
|
5
|
-
export declare class ItPaginationComponent implements OnChanges {
|
|
6
|
-
/**
|
|
7
|
-
* Index of page (start 0)
|
|
8
|
-
*/
|
|
9
|
-
currentPage: number;
|
|
10
|
-
/**
|
|
11
|
-
* Max number of page (counter)
|
|
12
|
-
*/
|
|
13
|
-
pageNumbers: number;
|
|
14
|
-
/**
|
|
15
|
-
* Number of pages closest to the current one to display
|
|
16
|
-
* @default 5
|
|
17
|
-
*/
|
|
18
|
-
visiblePages: number;
|
|
19
|
-
/**
|
|
20
|
-
* Pagination alignment (justify-content)
|
|
21
|
-
*/
|
|
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>;
|
|
46
|
-
/**
|
|
47
|
-
* Hide/Show "Jump to page" input
|
|
48
|
-
* @default false - hidden
|
|
49
|
-
*/
|
|
50
|
-
showJumpToPage?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Fired when page is changed. Emit the new index of page
|
|
53
|
-
*/
|
|
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;
|
|
75
|
-
/**
|
|
76
|
-
* On click page change
|
|
77
|
-
* @param event click event
|
|
78
|
-
* @param newPage the new page of table
|
|
79
|
-
*/
|
|
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;
|
|
92
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ElementPlacement } from '../../../interfaces/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../utils/coercion";
|
|
5
|
-
export declare class ItPopoverDirective implements AfterViewInit, OnDestroy {
|
|
6
|
-
private readonly _elementRef;
|
|
7
|
-
/**
|
|
8
|
-
* Define the popover content
|
|
9
|
-
* @param content the popover content
|
|
10
|
-
*/
|
|
11
|
-
set content(content: string);
|
|
12
|
-
/**
|
|
13
|
-
* Define the popover title
|
|
14
|
-
* @param title the popover title
|
|
15
|
-
*/
|
|
16
|
-
set popoverTitle(title: string | undefined);
|
|
17
|
-
/**
|
|
18
|
-
* Define the popover placement
|
|
19
|
-
* @param placement
|
|
20
|
-
*/
|
|
21
|
-
set popoverPlacement(placement: ElementPlacement);
|
|
22
|
-
/**
|
|
23
|
-
* Appends the popover to a specific element.
|
|
24
|
-
* @param container
|
|
25
|
-
*/
|
|
26
|
-
set popoverContainer(container: 'body' | string | undefined);
|
|
27
|
-
/**
|
|
28
|
-
* Indicates whether the title contains html
|
|
29
|
-
* @param html true if contain html
|
|
30
|
-
*/
|
|
31
|
-
set popoverHtml(html: boolean);
|
|
32
|
-
/**
|
|
33
|
-
* How popover is triggered
|
|
34
|
-
* - 'hover': To open the Popover on hover of the mouse over the element
|
|
35
|
-
* - 'focus': To ignore popovers on the user's next click of an element other than the toggle element.
|
|
36
|
-
* @param trigger
|
|
37
|
-
*/
|
|
38
|
-
set popoverTrigger(trigger: 'click' | 'hover' | 'focus' | 'manual' | undefined);
|
|
39
|
-
/**
|
|
40
|
-
* This event fires immediately when the show method is called.
|
|
41
|
-
*/
|
|
42
|
-
showEvent: EventEmitter<Event>;
|
|
43
|
-
/**
|
|
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
|
-
*/
|
|
46
|
-
shownEvent: EventEmitter<Event>;
|
|
47
|
-
/**
|
|
48
|
-
* This event fires immediately when the hide method is called.
|
|
49
|
-
*/
|
|
50
|
-
hideEvent: EventEmitter<Event>;
|
|
51
|
-
/**
|
|
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
|
-
*/
|
|
54
|
-
hiddenEvent: EventEmitter<Event>;
|
|
55
|
-
/**
|
|
56
|
-
* This event fires after the show event when the tooltip template has been added to the DOM.
|
|
57
|
-
*/
|
|
58
|
-
insertedEvent: EventEmitter<Event>;
|
|
59
|
-
private readonly element;
|
|
60
|
-
private popover?;
|
|
61
|
-
constructor(_elementRef: ElementRef);
|
|
62
|
-
ngAfterViewInit(): void;
|
|
63
|
-
ngOnDestroy(): void;
|
|
64
|
-
/**
|
|
65
|
-
* Shows the popover of an item.
|
|
66
|
-
*/
|
|
67
|
-
show(): void;
|
|
68
|
-
/**
|
|
69
|
-
* Hide the popover of an element.
|
|
70
|
-
*/
|
|
71
|
-
hide(): void;
|
|
72
|
-
/**
|
|
73
|
-
* Activate / Deactivate the popover of an element
|
|
74
|
-
*/
|
|
75
|
-
toggle(): void;
|
|
76
|
-
/**
|
|
77
|
-
* Hides and destroys the popover of an element.
|
|
78
|
-
*/
|
|
79
|
-
dispose(): void;
|
|
80
|
-
/**
|
|
81
|
-
* Gives the popover of an element a chance to be shown.
|
|
82
|
-
*/
|
|
83
|
-
enable(): void;
|
|
84
|
-
/**
|
|
85
|
-
* Removes the ability to show the popover of an element.
|
|
86
|
-
*/
|
|
87
|
-
disable(): void;
|
|
88
|
-
/**
|
|
89
|
-
* Toggles the possibility that the popover of an element is shown or hidden.
|
|
90
|
-
*/
|
|
91
|
-
toggleEnabled(): void;
|
|
92
|
-
/**
|
|
93
|
-
* Updates the position of an element's popover.
|
|
94
|
-
*/
|
|
95
|
-
update(): void;
|
|
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;
|
|
99
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ProgressBarColor } from '../../../interfaces/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../../utils/coercion";
|
|
4
|
-
export declare class ItProgressBarComponent {
|
|
5
|
-
/**
|
|
6
|
-
* The progress bar value [0, 100]
|
|
7
|
-
*/
|
|
8
|
-
value: number;
|
|
9
|
-
/**
|
|
10
|
-
* Show the progress label
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
showLabel?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Show the progress as indeterminate
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
indeterminate?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* The progress bar color
|
|
21
|
-
*/
|
|
22
|
-
color: ProgressBarColor | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Return the background color
|
|
25
|
-
*/
|
|
26
|
-
get bgColor(): string;
|
|
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;
|
|
31
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ProgressBarColor } from '../../../interfaces/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ItProgressButtonComponent {
|
|
4
|
-
/**
|
|
5
|
-
* Behavior of the progress bar
|
|
6
|
-
* - <b>true</b>: Show indeterminate progress bar
|
|
7
|
-
* - <b>false</b> or <b>undefined</b>: Hide progress bar
|
|
8
|
-
* - <b>number</b> [0, 100]: Assign a specific value to the progress bar
|
|
9
|
-
* @default undefined
|
|
10
|
-
*/
|
|
11
|
-
progress: number | boolean | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* The progress bar color
|
|
14
|
-
*/
|
|
15
|
-
progressColor: ProgressBarColor | undefined;
|
|
16
|
-
get isProgress(): boolean;
|
|
17
|
-
get progressValue(): number;
|
|
18
|
-
get isIndeterminate(): boolean;
|
|
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>;
|
|
21
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../../../utils/coercion";
|
|
3
|
-
export declare class ItSpinnerComponent {
|
|
4
|
-
/**
|
|
5
|
-
* The spinner is active
|
|
6
|
-
* @default true
|
|
7
|
-
*/
|
|
8
|
-
active: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Show a small spinner
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
small?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Show the double animation
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
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;
|
|
24
|
-
}
|