design-angular-kit 1.2.0 → 1.2.1
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/.eslintrc.json +31 -0
- package/karma.conf.js +38 -0
- package/ng-package.json +9 -0
- package/ng-package.prod.json +8 -0
- package/package.json +9 -14
- package/schematics/ng-add/index.spec.ts +45 -0
- package/schematics/ng-add/index.ts +36 -0
- package/schematics/ng-add/rules/setup-project/add-animations.ts +7 -0
- package/schematics/ng-add/rules/setup-project/add-assets.ts +45 -0
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.ts +40 -0
- package/schematics/ng-add/rules/setup-project/add-http-client.ts +7 -0
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.ts +120 -0
- package/schematics/ng-add/rules/setup-project/add-localisation.ts +45 -0
- package/schematics/ng-add/rules/setup-project/angular-json-helper.ts +11 -0
- package/schematics/ng-add/rules/setup-project/exceptions.ts +13 -0
- package/schematics/ng-add/{schema.d.ts → schema.ts} +1 -1
- package/schematics/ng-add/setup-project.spec.ts +166 -0
- package/schematics/ng-add/setup-project.ts +31 -0
- package/schematics/ng-add/utils.ts +71 -0
- package/schematics/ng-add/versions-helper.ts +41 -0
- package/src/lib/abstracts/abstract-form.component.ts +200 -0
- package/src/lib/abstracts/abstract.component.ts +63 -0
- package/src/lib/components/core/accordion/accordion.component.html +27 -0
- package/src/lib/components/core/accordion/accordion.component.spec.ts +21 -0
- package/src/lib/components/core/accordion/accordion.component.ts +40 -0
- package/src/lib/components/core/alert/alert.component.html +19 -0
- package/src/lib/components/core/alert/alert.component.scss +3 -0
- package/src/lib/components/core/alert/alert.component.spec.ts +62 -0
- package/src/lib/components/core/alert/alert.component.ts +75 -0
- package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.html +23 -0
- package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.scss +17 -0
- package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.spec.ts +21 -0
- package/src/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.ts +50 -0
- package/src/lib/components/core/avatar/avatar-group/avatar-group.component.html +7 -0
- package/src/lib/components/core/avatar/avatar-group/avatar-group.component.spec.ts +38 -0
- package/src/lib/components/core/avatar/avatar-group/avatar-group.component.ts +25 -0
- package/src/lib/components/core/avatar/avatar.directive.ts +73 -0
- package/src/lib/components/core/avatar/avatar.module.ts +18 -0
- package/src/lib/components/core/badge/badge.directive.spec.ts +59 -0
- package/src/lib/components/core/badge/badge.directive.ts +39 -0
- package/src/lib/components/core/button/button.directive.spec.ts +96 -0
- package/src/lib/components/core/button/button.directive.ts +89 -0
- package/src/lib/components/core/callout/callout.component.html +25 -0
- package/src/lib/components/core/callout/callout.component.spec.ts +138 -0
- package/src/lib/components/core/callout/callout.component.ts +92 -0
- package/src/lib/components/core/card/card.component.html +35 -0
- package/src/lib/components/core/card/card.component.scss +30 -0
- package/src/lib/components/core/card/card.component.spec.ts +21 -0
- package/src/lib/components/core/card/card.component.ts +78 -0
- package/src/lib/components/core/carousel/carousel/carousel.component.html +29 -0
- package/src/lib/components/core/carousel/carousel/carousel.component.scss +1 -0
- package/src/lib/components/core/carousel/carousel/carousel.component.spec.ts +21 -0
- package/src/lib/components/core/carousel/carousel/carousel.component.ts +119 -0
- package/src/lib/components/core/carousel/carousel-item/carousel-item.component.html +3 -0
- package/src/lib/components/core/carousel/carousel-item/carousel-item.component.spec.ts +22 -0
- package/src/lib/components/core/carousel/carousel-item/carousel-item.component.ts +20 -0
- package/src/lib/components/core/carousel/carousel.module.ts +11 -0
- package/src/lib/components/core/chip/chip.component.html +26 -0
- package/src/lib/components/core/chip/chip.component.spec.ts +87 -0
- package/src/lib/components/core/chip/chip.component.ts +154 -0
- package/src/lib/components/core/collapse/collapse.component.html +3 -0
- package/src/lib/components/core/collapse/collapse.component.spec.ts +21 -0
- package/src/lib/components/core/collapse/collapse.component.ts +124 -0
- package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.html +3 -0
- package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.spec.ts +35 -0
- package/src/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.ts +23 -0
- package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.html +3 -0
- package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.spec.ts +22 -0
- package/src/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.ts +10 -0
- package/src/lib/components/core/dimmer/dimmer.component.html +7 -0
- package/src/lib/components/core/dimmer/dimmer.component.spec.ts +49 -0
- package/src/lib/components/core/dimmer/dimmer.component.ts +50 -0
- package/src/lib/components/core/dimmer/dimmer.module.ts +12 -0
- package/src/lib/components/core/dropdown/dropdown/dropdown.component.html +45 -0
- package/src/lib/components/core/dropdown/dropdown/dropdown.component.scss +3 -0
- package/src/lib/components/core/dropdown/dropdown/dropdown.component.spec.ts +21 -0
- package/src/lib/components/core/dropdown/dropdown/dropdown.component.ts +186 -0
- package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.html +18 -0
- package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.scss +4 -0
- package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.spec.ts +21 -0
- package/src/lib/components/core/dropdown/dropdown-item/dropdown-item.component.ts +82 -0
- package/src/lib/components/core/dropdown/dropdown.module.ts +11 -0
- package/src/lib/components/core/forward/forward.directive.spec.ts +60 -0
- package/src/lib/components/core/forward/forward.directive.ts +43 -0
- package/src/lib/components/core/link/link.component.html +13 -0
- package/src/lib/components/core/link/link.component.spec.ts +21 -0
- package/src/lib/components/core/link/link.component.ts +54 -0
- package/src/lib/components/core/list/list/list.component.html +13 -0
- package/src/lib/components/core/list/list/list.component.spec.ts +21 -0
- package/src/lib/components/core/list/list/list.component.ts +30 -0
- package/src/lib/components/core/list/list-item/list-item.component.html +42 -0
- package/src/lib/components/core/list/list-item/list-item.component.scss +16 -0
- package/src/lib/components/core/list/list-item/list-item.component.spec.ts +21 -0
- package/src/lib/components/core/list/list-item/list-item.component.ts +75 -0
- package/src/lib/components/core/list/list.module.ts +11 -0
- package/src/lib/components/core/modal/modal.component.html +36 -0
- package/src/lib/components/core/modal/modal.component.scss +3 -0
- package/src/lib/components/core/modal/modal.component.spec.ts +21 -0
- package/src/lib/components/core/modal/modal.component.ts +218 -0
- package/src/lib/components/core/notifications/notifications.component.html +25 -0
- package/src/lib/components/core/notifications/notifications.component.scss +3 -0
- package/src/lib/components/core/notifications/notifications.component.spec.ts +21 -0
- package/src/lib/components/core/notifications/notifications.component.ts +123 -0
- package/src/lib/components/core/pagination/pagination.component.html +107 -0
- package/src/lib/components/core/pagination/pagination.component.spec.ts +21 -0
- package/src/lib/components/core/pagination/pagination.component.ts +157 -0
- package/src/lib/components/core/popover/popover.directive.spec.ts +21 -0
- package/src/lib/components/core/popover/popover.directive.ts +171 -0
- package/src/lib/components/core/progress-bar/progress-bar.component.html +20 -0
- package/src/lib/components/core/progress-bar/progress-bar.component.spec.ts +21 -0
- package/src/lib/components/core/progress-bar/progress-bar.component.ts +46 -0
- package/src/lib/components/core/progress-button/progress-button.component.html +5 -0
- package/src/lib/components/core/progress-button/progress-button.component.spec.ts +21 -0
- package/src/lib/components/core/progress-button/progress-button.component.ts +39 -0
- package/src/lib/components/core/spinner/spinner.component.html +7 -0
- package/src/lib/components/core/spinner/spinner.component.spec.ts +80 -0
- package/src/lib/components/core/spinner/spinner.component.ts +31 -0
- package/src/lib/components/core/steppers/steppers-container/steppers-container.component.html +126 -0
- package/src/lib/components/core/steppers/steppers-container/steppers-container.component.spec.ts +21 -0
- package/src/lib/components/core/steppers/steppers-container/steppers-container.component.ts +185 -0
- package/src/lib/components/core/steppers/steppers-item/steppers-item.component.html +3 -0
- package/src/lib/components/core/steppers/steppers-item/steppers-item.component.spec.ts +22 -0
- package/src/lib/components/core/steppers/steppers-item/steppers-item.component.ts +33 -0
- package/src/lib/components/core/steppers/steppers.module.ts +11 -0
- package/src/lib/components/core/tab/tab-container/tab-container.component.html +78 -0
- package/src/lib/components/core/tab/tab-container/tab-container.component.spec.ts +21 -0
- package/src/lib/components/core/tab/tab-container/tab-container.component.ts +137 -0
- package/src/lib/components/core/tab/tab-item/tab-item.component.html +3 -0
- package/src/lib/components/core/tab/tab-item/tab-item.component.spec.ts +22 -0
- package/src/lib/components/core/tab/tab-item/tab-item.component.ts +50 -0
- package/src/lib/components/core/tab/tab.module.ts +11 -0
- package/src/lib/components/core/table/sort/sort-header/sort-header.component.html +27 -0
- package/src/lib/components/core/table/sort/sort-header/sort-header.component.scss +65 -0
- package/src/lib/components/core/table/sort/sort-header/sort-header.component.spec.ts +25 -0
- package/src/lib/components/core/table/sort/sort-header/sort-header.component.ts +164 -0
- package/src/lib/components/core/table/sort/sort.directive.spec.ts +73 -0
- package/src/lib/components/core/table/sort/sort.directive.ts +142 -0
- package/src/lib/components/core/table/table.component.html +23 -0
- package/src/lib/components/core/table/table.component.scss +7 -0
- package/src/lib/components/core/table/table.component.spec.ts +21 -0
- package/src/lib/components/core/table/table.component.ts +70 -0
- package/src/lib/components/core/table/table.module.ts +12 -0
- package/src/lib/components/core/timeline/timeline-item/timeline-item.component.html +47 -0
- package/src/lib/components/core/timeline/timeline-item/timeline-item.component.spec.ts +24 -0
- package/src/lib/components/core/timeline/timeline-item/timeline-item.component.ts +102 -0
- package/src/lib/components/core/timeline/timeline.component.html +21 -0
- package/src/lib/components/core/timeline/timeline.component.spec.ts +21 -0
- package/src/lib/components/core/timeline/timeline.component.ts +31 -0
- package/src/lib/components/core/timeline/timeline.module.ts +11 -0
- package/src/lib/components/core/tooltip/tooltip.directive.spec.ts +20 -0
- package/src/lib/components/core/tooltip/tooltip.directive.ts +141 -0
- package/src/lib/components/form/autocomplete/autocomplete.component.html +58 -0
- package/src/lib/components/form/autocomplete/autocomplete.component.spec.ts +21 -0
- package/src/lib/components/form/autocomplete/autocomplete.component.ts +130 -0
- package/src/lib/components/form/checkbox/checkbox.component.html +67 -0
- package/src/lib/components/form/checkbox/checkbox.component.spec.ts +21 -0
- package/src/lib/components/form/checkbox/checkbox.component.ts +65 -0
- package/src/lib/components/form/form.module.ts +34 -0
- package/src/lib/components/form/input/input.component.html +92 -0
- package/src/lib/components/form/input/input.component.scss +29 -0
- package/src/lib/components/form/input/input.component.spec.ts +21 -0
- package/src/lib/components/form/input/input.component.ts +234 -0
- package/src/lib/components/form/password-input/password-input.component.html +65 -0
- package/src/lib/components/form/password-input/password-input.component.scss +9 -0
- package/src/lib/components/form/password-input/password-input.component.spec.ts +21 -0
- package/src/lib/components/form/password-input/password-input.component.ts +171 -0
- package/src/lib/components/form/radio-button/radio-button.component.html +50 -0
- package/src/lib/components/form/radio-button/radio-button.component.scss +14 -0
- package/src/lib/components/form/radio-button/radio-button.component.spec.ts +21 -0
- package/src/lib/components/form/radio-button/radio-button.component.ts +82 -0
- package/src/lib/components/form/range/range.component.html +17 -0
- package/src/lib/components/form/range/range.component.scss +17 -0
- package/src/lib/components/form/range/range.component.spec.ts +21 -0
- package/src/lib/components/form/range/range.component.ts +100 -0
- package/src/lib/components/form/rating/rating.component.html +24 -0
- package/src/lib/components/form/rating/rating.component.spec.ts +21 -0
- package/src/lib/components/form/rating/rating.component.ts +52 -0
- package/src/lib/components/form/select/select.component.html +54 -0
- package/src/lib/components/form/select/select.component.scss +3 -0
- package/src/lib/components/form/select/select.component.spec.ts +22 -0
- package/src/lib/components/form/select/select.component.ts +91 -0
- package/src/lib/components/form/textarea/textarea.component.html +28 -0
- package/src/lib/components/form/textarea/textarea.component.scss +12 -0
- package/src/lib/components/form/textarea/textarea.component.spec.ts +21 -0
- package/src/lib/components/form/textarea/textarea.component.ts +61 -0
- package/src/lib/components/form/transfer/store/transfer.reducers.ts +242 -0
- package/src/lib/components/form/transfer/store/transfer.state.ts +20 -0
- package/src/lib/components/form/transfer/store/transfer.store.ts +88 -0
- package/src/lib/components/form/transfer/transfer-list/transfer-list.component.html +42 -0
- package/src/lib/components/form/transfer/transfer-list/transfer-list.component.spec.ts +33 -0
- package/src/lib/components/form/transfer/transfer-list/transfer-list.component.ts +93 -0
- package/src/lib/components/form/transfer/transfer.component.html +52 -0
- package/src/lib/components/form/transfer/transfer.component.spec.ts +27 -0
- package/src/lib/components/form/transfer/transfer.component.ts +159 -0
- package/{lib/components/form/transfer/transfer.model.d.ts → src/lib/components/form/transfer/transfer.model.ts} +9 -2
- package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.html +36 -0
- package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.spec.ts +21 -0
- package/src/lib/components/form/upload-drag-drop/upload-drag-drop.component.ts +170 -0
- package/src/lib/components/form/upload-file-list/upload-file-list.component.html +46 -0
- package/src/lib/components/form/upload-file-list/upload-file-list.component.spec.ts +22 -0
- package/src/lib/components/form/upload-file-list/upload-file-list.component.ts +120 -0
- package/src/lib/components/navigation/back-button/back-button.component.html +25 -0
- package/src/lib/components/navigation/back-button/back-button.component.spec.ts +91 -0
- package/src/lib/components/navigation/back-button/back-button.component.ts +67 -0
- package/src/lib/components/navigation/back-to-top/back-to-top.component.html +11 -0
- package/src/lib/components/navigation/back-to-top/back-to-top.component.spec.ts +21 -0
- package/src/lib/components/navigation/back-to-top/back-to-top.component.ts +80 -0
- package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.html +23 -0
- package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.spec.ts +21 -0
- package/src/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.ts +68 -0
- package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.html +3 -0
- package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.spec.ts +22 -0
- package/src/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.ts +29 -0
- package/src/lib/components/navigation/breadcrumbs/breadcrumbs.module.ts +11 -0
- package/src/lib/components/navigation/header/header.component.html +102 -0
- package/src/lib/components/navigation/header/header.component.scss +3 -0
- package/src/lib/components/navigation/header/header.component.spec.ts +21 -0
- package/src/lib/components/navigation/header/header.component.ts +107 -0
- package/src/lib/components/navigation/megamenu/megamenu.component.html +34 -0
- package/src/lib/components/navigation/megamenu/megamenu.component.scss +5 -0
- package/src/lib/components/navigation/megamenu/megamenu.component.ts +30 -0
- package/src/lib/components/navigation/navbar/navbar/navbar.component.html +28 -0
- package/src/lib/components/navigation/navbar/navbar/navbar.component.ts +45 -0
- package/src/lib/components/navigation/navbar/navbar-item/navbar-item.component.html +3 -0
- package/src/lib/components/navigation/navbar/navbar-item/navbar-item.component.ts +10 -0
- package/src/lib/components/navigation/navbar/navbar.module.ts +11 -0
- package/src/lib/components/navigation/navscroll/navscroll-list-item.component.ts +95 -0
- package/src/lib/components/navigation/navscroll/navscroll-list-items.component.ts +27 -0
- package/src/lib/components/navigation/navscroll/navscroll.component.html +101 -0
- package/src/lib/components/navigation/navscroll/navscroll.component.scss +9 -0
- package/src/lib/components/navigation/navscroll/navscroll.component.ts +143 -0
- package/{lib/components/navigation/navscroll/navscroll.model.d.ts → src/lib/components/navigation/navscroll/navscroll.model.ts} +7 -5
- package/src/lib/components/navigation/navscroll/navscroll.store.ts +96 -0
- package/src/lib/components/navigation/navscroll/navscroll.utils.ts +28 -0
- package/src/lib/components/navigation/sidebar/sidebar.component.html +11 -0
- package/src/lib/components/navigation/sidebar/sidebar.component.spec.ts +21 -0
- package/src/lib/components/navigation/sidebar/sidebar.component.ts +39 -0
- package/src/lib/components/navigation/skiplink/skiplink/skiplink.component.html +15 -0
- package/src/lib/components/navigation/skiplink/skiplink/skiplink.component.ts +27 -0
- package/src/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.html +15 -0
- package/src/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.ts +38 -0
- package/src/lib/components/navigation/skiplink/skiplink.module.ts +11 -0
- package/src/lib/components/utils/error-page/error-page.component.html +33 -0
- package/src/lib/components/utils/error-page/error-page.component.spec.ts +21 -0
- package/src/lib/components/utils/error-page/error-page.component.ts +79 -0
- package/src/lib/components/utils/icon/icon.component.html +6 -0
- package/src/lib/components/utils/icon/icon.component.spec.ts +21 -0
- package/src/lib/components/utils/icon/icon.component.ts +95 -0
- package/src/lib/components/utils/language-switcher/language-switcher.component.html +21 -0
- package/src/lib/components/utils/language-switcher/language-switcher.component.spec.ts +21 -0
- package/src/lib/components/utils/language-switcher/language-switcher.component.ts +56 -0
- package/src/lib/design-angular-kit.module.ts +131 -0
- package/src/lib/enums/colors.enums.ts +10 -0
- package/src/lib/enums/sizes.enum.ts +7 -0
- package/{lib/interfaces/core.d.ts → src/lib/interfaces/core.ts} +95 -53
- package/src/lib/interfaces/design-angular-kit-config.ts +34 -0
- package/src/lib/interfaces/form.ts +78 -0
- package/src/lib/interfaces/icon.ts +176 -0
- package/src/lib/interfaces/sortable-table.ts +42 -0
- package/src/lib/interfaces/utils.ts +11 -0
- package/src/lib/pipes/date-ago.pipe.ts +57 -0
- package/src/lib/pipes/duration.pipe.ts +112 -0
- package/src/lib/pipes/mark-matching-text.pipe.ts +43 -0
- package/src/lib/provide-design-angular-kit.ts +73 -0
- package/src/lib/services/notification/notification.service.spec.ts +16 -0
- package/src/lib/services/notification/notification.service.ts +119 -0
- package/{lib/utils/coercion.d.ts → src/lib/utils/coercion.ts} +7 -1
- package/src/lib/utils/date-utils.ts +184 -0
- package/src/lib/utils/file-utils.ts +80 -0
- package/src/lib/utils/regex.ts +44 -0
- package/src/lib/validators/it-validators.ts +193 -0
- package/{public_api.d.ts → src/public_api.ts} +43 -0
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +24 -0
- package/tsconfig.lib.prod.json +9 -0
- package/tsconfig.schematics.json +25 -0
- package/tsconfig.spec.json +9 -0
- package/esm2022/design-angular-kit.mjs +0 -5
- package/esm2022/lib/abstracts/abstract-form.component.mjs +0 -186
- package/esm2022/lib/abstracts/abstract.component.mjs +0 -46
- package/esm2022/lib/components/core/accordion/accordion.component.mjs +0 -39
- package/esm2022/lib/components/core/alert/alert.component.mjs +0 -71
- package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +0 -43
- package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +0 -40
- package/esm2022/lib/components/core/avatar/avatar.directive.mjs +0 -78
- package/esm2022/lib/components/core/avatar/avatar.module.mjs +0 -33
- package/esm2022/lib/components/core/badge/badge.directive.mjs +0 -39
- package/esm2022/lib/components/core/button/button.directive.mjs +0 -80
- package/esm2022/lib/components/core/callout/callout.component.mjs +0 -64
- package/esm2022/lib/components/core/card/card.component.mjs +0 -59
- package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +0 -84
- package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -19
- package/esm2022/lib/components/core/carousel/carousel.module.mjs +0 -18
- package/esm2022/lib/components/core/chip/chip.component.mjs +0 -136
- package/esm2022/lib/components/core/collapse/collapse.component.mjs +0 -116
- package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +0 -27
- package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +0 -11
- package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +0 -55
- package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +0 -19
- package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +0 -144
- package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -61
- package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +0 -18
- package/esm2022/lib/components/core/forward/forward.directive.mjs +0 -57
- package/esm2022/lib/components/core/link/link.component.mjs +0 -42
- package/esm2022/lib/components/core/list/list/list.component.mjs +0 -22
- package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +0 -56
- package/esm2022/lib/components/core/list/list.module.mjs +0 -18
- package/esm2022/lib/components/core/modal/modal.component.mjs +0 -194
- package/esm2022/lib/components/core/notifications/notifications.component.mjs +0 -111
- package/esm2022/lib/components/core/pagination/pagination.component.mjs +0 -130
- package/esm2022/lib/components/core/popover/popover.directive.mjs +0 -176
- package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
- package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +0 -25
- package/esm2022/lib/components/core/spinner/spinner.component.mjs +0 -30
- package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +0 -116
- package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -22
- package/esm2022/lib/components/core/steppers/steppers.module.mjs +0 -18
- package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -97
- package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +0 -39
- package/esm2022/lib/components/core/tab/tab.module.mjs +0 -18
- package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +0 -134
- package/esm2022/lib/components/core/table/sort/sort.directive.mjs +0 -123
- package/esm2022/lib/components/core/table/table.component.mjs +0 -45
- package/esm2022/lib/components/core/table/table.module.mjs +0 -19
- package/esm2022/lib/components/core/timeline/timeline-item/timeline-item.component.mjs +0 -90
- package/esm2022/lib/components/core/timeline/timeline.component.mjs +0 -36
- package/esm2022/lib/components/core/timeline/timeline.module.mjs +0 -18
- package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +0 -143
- package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +0 -112
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +0 -48
- package/esm2022/lib/components/form/form.module.mjs +0 -63
- package/esm2022/lib/components/form/input/input.component.mjs +0 -190
- package/esm2022/lib/components/form/password-input/password-input.component.mjs +0 -149
- package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +0 -60
- package/esm2022/lib/components/form/range/range.component.mjs +0 -64
- package/esm2022/lib/components/form/rating/rating.component.mjs +0 -50
- package/esm2022/lib/components/form/select/select.component.mjs +0 -70
- package/esm2022/lib/components/form/textarea/textarea.component.mjs +0 -55
- package/esm2022/lib/components/form/transfer/store/transfer.reducers.mjs +0 -191
- package/esm2022/lib/components/form/transfer/store/transfer.state.mjs +0 -2
- package/esm2022/lib/components/form/transfer/store/transfer.store.mjs +0 -70
- package/esm2022/lib/components/form/transfer/transfer-list/transfer-list.component.mjs +0 -72
- package/esm2022/lib/components/form/transfer/transfer.component.mjs +0 -149
- package/esm2022/lib/components/form/transfer/transfer.model.mjs +0 -6
- package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -142
- package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -107
- package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +0 -67
- package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +0 -68
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -51
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -21
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +0 -18
- package/esm2022/lib/components/navigation/header/header.component.mjs +0 -97
- package/esm2022/lib/components/navigation/megamenu/megamenu.component.mjs +0 -27
- package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +0 -40
- package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +0 -11
- package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +0 -18
- package/esm2022/lib/components/navigation/navscroll/navscroll-list-item.component.mjs +0 -98
- package/esm2022/lib/components/navigation/navscroll/navscroll-list-items.component.mjs +0 -44
- package/esm2022/lib/components/navigation/navscroll/navscroll.component.mjs +0 -116
- package/esm2022/lib/components/navigation/navscroll/navscroll.model.mjs +0 -2
- package/esm2022/lib/components/navigation/navscroll/navscroll.store.mjs +0 -68
- package/esm2022/lib/components/navigation/navscroll/navscroll.utils.mjs +0 -23
- package/esm2022/lib/components/navigation/sidebar/sidebar.component.mjs +0 -50
- package/esm2022/lib/components/navigation/skiplink/skiplink/skiplink.component.mjs +0 -27
- package/esm2022/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.mjs +0 -26
- package/esm2022/lib/components/navigation/skiplink/skiplink.module.mjs +0 -18
- package/esm2022/lib/components/utils/error-page/error-page.component.mjs +0 -74
- package/esm2022/lib/components/utils/icon/icon.component.mjs +0 -63
- package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -50
- package/esm2022/lib/design-angular-kit.module.mjs +0 -233
- package/esm2022/lib/enums/colors.enums.mjs +0 -12
- package/esm2022/lib/enums/sizes.enum.mjs +0 -9
- package/esm2022/lib/interfaces/core.mjs +0 -16
- package/esm2022/lib/interfaces/design-angular-kit-config.mjs +0 -7
- package/esm2022/lib/interfaces/form.mjs +0 -2
- package/esm2022/lib/interfaces/icon.mjs +0 -168
- package/esm2022/lib/interfaces/sortable-table.mjs +0 -6
- package/esm2022/lib/interfaces/utils.mjs +0 -2
- package/esm2022/lib/pipes/date-ago.pipe.mjs +0 -56
- package/esm2022/lib/pipes/duration.pipe.mjs +0 -115
- package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +0 -48
- package/esm2022/lib/provide-design-angular-kit.mjs +0 -64
- package/esm2022/lib/services/notification/notification.service.mjs +0 -120
- package/esm2022/lib/utils/coercion.mjs +0 -18
- package/esm2022/lib/utils/date-utils.mjs +0 -162
- package/esm2022/lib/utils/file-utils.mjs +0 -73
- package/esm2022/lib/utils/regex.mjs +0 -35
- package/esm2022/lib/validators/it-validators.mjs +0 -156
- package/esm2022/public_api.mjs +0 -110
- package/fesm2022/design-angular-kit.mjs +0 -6704
- package/fesm2022/design-angular-kit.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/abstracts/abstract-form.component.d.ts +0 -87
- package/lib/abstracts/abstract.component.d.ts +0 -30
- package/lib/components/core/accordion/accordion.component.d.ts +0 -18
- package/lib/components/core/alert/alert.component.d.ts +0 -44
- package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +0 -29
- package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +0 -15
- package/lib/components/core/avatar/avatar.directive.d.ts +0 -33
- package/lib/components/core/avatar/avatar.module.d.ts +0 -9
- package/lib/components/core/badge/badge.directive.d.ts +0 -23
- package/lib/components/core/button/button.directive.d.ts +0 -48
- package/lib/components/core/callout/callout.component.d.ts +0 -50
- package/lib/components/core/card/card.component.d.ts +0 -69
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +0 -65
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +0 -15
- package/lib/components/core/carousel/carousel.module.d.ts +0 -8
- package/lib/components/core/chip/chip.component.d.ts +0 -76
- package/lib/components/core/collapse/collapse.component.d.ts +0 -67
- package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +0 -12
- package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +0 -5
- package/lib/components/core/dimmer/dimmer.component.d.ts +0 -24
- package/lib/components/core/dimmer/dimmer.module.d.ts +0 -9
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +0 -94
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +0 -42
- package/lib/components/core/dropdown/dropdown.module.d.ts +0 -8
- package/lib/components/core/forward/forward.directive.d.ts +0 -14
- package/lib/components/core/link/link.component.d.ts +0 -35
- package/lib/components/core/list/list/list.component.d.ts +0 -24
- package/lib/components/core/list/list-item/list-item.component.d.ts +0 -41
- package/lib/components/core/list/list.module.d.ts +0 -8
- package/lib/components/core/modal/modal.component.d.ts +0 -135
- package/lib/components/core/notifications/notifications.component.d.ts +0 -45
- package/lib/components/core/pagination/pagination.component.d.ts +0 -92
- package/lib/components/core/popover/popover.directive.d.ts +0 -99
- package/lib/components/core/progress-bar/progress-bar.component.d.ts +0 -31
- package/lib/components/core/progress-button/progress-button.component.d.ts +0 -21
- package/lib/components/core/spinner/spinner.component.d.ts +0 -24
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +0 -130
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +0 -24
- package/lib/components/core/steppers/steppers.module.d.ts +0 -8
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +0 -60
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +0 -38
- package/lib/components/core/tab/tab.module.d.ts +0 -8
- package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +0 -72
- package/lib/components/core/table/sort/sort.directive.d.ts +0 -53
- package/lib/components/core/table/table.component.d.ts +0 -60
- package/lib/components/core/table/table.module.d.ts +0 -9
- package/lib/components/core/timeline/timeline-item/timeline-item.component.d.ts +0 -79
- package/lib/components/core/timeline/timeline.component.d.ts +0 -21
- package/lib/components/core/timeline/timeline.module.d.ts +0 -8
- package/lib/components/core/tooltip/tooltip.directive.d.ts +0 -82
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +0 -59
- package/lib/components/form/checkbox/checkbox.component.d.ts +0 -41
- package/lib/components/form/form.module.d.ts +0 -18
- package/lib/components/form/input/input.component.d.ts +0 -95
- package/lib/components/form/password-input/password-input.component.d.ts +0 -80
- package/lib/components/form/radio-button/radio-button.component.d.ts +0 -38
- package/lib/components/form/range/range.component.d.ts +0 -42
- package/lib/components/form/rating/rating.component.d.ts +0 -24
- package/lib/components/form/select/select.component.d.ts +0 -36
- package/lib/components/form/textarea/textarea.component.d.ts +0 -34
- package/lib/components/form/transfer/store/transfer.reducers.d.ts +0 -103
- package/lib/components/form/transfer/store/transfer.state.d.ts +0 -18
- package/lib/components/form/transfer/store/transfer.store.d.ts +0 -23
- package/lib/components/form/transfer/transfer-list/transfer-list.component.d.ts +0 -48
- package/lib/components/form/transfer/transfer.component.d.ts +0 -75
- package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +0 -60
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +0 -62
- package/lib/components/navigation/back-button/back-button.component.d.ts +0 -47
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +0 -50
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +0 -28
- package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +0 -23
- package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +0 -8
- package/lib/components/navigation/header/header.component.d.ts +0 -36
- package/lib/components/navigation/megamenu/megamenu.component.d.ts +0 -22
- package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +0 -16
- package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +0 -5
- package/lib/components/navigation/navbar/navbar.module.d.ts +0 -8
- package/lib/components/navigation/navscroll/navscroll-list-item.component.d.ts +0 -16
- package/lib/components/navigation/navscroll/navscroll-list-items.component.d.ts +0 -7
- package/lib/components/navigation/navscroll/navscroll.component.d.ts +0 -47
- package/lib/components/navigation/navscroll/navscroll.store.d.ts +0 -16
- package/lib/components/navigation/navscroll/navscroll.utils.d.ts +0 -6
- package/lib/components/navigation/sidebar/sidebar.component.d.ts +0 -26
- package/lib/components/navigation/skiplink/skiplink/skiplink.component.d.ts +0 -17
- package/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.d.ts +0 -24
- package/lib/components/navigation/skiplink/skiplink.module.d.ts +0 -8
- package/lib/components/utils/error-page/error-page.component.d.ts +0 -44
- package/lib/components/utils/icon/icon.component.d.ts +0 -53
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +0 -27
- package/lib/design-angular-kit.module.d.ts +0 -53
- package/lib/enums/colors.enums.d.ts +0 -10
- package/lib/enums/sizes.enum.d.ts +0 -7
- package/lib/interfaces/design-angular-kit-config.d.ts +0 -30
- package/lib/interfaces/form.d.ts +0 -67
- package/lib/interfaces/icon.d.ts +0 -4
- package/lib/interfaces/sortable-table.d.ts +0 -33
- package/lib/interfaces/utils.d.ts +0 -10
- package/lib/pipes/date-ago.pipe.d.ts +0 -17
- package/lib/pipes/duration.pipe.d.ts +0 -35
- package/lib/pipes/mark-matching-text.pipe.d.ts +0 -18
- package/lib/provide-design-angular-kit.d.ts +0 -7
- package/lib/services/notification/notification.service.d.ts +0 -63
- package/lib/utils/date-utils.d.ts +0 -79
- package/lib/utils/file-utils.d.ts +0 -32
- package/lib/utils/regex.d.ts +0 -34
- package/lib/validators/it-validators.d.ts +0 -69
- package/schematics/ng-add/index.d.ts +0 -3
- package/schematics/ng-add/index.js +0 -29
- package/schematics/ng-add/index.js.map +0 -1
- package/schematics/ng-add/index.spec.d.ts +0 -1
- package/schematics/ng-add/index.spec.js +0 -43
- package/schematics/ng-add/index.spec.js.map +0 -1
- package/schematics/ng-add/rules/setup-project/add-animations.d.ts +0 -2
- package/schematics/ng-add/rules/setup-project/add-animations.js +0 -11
- package/schematics/ng-add/rules/setup-project/add-animations.js.map +0 -1
- package/schematics/ng-add/rules/setup-project/add-assets.d.ts +0 -3
- package/schematics/ng-add/rules/setup-project/add-assets.js +0 -50
- package/schematics/ng-add/rules/setup-project/add-assets.js.map +0 -1
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.d.ts +0 -3
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js +0 -43
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js.map +0 -1
- package/schematics/ng-add/rules/setup-project/add-http-client.d.ts +0 -2
- package/schematics/ng-add/rules/setup-project/add-http-client.js +0 -11
- package/schematics/ng-add/rules/setup-project/add-http-client.js.map +0 -1
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.d.ts +0 -11
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js +0 -112
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js.map +0 -1
- package/schematics/ng-add/rules/setup-project/add-localisation.d.ts +0 -3
- package/schematics/ng-add/rules/setup-project/add-localisation.js +0 -50
- package/schematics/ng-add/rules/setup-project/add-localisation.js.map +0 -1
- package/schematics/ng-add/rules/setup-project/angular-json-helper.d.ts +0 -2
- package/schematics/ng-add/rules/setup-project/angular-json-helper.js +0 -13
- package/schematics/ng-add/rules/setup-project/angular-json-helper.js.map +0 -1
- package/schematics/ng-add/rules/setup-project/exceptions.d.ts +0 -7
- package/schematics/ng-add/rules/setup-project/exceptions.js +0 -17
- package/schematics/ng-add/rules/setup-project/exceptions.js.map +0 -1
- package/schematics/ng-add/rules/setup-project/index.js +0 -23
- package/schematics/ng-add/rules/setup-project/index.js.map +0 -1
- package/schematics/ng-add/schema.js +0 -3
- package/schematics/ng-add/schema.js.map +0 -1
- package/schematics/ng-add/setup-project.d.ts +0 -3
- package/schematics/ng-add/setup-project.js +0 -37
- package/schematics/ng-add/setup-project.js.map +0 -1
- package/schematics/ng-add/setup-project.spec.d.ts +0 -1
- package/schematics/ng-add/setup-project.spec.js +0 -139
- package/schematics/ng-add/setup-project.spec.js.map +0 -1
- package/schematics/ng-add/utils.d.ts +0 -14
- package/schematics/ng-add/utils.js +0 -49
- package/schematics/ng-add/utils.js.map +0 -1
- package/schematics/ng-add/versions-helper.d.ts +0 -3
- package/schematics/ng-add/versions-helper.js +0 -40
- package/schematics/ng-add/versions-helper.js.map +0 -1
- /package/schematics/ng-add/rules/setup-project/{index.d.ts → index.ts} +0 -0
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../utils/coercion";
|
|
5
|
-
export declare class ItPaginationComponent implements OnChanges {
|
|
6
|
-
/**
|
|
7
|
-
* Index of page (start 0)
|
|
8
|
-
*/
|
|
9
|
-
currentPage: number;
|
|
10
|
-
/**
|
|
11
|
-
* Max number of page (counter)
|
|
12
|
-
*/
|
|
13
|
-
pageNumbers: number;
|
|
14
|
-
/**
|
|
15
|
-
* Number of pages closest to the current one to display
|
|
16
|
-
* @default 5
|
|
17
|
-
*/
|
|
18
|
-
visiblePages: number;
|
|
19
|
-
/**
|
|
20
|
-
* Pagination alignment (justify-content)
|
|
21
|
-
*/
|
|
22
|
-
alignment: 'center' | 'end' | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Enable/Disable simple mode
|
|
25
|
-
* Pagination in the "Simple mode" version is optimized for mobile devices.
|
|
26
|
-
* @default false - disabled
|
|
27
|
-
*/
|
|
28
|
-
simpleMode?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Enable/Disable text links
|
|
31
|
-
* Chevron icons used as navigation links are replaced by text links such as “previous” and “next”.
|
|
32
|
-
* @default false - disabled
|
|
33
|
-
*/
|
|
34
|
-
textLinks?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Current value of Changer
|
|
37
|
-
* If is set show the Changer
|
|
38
|
-
* @default undefined - hide the Changer
|
|
39
|
-
*/
|
|
40
|
-
currentChanger: number | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* Available Changer values
|
|
43
|
-
* @default [10, 25, 50, 100]
|
|
44
|
-
*/
|
|
45
|
-
changerValues: Array<number>;
|
|
46
|
-
/**
|
|
47
|
-
* Hide/Show "Jump to page" input
|
|
48
|
-
* @default false - hidden
|
|
49
|
-
*/
|
|
50
|
-
showJumpToPage?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Fired when page is changed. Emit the new index of page
|
|
53
|
-
*/
|
|
54
|
-
pageEvent: EventEmitter<number>;
|
|
55
|
-
/**
|
|
56
|
-
* Fired when changer is changed. Emit the new changer value
|
|
57
|
-
*/
|
|
58
|
-
changerEvent: EventEmitter<number>;
|
|
59
|
-
/**
|
|
60
|
-
* The pages
|
|
61
|
-
* @protected
|
|
62
|
-
*/
|
|
63
|
-
protected pages: Array<number>;
|
|
64
|
-
/**
|
|
65
|
-
* Jump to page input
|
|
66
|
-
* @protected
|
|
67
|
-
*/
|
|
68
|
-
protected jumpToPage: FormControl<number | null>;
|
|
69
|
-
constructor();
|
|
70
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
71
|
-
/**
|
|
72
|
-
* Create array to generate pagination of `visiblePages` element
|
|
73
|
-
*/
|
|
74
|
-
private calculatePages;
|
|
75
|
-
/**
|
|
76
|
-
* On click page change
|
|
77
|
-
* @param event click event
|
|
78
|
-
* @param newPage the new page of table
|
|
79
|
-
*/
|
|
80
|
-
protected pageChange(event: Event, newPage: number): void;
|
|
81
|
-
/**
|
|
82
|
-
* On click changer
|
|
83
|
-
* @param event click event
|
|
84
|
-
* @param value the new changer value
|
|
85
|
-
*/
|
|
86
|
-
protected changerChange(event: Event, value: number): void;
|
|
87
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItPaginationComponent, never>;
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItPaginationComponent, "it-pagination", never, { "currentPage": { "alias": "currentPage"; "required": true; }; "pageNumbers": { "alias": "pageNumbers"; "required": true; }; "visiblePages": { "alias": "visiblePages"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "simpleMode": { "alias": "simpleMode"; "required": false; }; "textLinks": { "alias": "textLinks"; "required": false; }; "currentChanger": { "alias": "currentChanger"; "required": false; }; "changerValues": { "alias": "changerValues"; "required": false; }; "showJumpToPage": { "alias": "showJumpToPage"; "required": false; }; }, { "pageEvent": "pageEvent"; "changerEvent": "changerEvent"; }, never, ["*"], true, never>;
|
|
89
|
-
static ngAcceptInputType_simpleMode: i1.BooleanInput;
|
|
90
|
-
static ngAcceptInputType_textLinks: i1.BooleanInput;
|
|
91
|
-
static ngAcceptInputType_showJumpToPage: i1.BooleanInput;
|
|
92
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ElementPlacement } from '../../../interfaces/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../utils/coercion";
|
|
5
|
-
export declare class ItPopoverDirective implements AfterViewInit, OnDestroy {
|
|
6
|
-
private readonly _elementRef;
|
|
7
|
-
/**
|
|
8
|
-
* Define the popover content
|
|
9
|
-
* @param content the popover content
|
|
10
|
-
*/
|
|
11
|
-
set content(content: string);
|
|
12
|
-
/**
|
|
13
|
-
* Define the popover title
|
|
14
|
-
* @param title the popover title
|
|
15
|
-
*/
|
|
16
|
-
set popoverTitle(title: string | undefined);
|
|
17
|
-
/**
|
|
18
|
-
* Define the popover placement
|
|
19
|
-
* @param placement
|
|
20
|
-
*/
|
|
21
|
-
set popoverPlacement(placement: ElementPlacement);
|
|
22
|
-
/**
|
|
23
|
-
* Appends the popover to a specific element.
|
|
24
|
-
* @param container
|
|
25
|
-
*/
|
|
26
|
-
set popoverContainer(container: 'body' | string | undefined);
|
|
27
|
-
/**
|
|
28
|
-
* Indicates whether the title contains html
|
|
29
|
-
* @param html true if contain html
|
|
30
|
-
*/
|
|
31
|
-
set popoverHtml(html: boolean);
|
|
32
|
-
/**
|
|
33
|
-
* How popover is triggered
|
|
34
|
-
* - 'hover': To open the Popover on hover of the mouse over the element
|
|
35
|
-
* - 'focus': To ignore popovers on the user's next click of an element other than the toggle element.
|
|
36
|
-
* @param trigger
|
|
37
|
-
*/
|
|
38
|
-
set popoverTrigger(trigger: 'click' | 'hover' | 'focus' | 'manual' | undefined);
|
|
39
|
-
/**
|
|
40
|
-
* This event fires immediately when the show method is called.
|
|
41
|
-
*/
|
|
42
|
-
showEvent: EventEmitter<Event>;
|
|
43
|
-
/**
|
|
44
|
-
* This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
|
|
45
|
-
*/
|
|
46
|
-
shownEvent: EventEmitter<Event>;
|
|
47
|
-
/**
|
|
48
|
-
* This event fires immediately when the hide method is called.
|
|
49
|
-
*/
|
|
50
|
-
hideEvent: EventEmitter<Event>;
|
|
51
|
-
/**
|
|
52
|
-
* This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
|
|
53
|
-
*/
|
|
54
|
-
hiddenEvent: EventEmitter<Event>;
|
|
55
|
-
/**
|
|
56
|
-
* This event fires after the show event when the tooltip template has been added to the DOM.
|
|
57
|
-
*/
|
|
58
|
-
insertedEvent: EventEmitter<Event>;
|
|
59
|
-
private readonly element;
|
|
60
|
-
private popover?;
|
|
61
|
-
constructor(_elementRef: ElementRef);
|
|
62
|
-
ngAfterViewInit(): void;
|
|
63
|
-
ngOnDestroy(): void;
|
|
64
|
-
/**
|
|
65
|
-
* Shows the popover of an item.
|
|
66
|
-
*/
|
|
67
|
-
show(): void;
|
|
68
|
-
/**
|
|
69
|
-
* Hide the popover of an element.
|
|
70
|
-
*/
|
|
71
|
-
hide(): void;
|
|
72
|
-
/**
|
|
73
|
-
* Activate / Deactivate the popover of an element
|
|
74
|
-
*/
|
|
75
|
-
toggle(): void;
|
|
76
|
-
/**
|
|
77
|
-
* Hides and destroys the popover of an element.
|
|
78
|
-
*/
|
|
79
|
-
dispose(): void;
|
|
80
|
-
/**
|
|
81
|
-
* Gives the popover of an element a chance to be shown.
|
|
82
|
-
*/
|
|
83
|
-
enable(): void;
|
|
84
|
-
/**
|
|
85
|
-
* Removes the ability to show the popover of an element.
|
|
86
|
-
*/
|
|
87
|
-
disable(): void;
|
|
88
|
-
/**
|
|
89
|
-
* Toggles the possibility that the popover of an element is shown or hidden.
|
|
90
|
-
*/
|
|
91
|
-
toggleEnabled(): void;
|
|
92
|
-
/**
|
|
93
|
-
* Updates the position of an element's popover.
|
|
94
|
-
*/
|
|
95
|
-
update(): void;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItPopoverDirective, never>;
|
|
97
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItPopoverDirective, "[itPopover]", ["itPopover"], { "content": { "alias": "itPopover"; "required": false; }; "popoverTitle": { "alias": "popoverTitle"; "required": false; }; "popoverPlacement": { "alias": "popoverPlacement"; "required": false; }; "popoverContainer": { "alias": "popoverContainer"; "required": false; }; "popoverHtml": { "alias": "popoverHtml"; "required": false; }; "popoverTrigger": { "alias": "popoverTrigger"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "insertedEvent": "insertedEvent"; }, never, never, true, never>;
|
|
98
|
-
static ngAcceptInputType_popoverHtml: i1.BooleanInput;
|
|
99
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ProgressBarColor } from '../../../interfaces/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../../utils/coercion";
|
|
4
|
-
export declare class ItProgressBarComponent {
|
|
5
|
-
/**
|
|
6
|
-
* The progress bar value [0, 100]
|
|
7
|
-
*/
|
|
8
|
-
value: number;
|
|
9
|
-
/**
|
|
10
|
-
* Show the progress label
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
showLabel?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Show the progress as indeterminate
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
indeterminate?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* The progress bar color
|
|
21
|
-
*/
|
|
22
|
-
color: ProgressBarColor | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Return the background color
|
|
25
|
-
*/
|
|
26
|
-
get bgColor(): string;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItProgressBarComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItProgressBarComponent, "it-progress-bar", never, { "value": { "alias": "value"; "required": true; }; "showLabel": { "alias": "showLabel"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
-
static ngAcceptInputType_showLabel: i1.BooleanInput;
|
|
30
|
-
static ngAcceptInputType_indeterminate: i1.BooleanInput;
|
|
31
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ProgressBarColor } from '../../../interfaces/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ItProgressButtonComponent {
|
|
4
|
-
/**
|
|
5
|
-
* Behavior of the progress bar
|
|
6
|
-
* - <b>true</b>: Show indeterminate progress bar
|
|
7
|
-
* - <b>false</b> or <b>undefined</b>: Hide progress bar
|
|
8
|
-
* - <b>number</b> [0, 100]: Assign a specific value to the progress bar
|
|
9
|
-
* @default undefined
|
|
10
|
-
*/
|
|
11
|
-
progress: number | boolean | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* The progress bar color
|
|
14
|
-
*/
|
|
15
|
-
progressColor: ProgressBarColor | undefined;
|
|
16
|
-
get isProgress(): boolean;
|
|
17
|
-
get progressValue(): number;
|
|
18
|
-
get isIndeterminate(): boolean;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItProgressButtonComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItProgressButtonComponent, "button[itButton][progress]", never, { "progress": { "alias": "progress"; "required": false; }; "progressColor": { "alias": "progressColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
21
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../../../utils/coercion";
|
|
3
|
-
export declare class ItSpinnerComponent {
|
|
4
|
-
/**
|
|
5
|
-
* The spinner is active
|
|
6
|
-
* @default true
|
|
7
|
-
*/
|
|
8
|
-
active: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Show a small spinner
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
small?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Show the double animation
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
double?: boolean;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItSpinnerComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItSpinnerComponent, "it-spinner", never, { "active": { "alias": "active"; "required": false; }; "small": { "alias": "small"; "required": false; }; "double": { "alias": "double"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
-
static ngAcceptInputType_active: i1.BooleanInput;
|
|
22
|
-
static ngAcceptInputType_small: i1.BooleanInput;
|
|
23
|
-
static ngAcceptInputType_double: i1.BooleanInput;
|
|
24
|
-
}
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
-
import { ItSteppersItemComponent } from '../steppers-item/steppers-item.component';
|
|
3
|
-
import { ProgressBarColor } from '../../../../interfaces/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../../utils/coercion";
|
|
6
|
-
export declare class ItSteppersContainerComponent implements AfterViewInit, OnDestroy {
|
|
7
|
-
private readonly _changeDetectorRef;
|
|
8
|
-
/**
|
|
9
|
-
* The active step index
|
|
10
|
-
* @param index the step index
|
|
11
|
-
*/
|
|
12
|
-
activeStep: number;
|
|
13
|
-
/**
|
|
14
|
-
* Show the stepper header
|
|
15
|
-
* @default true
|
|
16
|
-
*/
|
|
17
|
-
showHeader: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Dark style
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
dark?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* The labels present in the header steps can be anticipated by the relative ordinal number.
|
|
25
|
-
* @efualt false
|
|
26
|
-
*/
|
|
27
|
-
steppersNumber?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* The progress style
|
|
30
|
-
* -<b>progress</b>: Show progress bar - You can change the color with the `progressColor` attribute
|
|
31
|
-
* -<b>dots</b>: Show progress dots
|
|
32
|
-
* @default undefined - don't show progress
|
|
33
|
-
*/
|
|
34
|
-
progressStyle: 'progress' | 'dots' | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* Customize progress color
|
|
37
|
-
*/
|
|
38
|
-
progressColor: ProgressBarColor | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Show the back button
|
|
41
|
-
* @default true
|
|
42
|
-
*/
|
|
43
|
-
showBackButton: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Disable the back button
|
|
46
|
-
* @default false
|
|
47
|
-
*/
|
|
48
|
-
disableBackButton?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Show the forward button
|
|
51
|
-
* @default true
|
|
52
|
-
*/
|
|
53
|
-
showForwardButton: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Disable the forward button
|
|
56
|
-
* @default false
|
|
57
|
-
*/
|
|
58
|
-
disableForwardButton?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Show the confirm button
|
|
61
|
-
* @default false
|
|
62
|
-
*/
|
|
63
|
-
showConfirmButton?: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* Disable the confirm button
|
|
66
|
-
* @default false
|
|
67
|
-
*/
|
|
68
|
-
disableConfirmButton?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Show the confirm button as indeterminate progress button
|
|
71
|
-
*/
|
|
72
|
-
confirmLoading?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Show the save button
|
|
75
|
-
* @default false
|
|
76
|
-
*/
|
|
77
|
-
showSaveButton?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Disable the save button
|
|
80
|
-
* @default false
|
|
81
|
-
*/
|
|
82
|
-
disableSaveButton?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Show the save button as indeterminate progress button
|
|
85
|
-
*/
|
|
86
|
-
saveLoading?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* The stepper items
|
|
89
|
-
*/
|
|
90
|
-
steps?: QueryList<ItSteppersItemComponent>;
|
|
91
|
-
/**
|
|
92
|
-
* On back button click
|
|
93
|
-
* @event activeStep the current step index
|
|
94
|
-
*/
|
|
95
|
-
backClick: EventEmitter<number>;
|
|
96
|
-
/**
|
|
97
|
-
* On forward button click
|
|
98
|
-
* @event activeStep the current step index
|
|
99
|
-
*/
|
|
100
|
-
forwardClick: EventEmitter<number>;
|
|
101
|
-
/**
|
|
102
|
-
* On confirm button click
|
|
103
|
-
* @event activeStep the current step index
|
|
104
|
-
*/
|
|
105
|
-
confirmClick: EventEmitter<number>;
|
|
106
|
-
/**
|
|
107
|
-
* On save button click
|
|
108
|
-
* @event activeStep the current step index
|
|
109
|
-
*/
|
|
110
|
-
saveClick: EventEmitter<number>;
|
|
111
|
-
private stepsSubscriptions?;
|
|
112
|
-
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
113
|
-
ngAfterViewInit(): void;
|
|
114
|
-
ngOnDestroy(): void;
|
|
115
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersContainerComponent, never>;
|
|
116
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItSteppersContainerComponent, "it-steppers-container", never, { "activeStep": { "alias": "activeStep"; "required": true; }; "showHeader": { "alias": "showHeader"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "steppersNumber": { "alias": "steppersNumber"; "required": false; }; "progressStyle": { "alias": "progressStyle"; "required": false; }; "progressColor": { "alias": "progressColor"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "disableBackButton": { "alias": "disableBackButton"; "required": false; }; "showForwardButton": { "alias": "showForwardButton"; "required": false; }; "disableForwardButton": { "alias": "disableForwardButton"; "required": false; }; "showConfirmButton": { "alias": "showConfirmButton"; "required": false; }; "disableConfirmButton": { "alias": "disableConfirmButton"; "required": false; }; "confirmLoading": { "alias": "confirmLoading"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "disableSaveButton": { "alias": "disableSaveButton"; "required": false; }; "saveLoading": { "alias": "saveLoading"; "required": false; }; }, { "backClick": "backClick"; "forwardClick": "forwardClick"; "confirmClick": "confirmClick"; "saveClick": "saveClick"; }, ["steps"], never, true, never>;
|
|
117
|
-
static ngAcceptInputType_showHeader: i1.BooleanInput;
|
|
118
|
-
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
119
|
-
static ngAcceptInputType_steppersNumber: i1.BooleanInput;
|
|
120
|
-
static ngAcceptInputType_showBackButton: i1.BooleanInput;
|
|
121
|
-
static ngAcceptInputType_disableBackButton: i1.BooleanInput;
|
|
122
|
-
static ngAcceptInputType_showForwardButton: i1.BooleanInput;
|
|
123
|
-
static ngAcceptInputType_disableForwardButton: i1.BooleanInput;
|
|
124
|
-
static ngAcceptInputType_showConfirmButton: i1.BooleanInput;
|
|
125
|
-
static ngAcceptInputType_disableConfirmButton: i1.BooleanInput;
|
|
126
|
-
static ngAcceptInputType_confirmLoading: i1.BooleanInput;
|
|
127
|
-
static ngAcceptInputType_showSaveButton: i1.BooleanInput;
|
|
128
|
-
static ngAcceptInputType_disableSaveButton: i1.BooleanInput;
|
|
129
|
-
static ngAcceptInputType_saveLoading: i1.BooleanInput;
|
|
130
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { IconName } from '../../../../interfaces/icon';
|
|
3
|
-
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ItSteppersItemComponent extends ItAbstractComponent {
|
|
6
|
-
/**
|
|
7
|
-
* The labels present in the header steps
|
|
8
|
-
*/
|
|
9
|
-
label: string;
|
|
10
|
-
/**
|
|
11
|
-
* The labels present in the header steps can be preceded by an icon.
|
|
12
|
-
*/
|
|
13
|
-
icon: IconName | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* The title for the icon.
|
|
16
|
-
*/
|
|
17
|
-
iconTitle: string | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* The content of step
|
|
20
|
-
*/
|
|
21
|
-
htmlContent: TemplateRef<any>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersItemComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItSteppersItemComponent, "it-steppers-item", never, { "label": { "alias": "label"; "required": true; }; "icon": { "alias": "icon"; "required": false; }; "iconTitle": { "alias": "iconTitle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
24
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./steppers-container/steppers-container.component";
|
|
3
|
-
import * as i2 from "./steppers-item/steppers-item.component";
|
|
4
|
-
export declare class ItSteppersModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ItSteppersModule, never, [typeof i1.ItSteppersContainerComponent, typeof i2.ItSteppersItemComponent], [typeof i1.ItSteppersContainerComponent, typeof i2.ItSteppersItemComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ItSteppersModule>;
|
|
8
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
-
import { ItTabItemComponent } from '../tab-item/tab-item.component';
|
|
3
|
-
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../../utils/coercion";
|
|
6
|
-
export declare class ItTabContainerComponent extends ItAbstractComponent implements OnDestroy, AfterViewInit {
|
|
7
|
-
/**
|
|
8
|
-
* Tabs automatically occupy the entire available width
|
|
9
|
-
* @default false
|
|
10
|
-
*/
|
|
11
|
-
auto?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* To obtain the correct margin between text and icon in the horizontally developed tab
|
|
14
|
-
*/
|
|
15
|
-
iconText?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Dark style
|
|
18
|
-
*/
|
|
19
|
-
dark?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Show items as cards
|
|
22
|
-
*/
|
|
23
|
-
cards?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Show vertical navigation
|
|
26
|
-
*/
|
|
27
|
-
vertical?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* The tab position
|
|
30
|
-
*/
|
|
31
|
-
inverted?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* If tabs are editable
|
|
34
|
-
*/
|
|
35
|
-
editable?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* The tab items
|
|
38
|
-
*/
|
|
39
|
-
tabs?: QueryList<ItTabItemComponent>;
|
|
40
|
-
private tabNavLinks?;
|
|
41
|
-
tabSelected: EventEmitter<ItTabItemComponent>;
|
|
42
|
-
tabClosed: EventEmitter<any>;
|
|
43
|
-
tabAdded: EventEmitter<any>;
|
|
44
|
-
private tabSubscriptions?;
|
|
45
|
-
constructor();
|
|
46
|
-
ngAfterViewInit(): void;
|
|
47
|
-
ngOnDestroy(): void;
|
|
48
|
-
onTab(tab: ItTabItemComponent): void;
|
|
49
|
-
clickToClose(index: number): void;
|
|
50
|
-
clickToAdd($event: Event): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItTabContainerComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItTabContainerComponent, "it-tab-container", never, { "auto": { "alias": "auto"; "required": false; }; "iconText": { "alias": "iconText"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "cards": { "alias": "cards"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; }, { "tabSelected": "tabSelected"; "tabClosed": "tabClosed"; "tabAdded": "tabAdded"; }, ["tabs"], never, true, never>;
|
|
53
|
-
static ngAcceptInputType_auto: i1.BooleanInput;
|
|
54
|
-
static ngAcceptInputType_iconText: i1.BooleanInput;
|
|
55
|
-
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
56
|
-
static ngAcceptInputType_cards: i1.BooleanInput;
|
|
57
|
-
static ngAcceptInputType_vertical: i1.BooleanInput;
|
|
58
|
-
static ngAcceptInputType_inverted: i1.BooleanInput;
|
|
59
|
-
static ngAcceptInputType_editable: i1.BooleanInput;
|
|
60
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
3
|
-
import { IconName } from '../../../../interfaces/icon';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../../utils/coercion";
|
|
6
|
-
export declare class ItTabItemComponent extends ItAbstractComponent implements AfterViewInit {
|
|
7
|
-
/**
|
|
8
|
-
* The tab label
|
|
9
|
-
*/
|
|
10
|
-
label: string | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* The icon name
|
|
13
|
-
*/
|
|
14
|
-
icon: IconName | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Default active tab
|
|
17
|
-
* @default false
|
|
18
|
-
*/
|
|
19
|
-
active?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Default disabled tab
|
|
22
|
-
* @default false
|
|
23
|
-
*/
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Custom class
|
|
27
|
-
*/
|
|
28
|
-
class: string;
|
|
29
|
-
/**
|
|
30
|
-
* The content of tab
|
|
31
|
-
*/
|
|
32
|
-
htmlContent: TemplateRef<any>;
|
|
33
|
-
ngAfterViewInit(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItTabItemComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItTabItemComponent, "it-tab-item", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "active": { "alias": "active"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
36
|
-
static ngAcceptInputType_active: i1.BooleanInput;
|
|
37
|
-
static ngAcceptInputType_disabled: i1.BooleanInput;
|
|
38
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./tab-container/tab-container.component";
|
|
3
|
-
import * as i2 from "./tab-item/tab-item.component";
|
|
4
|
-
export declare class ItTabModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItTabModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ItTabModule, never, [typeof i1.ItTabContainerComponent, typeof i2.ItTabItemComponent], [typeof i1.ItTabContainerComponent, typeof i2.ItTabItemComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ItTabModule>;
|
|
8
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ItSortDirective } from '../sort.directive';
|
|
3
|
-
import { IconName } from '../../../../../interfaces/icon';
|
|
4
|
-
import { ItSortable, ItSortDefaultOptions, SortDirection, SortHeaderArrowPosition } from '../../../../../interfaces/sortable-table';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Applies sorting behavior (click to change sort) and styles to an element, including an
|
|
8
|
-
* arrow to display the current sort direction.
|
|
9
|
-
*
|
|
10
|
-
* Must be provided with an id and contained within a parent ItSort directive.
|
|
11
|
-
*
|
|
12
|
-
* If used on header cells in a CdkTable, it will automatically default its id from its containing
|
|
13
|
-
* column definition.
|
|
14
|
-
*/
|
|
15
|
-
export declare class ItSortHeaderComponent implements ItSortable, OnDestroy, OnInit {
|
|
16
|
-
private readonly _changeDetectorRef;
|
|
17
|
-
readonly _sort: ItSortDirective;
|
|
18
|
-
/**
|
|
19
|
-
* ID of this sort header. If used within the context of a CdkColumnDef, this will default to
|
|
20
|
-
* the column's name.
|
|
21
|
-
*/
|
|
22
|
-
id: string;
|
|
23
|
-
/** Sets the position of the arrow that displays when sorted. */
|
|
24
|
-
arrowPosition: SortHeaderArrowPosition;
|
|
25
|
-
/** Overrides the sort start value of the containing MatSort for this SortHeaderComponent. */
|
|
26
|
-
start?: SortDirection;
|
|
27
|
-
/** whether the sort header is disabled. */
|
|
28
|
-
sortDisabled: boolean;
|
|
29
|
-
/** Overrides the disable clear value of the containing SortDirective for this MatSortable. */
|
|
30
|
-
disableSortClear?: boolean;
|
|
31
|
-
readonly sortHeaderClass = "it-sort-header";
|
|
32
|
-
private _rerenderSubscription?;
|
|
33
|
-
/** The direction the arrow should be facing according to the current state. */
|
|
34
|
-
private _arrowDirection?;
|
|
35
|
-
constructor(_changeDetectorRef: ChangeDetectorRef, _sort: ItSortDirective, defaultOptions?: ItSortDefaultOptions);
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
|
-
_handleClick(): void;
|
|
39
|
-
/**
|
|
40
|
-
* Whether this MatSortHeader is currently sorted in either ascending or descending order.
|
|
41
|
-
*/
|
|
42
|
-
protected get isSorted(): boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Returns the icon class by the arrow direction
|
|
45
|
-
*/
|
|
46
|
-
protected get arrowIconClass(): IconName;
|
|
47
|
-
/**
|
|
48
|
-
* Updates the direction the arrow should be pointing. If it is not sorted, the arrow should be
|
|
49
|
-
* facing the start direction. Otherwise if it is sorted, the arrow should point in the currently
|
|
50
|
-
* active sorted direction. The reason this is updated through a function is because the direction
|
|
51
|
-
* should only be changed at specific times - when deactivated but the hint is displayed and when
|
|
52
|
-
* the sort is active and the direction changes. Otherwise the arrow's direction should linger
|
|
53
|
-
* in cases such as the sort becoming deactivated but we want to animate the arrow away while
|
|
54
|
-
* preserving its direction, even though the next sort direction is actually different and should
|
|
55
|
-
* only be changed once the arrow displays again (hint or activation).
|
|
56
|
-
*/
|
|
57
|
-
private updateArrowDirection;
|
|
58
|
-
get isDisabled(): boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Gets the aria-sort attribute that should be applied to this sort header. If this header
|
|
61
|
-
* is not sorted, returns null so that the attribute is removed from the host element. Aria spec
|
|
62
|
-
* says that the aria-sort property should only be present on one header at a time, so removing
|
|
63
|
-
* ensures this is true.
|
|
64
|
-
*/
|
|
65
|
-
get ariaSortAttribute(): "none" | "ascending" | "descending";
|
|
66
|
-
/** Handles changes in the sorting state. */
|
|
67
|
-
private _handleStateChanges;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItSortHeaderComponent, [null, { optional: true; }, { optional: true; }]>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItSortHeaderComponent, "[it-sort-header]", ["itSortHeader"], { "id": { "alias": "it-sort-header"; "required": false; }; "arrowPosition": { "alias": "arrowPosition"; "required": false; }; "start": { "alias": "start"; "required": false; }; "sortDisabled": { "alias": "sortDisabled"; "required": false; }; "disableSortClear": { "alias": "disableSortClear"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
70
|
-
static ngAcceptInputType_sortDisabled: unknown;
|
|
71
|
-
static ngAcceptInputType_disableSortClear: unknown;
|
|
72
|
-
}
|