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
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter } 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 ItCollapseComponent extends ItAbstractComponent implements AfterViewInit {
|
|
6
|
+
/**
|
|
7
|
+
* Enable multiple collapse
|
|
8
|
+
* @default false
|
|
9
|
+
*/
|
|
10
|
+
multi?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Toggles the collapsible element on invocation
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
opened?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Custom class
|
|
18
|
+
*/
|
|
19
|
+
class: string;
|
|
20
|
+
/**
|
|
21
|
+
* This event fires immediately when the show method is called.
|
|
22
|
+
*/
|
|
23
|
+
showEvent: EventEmitter<Event>;
|
|
24
|
+
/**
|
|
25
|
+
* This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
|
|
26
|
+
*/
|
|
27
|
+
shownEvent: EventEmitter<Event>;
|
|
28
|
+
/**
|
|
29
|
+
* This event fires immediately when the hide method is called.
|
|
30
|
+
*/
|
|
31
|
+
hideEvent: EventEmitter<Event>;
|
|
32
|
+
/**
|
|
33
|
+
* This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
|
|
34
|
+
*/
|
|
35
|
+
hiddenEvent: EventEmitter<Event>;
|
|
36
|
+
private collapse?;
|
|
37
|
+
private open;
|
|
38
|
+
protected collapseDiv?: ElementRef<HTMLDivElement>;
|
|
39
|
+
ngAfterViewInit(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Shows if collapse is open or not
|
|
42
|
+
*/
|
|
43
|
+
isOpen(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Shows a resealable item
|
|
46
|
+
* NOTE: Returns to the caller before the collapsable element has actually been shown (onShown event).
|
|
47
|
+
*/
|
|
48
|
+
show(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Hides a resealable item
|
|
51
|
+
* NOTE: Returns to the caller before the collapsable element has actually been hidden (onHidden Event)
|
|
52
|
+
*/
|
|
53
|
+
hide(): void;
|
|
54
|
+
/**
|
|
55
|
+
* Toggle a collapsible item to show or hide it.
|
|
56
|
+
* NOTE: Returns to the caller before the collapsable element has actually been shown or hidden (onShown and onHidden events)
|
|
57
|
+
*/
|
|
58
|
+
toggle(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Eliminates the possibility of an item being resealable
|
|
61
|
+
*/
|
|
62
|
+
dispose(): void;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCollapseComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCollapseComponent, "it-collapse", ["itCollapse"], { "multi": { "alias": "multi"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; }, never, ["*"], true, never>;
|
|
65
|
+
static ngAcceptInputType_multi: i1.BooleanInput;
|
|
66
|
+
static ngAcceptInputType_opened: i1.BooleanInput;
|
|
67
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ItDimmerButtonsComponent {
|
|
3
|
+
/**
|
|
4
|
+
* Indica se abbiamo 1 solo bottone
|
|
5
|
+
* @default false
|
|
6
|
+
*/
|
|
7
|
+
set hasOneButton(value: boolean);
|
|
8
|
+
get hasOneButton(): boolean;
|
|
9
|
+
private _hasOneButton;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerButtonsComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerButtonsComponent, "it-dimmer-buttons", never, { "hasOneButton": { "alias": "hasOneButton"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ItDimmerIconComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerIconComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerIconComponent, "it-dimmer-icon", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type DimmerColor = '' | 'dimmer-primary';
|
|
4
|
+
export declare class ItDimmerComponent implements OnInit {
|
|
5
|
+
private elementRef;
|
|
6
|
+
/**
|
|
7
|
+
* Dimmer status
|
|
8
|
+
* @default false
|
|
9
|
+
*/
|
|
10
|
+
set active(value: boolean);
|
|
11
|
+
get active(): boolean;
|
|
12
|
+
private _active;
|
|
13
|
+
/**
|
|
14
|
+
* Colore del dimmer
|
|
15
|
+
* @default ''
|
|
16
|
+
*/
|
|
17
|
+
set color(value: DimmerColor);
|
|
18
|
+
get color(): DimmerColor;
|
|
19
|
+
private _color;
|
|
20
|
+
constructor(elementRef: ElementRef);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerComponent, "it-dimmer", never, { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dimmer.component";
|
|
3
|
+
import * as i2 from "./dimmer-icon/dimmer-icon.component";
|
|
4
|
+
import * as i3 from "./dimmer-buttons/dimmer-buttons.component";
|
|
5
|
+
export declare class ItDimmerModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItDimmerModule, never, [typeof i1.ItDimmerComponent, typeof i2.ItDimmerIconComponent, typeof i3.ItDimmerButtonsComponent], [typeof i1.ItDimmerComponent, typeof i2.ItDimmerIconComponent, typeof i3.ItDimmerButtonsComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItDimmerModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
3
|
+
import { ButtonColor, DropdownDirection } from '../../../../interfaces/core';
|
|
4
|
+
import { ItDropdownItemComponent } from '../dropdown-item/dropdown-item.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../../../utils/coercion";
|
|
7
|
+
export declare class ItDropdownComponent extends ItAbstractComponent implements AfterViewInit, OnChanges {
|
|
8
|
+
/**
|
|
9
|
+
* Dropdown mode
|
|
10
|
+
*/
|
|
11
|
+
mode: 'button' | 'link' | 'nav';
|
|
12
|
+
/**
|
|
13
|
+
* Button color
|
|
14
|
+
*/
|
|
15
|
+
color?: ButtonColor;
|
|
16
|
+
/**
|
|
17
|
+
* To open menu items to:
|
|
18
|
+
* - <strong>dropup</strong>: up
|
|
19
|
+
* - <strong>dropend</strong>: right
|
|
20
|
+
* - <strong>dropstart</strong>: left
|
|
21
|
+
*/
|
|
22
|
+
direction: DropdownDirection | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* To get a dropdown menu as wide as the element containing the dropdown button
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
fullWidth?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Contains a Megamenu element
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
megamenu?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Dark menu style
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
dark?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The dropdown items
|
|
40
|
+
*/
|
|
41
|
+
items?: QueryList<ItDropdownItemComponent>;
|
|
42
|
+
/**
|
|
43
|
+
* Fires immediately when the show instance method is called.
|
|
44
|
+
*/
|
|
45
|
+
showEvent: EventEmitter<Event>;
|
|
46
|
+
/**
|
|
47
|
+
* Fired when the dropdown has been made visible to the user and CSS transitions have completed.
|
|
48
|
+
*/
|
|
49
|
+
shownEvent: EventEmitter<Event>;
|
|
50
|
+
/**
|
|
51
|
+
* Fires immediately when the hide instance method has been called.
|
|
52
|
+
*/
|
|
53
|
+
hideEvent: EventEmitter<Event>;
|
|
54
|
+
/**
|
|
55
|
+
* Fired when the dropdown has finished being hidden from the user and CSS transitions have completed.
|
|
56
|
+
*/
|
|
57
|
+
hiddenEvent: EventEmitter<Event>;
|
|
58
|
+
private dropdown?;
|
|
59
|
+
private dropdownButton?;
|
|
60
|
+
get buttonClass(): string;
|
|
61
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
62
|
+
ngAfterViewInit(): void;
|
|
63
|
+
/**
|
|
64
|
+
* Set child items dark mode
|
|
65
|
+
* @private
|
|
66
|
+
*/
|
|
67
|
+
private setDarkItems;
|
|
68
|
+
private updateListeners;
|
|
69
|
+
/**
|
|
70
|
+
* Toggles the dropdown menu of a given navbar or tabbed navigation.
|
|
71
|
+
*/
|
|
72
|
+
toggle(): void;
|
|
73
|
+
/**
|
|
74
|
+
* Shows the dropdown menu of a given navbar or tabbed navigation.
|
|
75
|
+
*/
|
|
76
|
+
show(): void;
|
|
77
|
+
/**
|
|
78
|
+
* Hides the dropdown menu of a given navbar or tabbed navigation.
|
|
79
|
+
*/
|
|
80
|
+
hide(): void;
|
|
81
|
+
/**
|
|
82
|
+
* Updates the position of an element's dropdown.
|
|
83
|
+
*/
|
|
84
|
+
update(): void;
|
|
85
|
+
/**
|
|
86
|
+
* Destroys an element's dropdown. (Removes stored data on the DOM element)
|
|
87
|
+
*/
|
|
88
|
+
dispose(): void;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownComponent, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItDropdownComponent, "it-dropdown", ["itDropdown"], { "mode": { "alias": "mode"; "required": false; }; "color": { "alias": "color"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "megamenu": { "alias": "megamenu"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; }, ["items"], ["[listHeading]", "[list]", "[button]"], true, never>;
|
|
91
|
+
static ngAcceptInputType_fullWidth: i1.BooleanInput;
|
|
92
|
+
static ngAcceptInputType_megamenu: i1.BooleanInput;
|
|
93
|
+
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
94
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IconName } from '../../../../interfaces/icon';
|
|
2
|
+
import { ItLinkComponent } from '../../link/link.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../../utils/coercion";
|
|
5
|
+
export declare class ItDropdownItemComponent extends ItLinkComponent {
|
|
6
|
+
/**
|
|
7
|
+
* Show divider
|
|
8
|
+
* @default false
|
|
9
|
+
*/
|
|
10
|
+
divider?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Active item
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
active?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* To increase the size of links
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
large?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The name of icon to show
|
|
23
|
+
*/
|
|
24
|
+
iconName: IconName | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* The icon position
|
|
27
|
+
* @default right
|
|
28
|
+
*/
|
|
29
|
+
iconPosition: 'left' | 'right';
|
|
30
|
+
/**
|
|
31
|
+
* Dropdown mode
|
|
32
|
+
*/
|
|
33
|
+
mode?: 'button' | 'link' | 'nav';
|
|
34
|
+
/**
|
|
35
|
+
* Change icon color if menu is dark
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
isDark: boolean;
|
|
39
|
+
get linkClass(): string;
|
|
40
|
+
setDark(dark: boolean): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownItemComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItDropdownItemComponent, "it-dropdown-item", never, { "divider": { "alias": "divider"; "required": false; }; "active": { "alias": "active"; "required": false; }; "large": { "alias": "large"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
43
|
+
static ngAcceptInputType_divider: i1.BooleanInput;
|
|
44
|
+
static ngAcceptInputType_active: i1.BooleanInput;
|
|
45
|
+
static ngAcceptInputType_large: i1.BooleanInput;
|
|
46
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dropdown/dropdown.component";
|
|
3
|
+
import * as i2 from "./dropdown-item/dropdown-item.component";
|
|
4
|
+
export declare class ItDropdownModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItDropdownModule, never, [typeof i1.ItDropdownComponent, typeof i2.ItDropdownItemComponent], [typeof i1.ItDropdownComponent, typeof i2.ItDropdownItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItDropdownModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ItForwardDirective {
|
|
3
|
+
private document?;
|
|
4
|
+
/**
|
|
5
|
+
* Indica, se HTMLElement, l'elemento a cui navigare, o se stringa, il selettore che selezionerà l'elemento a cui navigare.
|
|
6
|
+
*/
|
|
7
|
+
set itForward(value: HTMLElement | string | undefined);
|
|
8
|
+
get itForward(): HTMLElement | string | undefined;
|
|
9
|
+
private _itForward;
|
|
10
|
+
constructor(document?: Document | undefined);
|
|
11
|
+
onClick(event: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItForwardDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItForwardDirective, "[itForward]", never, { "itForward": { "alias": "itForward"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AfterViewInit, OnChanges, SimpleChanges } 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 ItLinkComponent extends ItAbstractComponent implements AfterViewInit, OnChanges {
|
|
6
|
+
/**
|
|
7
|
+
* The router link action
|
|
8
|
+
*
|
|
9
|
+
* Commands to pass to Router#createUrlTree.
|
|
10
|
+
* - array: commands to pass to Router#createUrlTree.
|
|
11
|
+
* - string: shorthand for array of commands with just the string, i.e. ['/route']
|
|
12
|
+
* - null|undefined: Disables the link by removing the href
|
|
13
|
+
*/
|
|
14
|
+
href: any[] | string | null | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Is an external link (false to not use Angular router link)
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
externalLink?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Is disabled link
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Custom class
|
|
27
|
+
*/
|
|
28
|
+
class: string;
|
|
29
|
+
ngAfterViewInit(): void;
|
|
30
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItLinkComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItLinkComponent, "it-link", never, { "href": { "alias": "href"; "required": false; }; "externalLink": { "alias": "externalLink"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
33
|
+
static ngAcceptInputType_externalLink: i1.BooleanInput;
|
|
34
|
+
static ngAcceptInputType_disabled: i1.BooleanInput;
|
|
35
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "../../../../utils/coercion";
|
|
3
|
+
export declare class ItListComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Add 'link-list' class for navigation menu
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
linkList?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Add 'link-sublist' class for navigation menu
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
linkSubList?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Add 'multiline' class for wrapper
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
multiline?: boolean;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItListComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItListComponent, "it-list", never, { "linkList": { "alias": "linkList"; "required": false; }; "linkSubList": { "alias": "linkSubList"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
21
|
+
static ngAcceptInputType_linkList: i1.BooleanInput;
|
|
22
|
+
static ngAcceptInputType_linkSubList: i1.BooleanInput;
|
|
23
|
+
static ngAcceptInputType_multiline: i1.BooleanInput;
|
|
24
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ItLinkComponent } from '../../link/link.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../../utils/coercion";
|
|
5
|
+
export declare class ItListItemComponent extends ItLinkComponent {
|
|
6
|
+
private elRef;
|
|
7
|
+
constructor(elRef: ElementRef);
|
|
8
|
+
/**
|
|
9
|
+
* Add active class
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
active?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Add large class
|
|
15
|
+
*/
|
|
16
|
+
size?: 'large' | 'medium';
|
|
17
|
+
/**
|
|
18
|
+
* Add icon-left class
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
iconLeft?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Add icon-right class
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
iconRight?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The avatar url
|
|
29
|
+
*/
|
|
30
|
+
avatar: URL | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The thumb image url
|
|
33
|
+
*/
|
|
34
|
+
image: URL | undefined;
|
|
35
|
+
get itemClass(): string;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItListItemComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItListItemComponent, "it-list-item", never, { "active": { "alias": "active"; "required": false; }; "size": { "alias": "size"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, ["[icon]", "*", "[action]", "[metadata]", "[multiple]"], true, never>;
|
|
38
|
+
static ngAcceptInputType_active: i1.BooleanInput;
|
|
39
|
+
static ngAcceptInputType_iconLeft: i1.BooleanInput;
|
|
40
|
+
static ngAcceptInputType_iconRight: i1.BooleanInput;
|
|
41
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./list/list.component";
|
|
3
|
+
import * as i2 from "./list-item/list-item.component";
|
|
4
|
+
export declare class ItListModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItListModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItListModule, never, [typeof i1.ItListComponent, typeof i2.ItListItemComponent], [typeof i1.ItListComponent, typeof i2.ItListItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItListModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
|
+
import { Modal as BSModal } from 'bootstrap';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../utils/coercion";
|
|
6
|
+
/**
|
|
7
|
+
* Modal windows
|
|
8
|
+
* @description To show featured content, notifications to users, or personalized content.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ItModalComponent extends ItAbstractComponent implements AfterViewInit {
|
|
11
|
+
/**
|
|
12
|
+
* Show/Hide close button on header
|
|
13
|
+
* @default true
|
|
14
|
+
*/
|
|
15
|
+
closeButton: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* To correctly format the contents of the modal with icon
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
alertModal?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* To correctly format the contents of the modal with Link List
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
dialogLinkList?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Modal type Popconfirm can be used for short confirmation messages.
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
popconfirm?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* You can choose to use a scroll inside the modal, keeping the header and footer of the modal always visible
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
scrollable?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* To have modals that appear with fades
|
|
38
|
+
* @default true
|
|
39
|
+
*/
|
|
40
|
+
fade?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Modal alignment
|
|
43
|
+
* - <b>centered</b>: to vertically center the modal
|
|
44
|
+
* - <b>left</b>: to left-align the modal
|
|
45
|
+
* - <b>right</b>: to right-align the modal
|
|
46
|
+
* @default undefined
|
|
47
|
+
*/
|
|
48
|
+
alignment: 'centered' | 'left' | 'right' | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* The modal size
|
|
51
|
+
* @default undefined
|
|
52
|
+
*/
|
|
53
|
+
size: 'sm' | 'lg' | 'xl' | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn’t close the modal when clicked.
|
|
56
|
+
* @default true
|
|
57
|
+
*/
|
|
58
|
+
backdrop: 'static' | boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Puts the focus on the modal when initialized.
|
|
61
|
+
* @default true
|
|
62
|
+
*/
|
|
63
|
+
focus: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Closes the modal when escape key is pressed.
|
|
66
|
+
* @default true
|
|
67
|
+
*/
|
|
68
|
+
keyboard: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* To better distinguish the footer element with a shadow
|
|
71
|
+
* @default false
|
|
72
|
+
*/
|
|
73
|
+
footerShadow?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Modal options
|
|
76
|
+
*/
|
|
77
|
+
options?: Partial<BSModal.Options>;
|
|
78
|
+
/**
|
|
79
|
+
* This event fires immediately when the instance method show is called.
|
|
80
|
+
*/
|
|
81
|
+
showEvent: EventEmitter<Event>;
|
|
82
|
+
/**
|
|
83
|
+
* This event fires when the modal has been made visible to the user (it will wait for CSS transitions to complete).
|
|
84
|
+
*/
|
|
85
|
+
shownEvent: EventEmitter<Event>;
|
|
86
|
+
/**
|
|
87
|
+
* This event is raised immediately when the instance method hide has been called.
|
|
88
|
+
*/
|
|
89
|
+
hideEvent: EventEmitter<Event>;
|
|
90
|
+
/**
|
|
91
|
+
* This event fires when the modal has finished hiding from the user (it will wait for CSS transitions to complete).
|
|
92
|
+
*/
|
|
93
|
+
hiddenEvent: EventEmitter<Event>;
|
|
94
|
+
/**
|
|
95
|
+
* This event is fired when the modal is displayed, its background is static and a click outside the modal or a press
|
|
96
|
+
* of the esc key occurs and data-bs-keyboard is set to false.
|
|
97
|
+
*/
|
|
98
|
+
hidePreventedEvent: EventEmitter<Event>;
|
|
99
|
+
private modal?;
|
|
100
|
+
private modalElement?;
|
|
101
|
+
ngAfterViewInit(): void;
|
|
102
|
+
protected get modalClass(): string;
|
|
103
|
+
protected get dialogClass(): string;
|
|
104
|
+
/**
|
|
105
|
+
* Manually activate/deactivate a modal. Returns to the caller before the modal has actually been shown or hidden
|
|
106
|
+
*/
|
|
107
|
+
toggle(): void;
|
|
108
|
+
/**
|
|
109
|
+
* Manually open a modal. Returns to the caller before the modal has actually been displayed
|
|
110
|
+
*/
|
|
111
|
+
show(): void;
|
|
112
|
+
/**
|
|
113
|
+
* Manually hide a modal. Returns to the caller before the modal has actually been hidden
|
|
114
|
+
*/
|
|
115
|
+
hide(): void;
|
|
116
|
+
/**
|
|
117
|
+
* Manually reposition the modal if the height of the modal changes when it is opened (in case a scroll bar appears).
|
|
118
|
+
*/
|
|
119
|
+
handleUpdate(): void;
|
|
120
|
+
/**
|
|
121
|
+
* Destroys the modal of an element.
|
|
122
|
+
*/
|
|
123
|
+
dispose(): void;
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItModalComponent, never>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItModalComponent, "it-modal", ["itModal"], { "closeButton": { "alias": "closeButton"; "required": false; }; "alertModal": { "alias": "alertModal"; "required": false; }; "dialogLinkList": { "alias": "dialogLinkList"; "required": false; }; "popconfirm": { "alias": "popconfirm"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "fade": { "alias": "fade"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "size": { "alias": "size"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "focus": { "alias": "focus"; "required": false; }; "keyboard": { "alias": "keyboard"; "required": false; }; "footerShadow": { "alias": "footerShadow"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "hidePreventedEvent": "hidePreventedEvent"; }, never, ["[beforeTitle]", "[modalTitle]", "[description]", "*", "[footer]"], true, never>;
|
|
126
|
+
static ngAcceptInputType_closeButton: i1.BooleanInput;
|
|
127
|
+
static ngAcceptInputType_alertModal: i1.BooleanInput;
|
|
128
|
+
static ngAcceptInputType_dialogLinkList: i1.BooleanInput;
|
|
129
|
+
static ngAcceptInputType_popconfirm: i1.BooleanInput;
|
|
130
|
+
static ngAcceptInputType_scrollable: i1.BooleanInput;
|
|
131
|
+
static ngAcceptInputType_fade: i1.BooleanInput;
|
|
132
|
+
static ngAcceptInputType_focus: i1.BooleanInput;
|
|
133
|
+
static ngAcceptInputType_keyboard: i1.BooleanInput;
|
|
134
|
+
static ngAcceptInputType_footerShadow: i1.BooleanInput;
|
|
135
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ItNotificationService } from '../../../services/notification/notification.service';
|
|
3
|
+
import { Notification, NotificationPosition, NotificationType } from '../../../interfaces/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../utils/coercion";
|
|
6
|
+
export declare class ItNotificationsComponent implements OnDestroy {
|
|
7
|
+
private readonly _changeDetectorRef;
|
|
8
|
+
private readonly _notificationService;
|
|
9
|
+
/**
|
|
10
|
+
* Default notifications duration (milliseconds)
|
|
11
|
+
* @default 8000
|
|
12
|
+
*/
|
|
13
|
+
duration: number;
|
|
14
|
+
/**
|
|
15
|
+
* Default notifications position
|
|
16
|
+
*/
|
|
17
|
+
position: NotificationPosition | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Default notifications is dismissible
|
|
20
|
+
* @default true
|
|
21
|
+
*/
|
|
22
|
+
dismissible: boolean;
|
|
23
|
+
private subscription;
|
|
24
|
+
private notificationCount;
|
|
25
|
+
protected notifications: Array<Notification & {
|
|
26
|
+
id: string;
|
|
27
|
+
}>;
|
|
28
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _notificationService: ItNotificationService);
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
protected get NotificationType(): typeof NotificationType;
|
|
31
|
+
/**
|
|
32
|
+
* Hide the notification
|
|
33
|
+
* @param id
|
|
34
|
+
*/
|
|
35
|
+
protected hideNotification(id: string): void;
|
|
36
|
+
/**
|
|
37
|
+
* Retrieve the icon name by notification type
|
|
38
|
+
* @param notification the notification
|
|
39
|
+
* @protected
|
|
40
|
+
*/
|
|
41
|
+
private getNotificationIcon;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItNotificationsComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItNotificationsComponent, "it-notifications", never, { "duration": { "alias": "duration"; "required": false; }; "position": { "alias": "position"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
|
+
static ngAcceptInputType_dismissible: i1.BooleanInput;
|
|
45
|
+
}
|