design-angular-kit 18.0.0 → 20.0.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 +26 -1
- package/fesm2022/design-angular-kit.mjs +521 -553
- package/fesm2022/design-angular-kit.mjs.map +1 -1
- package/index.d.ts +3986 -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 -108
- package/esm2022/lib/components/navigation/megamenu/megamenu.component.mjs +0 -27
- package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +0 -51
- 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 -119
- 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 -242
- 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 -39
- 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 -15
- 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,75 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
5
|
-
import { TransferStore } from './store/transfer.store';
|
|
6
|
-
import { TransferItem } from './transfer.model';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Transfer
|
|
10
|
-
* @description Component that allows the creation of checkbox lists.
|
|
11
|
-
*/
|
|
12
|
-
export declare class ItTransferComponent<T = any> extends ItAbstractFormComponent<T> implements OnInit {
|
|
13
|
-
readonly _ngControl: NgControl;
|
|
14
|
-
readonly _translateService: TranslateService;
|
|
15
|
-
private readonly store;
|
|
16
|
-
/**
|
|
17
|
-
* The select options (left side)
|
|
18
|
-
*/
|
|
19
|
-
options: never[];
|
|
20
|
-
/**
|
|
21
|
-
* The selected options (right side)
|
|
22
|
-
*/
|
|
23
|
-
selected: never[];
|
|
24
|
-
/**
|
|
25
|
-
* Fired when there is a transfer, a backtransfer or a reset event
|
|
26
|
-
*/
|
|
27
|
-
readonly transferChanges: EventEmitter<TransferItem<T>[]>;
|
|
28
|
-
/**
|
|
29
|
-
* Enable transfer button
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
readonly transferEnabled: import("rxjs").Observable<boolean>;
|
|
33
|
-
/**
|
|
34
|
-
* Enable backtransfer button
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
readonly backtransferEnabled: import("rxjs").Observable<boolean>;
|
|
38
|
-
/**
|
|
39
|
-
* Enable reset button
|
|
40
|
-
* @default false
|
|
41
|
-
*/
|
|
42
|
-
readonly resetEnabled: import("rxjs").Observable<boolean>;
|
|
43
|
-
private readonly destroyRef;
|
|
44
|
-
constructor(_ngControl: NgControl, _translateService: TranslateService, store: TransferStore<T>);
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
/**
|
|
47
|
-
* Transfer button click handler
|
|
48
|
-
*/
|
|
49
|
-
transferClickHandler(event: MouseEvent): void;
|
|
50
|
-
/**
|
|
51
|
-
* Transfer button keypress handler
|
|
52
|
-
*/
|
|
53
|
-
transferKeyPressHandler(event: KeyboardEvent): void;
|
|
54
|
-
/**
|
|
55
|
-
* Backtransfer button click handler
|
|
56
|
-
*/
|
|
57
|
-
backtransferClickHandler(event: MouseEvent): void;
|
|
58
|
-
/**
|
|
59
|
-
* Backtransfer button keypress handler
|
|
60
|
-
*/
|
|
61
|
-
backtransferKeyPressHandler(event: KeyboardEvent): void;
|
|
62
|
-
/**
|
|
63
|
-
* Reset button click handler
|
|
64
|
-
*/
|
|
65
|
-
resetClickHandler(event: MouseEvent): void;
|
|
66
|
-
/**
|
|
67
|
-
* Reset button keypress handler
|
|
68
|
-
*/
|
|
69
|
-
resetKeyPressHandler(event: KeyboardEvent): void;
|
|
70
|
-
private buttonEventHandler;
|
|
71
|
-
private storeInit;
|
|
72
|
-
private onStoreValueChanged;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItTransferComponent<any>, [{ optional: true; self: true; }, null, null]>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItTransferComponent<any>, "it-transfer", never, { "options": { "alias": "options"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "transferChanges": "transferChanges"; }, never, never, true, never>;
|
|
75
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
|
-
import { ProgressDonut } from 'bootstrap-italia';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ItUploadDragDropComponent extends ItAbstractComponent implements AfterViewInit {
|
|
6
|
-
/**
|
|
7
|
-
* The accepted file type to upload <br>
|
|
8
|
-
* Possible values: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME Types</a> separated by comma
|
|
9
|
-
* @example application/pdf,image/png
|
|
10
|
-
* @default *
|
|
11
|
-
*/
|
|
12
|
-
accept: string;
|
|
13
|
-
/**
|
|
14
|
-
* Fired when file start to upload
|
|
15
|
-
*/
|
|
16
|
-
fileStartUpload: EventEmitter<File>;
|
|
17
|
-
protected isDragover: boolean;
|
|
18
|
-
protected isLoading: boolean;
|
|
19
|
-
protected isSuccess: boolean;
|
|
20
|
-
protected donut?: ProgressDonut;
|
|
21
|
-
private donutElement?;
|
|
22
|
-
protected filename?: string;
|
|
23
|
-
protected extension?: string;
|
|
24
|
-
protected fileSize?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The bootstrap-italia asset folder path
|
|
27
|
-
* @default ./bootstrap-italia
|
|
28
|
-
*/
|
|
29
|
-
protected assetBasePath: string;
|
|
30
|
-
constructor();
|
|
31
|
-
ngAfterViewInit(): void;
|
|
32
|
-
onDragOver(evt: DragEvent): void;
|
|
33
|
-
onDragLeave(evt: DragEvent): void;
|
|
34
|
-
onDrop(evt: DragEvent): void;
|
|
35
|
-
/**
|
|
36
|
-
* On load file from input
|
|
37
|
-
* @param event
|
|
38
|
-
*/
|
|
39
|
-
onLoadFile(event: Event): void;
|
|
40
|
-
/**
|
|
41
|
-
* Start the upload file
|
|
42
|
-
* @param file
|
|
43
|
-
*/
|
|
44
|
-
start(file: File): void;
|
|
45
|
-
/**
|
|
46
|
-
* Percentage of upload
|
|
47
|
-
* @param value the percentage [0 - 100]
|
|
48
|
-
*/
|
|
49
|
-
progress(value: number): void;
|
|
50
|
-
/**
|
|
51
|
-
* Upload success
|
|
52
|
-
*/
|
|
53
|
-
success(): void;
|
|
54
|
-
/**
|
|
55
|
-
* Reset file uploader
|
|
56
|
-
*/
|
|
57
|
-
reset(): void;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadDragDropComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadDragDropComponent, "it-upload-drag-drop", ["itUploadDragDrop"], { "accept": { "alias": "accept"; "required": false; }; }, { "fileStartUpload": "fileStartUpload"; }, never, never, true, never>;
|
|
60
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
|
-
import { UploadFileListItem } from '../../../interfaces/form';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../utils/coercion";
|
|
6
|
-
export declare class ItUploadFileListComponent extends ItAbstractComponent implements OnInit, OnChanges {
|
|
7
|
-
/**
|
|
8
|
-
* The list of files to show in list
|
|
9
|
-
*/
|
|
10
|
-
fileList: Array<UploadFileListItem>;
|
|
11
|
-
/**
|
|
12
|
-
* The accepted file type to upload <br>
|
|
13
|
-
* Possible values: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME Types</a> separated by comma
|
|
14
|
-
* @example application/pdf,image/png
|
|
15
|
-
* @default *
|
|
16
|
-
*/
|
|
17
|
-
accept: string;
|
|
18
|
-
/**
|
|
19
|
-
* If upload multiple files
|
|
20
|
-
* @default true
|
|
21
|
-
*/
|
|
22
|
-
multiple: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* If is file list image
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
images?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Hide the load button
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
hideLoadButton?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Fired when upload new files
|
|
35
|
-
*/
|
|
36
|
-
uploadFiles: EventEmitter<FileList>;
|
|
37
|
-
/**
|
|
38
|
-
* Fired on delete item button click
|
|
39
|
-
*/
|
|
40
|
-
deleteItem: EventEmitter<UploadFileListItem>;
|
|
41
|
-
/**
|
|
42
|
-
* Cache to preview image
|
|
43
|
-
*/
|
|
44
|
-
previewImages: Map<number, string>;
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
47
|
-
/**
|
|
48
|
-
* On load file from input
|
|
49
|
-
* @param event
|
|
50
|
-
*/
|
|
51
|
-
onLoadFiles(event: Event): void;
|
|
52
|
-
/**
|
|
53
|
-
* Get the file size string
|
|
54
|
-
* @param file
|
|
55
|
-
*/
|
|
56
|
-
getFileSize(file: File): string;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadFileListComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadFileListComponent, "it-upload-file-list", never, { "fileList": { "alias": "fileList"; "required": true; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "images": { "alias": "images"; "required": false; }; "hideLoadButton": { "alias": "hideLoadButton"; "required": false; }; }, { "uploadFiles": "uploadFiles"; "deleteItem": "deleteItem"; }, never, never, true, never>;
|
|
59
|
-
static ngAcceptInputType_multiple: i1.BooleanInput;
|
|
60
|
-
static ngAcceptInputType_images: i1.BooleanInput;
|
|
61
|
-
static ngAcceptInputType_hideLoadButton: i1.BooleanInput;
|
|
62
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Location } from '@angular/common';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../../utils/coercion";
|
|
4
|
-
export declare class ItBackButtonComponent {
|
|
5
|
-
readonly _location: Location;
|
|
6
|
-
/**
|
|
7
|
-
* Back button style
|
|
8
|
-
* - <b>link</b>: use a link with icon and text
|
|
9
|
-
* - <b>button</b>: use a button with icon and text
|
|
10
|
-
* @default button
|
|
11
|
-
*/
|
|
12
|
-
buttonStyle: 'link' | 'button';
|
|
13
|
-
/**
|
|
14
|
-
* Button direction
|
|
15
|
-
* - <b>left</b>: Back direction
|
|
16
|
-
* - <b>up</b>: Upper direction
|
|
17
|
-
* @default left
|
|
18
|
-
*/
|
|
19
|
-
direction: 'left' | 'up';
|
|
20
|
-
/**
|
|
21
|
-
* Show/Hide icon
|
|
22
|
-
* @default true
|
|
23
|
-
*/
|
|
24
|
-
showIcon: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Show/Hide text
|
|
27
|
-
* @default true
|
|
28
|
-
*/
|
|
29
|
-
showText: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Custom back logic <br/>
|
|
32
|
-
*
|
|
33
|
-
* NOTE: to use 'this' need bind function <br/>
|
|
34
|
-
* @example backCbFn = this.errorCallback.bind(this);
|
|
35
|
-
* (errorCallback is your function, pass backCbFn to the component)
|
|
36
|
-
*/
|
|
37
|
-
backFn?: (location: Location) => void;
|
|
38
|
-
constructor(_location: Location);
|
|
39
|
-
/**
|
|
40
|
-
* Go back function
|
|
41
|
-
*/
|
|
42
|
-
goBack(event: Event): void;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItBackButtonComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItBackButtonComponent, "it-back-button", ["itBackButton"], { "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; "backFn": { "alias": "backFn"; "required": false; }; }, {}, never, never, true, never>;
|
|
45
|
-
static ngAcceptInputType_showIcon: i1.BooleanInput;
|
|
46
|
-
static ngAcceptInputType_showText: i1.BooleanInput;
|
|
47
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } 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 ItBackToTopComponent extends ItAbstractComponent implements AfterViewInit {
|
|
6
|
-
/**
|
|
7
|
-
* Aria label for the component
|
|
8
|
-
* @default 'Torna su'
|
|
9
|
-
*/
|
|
10
|
-
ariaLabel: string;
|
|
11
|
-
/**
|
|
12
|
-
* Show small button
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
small?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Show shadow
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
shadow?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Button usable button on a dark background
|
|
23
|
-
* @default false
|
|
24
|
-
*/
|
|
25
|
-
dark?: boolean;
|
|
26
|
-
private backToTop?;
|
|
27
|
-
private backToTopElement?;
|
|
28
|
-
ngAfterViewInit(): void;
|
|
29
|
-
/**
|
|
30
|
-
* Show button
|
|
31
|
-
*/
|
|
32
|
-
show(): void;
|
|
33
|
-
/**
|
|
34
|
-
* Hide the button
|
|
35
|
-
*/
|
|
36
|
-
hide(): void;
|
|
37
|
-
/**
|
|
38
|
-
* Activates the scroll animation towards the Y coordinate indicated by the positionTop option
|
|
39
|
-
*/
|
|
40
|
-
scrollToTop(): void;
|
|
41
|
-
/**
|
|
42
|
-
* Eliminate component features
|
|
43
|
-
*/
|
|
44
|
-
dispose(): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItBackToTopComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItBackToTopComponent, "it-back-to-top", ["itBackToTop"], { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "small": { "alias": "small"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
-
static ngAcceptInputType_small: i1.BooleanInput;
|
|
48
|
-
static ngAcceptInputType_shadow: i1.BooleanInput;
|
|
49
|
-
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
50
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
-
import { ItBreadcrumbItemComponent } from '../breadcrumb-item/breadcrumb-item.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../../utils/coercion";
|
|
5
|
-
export declare class ItBreadcrumbComponent implements AfterViewInit, OnDestroy {
|
|
6
|
-
private readonly _changeDetectorRef;
|
|
7
|
-
/**
|
|
8
|
-
* The character to use as separator
|
|
9
|
-
* @default /
|
|
10
|
-
*/
|
|
11
|
-
separator: string;
|
|
12
|
-
/**
|
|
13
|
-
* Dark style
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
dark?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* The tab items
|
|
19
|
-
*/
|
|
20
|
-
items?: QueryList<ItBreadcrumbItemComponent>;
|
|
21
|
-
private itemSubscriptions?;
|
|
22
|
-
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
23
|
-
ngAfterViewInit(): void;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbComponent, "it-breadcrumb", never, { "separator": { "alias": "separator"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, ["items"], never, true, never>;
|
|
27
|
-
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
28
|
-
}
|
package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { IconName } from '../../../../interfaces/icon';
|
|
3
|
-
import { ItLinkComponent } from '../../../core/link/link.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../../utils/coercion";
|
|
6
|
-
export declare class ItBreadcrumbItemComponent extends ItLinkComponent {
|
|
7
|
-
/**
|
|
8
|
-
* Is active breadcrumb item
|
|
9
|
-
* @default false
|
|
10
|
-
*/
|
|
11
|
-
active?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* The name of icon to show
|
|
14
|
-
*/
|
|
15
|
-
iconName: IconName | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* The content of item
|
|
18
|
-
*/
|
|
19
|
-
htmlContent: TemplateRef<any>;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbItemComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbItemComponent, "it-breadcrumb-item", never, { "active": { "alias": "active"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
22
|
-
static ngAcceptInputType_active: i1.BooleanInput;
|
|
23
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./breadcrumb/breadcrumb.component";
|
|
3
|
-
import * as i2 from "./breadcrumb-item/breadcrumb-item.component";
|
|
4
|
-
export declare class ItBreadcrumbsModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbsModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ItBreadcrumbsModule, never, [typeof i1.ItBreadcrumbComponent, typeof i2.ItBreadcrumbItemComponent], [typeof i1.ItBreadcrumbComponent, typeof i2.ItBreadcrumbItemComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ItBreadcrumbsModule>;
|
|
8
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ItFooterComponent extends ItAbstractComponent {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItFooterComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItFooterComponent, "it-footer", ["itFooter"], {}, {}, never, ["[header]", "[links]", "[contacts]", "[small-links]"], true, never>;
|
|
6
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../../utils/coercion";
|
|
4
|
-
export declare class ItHeaderComponent implements AfterViewInit, OnChanges {
|
|
5
|
-
light?: boolean;
|
|
6
|
-
sticky?: boolean;
|
|
7
|
-
showSlim?: boolean;
|
|
8
|
-
smallHeader?: boolean;
|
|
9
|
-
showSearch?: boolean;
|
|
10
|
-
idCollapsable: string;
|
|
11
|
-
slimTitle: string | undefined;
|
|
12
|
-
slimTitleLink: string | undefined;
|
|
13
|
-
loginStyle: 'none' | 'default' | 'full';
|
|
14
|
-
loginClick: EventEmitter<Event>;
|
|
15
|
-
searchClick: EventEmitter<Event>;
|
|
16
|
-
private headerWrapper?;
|
|
17
|
-
private itNavBarComponent?;
|
|
18
|
-
megamenu?: boolean;
|
|
19
|
-
expand?: boolean;
|
|
20
|
-
private stickyHeader?;
|
|
21
|
-
constructor();
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
-
updateListeners(): void;
|
|
25
|
-
openNavBar(): void;
|
|
26
|
-
closeNavBar(): void;
|
|
27
|
-
protected emitLoginClick(event: Event): void;
|
|
28
|
-
protected emitSearchClick(event: Event): void;
|
|
29
|
-
toggleCollapse(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItHeaderComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItHeaderComponent, "it-header", never, { "light": { "alias": "light"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "showSlim": { "alias": "showSlim"; "required": false; }; "smallHeader": { "alias": "smallHeader"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "idCollapsable": { "alias": "idCollapsable"; "required": false; }; "slimTitle": { "alias": "slimTitle"; "required": false; }; "slimTitleLink": { "alias": "slimTitleLink"; "required": false; }; "loginStyle": { "alias": "loginStyle"; "required": false; }; "megamenu": { "alias": "megamenu"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; }, { "loginClick": "loginClick"; "searchClick": "searchClick"; }, never, ["[slimLinkList]", "[slimRightZone]", "[brand]", "[rightZone]", "[navItems]"], true, never>;
|
|
32
|
-
static ngAcceptInputType_light: i1.BooleanInput;
|
|
33
|
-
static ngAcceptInputType_sticky: i1.BooleanInput;
|
|
34
|
-
static ngAcceptInputType_showSlim: i1.BooleanInput;
|
|
35
|
-
static ngAcceptInputType_smallHeader: i1.BooleanInput;
|
|
36
|
-
static ngAcceptInputType_showSearch: i1.BooleanInput;
|
|
37
|
-
static ngAcceptInputType_megamenu: i1.BooleanInput;
|
|
38
|
-
static ngAcceptInputType_expand: i1.BooleanInput;
|
|
39
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../../../utils/coercion";
|
|
3
|
-
export declare class ItMegamenuComponent {
|
|
4
|
-
/**
|
|
5
|
-
* Megamenu mode
|
|
6
|
-
*/
|
|
7
|
-
mode: 'right-section' | 'left-section' | 'normal';
|
|
8
|
-
/**
|
|
9
|
-
* To show Megamenu header
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
header?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* To show Megamenu footer
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
footer?: boolean;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItMegamenuComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItMegamenuComponent, "it-megamenu", never, { "mode": { "alias": "mode"; "required": false; }; "header": { "alias": "header"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; }, {}, never, ["[megamenuLeftZone]", "[megamenuHeadingLink]", "[megamenuLinkList]", "[megamenuFooter]"], true, never>;
|
|
20
|
-
static ngAcceptInputType_header: i1.BooleanInput;
|
|
21
|
-
static ngAcceptInputType_footer: i1.BooleanInput;
|
|
22
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../../../utils/coercion";
|
|
4
|
-
export declare class ItNavBarComponent implements AfterViewInit {
|
|
5
|
-
megamenu?: boolean;
|
|
6
|
-
expand?: boolean;
|
|
7
|
-
private collapseButton?;
|
|
8
|
-
private collapseView?;
|
|
9
|
-
private navbar?;
|
|
10
|
-
ngAfterViewInit(): void;
|
|
11
|
-
get isOpen(): boolean | undefined;
|
|
12
|
-
open(): void;
|
|
13
|
-
close(): void;
|
|
14
|
-
toggleCollapse(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavBarComponent, "it-navbar", never, { "megamenu": { "alias": "megamenu"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; }, {}, never, ["[navItems]"], true, never>;
|
|
17
|
-
static ngAcceptInputType_megamenu: i1.BooleanInput;
|
|
18
|
-
static ngAcceptInputType_expand: i1.BooleanInput;
|
|
19
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ItNavBarItemComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarItemComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavBarItemComponent, "it-navbar-item", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./navbar/navbar.component";
|
|
3
|
-
import * as i2 from "./navbar-item/navbar-item.component";
|
|
4
|
-
export declare class ItNavBarModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ItNavBarModule, never, [typeof i1.ItNavBarComponent, typeof i2.ItNavBarItemComponent], [typeof i1.ItNavBarComponent, typeof i2.ItNavBarItemComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ItNavBarModule>;
|
|
8
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { IsActiveMatchOptions } from '@angular/router';
|
|
3
|
-
import { NavscrollItem } from './navscroll.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ItNavscrollListItemComponent implements OnInit {
|
|
6
|
-
#private;
|
|
7
|
-
item: NavscrollItem;
|
|
8
|
-
readonly checkActive: EventEmitter<NavscrollItem>;
|
|
9
|
-
readonly rtl: any;
|
|
10
|
-
readonly routerLinkActiveOptions: IsActiveMatchOptions;
|
|
11
|
-
readonly active: import("rxjs").Observable<boolean>;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
clickHandler(event: Event): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavscrollListItemComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavscrollListItemComponent, "it-navscroll-list-item", never, { "item": { "alias": "item"; "required": false; }; }, { "checkActive": "checkActive"; }, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { NavscrollItems } from './navscroll.model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ItNavscrollListItemsComponent {
|
|
4
|
-
items: NavscrollItems;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavscrollListItemsComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavscrollListItemsComponent, "it-navscroll-list-items", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NavscrollItem } from './navscroll.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Navscroll
|
|
6
|
-
* @description Show a list of links to anchor of the document.
|
|
7
|
-
*/
|
|
8
|
-
export declare class ItNavscrollComponent implements OnInit {
|
|
9
|
-
#private;
|
|
10
|
-
/**
|
|
11
|
-
* Header of the Navscroll
|
|
12
|
-
*/
|
|
13
|
-
header: string;
|
|
14
|
-
/**
|
|
15
|
-
* A list of links
|
|
16
|
-
*/
|
|
17
|
-
items: Array<NavscrollItem>;
|
|
18
|
-
/**
|
|
19
|
-
* Border position
|
|
20
|
-
* @default left
|
|
21
|
-
*/
|
|
22
|
-
borderPosition: 'left' | 'right';
|
|
23
|
-
/**
|
|
24
|
-
* Alignment
|
|
25
|
-
* @default top
|
|
26
|
-
*/
|
|
27
|
-
alignment: 'top' | 'bottom';
|
|
28
|
-
/**
|
|
29
|
-
* Theme
|
|
30
|
-
* @default light
|
|
31
|
-
*/
|
|
32
|
-
theme: 'light' | 'dark';
|
|
33
|
-
/**
|
|
34
|
-
* Custom template for the content section
|
|
35
|
-
*/
|
|
36
|
-
pageSectionsTemplate?: TemplateRef<any>;
|
|
37
|
-
onScroll(): void;
|
|
38
|
-
onResize(): void;
|
|
39
|
-
readonly toggleButtonRef: ElementRef<HTMLButtonElement>;
|
|
40
|
-
readonly selectedTitle: import("rxjs").Observable<string>;
|
|
41
|
-
readonly progressBarValue: import("rxjs").Observable<number>;
|
|
42
|
-
readonly isMobile: import("rxjs").Observable<boolean>;
|
|
43
|
-
constructor();
|
|
44
|
-
ngOnInit(): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavscrollComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavscrollComponent, "it-navscroll", never, { "header": { "alias": "header"; "required": false; }; "items": { "alias": "items"; "required": false; }; "borderPosition": { "alias": "borderPosition"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "pageSectionsTemplate": { "alias": "pageSectionsTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type NavscrollItem = ({
|
|
2
|
-
text: string;
|
|
3
|
-
html?: never;
|
|
4
|
-
} | {
|
|
5
|
-
html: string;
|
|
6
|
-
text?: never;
|
|
7
|
-
}) & {
|
|
8
|
-
title: string;
|
|
9
|
-
href: string;
|
|
10
|
-
childs: NavscrollItems;
|
|
11
|
-
};
|
|
12
|
-
export type NavscrollItems = Array<NavscrollItem>;
|
|
13
|
-
export interface NavscrollItemActive {
|
|
14
|
-
active: boolean;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { NavscrollItem } from './navscroll.model';
|
|
2
|
-
export declare class NavscrollStore {
|
|
3
|
-
#private;
|
|
4
|
-
readonly selected: import("rxjs").Observable<NavscrollItem | undefined>;
|
|
5
|
-
readonly progressBar: import("rxjs").Observable<number>;
|
|
6
|
-
readonly isMobile: import("rxjs").Observable<boolean>;
|
|
7
|
-
readonly menuItemSelected: import("rxjs").Observable<unknown>;
|
|
8
|
-
init(navscrollItems: Array<NavscrollItem>): void;
|
|
9
|
-
setActive(item: NavscrollItem): void;
|
|
10
|
-
isActive$(item: NavscrollItem): import("rxjs").Observable<boolean>;
|
|
11
|
-
updateProgressBar(container: HTMLElement): void;
|
|
12
|
-
selectMenuItem(): void;
|
|
13
|
-
setMobile({ innerWidth }: {
|
|
14
|
-
innerWidth: number;
|
|
15
|
-
}): void;
|
|
16
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NavscrollItem, NavscrollItems } from './navscroll.model';
|
|
2
|
-
declare function searchFn(items: Set<NavscrollItem>, item: NavscrollItem): Array<NavscrollItem>;
|
|
3
|
-
declare function flattenNavscrollItemsFn(items: NavscrollItems): NavscrollItems;
|
|
4
|
-
export declare const search: typeof searchFn;
|
|
5
|
-
export declare const flattenNavscrollItems: typeof flattenNavscrollItemsFn;
|
|
6
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../../../utils/coercion";
|
|
3
|
-
export declare class ItSidebarComponent {
|
|
4
|
-
/**
|
|
5
|
-
* Per creare una sidebar con linea separatrice a destra è sufficiente aggiungere la classe
|
|
6
|
-
*/
|
|
7
|
-
withRightLine: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Per creare una sidebar con linea separatrice a sinistra è sufficiente aggiungere la classe
|
|
10
|
-
*/
|
|
11
|
-
withLeftLine: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Per cambiare il tema della sidebar e renderla scura
|
|
14
|
-
*/
|
|
15
|
-
dark: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* L'intestazione della sidebar
|
|
18
|
-
*/
|
|
19
|
-
header?: string;
|
|
20
|
-
componentClass: string;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItSidebarComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItSidebarComponent, "it-sidebar", never, { "withRightLine": { "alias": "withRightLine"; "required": false; }; "withLeftLine": { "alias": "withLeftLine"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "header": { "alias": "header"; "required": false; }; }, {}, never, ["*", "[secondary]"], true, never>;
|
|
23
|
-
static ngAcceptInputType_withRightLine: i1.BooleanInput;
|
|
24
|
-
static ngAcceptInputType_withLeftLine: i1.BooleanInput;
|
|
25
|
-
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
26
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../../../../utils/coercion";
|
|
3
|
-
export declare class ItSkiplinkComponent {
|
|
4
|
-
/**
|
|
5
|
-
* Aria label for `nav` mode
|
|
6
|
-
* @default 'Scorciatoie di navigazione'
|
|
7
|
-
*/
|
|
8
|
-
ariaLabel: string;
|
|
9
|
-
/**
|
|
10
|
-
* If `true` nav mode is enabled
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
nav?: boolean;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItSkiplinkComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItSkiplinkComponent, "it-skiplink", ["itSkipLink"], { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "nav": { "alias": "nav"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
|
-
static ngAcceptInputType_nav: i1.BooleanInput;
|
|
17
|
-
}
|