design-angular-kit 1.2.1 → 1.2.2
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/esm2022/design-angular-kit.mjs +5 -0
- package/esm2022/lib/abstracts/abstract-form.component.mjs +186 -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 +84 -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/form/autocomplete/autocomplete.component.mjs +112 -0
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +48 -0
- package/esm2022/lib/components/form/form.module.mjs +63 -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/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 +98 -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 +233 -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 +156 -0
- package/esm2022/public_api.mjs +110 -0
- package/fesm2022/design-angular-kit.mjs +6731 -0
- package/fesm2022/design-angular-kit.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/abstracts/abstract-form.component.d.ts +87 -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/form/autocomplete/autocomplete.component.d.ts +59 -0
- package/lib/components/form/checkbox/checkbox.component.d.ts +41 -0
- package/lib/components/form/form.module.d.ts +18 -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/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 +53 -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 +69 -0
- package/package.json +14 -9
- package/{src/public_api.ts → public_api.d.ts} +0 -43
- 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
package/index.d.ts
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ControlValueAccessor, FormControl, NgControl, ValidatorFn } from '@angular/forms';
|
|
2
|
+
import { DoCheck, OnInit } from '@angular/core';
|
|
3
|
+
import { ItAbstractComponent } from './abstract.component';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../utils/coercion";
|
|
8
|
+
export declare abstract class ItAbstractFormComponent<T = any> extends ItAbstractComponent implements OnInit, ControlValueAccessor, DoCheck {
|
|
9
|
+
protected readonly _translateService: TranslateService;
|
|
10
|
+
protected readonly _ngControl: NgControl;
|
|
11
|
+
/**
|
|
12
|
+
* The label of form control
|
|
13
|
+
*/
|
|
14
|
+
label?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Validation color display mode (validation triggered if field is touched or not pristine)
|
|
17
|
+
* - <b>true</b>: Always show the validation color
|
|
18
|
+
* - <b>false</b>: Never show validation color
|
|
19
|
+
* - <b>only-valid</b>: Show only valid validation color
|
|
20
|
+
* - <b>only-invalid</b>: Show only invalid validation color
|
|
21
|
+
* @default <b>true</b>: Always show the validation color
|
|
22
|
+
*/
|
|
23
|
+
validationMode: boolean | 'only-valid' | 'only-invalid';
|
|
24
|
+
/**
|
|
25
|
+
* Set the disabled state
|
|
26
|
+
*/
|
|
27
|
+
set disabled(isDisabled: boolean);
|
|
28
|
+
/**
|
|
29
|
+
* Internal form control
|
|
30
|
+
*/
|
|
31
|
+
protected control: FormControl<T>;
|
|
32
|
+
constructor(_translateService: TranslateService, _ngControl: NgControl);
|
|
33
|
+
/**
|
|
34
|
+
* Check if field is invalid (Validation failed)
|
|
35
|
+
*/
|
|
36
|
+
get isInvalid(): boolean | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Check if field is valid (Validation successful)
|
|
39
|
+
*/
|
|
40
|
+
get isValid(): boolean | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Return the invalid message string from TranslateService
|
|
43
|
+
*/
|
|
44
|
+
get invalidMessage(): Observable<string>;
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
onChange: (_: T) => void;
|
|
47
|
+
onTouched: () => void;
|
|
48
|
+
registerOnChange(fn: any): void;
|
|
49
|
+
registerOnTouched(fn: any): void;
|
|
50
|
+
setDisabledState(isDisabled: boolean): void;
|
|
51
|
+
writeValue(value: T): void;
|
|
52
|
+
/**
|
|
53
|
+
* Mark the control as touched
|
|
54
|
+
*/
|
|
55
|
+
markAsTouched(): void;
|
|
56
|
+
/**
|
|
57
|
+
* Fired to check if form control is touched
|
|
58
|
+
*/
|
|
59
|
+
ngDoCheck(): void;
|
|
60
|
+
/**
|
|
61
|
+
* Add the validators in control and parent control
|
|
62
|
+
* @param validators the validators
|
|
63
|
+
* @protected
|
|
64
|
+
*/
|
|
65
|
+
protected addValidators(validators: ValidatorFn | ValidatorFn[]): void;
|
|
66
|
+
/**
|
|
67
|
+
* Reports whether the control with the given path has the error specified. <br/>
|
|
68
|
+
* If the control is not present, false is returned.
|
|
69
|
+
* @param errorCode The code of the error to check
|
|
70
|
+
* @param path A list of control names that designates how to move from the current control
|
|
71
|
+
* to the control that should be queried for errors.
|
|
72
|
+
* @returns whether the given error is present in the control at the given path.
|
|
73
|
+
*/
|
|
74
|
+
hasError(errorCode: string, path?: Array<string | number> | string): boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Reports error data for the control with the given path.
|
|
77
|
+
* @param errorCode The code of the error to check
|
|
78
|
+
* @param path A list of control names that designates how to move from the current control
|
|
79
|
+
* to the control that should be queried for errors.
|
|
80
|
+
* @returns error data for that particular error. If the control or error is not present,
|
|
81
|
+
* null is returned.
|
|
82
|
+
*/
|
|
83
|
+
getError(errorCode: string, path?: Array<string | number> | string): any;
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAbstractFormComponent<any>, [null, { optional: true; self: true; }]>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItAbstractFormComponent<any>, "ng-component", never, { "label": { "alias": "label"; "required": false; }; "validationMode": { "alias": "validationMode"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
86
|
+
static ngAcceptInputType_disabled: i1.BooleanInput;
|
|
87
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare abstract class ItAbstractComponent implements AfterViewInit, OnChanges {
|
|
4
|
+
/**
|
|
5
|
+
* The element ID
|
|
6
|
+
*/
|
|
7
|
+
id: string;
|
|
8
|
+
/**
|
|
9
|
+
* Fired when component input attributes was changed
|
|
10
|
+
*/
|
|
11
|
+
valueChanges: EventEmitter<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Counter of active instances
|
|
14
|
+
* @private
|
|
15
|
+
*/
|
|
16
|
+
private static instances;
|
|
17
|
+
protected readonly _renderer: Renderer2;
|
|
18
|
+
protected readonly _elementRef: ElementRef;
|
|
19
|
+
protected readonly _changeDetectorRef: ChangeDetectorRef;
|
|
20
|
+
constructor();
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
/**
|
|
24
|
+
* Generate unique id for components
|
|
25
|
+
* @private
|
|
26
|
+
*/
|
|
27
|
+
private getDefaultId;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAbstractComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItAbstractComponent, "ng-component", never, { "id": { "alias": "id"; "required": false; }; }, { "valueChanges": "valueChanges"; }, never, never, false, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { ItCollapseComponent } from '../collapse/collapse.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Accordion
|
|
6
|
+
* @description Build vertically collapsible accordions based on Collapse.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItAccordionComponent extends ItCollapseComponent implements AfterViewInit {
|
|
9
|
+
/**
|
|
10
|
+
* Accordion Title
|
|
11
|
+
*/
|
|
12
|
+
title: string;
|
|
13
|
+
protected collapseDiv?: ElementRef<HTMLDivElement>;
|
|
14
|
+
protected isCollapsed: boolean;
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAccordionComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItAccordionComponent, "it-accordion", ["itAccordion"], { "title": { "alias": "title"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { AlertColor } from '../../../interfaces/core';
|
|
3
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../utils/coercion";
|
|
6
|
+
/**
|
|
7
|
+
* Alert
|
|
8
|
+
* @description You can provide feedback to the user via alert messages.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ItAlertComponent extends ItAbstractComponent implements AfterViewInit {
|
|
11
|
+
/**
|
|
12
|
+
* The alert color
|
|
13
|
+
* @default info
|
|
14
|
+
*/
|
|
15
|
+
color: AlertColor;
|
|
16
|
+
/**
|
|
17
|
+
* Inserts the close button
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
dismissible?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* This event fires immediately when the instance's close method is called.
|
|
23
|
+
*/
|
|
24
|
+
closeEvent: EventEmitter<Event>;
|
|
25
|
+
/**
|
|
26
|
+
* This event fires when the alert has been closed (it will wait for CSS transitions to complete).
|
|
27
|
+
*/
|
|
28
|
+
closedEvent: EventEmitter<Event>;
|
|
29
|
+
private alert?;
|
|
30
|
+
private alertElement?;
|
|
31
|
+
ngAfterViewInit(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Close an alert by removing it from the DOM.
|
|
34
|
+
* If the `.fade` and `.show` classes are present in the element, the alert will be closed with a disappearing effect.
|
|
35
|
+
*/
|
|
36
|
+
close(): void;
|
|
37
|
+
/**
|
|
38
|
+
* The alert is removed
|
|
39
|
+
*/
|
|
40
|
+
dispose(): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAlertComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItAlertComponent, "it-alert", ["itAlert"], { "color": { "alias": "color"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; }, { "closeEvent": "closeEvent"; "closedEvent": "closedEvent"; }, never, ["[heading]", "*"], true, never>;
|
|
43
|
+
static ngAcceptInputType_dismissible: i1.BooleanInput;
|
|
44
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ItAvatarDropdownItemComponent {
|
|
4
|
+
_implicitContent: TemplateRef<any>;
|
|
5
|
+
/**
|
|
6
|
+
* Indica il link che possiamo passare all'elemento
|
|
7
|
+
*/
|
|
8
|
+
link: string | any[] | null | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Permette di utilizzare l'attributo html title
|
|
11
|
+
*/
|
|
12
|
+
title?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Permette di utilizzare l'attributo html accesskey
|
|
15
|
+
*/
|
|
16
|
+
accesskey?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Permette di utilizzare l'attributo html tabindex
|
|
19
|
+
*/
|
|
20
|
+
tabindex?: number;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarDropdownItemComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarDropdownItemComponent, "it-avatar-dropdown-item", never, { "link": { "alias": "link"; "required": false; }; "title": { "alias": "title"; "required": false; }; "accesskey": { "alias": "accesskey"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
23
|
+
}
|
|
24
|
+
export declare class ItAvatarDropdownComponent {
|
|
25
|
+
componentClass: string;
|
|
26
|
+
items: QueryList<ItAvatarDropdownItemComponent>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarDropdownComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarDropdownComponent, "it-avatar-dropdown", never, {}, {}, ["items"], ["[it-avatar-dropdown-toggle]"], true, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../../utils/coercion";
|
|
4
|
+
export declare class ItAvatarGroupItemComponent {
|
|
5
|
+
_implicitContent: TemplateRef<any>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarGroupItemComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarGroupItemComponent, "it-avatar-item", never, {}, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare class ItAvatarGroupComponent {
|
|
10
|
+
linkList: boolean;
|
|
11
|
+
avatars: QueryList<ItAvatarGroupItemComponent>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarGroupComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarGroupComponent, "it-avatar-group", never, { "linkList": { "alias": "linkList"; "required": false; }; }, {}, ["avatars"], never, true, never>;
|
|
14
|
+
static ngAcceptInputType_linkList: i1.BooleanInput;
|
|
15
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SizesEnum } from '../../../enums/sizes.enum';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ItAvatarDirective {
|
|
4
|
+
/**
|
|
5
|
+
* Indica il colore dell'avatar. Può assumere i valori:
|
|
6
|
+
* <ul>
|
|
7
|
+
* <li> primary
|
|
8
|
+
* <li> secondary
|
|
9
|
+
* <li> green
|
|
10
|
+
* <li> orange
|
|
11
|
+
* <li> red
|
|
12
|
+
* </ul>
|
|
13
|
+
*/
|
|
14
|
+
get color(): string | undefined;
|
|
15
|
+
set color(value: string | undefined);
|
|
16
|
+
private _color?;
|
|
17
|
+
/**
|
|
18
|
+
* Indica la grandezza dell'avatar. Può assumere i valori:
|
|
19
|
+
* <ul>
|
|
20
|
+
* <li> xs
|
|
21
|
+
* <li> sm
|
|
22
|
+
* <li> lg
|
|
23
|
+
* <li> xl
|
|
24
|
+
* <li> xxl
|
|
25
|
+
* </ul>
|
|
26
|
+
*/
|
|
27
|
+
get size(): SizesEnum | undefined;
|
|
28
|
+
set size(value: string | undefined);
|
|
29
|
+
private _size?;
|
|
30
|
+
get hostClasses(): string;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarDirective, "[itAvatar]", ["itAvatar"], { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./avatar-group/avatar-group.component";
|
|
3
|
+
import * as i2 from "./avatar-dropdown/avatar-dropdown.component";
|
|
4
|
+
import * as i3 from "./avatar.directive";
|
|
5
|
+
export declare class ItAvatarModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItAvatarModule, never, [typeof i1.ItAvatarGroupItemComponent, typeof i1.ItAvatarGroupComponent, typeof i2.ItAvatarDropdownComponent, typeof i2.ItAvatarDropdownItemComponent, typeof i3.ItAvatarDirective], [typeof i1.ItAvatarGroupItemComponent, typeof i1.ItAvatarGroupComponent, typeof i2.ItAvatarDropdownComponent, typeof i2.ItAvatarDropdownItemComponent, typeof i3.ItAvatarDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItAvatarModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BadgeColor } from '../../../interfaces/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../utils/coercion";
|
|
4
|
+
/**
|
|
5
|
+
* Badge
|
|
6
|
+
* @description Useful for small counters and labels
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItBadgeDirective {
|
|
9
|
+
/**
|
|
10
|
+
* Define the badge color
|
|
11
|
+
* @default undefined
|
|
12
|
+
*/
|
|
13
|
+
color: BadgeColor | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Show rounded badge
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
rounded?: boolean;
|
|
19
|
+
protected get badgeClass(): string;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBadgeDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItBadgeDirective, "[itBadge]", ["itBadge"], { "color": { "alias": "itBadge"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
+
static ngAcceptInputType_rounded: i1.BooleanInput;
|
|
23
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { QueryList } from '@angular/core';
|
|
2
|
+
import { ButtonColor, ButtonSize } from '../../../interfaces/core';
|
|
3
|
+
import { ItIconComponent } from '../../utils/icon/icon.component';
|
|
4
|
+
import { ItProgressButtonComponent } from '../progress-button/progress-button.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../../utils/coercion";
|
|
7
|
+
/**
|
|
8
|
+
* Button
|
|
9
|
+
* @description Bootstrap italia custom button styles
|
|
10
|
+
*/
|
|
11
|
+
export declare class ItButtonDirective {
|
|
12
|
+
private progressButtonComponent;
|
|
13
|
+
/**
|
|
14
|
+
* Button color
|
|
15
|
+
* @default undefined
|
|
16
|
+
*/
|
|
17
|
+
color: ButtonColor | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Button size
|
|
20
|
+
* @default undefined
|
|
21
|
+
*/
|
|
22
|
+
size: ButtonSize | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Indicates whether the button occupies all the width available to it.
|
|
25
|
+
* @default undefined
|
|
26
|
+
*/
|
|
27
|
+
block: ButtonSize | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* If button is disabled
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* The type attribute
|
|
35
|
+
* @default button
|
|
36
|
+
*/
|
|
37
|
+
type: 'button' | 'reset' | 'submit';
|
|
38
|
+
/**
|
|
39
|
+
* The icon children
|
|
40
|
+
* @default undefined
|
|
41
|
+
*/
|
|
42
|
+
protected icons?: QueryList<ItIconComponent>;
|
|
43
|
+
constructor(progressButtonComponent: ItProgressButtonComponent);
|
|
44
|
+
protected get hostClasses(): string;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItButtonDirective, [{ optional: true; host: true; }]>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItButtonDirective, "[itButton]", ["itButton"], { "color": { "alias": "itButton"; "required": false; }; "size": { "alias": "size"; "required": false; }; "block": { "alias": "block"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, ["icons"], never, true, never>;
|
|
47
|
+
static ngAcceptInputType_disabled: i1.BooleanInput;
|
|
48
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { CalloutAppearance, CalloutColor } from '../../../interfaces/core';
|
|
2
|
+
import { IconName } from '../../../interfaces/icon';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Callout
|
|
6
|
+
* @description Callouts can be used to highlight certain parts of the text that require particular attention. They may contain error messages, warnings, hints, etc.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItCalloutComponent {
|
|
9
|
+
/**
|
|
10
|
+
* Callout label
|
|
11
|
+
* @default undefined
|
|
12
|
+
*/
|
|
13
|
+
label: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Callout hiddenLabel
|
|
16
|
+
* @default undefined
|
|
17
|
+
*/
|
|
18
|
+
hiddenLabel: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Callout color
|
|
21
|
+
* - <b>success</b>
|
|
22
|
+
* - <b>danger</b>
|
|
23
|
+
* - <b>warning</b>
|
|
24
|
+
* - <b>important</b>
|
|
25
|
+
* - <b>note</b>
|
|
26
|
+
* @default undefined
|
|
27
|
+
*/
|
|
28
|
+
color: CalloutColor | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Callout appearance
|
|
31
|
+
* - <b>default</b>
|
|
32
|
+
* - <b>highlight</b>: Callout version with border only on the left side
|
|
33
|
+
* - <b>more</b>: It looks radically different from the other styles available and is suitable for more extensive texts
|
|
34
|
+
* @default default
|
|
35
|
+
*/
|
|
36
|
+
appearance: CalloutAppearance;
|
|
37
|
+
/**
|
|
38
|
+
* Custom icon
|
|
39
|
+
* @default undefined
|
|
40
|
+
*/
|
|
41
|
+
icon: IconName | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* The input label even get labelWaria icon
|
|
44
|
+
* @default undefined
|
|
45
|
+
*/
|
|
46
|
+
labelWaria: string | undefined;
|
|
47
|
+
protected get iconName(): IconName;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCalloutComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCalloutComponent, "it-callout", never, { "label": { "alias": "label"; "required": false; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; }; "color": { "alias": "color"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "labelWaria": { "alias": "labelWaria"; "required": false; }; }, {}, never, ["[bigText]", "*"], true, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../utils/coercion";
|
|
4
|
+
/**
|
|
5
|
+
* Card
|
|
6
|
+
* @description A container of texts and images with many options and variations.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItCardComponent extends ItAbstractComponent {
|
|
9
|
+
/**
|
|
10
|
+
* To create cards with short or "preview" content
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
teaser?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* To create special cards
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
special?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Card with image
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
hasImage?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* To add rounding effects
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
rounded?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* To add shadow effects
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
shadow?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* To add background and shadow
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
background?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* To add bottom border
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
borderBottom?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* To render a big card
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
big?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Custom card class
|
|
51
|
+
* @default ''
|
|
52
|
+
*/
|
|
53
|
+
cardClass: string;
|
|
54
|
+
/**
|
|
55
|
+
* Custom card body class
|
|
56
|
+
* @default ''
|
|
57
|
+
*/
|
|
58
|
+
bodyClass: string;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCardComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCardComponent, "it-card", never, { "teaser": { "alias": "teaser"; "required": false; }; "special": { "alias": "special"; "required": false; }; "hasImage": { "alias": "hasImage"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "background": { "alias": "background"; "required": false; }; "borderBottom": { "alias": "borderBottom"; "required": false; }; "big": { "alias": "big"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "bodyClass": { "alias": "bodyClass"; "required": false; }; }, {}, never, ["[beforeBody]", "*"], true, never>;
|
|
61
|
+
static ngAcceptInputType_teaser: i1.BooleanInput;
|
|
62
|
+
static ngAcceptInputType_special: i1.BooleanInput;
|
|
63
|
+
static ngAcceptInputType_hasImage: i1.BooleanInput;
|
|
64
|
+
static ngAcceptInputType_rounded: i1.BooleanInput;
|
|
65
|
+
static ngAcceptInputType_shadow: i1.BooleanInput;
|
|
66
|
+
static ngAcceptInputType_background: i1.BooleanInput;
|
|
67
|
+
static ngAcceptInputType_borderBottom: i1.BooleanInput;
|
|
68
|
+
static ngAcceptInputType_big: i1.BooleanInput;
|
|
69
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
+
import { CarouselType } from '../../../../interfaces/core';
|
|
3
|
+
import { ItCarouselItemComponent } from '../carousel-item/carousel-item.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../../utils/coercion";
|
|
6
|
+
/**
|
|
7
|
+
* Carousel
|
|
8
|
+
* @description A presentation component for scrolling through elements, images or text slides.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ItCarouselComponent implements AfterViewInit, OnDestroy {
|
|
11
|
+
private readonly _changeDetectorRef;
|
|
12
|
+
/**
|
|
13
|
+
* The callout title
|
|
14
|
+
* @default undefined
|
|
15
|
+
*/
|
|
16
|
+
title: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The carousel type
|
|
19
|
+
* @default default
|
|
20
|
+
*/
|
|
21
|
+
type: CarouselType;
|
|
22
|
+
/**
|
|
23
|
+
* Custom class in splide__track element
|
|
24
|
+
* @default ''
|
|
25
|
+
*/
|
|
26
|
+
trackClass: string;
|
|
27
|
+
/**
|
|
28
|
+
* True for full screen (landscape) viewing
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
fullCarousel?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* To indicate that the contained image is of a large type
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
bigImg?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* To indicate that the contained image is of a standard type
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
standardImage?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Card line style
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
lined?: boolean;
|
|
47
|
+
protected items?: QueryList<ItCarouselItemComponent>;
|
|
48
|
+
private carousel?;
|
|
49
|
+
private carouselDiv;
|
|
50
|
+
private itemSubscriptions?;
|
|
51
|
+
protected get typeClass(): string;
|
|
52
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
53
|
+
ngAfterViewInit(): void;
|
|
54
|
+
ngOnDestroy(): void;
|
|
55
|
+
/**
|
|
56
|
+
* Removes CarouselBI features
|
|
57
|
+
*/
|
|
58
|
+
dispose(): void;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCarouselComponent, "it-carousel", ["itCarousel"], { "title": { "alias": "title"; "required": false; }; "type": { "alias": "type"; "required": false; }; "trackClass": { "alias": "trackClass"; "required": false; }; "fullCarousel": { "alias": "fullCarousel"; "required": false; }; "bigImg": { "alias": "bigImg"; "required": false; }; "standardImage": { "alias": "standardImage"; "required": false; }; "lined": { "alias": "lined"; "required": false; }; }, {}, ["items"], never, true, never>;
|
|
61
|
+
static ngAcceptInputType_fullCarousel: i1.BooleanInput;
|
|
62
|
+
static ngAcceptInputType_bigImg: i1.BooleanInput;
|
|
63
|
+
static ngAcceptInputType_standardImage: i1.BooleanInput;
|
|
64
|
+
static ngAcceptInputType_lined: i1.BooleanInput;
|
|
65
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Carousel Item
|
|
6
|
+
* @description element, image or text slide of carousel
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItCarouselItemComponent extends ItAbstractComponent {
|
|
9
|
+
/**
|
|
10
|
+
* The content of item
|
|
11
|
+
*/
|
|
12
|
+
htmlContent: TemplateRef<any>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselItemComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCarouselItemComponent, "it-carousel-item", never, {}, {}, never, ["*"], true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./carousel/carousel.component";
|
|
3
|
+
import * as i2 from "./carousel-item/carousel-item.component";
|
|
4
|
+
export declare class ItCarouselModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItCarouselModule, never, [typeof i1.ItCarouselComponent, typeof i2.ItCarouselItemComponent], [typeof i1.ItCarouselComponent, typeof i2.ItCarouselItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItCarouselModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { IconName } from '../../../interfaces/icon';
|
|
3
|
+
import { ChipColor } from '../../../interfaces/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ItChipComponent {
|
|
6
|
+
/**
|
|
7
|
+
* Indica la label
|
|
8
|
+
*/
|
|
9
|
+
set label(value: string);
|
|
10
|
+
get label(): string;
|
|
11
|
+
private _label;
|
|
12
|
+
/**
|
|
13
|
+
* Indica se mostrate il pulante di chisura
|
|
14
|
+
*/
|
|
15
|
+
set showCloseButton(value: boolean);
|
|
16
|
+
get showCloseButton(): boolean;
|
|
17
|
+
private _showCloseButton;
|
|
18
|
+
/**
|
|
19
|
+
* Indica il size
|
|
20
|
+
*/
|
|
21
|
+
set size(value: '' | 'lg');
|
|
22
|
+
get size(): '' | 'lg';
|
|
23
|
+
private _size;
|
|
24
|
+
/**
|
|
25
|
+
* Indica il colore della chip
|
|
26
|
+
*/
|
|
27
|
+
set color(value: ChipColor | undefined);
|
|
28
|
+
get color(): ChipColor | undefined;
|
|
29
|
+
private _color;
|
|
30
|
+
/**
|
|
31
|
+
* Indica se la chip è disabilitata
|
|
32
|
+
*/
|
|
33
|
+
set disabled(value: boolean);
|
|
34
|
+
get disabled(): boolean;
|
|
35
|
+
private _disabled;
|
|
36
|
+
/**
|
|
37
|
+
* Indica il nome dell'icona, se valorizzata viene mostrata
|
|
38
|
+
*/
|
|
39
|
+
set icon(value: IconName | undefined);
|
|
40
|
+
get icon(): IconName | undefined;
|
|
41
|
+
private _icon;
|
|
42
|
+
/**
|
|
43
|
+
* Indica l'url dell'avatar, se valorizzata viene mostrata
|
|
44
|
+
*/
|
|
45
|
+
set avatar(value: string | undefined);
|
|
46
|
+
get avatar(): string | undefined;
|
|
47
|
+
private _avatar;
|
|
48
|
+
/**
|
|
49
|
+
* Indica il valore da aggiungere al parametro alt, di default ''
|
|
50
|
+
*/
|
|
51
|
+
set altAvatar(value: string);
|
|
52
|
+
get altAvatar(): string;
|
|
53
|
+
private _altAvatar;
|
|
54
|
+
/**
|
|
55
|
+
* Evento emesso al click sul bottone di chiusura
|
|
56
|
+
*/
|
|
57
|
+
closeEvent: EventEmitter<any>;
|
|
58
|
+
/**
|
|
59
|
+
* Return the icon href
|
|
60
|
+
*/
|
|
61
|
+
protected get iconHref(): string;
|
|
62
|
+
private iconClose;
|
|
63
|
+
/**
|
|
64
|
+
* Return the close icon href
|
|
65
|
+
*/
|
|
66
|
+
protected get iconCloseHref(): string;
|
|
67
|
+
/**
|
|
68
|
+
* The bootstrap-italia asset folder path
|
|
69
|
+
* @default ./bootstrap-italia
|
|
70
|
+
*/
|
|
71
|
+
protected assetBasePath: string;
|
|
72
|
+
constructor();
|
|
73
|
+
clickToClose(): void;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItChipComponent, never>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItChipComponent, "it-chip", never, { "label": { "alias": "label"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "altAvatar": { "alias": "altAvatar"; "required": false; }; }, { "closeEvent": "closeEvent"; }, never, never, true, never>;
|
|
76
|
+
}
|