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,82 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ElementPlacement } from '../../../interfaces/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../utils/coercion";
|
|
5
|
-
export declare class ItTooltipDirective implements AfterViewInit, OnDestroy {
|
|
6
|
-
private readonly _elementRef;
|
|
7
|
-
/**
|
|
8
|
-
* Define the tooltip title
|
|
9
|
-
* @param title the tooltip title
|
|
10
|
-
*/
|
|
11
|
-
set title(title: string | undefined);
|
|
12
|
-
/**
|
|
13
|
-
* Define the tooltip placement
|
|
14
|
-
* @param placement
|
|
15
|
-
*/
|
|
16
|
-
set tooltipPlacement(placement: ElementPlacement);
|
|
17
|
-
/**
|
|
18
|
-
* Indicates whether the title contains html
|
|
19
|
-
* @param html true if contain html
|
|
20
|
-
*/
|
|
21
|
-
set tooltipHtml(html: boolean);
|
|
22
|
-
/**
|
|
23
|
-
* This event fires immediately when the show method is called.
|
|
24
|
-
*/
|
|
25
|
-
showEvent: EventEmitter<Event>;
|
|
26
|
-
/**
|
|
27
|
-
* This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
|
|
28
|
-
*/
|
|
29
|
-
shownEvent: EventEmitter<Event>;
|
|
30
|
-
/**
|
|
31
|
-
* This event fires immediately when the hide method is called.
|
|
32
|
-
*/
|
|
33
|
-
hideEvent: EventEmitter<Event>;
|
|
34
|
-
/**
|
|
35
|
-
* This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
|
|
36
|
-
*/
|
|
37
|
-
hiddenEvent: EventEmitter<Event>;
|
|
38
|
-
/**
|
|
39
|
-
* This event fires after the show event when the tooltip template has been added to the DOM.
|
|
40
|
-
*/
|
|
41
|
-
insertedEvent: EventEmitter<Event>;
|
|
42
|
-
private readonly element;
|
|
43
|
-
private tooltip?;
|
|
44
|
-
constructor(_elementRef: ElementRef);
|
|
45
|
-
ngAfterViewInit(): void;
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
|
-
/**
|
|
48
|
-
* Shows the tooltip of an item.
|
|
49
|
-
*/
|
|
50
|
-
show(): void;
|
|
51
|
-
/**
|
|
52
|
-
* Hide the tooltip of an element.
|
|
53
|
-
*/
|
|
54
|
-
hide(): void;
|
|
55
|
-
/**
|
|
56
|
-
* Activate / Deactivate the tooltip of an element
|
|
57
|
-
*/
|
|
58
|
-
toggle(): void;
|
|
59
|
-
/**
|
|
60
|
-
* Hides and destroys the tooltip of an element.
|
|
61
|
-
*/
|
|
62
|
-
dispose(): void;
|
|
63
|
-
/**
|
|
64
|
-
* Gives the tooltip of an element a chance to be shown.
|
|
65
|
-
*/
|
|
66
|
-
enable(): void;
|
|
67
|
-
/**
|
|
68
|
-
* Removes the ability to show the tooltip of an element.
|
|
69
|
-
*/
|
|
70
|
-
disable(): void;
|
|
71
|
-
/**
|
|
72
|
-
* Toggles the possibility that the tooltip of an element is shown or hidden.
|
|
73
|
-
*/
|
|
74
|
-
toggleEnabled(): void;
|
|
75
|
-
/**
|
|
76
|
-
* Updates the position of an element's tooltip.
|
|
77
|
-
*/
|
|
78
|
-
update(): void;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItTooltipDirective, never>;
|
|
80
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItTooltipDirective, "[itTooltip]", ["itTooltip"], { "title": { "alias": "itTooltip"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipHtml": { "alias": "tooltipHtml"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "insertedEvent": "insertedEvent"; }, never, never, true, never>;
|
|
81
|
-
static ngAcceptInputType_tooltipHtml: i1.BooleanInput;
|
|
82
|
-
}
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
interface VideoJsTranslation {
|
|
2
|
-
'Audio Player': string;
|
|
3
|
-
'Video Player': string;
|
|
4
|
-
Play: string;
|
|
5
|
-
Pause: string;
|
|
6
|
-
Replay: string;
|
|
7
|
-
'Current Time': string;
|
|
8
|
-
Duration: string;
|
|
9
|
-
'Remaining Time': string;
|
|
10
|
-
'Stream Type': string;
|
|
11
|
-
LIVE: string;
|
|
12
|
-
Loaded: string;
|
|
13
|
-
Progress: string;
|
|
14
|
-
'Progress Bar': string;
|
|
15
|
-
'progress bar timing: currentTime={1} duration={2}': string;
|
|
16
|
-
Fullscreen: string;
|
|
17
|
-
'Exit Fullscreen': string;
|
|
18
|
-
Mute: string;
|
|
19
|
-
Unmute: string;
|
|
20
|
-
'Playback Rate': string;
|
|
21
|
-
Subtitles: string;
|
|
22
|
-
'subtitles off': string;
|
|
23
|
-
Captions: string;
|
|
24
|
-
'captions off': string;
|
|
25
|
-
Chapters: string;
|
|
26
|
-
Descriptions: string;
|
|
27
|
-
'descriptions off': string;
|
|
28
|
-
'Audio Track': string;
|
|
29
|
-
'Volume Level': string;
|
|
30
|
-
'You aborted the media playback': string;
|
|
31
|
-
'A network error caused the media download to fail part-way.': string;
|
|
32
|
-
'The media could not be loaded, either because the server or network failed or because the format is not supported.': string;
|
|
33
|
-
'The media playback was aborted due to a corruption problem or because the media used features your browser did not support.': string;
|
|
34
|
-
'No compatible source was found for this media.': string;
|
|
35
|
-
'The media is encrypted and we do not have the keys to decrypt it.': string;
|
|
36
|
-
'Play Video': string;
|
|
37
|
-
Close: string;
|
|
38
|
-
'Close Modal Dialog': string;
|
|
39
|
-
'Modal Window': string;
|
|
40
|
-
'This is a modal window': string;
|
|
41
|
-
'This modal can be closed by pressing the Escape key or activating the close button.': string;
|
|
42
|
-
', opens captions settings dialog': string;
|
|
43
|
-
', opens subtitles settings dialog': string;
|
|
44
|
-
', opens descriptions settings dialog': string;
|
|
45
|
-
', selected': string;
|
|
46
|
-
'captions settings': string;
|
|
47
|
-
'subtitles settings': string;
|
|
48
|
-
'descriptions settings': string;
|
|
49
|
-
Text: string;
|
|
50
|
-
White: string;
|
|
51
|
-
Black: string;
|
|
52
|
-
Red: string;
|
|
53
|
-
Green: string;
|
|
54
|
-
Blue: string;
|
|
55
|
-
Yellow: string;
|
|
56
|
-
Magenta: string;
|
|
57
|
-
Cyan: string;
|
|
58
|
-
Background: string;
|
|
59
|
-
Window: string;
|
|
60
|
-
Transparent: string;
|
|
61
|
-
'Semi-Transparent': string;
|
|
62
|
-
Opaque: string;
|
|
63
|
-
'Font Size': string;
|
|
64
|
-
'Text Edge Style': string;
|
|
65
|
-
None: string;
|
|
66
|
-
Uniform: string;
|
|
67
|
-
'Drop shadow': string;
|
|
68
|
-
'Font Family': string;
|
|
69
|
-
'Proportional Sans-Serif': string;
|
|
70
|
-
'Monospace Sans-Serif': string;
|
|
71
|
-
'Proportional Serif': string;
|
|
72
|
-
'Monospace Serif': string;
|
|
73
|
-
'Small Caps': string;
|
|
74
|
-
Reset: string;
|
|
75
|
-
'restore all settings to the default values': string;
|
|
76
|
-
Done: string;
|
|
77
|
-
'Caption Settings Dialog': string;
|
|
78
|
-
'Beginning of dialog window. Escape will cancel and close the window.': string;
|
|
79
|
-
'End of dialog window.': string;
|
|
80
|
-
'{1} is loading.': string;
|
|
81
|
-
'Exit Picture-in-Picture': string;
|
|
82
|
-
'Picture-in-Picture': string;
|
|
83
|
-
Color: string;
|
|
84
|
-
Opacity: string;
|
|
85
|
-
'Text Background': string;
|
|
86
|
-
'Caption Area Background': string;
|
|
87
|
-
'Skip forward {1} seconds': string;
|
|
88
|
-
'Skip backward {1} seconds': string;
|
|
89
|
-
}
|
|
90
|
-
interface VideoPlayerTranslations {
|
|
91
|
-
'audio-player': string;
|
|
92
|
-
'video-player': string;
|
|
93
|
-
play: string;
|
|
94
|
-
pause: string;
|
|
95
|
-
replay: string;
|
|
96
|
-
'current-time': string;
|
|
97
|
-
duration: string;
|
|
98
|
-
'remaining-time': string;
|
|
99
|
-
'stream-type': string;
|
|
100
|
-
live: string;
|
|
101
|
-
loaded: string;
|
|
102
|
-
progress: string;
|
|
103
|
-
'progress-bar': string;
|
|
104
|
-
'progress-bar-timing:-currenttime={1}-duration={2}': string;
|
|
105
|
-
fullscreen: string;
|
|
106
|
-
'exit-fullscreen': string;
|
|
107
|
-
mute: string;
|
|
108
|
-
unmute: string;
|
|
109
|
-
'playback-rate': string;
|
|
110
|
-
subtitles: string;
|
|
111
|
-
'subtitles-off': string;
|
|
112
|
-
captions: string;
|
|
113
|
-
'captions-off': string;
|
|
114
|
-
chapters: string;
|
|
115
|
-
descriptions: string;
|
|
116
|
-
'descriptions-off': string;
|
|
117
|
-
'audio-track': string;
|
|
118
|
-
'volume-level': string;
|
|
119
|
-
'you-aborted-the-media-playback': string;
|
|
120
|
-
'a-network-error-caused-the-media-download-to-fail-part-way.': string;
|
|
121
|
-
'the-media-could-not-be-loaded,-either-because-the-server-or-network-failed-or-because-the-format-is-not-supported.': string;
|
|
122
|
-
'the-media-playback-was-aborted-due-to-a-corruption-problem-or-because-the-media-used-features-your-browser-did-not-support.': string;
|
|
123
|
-
'no-compatible-source-was-found-for-this-media.': string;
|
|
124
|
-
'the-media-is-encrypted-and-we-do-not-have-the-keys-to-decrypt-it.': string;
|
|
125
|
-
'play-video': string;
|
|
126
|
-
close: string;
|
|
127
|
-
'close-modal-dialog': string;
|
|
128
|
-
'modal-window': string;
|
|
129
|
-
'this-is-a-modal-window': string;
|
|
130
|
-
'this-modal-can-be-closed-by-pressing-the-escape-key-or-activating-the-close-button.': string;
|
|
131
|
-
',-opens-captions-settings-dialog': string;
|
|
132
|
-
',-opens-subtitles-settings-dialog': string;
|
|
133
|
-
',-opens-descriptions-settings-dialog': string;
|
|
134
|
-
',-selected': string;
|
|
135
|
-
'captions-settings': string;
|
|
136
|
-
'subtitles-settings': string;
|
|
137
|
-
'descriptions-settings': string;
|
|
138
|
-
text: string;
|
|
139
|
-
white: string;
|
|
140
|
-
black: string;
|
|
141
|
-
red: string;
|
|
142
|
-
green: string;
|
|
143
|
-
blue: string;
|
|
144
|
-
yellow: string;
|
|
145
|
-
magenta: string;
|
|
146
|
-
cyan: string;
|
|
147
|
-
background: string;
|
|
148
|
-
window: string;
|
|
149
|
-
transparent: string;
|
|
150
|
-
'semi-transparent': string;
|
|
151
|
-
opaque: string;
|
|
152
|
-
'font-size': string;
|
|
153
|
-
'text-edge-style': string;
|
|
154
|
-
none: string;
|
|
155
|
-
uniform: string;
|
|
156
|
-
'drop-shadow': string;
|
|
157
|
-
'font-family': string;
|
|
158
|
-
'proportional-sans-serif': string;
|
|
159
|
-
'monospace-sans-serif': string;
|
|
160
|
-
'proportional-serif': string;
|
|
161
|
-
'monospace-serif': string;
|
|
162
|
-
'small-caps': string;
|
|
163
|
-
reset: string;
|
|
164
|
-
'restore-all-settings-to-the-default-values': string;
|
|
165
|
-
done: string;
|
|
166
|
-
'caption-settings-dialog': string;
|
|
167
|
-
'beginning-of-dialog-window.-escape-will-cancel-and-close-the-window.': string;
|
|
168
|
-
'end-of-dialog-window.': string;
|
|
169
|
-
'{1}-is-loading.': string;
|
|
170
|
-
'exit-picture-in-picture': string;
|
|
171
|
-
'picture-in-picture': string;
|
|
172
|
-
color: string;
|
|
173
|
-
opacity: string;
|
|
174
|
-
'text-background': string;
|
|
175
|
-
'caption-area-background': string;
|
|
176
|
-
'skip-forward-{1}-seconds': string;
|
|
177
|
-
'skip-backward-{1}-seconds': string;
|
|
178
|
-
}
|
|
179
|
-
export type { VideoJsTranslation, VideoPlayerTranslations };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { DestroyRef } from '@angular/core';
|
|
2
|
-
import Player from 'video.js/dist/types/player';
|
|
3
|
-
import { VideoJsTranslation } from './video-player-i18n.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class VideoPlayerI18nService {
|
|
6
|
-
#private;
|
|
7
|
-
init(player: Player, destroyRef: DestroyRef): void;
|
|
8
|
-
getLanguage(): {
|
|
9
|
-
languages: {
|
|
10
|
-
[x: string]: VideoJsTranslation;
|
|
11
|
-
};
|
|
12
|
-
language: string;
|
|
13
|
-
};
|
|
14
|
-
private getTranslations;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VideoPlayerI18nService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VideoPlayerI18nService>;
|
|
17
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import type Player from 'video.js/dist/types/player';
|
|
3
|
-
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
4
|
-
import { VideoPlayerI18nService } from './video-player-i18n.service';
|
|
5
|
-
import { VideoPlayerConfigService } from './video-player.config';
|
|
6
|
-
import { ItVideoPlayerOptions } from './video-player.model';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
declare enum ViewType {
|
|
9
|
-
Default = "DEFAULT",
|
|
10
|
-
Overlay = "OVERLAY"
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Video Player
|
|
14
|
-
* @description Component that allows playing a video.
|
|
15
|
-
*/
|
|
16
|
-
export declare class ItVideoPlayerComponent extends ItAbstractComponent implements OnInit {
|
|
17
|
-
#private;
|
|
18
|
-
private config;
|
|
19
|
-
/**
|
|
20
|
-
* Options for video player configuration
|
|
21
|
-
*/
|
|
22
|
-
options: ItVideoPlayerOptions;
|
|
23
|
-
videoPlayerRef?: ElementRef<HTMLVideoElement>;
|
|
24
|
-
acceptOveralyRef?: ElementRef<HTMLDivElement>;
|
|
25
|
-
acceptOverlayableRef?: ElementRef<HTMLDivElement>;
|
|
26
|
-
chrRememberRef?: ElementRef<HTMLInputElement>;
|
|
27
|
-
player: Player | null;
|
|
28
|
-
readonly viewTypes: typeof ViewType;
|
|
29
|
-
readonly viewType: import("@angular/core").WritableSignal<ViewType | undefined>;
|
|
30
|
-
readonly cookieAccepted: import("@angular/core").WritableSignal<boolean>;
|
|
31
|
-
protected readonly i18nService: VideoPlayerI18nService;
|
|
32
|
-
private ngZone;
|
|
33
|
-
private injector;
|
|
34
|
-
constructor(config: VideoPlayerConfigService);
|
|
35
|
-
ngOnInit(): Promise<void>;
|
|
36
|
-
acceptCookieHandler(): void;
|
|
37
|
-
private initVideoPlayer;
|
|
38
|
-
private setVideoPlayer;
|
|
39
|
-
private setViewType;
|
|
40
|
-
private hideOverlay;
|
|
41
|
-
private rememberHandler;
|
|
42
|
-
private setVideoAttributes;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItVideoPlayerComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItVideoPlayerComponent, "it-video-player", never, { "options": { "alias": "options"; "required": false; }; }, {}, never, ["[transcriptionTitle]", "[transcriptionText]"], true, never>;
|
|
45
|
-
}
|
|
46
|
-
export {};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { ItVideoPlayerOptions } from './video-player.model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type Tech = 'html5' | 'youtube';
|
|
4
|
-
export declare class VideoPlayerConfigService {
|
|
5
|
-
#private;
|
|
6
|
-
configureTech({ tech }: {
|
|
7
|
-
tech: Tech;
|
|
8
|
-
}): Promise<void>;
|
|
9
|
-
mergeConfig(o: ItVideoPlayerOptions): {
|
|
10
|
-
preload: "" | "auto" | "none" | "metadata";
|
|
11
|
-
techOrder: string[];
|
|
12
|
-
tracks: {
|
|
13
|
-
kind: string;
|
|
14
|
-
lang: string;
|
|
15
|
-
src: string;
|
|
16
|
-
label: string;
|
|
17
|
-
default?: true | undefined;
|
|
18
|
-
}[];
|
|
19
|
-
tech: string;
|
|
20
|
-
autoplay?: boolean | ("any" | "play" | "muted") | undefined;
|
|
21
|
-
controls?: boolean | undefined;
|
|
22
|
-
fluid?: boolean | undefined;
|
|
23
|
-
loop?: boolean | undefined;
|
|
24
|
-
muted?: boolean | undefined;
|
|
25
|
-
poster?: string | undefined;
|
|
26
|
-
sources: import("./video-player.model").Source[];
|
|
27
|
-
captions?: import("./video-player.model").Caption[] | undefined;
|
|
28
|
-
chapters?: import("./video-player.model").Chapter[] | undefined;
|
|
29
|
-
languages: {
|
|
30
|
-
[x: string]: import("./video-player-i18n.model").VideoJsTranslation;
|
|
31
|
-
};
|
|
32
|
-
language: string;
|
|
33
|
-
} | {
|
|
34
|
-
sources: (import("./video-player.model").Source & {
|
|
35
|
-
type: "video/youtube";
|
|
36
|
-
})[];
|
|
37
|
-
tech: string;
|
|
38
|
-
youtube: {
|
|
39
|
-
ytControls: number;
|
|
40
|
-
rel: number;
|
|
41
|
-
fs: number;
|
|
42
|
-
modestbranding: number;
|
|
43
|
-
};
|
|
44
|
-
preload: "" | "auto" | "none" | "metadata";
|
|
45
|
-
techOrder: string[];
|
|
46
|
-
tracks: {
|
|
47
|
-
kind: string;
|
|
48
|
-
lang: string;
|
|
49
|
-
src: string;
|
|
50
|
-
label: string;
|
|
51
|
-
default?: true | undefined;
|
|
52
|
-
}[];
|
|
53
|
-
autoplay?: boolean | ("any" | "play" | "muted") | undefined;
|
|
54
|
-
controls?: boolean | undefined;
|
|
55
|
-
fluid?: boolean | undefined;
|
|
56
|
-
loop?: boolean | undefined;
|
|
57
|
-
muted?: boolean | undefined;
|
|
58
|
-
poster?: string | undefined;
|
|
59
|
-
captions?: import("./video-player.model").Caption[] | undefined;
|
|
60
|
-
chapters?: import("./video-player.model").Chapter[] | undefined;
|
|
61
|
-
languages: {
|
|
62
|
-
[x: string]: import("./video-player-i18n.model").VideoJsTranslation;
|
|
63
|
-
};
|
|
64
|
-
language: string;
|
|
65
|
-
};
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VideoPlayerConfigService, never>;
|
|
67
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VideoPlayerConfigService>;
|
|
68
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
interface Source {
|
|
2
|
-
src: string;
|
|
3
|
-
type: string;
|
|
4
|
-
}
|
|
5
|
-
interface Caption {
|
|
6
|
-
lang: string;
|
|
7
|
-
src: string;
|
|
8
|
-
label: string;
|
|
9
|
-
default?: true;
|
|
10
|
-
}
|
|
11
|
-
interface Chapter {
|
|
12
|
-
lang: string;
|
|
13
|
-
src: string;
|
|
14
|
-
label: string;
|
|
15
|
-
default?: true;
|
|
16
|
-
}
|
|
17
|
-
type Sources = Array<Source>;
|
|
18
|
-
type Captions = Array<Caption>;
|
|
19
|
-
type Chapters = Array<Chapter>;
|
|
20
|
-
type Preload = 'auto' | 'none' | 'metadata' | '';
|
|
21
|
-
type EmbedSourceType = 'video/youtube';
|
|
22
|
-
type TAutoplay = 'muted' | 'play' | 'any';
|
|
23
|
-
type ItNativeVideoPlayerOptions = {
|
|
24
|
-
autoplay?: boolean | TAutoplay;
|
|
25
|
-
controls?: boolean;
|
|
26
|
-
fluid?: boolean;
|
|
27
|
-
loop?: boolean;
|
|
28
|
-
muted?: boolean;
|
|
29
|
-
poster?: string;
|
|
30
|
-
preload?: Preload;
|
|
31
|
-
sources: Sources;
|
|
32
|
-
captions?: Captions;
|
|
33
|
-
chapters?: Chapters;
|
|
34
|
-
};
|
|
35
|
-
type ItEmbedVideoPlayerOptions = Omit<ItNativeVideoPlayerOptions, 'sources' | 'captions' | 'chapters'> & {
|
|
36
|
-
source: Source & {
|
|
37
|
-
type: EmbedSourceType;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
type ItVideoPlayerOptions = ItNativeVideoPlayerOptions | ItEmbedVideoPlayerOptions;
|
|
41
|
-
type ItVideoPlayerConfig = ItVideoPlayerOptions & {
|
|
42
|
-
tech: string;
|
|
43
|
-
};
|
|
44
|
-
export type { Caption, Chapter, ItEmbedVideoPlayerOptions, ItNativeVideoPlayerOptions, ItVideoPlayerConfig, ItVideoPlayerOptions, Source };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./video-player.component";
|
|
3
|
-
export declare class ItVideoPlayerModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItVideoPlayerModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ItVideoPlayerModule, never, [typeof i1.ItVideoPlayerComponent], [typeof i1.ItVideoPlayerComponent]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ItVideoPlayerModule>;
|
|
7
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
type functionSource = (query: string, populateResults: (results: string[]) => void) => void;
|
|
5
|
-
export declare class ItAutocompleteComponent extends ItAbstractFormComponent<string | null | undefined> {
|
|
6
|
-
/**
|
|
7
|
-
* Autocomplete elements.
|
|
8
|
-
* @default []
|
|
9
|
-
*/
|
|
10
|
-
source: string[] | functionSource;
|
|
11
|
-
/**
|
|
12
|
-
* Autocomplete if required.
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
required: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Input field name
|
|
18
|
-
*/
|
|
19
|
-
name: string | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* The input description
|
|
22
|
-
*/
|
|
23
|
-
description: string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Prevents suggestions from appearing if fewer than N characters are typed
|
|
26
|
-
* @default 0
|
|
27
|
-
*/
|
|
28
|
-
minLength: number;
|
|
29
|
-
/**
|
|
30
|
-
* Default value
|
|
31
|
-
*/
|
|
32
|
-
defaultValue: string | null;
|
|
33
|
-
/**
|
|
34
|
-
* Function to set assistive hint label. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
|
|
35
|
-
*/
|
|
36
|
-
assistiveHintLabel: () => string;
|
|
37
|
-
/**
|
|
38
|
-
* Function to set label in case of no result. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
|
|
39
|
-
*/
|
|
40
|
-
noResultsLabel: () => string;
|
|
41
|
-
/**
|
|
42
|
-
* Function to set label that alerts you that query's too short. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
|
|
43
|
-
*/
|
|
44
|
-
statusQueryTooShortLabel: (minQueryLength: number) => string;
|
|
45
|
-
/**
|
|
46
|
-
* Function to set no results label. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
|
|
47
|
-
*/
|
|
48
|
-
statusNoResultsLabel: () => string;
|
|
49
|
-
/**
|
|
50
|
-
* Function to set selected option label. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
|
|
51
|
-
*/
|
|
52
|
-
statusSelectedOptionLabel: (selectedOption: string, length: number, index: number) => string;
|
|
53
|
-
/**
|
|
54
|
-
* Function to set status results label. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
|
|
55
|
-
*/
|
|
56
|
-
statusResultsLabel: (length: number, contentSelectedOption: string) => string;
|
|
57
|
-
/**
|
|
58
|
-
* Fired when value changes
|
|
59
|
-
*/
|
|
60
|
-
selected: EventEmitter<any>;
|
|
61
|
-
private selectAutocompleteEl?;
|
|
62
|
-
private selectAutocomplete?;
|
|
63
|
-
private value;
|
|
64
|
-
private _interval;
|
|
65
|
-
private _inputEl;
|
|
66
|
-
ngOnInit(): void;
|
|
67
|
-
clear(): void;
|
|
68
|
-
_findInput(): void;
|
|
69
|
-
private _setAndCheck;
|
|
70
|
-
private _initInputEl;
|
|
71
|
-
ngAfterViewInit(): void;
|
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItAutocompleteComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItAutocompleteComponent, "it-autocomplete", never, { "source": { "alias": "source"; "required": false; }; "required": { "alias": "required"; "required": false; }; "name": { "alias": "name"; "required": false; }; "description": { "alias": "description"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "assistiveHintLabel": { "alias": "assistiveHintLabel"; "required": false; }; "noResultsLabel": { "alias": "noResultsLabel"; "required": false; }; "statusQueryTooShortLabel": { "alias": "statusQueryTooShortLabel"; "required": false; }; "statusNoResultsLabel": { "alias": "statusNoResultsLabel"; "required": false; }; "statusSelectedOptionLabel": { "alias": "statusSelectedOptionLabel"; "required": false; }; "statusResultsLabel": { "alias": "statusResultsLabel"; "required": false; }; }, { "selected": "selected"; }, never, ["[error]"], true, never>;
|
|
74
|
-
}
|
|
75
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../utils/coercion";
|
|
5
|
-
export declare class ItCheckboxComponent extends ItAbstractFormComponent<boolean | null | undefined> implements OnInit, OnChanges {
|
|
6
|
-
/**
|
|
7
|
-
* If show checkbox as toggle
|
|
8
|
-
* @default false
|
|
9
|
-
*/
|
|
10
|
-
toggle?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* If show checkbox inline
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
inline?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* If is checkbox group
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
group?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* If checkbox is checked
|
|
23
|
-
* @default false
|
|
24
|
-
*/
|
|
25
|
-
checked?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* If checkbox is indeterminate
|
|
28
|
-
* @default false
|
|
29
|
-
*/
|
|
30
|
-
indeterminate?: boolean;
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
-
private markAsChecked;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItCheckboxComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItCheckboxComponent, "it-checkbox", never, { "toggle": { "alias": "toggle"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, {}, never, ["*", "[error]", "[label]"], true, never>;
|
|
36
|
-
static ngAcceptInputType_toggle: i1.BooleanInput;
|
|
37
|
-
static ngAcceptInputType_inline: i1.BooleanInput;
|
|
38
|
-
static ngAcceptInputType_group: i1.BooleanInput;
|
|
39
|
-
static ngAcceptInputType_checked: i1.BooleanInput;
|
|
40
|
-
static ngAcceptInputType_indeterminate: i1.BooleanInput;
|
|
41
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./autocomplete/autocomplete.component";
|
|
3
|
-
import * as i2 from "./search/search.component";
|
|
4
|
-
import * as i3 from "./checkbox/checkbox.component";
|
|
5
|
-
import * as i4 from "./input/input.component";
|
|
6
|
-
import * as i5 from "./password-input/password-input.component";
|
|
7
|
-
import * as i6 from "./radio-button/radio-button.component";
|
|
8
|
-
import * as i7 from "./range/range.component";
|
|
9
|
-
import * as i8 from "./rating/rating.component";
|
|
10
|
-
import * as i9 from "./select/select.component";
|
|
11
|
-
import * as i10 from "./textarea/textarea.component";
|
|
12
|
-
import * as i11 from "./transfer/transfer.component";
|
|
13
|
-
import * as i12 from "./upload-drag-drop/upload-drag-drop.component";
|
|
14
|
-
import * as i13 from "./upload-file-list/upload-file-list.component";
|
|
15
|
-
export declare class ItFormModule {
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItFormModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ItFormModule, never, [typeof i1.ItAutocompleteComponent, typeof i2.ItSearchComponent, typeof i3.ItCheckboxComponent, typeof i4.ItInputComponent, typeof i5.ItPasswordInputComponent, typeof i6.ItRadioButtonComponent, typeof i7.ItRangeComponent, typeof i8.ItRatingComponent, typeof i9.ItSelectComponent, typeof i10.ItTextareaComponent, typeof i11.ItTransferComponent, typeof i12.ItUploadDragDropComponent, typeof i13.ItUploadFileListComponent], [typeof i1.ItAutocompleteComponent, typeof i2.ItSearchComponent, typeof i3.ItCheckboxComponent, typeof i4.ItInputComponent, typeof i5.ItPasswordInputComponent, typeof i6.ItRadioButtonComponent, typeof i7.ItRangeComponent, typeof i8.ItRatingComponent, typeof i9.ItSelectComponent, typeof i10.ItTextareaComponent, typeof i11.ItTransferComponent, typeof i12.ItUploadDragDropComponent, typeof i13.ItUploadFileListComponent]>;
|
|
18
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ItFormModule>;
|
|
19
|
-
}
|