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,53 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { ItSortable, ItSortDefaultOptions, ItSortEvent, SortDirection } from '../../../../interfaces/sortable-table';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ItSortDirective implements OnChanges, OnDestroy {
|
|
6
|
+
private _defaultOptions?;
|
|
7
|
+
/** The id of the most recently sorted ItSortable. */
|
|
8
|
+
active?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The direction to set when an MatSortable is initially sorted.
|
|
11
|
+
* May be overridden by the MatSortable's sort start.
|
|
12
|
+
*/
|
|
13
|
+
start: SortDirection;
|
|
14
|
+
/** The sort direction of the currently active ItSortable. */
|
|
15
|
+
get direction(): SortDirection;
|
|
16
|
+
set direction(direction: SortDirection);
|
|
17
|
+
private _direction;
|
|
18
|
+
/**
|
|
19
|
+
* Whether to disable the user from clearing the sort by finishing the sort direction cycle.
|
|
20
|
+
* May be overridden by the ItSortable's disable clear input.
|
|
21
|
+
*/
|
|
22
|
+
disableSortClear?: boolean;
|
|
23
|
+
/** Whether the sortable is disabled. */
|
|
24
|
+
sortDisabled: boolean;
|
|
25
|
+
/** Event emitted when the user changes either the active sort or sort direction. */
|
|
26
|
+
readonly sortChange: EventEmitter<ItSortEvent>;
|
|
27
|
+
readonly sortDirectiveClass = "it-sort";
|
|
28
|
+
/** Collection of all registered sortables that this directive manages. */
|
|
29
|
+
protected sortables: Map<string, ItSortable>;
|
|
30
|
+
/** Used to notify any child components listening to state changes. */
|
|
31
|
+
readonly _stateChanges: Subject<void>;
|
|
32
|
+
constructor(_defaultOptions?: ItSortDefaultOptions | undefined);
|
|
33
|
+
/**
|
|
34
|
+
* Register function to be used by the contained ItSortables. Adds the ItSortable to the
|
|
35
|
+
* collection of ItSortables.
|
|
36
|
+
*/
|
|
37
|
+
register(sortable: ItSortable): void;
|
|
38
|
+
/**
|
|
39
|
+
* Unregister function to be used by the contained ItSortables. Removes the ItSortable from the
|
|
40
|
+
* collection of contained ItSortables.
|
|
41
|
+
*/
|
|
42
|
+
deregister(sortable: ItSortable): void;
|
|
43
|
+
/** Sets the active sort id and determines the new sort direction. */
|
|
44
|
+
sort(sortable: ItSortable): void;
|
|
45
|
+
/** Returns the next sort direction of the active sortable, checking for potential overrides. */
|
|
46
|
+
getNextSortDirection(sortable: ItSortable): SortDirection;
|
|
47
|
+
ngOnChanges(): void;
|
|
48
|
+
ngOnDestroy(): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItSortDirective, [{ optional: true; }]>;
|
|
50
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItSortDirective, "[itSort]", ["itSort"], { "active": { "alias": "itSortActive"; "required": false; }; "start": { "alias": "itSortStart"; "required": false; }; "direction": { "alias": "itSortDirection"; "required": false; }; "disableSortClear": { "alias": "disableSortClear"; "required": false; }; "sortDisabled": { "alias": "sortDisabled"; "required": false; }; }, { "sortChange": "sortChange"; }, never, never, true, never>;
|
|
51
|
+
static ngAcceptInputType_disableSortClear: unknown;
|
|
52
|
+
static ngAcceptInputType_sortDisabled: unknown;
|
|
53
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { TableColor, TableHeadColor, TableResponsive, VerticalAlignment } from '../../../interfaces/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../utils/coercion";
|
|
4
|
+
export declare class ItTableComponent {
|
|
5
|
+
/**
|
|
6
|
+
* Table color
|
|
7
|
+
*/
|
|
8
|
+
color: TableColor | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Head table color
|
|
11
|
+
*/
|
|
12
|
+
headColor: TableHeadColor | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Use vertical alignment classes to realign where needed.
|
|
15
|
+
*/
|
|
16
|
+
alignment: VerticalAlignment | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Use .table-striped to add zebra stripes to each table row contained in <tbody>.
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
striped?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Add .table-hover to enable hover state on table rows contained in <tbody>.
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
hover?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Add .table-bordered to have borders on all sides of the table and on all cells.
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
bordered?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Add the .table-borderless class for a borderless table.
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
borderless?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Add .table-sm to make tables more compact by halving the cell padding.
|
|
39
|
+
* @efault false
|
|
40
|
+
*/
|
|
41
|
+
compact?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* To render the <caption> on top of the table
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
captionTop?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Responsive tables allow you to scroll tables horizontally with ease.
|
|
49
|
+
* @default responsive
|
|
50
|
+
*/
|
|
51
|
+
responsive: TableResponsive;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTableComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItTableComponent, "it-table", never, { "color": { "alias": "color"; "required": false; }; "headColor": { "alias": "headColor"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "borderless": { "alias": "borderless"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "captionTop": { "alias": "captionTop"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; }, {}, never, ["[caption]", "[thead]", "[tbody]", "[tfoot]"], true, never>;
|
|
54
|
+
static ngAcceptInputType_striped: i1.BooleanInput;
|
|
55
|
+
static ngAcceptInputType_hover: i1.BooleanInput;
|
|
56
|
+
static ngAcceptInputType_bordered: i1.BooleanInput;
|
|
57
|
+
static ngAcceptInputType_borderless: i1.BooleanInput;
|
|
58
|
+
static ngAcceptInputType_compact: i1.BooleanInput;
|
|
59
|
+
static ngAcceptInputType_captionTop: i1.BooleanInput;
|
|
60
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./table.component";
|
|
3
|
+
import * as i2 from "./sort/sort.directive";
|
|
4
|
+
import * as i3 from "./sort/sort-header/sort-header.component";
|
|
5
|
+
export declare class ItTableModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTableModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItTableModule, never, [typeof i1.ItTableComponent, typeof i2.ItSortDirective, typeof i3.ItSortHeaderComponent], [typeof i1.ItTableComponent, typeof i2.ItSortDirective, typeof i3.ItSortHeaderComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItTableModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
2
|
+
import { TimelinePINType } from '../../../../interfaces/core';
|
|
3
|
+
import { IconName } from '../../../../interfaces/icon';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../../utils/coercion";
|
|
6
|
+
/**
|
|
7
|
+
* Timeline Item
|
|
8
|
+
* @description Represents a single event for Timeline component.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ItTimelineItemComponent extends ItAbstractComponent {
|
|
11
|
+
/**
|
|
12
|
+
* Timeline element title
|
|
13
|
+
*/
|
|
14
|
+
title: string;
|
|
15
|
+
/**
|
|
16
|
+
* Timeline element text
|
|
17
|
+
*/
|
|
18
|
+
text: string;
|
|
19
|
+
/**
|
|
20
|
+
* Timeline element signature
|
|
21
|
+
*/
|
|
22
|
+
signature: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Timeline element reference date
|
|
25
|
+
*/
|
|
26
|
+
eventDate: Date | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Timeline element reference date format
|
|
29
|
+
* @default dd/MM/yyyy
|
|
30
|
+
*/
|
|
31
|
+
dateFormat: string;
|
|
32
|
+
/**
|
|
33
|
+
* Timeline element PIN text
|
|
34
|
+
*/
|
|
35
|
+
pinText: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Timeline element PIN type
|
|
38
|
+
* @default none
|
|
39
|
+
*/
|
|
40
|
+
pinType: TimelinePINType | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Timeline element PIN icon
|
|
43
|
+
* @default code-circle
|
|
44
|
+
*/
|
|
45
|
+
pinIcon: IconName | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Timeline element PIN icon
|
|
48
|
+
* @default code-circle
|
|
49
|
+
*/
|
|
50
|
+
pinIconTitle: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Timeline element category label
|
|
53
|
+
*/
|
|
54
|
+
categoryLabel: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Timeline element date label
|
|
57
|
+
*/
|
|
58
|
+
dateLabel: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Timeline element category title
|
|
61
|
+
*/
|
|
62
|
+
categoryTitle: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Timeline element category link
|
|
65
|
+
*/
|
|
66
|
+
categoryLink: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Timeline element show detail link
|
|
69
|
+
* @default false
|
|
70
|
+
*/
|
|
71
|
+
showReadMore: boolean;
|
|
72
|
+
/** Timeline element detail link
|
|
73
|
+
* @default #
|
|
74
|
+
*/
|
|
75
|
+
readMoreLink: string | undefined;
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTimelineItemComponent, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItTimelineItemComponent, "it-timeline-item", never, { "title": { "alias": "title"; "required": true; }; "text": { "alias": "text"; "required": true; }; "signature": { "alias": "signature"; "required": false; }; "eventDate": { "alias": "eventDate"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "pinText": { "alias": "pinText"; "required": true; }; "pinType": { "alias": "pinType"; "required": false; }; "pinIcon": { "alias": "pinIcon"; "required": false; }; "pinIconTitle": { "alias": "pinIconTitle"; "required": false; }; "categoryLabel": { "alias": "categoryLabel"; "required": false; }; "dateLabel": { "alias": "dateLabel"; "required": false; }; "categoryTitle": { "alias": "categoryTitle"; "required": false; }; "categoryLink": { "alias": "categoryLink"; "required": false; }; "showReadMore": { "alias": "showReadMore"; "required": false; }; "readMoreLink": { "alias": "readMoreLink"; "required": false; }; }, {}, never, never, true, never>;
|
|
78
|
+
static ngAcceptInputType_showReadMore: i1.BooleanInput;
|
|
79
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
2
|
+
import { TimelineElement } from '../../../interfaces/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Timeline
|
|
6
|
+
* @description Build timeline for chronological representation of events.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItTimelineComponent extends ItAbstractComponent {
|
|
9
|
+
/**
|
|
10
|
+
* Timeline elements array
|
|
11
|
+
* @default []
|
|
12
|
+
*/
|
|
13
|
+
timelineElements: TimelineElement[];
|
|
14
|
+
/**
|
|
15
|
+
* Default date format for timeline element reference date
|
|
16
|
+
* @default dd/MM/yyyy
|
|
17
|
+
*/
|
|
18
|
+
dateFormat: string;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTimelineComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItTimelineComponent, "it-timeline", never, { "timelineElements": { "alias": "timelineElements"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./timeline.component";
|
|
3
|
+
import * as i2 from "./timeline-item/timeline-item.component";
|
|
4
|
+
export declare class ItTimelineModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTimelineModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItTimelineModule, never, [typeof i1.ItTimelineComponent, typeof i2.ItTimelineItemComponent], [typeof i1.ItTimelineComponent, typeof i2.ItTimelineItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItTimelineModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ElementPlacement } from '../../../interfaces/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../utils/coercion";
|
|
5
|
+
export declare class ItTooltipDirective implements AfterViewInit, OnDestroy {
|
|
6
|
+
private readonly _elementRef;
|
|
7
|
+
/**
|
|
8
|
+
* Define the tooltip title
|
|
9
|
+
* @param title the tooltip title
|
|
10
|
+
*/
|
|
11
|
+
set title(title: string | undefined);
|
|
12
|
+
/**
|
|
13
|
+
* Define the tooltip placement
|
|
14
|
+
* @param placement
|
|
15
|
+
*/
|
|
16
|
+
set tooltipPlacement(placement: ElementPlacement);
|
|
17
|
+
/**
|
|
18
|
+
* Indicates whether the title contains html
|
|
19
|
+
* @param html true if contain html
|
|
20
|
+
*/
|
|
21
|
+
set tooltipHtml(html: boolean);
|
|
22
|
+
/**
|
|
23
|
+
* This event fires immediately when the show method is called.
|
|
24
|
+
*/
|
|
25
|
+
showEvent: EventEmitter<Event>;
|
|
26
|
+
/**
|
|
27
|
+
* This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
|
|
28
|
+
*/
|
|
29
|
+
shownEvent: EventEmitter<Event>;
|
|
30
|
+
/**
|
|
31
|
+
* This event fires immediately when the hide method is called.
|
|
32
|
+
*/
|
|
33
|
+
hideEvent: EventEmitter<Event>;
|
|
34
|
+
/**
|
|
35
|
+
* This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
|
|
36
|
+
*/
|
|
37
|
+
hiddenEvent: EventEmitter<Event>;
|
|
38
|
+
/**
|
|
39
|
+
* This event fires after the show event when the tooltip template has been added to the DOM.
|
|
40
|
+
*/
|
|
41
|
+
insertedEvent: EventEmitter<Event>;
|
|
42
|
+
private readonly element;
|
|
43
|
+
private tooltip?;
|
|
44
|
+
constructor(_elementRef: ElementRef);
|
|
45
|
+
ngAfterViewInit(): void;
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
/**
|
|
48
|
+
* Shows the tooltip of an item.
|
|
49
|
+
*/
|
|
50
|
+
show(): void;
|
|
51
|
+
/**
|
|
52
|
+
* Hide the tooltip of an element.
|
|
53
|
+
*/
|
|
54
|
+
hide(): void;
|
|
55
|
+
/**
|
|
56
|
+
* Activate / Deactivate the tooltip of an element
|
|
57
|
+
*/
|
|
58
|
+
toggle(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Hides and destroys the tooltip of an element.
|
|
61
|
+
*/
|
|
62
|
+
dispose(): void;
|
|
63
|
+
/**
|
|
64
|
+
* Gives the tooltip of an element a chance to be shown.
|
|
65
|
+
*/
|
|
66
|
+
enable(): void;
|
|
67
|
+
/**
|
|
68
|
+
* Removes the ability to show the tooltip of an element.
|
|
69
|
+
*/
|
|
70
|
+
disable(): void;
|
|
71
|
+
/**
|
|
72
|
+
* Toggles the possibility that the tooltip of an element is shown or hidden.
|
|
73
|
+
*/
|
|
74
|
+
toggleEnabled(): void;
|
|
75
|
+
/**
|
|
76
|
+
* Updates the position of an element's tooltip.
|
|
77
|
+
*/
|
|
78
|
+
update(): void;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTooltipDirective, never>;
|
|
80
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItTooltipDirective, "[itTooltip]", ["itTooltip"], { "title": { "alias": "itTooltip"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipHtml": { "alias": "tooltipHtml"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "insertedEvent": "insertedEvent"; }, never, never, true, never>;
|
|
81
|
+
static ngAcceptInputType_tooltipHtml: i1.BooleanInput;
|
|
82
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
4
|
+
import { AutocompleteItem } from '../../../interfaces/form';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../../utils/coercion";
|
|
7
|
+
export declare class ItAutocompleteComponent extends ItAbstractFormComponent<string | null | undefined> implements OnInit {
|
|
8
|
+
/**
|
|
9
|
+
* Indicates the list of searchable elements on which to base the input autocomplete system
|
|
10
|
+
* If you need to retrieve items via API, can pass a function of Observable
|
|
11
|
+
* @default undefined
|
|
12
|
+
*/
|
|
13
|
+
autocompleteData: Array<AutocompleteItem> | ((search?: string | null) => Observable<Array<AutocompleteItem>>);
|
|
14
|
+
/**
|
|
15
|
+
* To get a large version of Autocomplete
|
|
16
|
+
*/
|
|
17
|
+
big?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Time span [ms] has passed without another source emission, to delay data filtering.
|
|
20
|
+
* Useful when the user is typing multiple letters
|
|
21
|
+
* @default 300 [ms]
|
|
22
|
+
*/
|
|
23
|
+
debounceTime: number;
|
|
24
|
+
/**
|
|
25
|
+
* The input placeholder
|
|
26
|
+
*/
|
|
27
|
+
placeholder: string;
|
|
28
|
+
/**
|
|
29
|
+
* The input label even get labelWaria icon
|
|
30
|
+
*/
|
|
31
|
+
labelWaria: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Show the label
|
|
34
|
+
*/
|
|
35
|
+
forceShowLabel: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Fired when the Autocomplete Item has been selected
|
|
38
|
+
*/
|
|
39
|
+
autocompleteSelectedEvent: EventEmitter<AutocompleteItem>;
|
|
40
|
+
protected showAutocompletion: boolean;
|
|
41
|
+
/** Observable da cui vengono emessi i risultati dell'auto completamento */
|
|
42
|
+
protected autocompleteResults$: Observable<{
|
|
43
|
+
searchedValue: string | undefined | null;
|
|
44
|
+
relatedEntries: Array<AutocompleteItem>;
|
|
45
|
+
}>;
|
|
46
|
+
ngOnInit(): void;
|
|
47
|
+
/**
|
|
48
|
+
* Create the autocomplete list
|
|
49
|
+
*/
|
|
50
|
+
private getAutocompleteResults$;
|
|
51
|
+
protected onEntryClick(entry: AutocompleteItem, event: Event): void;
|
|
52
|
+
protected autocompleteItemTrackByValueFn(index: number, item: AutocompleteItem): string;
|
|
53
|
+
protected onKeyDown(): void;
|
|
54
|
+
protected get isActiveLabel(): boolean;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAutocompleteComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItAutocompleteComponent, "it-autocomplete", never, { "autocompleteData": { "alias": "autocompleteData"; "required": true; }; "big": { "alias": "big"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "labelWaria": { "alias": "labelWaria"; "required": false; }; "forceShowLabel": { "alias": "forceShowLabel"; "required": false; }; }, { "autocompleteSelectedEvent": "autocompleteSelectedEvent"; }, never, ["[error]"], true, never>;
|
|
57
|
+
static ngAcceptInputType_big: i1.BooleanInput;
|
|
58
|
+
static ngAcceptInputType_forceShowLabel: i1.BooleanInput;
|
|
59
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../utils/coercion";
|
|
5
|
+
export declare class ItCheckboxComponent extends ItAbstractFormComponent<boolean | null | undefined> implements OnInit, OnChanges {
|
|
6
|
+
/**
|
|
7
|
+
* If show checkbox as toggle
|
|
8
|
+
* @default false
|
|
9
|
+
*/
|
|
10
|
+
toggle?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* If show checkbox inline
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
inline?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* If is checkbox group
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
group?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* If checkbox is checked
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
checked?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* If checkbox is indeterminate
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
indeterminate?: boolean;
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
+
private markAsChecked;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCheckboxComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCheckboxComponent, "it-checkbox", never, { "toggle": { "alias": "toggle"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, {}, never, ["*", "[error]", "[label]"], true, never>;
|
|
36
|
+
static ngAcceptInputType_toggle: i1.BooleanInput;
|
|
37
|
+
static ngAcceptInputType_inline: i1.BooleanInput;
|
|
38
|
+
static ngAcceptInputType_group: i1.BooleanInput;
|
|
39
|
+
static ngAcceptInputType_checked: i1.BooleanInput;
|
|
40
|
+
static ngAcceptInputType_indeterminate: i1.BooleanInput;
|
|
41
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./autocomplete/autocomplete.component";
|
|
3
|
+
import * as i2 from "./checkbox/checkbox.component";
|
|
4
|
+
import * as i3 from "./input/input.component";
|
|
5
|
+
import * as i4 from "./password-input/password-input.component";
|
|
6
|
+
import * as i5 from "./radio-button/radio-button.component";
|
|
7
|
+
import * as i6 from "./range/range.component";
|
|
8
|
+
import * as i7 from "./rating/rating.component";
|
|
9
|
+
import * as i8 from "./select/select.component";
|
|
10
|
+
import * as i9 from "./textarea/textarea.component";
|
|
11
|
+
import * as i10 from "./transfer/transfer.component";
|
|
12
|
+
import * as i11 from "./upload-drag-drop/upload-drag-drop.component";
|
|
13
|
+
import * as i12 from "./upload-file-list/upload-file-list.component";
|
|
14
|
+
export declare class ItFormModule {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItFormModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItFormModule, never, [typeof i1.ItAutocompleteComponent, typeof i2.ItCheckboxComponent, typeof i3.ItInputComponent, typeof i4.ItPasswordInputComponent, typeof i5.ItRadioButtonComponent, typeof i6.ItRangeComponent, typeof i7.ItRatingComponent, typeof i8.ItSelectComponent, typeof i9.ItTextareaComponent, typeof i10.ItTransferComponent, typeof i11.ItUploadDragDropComponent, typeof i12.ItUploadFileListComponent], [typeof i1.ItAutocompleteComponent, typeof i2.ItCheckboxComponent, typeof i3.ItInputComponent, typeof i4.ItPasswordInputComponent, typeof i5.ItRadioButtonComponent, typeof i6.ItRangeComponent, typeof i7.ItRatingComponent, typeof i8.ItSelectComponent, typeof i9.ItTextareaComponent, typeof i10.ItTransferComponent, typeof i11.ItUploadDragDropComponent, typeof i12.ItUploadFileListComponent]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItFormModule>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
|
+
import { InputControlType } from '../../../interfaces/form';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../../utils/coercion";
|
|
7
|
+
export declare class ItInputComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit {
|
|
8
|
+
/**
|
|
9
|
+
* The input type
|
|
10
|
+
* @default text
|
|
11
|
+
*/
|
|
12
|
+
type: InputControlType;
|
|
13
|
+
/**
|
|
14
|
+
* The input placeholder
|
|
15
|
+
*/
|
|
16
|
+
placeholder: string;
|
|
17
|
+
/**
|
|
18
|
+
* The input description
|
|
19
|
+
*/
|
|
20
|
+
description: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* To prevent modification of the contained value.
|
|
23
|
+
* - <b>plaintext</b>: Readonly field in the form stylized as plain text
|
|
24
|
+
* @default undefined
|
|
25
|
+
*/
|
|
26
|
+
readonly: boolean | 'plaintext' | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* The max date value [Used only in type = 'date']
|
|
29
|
+
* @default '9999-12-31'
|
|
30
|
+
* @example 'yyyy-mm-dd'
|
|
31
|
+
*/
|
|
32
|
+
maxDate?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The min date value [Used only in type = 'date']
|
|
35
|
+
* @example 'yyyy-mm-dd'
|
|
36
|
+
*/
|
|
37
|
+
minDate: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* The max value [Used only in type = 'number']
|
|
40
|
+
*/
|
|
41
|
+
max: number | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* The min value [Used only in type = 'number']
|
|
44
|
+
*/
|
|
45
|
+
min: number | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* The step value [Used only in type = 'number']
|
|
48
|
+
*/
|
|
49
|
+
step: number | 'any' | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* If is a currency number [Used only in type = 'number']
|
|
52
|
+
* @default false
|
|
53
|
+
*/
|
|
54
|
+
currency?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* If is a percentage number [Used only in type = 'number']
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
percentage?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* The currency or percentage symbol [Used only if percentage or currency]
|
|
62
|
+
* @example '$'
|
|
63
|
+
*/
|
|
64
|
+
symbol: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* To make the numeric field automatically resize according to the value contained in it. [Used only in type = 'number']
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
adaptive?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Input autocomplete attribute (Browser autocomplete)
|
|
72
|
+
* @default undefined
|
|
73
|
+
*/
|
|
74
|
+
autocomplete: string | undefined;
|
|
75
|
+
get isActiveLabel(): boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Check is readonly field
|
|
78
|
+
*/
|
|
79
|
+
protected get isReadonly(): boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Return the invalid message string from TranslateService
|
|
82
|
+
*/
|
|
83
|
+
get invalidMessage(): Observable<string>;
|
|
84
|
+
ngOnInit(): void;
|
|
85
|
+
/**
|
|
86
|
+
* Increment or decrease the input number value of step
|
|
87
|
+
* @param decrease true to decrease value
|
|
88
|
+
*/
|
|
89
|
+
protected incrementNumber(decrease?: boolean): void;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItInputComponent, never>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItInputComponent, "it-input", never, { "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "adaptive": { "alias": "adaptive"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, ["[prependText]", "[append]", "[appendText]", "[error]"], true, never>;
|
|
92
|
+
static ngAcceptInputType_currency: i1.BooleanInput;
|
|
93
|
+
static ngAcceptInputType_percentage: i1.BooleanInput;
|
|
94
|
+
static ngAcceptInputType_adaptive: i1.BooleanInput;
|
|
95
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { AfterViewInit, OnInit } from '@angular/core';
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../utils/coercion";
|
|
6
|
+
export declare class ItPasswordInputComponent extends ItAbstractFormComponent<string | null | undefined> implements OnInit, AfterViewInit {
|
|
7
|
+
/**
|
|
8
|
+
* The field is required
|
|
9
|
+
* @default true
|
|
10
|
+
*/
|
|
11
|
+
required: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The password minimum length
|
|
14
|
+
* @default 10
|
|
15
|
+
*/
|
|
16
|
+
minLength: number;
|
|
17
|
+
/**
|
|
18
|
+
* The password must contain at least one number
|
|
19
|
+
* @default true
|
|
20
|
+
*/
|
|
21
|
+
useNumber: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* The password must contain at least one uppercase character
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
useCapitalCase: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The password must contain at least one lowercase character
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
useSmallCase: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The password must contain at least one special character
|
|
34
|
+
* @default true
|
|
35
|
+
*/
|
|
36
|
+
useSpecialCharacters: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The input placeholder
|
|
39
|
+
*/
|
|
40
|
+
placeholder: string;
|
|
41
|
+
/**
|
|
42
|
+
* The input description
|
|
43
|
+
* - <b>true</b>: show the StrengthMeter description message
|
|
44
|
+
* - <b>string</b>: show custom description
|
|
45
|
+
* @default true for StrengthMeter mode else is undefined
|
|
46
|
+
*/
|
|
47
|
+
description: string | true | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Enable to show the strength meter
|
|
50
|
+
* @default false
|
|
51
|
+
*/
|
|
52
|
+
showStrengthMeter?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Is the confirmation password field
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
57
|
+
confirmPasswordField?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Input autocomplete attribute (Browser autocomplete)
|
|
60
|
+
* @default undefined
|
|
61
|
+
*/
|
|
62
|
+
autocomplete: string | undefined;
|
|
63
|
+
private inputPasswordBs?;
|
|
64
|
+
private inputElement?;
|
|
65
|
+
ngOnInit(): void;
|
|
66
|
+
ngAfterViewInit(): void;
|
|
67
|
+
protected get isStrengthMeter(): boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Return the invalid message string from TranslateService
|
|
70
|
+
*/
|
|
71
|
+
get invalidMessage(): Observable<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Retrieve the default StrengthMeter description message from TranslateService
|
|
74
|
+
*/
|
|
75
|
+
protected get strengthMeterDescription(): Observable<string>;
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItPasswordInputComponent, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItPasswordInputComponent, "it-password-input", never, { "required": { "alias": "required"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "useNumber": { "alias": "useNumber"; "required": false; }; "useCapitalCase": { "alias": "useCapitalCase"; "required": false; }; "useSmallCase": { "alias": "useSmallCase"; "required": false; }; "useSpecialCharacters": { "alias": "useSpecialCharacters"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "showStrengthMeter": { "alias": "showStrengthMeter"; "required": false; }; "confirmPasswordField": { "alias": "confirmPasswordField"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, ["[error]"], true, never>;
|
|
78
|
+
static ngAcceptInputType_showStrengthMeter: i1.BooleanInput;
|
|
79
|
+
static ngAcceptInputType_confirmPasswordField: i1.BooleanInput;
|
|
80
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../utils/coercion";
|
|
5
|
+
export declare class ItRadioButtonComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit {
|
|
6
|
+
/**
|
|
7
|
+
* The radio value
|
|
8
|
+
*/
|
|
9
|
+
value: string | number | undefined | null;
|
|
10
|
+
/**
|
|
11
|
+
* If show radio inline
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
inline?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* If is radio group
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
group?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* If is radio is checked
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
checked?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Set the radio name manually.
|
|
27
|
+
* For example when the radio button name is duplicated inside page
|
|
28
|
+
* @default by default the radio name is calculated from form field name
|
|
29
|
+
*/
|
|
30
|
+
forceRadioName?: string;
|
|
31
|
+
get name(): string;
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItRadioButtonComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItRadioButtonComponent, "it-radio-button", never, { "value": { "alias": "value"; "required": true; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "forceRadioName": { "alias": "forceRadioName"; "required": false; }; }, {}, never, ["[label]", "*", "[error]", "[error]"], true, never>;
|
|
35
|
+
static ngAcceptInputType_inline: i1.BooleanInput;
|
|
36
|
+
static ngAcceptInputType_group: i1.BooleanInput;
|
|
37
|
+
static ngAcceptInputType_checked: i1.BooleanInput;
|
|
38
|
+
}
|