design-angular-kit 1.2.1 → 1.3.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 +461 -0
- package/assets/i18n/en.json +89 -0
- package/assets/i18n/it.json +89 -0
- package/esm2022/design-angular-kit.mjs +5 -0
- package/esm2022/lib/abstracts/abstract-form.component.mjs +199 -0
- package/esm2022/lib/abstracts/abstract.component.mjs +46 -0
- package/esm2022/lib/components/core/accordion/accordion.component.mjs +39 -0
- package/esm2022/lib/components/core/alert/alert.component.mjs +71 -0
- package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +43 -0
- package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +40 -0
- package/esm2022/lib/components/core/avatar/avatar.directive.mjs +78 -0
- package/esm2022/lib/components/core/avatar/avatar.module.mjs +33 -0
- package/esm2022/lib/components/core/badge/badge.directive.mjs +39 -0
- package/esm2022/lib/components/core/button/button.directive.mjs +80 -0
- package/esm2022/lib/components/core/callout/callout.component.mjs +64 -0
- package/esm2022/lib/components/core/card/card.component.mjs +59 -0
- package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +86 -0
- package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +19 -0
- package/esm2022/lib/components/core/carousel/carousel.module.mjs +18 -0
- package/esm2022/lib/components/core/chip/chip.component.mjs +136 -0
- package/esm2022/lib/components/core/collapse/collapse.component.mjs +116 -0
- package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +27 -0
- package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
- package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +55 -0
- package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +19 -0
- package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +147 -0
- package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +70 -0
- package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +18 -0
- package/esm2022/lib/components/core/forward/forward.directive.mjs +57 -0
- package/esm2022/lib/components/core/link/link.component.mjs +42 -0
- package/esm2022/lib/components/core/list/list/list.component.mjs +22 -0
- package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +56 -0
- package/esm2022/lib/components/core/list/list.module.mjs +18 -0
- package/esm2022/lib/components/core/modal/modal.component.mjs +194 -0
- package/esm2022/lib/components/core/notifications/notifications.component.mjs +111 -0
- package/esm2022/lib/components/core/pagination/pagination.component.mjs +130 -0
- package/esm2022/lib/components/core/popover/popover.directive.mjs +176 -0
- package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +34 -0
- package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +25 -0
- package/esm2022/lib/components/core/spinner/spinner.component.mjs +30 -0
- package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +116 -0
- package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +22 -0
- package/esm2022/lib/components/core/steppers/steppers.module.mjs +18 -0
- package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +97 -0
- package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +39 -0
- package/esm2022/lib/components/core/tab/tab.module.mjs +18 -0
- package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +134 -0
- package/esm2022/lib/components/core/table/sort/sort.directive.mjs +123 -0
- package/esm2022/lib/components/core/table/table.component.mjs +45 -0
- package/esm2022/lib/components/core/table/table.module.mjs +19 -0
- package/esm2022/lib/components/core/timeline/timeline-item/timeline-item.component.mjs +90 -0
- package/esm2022/lib/components/core/timeline/timeline.component.mjs +36 -0
- package/esm2022/lib/components/core/timeline/timeline.module.mjs +18 -0
- package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +143 -0
- package/esm2022/lib/components/core/video-player/video-player-i18n.model.mjs +2 -0
- package/esm2022/lib/components/core/video-player/video-player-i18n.service.mjs +130 -0
- package/esm2022/lib/components/core/video-player/video-player.component.mjs +303 -0
- package/esm2022/lib/components/core/video-player/video-player.config.mjs +43 -0
- package/esm2022/lib/components/core/video-player/video-player.cookie.mjs +25 -0
- package/esm2022/lib/components/core/video-player/video-player.model.mjs +3 -0
- package/esm2022/lib/components/core/video-player/video-player.module.mjs +16 -0
- package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +178 -0
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +48 -0
- package/esm2022/lib/components/form/form.module.mjs +67 -0
- package/esm2022/lib/components/form/input/input.component.mjs +190 -0
- package/esm2022/lib/components/form/password-input/password-input.component.mjs +149 -0
- package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +60 -0
- package/esm2022/lib/components/form/range/range.component.mjs +64 -0
- package/esm2022/lib/components/form/rating/rating.component.mjs +50 -0
- package/esm2022/lib/components/form/search/search.component.mjs +112 -0
- package/esm2022/lib/components/form/select/select.component.mjs +70 -0
- package/esm2022/lib/components/form/textarea/textarea.component.mjs +55 -0
- package/esm2022/lib/components/form/transfer/store/transfer.reducers.mjs +191 -0
- package/esm2022/lib/components/form/transfer/store/transfer.state.mjs +2 -0
- package/esm2022/lib/components/form/transfer/store/transfer.store.mjs +70 -0
- package/esm2022/lib/components/form/transfer/transfer-list/transfer-list.component.mjs +72 -0
- package/esm2022/lib/components/form/transfer/transfer.component.mjs +149 -0
- package/esm2022/lib/components/form/transfer/transfer.model.mjs +6 -0
- package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +142 -0
- package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +107 -0
- package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +67 -0
- package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +68 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +51 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +21 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
- package/esm2022/lib/components/navigation/header/header.component.mjs +103 -0
- package/esm2022/lib/components/navigation/megamenu/megamenu.component.mjs +27 -0
- package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +49 -0
- package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +11 -0
- package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +18 -0
- package/esm2022/lib/components/navigation/navscroll/navscroll-list-item.component.mjs +97 -0
- package/esm2022/lib/components/navigation/navscroll/navscroll-list-items.component.mjs +44 -0
- package/esm2022/lib/components/navigation/navscroll/navscroll.component.mjs +116 -0
- package/esm2022/lib/components/navigation/navscroll/navscroll.model.mjs +2 -0
- package/esm2022/lib/components/navigation/navscroll/navscroll.store.mjs +68 -0
- package/esm2022/lib/components/navigation/navscroll/navscroll.utils.mjs +23 -0
- package/esm2022/lib/components/navigation/sidebar/sidebar.component.mjs +50 -0
- package/esm2022/lib/components/navigation/skiplink/skiplink/skiplink.component.mjs +27 -0
- package/esm2022/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.mjs +26 -0
- package/esm2022/lib/components/navigation/skiplink/skiplink.module.mjs +18 -0
- package/esm2022/lib/components/utils/error-page/error-page.component.mjs +74 -0
- package/esm2022/lib/components/utils/icon/icon.component.mjs +63 -0
- package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +50 -0
- package/esm2022/lib/design-angular-kit.module.mjs +237 -0
- package/esm2022/lib/enums/colors.enums.mjs +12 -0
- package/esm2022/lib/enums/sizes.enum.mjs +9 -0
- package/esm2022/lib/interfaces/core.mjs +16 -0
- package/esm2022/lib/interfaces/design-angular-kit-config.mjs +7 -0
- package/esm2022/lib/interfaces/form.mjs +2 -0
- package/esm2022/lib/interfaces/icon.mjs +168 -0
- package/esm2022/lib/interfaces/sortable-table.mjs +6 -0
- package/esm2022/lib/interfaces/utils.mjs +2 -0
- package/esm2022/lib/pipes/date-ago.pipe.mjs +56 -0
- package/esm2022/lib/pipes/duration.pipe.mjs +115 -0
- package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +48 -0
- package/esm2022/lib/provide-design-angular-kit.mjs +64 -0
- package/esm2022/lib/services/notification/notification.service.mjs +120 -0
- package/esm2022/lib/utils/coercion.mjs +18 -0
- package/esm2022/lib/utils/date-utils.mjs +162 -0
- package/esm2022/lib/utils/file-utils.mjs +73 -0
- package/esm2022/lib/utils/regex.mjs +35 -0
- package/esm2022/lib/validators/it-validators.mjs +161 -0
- package/esm2022/public_api.mjs +114 -0
- package/fesm2022/design-angular-kit.mjs +7423 -0
- package/fesm2022/design-angular-kit.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/abstracts/abstract-form.component.d.ts +89 -0
- package/lib/abstracts/abstract.component.d.ts +30 -0
- package/lib/components/core/accordion/accordion.component.d.ts +18 -0
- package/lib/components/core/alert/alert.component.d.ts +44 -0
- package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +29 -0
- package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +15 -0
- package/lib/components/core/avatar/avatar.directive.d.ts +33 -0
- package/lib/components/core/avatar/avatar.module.d.ts +9 -0
- package/lib/components/core/badge/badge.directive.d.ts +23 -0
- package/lib/components/core/button/button.directive.d.ts +48 -0
- package/lib/components/core/callout/callout.component.d.ts +50 -0
- package/lib/components/core/card/card.component.d.ts +69 -0
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +65 -0
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +15 -0
- package/lib/components/core/carousel/carousel.module.d.ts +8 -0
- package/lib/components/core/chip/chip.component.d.ts +76 -0
- package/lib/components/core/collapse/collapse.component.d.ts +67 -0
- package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +12 -0
- package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +5 -0
- package/lib/components/core/dimmer/dimmer.component.d.ts +24 -0
- package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +94 -0
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +46 -0
- package/lib/components/core/dropdown/dropdown.module.d.ts +8 -0
- package/lib/components/core/forward/forward.directive.d.ts +14 -0
- package/lib/components/core/link/link.component.d.ts +35 -0
- package/lib/components/core/list/list/list.component.d.ts +24 -0
- package/lib/components/core/list/list-item/list-item.component.d.ts +41 -0
- package/lib/components/core/list/list.module.d.ts +8 -0
- package/lib/components/core/modal/modal.component.d.ts +135 -0
- package/lib/components/core/notifications/notifications.component.d.ts +45 -0
- package/lib/components/core/pagination/pagination.component.d.ts +92 -0
- package/lib/components/core/popover/popover.directive.d.ts +99 -0
- package/lib/components/core/progress-bar/progress-bar.component.d.ts +31 -0
- package/lib/components/core/progress-button/progress-button.component.d.ts +21 -0
- package/lib/components/core/spinner/spinner.component.d.ts +24 -0
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +130 -0
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +24 -0
- package/lib/components/core/steppers/steppers.module.d.ts +8 -0
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +60 -0
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +38 -0
- package/lib/components/core/tab/tab.module.d.ts +8 -0
- package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +72 -0
- package/lib/components/core/table/sort/sort.directive.d.ts +53 -0
- package/lib/components/core/table/table.component.d.ts +60 -0
- package/lib/components/core/table/table.module.d.ts +9 -0
- package/lib/components/core/timeline/timeline-item/timeline-item.component.d.ts +79 -0
- package/lib/components/core/timeline/timeline.component.d.ts +21 -0
- package/lib/components/core/timeline/timeline.module.d.ts +8 -0
- package/lib/components/core/tooltip/tooltip.directive.d.ts +82 -0
- package/lib/components/core/video-player/video-player-i18n.model.d.ts +179 -0
- package/lib/components/core/video-player/video-player-i18n.service.d.ts +17 -0
- package/lib/components/core/video-player/video-player.component.d.ts +48 -0
- package/lib/components/core/video-player/video-player.config.d.ts +68 -0
- package/lib/components/core/video-player/video-player.cookie.d.ts +6 -0
- package/lib/components/core/video-player/video-player.model.d.ts +44 -0
- package/lib/components/core/video-player/video-player.module.d.ts +7 -0
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +75 -0
- package/lib/components/form/checkbox/checkbox.component.d.ts +41 -0
- package/lib/components/form/form.module.d.ts +19 -0
- package/lib/components/form/input/input.component.d.ts +95 -0
- package/lib/components/form/password-input/password-input.component.d.ts +80 -0
- package/lib/components/form/radio-button/radio-button.component.d.ts +38 -0
- package/lib/components/form/range/range.component.d.ts +42 -0
- package/lib/components/form/rating/rating.component.d.ts +24 -0
- package/lib/components/form/search/search.component.d.ts +59 -0
- package/lib/components/form/select/select.component.d.ts +36 -0
- package/lib/components/form/textarea/textarea.component.d.ts +34 -0
- package/lib/components/form/transfer/store/transfer.reducers.d.ts +103 -0
- package/lib/components/form/transfer/store/transfer.state.d.ts +18 -0
- package/lib/components/form/transfer/store/transfer.store.d.ts +23 -0
- package/lib/components/form/transfer/transfer-list/transfer-list.component.d.ts +48 -0
- package/lib/components/form/transfer/transfer.component.d.ts +75 -0
- package/{src/lib/components/form/transfer/transfer.model.ts → lib/components/form/transfer/transfer.model.d.ts} +2 -9
- package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +60 -0
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +62 -0
- package/lib/components/navigation/back-button/back-button.component.d.ts +47 -0
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +50 -0
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +28 -0
- package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +23 -0
- package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/lib/components/navigation/header/header.component.d.ts +38 -0
- package/lib/components/navigation/megamenu/megamenu.component.d.ts +22 -0
- package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +19 -0
- package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +5 -0
- package/lib/components/navigation/navbar/navbar.module.d.ts +8 -0
- package/lib/components/navigation/navscroll/navscroll-list-item.component.d.ts +16 -0
- package/lib/components/navigation/navscroll/navscroll-list-items.component.d.ts +7 -0
- package/lib/components/navigation/navscroll/navscroll.component.d.ts +47 -0
- package/{src/lib/components/navigation/navscroll/navscroll.model.ts → lib/components/navigation/navscroll/navscroll.model.d.ts} +5 -7
- package/lib/components/navigation/navscroll/navscroll.store.d.ts +16 -0
- package/lib/components/navigation/navscroll/navscroll.utils.d.ts +6 -0
- package/lib/components/navigation/sidebar/sidebar.component.d.ts +26 -0
- package/lib/components/navigation/skiplink/skiplink/skiplink.component.d.ts +17 -0
- package/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.d.ts +24 -0
- package/lib/components/navigation/skiplink/skiplink.module.d.ts +8 -0
- package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
- package/lib/components/utils/icon/icon.component.d.ts +53 -0
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +27 -0
- package/lib/design-angular-kit.module.d.ts +54 -0
- package/lib/enums/colors.enums.d.ts +10 -0
- package/lib/enums/sizes.enum.d.ts +7 -0
- package/{src/lib/interfaces/core.ts → lib/interfaces/core.d.ts} +53 -95
- package/lib/interfaces/design-angular-kit-config.d.ts +30 -0
- package/lib/interfaces/form.d.ts +67 -0
- package/lib/interfaces/icon.d.ts +4 -0
- package/lib/interfaces/sortable-table.d.ts +33 -0
- package/lib/interfaces/utils.d.ts +10 -0
- package/lib/pipes/date-ago.pipe.d.ts +17 -0
- package/lib/pipes/duration.pipe.d.ts +35 -0
- package/lib/pipes/mark-matching-text.pipe.d.ts +18 -0
- package/lib/provide-design-angular-kit.d.ts +7 -0
- package/lib/services/notification/notification.service.d.ts +63 -0
- package/{src/lib/utils/coercion.ts → lib/utils/coercion.d.ts} +1 -7
- package/lib/utils/date-utils.d.ts +79 -0
- package/lib/utils/file-utils.d.ts +32 -0
- package/lib/utils/regex.d.ts +34 -0
- package/lib/validators/it-validators.d.ts +70 -0
- package/package.json +33 -15
- package/{src/public_api.ts → public_api.d.ts} +6 -45
- package/schematics/ng-add/index.d.ts +3 -0
- package/schematics/ng-add/index.js +29 -0
- package/schematics/ng-add/index.js.map +1 -0
- package/schematics/ng-add/index.spec.d.ts +1 -0
- package/schematics/ng-add/index.spec.js +43 -0
- package/schematics/ng-add/index.spec.js.map +1 -0
- package/schematics/ng-add/rules/setup-project/add-animations.d.ts +2 -0
- package/schematics/ng-add/rules/setup-project/add-animations.js +11 -0
- package/schematics/ng-add/rules/setup-project/add-animations.js.map +1 -0
- package/schematics/ng-add/rules/setup-project/add-assets.d.ts +3 -0
- package/schematics/ng-add/rules/setup-project/add-assets.js +50 -0
- package/schematics/ng-add/rules/setup-project/add-assets.js.map +1 -0
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.d.ts +3 -0
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js +43 -0
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js.map +1 -0
- package/schematics/ng-add/rules/setup-project/add-http-client.d.ts +2 -0
- package/schematics/ng-add/rules/setup-project/add-http-client.js +11 -0
- package/schematics/ng-add/rules/setup-project/add-http-client.js.map +1 -0
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.d.ts +11 -0
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js +112 -0
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js.map +1 -0
- package/schematics/ng-add/rules/setup-project/add-localisation.d.ts +3 -0
- package/schematics/ng-add/rules/setup-project/add-localisation.js +50 -0
- package/schematics/ng-add/rules/setup-project/add-localisation.js.map +1 -0
- package/schematics/ng-add/rules/setup-project/angular-json-helper.d.ts +2 -0
- package/schematics/ng-add/rules/setup-project/angular-json-helper.js +13 -0
- package/schematics/ng-add/rules/setup-project/angular-json-helper.js.map +1 -0
- package/schematics/ng-add/rules/setup-project/exceptions.d.ts +7 -0
- package/schematics/ng-add/rules/setup-project/exceptions.js +17 -0
- package/schematics/ng-add/rules/setup-project/exceptions.js.map +1 -0
- package/schematics/ng-add/rules/setup-project/index.js +23 -0
- package/schematics/ng-add/rules/setup-project/index.js.map +1 -0
- package/schematics/ng-add/{schema.ts → schema.d.ts} +1 -1
- package/schematics/ng-add/schema.js +3 -0
- package/schematics/ng-add/schema.js.map +1 -0
- package/schematics/ng-add/setup-project.d.ts +3 -0
- package/schematics/ng-add/setup-project.js +37 -0
- package/schematics/ng-add/setup-project.js.map +1 -0
- package/schematics/ng-add/setup-project.spec.d.ts +1 -0
- package/schematics/ng-add/setup-project.spec.js +139 -0
- package/schematics/ng-add/setup-project.spec.js.map +1 -0
- package/schematics/ng-add/utils.d.ts +14 -0
- package/schematics/ng-add/utils.js +49 -0
- package/schematics/ng-add/utils.js.map +1 -0
- package/schematics/ng-add/versions-helper.d.ts +3 -0
- package/schematics/ng-add/versions-helper.js +40 -0
- package/schematics/ng-add/versions-helper.js.map +1 -0
- package/.eslintrc.json +0 -31
- package/karma.conf.js +0 -38
- package/ng-package.json +0 -9
- package/ng-package.prod.json +0 -8
- package/schematics/ng-add/index.spec.ts +0 -45
- package/schematics/ng-add/index.ts +0 -36
- package/schematics/ng-add/rules/setup-project/add-animations.ts +0 -7
- package/schematics/ng-add/rules/setup-project/add-assets.ts +0 -45
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.ts +0 -40
- package/schematics/ng-add/rules/setup-project/add-http-client.ts +0 -7
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.ts +0 -120
- package/schematics/ng-add/rules/setup-project/add-localisation.ts +0 -45
- package/schematics/ng-add/rules/setup-project/angular-json-helper.ts +0 -11
- package/schematics/ng-add/rules/setup-project/exceptions.ts +0 -13
- package/schematics/ng-add/setup-project.spec.ts +0 -166
- package/schematics/ng-add/setup-project.ts +0 -31
- package/schematics/ng-add/utils.ts +0 -71
- package/schematics/ng-add/versions-helper.ts +0 -41
- package/src/lib/abstracts/abstract-form.component.ts +0 -200
- package/src/lib/abstracts/abstract.component.ts +0 -63
- package/src/lib/components/core/accordion/accordion.component.html +0 -27
- package/src/lib/components/core/accordion/accordion.component.spec.ts +0 -21
- package/src/lib/components/core/accordion/accordion.component.ts +0 -40
- package/src/lib/components/core/alert/alert.component.html +0 -19
- package/src/lib/components/core/alert/alert.component.scss +0 -3
- package/src/lib/components/core/alert/alert.component.spec.ts +0 -62
- package/src/lib/components/core/alert/alert.component.ts +0 -75
- package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.html +0 -23
- package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.scss +0 -17
- package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.spec.ts +0 -21
- package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.ts +0 -50
- package/src/lib/components/core/avatar/avatar-group/avatar-group.component.html +0 -7
- package/src/lib/components/core/avatar/avatar-group/avatar-group.component.spec.ts +0 -38
- package/src/lib/components/core/avatar/avatar-group/avatar-group.component.ts +0 -25
- package/src/lib/components/core/avatar/avatar.directive.ts +0 -73
- package/src/lib/components/core/avatar/avatar.module.ts +0 -18
- package/src/lib/components/core/badge/badge.directive.spec.ts +0 -59
- package/src/lib/components/core/badge/badge.directive.ts +0 -39
- package/src/lib/components/core/button/button.directive.spec.ts +0 -96
- package/src/lib/components/core/button/button.directive.ts +0 -89
- package/src/lib/components/core/callout/callout.component.html +0 -25
- package/src/lib/components/core/callout/callout.component.spec.ts +0 -138
- package/src/lib/components/core/callout/callout.component.ts +0 -92
- package/src/lib/components/core/card/card.component.html +0 -35
- package/src/lib/components/core/card/card.component.scss +0 -30
- package/src/lib/components/core/card/card.component.spec.ts +0 -21
- package/src/lib/components/core/card/card.component.ts +0 -78
- package/src/lib/components/core/carousel/carousel/carousel.component.html +0 -29
- package/src/lib/components/core/carousel/carousel/carousel.component.scss +0 -1
- package/src/lib/components/core/carousel/carousel/carousel.component.spec.ts +0 -21
- package/src/lib/components/core/carousel/carousel/carousel.component.ts +0 -119
- package/src/lib/components/core/carousel/carousel-item/carousel-item.component.html +0 -3
- package/src/lib/components/core/carousel/carousel-item/carousel-item.component.spec.ts +0 -22
- package/src/lib/components/core/carousel/carousel-item/carousel-item.component.ts +0 -20
- package/src/lib/components/core/carousel/carousel.module.ts +0 -11
- package/src/lib/components/core/chip/chip.component.html +0 -26
- package/src/lib/components/core/chip/chip.component.spec.ts +0 -87
- package/src/lib/components/core/chip/chip.component.ts +0 -154
- package/src/lib/components/core/collapse/collapse.component.html +0 -3
- package/src/lib/components/core/collapse/collapse.component.spec.ts +0 -21
- package/src/lib/components/core/collapse/collapse.component.ts +0 -124
- package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.html +0 -3
- package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.spec.ts +0 -35
- package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.ts +0 -23
- package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.html +0 -3
- package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.spec.ts +0 -22
- package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.ts +0 -10
- package/src/lib/components/core/dimmer/dimmer.component.html +0 -7
- package/src/lib/components/core/dimmer/dimmer.component.spec.ts +0 -49
- package/src/lib/components/core/dimmer/dimmer.component.ts +0 -50
- package/src/lib/components/core/dimmer/dimmer.module.ts +0 -12
- package/src/lib/components/core/dropdown/dropdown/dropdown.component.html +0 -45
- package/src/lib/components/core/dropdown/dropdown/dropdown.component.scss +0 -3
- package/src/lib/components/core/dropdown/dropdown/dropdown.component.spec.ts +0 -21
- package/src/lib/components/core/dropdown/dropdown/dropdown.component.ts +0 -186
- package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.html +0 -18
- package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.scss +0 -4
- package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.spec.ts +0 -21
- package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.ts +0 -82
- package/src/lib/components/core/dropdown/dropdown.module.ts +0 -11
- package/src/lib/components/core/forward/forward.directive.spec.ts +0 -60
- package/src/lib/components/core/forward/forward.directive.ts +0 -43
- package/src/lib/components/core/link/link.component.html +0 -13
- package/src/lib/components/core/link/link.component.spec.ts +0 -21
- package/src/lib/components/core/link/link.component.ts +0 -54
- package/src/lib/components/core/list/list/list.component.html +0 -13
- package/src/lib/components/core/list/list/list.component.spec.ts +0 -21
- package/src/lib/components/core/list/list/list.component.ts +0 -30
- package/src/lib/components/core/list/list-item/list-item.component.html +0 -42
- package/src/lib/components/core/list/list-item/list-item.component.scss +0 -16
- package/src/lib/components/core/list/list-item/list-item.component.spec.ts +0 -21
- package/src/lib/components/core/list/list-item/list-item.component.ts +0 -75
- package/src/lib/components/core/list/list.module.ts +0 -11
- package/src/lib/components/core/modal/modal.component.html +0 -36
- package/src/lib/components/core/modal/modal.component.scss +0 -3
- package/src/lib/components/core/modal/modal.component.spec.ts +0 -21
- package/src/lib/components/core/modal/modal.component.ts +0 -218
- package/src/lib/components/core/notifications/notifications.component.html +0 -25
- package/src/lib/components/core/notifications/notifications.component.scss +0 -3
- package/src/lib/components/core/notifications/notifications.component.spec.ts +0 -21
- package/src/lib/components/core/notifications/notifications.component.ts +0 -123
- package/src/lib/components/core/pagination/pagination.component.html +0 -107
- package/src/lib/components/core/pagination/pagination.component.spec.ts +0 -21
- package/src/lib/components/core/pagination/pagination.component.ts +0 -157
- package/src/lib/components/core/popover/popover.directive.spec.ts +0 -21
- package/src/lib/components/core/popover/popover.directive.ts +0 -171
- package/src/lib/components/core/progress-bar/progress-bar.component.html +0 -20
- package/src/lib/components/core/progress-bar/progress-bar.component.spec.ts +0 -21
- package/src/lib/components/core/progress-bar/progress-bar.component.ts +0 -46
- package/src/lib/components/core/progress-button/progress-button.component.html +0 -5
- package/src/lib/components/core/progress-button/progress-button.component.spec.ts +0 -21
- package/src/lib/components/core/progress-button/progress-button.component.ts +0 -39
- package/src/lib/components/core/spinner/spinner.component.html +0 -7
- package/src/lib/components/core/spinner/spinner.component.spec.ts +0 -80
- package/src/lib/components/core/spinner/spinner.component.ts +0 -31
- package/src/lib/components/core/steppers/steppers-container/steppers-container.component.html +0 -126
- package/src/lib/components/core/steppers/steppers-container/steppers-container.component.spec.ts +0 -21
- package/src/lib/components/core/steppers/steppers-container/steppers-container.component.ts +0 -185
- package/src/lib/components/core/steppers/steppers-item/steppers-item.component.html +0 -3
- package/src/lib/components/core/steppers/steppers-item/steppers-item.component.spec.ts +0 -22
- package/src/lib/components/core/steppers/steppers-item/steppers-item.component.ts +0 -33
- package/src/lib/components/core/steppers/steppers.module.ts +0 -11
- package/src/lib/components/core/tab/tab-container/tab-container.component.html +0 -78
- package/src/lib/components/core/tab/tab-container/tab-container.component.spec.ts +0 -21
- package/src/lib/components/core/tab/tab-container/tab-container.component.ts +0 -137
- package/src/lib/components/core/tab/tab-item/tab-item.component.html +0 -3
- package/src/lib/components/core/tab/tab-item/tab-item.component.spec.ts +0 -22
- package/src/lib/components/core/tab/tab-item/tab-item.component.ts +0 -50
- package/src/lib/components/core/tab/tab.module.ts +0 -11
- package/src/lib/components/core/table/sort/sort-header/sort-header.component.html +0 -27
- package/src/lib/components/core/table/sort/sort-header/sort-header.component.scss +0 -65
- package/src/lib/components/core/table/sort/sort-header/sort-header.component.spec.ts +0 -25
- package/src/lib/components/core/table/sort/sort-header/sort-header.component.ts +0 -164
- package/src/lib/components/core/table/sort/sort.directive.spec.ts +0 -73
- package/src/lib/components/core/table/sort/sort.directive.ts +0 -142
- package/src/lib/components/core/table/table.component.html +0 -23
- package/src/lib/components/core/table/table.component.scss +0 -7
- package/src/lib/components/core/table/table.component.spec.ts +0 -21
- package/src/lib/components/core/table/table.component.ts +0 -70
- package/src/lib/components/core/table/table.module.ts +0 -12
- package/src/lib/components/core/timeline/timeline-item/timeline-item.component.html +0 -47
- package/src/lib/components/core/timeline/timeline-item/timeline-item.component.spec.ts +0 -24
- package/src/lib/components/core/timeline/timeline-item/timeline-item.component.ts +0 -102
- package/src/lib/components/core/timeline/timeline.component.html +0 -21
- package/src/lib/components/core/timeline/timeline.component.spec.ts +0 -21
- package/src/lib/components/core/timeline/timeline.component.ts +0 -31
- package/src/lib/components/core/timeline/timeline.module.ts +0 -11
- package/src/lib/components/core/tooltip/tooltip.directive.spec.ts +0 -20
- package/src/lib/components/core/tooltip/tooltip.directive.ts +0 -141
- package/src/lib/components/form/autocomplete/autocomplete.component.html +0 -58
- package/src/lib/components/form/autocomplete/autocomplete.component.spec.ts +0 -21
- package/src/lib/components/form/autocomplete/autocomplete.component.ts +0 -130
- package/src/lib/components/form/checkbox/checkbox.component.html +0 -67
- package/src/lib/components/form/checkbox/checkbox.component.spec.ts +0 -21
- package/src/lib/components/form/checkbox/checkbox.component.ts +0 -65
- package/src/lib/components/form/form.module.ts +0 -34
- package/src/lib/components/form/input/input.component.html +0 -92
- package/src/lib/components/form/input/input.component.scss +0 -29
- package/src/lib/components/form/input/input.component.spec.ts +0 -21
- package/src/lib/components/form/input/input.component.ts +0 -234
- package/src/lib/components/form/password-input/password-input.component.html +0 -65
- package/src/lib/components/form/password-input/password-input.component.scss +0 -9
- package/src/lib/components/form/password-input/password-input.component.spec.ts +0 -21
- package/src/lib/components/form/password-input/password-input.component.ts +0 -171
- package/src/lib/components/form/radio-button/radio-button.component.html +0 -50
- package/src/lib/components/form/radio-button/radio-button.component.scss +0 -14
- package/src/lib/components/form/radio-button/radio-button.component.spec.ts +0 -21
- package/src/lib/components/form/radio-button/radio-button.component.ts +0 -82
- package/src/lib/components/form/range/range.component.html +0 -17
- package/src/lib/components/form/range/range.component.scss +0 -17
- package/src/lib/components/form/range/range.component.spec.ts +0 -21
- package/src/lib/components/form/range/range.component.ts +0 -100
- package/src/lib/components/form/rating/rating.component.html +0 -24
- package/src/lib/components/form/rating/rating.component.spec.ts +0 -21
- package/src/lib/components/form/rating/rating.component.ts +0 -52
- package/src/lib/components/form/select/select.component.html +0 -54
- package/src/lib/components/form/select/select.component.scss +0 -3
- package/src/lib/components/form/select/select.component.spec.ts +0 -22
- package/src/lib/components/form/select/select.component.ts +0 -91
- package/src/lib/components/form/textarea/textarea.component.html +0 -28
- package/src/lib/components/form/textarea/textarea.component.scss +0 -12
- package/src/lib/components/form/textarea/textarea.component.spec.ts +0 -21
- package/src/lib/components/form/textarea/textarea.component.ts +0 -61
- package/src/lib/components/form/transfer/store/transfer.reducers.ts +0 -242
- package/src/lib/components/form/transfer/store/transfer.state.ts +0 -20
- package/src/lib/components/form/transfer/store/transfer.store.ts +0 -88
- package/src/lib/components/form/transfer/transfer-list/transfer-list.component.html +0 -42
- package/src/lib/components/form/transfer/transfer-list/transfer-list.component.spec.ts +0 -33
- package/src/lib/components/form/transfer/transfer-list/transfer-list.component.ts +0 -93
- package/src/lib/components/form/transfer/transfer.component.html +0 -52
- package/src/lib/components/form/transfer/transfer.component.spec.ts +0 -27
- package/src/lib/components/form/transfer/transfer.component.ts +0 -159
- package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.html +0 -36
- package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.spec.ts +0 -21
- package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.ts +0 -170
- package/src/lib/components/form/upload-file-list/upload-file-list.component.html +0 -46
- package/src/lib/components/form/upload-file-list/upload-file-list.component.spec.ts +0 -22
- package/src/lib/components/form/upload-file-list/upload-file-list.component.ts +0 -120
- package/src/lib/components/navigation/back-button/back-button.component.html +0 -25
- package/src/lib/components/navigation/back-button/back-button.component.spec.ts +0 -91
- package/src/lib/components/navigation/back-button/back-button.component.ts +0 -67
- package/src/lib/components/navigation/back-to-top/back-to-top.component.html +0 -11
- package/src/lib/components/navigation/back-to-top/back-to-top.component.spec.ts +0 -21
- package/src/lib/components/navigation/back-to-top/back-to-top.component.ts +0 -80
- package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.html +0 -23
- package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.spec.ts +0 -21
- package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.ts +0 -68
- package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.html +0 -3
- package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.spec.ts +0 -22
- package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.ts +0 -29
- package/src/lib/components/navigation/breadcrumbs/breadcrumbs.module.ts +0 -11
- package/src/lib/components/navigation/header/header.component.html +0 -102
- package/src/lib/components/navigation/header/header.component.scss +0 -3
- package/src/lib/components/navigation/header/header.component.spec.ts +0 -21
- package/src/lib/components/navigation/header/header.component.ts +0 -107
- package/src/lib/components/navigation/megamenu/megamenu.component.html +0 -34
- package/src/lib/components/navigation/megamenu/megamenu.component.scss +0 -5
- package/src/lib/components/navigation/megamenu/megamenu.component.ts +0 -30
- package/src/lib/components/navigation/navbar/navbar/navbar.component.html +0 -28
- package/src/lib/components/navigation/navbar/navbar/navbar.component.ts +0 -45
- package/src/lib/components/navigation/navbar/navbar-item/navbar-item.component.html +0 -3
- package/src/lib/components/navigation/navbar/navbar-item/navbar-item.component.ts +0 -10
- package/src/lib/components/navigation/navbar/navbar.module.ts +0 -11
- package/src/lib/components/navigation/navscroll/navscroll-list-item.component.ts +0 -95
- package/src/lib/components/navigation/navscroll/navscroll-list-items.component.ts +0 -27
- package/src/lib/components/navigation/navscroll/navscroll.component.html +0 -101
- package/src/lib/components/navigation/navscroll/navscroll.component.scss +0 -9
- package/src/lib/components/navigation/navscroll/navscroll.component.ts +0 -143
- package/src/lib/components/navigation/navscroll/navscroll.store.ts +0 -96
- package/src/lib/components/navigation/navscroll/navscroll.utils.ts +0 -28
- package/src/lib/components/navigation/sidebar/sidebar.component.html +0 -11
- package/src/lib/components/navigation/sidebar/sidebar.component.spec.ts +0 -21
- package/src/lib/components/navigation/sidebar/sidebar.component.ts +0 -39
- package/src/lib/components/navigation/skiplink/skiplink/skiplink.component.html +0 -15
- package/src/lib/components/navigation/skiplink/skiplink/skiplink.component.ts +0 -27
- package/src/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.html +0 -15
- package/src/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.ts +0 -38
- package/src/lib/components/navigation/skiplink/skiplink.module.ts +0 -11
- package/src/lib/components/utils/error-page/error-page.component.html +0 -33
- package/src/lib/components/utils/error-page/error-page.component.spec.ts +0 -21
- package/src/lib/components/utils/error-page/error-page.component.ts +0 -79
- package/src/lib/components/utils/icon/icon.component.html +0 -6
- package/src/lib/components/utils/icon/icon.component.spec.ts +0 -21
- package/src/lib/components/utils/icon/icon.component.ts +0 -95
- package/src/lib/components/utils/language-switcher/language-switcher.component.html +0 -21
- package/src/lib/components/utils/language-switcher/language-switcher.component.spec.ts +0 -21
- package/src/lib/components/utils/language-switcher/language-switcher.component.ts +0 -56
- package/src/lib/design-angular-kit.module.ts +0 -131
- package/src/lib/enums/colors.enums.ts +0 -10
- package/src/lib/enums/sizes.enum.ts +0 -7
- package/src/lib/interfaces/design-angular-kit-config.ts +0 -34
- package/src/lib/interfaces/form.ts +0 -78
- package/src/lib/interfaces/icon.ts +0 -176
- package/src/lib/interfaces/sortable-table.ts +0 -42
- package/src/lib/interfaces/utils.ts +0 -11
- package/src/lib/pipes/date-ago.pipe.ts +0 -57
- package/src/lib/pipes/duration.pipe.ts +0 -112
- package/src/lib/pipes/mark-matching-text.pipe.ts +0 -43
- package/src/lib/provide-design-angular-kit.ts +0 -73
- package/src/lib/services/notification/notification.service.spec.ts +0 -16
- package/src/lib/services/notification/notification.service.ts +0 -119
- package/src/lib/utils/date-utils.ts +0 -184
- package/src/lib/utils/file-utils.ts +0 -80
- package/src/lib/utils/regex.ts +0 -44
- package/src/lib/validators/it-validators.ts +0 -193
- package/src/test.ts +0 -26
- package/tsconfig.lib.json +0 -24
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.schematics.json +0 -25
- package/tsconfig.spec.json +0 -9
- /package/schematics/ng-add/rules/setup-project/{index.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { TransferItem } from '../transfer.model';
|
|
2
|
+
import { SelectionState, State } from './transfer.state';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
initialStateFn: <T>() => {
|
|
5
|
+
initialItems: {
|
|
6
|
+
source: never[];
|
|
7
|
+
target: never[];
|
|
8
|
+
};
|
|
9
|
+
current: {
|
|
10
|
+
source: never[];
|
|
11
|
+
target: never[];
|
|
12
|
+
};
|
|
13
|
+
selections: {
|
|
14
|
+
source: Set<TransferItem<T>>;
|
|
15
|
+
target: Set<TransferItem<T>>;
|
|
16
|
+
};
|
|
17
|
+
operationsEnabled: {
|
|
18
|
+
transfer: boolean;
|
|
19
|
+
backtransfer: boolean;
|
|
20
|
+
reset: boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
initFn: <T_1>(payload: SelectionState<T_1>) => (state: State<T_1>) => {
|
|
24
|
+
initialItems: {
|
|
25
|
+
source: TransferItem<T_1>[];
|
|
26
|
+
target: TransferItem<T_1>[];
|
|
27
|
+
};
|
|
28
|
+
current: {
|
|
29
|
+
source: TransferItem<T_1>[];
|
|
30
|
+
target: TransferItem<T_1>[];
|
|
31
|
+
};
|
|
32
|
+
selections: {
|
|
33
|
+
source: Set<TransferItem<T_1>>;
|
|
34
|
+
target: Set<TransferItem<T_1>>;
|
|
35
|
+
};
|
|
36
|
+
operationsEnabled: {
|
|
37
|
+
transfer: boolean;
|
|
38
|
+
backtransfer: boolean;
|
|
39
|
+
reset: boolean;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
transferFn: <T_2>() => (state: State<T_2>) => {
|
|
43
|
+
current: {
|
|
44
|
+
source: TransferItem<T_2>[];
|
|
45
|
+
target: TransferItem<T_2>[];
|
|
46
|
+
};
|
|
47
|
+
selections: {
|
|
48
|
+
source: Set<TransferItem<T_2>>;
|
|
49
|
+
target: Set<TransferItem<T_2>>;
|
|
50
|
+
};
|
|
51
|
+
operationsEnabled: {
|
|
52
|
+
transfer: false;
|
|
53
|
+
reset: true;
|
|
54
|
+
backtransfer: boolean;
|
|
55
|
+
};
|
|
56
|
+
initialItems: SelectionState<T_2>;
|
|
57
|
+
};
|
|
58
|
+
backtransferFn: <T_3>() => (state: State<T_3>) => {
|
|
59
|
+
current: {
|
|
60
|
+
target: TransferItem<T_3>[];
|
|
61
|
+
source: TransferItem<T_3>[];
|
|
62
|
+
};
|
|
63
|
+
selections: {
|
|
64
|
+
target: Set<TransferItem<T_3>>;
|
|
65
|
+
source: Set<TransferItem<T_3>>;
|
|
66
|
+
};
|
|
67
|
+
operationsEnabled: {
|
|
68
|
+
backtransfer: false;
|
|
69
|
+
reset: true;
|
|
70
|
+
transfer: boolean;
|
|
71
|
+
};
|
|
72
|
+
initialItems: SelectionState<T_3>;
|
|
73
|
+
};
|
|
74
|
+
resetFn: <T_4>() => (state: State<T_4>) => {
|
|
75
|
+
current: {
|
|
76
|
+
source: TransferItem<T_4>[];
|
|
77
|
+
target: TransferItem<T_4>[];
|
|
78
|
+
};
|
|
79
|
+
operationsEnabled: {
|
|
80
|
+
reset: false;
|
|
81
|
+
transfer: boolean;
|
|
82
|
+
backtransfer: boolean;
|
|
83
|
+
};
|
|
84
|
+
initialItems: SelectionState<T_4>;
|
|
85
|
+
selections: {
|
|
86
|
+
source: Set<TransferItem<T_4>>;
|
|
87
|
+
target: Set<TransferItem<T_4>>;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
selectAllSourceFn: <T_5>({ checked }: {
|
|
91
|
+
checked: boolean;
|
|
92
|
+
}) => (state: State<T_5>) => State<T_5>;
|
|
93
|
+
selectAllTargetFn: <T_6>({ checked }: {
|
|
94
|
+
checked: boolean;
|
|
95
|
+
}) => (state: State<T_6>) => State<T_6>;
|
|
96
|
+
selectionItemSourceFn: <T_7>({ item }: {
|
|
97
|
+
item: TransferItem<T_7>;
|
|
98
|
+
}) => (state: State<T_7>) => State<T_7>;
|
|
99
|
+
selectionItemTargetFn: <T_8>({ item }: {
|
|
100
|
+
item: TransferItem<T_8>;
|
|
101
|
+
}) => (state: State<T_8>) => State<T_8>;
|
|
102
|
+
};
|
|
103
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TransferItem } from '../transfer.model';
|
|
2
|
+
export interface SelectionState<T> {
|
|
3
|
+
source: Array<TransferItem<T>>;
|
|
4
|
+
target: Array<TransferItem<T>>;
|
|
5
|
+
}
|
|
6
|
+
export interface State<T> {
|
|
7
|
+
initialItems: SelectionState<T>;
|
|
8
|
+
current: SelectionState<T>;
|
|
9
|
+
selections: {
|
|
10
|
+
source: Set<TransferItem<T>>;
|
|
11
|
+
target: Set<TransferItem<T>>;
|
|
12
|
+
};
|
|
13
|
+
operationsEnabled: {
|
|
14
|
+
transfer: boolean;
|
|
15
|
+
backtransfer: boolean;
|
|
16
|
+
reset: boolean;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SourceType, TransferItem } from '../transfer.model';
|
|
2
|
+
import { SelectionState } from './transfer.state';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TransferStore<T> {
|
|
5
|
+
private readonly _state;
|
|
6
|
+
private readonly sourceItems;
|
|
7
|
+
private readonly targetItems;
|
|
8
|
+
readonly valueChanged: import("rxjs").Observable<TransferItem<T>[]>;
|
|
9
|
+
readonly selectItems: (sourceType: SourceType) => import("rxjs").Observable<TransferItem<T>[]>;
|
|
10
|
+
readonly selectSelectedItems: (sourceType: SourceType) => import("rxjs").Observable<Set<TransferItem<T>>>;
|
|
11
|
+
readonly transferEnabled: import("rxjs").Observable<boolean>;
|
|
12
|
+
readonly backtransferEnabled: import("rxjs").Observable<boolean>;
|
|
13
|
+
readonly resetEnabled: import("rxjs").Observable<boolean>;
|
|
14
|
+
init({ source, target }: SelectionState<T>): void;
|
|
15
|
+
transfer(): void;
|
|
16
|
+
backtransfer(): void;
|
|
17
|
+
reset(): void;
|
|
18
|
+
checkboxSelection(item: TransferItem<T>, sourceType: SourceType): void;
|
|
19
|
+
selectAllSelection(checked: boolean, sourceType: SourceType): void;
|
|
20
|
+
private updateState;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransferStore<any>, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TransferStore<any>>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
3
|
+
import { TransferStore } from '../store/transfer.store';
|
|
4
|
+
import { SourceType, TransferItem } from '../transfer.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
interface SelectableTransferItem<T> extends TransferItem<T> {
|
|
7
|
+
selected: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class ItTransferListComponent<T> extends ItAbstractComponent {
|
|
10
|
+
private readonly store;
|
|
11
|
+
/**
|
|
12
|
+
* Widget title
|
|
13
|
+
*/
|
|
14
|
+
readonly title: string | null;
|
|
15
|
+
readonly sourceType: SourceType;
|
|
16
|
+
private readonly items;
|
|
17
|
+
private readonly selected;
|
|
18
|
+
readonly numberOfItems$: import("rxjs").Observable<{
|
|
19
|
+
length: number;
|
|
20
|
+
} | {
|
|
21
|
+
length: number;
|
|
22
|
+
}>;
|
|
23
|
+
readonly selectAllDisabled: import("rxjs").Observable<boolean>;
|
|
24
|
+
/**
|
|
25
|
+
* Items of the list
|
|
26
|
+
* @default []
|
|
27
|
+
*/
|
|
28
|
+
readonly items$: import("rxjs").Observable<SelectableTransferItem<T>[]>;
|
|
29
|
+
selectAllCheckboxRef: ElementRef<HTMLInputElement>;
|
|
30
|
+
readonly instanceId: string;
|
|
31
|
+
constructor(store: TransferStore<T>);
|
|
32
|
+
/**
|
|
33
|
+
* Checkbox selection click handler
|
|
34
|
+
*/
|
|
35
|
+
checkboxSelectionHandler(item: TransferItem<T>): void;
|
|
36
|
+
/**
|
|
37
|
+
* Checkbox select all selection handler
|
|
38
|
+
*/
|
|
39
|
+
checkboxSelectAllHandler(event: Event): void;
|
|
40
|
+
/**
|
|
41
|
+
* Items update subscription
|
|
42
|
+
*/
|
|
43
|
+
private onItemsUpdate;
|
|
44
|
+
private getInstanceId;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTransferListComponent<any>, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItTransferListComponent<any>, "it-transfer-list", never, {}, {}, never, never, true, never>;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
5
|
+
import { TransferStore } from './store/transfer.store';
|
|
6
|
+
import { TransferItem } from './transfer.model';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Transfer
|
|
10
|
+
* @description Component that allows the creation of checkbox lists.
|
|
11
|
+
*/
|
|
12
|
+
export declare class ItTransferComponent<T = any> extends ItAbstractFormComponent<T> implements OnInit {
|
|
13
|
+
readonly _ngControl: NgControl;
|
|
14
|
+
readonly _translateService: TranslateService;
|
|
15
|
+
private readonly store;
|
|
16
|
+
/**
|
|
17
|
+
* The select options (left side)
|
|
18
|
+
*/
|
|
19
|
+
options: never[];
|
|
20
|
+
/**
|
|
21
|
+
* The selected options (right side)
|
|
22
|
+
*/
|
|
23
|
+
selected: never[];
|
|
24
|
+
/**
|
|
25
|
+
* Fired when there is a transfer, a backtransfer or a reset event
|
|
26
|
+
*/
|
|
27
|
+
readonly transferChanges: EventEmitter<TransferItem<T>[]>;
|
|
28
|
+
/**
|
|
29
|
+
* Enable transfer button
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
readonly transferEnabled: import("rxjs").Observable<boolean>;
|
|
33
|
+
/**
|
|
34
|
+
* Enable backtransfer button
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
readonly backtransferEnabled: import("rxjs").Observable<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* Enable reset button
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
readonly resetEnabled: import("rxjs").Observable<boolean>;
|
|
43
|
+
private readonly destroyRef;
|
|
44
|
+
constructor(_ngControl: NgControl, _translateService: TranslateService, store: TransferStore<T>);
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
/**
|
|
47
|
+
* Transfer button click handler
|
|
48
|
+
*/
|
|
49
|
+
transferClickHandler(event: MouseEvent): void;
|
|
50
|
+
/**
|
|
51
|
+
* Transfer button keypress handler
|
|
52
|
+
*/
|
|
53
|
+
transferKeyPressHandler(event: KeyboardEvent): void;
|
|
54
|
+
/**
|
|
55
|
+
* Backtransfer button click handler
|
|
56
|
+
*/
|
|
57
|
+
backtransferClickHandler(event: MouseEvent): void;
|
|
58
|
+
/**
|
|
59
|
+
* Backtransfer button keypress handler
|
|
60
|
+
*/
|
|
61
|
+
backtransferKeyPressHandler(event: KeyboardEvent): void;
|
|
62
|
+
/**
|
|
63
|
+
* Reset button click handler
|
|
64
|
+
*/
|
|
65
|
+
resetClickHandler(event: MouseEvent): void;
|
|
66
|
+
/**
|
|
67
|
+
* Reset button keypress handler
|
|
68
|
+
*/
|
|
69
|
+
resetKeyPressHandler(event: KeyboardEvent): void;
|
|
70
|
+
private buttonEventHandler;
|
|
71
|
+
private storeInit;
|
|
72
|
+
private onStoreValueChanged;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTransferComponent<any>, [{ optional: true; self: true; }, null, null]>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItTransferComponent<any>, "it-transfer", never, { "options": { "alias": "options"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "transferChanges": "transferChanges"; }, never, never, true, never>;
|
|
75
|
+
}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
//Qs
|
|
2
|
-
//Aria hidden?
|
|
3
|
-
//state management with service?
|
|
4
|
-
//interface?
|
|
5
|
-
|
|
6
1
|
export interface TransferItem<ValueType> {
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
text: string;
|
|
3
|
+
value: ValueType;
|
|
9
4
|
}
|
|
10
|
-
|
|
11
5
|
export type TransferItemSelection<ValueType> = Array<TransferItem<ValueType>>;
|
|
12
|
-
|
|
13
6
|
export type SourceType = 'source' | 'target';
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
|
+
import { ProgressDonut } from 'bootstrap-italia';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ItUploadDragDropComponent extends ItAbstractComponent implements AfterViewInit {
|
|
6
|
+
/**
|
|
7
|
+
* The accepted file type to upload <br>
|
|
8
|
+
* Possible values: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME Types</a> separated by comma
|
|
9
|
+
* @example application/pdf,image/png
|
|
10
|
+
* @default *
|
|
11
|
+
*/
|
|
12
|
+
accept: string;
|
|
13
|
+
/**
|
|
14
|
+
* Fired when file start to upload
|
|
15
|
+
*/
|
|
16
|
+
fileStartUpload: EventEmitter<File>;
|
|
17
|
+
protected isDragover: boolean;
|
|
18
|
+
protected isLoading: boolean;
|
|
19
|
+
protected isSuccess: boolean;
|
|
20
|
+
protected donut?: ProgressDonut;
|
|
21
|
+
private donutElement?;
|
|
22
|
+
protected filename?: string;
|
|
23
|
+
protected extension?: string;
|
|
24
|
+
protected fileSize?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The bootstrap-italia asset folder path
|
|
27
|
+
* @default ./bootstrap-italia
|
|
28
|
+
*/
|
|
29
|
+
protected assetBasePath: string;
|
|
30
|
+
constructor();
|
|
31
|
+
ngAfterViewInit(): void;
|
|
32
|
+
onDragOver(evt: DragEvent): void;
|
|
33
|
+
onDragLeave(evt: DragEvent): void;
|
|
34
|
+
onDrop(evt: DragEvent): void;
|
|
35
|
+
/**
|
|
36
|
+
* On load file from input
|
|
37
|
+
* @param event
|
|
38
|
+
*/
|
|
39
|
+
onLoadFile(event: Event): void;
|
|
40
|
+
/**
|
|
41
|
+
* Start the upload file
|
|
42
|
+
* @param file
|
|
43
|
+
*/
|
|
44
|
+
start(file: File): void;
|
|
45
|
+
/**
|
|
46
|
+
* Percentage of upload
|
|
47
|
+
* @param value the percentage [0 - 100]
|
|
48
|
+
*/
|
|
49
|
+
progress(value: number): void;
|
|
50
|
+
/**
|
|
51
|
+
* Upload success
|
|
52
|
+
*/
|
|
53
|
+
success(): void;
|
|
54
|
+
/**
|
|
55
|
+
* Reset file uploader
|
|
56
|
+
*/
|
|
57
|
+
reset(): void;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadDragDropComponent, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadDragDropComponent, "it-upload-drag-drop", ["itUploadDragDrop"], { "accept": { "alias": "accept"; "required": false; }; }, { "fileStartUpload": "fileStartUpload"; }, never, never, true, never>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
|
+
import { UploadFileListItem } from '../../../interfaces/form';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../utils/coercion";
|
|
6
|
+
export declare class ItUploadFileListComponent extends ItAbstractComponent implements OnInit, OnChanges {
|
|
7
|
+
/**
|
|
8
|
+
* The list of files to show in list
|
|
9
|
+
*/
|
|
10
|
+
fileList: Array<UploadFileListItem>;
|
|
11
|
+
/**
|
|
12
|
+
* The accepted file type to upload <br>
|
|
13
|
+
* Possible values: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME Types</a> separated by comma
|
|
14
|
+
* @example application/pdf,image/png
|
|
15
|
+
* @default *
|
|
16
|
+
*/
|
|
17
|
+
accept: string;
|
|
18
|
+
/**
|
|
19
|
+
* If upload multiple files
|
|
20
|
+
* @default true
|
|
21
|
+
*/
|
|
22
|
+
multiple: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* If is file list image
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
images?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Hide the load button
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
hideLoadButton?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Fired when upload new files
|
|
35
|
+
*/
|
|
36
|
+
uploadFiles: EventEmitter<FileList>;
|
|
37
|
+
/**
|
|
38
|
+
* Fired on delete item button click
|
|
39
|
+
*/
|
|
40
|
+
deleteItem: EventEmitter<UploadFileListItem>;
|
|
41
|
+
/**
|
|
42
|
+
* Cache to preview image
|
|
43
|
+
*/
|
|
44
|
+
previewImages: Map<number, string>;
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
47
|
+
/**
|
|
48
|
+
* On load file from input
|
|
49
|
+
* @param event
|
|
50
|
+
*/
|
|
51
|
+
onLoadFiles(event: Event): void;
|
|
52
|
+
/**
|
|
53
|
+
* Get the file size string
|
|
54
|
+
* @param file
|
|
55
|
+
*/
|
|
56
|
+
getFileSize(file: File): string;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadFileListComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadFileListComponent, "it-upload-file-list", never, { "fileList": { "alias": "fileList"; "required": true; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "images": { "alias": "images"; "required": false; }; "hideLoadButton": { "alias": "hideLoadButton"; "required": false; }; }, { "uploadFiles": "uploadFiles"; "deleteItem": "deleteItem"; }, never, never, true, never>;
|
|
59
|
+
static ngAcceptInputType_multiple: i1.BooleanInput;
|
|
60
|
+
static ngAcceptInputType_images: i1.BooleanInput;
|
|
61
|
+
static ngAcceptInputType_hideLoadButton: i1.BooleanInput;
|
|
62
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Location } from '@angular/common';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../utils/coercion";
|
|
4
|
+
export declare class ItBackButtonComponent {
|
|
5
|
+
readonly _location: Location;
|
|
6
|
+
/**
|
|
7
|
+
* Back button style
|
|
8
|
+
* - <b>link</b>: use a link with icon and text
|
|
9
|
+
* - <b>button</b>: use a button with icon and text
|
|
10
|
+
* @default button
|
|
11
|
+
*/
|
|
12
|
+
buttonStyle: 'link' | 'button';
|
|
13
|
+
/**
|
|
14
|
+
* Button direction
|
|
15
|
+
* - <b>left</b>: Back direction
|
|
16
|
+
* - <b>up</b>: Upper direction
|
|
17
|
+
* @default left
|
|
18
|
+
*/
|
|
19
|
+
direction: 'left' | 'up';
|
|
20
|
+
/**
|
|
21
|
+
* Show/Hide icon
|
|
22
|
+
* @default true
|
|
23
|
+
*/
|
|
24
|
+
showIcon: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Show/Hide text
|
|
27
|
+
* @default true
|
|
28
|
+
*/
|
|
29
|
+
showText: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Custom back logic <br/>
|
|
32
|
+
*
|
|
33
|
+
* NOTE: to use 'this' need bind function <br/>
|
|
34
|
+
* @example backCbFn = this.errorCallback.bind(this);
|
|
35
|
+
* (errorCallback is your function, pass backCbFn to the component)
|
|
36
|
+
*/
|
|
37
|
+
backFn?: (location: Location) => void;
|
|
38
|
+
constructor(_location: Location);
|
|
39
|
+
/**
|
|
40
|
+
* Go back function
|
|
41
|
+
*/
|
|
42
|
+
goBack(event: Event): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBackButtonComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItBackButtonComponent, "it-back-button", ["itBackButton"], { "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; "backFn": { "alias": "backFn"; "required": false; }; }, {}, never, never, true, never>;
|
|
45
|
+
static ngAcceptInputType_showIcon: i1.BooleanInput;
|
|
46
|
+
static ngAcceptInputType_showText: i1.BooleanInput;
|
|
47
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../utils/coercion";
|
|
5
|
+
export declare class ItBackToTopComponent extends ItAbstractComponent implements AfterViewInit {
|
|
6
|
+
/**
|
|
7
|
+
* Aria label for the component
|
|
8
|
+
* @default 'Torna su'
|
|
9
|
+
*/
|
|
10
|
+
ariaLabel: string;
|
|
11
|
+
/**
|
|
12
|
+
* Show small button
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
small?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Show shadow
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
shadow?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Button usable button on a dark background
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
dark?: boolean;
|
|
26
|
+
private backToTop?;
|
|
27
|
+
private backToTopElement?;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Show button
|
|
31
|
+
*/
|
|
32
|
+
show(): void;
|
|
33
|
+
/**
|
|
34
|
+
* Hide the button
|
|
35
|
+
*/
|
|
36
|
+
hide(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Activates the scroll animation towards the Y coordinate indicated by the positionTop option
|
|
39
|
+
*/
|
|
40
|
+
scrollToTop(): void;
|
|
41
|
+
/**
|
|
42
|
+
* Eliminate component features
|
|
43
|
+
*/
|
|
44
|
+
dispose(): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBackToTopComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItBackToTopComponent, "it-back-to-top", ["itBackToTop"], { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "small": { "alias": "small"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
+
static ngAcceptInputType_small: i1.BooleanInput;
|
|
48
|
+
static ngAcceptInputType_shadow: i1.BooleanInput;
|
|
49
|
+
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
50
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
+
import { ItBreadcrumbItemComponent } from '../breadcrumb-item/breadcrumb-item.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../../utils/coercion";
|
|
5
|
+
export declare class ItBreadcrumbComponent implements AfterViewInit, OnDestroy {
|
|
6
|
+
private readonly _changeDetectorRef;
|
|
7
|
+
/**
|
|
8
|
+
* The character to use as separator
|
|
9
|
+
* @default /
|
|
10
|
+
*/
|
|
11
|
+
separator: string;
|
|
12
|
+
/**
|
|
13
|
+
* Dark style
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
16
|
+
dark?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The tab items
|
|
19
|
+
*/
|
|
20
|
+
items?: QueryList<ItBreadcrumbItemComponent>;
|
|
21
|
+
private itemSubscriptions?;
|
|
22
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbComponent, "it-breadcrumb", never, { "separator": { "alias": "separator"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, ["items"], never, true, never>;
|
|
27
|
+
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
28
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { IconName } from '../../../../interfaces/icon';
|
|
3
|
+
import { ItLinkComponent } from '../../../core/link/link.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../../utils/coercion";
|
|
6
|
+
export declare class ItBreadcrumbItemComponent extends ItLinkComponent {
|
|
7
|
+
/**
|
|
8
|
+
* Is active breadcrumb item
|
|
9
|
+
* @default false
|
|
10
|
+
*/
|
|
11
|
+
active?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The name of icon to show
|
|
14
|
+
*/
|
|
15
|
+
iconName: IconName | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* The content of item
|
|
18
|
+
*/
|
|
19
|
+
htmlContent: TemplateRef<any>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbItemComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbItemComponent, "it-breadcrumb-item", never, { "active": { "alias": "active"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
22
|
+
static ngAcceptInputType_active: i1.BooleanInput;
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./breadcrumb/breadcrumb.component";
|
|
3
|
+
import * as i2 from "./breadcrumb-item/breadcrumb-item.component";
|
|
4
|
+
export declare class ItBreadcrumbsModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbsModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItBreadcrumbsModule, never, [typeof i1.ItBreadcrumbComponent, typeof i2.ItBreadcrumbItemComponent], [typeof i1.ItBreadcrumbComponent, typeof i2.ItBreadcrumbItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItBreadcrumbsModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../utils/coercion";
|
|
4
|
+
export declare class ItHeaderComponent implements AfterViewInit, OnChanges {
|
|
5
|
+
light?: boolean;
|
|
6
|
+
sticky?: boolean;
|
|
7
|
+
showSlim?: boolean;
|
|
8
|
+
smallHeader?: boolean;
|
|
9
|
+
showSearch?: boolean;
|
|
10
|
+
slimTitle: string | undefined;
|
|
11
|
+
slimTitleLink: string | undefined;
|
|
12
|
+
loginStyle: 'none' | 'default' | 'full';
|
|
13
|
+
loginClick: EventEmitter<Event>;
|
|
14
|
+
searchClick: EventEmitter<Event>;
|
|
15
|
+
private headerWrapper?;
|
|
16
|
+
private itNavBarComponent?;
|
|
17
|
+
megamenu?: boolean;
|
|
18
|
+
expand?: boolean;
|
|
19
|
+
private stickyHeader?;
|
|
20
|
+
constructor();
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
updateListeners(): void;
|
|
24
|
+
openNavBar(): void;
|
|
25
|
+
closeNavBar(): void;
|
|
26
|
+
protected emitLoginClick(event: Event): void;
|
|
27
|
+
protected emitSearchClick(event: Event): void;
|
|
28
|
+
toggleCollapse(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItHeaderComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItHeaderComponent, "it-header", never, { "light": { "alias": "light"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "showSlim": { "alias": "showSlim"; "required": false; }; "smallHeader": { "alias": "smallHeader"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "slimTitle": { "alias": "slimTitle"; "required": false; }; "slimTitleLink": { "alias": "slimTitleLink"; "required": false; }; "loginStyle": { "alias": "loginStyle"; "required": false; }; "megamenu": { "alias": "megamenu"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; }, { "loginClick": "loginClick"; "searchClick": "searchClick"; }, never, ["[slimLinkList]", "[slimRightZone]", "[brand]", "[rightZone]", "[navItems]"], true, never>;
|
|
31
|
+
static ngAcceptInputType_light: i1.BooleanInput;
|
|
32
|
+
static ngAcceptInputType_sticky: i1.BooleanInput;
|
|
33
|
+
static ngAcceptInputType_showSlim: i1.BooleanInput;
|
|
34
|
+
static ngAcceptInputType_smallHeader: i1.BooleanInput;
|
|
35
|
+
static ngAcceptInputType_showSearch: i1.BooleanInput;
|
|
36
|
+
static ngAcceptInputType_megamenu: i1.BooleanInput;
|
|
37
|
+
static ngAcceptInputType_expand: i1.BooleanInput;
|
|
38
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "../../../utils/coercion";
|
|
3
|
+
export declare class ItMegamenuComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Megamenu mode
|
|
6
|
+
*/
|
|
7
|
+
mode: 'right-section' | 'left-section' | 'normal';
|
|
8
|
+
/**
|
|
9
|
+
* To show Megamenu header
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
header?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* To show Megamenu footer
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
17
|
+
footer?: boolean;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItMegamenuComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItMegamenuComponent, "it-megamenu", never, { "mode": { "alias": "mode"; "required": false; }; "header": { "alias": "header"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; }, {}, never, ["[megamenuLeftZone]", "[megamenuHeadingLink]", "[megamenuLinkList]", "[megamenuFooter]"], true, never>;
|
|
20
|
+
static ngAcceptInputType_header: i1.BooleanInput;
|
|
21
|
+
static ngAcceptInputType_footer: i1.BooleanInput;
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../../utils/coercion";
|
|
4
|
+
export declare class ItNavBarComponent implements AfterViewInit {
|
|
5
|
+
megamenu?: boolean;
|
|
6
|
+
expand?: boolean;
|
|
7
|
+
private collapseButton?;
|
|
8
|
+
private collapseView?;
|
|
9
|
+
private navbar?;
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
get isOpen(): boolean | undefined;
|
|
12
|
+
open(): void;
|
|
13
|
+
close(): void;
|
|
14
|
+
toggleCollapse(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavBarComponent, "it-navbar", never, { "megamenu": { "alias": "megamenu"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; }, {}, never, ["[navItems]"], true, never>;
|
|
17
|
+
static ngAcceptInputType_megamenu: i1.BooleanInput;
|
|
18
|
+
static ngAcceptInputType_expand: i1.BooleanInput;
|
|
19
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ItNavBarItemComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarItemComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavBarItemComponent, "it-navbar-item", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|