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,24 +0,0 @@
|
|
|
1
|
-
import { ItSkiplinkComponent } from '../skiplink/skiplink.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../../../utils/coercion";
|
|
4
|
-
export declare class ItSkiplinkItemComponent {
|
|
5
|
-
/**
|
|
6
|
-
* The router link action
|
|
7
|
-
*
|
|
8
|
-
* Commands to pass to Router#createUrlTree.
|
|
9
|
-
* - array: commands to pass to Router#createUrlTree.
|
|
10
|
-
* - string: shorthand for array of commands with just the string, i.e. ['/route']
|
|
11
|
-
* - null|undefined: Disables the link by removing the href
|
|
12
|
-
*/
|
|
13
|
-
href: any[] | string | null | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Is an external link (false to not use Angular router link)
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
externalLink?: boolean;
|
|
19
|
-
inNav: boolean;
|
|
20
|
-
constructor(parent: ItSkiplinkComponent);
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItSkiplinkItemComponent, [{ host: true; }]>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItSkiplinkItemComponent, "it-skiplink-item", ["itSkipLinkItem"], { "href": { "alias": "href"; "required": false; }; "externalLink": { "alias": "externalLink"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
23
|
-
static ngAcceptInputType_externalLink: i1.BooleanInput;
|
|
24
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./skiplink/skiplink.component";
|
|
3
|
-
import * as i2 from "./skiplink-item/skiplink-item.component";
|
|
4
|
-
export declare class ItSkiplinkModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItSkiplinkModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ItSkiplinkModule, never, [typeof i1.ItSkiplinkComponent, typeof i2.ItSkiplinkItemComponent], [typeof i1.ItSkiplinkComponent, typeof i2.ItSkiplinkItemComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ItSkiplinkModule>;
|
|
8
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ActivatedRoute } from '@angular/router';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../../utils/coercion";
|
|
4
|
-
export declare class ItErrorPageComponent {
|
|
5
|
-
private readonly route;
|
|
6
|
-
/**
|
|
7
|
-
* The error code to show
|
|
8
|
-
*/
|
|
9
|
-
errorCode: number | 404 | 403 | 500 | undefined;
|
|
10
|
-
/**
|
|
11
|
-
* Show/Hide error code
|
|
12
|
-
* @default true - show
|
|
13
|
-
*/
|
|
14
|
-
showErrorCode?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Custom error title
|
|
17
|
-
* - If set it will be displayed instead of the default title.
|
|
18
|
-
* - It is possible to use i18n keys
|
|
19
|
-
*/
|
|
20
|
-
errorTitle: string | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* Custom error description
|
|
23
|
-
* - If set it will be displayed instead of the default description.
|
|
24
|
-
* - It is possible to use i18n keys
|
|
25
|
-
*/
|
|
26
|
-
errorDescription: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* Show/Hide back button
|
|
29
|
-
* @default true - show
|
|
30
|
-
*/
|
|
31
|
-
showBackButton?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Show/Hide home button
|
|
34
|
-
* @default true - show
|
|
35
|
-
*/
|
|
36
|
-
showHomeButton?: boolean;
|
|
37
|
-
constructor(route: ActivatedRoute);
|
|
38
|
-
get isDefaultErrorCode(): boolean;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItErrorPageComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItErrorPageComponent, "it-error-page", never, { "errorCode": { "alias": "errorCode"; "required": false; }; "showErrorCode": { "alias": "showErrorCode"; "required": false; }; "errorTitle": { "alias": "errorTitle"; "required": false; }; "errorDescription": { "alias": "errorDescription"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "showHomeButton": { "alias": "showHomeButton"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
|
-
static ngAcceptInputType_showErrorCode: i1.BooleanInput;
|
|
42
|
-
static ngAcceptInputType_showBackButton: i1.BooleanInput;
|
|
43
|
-
static ngAcceptInputType_showHomeButton: i1.BooleanInput;
|
|
44
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { IconColor, IconName, IconSize } from '../../../interfaces/icon';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../../utils/coercion";
|
|
4
|
-
export declare class ItIconComponent {
|
|
5
|
-
/**
|
|
6
|
-
* The icon name
|
|
7
|
-
*/
|
|
8
|
-
name: IconName;
|
|
9
|
-
/**
|
|
10
|
-
* The icon size
|
|
11
|
-
*/
|
|
12
|
-
size: IconSize | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* The icon color
|
|
15
|
-
*/
|
|
16
|
-
color: IconColor | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Create a padding proportional to the size of the surrounding icon.
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
padded?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Custom class of svg
|
|
24
|
-
*/
|
|
25
|
-
svgClass: string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Title of the icon
|
|
28
|
-
*/
|
|
29
|
-
title: string | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* Custom Waria label
|
|
32
|
-
*/
|
|
33
|
-
labelWaria: string | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* Return the icon href
|
|
36
|
-
*/
|
|
37
|
-
protected get iconHref(): string;
|
|
38
|
-
/**
|
|
39
|
-
* Return the icon class
|
|
40
|
-
*/
|
|
41
|
-
protected get iconClass(): string;
|
|
42
|
-
/**
|
|
43
|
-
* The bootstrap-italia asset folder path
|
|
44
|
-
* @default ./bootstrap-italia
|
|
45
|
-
*/
|
|
46
|
-
protected assetBasePath: string;
|
|
47
|
-
get isAriaHidden(): boolean;
|
|
48
|
-
get role(): string | null;
|
|
49
|
-
constructor();
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItIconComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItIconComponent, "it-icon", never, { "name": { "alias": "name"; "required": true; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "padded": { "alias": "padded"; "required": false; }; "svgClass": { "alias": "svgClass"; "required": false; }; "title": { "alias": "title"; "required": false; }; "labelWaria": { "alias": "labelWaria"; "required": false; }; }, {}, never, never, true, never>;
|
|
52
|
-
static ngAcceptInputType_padded: i1.BooleanInput;
|
|
53
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { AvailableLanguage } from '../../../interfaces/utils';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ItLanguageSwitcherComponent implements OnInit {
|
|
7
|
-
private readonly translateService;
|
|
8
|
-
/**
|
|
9
|
-
* The available languages
|
|
10
|
-
* @default The languages available through TranslateService (ngx-translate)
|
|
11
|
-
*/
|
|
12
|
-
availableLanguages: Array<AvailableLanguage> | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* Dropdown mode
|
|
15
|
-
*/
|
|
16
|
-
mode: 'button' | 'link' | 'nav';
|
|
17
|
-
protected currentLang$: Observable<AvailableLanguage | undefined>;
|
|
18
|
-
constructor(translateService: TranslateService);
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
/**
|
|
21
|
-
* Change the current language
|
|
22
|
-
* @param lang the language code
|
|
23
|
-
*/
|
|
24
|
-
changeLanguage(lang: string): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItLanguageSwitcherComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItLanguageSwitcherComponent, "it-language-switcher", never, { "availableLanguages": { "alias": "availableLanguages"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { DesignAngularKitConfig } from './interfaces/design-angular-kit-config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./components/core/accordion/accordion.component";
|
|
5
|
-
import * as i2 from "./components/core/alert/alert.component";
|
|
6
|
-
import * as i3 from "./components/core/avatar/avatar.module";
|
|
7
|
-
import * as i4 from "./components/core/badge/badge.directive";
|
|
8
|
-
import * as i5 from "./components/core/button/button.directive";
|
|
9
|
-
import * as i6 from "./components/core/callout/callout.component";
|
|
10
|
-
import * as i7 from "./components/core/card/card.component";
|
|
11
|
-
import * as i8 from "./components/core/carousel/carousel.module";
|
|
12
|
-
import * as i9 from "./components/core/chip/chip.component";
|
|
13
|
-
import * as i10 from "./components/core/collapse/collapse.component";
|
|
14
|
-
import * as i11 from "./components/core/dimmer/dimmer.module";
|
|
15
|
-
import * as i12 from "./components/core/dropdown/dropdown.module";
|
|
16
|
-
import * as i13 from "./components/core/forward/forward.directive";
|
|
17
|
-
import * as i14 from "./components/core/link/link.component";
|
|
18
|
-
import * as i15 from "./components/core/list/list.module";
|
|
19
|
-
import * as i16 from "./components/core/modal/modal.component";
|
|
20
|
-
import * as i17 from "./components/core/notifications/notifications.component";
|
|
21
|
-
import * as i18 from "./components/core/pagination/pagination.component";
|
|
22
|
-
import * as i19 from "./components/core/popover/popover.directive";
|
|
23
|
-
import * as i20 from "./components/core/progress-bar/progress-bar.component";
|
|
24
|
-
import * as i21 from "./components/core/progress-button/progress-button.component";
|
|
25
|
-
import * as i22 from "./components/core/spinner/spinner.component";
|
|
26
|
-
import * as i23 from "./components/core/steppers/steppers.module";
|
|
27
|
-
import * as i24 from "./components/core/tab/tab.module";
|
|
28
|
-
import * as i25 from "./components/core/table/table.module";
|
|
29
|
-
import * as i26 from "./components/core/tooltip/tooltip.directive";
|
|
30
|
-
import * as i27 from "./components/core/timeline/timeline.module";
|
|
31
|
-
import * as i28 from "./components/core/video-player/video-player.component";
|
|
32
|
-
import * as i29 from "./components/form/form.module";
|
|
33
|
-
import * as i30 from "./components/navigation/back-button/back-button.component";
|
|
34
|
-
import * as i31 from "./components/navigation/back-to-top/back-to-top.component";
|
|
35
|
-
import * as i32 from "./components/navigation/breadcrumbs/breadcrumbs.module";
|
|
36
|
-
import * as i33 from "./components/navigation/header/header.component";
|
|
37
|
-
import * as i34 from "./components/navigation/footer/footer.component";
|
|
38
|
-
import * as i35 from "./components/navigation/navbar/navbar.module";
|
|
39
|
-
import * as i36 from "./components/navigation/sidebar/sidebar.component";
|
|
40
|
-
import * as i37 from "./components/navigation/megamenu/megamenu.component";
|
|
41
|
-
import * as i38 from "./components/navigation/skiplink/skiplink.module";
|
|
42
|
-
import * as i39 from "./components/navigation/navscroll/navscroll.component";
|
|
43
|
-
import * as i40 from "./components/utils/error-page/error-page.component";
|
|
44
|
-
import * as i41 from "./components/utils/icon/icon.component";
|
|
45
|
-
import * as i42 from "./components/utils/language-switcher/language-switcher.component";
|
|
46
|
-
import * as i43 from "./pipes/date-ago.pipe";
|
|
47
|
-
import * as i44 from "./pipes/duration.pipe";
|
|
48
|
-
import * as i45 from "./pipes/mark-matching-text.pipe";
|
|
49
|
-
export declare class DesignAngularKitModule {
|
|
50
|
-
static forRoot(config?: DesignAngularKitConfig): ModuleWithProviders<DesignAngularKitModule>;
|
|
51
|
-
static forChild(): ModuleWithProviders<DesignAngularKitModule>;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DesignAngularKitModule, never>;
|
|
53
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DesignAngularKitModule, never, [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItAvatarModule, typeof i4.ItBadgeDirective, typeof i5.ItButtonDirective, typeof i6.ItCalloutComponent, typeof i7.ItCardComponent, typeof i8.ItCarouselModule, typeof i9.ItChipComponent, typeof i10.ItCollapseComponent, typeof i11.ItDimmerModule, typeof i12.ItDropdownModule, typeof i13.ItForwardDirective, typeof i14.ItLinkComponent, typeof i15.ItListModule, typeof i16.ItModalComponent, typeof i17.ItNotificationsComponent, typeof i18.ItPaginationComponent, typeof i19.ItPopoverDirective, typeof i20.ItProgressBarComponent, typeof i21.ItProgressButtonComponent, typeof i22.ItSpinnerComponent, typeof i23.ItSteppersModule, typeof i24.ItTabModule, typeof i25.ItTableModule, typeof i26.ItTooltipDirective, typeof i27.ItTimelineModule, typeof i28.ItVideoPlayerComponent, typeof i29.ItFormModule, typeof i30.ItBackButtonComponent, typeof i31.ItBackToTopComponent, typeof i32.ItBreadcrumbsModule, typeof i33.ItHeaderComponent, typeof i34.ItFooterComponent, typeof i35.ItNavBarModule, typeof i36.ItSidebarComponent, typeof i37.ItMegamenuComponent, typeof i38.ItSkiplinkModule, typeof i39.ItNavscrollComponent, typeof i40.ItErrorPageComponent, typeof i41.ItIconComponent, typeof i42.ItLanguageSwitcherComponent, typeof i43.ItDateAgoPipe, typeof i44.ItDurationPipe, typeof i45.ItMarkMatchingTextPipe], [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItAvatarModule, typeof i4.ItBadgeDirective, typeof i5.ItButtonDirective, typeof i6.ItCalloutComponent, typeof i7.ItCardComponent, typeof i8.ItCarouselModule, typeof i9.ItChipComponent, typeof i10.ItCollapseComponent, typeof i11.ItDimmerModule, typeof i12.ItDropdownModule, typeof i13.ItForwardDirective, typeof i14.ItLinkComponent, typeof i15.ItListModule, typeof i16.ItModalComponent, typeof i17.ItNotificationsComponent, typeof i18.ItPaginationComponent, typeof i19.ItPopoverDirective, typeof i20.ItProgressBarComponent, typeof i21.ItProgressButtonComponent, typeof i22.ItSpinnerComponent, typeof i23.ItSteppersModule, typeof i24.ItTabModule, typeof i25.ItTableModule, typeof i26.ItTooltipDirective, typeof i27.ItTimelineModule, typeof i28.ItVideoPlayerComponent, typeof i29.ItFormModule, typeof i30.ItBackButtonComponent, typeof i31.ItBackToTopComponent, typeof i32.ItBreadcrumbsModule, typeof i33.ItHeaderComponent, typeof i34.ItFooterComponent, typeof i35.ItNavBarModule, typeof i36.ItSidebarComponent, typeof i37.ItMegamenuComponent, typeof i38.ItSkiplinkModule, typeof i39.ItNavscrollComponent, typeof i40.ItErrorPageComponent, typeof i41.ItIconComponent, typeof i42.ItLanguageSwitcherComponent, typeof i43.ItDateAgoPipe, typeof i44.ItDurationPipe, typeof i45.ItMarkMatchingTextPipe]>;
|
|
54
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DesignAngularKitModule>;
|
|
55
|
-
}
|
package/lib/interfaces/core.d.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { IconName } from './icon';
|
|
2
|
-
export type AlertColor = 'primary' | 'info' | 'success' | 'warning' | 'danger';
|
|
3
|
-
export type ButtonColor = 'primary' | 'outline-primary' | 'secondary' | 'outline-secondary' | 'success' | 'outline-success' | 'danger' | 'outline-danger' | 'warning' | 'outline-warning' | 'info' | 'outline-info' | 'light' | 'outline-light' | 'dark' | 'outline-dark' | 'link';
|
|
4
|
-
export type ButtonSize = 'lg' | 'sm' | 'xs';
|
|
5
|
-
export type ButtonType = 'submit' | 'button';
|
|
6
|
-
export type CalloutColor = 'success' | 'warning' | 'danger' | 'important' | 'note';
|
|
7
|
-
export type CalloutAppearance = 'default' | 'highlight' | 'more';
|
|
8
|
-
export type ChipColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning';
|
|
9
|
-
export type ElementPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
10
|
-
export type ProgressBarColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
11
|
-
export type BadgeColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
12
|
-
export type TableColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
|
|
13
|
-
export type TableHeadColor = 'light' | 'dark';
|
|
14
|
-
export type TableResponsive = 'responsive' | 'responsive-sm' | 'responsive-md' | 'responsive-lg' | 'responsive-xl' | 'responsive-xxl';
|
|
15
|
-
export type VerticalAlignment = 'align-baseline' | 'align-top' | 'align-middle' | 'align-bottom' | 'align-text-bottom' | 'align-text-top';
|
|
16
|
-
export type DropdownDirection = 'dropup' | 'dropend' | 'dropstart';
|
|
17
|
-
export type CarouselType = 'default' | 'three-cols' | 'three-cols-arrow-visible';
|
|
18
|
-
export type TimelinePINType = 'default' | 'evidence' | 'now';
|
|
19
|
-
export interface TimelineElement {
|
|
20
|
-
pin: {
|
|
21
|
-
type?: TimelinePINType;
|
|
22
|
-
icon?: IconName;
|
|
23
|
-
text: string;
|
|
24
|
-
};
|
|
25
|
-
category?: {
|
|
26
|
-
title: string;
|
|
27
|
-
link: string;
|
|
28
|
-
};
|
|
29
|
-
title: string;
|
|
30
|
-
text: string;
|
|
31
|
-
signature?: string;
|
|
32
|
-
eventDate?: Date;
|
|
33
|
-
link?: string;
|
|
34
|
-
}
|
|
35
|
-
export interface Notification {
|
|
36
|
-
/**
|
|
37
|
-
* Notification type
|
|
38
|
-
*/
|
|
39
|
-
type: NotificationType;
|
|
40
|
-
/**
|
|
41
|
-
* Notification title
|
|
42
|
-
*/
|
|
43
|
-
title: string;
|
|
44
|
-
/**
|
|
45
|
-
* Notification message / text
|
|
46
|
-
*/
|
|
47
|
-
message?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Custom duration of notification
|
|
50
|
-
*/
|
|
51
|
-
duration?: number;
|
|
52
|
-
/**
|
|
53
|
-
* The close notification button appears
|
|
54
|
-
*/
|
|
55
|
-
dismissible?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Custom position of notification
|
|
58
|
-
*/
|
|
59
|
-
position?: NotificationPosition;
|
|
60
|
-
/**
|
|
61
|
-
* Custom icon of notification
|
|
62
|
-
*/
|
|
63
|
-
icon?: IconName;
|
|
64
|
-
}
|
|
65
|
-
export declare enum NotificationType {
|
|
66
|
-
Standard = "standard",
|
|
67
|
-
Success = "success",
|
|
68
|
-
Error = "error",
|
|
69
|
-
Info = "info",
|
|
70
|
-
Warning = "warning"
|
|
71
|
-
}
|
|
72
|
-
export declare enum NotificationPosition {
|
|
73
|
-
Top = "top-fix mt-3",
|
|
74
|
-
Bottom = "bottom-fix mb-3",
|
|
75
|
-
Left = "left-fix ms-3",
|
|
76
|
-
Right = "right-fix me-3"
|
|
77
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* The bootstrap-italia asset folder path
|
|
4
|
-
* @default ./bootstrap-italia
|
|
5
|
-
*/
|
|
6
|
-
export declare const IT_ASSET_BASE_PATH: InjectionToken<string>;
|
|
7
|
-
export interface DesignAngularKitConfig {
|
|
8
|
-
/**
|
|
9
|
-
* The bootstrap-italia asset folder path
|
|
10
|
-
* @default ./bootstrap-italia
|
|
11
|
-
*/
|
|
12
|
-
assetBasePath?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Load the <a href="https://italia.github.io/bootstrap-italia/docs/come-iniziare/introduzione/#fonts">bootstrap-italia fonts</a>
|
|
15
|
-
* @default true
|
|
16
|
-
*/
|
|
17
|
-
loadFont?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* The TranslateModule loader
|
|
20
|
-
* @param itPrefix the design-angular-kit i18n path
|
|
21
|
-
* @param itSuffix the design-angular-kit i18n suffix
|
|
22
|
-
* @default
|
|
23
|
-
* {
|
|
24
|
-
* provide: TranslateLoader,
|
|
25
|
-
* useFactory: (http: HttpClient) => new TranslateHttpLoader(http, `${assetBasePath}/i18n/`, `.json?v${version}`),
|
|
26
|
-
* deps: [HttpClient],
|
|
27
|
-
* }
|
|
28
|
-
*/
|
|
29
|
-
translateLoader?: (itPrefix: string, itSuffix: string) => Provider;
|
|
30
|
-
}
|
package/lib/interfaces/form.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { IconName } from './icon';
|
|
2
|
-
export type InputControlType = 'text' | 'email' | 'number' | 'date' | 'time' | 'tel' | 'color' | 'url';
|
|
3
|
-
export interface SelectControlOption<T = any> {
|
|
4
|
-
value: T;
|
|
5
|
-
text?: string;
|
|
6
|
-
selected?: boolean | ((value: T) => boolean);
|
|
7
|
-
disabled?: boolean | ((value: T) => boolean);
|
|
8
|
-
}
|
|
9
|
-
export interface SelectControlGroup<T = any> {
|
|
10
|
-
label: string;
|
|
11
|
-
options: Array<SelectControlOption<T>>;
|
|
12
|
-
dragdrop?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface UploadFileListItem {
|
|
15
|
-
/**
|
|
16
|
-
* The item id
|
|
17
|
-
*/
|
|
18
|
-
id: number;
|
|
19
|
-
/**
|
|
20
|
-
* The uploaded file
|
|
21
|
-
*/
|
|
22
|
-
file: File;
|
|
23
|
-
/**
|
|
24
|
-
* Show progress bar
|
|
25
|
-
*
|
|
26
|
-
* The status of the item changes based on the value:
|
|
27
|
-
* - <b>uploading</b>: if value is between 0 and 100 (exclusive 0 < value < 100)
|
|
28
|
-
* - <b>success</b>: if value is greater than 100
|
|
29
|
-
*/
|
|
30
|
-
progress?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Show the ability to delete item
|
|
33
|
-
* @default false
|
|
34
|
-
*/
|
|
35
|
-
removable?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Set the status of the item as 'error'
|
|
38
|
-
*/
|
|
39
|
-
error?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Add tooltip on file item name
|
|
42
|
-
* @example It can be used to show the error message or additional information about the file
|
|
43
|
-
*/
|
|
44
|
-
tooltip?: string;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Elemento disponibile per l'autocompletamento del it-form-input
|
|
48
|
-
*/
|
|
49
|
-
export interface SearchItem<T = any> {
|
|
50
|
-
/** Valore voce di autocompletamento */
|
|
51
|
-
value: string;
|
|
52
|
-
/** Opzionale. Path in cui ricercare l'immagine dell'avatar da posizionare a sinistra della voce di autocompletamento */
|
|
53
|
-
avatarSrcPath?: string;
|
|
54
|
-
/** Opzionale. Testo in alternativa dell'avatar per accessibilità */
|
|
55
|
-
avatarAltText?: string;
|
|
56
|
-
/** Opzionale. Icona posizionata a sinistra della voce di autocompletamento */
|
|
57
|
-
icon?: IconName;
|
|
58
|
-
/** Opzionale. Label posizionata a destra della voce di autocompletamento */
|
|
59
|
-
label?: string;
|
|
60
|
-
/** Opzionale. Link relativo all'elemento */
|
|
61
|
-
link?: string;
|
|
62
|
-
/**
|
|
63
|
-
* Attribute not used for Search rendering.
|
|
64
|
-
* It can be useful to retrieve some extra information when selecting the Search item
|
|
65
|
-
*/
|
|
66
|
-
additionalData?: T;
|
|
67
|
-
}
|
package/lib/interfaces/icon.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export type IconSize = 'xs' | 'sm' | 'lg' | 'xl';
|
|
2
|
-
export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'light' | 'white';
|
|
3
|
-
export type IconName = (typeof IconNameArray)[number];
|
|
4
|
-
export declare const IconNameArray: readonly ["arrow-down", "arrow-down-circle", "arrow-down-triangle", "arrow-left", "arrow-left-circle", "arrow-left-triangle", "arrow-right", "arrow-right-circle", "arrow-right-triangle", "arrow-up", "arrow-up-circle", "arrow-up-triangle", "ban", "bluesky", "bookmark", "box", "burger", "calendar", "camera", "car", "card", "cart", "chart-line", "check", "check-circle", "chevron-left", "chevron-right", "clip", "clock", "close", "close-big", "close-circle", "code-circle", "comment", "copy", "delete", "download", "error", "exchange-circle", "expand", "external-link", "flag", "folder", "fullscreen", "funnel", "hearing", "help", "help-circle", "horn", "inbox", "info-circle", "key", "link", "list", "locked", "logout", "mail", "mail-open", "map-marker", "map-marker-circle", "map-marker-minus", "map-marker-plus", "maximize", "maximize-alt", "minimize", "minus", "minus-circle", "more-actions", "more-items", "note", "pa", "password-invisible", "password-visible", "pencil", "piattaforme", "pin", "plug", "plus", "plus-circle", "presentation", "print", "refresh", "restore", "rss", "rss-square", "search", "settings", "share", "sign", "software", "star-full", "star-outline", "telephone", "tool", "unlocked", "upload", "user", "video", "warning", "warning-circle", "wifi", "zoom-in", "zoom-out", "file", "files", "file-audio", "file-compressed", "file-csv", "file-docx", "file-json", "file-image", "file-odp", "file-ods", "file-odt", "file-pdf", "file-pdf-ext", "file-sheet", "file-slides", "file-ppt", "file-signed", "file-txt", "file-video", "file-xlsx", "file-xml", "behance", "android-square", "android", "apple-square", "apple", "facebook", "facebook-square", "figma", "figma-square", "flickr", "flickr-square", "github", "instagram", "linkedin", "linkedin-square", "mastodon", "mastodon-square", "medium", "medium-square", "moodle", "moodle-square", "pinterest", "pinterest-square", "quora", "quora-square", "reddit", "reddit-square", "slack", "slack-square", "snapchat", "snapchat-square", "stackexchange", "stackexchange-square", "stackoverflow", "stackoverflow-square", "telegram", "threads", "threads-square", "tiktok", "tiktok-square", "twitter", "twitter-square", "vimeo", "vimeo-square", "whatsapp", "whatsapp-square", "youtube", "google", "spotify", "designers-italia", "team-digitale"];
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export type SortDirection = 'asc' | 'desc' | undefined;
|
|
3
|
-
/** Position of the arrow that displays when sorted. */
|
|
4
|
-
export type SortHeaderArrowPosition = 'before' | 'after';
|
|
5
|
-
/** Interface for a directive that holds sorting state consumed by `ItSortHeader`. */
|
|
6
|
-
export interface ItSortable {
|
|
7
|
-
/** The id of the column being sorted. */
|
|
8
|
-
id: string;
|
|
9
|
-
/** Starting sort direction. */
|
|
10
|
-
start?: SortDirection;
|
|
11
|
-
/** Whether to disable clearing the sorting state. */
|
|
12
|
-
disableSortClear?: boolean;
|
|
13
|
-
}
|
|
14
|
-
/** The current sort state. */
|
|
15
|
-
export interface ItSortEvent {
|
|
16
|
-
/** The id of the column being sorted. */
|
|
17
|
-
active: string;
|
|
18
|
-
/** The sort direction. */
|
|
19
|
-
direction: SortDirection;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Default options for `it-sort`.
|
|
23
|
-
*/
|
|
24
|
-
export interface ItSortDefaultOptions {
|
|
25
|
-
/** Whether to disable clearing the sorting state. */
|
|
26
|
-
disableClear?: boolean;
|
|
27
|
-
/** Position of the arrow that displays when sorted. */
|
|
28
|
-
arrowPosition?: SortHeaderArrowPosition;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Injection token to be used to override the default options for `it-sort`.
|
|
32
|
-
*/
|
|
33
|
-
export declare const IT_SORT_DEFAULT_OPTIONS: InjectionToken<ItSortDefaultOptions>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { TranslatePipe } from '@ngx-translate/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Indicates in a textual way how much time has passed since the indicated date
|
|
6
|
-
* @example 2 hours ago
|
|
7
|
-
*/
|
|
8
|
-
export declare class ItDateAgoPipe extends TranslatePipe implements PipeTransform {
|
|
9
|
-
/**
|
|
10
|
-
* Indicates in a textual way how much time has passed since the indicated date
|
|
11
|
-
* @example 2 hours ago
|
|
12
|
-
* @param value the Date or date string
|
|
13
|
-
*/
|
|
14
|
-
transform(value: string | Date): string;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItDateAgoPipe, never>;
|
|
16
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ItDateAgoPipe, "itDateAgo", true>;
|
|
17
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { TranslatePipe } from '@ngx-translate/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type ItDurationPipeType = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute' | 'second';
|
|
5
|
-
/**
|
|
6
|
-
* Transform a number into a duration.
|
|
7
|
-
* Is necessary indicate the value expressed by the number, for example 'day'.
|
|
8
|
-
* @example
|
|
9
|
-
* - 1, 'day' -> 1 day
|
|
10
|
-
* - 5, 'day' -> 5 days
|
|
11
|
-
* - 7, 'day' -> 1 week
|
|
12
|
-
* - 365, 'day' -> 1 year
|
|
13
|
-
* - 2, 'week' -> 2 weeks
|
|
14
|
-
* ...
|
|
15
|
-
*/
|
|
16
|
-
export declare class ItDurationPipe extends TranslatePipe implements PipeTransform {
|
|
17
|
-
/**
|
|
18
|
-
* Transform a number into a duration.
|
|
19
|
-
* Is necessary indicate the value expressed by the number, for example 'day'.
|
|
20
|
-
* @example
|
|
21
|
-
* - 1, 'day' -> 1 day
|
|
22
|
-
* - 5, 'day' -> 5 days
|
|
23
|
-
* - 7, 'day' -> 1 week
|
|
24
|
-
* - 8, 'day' -> 1 week
|
|
25
|
-
* - 365, 'day' -> 1 year
|
|
26
|
-
* - 2, 'week' -> 2 weeks
|
|
27
|
-
* - 24, 'month' -> 1 year
|
|
28
|
-
* ...
|
|
29
|
-
* @param value the number
|
|
30
|
-
* @param type the number expressed type
|
|
31
|
-
*/
|
|
32
|
-
transform(value: string | number | undefined, type: ItDurationPipeType): string;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItDurationPipe, never>;
|
|
34
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ItDurationPipe, "itDuration", true>;
|
|
35
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Allows you to highlight text with the <mark> tag
|
|
6
|
-
*/
|
|
7
|
-
export declare class ItMarkMatchingTextPipe implements PipeTransform {
|
|
8
|
-
private readonly domSanitizer;
|
|
9
|
-
constructor(domSanitizer: DomSanitizer);
|
|
10
|
-
/**
|
|
11
|
-
* Allows you to highlight text with the <mark> tag
|
|
12
|
-
* @param allString the full text to search from
|
|
13
|
-
* @param searchString the string to search
|
|
14
|
-
*/
|
|
15
|
-
transform(allString: string | undefined, searchString: string | number | null | undefined): SafeHtml | string | undefined;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItMarkMatchingTextPipe, never>;
|
|
17
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ItMarkMatchingTextPipe, "itMarkMatchingText", true>;
|
|
18
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { EnvironmentProviders } from '@angular/core';
|
|
2
|
-
import { DesignAngularKitConfig } from './interfaces/design-angular-kit-config';
|
|
3
|
-
/**
|
|
4
|
-
* Configures DesignAngularKit library
|
|
5
|
-
* @param config the DesignAngularKit config
|
|
6
|
-
*/
|
|
7
|
-
export declare function provideDesignAngularKit(config?: DesignAngularKitConfig): EnvironmentProviders;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Notification, NotificationPosition, NotificationType } from '../../interfaces/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ItNotificationService {
|
|
5
|
-
private subject;
|
|
6
|
-
/**
|
|
7
|
-
* Listen on notification arrived
|
|
8
|
-
* @param filterType filter type of notification
|
|
9
|
-
*/
|
|
10
|
-
onNotification(filterType?: NotificationType): Observable<Notification>;
|
|
11
|
-
/**
|
|
12
|
-
* Show new notification
|
|
13
|
-
* @param notification notification
|
|
14
|
-
*/
|
|
15
|
-
addNotification(notification: Notification): void;
|
|
16
|
-
/**
|
|
17
|
-
* Create new Standard notification
|
|
18
|
-
* @param title notification title
|
|
19
|
-
* @param message notification message
|
|
20
|
-
* @param dismissible notification dismissible
|
|
21
|
-
* @param duration notification duration (milliseconds)
|
|
22
|
-
* @param position notification position
|
|
23
|
-
*/
|
|
24
|
-
standard(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
|
|
25
|
-
/**
|
|
26
|
-
* Create new Success notification
|
|
27
|
-
* @param title notification title
|
|
28
|
-
* @param message notification message
|
|
29
|
-
* @param dismissible notification dismissible
|
|
30
|
-
* @param duration notification duration (milliseconds)
|
|
31
|
-
* @param position notification position
|
|
32
|
-
*/
|
|
33
|
-
success(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
|
|
34
|
-
/**
|
|
35
|
-
* Create new Error notification
|
|
36
|
-
* @param title notification title
|
|
37
|
-
* @param message notification message
|
|
38
|
-
* @param dismissible notification dismissible
|
|
39
|
-
* @param duration notification duration (milliseconds)
|
|
40
|
-
* @param position notification position
|
|
41
|
-
*/
|
|
42
|
-
error(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
|
|
43
|
-
/**
|
|
44
|
-
* Create new Warning notification
|
|
45
|
-
* @param title notification title
|
|
46
|
-
* @param message notification message
|
|
47
|
-
* @param dismissible notification dismissible
|
|
48
|
-
* @param duration notification duration (milliseconds)
|
|
49
|
-
* @param position notification position
|
|
50
|
-
*/
|
|
51
|
-
warning(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
|
|
52
|
-
/**
|
|
53
|
-
* Create new Info notification
|
|
54
|
-
* @param title notification title
|
|
55
|
-
* @param message notification message
|
|
56
|
-
* @param dismissible notification dismissible
|
|
57
|
-
* @param duration notification duration (milliseconds)
|
|
58
|
-
* @param position notification position
|
|
59
|
-
*/
|
|
60
|
-
info(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItNotificationService, never>;
|
|
62
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ItNotificationService>;
|
|
63
|
-
}
|
package/lib/utils/coercion.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export type BooleanInput = 'false' | 'true' | boolean | undefined;
|
|
2
|
-
/**
|
|
3
|
-
* Transforms a value (typically a string) to a boolean.
|
|
4
|
-
* Intended to be used as a transform function of an input.
|
|
5
|
-
*
|
|
6
|
-
* @usageNotes
|
|
7
|
-
* ```typescript
|
|
8
|
-
* @Input({ transform: booleanAttribute }) status?: boolean;
|
|
9
|
-
* ```
|
|
10
|
-
* @param {BooleanInput} value Value to be transformed.
|
|
11
|
-
*
|
|
12
|
-
* @publicApi
|
|
13
|
-
*/
|
|
14
|
-
export declare function inputToBoolean(value: BooleanInput): boolean;
|