@ardium-pl/ui 5.0.0-alpha.106
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 +25 -0
- package/fesm2022/ardium-pl-ui.mjs +18003 -0
- package/fesm2022/ardium-pl-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/_internal/boolean-component.d.ts +65 -0
- package/lib/_internal/clear-button/clear-button.component.d.ts +7 -0
- package/lib/_internal/clear-button/clear-button.module.d.ts +8 -0
- package/lib/_internal/disablable-component.d.ts +24 -0
- package/lib/_internal/focusable-component.d.ts +56 -0
- package/lib/_internal/form-field-component.d.ts +22 -0
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +79 -0
- package/lib/_internal/item-storages/simple-item-storage.d.ts +167 -0
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +75 -0
- package/lib/_internal/models/pagination.model.d.ts +49 -0
- package/lib/_internal/models/queue.d.ts +21 -0
- package/lib/_internal/ngmodel-component.d.ts +58 -0
- package/lib/_internal/public-api.d.ts +3 -0
- package/lib/_internal/selectable-list-component.d.ts +76 -0
- package/lib/_internal/utils/context-to-inputs.d.ts +3 -0
- package/lib/_internal/utils/date.utils.d.ts +21 -0
- package/lib/badge/badge.defaults.d.ts +13 -0
- package/lib/badge/badge.directive.d.ts +27 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/badge.types.d.ts +17 -0
- package/lib/badge/index.d.ts +4 -0
- package/lib/breakpoints/breakpoint.service.d.ts +12 -0
- package/lib/breakpoints/breakpoint.utils.d.ts +7 -0
- package/lib/breakpoints/breakpoints.d.ts +13 -0
- package/lib/breakpoints/index.d.ts +2 -0
- package/lib/buttons/_button-base.d.ts +25 -0
- package/lib/buttons/_button-base.defaults.d.ts +17 -0
- package/lib/buttons/button/button.component.d.ts +22 -0
- package/lib/buttons/button/button.defaults.d.ts +10 -0
- package/lib/buttons/button/button.directive.d.ts +23 -0
- package/lib/buttons/button/button.module.d.ts +9 -0
- package/lib/buttons/button/index.d.ts +4 -0
- package/lib/buttons/button-group/button-group.component.d.ts +25 -0
- package/lib/buttons/button-group/button-group.defaults.d.ts +7 -0
- package/lib/buttons/button-group/button-group.module.d.ts +8 -0
- package/lib/buttons/button-group/index.d.ts +3 -0
- package/lib/buttons/fab/fab.component.d.ts +13 -0
- package/lib/buttons/fab/fab.defaults.d.ts +8 -0
- package/lib/buttons/fab/fab.module.d.ts +8 -0
- package/lib/buttons/fab/index.d.ts +3 -0
- package/lib/buttons/general-button.types.d.ts +57 -0
- package/lib/buttons/icon-button/icon-button.component.d.ts +20 -0
- package/lib/buttons/icon-button/icon-button.defaults.d.ts +7 -0
- package/lib/buttons/icon-button/icon-button.module.d.ts +8 -0
- package/lib/buttons/icon-button/index.d.ts +3 -0
- package/lib/calendar/abstract-calendar.d.ts +135 -0
- package/lib/calendar/calendar.component.d.ts +15 -0
- package/lib/calendar/calendar.defaults.d.ts +34 -0
- package/lib/calendar/calendar.directives.d.ts +51 -0
- package/lib/calendar/calendar.internal-directives.d.ts +33 -0
- package/lib/calendar/calendar.internal-types.d.ts +5 -0
- package/lib/calendar/calendar.module.d.ts +10 -0
- package/lib/calendar/calendar.types.d.ts +111 -0
- package/lib/calendar/index.d.ts +8 -0
- package/lib/calendar/range-calendar.component.d.ts +17 -0
- package/lib/calendar/range-calendar.directives.d.ts +51 -0
- package/lib/calendar/range-calendar.module.d.ts +10 -0
- package/lib/calendar/views/calendar-views.module.d.ts +13 -0
- package/lib/calendar/views/days-view/days-view.component.d.ts +86 -0
- package/lib/calendar/views/days-view/days-view.helpers.d.ts +20 -0
- package/lib/calendar/views/months-view/months-view.component.d.ts +73 -0
- package/lib/calendar/views/months-view/months-view.helpers.d.ts +3 -0
- package/lib/calendar/views/years-view/years-view.component.d.ts +71 -0
- package/lib/calendar/views/years-view/years-view.helpers.d.ts +3 -0
- package/lib/card/card.children.d.ts +44 -0
- package/lib/card/card.component.d.ts +15 -0
- package/lib/card/card.defaults.d.ts +10 -0
- package/lib/card/card.module.d.ts +9 -0
- package/lib/card/card.types.d.ts +10 -0
- package/lib/card/index.d.ts +5 -0
- package/lib/checkbox/checkbox.component.d.ts +38 -0
- package/lib/checkbox/checkbox.defaults.d.ts +12 -0
- package/lib/checkbox/checkbox.directives.d.ts +15 -0
- package/lib/checkbox/checkbox.internal-directives.d.ts +10 -0
- package/lib/checkbox/checkbox.module.d.ts +10 -0
- package/lib/checkbox/checkbox.types.d.ts +22 -0
- package/lib/checkbox/index.d.ts +5 -0
- package/lib/checkbox-list/checkbox-list.component.d.ts +55 -0
- package/lib/checkbox-list/checkbox-list.defaults.d.ts +20 -0
- package/lib/checkbox-list/checkbox-list.directives.d.ts +16 -0
- package/lib/checkbox-list/checkbox-list.module.d.ts +11 -0
- package/lib/checkbox-list/checkbox-list.types.d.ts +11 -0
- package/lib/checkbox-list/index.d.ts +5 -0
- package/lib/chip/chip.component.d.ts +20 -0
- package/lib/chip/chip.defaults.d.ts +15 -0
- package/lib/chip/chip.module.d.ts +11 -0
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +23 -0
- package/lib/chip/deletable-chip/deletable-chip.defaults.d.ts +8 -0
- package/lib/chip/index.d.ts +7 -0
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +25 -0
- package/lib/chip/selectable-chip/selectable-chip.defaults.d.ts +9 -0
- package/lib/dialog/dialog.component.d.ts +47 -0
- package/lib/dialog/dialog.defaults.d.ts +19 -0
- package/lib/dialog/dialog.directives.d.ts +15 -0
- package/lib/dialog/dialog.module.d.ts +11 -0
- package/lib/dialog/dialog.types.d.ts +38 -0
- package/lib/dialog/index.d.ts +5 -0
- package/lib/divider/divider.component.d.ts +6 -0
- package/lib/divider/divider.defaults.d.ts +11 -0
- package/lib/divider/divider.directive.d.ts +18 -0
- package/lib/divider/divider.module.d.ts +9 -0
- package/lib/divider/divider.types.d.ts +5 -0
- package/lib/divider/index.d.ts +5 -0
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +36 -0
- package/lib/dropdown-panel/dropdown-panel.defaults.d.ts +10 -0
- package/lib/dropdown-panel/dropdown-panel.module.d.ts +8 -0
- package/lib/dropdown-panel/dropdown-panel.types.d.ts +12 -0
- package/lib/dropdown-panel/index.d.ts +4 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +26 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.defaults.d.ts +10 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.directives.d.ts +21 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.module.d.ts +12 -0
- package/lib/file-inputs/file-drop-area/index.d.ts +4 -0
- package/lib/file-inputs/file-input/file-input.component.d.ts +38 -0
- package/lib/file-inputs/file-input/file-input.defaults.d.ts +17 -0
- package/lib/file-inputs/file-input/file-input.directives.d.ts +46 -0
- package/lib/file-inputs/file-input/file-input.module.d.ts +13 -0
- package/lib/file-inputs/file-input/index.d.ts +4 -0
- package/lib/file-inputs/file-input-base.d.ts +60 -0
- package/lib/file-inputs/file-input-base.defaults.d.ts +7 -0
- package/lib/file-inputs/file-input-types.d.ts +41 -0
- package/lib/form-field/auto-error/auto-error.component.d.ts +19 -0
- package/lib/form-field/auto-error/auto-error.provider.d.ts +7 -0
- package/lib/form-field/error/error.component.d.ts +6 -0
- package/lib/form-field/error/error.directive.d.ts +9 -0
- package/lib/form-field/form-field-base.d.ts +30 -0
- package/lib/form-field/form-field-child.token.d.ts +8 -0
- package/lib/form-field/form-field-native-inputs.d.ts +17 -0
- package/lib/form-field/form-field.component.d.ts +7 -0
- package/lib/form-field/form-field.defaults.d.ts +11 -0
- package/lib/form-field/form-field.module.d.ts +17 -0
- package/lib/form-field/hint/hint.component.d.ts +6 -0
- package/lib/form-field/hint/hint.directive.d.ts +9 -0
- package/lib/form-field/hint-error/hint-error.component.d.ts +6 -0
- package/lib/form-field/hint-error/hint-error.directive.d.ts +9 -0
- package/lib/form-field/horizontal-form-field.component.d.ts +7 -0
- package/lib/form-field/index.d.ts +15 -0
- package/lib/form-field/label/label.component.d.ts +12 -0
- package/lib/form-field-frame/form-field-frame.component.d.ts +43 -0
- package/lib/form-field-frame/form-field-frame.defaults.d.ts +13 -0
- package/lib/form-field-frame/form-field-frame.directives.d.ts +15 -0
- package/lib/form-field-frame/form-field-frame.module.d.ts +9 -0
- package/lib/form-field-frame/form-field-frame.types.d.ts +10 -0
- package/lib/form-field-frame/index.d.ts +5 -0
- package/lib/grid/grid.component.d.ts +63 -0
- package/lib/grid/grid.defaults.d.ts +16 -0
- package/lib/grid/grid.module.d.ts +7 -0
- package/lib/grid/grid.types.d.ts +38 -0
- package/lib/grid/grid.utils.d.ts +20 -0
- package/lib/grid/index.d.ts +4 -0
- package/lib/icon/icon.component.d.ts +28 -0
- package/lib/icon/icon.defaults.d.ts +11 -0
- package/lib/icon/icon.module.d.ts +9 -0
- package/lib/icon/icon.pipe.d.ts +7 -0
- package/lib/icon/index.d.ts +4 -0
- package/lib/inputs/_simple-input-base.d.ts +67 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.component.d.ts +69 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.defaults.d.ts +18 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.directives.d.ts +34 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.module.d.ts +13 -0
- package/lib/inputs/autocomplete-input/index.d.ts +4 -0
- package/lib/inputs/date-input/abstract-date-input.d.ts +109 -0
- package/lib/inputs/date-input/date-input.component.d.ts +52 -0
- package/lib/inputs/date-input/date-input.defaults.d.ts +54 -0
- package/lib/inputs/date-input/date-input.directives.d.ts +83 -0
- package/lib/inputs/date-input/date-input.module.d.ts +17 -0
- package/lib/inputs/date-input/date-input.serializers.d.ts +5 -0
- package/lib/inputs/date-input/date-input.types.d.ts +17 -0
- package/lib/inputs/date-input/date-range-input.component.d.ts +36 -0
- package/lib/inputs/date-input/date-range-input.directives.d.ts +83 -0
- package/lib/inputs/date-input/date-range-input.module.d.ts +17 -0
- package/lib/inputs/date-input/index.d.ts +11 -0
- package/lib/inputs/date-input/multipage-date-range-input.component.d.ts +50 -0
- package/lib/inputs/date-input/multipage-date-range-input.directives.d.ts +83 -0
- package/lib/inputs/date-input/multipage-date-range-input.module.d.ts +17 -0
- package/lib/inputs/digit-input/digit-input.component.d.ts +62 -0
- package/lib/inputs/digit-input/digit-input.defaults.d.ts +16 -0
- package/lib/inputs/digit-input/digit-input.model.d.ts +27 -0
- package/lib/inputs/digit-input/digit-input.module.d.ts +9 -0
- package/lib/inputs/digit-input/digit-input.types.d.ts +30 -0
- package/lib/inputs/digit-input/digit-input.utils.d.ts +20 -0
- package/lib/inputs/digit-input/index.d.ts +4 -0
- package/lib/inputs/hex-input/hex-input.component.d.ts +57 -0
- package/lib/inputs/hex-input/hex-input.defaults.d.ts +22 -0
- package/lib/inputs/hex-input/hex-input.directives.d.ts +21 -0
- package/lib/inputs/hex-input/hex-input.model.d.ts +26 -0
- package/lib/inputs/hex-input/hex-input.module.d.ts +11 -0
- package/lib/inputs/hex-input/index.d.ts +4 -0
- package/lib/inputs/input/index.d.ts +4 -0
- package/lib/inputs/input/input.component.d.ts +15 -0
- package/lib/inputs/input/input.defaults.d.ts +9 -0
- package/lib/inputs/input/input.directives.d.ts +21 -0
- package/lib/inputs/input/input.module.d.ts +11 -0
- package/lib/inputs/input-transformers.d.ts +24 -0
- package/lib/inputs/input-types.d.ts +15 -0
- package/lib/inputs/input-utils.d.ts +66 -0
- package/lib/inputs/number-input/index.d.ts +4 -0
- package/lib/inputs/number-input/number-input.component.d.ts +78 -0
- package/lib/inputs/number-input/number-input.defaults.d.ts +28 -0
- package/lib/inputs/number-input/number-input.directives.d.ts +21 -0
- package/lib/inputs/number-input/number-input.module.d.ts +11 -0
- package/lib/inputs/number-input/number-input.types.d.ts +6 -0
- package/lib/inputs/password-input/index.d.ts +5 -0
- package/lib/inputs/password-input/password-input.component.d.ts +48 -0
- package/lib/inputs/password-input/password-input.defaults.d.ts +20 -0
- package/lib/inputs/password-input/password-input.directives.d.ts +28 -0
- package/lib/inputs/password-input/password-input.module.d.ts +11 -0
- package/lib/inputs/password-input/password-input.types.d.ts +3 -0
- package/lib/kbd/index.d.ts +5 -0
- package/lib/kbd/kbd.component.d.ts +15 -0
- package/lib/kbd/kbd.defaults.d.ts +8 -0
- package/lib/kbd/kbd.directive.d.ts +13 -0
- package/lib/kbd/kbd.module.d.ts +10 -0
- package/lib/kbd/kbd.pipe.d.ts +8 -0
- package/lib/kbd-shortcut/index.d.ts +3 -0
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +18 -0
- package/lib/kbd-shortcut/kbd-shortcut.defaults.d.ts +8 -0
- package/lib/kbd-shortcut/kbd-shortcut.module.d.ts +9 -0
- package/lib/modal/index.d.ts +5 -0
- package/lib/modal/modal.component.d.ts +39 -0
- package/lib/modal/modal.defaults.d.ts +18 -0
- package/lib/modal/modal.directives.d.ts +8 -0
- package/lib/modal/modal.module.d.ts +12 -0
- package/lib/modal/modal.types.d.ts +3 -0
- package/lib/option/index.d.ts +2 -0
- package/lib/option/option.component.d.ts +25 -0
- package/lib/option/option.module.d.ts +8 -0
- package/lib/progress-bar/index.d.ts +4 -0
- package/lib/progress-bar/progress-bar.component.d.ts +18 -0
- package/lib/progress-bar/progress-bar.defaults.d.ts +13 -0
- package/lib/progress-bar/progress-bar.module.d.ts +8 -0
- package/lib/progress-bar/progress-bar.types.d.ts +22 -0
- package/lib/progress-circle/index.d.ts +5 -0
- package/lib/progress-circle/progress-circle.component.d.ts +25 -0
- package/lib/progress-circle/progress-circle.defaults.d.ts +15 -0
- package/lib/progress-circle/progress-circle.directive.d.ts +9 -0
- package/lib/progress-circle/progress-circle.module.d.ts +9 -0
- package/lib/progress-circle/progress-circle.types.d.ts +20 -0
- package/lib/radio/index.d.ts +4 -0
- package/lib/radio/radio/radio.component.d.ts +68 -0
- package/lib/radio/radio/radio.defaults.d.ts +8 -0
- package/lib/radio/radio-group.component.d.ts +40 -0
- package/lib/radio/radio.module.d.ts +9 -0
- package/lib/search-functions.d.ts +10 -0
- package/lib/segment/index.d.ts +5 -0
- package/lib/segment/segment.component.d.ts +40 -0
- package/lib/segment/segment.defaults.d.ts +18 -0
- package/lib/segment/segment.directives.d.ts +8 -0
- package/lib/segment/segment.module.d.ts +9 -0
- package/lib/segment/segment.types.d.ts +17 -0
- package/lib/select/index.d.ts +5 -0
- package/lib/select/select.component.d.ts +230 -0
- package/lib/select/select.defaults.d.ts +70 -0
- package/lib/select/select.directive.d.ts +95 -0
- package/lib/select/select.module.d.ts +14 -0
- package/lib/select/select.types.d.ts +60 -0
- package/lib/select/select.utils.d.ts +2 -0
- package/lib/slide-toggle/index.d.ts +4 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +21 -0
- package/lib/slide-toggle/slide-toggle.defaults.d.ts +14 -0
- package/lib/slide-toggle/slide-toggle.module.d.ts +8 -0
- package/lib/slide-toggle/slide-toggle.types.d.ts +5 -0
- package/lib/slider/abstract-slider.d.ts +96 -0
- package/lib/slider/index.d.ts +8 -0
- package/lib/slider/range-slider/range-slider.component.d.ts +37 -0
- package/lib/slider/range-slider/range-slider.module.d.ts +8 -0
- package/lib/slider/range-slider/range-slider.types.d.ts +6 -0
- package/lib/slider/slider.component.d.ts +24 -0
- package/lib/slider/slider.defaults.d.ts +6 -0
- package/lib/slider/slider.directive.d.ts +9 -0
- package/lib/slider/slider.module.d.ts +10 -0
- package/lib/slider/slider.types.d.ts +28 -0
- package/lib/snackbar/index.d.ts +4 -0
- package/lib/snackbar/snackbar-ref.d.ts +69 -0
- package/lib/snackbar/snackbar.component.d.ts +16 -0
- package/lib/snackbar/snackbar.service.d.ts +57 -0
- package/lib/snackbar/snackbar.token.d.ts +5 -0
- package/lib/snackbar/snackbar.types.d.ts +84 -0
- package/lib/spinner/index.d.ts +3 -0
- package/lib/spinner/spinner.component.d.ts +9 -0
- package/lib/spinner/spinner.defaults.d.ts +7 -0
- package/lib/spinner/spinner.module.d.ts +8 -0
- package/lib/stack/index.d.ts +3 -0
- package/lib/stack/stack.component.d.ts +26 -0
- package/lib/stack/stack.defaults.d.ts +14 -0
- package/lib/stack/stack.module.d.ts +7 -0
- package/lib/star/index.d.ts +5 -0
- package/lib/star/rating-display/index.d.ts +5 -0
- package/lib/star/rating-display/rating-display.component.d.ts +18 -0
- package/lib/star/rating-display/rating-display.defaults.d.ts +9 -0
- package/lib/star/rating-display/rating-display.directives.d.ts +9 -0
- package/lib/star/rating-display/rating-display.module.d.ts +10 -0
- package/lib/star/rating-display/rating-display.types.d.ts +8 -0
- package/lib/star/rating-input/index.d.ts +5 -0
- package/lib/star/rating-input/rating-input.component.d.ts +48 -0
- package/lib/star/rating-input/rating-input.defaults.d.ts +9 -0
- package/lib/star/rating-input/rating-input.directives.d.ts +9 -0
- package/lib/star/rating-input/rating-input.module.d.ts +10 -0
- package/lib/star/rating-input/rating-input.types.d.ts +12 -0
- package/lib/star/star-button/index.d.ts +5 -0
- package/lib/star/star-button/star-button.component.d.ts +26 -0
- package/lib/star/star-button/star-button.defaults.d.ts +10 -0
- package/lib/star/star-button/star-button.directives.d.ts +9 -0
- package/lib/star/star-button/star-button.module.d.ts +10 -0
- package/lib/star/star-button/star-button.types.d.ts +7 -0
- package/lib/star/star.component.d.ts +15 -0
- package/lib/star/star.defaults.d.ts +8 -0
- package/lib/star/star.directives.d.ts +9 -0
- package/lib/star/star.module.d.ts +10 -0
- package/lib/star/star.types.d.ts +33 -0
- package/lib/tabber/index.d.ts +6 -0
- package/lib/tabber/tab/tab.component.d.ts +27 -0
- package/lib/tabber/tabber.component.d.ts +44 -0
- package/lib/tabber/tabber.defaults.d.ts +14 -0
- package/lib/tabber/tabber.directives.d.ts +9 -0
- package/lib/tabber/tabber.module.d.ts +10 -0
- package/lib/tabber/tabber.types.d.ts +5 -0
- package/lib/table/index.d.ts +5 -0
- package/lib/table/table-item-storage.d.ts +273 -0
- package/lib/table/table.component.d.ts +111 -0
- package/lib/table/table.defaults.d.ts +50 -0
- package/lib/table/table.directives.d.ts +36 -0
- package/lib/table/table.module.d.ts +13 -0
- package/lib/table/table.types.d.ts +83 -0
- package/lib/table/utils.d.ts +4 -0
- package/lib/table-from-csv/index.d.ts +3 -0
- package/lib/table-from-csv/table-from-csv.component.d.ts +55 -0
- package/lib/table-from-csv/table-from-csv.defaults.d.ts +7 -0
- package/lib/table-from-csv/table-from-csv.module.d.ts +9 -0
- package/lib/table-pagination/index.d.ts +4 -0
- package/lib/table-pagination/table-pagination.component.d.ts +40 -0
- package/lib/table-pagination/table-pagination.defaults.d.ts +20 -0
- package/lib/table-pagination/table-pagination.module.d.ts +11 -0
- package/lib/table-pagination/table-pagination.types.d.ts +9 -0
- package/lib/text-list/index.d.ts +3 -0
- package/lib/text-list/text-list.component.d.ts +9 -0
- package/lib/text-list/text-list.module.d.ts +9 -0
- package/lib/text-list/text-list.pipe.d.ts +7 -0
- package/lib/types/alignment.types.d.ts +17 -0
- package/lib/types/button.types.d.ts +6 -0
- package/lib/types/colors.types.d.ts +71 -0
- package/lib/types/item-storage.types.d.ts +50 -0
- package/lib/types/theming.types.d.ts +62 -0
- package/lib/types/utility.types.d.ts +16 -0
- package/package.json +39 -0
- package/prebuilt-themes/default/badge.css +237 -0
- package/prebuilt-themes/default/badge.css.map +1 -0
- package/prebuilt-themes/default/buttons/button-group.css +19 -0
- package/prebuilt-themes/default/buttons/button-group.css.map +1 -0
- package/prebuilt-themes/default/buttons/button.css +339 -0
- package/prebuilt-themes/default/buttons/button.css.map +1 -0
- package/prebuilt-themes/default/buttons/fab.css +330 -0
- package/prebuilt-themes/default/buttons/fab.css.map +1 -0
- package/prebuilt-themes/default/buttons/icon-button.css +304 -0
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -0
- package/prebuilt-themes/default/calendar.css +393 -0
- package/prebuilt-themes/default/calendar.css.map +1 -0
- package/prebuilt-themes/default/card.css +154 -0
- package/prebuilt-themes/default/card.css.map +1 -0
- package/prebuilt-themes/default/checkbox-list.css +101 -0
- package/prebuilt-themes/default/checkbox-list.css.map +1 -0
- package/prebuilt-themes/default/checkbox.css +383 -0
- package/prebuilt-themes/default/checkbox.css.map +1 -0
- package/prebuilt-themes/default/chips.css +421 -0
- package/prebuilt-themes/default/chips.css.map +1 -0
- package/prebuilt-themes/default/color-display.css +37 -0
- package/prebuilt-themes/default/color-display.css.map +1 -0
- package/prebuilt-themes/default/color-picker.css +108 -0
- package/prebuilt-themes/default/color-picker.css.map +1 -0
- package/prebuilt-themes/default/core.css +112 -0
- package/prebuilt-themes/default/core.css.map +1 -0
- package/prebuilt-themes/default/dialog.css +22 -0
- package/prebuilt-themes/default/dialog.css.map +1 -0
- package/prebuilt-themes/default/divider.css +87 -0
- package/prebuilt-themes/default/divider.css.map +1 -0
- package/prebuilt-themes/default/dropdown-panel.css +45 -0
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -0
- package/prebuilt-themes/default/file-drop-area.css +332 -0
- package/prebuilt-themes/default/file-drop-area.css.map +1 -0
- package/prebuilt-themes/default/form-field-frame.css +105 -0
- package/prebuilt-themes/default/form-field-frame.css.map +1 -0
- package/prebuilt-themes/default/form-field.css +153 -0
- package/prebuilt-themes/default/form-field.css.map +1 -0
- package/prebuilt-themes/default/inputs/autocomplete-input.css +198 -0
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/color-input.css +108 -0
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/date-input.css +152 -0
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/digit-input.css +129 -0
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/file-input.css +399 -0
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/hex-input.css +165 -0
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/input.css +152 -0
- package/prebuilt-themes/default/inputs/input.css.map +1 -0
- package/prebuilt-themes/default/inputs/number-input.css +230 -0
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/password-input.css +132 -0
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -0
- package/prebuilt-themes/default/kbd-shortcut.css +17 -0
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -0
- package/prebuilt-themes/default/kbd.css +29 -0
- package/prebuilt-themes/default/kbd.css.map +1 -0
- package/prebuilt-themes/default/modal.css +99 -0
- package/prebuilt-themes/default/modal.css.map +1 -0
- package/prebuilt-themes/default/progress-bar.css +286 -0
- package/prebuilt-themes/default/progress-bar.css.map +1 -0
- package/prebuilt-themes/default/progress-circle.css +181 -0
- package/prebuilt-themes/default/progress-circle.css.map +1 -0
- package/prebuilt-themes/default/radio.css +261 -0
- package/prebuilt-themes/default/radio.css.map +1 -0
- package/prebuilt-themes/default/segment.css +441 -0
- package/prebuilt-themes/default/segment.css.map +1 -0
- package/prebuilt-themes/default/select.css +322 -0
- package/prebuilt-themes/default/select.css.map +1 -0
- package/prebuilt-themes/default/slide-toggle.css +322 -0
- package/prebuilt-themes/default/slide-toggle.css.map +1 -0
- package/prebuilt-themes/default/slider.css +428 -0
- package/prebuilt-themes/default/slider.css.map +1 -0
- package/prebuilt-themes/default/snackbar.css +202 -0
- package/prebuilt-themes/default/snackbar.css.map +1 -0
- package/prebuilt-themes/default/spinner.css +164 -0
- package/prebuilt-themes/default/spinner.css.map +1 -0
- package/prebuilt-themes/default/stars.css +284 -0
- package/prebuilt-themes/default/stars.css.map +1 -0
- package/prebuilt-themes/default/tabber.css +253 -0
- package/prebuilt-themes/default/tabber.css.map +1 -0
- package/prebuilt-themes/default/table-pagination.css +60 -0
- package/prebuilt-themes/default/table-pagination.css.map +1 -0
- package/prebuilt-themes/default/table.css +467 -0
- package/prebuilt-themes/default/table.css.map +1 -0
- package/public-api.d.ts +59 -0
- package/themes/_variables.scss +124 -0
- package/themes/default/_clear-button.scss +78 -0
- package/themes/default/_coloring.scss +144 -0
- package/themes/default/_dropdown-arrow.scss +12 -0
- package/themes/default/_mixins.scss +91 -0
- package/themes/default/badge.scss +129 -0
- package/themes/default/buttons/_button-mixins.scss +152 -0
- package/themes/default/buttons/button-group.scss +19 -0
- package/themes/default/buttons/button.scss +119 -0
- package/themes/default/buttons/fab.scss +112 -0
- package/themes/default/buttons/icon-button.scss +91 -0
- package/themes/default/calendar.scss +298 -0
- package/themes/default/card.scss +181 -0
- package/themes/default/checkbox-list.scss +125 -0
- package/themes/default/checkbox.scss +123 -0
- package/themes/default/chips.scss +269 -0
- package/themes/default/color-display.scss +53 -0
- package/themes/default/color-picker.scss +113 -0
- package/themes/default/core.scss +129 -0
- package/themes/default/dialog.scss +25 -0
- package/themes/default/divider.scss +115 -0
- package/themes/default/dropdown-panel.scss +60 -0
- package/themes/default/file-drop-area.scss +221 -0
- package/themes/default/form-field-frame.scss +91 -0
- package/themes/default/form-field.scss +161 -0
- package/themes/default/inputs/_shared.scss +99 -0
- package/themes/default/inputs/autocomplete-input.scss +119 -0
- package/themes/default/inputs/color-input.scss +48 -0
- package/themes/default/inputs/date-input.scss +106 -0
- package/themes/default/inputs/digit-input.scss +138 -0
- package/themes/default/inputs/file-input.scss +187 -0
- package/themes/default/inputs/hex-input.scss +81 -0
- package/themes/default/inputs/input.scss +63 -0
- package/themes/default/inputs/number-input.scss +214 -0
- package/themes/default/inputs/password-input.scss +116 -0
- package/themes/default/kbd-shortcut.scss +21 -0
- package/themes/default/kbd.scss +40 -0
- package/themes/default/modal.scss +130 -0
- package/themes/default/progress-bar.scss +181 -0
- package/themes/default/progress-circle.scss +64 -0
- package/themes/default/radio.scss +154 -0
- package/themes/default/segment.scss +383 -0
- package/themes/default/select.scss +327 -0
- package/themes/default/slide-toggle.scss +228 -0
- package/themes/default/slider.scss +287 -0
- package/themes/default/snackbar.scss +78 -0
- package/themes/default/spinner.scss +31 -0
- package/themes/default/stars.scss +133 -0
- package/themes/default/tabber.scss +131 -0
- package/themes/default/table-pagination.scss +72 -0
- package/themes/default/table.scss +459 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CalendarArrayItem } from '../../calendar.internal-types';
|
|
2
|
+
export type CalendarArray = (CalendarArrayItem | null)[][];
|
|
3
|
+
export interface CalendarData {
|
|
4
|
+
array: CalendarArray;
|
|
5
|
+
leadingSpaces: number;
|
|
6
|
+
trailingSpaces: number;
|
|
7
|
+
weeks: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Generates a layout array to be used to create a calendar page for the given year and month.
|
|
11
|
+
*
|
|
12
|
+
* The returned object contains an array to create the layout from, the number of leading and trailing spaces in the layout, and the number of weeks (full or not) in the month.
|
|
13
|
+
* @param year The year of the current active view
|
|
14
|
+
* @param monthIndex The month index of the current active view
|
|
15
|
+
* @param firstWeekday The index of the first weekday in the calendar layout. Starts at Sunday (index 0), ends with Saturday (index 6). Defaults to 1.
|
|
16
|
+
* @returns A {@link CalendarData} object.
|
|
17
|
+
*/
|
|
18
|
+
export declare function getCalendarDayData(year: number, monthIndex: number, firstWeekday: number | undefined, min: Date | null, max: Date | null, fillUpTo6Weeks: boolean, reserverFirstRow: boolean): CalendarData;
|
|
19
|
+
export declare function getCalendarWeekdayArray(firstWeekday?: number): number[];
|
|
20
|
+
export declare function isDayOutOfRange(date: Date, min: Date | null, max: Date | null): number;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ArdMultiCalendarLocation, CalendarMonthContext, CalendarMonthsViewHeaderContext } from '../../calendar.types';
|
|
3
|
+
import { ComponentColor } from './../../../types/colors.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MonthsViewComponent implements AfterViewInit {
|
|
6
|
+
readonly tabIndex: import("@angular/core").InputSignal<number>;
|
|
7
|
+
readonly readOnly: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
readonly autoFocus: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
readonly _isUsingKeyboard: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
onMouseMove(): void;
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
|
+
readonly color: import("@angular/core").InputSignal<ComponentColor>;
|
|
14
|
+
readonly activeYear: import("@angular/core").InputSignal<number>;
|
|
15
|
+
readonly activeMonth: import("@angular/core").InputSignal<number>;
|
|
16
|
+
readonly selectedDate: import("@angular/core").InputSignal<Date | null>;
|
|
17
|
+
readonly selectedDateEnd: import("@angular/core").InputSignal<Date | null>;
|
|
18
|
+
readonly rangeSelectionMode: import("@angular/core").InputSignal<boolean>;
|
|
19
|
+
readonly UTC: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
readonly min: import("@angular/core").InputSignal<Date | null>;
|
|
21
|
+
readonly max: import("@angular/core").InputSignal<Date | null>;
|
|
22
|
+
readonly multiCalendarLocation: import("@angular/core").InputSignal<ArdMultiCalendarLocation>;
|
|
23
|
+
readonly monthsArray: import("@angular/core").Signal<import("../../calendar.internal-types").CalendarArrayItem[]>;
|
|
24
|
+
readonly currentAriaLabel: import("@angular/core").Signal<string>;
|
|
25
|
+
readonly triggerOpenYearsView: import("@angular/core").OutputEmitterRef<void>;
|
|
26
|
+
readonly triggerOpenDaysView: import("@angular/core").OutputEmitterRef<void>;
|
|
27
|
+
readonly focusEvent: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
28
|
+
readonly blurEvent: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
29
|
+
readonly triggerSelectMonth: import("@angular/core").OutputEmitterRef<number>;
|
|
30
|
+
readonly triggeChangeYear: import("@angular/core").OutputEmitterRef<number>;
|
|
31
|
+
readonly triggerHighlightMonth: import("@angular/core").OutputEmitterRef<number | null>;
|
|
32
|
+
readonly triggerHighlightNextMonth: import("@angular/core").OutputEmitterRef<number>;
|
|
33
|
+
readonly triggerHighlightPreviousMonth: import("@angular/core").OutputEmitterRef<number>;
|
|
34
|
+
readonly triggerHighlightFirstMonth: import("@angular/core").OutputEmitterRef<void>;
|
|
35
|
+
readonly triggerHighlightLastMonth: import("@angular/core").OutputEmitterRef<void>;
|
|
36
|
+
readonly triggerHighlightSameMonthPreviousPage: import("@angular/core").OutputEmitterRef<boolean>;
|
|
37
|
+
readonly triggerHighlightSameMonthNextPage: import("@angular/core").OutputEmitterRef<boolean>;
|
|
38
|
+
readonly highlightedMonth: import("@angular/core").InputSignal<number | null>;
|
|
39
|
+
readonly highlightedMonthDate: import("@angular/core").Signal<Date | null>;
|
|
40
|
+
onCalendarMonthMouseover(month: number): void;
|
|
41
|
+
onCalendarMonthClick(month: number): void;
|
|
42
|
+
onMonthGridFocus(): void;
|
|
43
|
+
onMonthGridBlur(): void;
|
|
44
|
+
onMonthGridClick(): void;
|
|
45
|
+
readonly focusableElement: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
46
|
+
focus(): void;
|
|
47
|
+
onMainGridKeydown(event: KeyboardEvent): void;
|
|
48
|
+
private _onEnterPress;
|
|
49
|
+
private _onArrowDownPress;
|
|
50
|
+
private _onArrowUpPress;
|
|
51
|
+
private _onArrowRightPress;
|
|
52
|
+
private _onArrowLeftPress;
|
|
53
|
+
private _onHomePress;
|
|
54
|
+
private _onEndPress;
|
|
55
|
+
private _onPageDownPress;
|
|
56
|
+
private _onPageUpPress;
|
|
57
|
+
isMonthToday(month: number): boolean;
|
|
58
|
+
isMonthSelected(month: number | Date | null): boolean;
|
|
59
|
+
isMonthSelectedStart(month: number | Date | null): boolean;
|
|
60
|
+
isMonthSelectedEnd(month: number | Date | null): boolean;
|
|
61
|
+
isMonthBetweenSelectedRange(month: number | Date | null): boolean;
|
|
62
|
+
isMonthBetweenSelectedHighlighted(month: number | Date | null): boolean;
|
|
63
|
+
private _isMonthBetweenDates;
|
|
64
|
+
isYearOutOfRange(year: number): number;
|
|
65
|
+
readonly monthsViewHeaderTemplate: import("@angular/core").InputSignal<TemplateRef<CalendarMonthsViewHeaderContext> | undefined>;
|
|
66
|
+
readonly monthTemplate: import("@angular/core").InputSignal<TemplateRef<CalendarMonthContext> | undefined>;
|
|
67
|
+
readonly monthsViewHeaderDateFormat: import("@angular/core").InputSignal<string>;
|
|
68
|
+
readonly monthDateFormat: import("@angular/core").InputSignal<string>;
|
|
69
|
+
readonly monthsViewHeaderContext: import("@angular/core").Signal<CalendarMonthsViewHeaderContext>;
|
|
70
|
+
readonly monthContext: import("@angular/core").Signal<(month: number) => CalendarMonthContext>;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonthsViewComponent, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonthsViewComponent, "ard-months-view", never, { "tabIndex": { "alias": "tabIndex"; "required": true; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": true; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": true; "isSignal": true; }; "_isUsingKeyboard": { "alias": "_isUsingKeyboard"; "required": true; "isSignal": true; }; "color": { "alias": "color"; "required": true; "isSignal": true; }; "activeYear": { "alias": "activeYear"; "required": true; "isSignal": true; }; "activeMonth": { "alias": "activeMonth"; "required": true; "isSignal": true; }; "selectedDate": { "alias": "selectedDate"; "required": true; "isSignal": true; }; "selectedDateEnd": { "alias": "selectedDateEnd"; "required": true; "isSignal": true; }; "rangeSelectionMode": { "alias": "rangeSelectionMode"; "required": true; "isSignal": true; }; "UTC": { "alias": "UTC"; "required": true; "isSignal": true; }; "min": { "alias": "min"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "required": true; "isSignal": true; }; "multiCalendarLocation": { "alias": "multiCalendarLocation"; "required": true; "isSignal": true; }; "highlightedMonth": { "alias": "highlightedMonth"; "required": true; "isSignal": true; }; "monthsViewHeaderTemplate": { "alias": "monthsViewHeaderTemplate"; "required": true; "isSignal": true; }; "monthTemplate": { "alias": "monthTemplate"; "required": true; "isSignal": true; }; "monthsViewHeaderDateFormat": { "alias": "monthsViewHeaderDateFormat"; "required": true; "isSignal": true; }; "monthDateFormat": { "alias": "monthDateFormat"; "required": true; "isSignal": true; }; }, { "triggerOpenYearsView": "triggerOpenYearsView"; "triggerOpenDaysView": "triggerOpenDaysView"; "focusEvent": "focus"; "blurEvent": "blur"; "triggerSelectMonth": "triggerSelectMonth"; "triggeChangeYear": "triggeChangeYear"; "triggerHighlightMonth": "triggerHighlightMonth"; "triggerHighlightNextMonth": "triggerHighlightNextMonth"; "triggerHighlightPreviousMonth": "triggerHighlightPreviousMonth"; "triggerHighlightFirstMonth": "triggerHighlightFirstMonth"; "triggerHighlightLastMonth": "triggerHighlightLastMonth"; "triggerHighlightSameMonthPreviousPage": "triggerHighlightSameMonthPreviousPage"; "triggerHighlightSameMonthNextPage": "triggerHighlightSameMonthNextPage"; }, never, never, false, never>;
|
|
73
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CalendarArrayItem } from '../../calendar.internal-types';
|
|
2
|
+
export declare function isMonthOutOfRange(month: number, year: number, min: Date | null, max: Date | null): number;
|
|
3
|
+
export declare function getCalendarMonthsArray(year: number, min: Date | null, max: Date | null): CalendarArrayItem[];
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ArdMultiCalendarLocation, CalendarYearContext, CalendarYearsViewHeaderContext } from '../../calendar.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class YearsViewComponent implements AfterViewInit {
|
|
5
|
+
readonly tabIndex: import("@angular/core").InputSignal<number>;
|
|
6
|
+
readonly readOnly: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
readonly autoFocus: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
readonly _isUsingKeyboard: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
onMouseMove(): void;
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
readonly selectedDate: import("@angular/core").InputSignal<Date | null>;
|
|
13
|
+
readonly selectedDateEnd: import("@angular/core").InputSignal<Date | null>;
|
|
14
|
+
readonly rangeSelectionMode: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
readonly UTC: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
readonly min: import("@angular/core").InputSignal<Date | null>;
|
|
17
|
+
readonly max: import("@angular/core").InputSignal<Date | null>;
|
|
18
|
+
readonly multiCalendarLocation: import("@angular/core").InputSignal<ArdMultiCalendarLocation>;
|
|
19
|
+
readonly currentYearRangeStart: import("@angular/core").InputSignal<number>;
|
|
20
|
+
readonly multipleYearPageSize: import("@angular/core").InputSignal<number>;
|
|
21
|
+
readonly yearsArray: import("@angular/core").Signal<import("../../calendar.internal-types").CalendarArrayItem[]>;
|
|
22
|
+
readonly currentAriaLabel: import("@angular/core").Signal<string>;
|
|
23
|
+
readonly triggerOpenMonthsView: import("@angular/core").OutputEmitterRef<void>;
|
|
24
|
+
readonly triggerOpenDaysView: import("@angular/core").OutputEmitterRef<void>;
|
|
25
|
+
readonly focusEvent: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
26
|
+
readonly blurEvent: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
27
|
+
readonly triggerSelectYear: import("@angular/core").OutputEmitterRef<number>;
|
|
28
|
+
readonly triggerChangeYearsViewPage: import("@angular/core").OutputEmitterRef<number>;
|
|
29
|
+
readonly triggerHighlightYear: import("@angular/core").OutputEmitterRef<number | null>;
|
|
30
|
+
readonly triggerHighlightNextYear: import("@angular/core").OutputEmitterRef<number>;
|
|
31
|
+
readonly triggerHighlightPreviousYear: import("@angular/core").OutputEmitterRef<number>;
|
|
32
|
+
readonly triggerHighlightFirstYear: import("@angular/core").OutputEmitterRef<void>;
|
|
33
|
+
readonly triggerHighlightLastYear: import("@angular/core").OutputEmitterRef<void>;
|
|
34
|
+
readonly triggerHighlightSameYearPreviousPage: import("@angular/core").OutputEmitterRef<boolean>;
|
|
35
|
+
readonly triggerHighlightSameYearNextPage: import("@angular/core").OutputEmitterRef<boolean>;
|
|
36
|
+
readonly highlightedYear: import("@angular/core").InputSignal<number | null>;
|
|
37
|
+
readonly highlightedYearDate: import("@angular/core").Signal<Date | null>;
|
|
38
|
+
onCalendarYearMouseover(year: number): void;
|
|
39
|
+
onCalendarYearClick(year: number): void;
|
|
40
|
+
onYearGridFocus(): void;
|
|
41
|
+
onYearGridBlur(): void;
|
|
42
|
+
onYearGridClick(): void;
|
|
43
|
+
isYearToday(year: number): boolean;
|
|
44
|
+
isYearSelected(year: number | Date | null): boolean;
|
|
45
|
+
isYearSelectedStart(year: number | Date | null): boolean;
|
|
46
|
+
isYearSelectedEnd(year: number | Date | null): boolean;
|
|
47
|
+
isYearBetweenSelectedRange(year: number | Date | null): boolean;
|
|
48
|
+
isYearBetweenSelectedHighlighted(year: number | Date | null): boolean;
|
|
49
|
+
private _isYearBetweenDates;
|
|
50
|
+
isYearOutOfRange(year: number): number;
|
|
51
|
+
readonly focusableElement: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
52
|
+
focus(): void;
|
|
53
|
+
onMainGridKeydown(event: KeyboardEvent): void;
|
|
54
|
+
private _onEnterPress;
|
|
55
|
+
private _onArrowDownPress;
|
|
56
|
+
private _onArrowUpPress;
|
|
57
|
+
private _onArrowRightPress;
|
|
58
|
+
private _onArrowLeftPress;
|
|
59
|
+
private _onHomePress;
|
|
60
|
+
private _onEndPress;
|
|
61
|
+
private _onPageUpPress;
|
|
62
|
+
private _onPageDownPress;
|
|
63
|
+
readonly yearsViewHeaderTemplate: import("@angular/core").InputSignal<TemplateRef<CalendarYearsViewHeaderContext> | undefined>;
|
|
64
|
+
readonly yearTemplate: import("@angular/core").InputSignal<TemplateRef<CalendarYearContext> | undefined>;
|
|
65
|
+
readonly yearsViewHeaderDateFormat: import("@angular/core").InputSignal<string>;
|
|
66
|
+
readonly yearDateFormat: import("@angular/core").InputSignal<string>;
|
|
67
|
+
readonly yearsViewHeaderContext: import("@angular/core").Signal<CalendarYearsViewHeaderContext>;
|
|
68
|
+
readonly yearContext: import("@angular/core").Signal<(year: number) => CalendarYearContext>;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YearsViewComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YearsViewComponent, "ard-years-view", never, { "tabIndex": { "alias": "tabIndex"; "required": true; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": true; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": true; "isSignal": true; }; "_isUsingKeyboard": { "alias": "_isUsingKeyboard"; "required": true; "isSignal": true; }; "selectedDate": { "alias": "selectedDate"; "required": true; "isSignal": true; }; "selectedDateEnd": { "alias": "selectedDateEnd"; "required": true; "isSignal": true; }; "rangeSelectionMode": { "alias": "rangeSelectionMode"; "required": true; "isSignal": true; }; "UTC": { "alias": "UTC"; "required": true; "isSignal": true; }; "min": { "alias": "min"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "required": true; "isSignal": true; }; "multiCalendarLocation": { "alias": "multiCalendarLocation"; "required": true; "isSignal": true; }; "currentYearRangeStart": { "alias": "currentYearRangeStart"; "required": true; "isSignal": true; }; "multipleYearPageSize": { "alias": "multipleYearPageSize"; "required": true; "isSignal": true; }; "highlightedYear": { "alias": "highlightedYear"; "required": true; "isSignal": true; }; "yearsViewHeaderTemplate": { "alias": "yearsViewHeaderTemplate"; "required": true; "isSignal": true; }; "yearTemplate": { "alias": "yearTemplate"; "required": true; "isSignal": true; }; "yearsViewHeaderDateFormat": { "alias": "yearsViewHeaderDateFormat"; "required": true; "isSignal": true; }; "yearDateFormat": { "alias": "yearDateFormat"; "required": true; "isSignal": true; }; }, { "triggerOpenMonthsView": "triggerOpenMonthsView"; "triggerOpenDaysView": "triggerOpenDaysView"; "focusEvent": "focus"; "blurEvent": "blur"; "triggerSelectYear": "triggerSelectYear"; "triggerChangeYearsViewPage": "triggerChangeYearsViewPage"; "triggerHighlightYear": "triggerHighlightYear"; "triggerHighlightNextYear": "triggerHighlightNextYear"; "triggerHighlightPreviousYear": "triggerHighlightPreviousYear"; "triggerHighlightFirstYear": "triggerHighlightFirstYear"; "triggerHighlightLastYear": "triggerHighlightLastYear"; "triggerHighlightSameYearPreviousPage": "triggerHighlightSameYearPreviousPage"; "triggerHighlightSameYearNextPage": "triggerHighlightSameYearNextPage"; }, never, never, false, never>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CalendarArrayItem } from '../../calendar.internal-types';
|
|
2
|
+
export declare function getCalendarYearsArray(startYear: number, yearCount: number, min: Date | null, max: Date | null): CalendarArrayItem[];
|
|
3
|
+
export declare function isYearOutOfRange(year: number, min: Date | null, max: Date | null): number;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { OneAxisAlignment } from '../types/alignment.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdiumCardHeaderComponent {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardHeaderComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCardHeaderComponent, "ard-card-header", never, {}, {}, never, ["[ard-card-avatar]", "ard-card-title, ard-card-subtitle,\n [ard-card-title], [ard-card-subtitle]", "*"], false, never>;
|
|
7
|
+
}
|
|
8
|
+
export declare class ArdiumCardSubtitleDirective {
|
|
9
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardSubtitleDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardSubtitleDirective, "ard-card-subtitle, [ard-card-subtitle]", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare class ArdiumCardTitleDirective {
|
|
14
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardTitleDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardTitleDirective, "ard-card-title, [ard-card-title]", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
18
|
+
export declare class ArdiumCardAvatarDirective {
|
|
19
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardAvatarDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardAvatarDirective, "[ard-card-avatar]", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
23
|
+
export declare class ArdiumCardContentDirective {
|
|
24
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardContentDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardContentDirective, "ard-card-content, [ard-card-content]", never, {}, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
28
|
+
export declare class ArdiumCardImageDirective {
|
|
29
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardImageDirective, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardImageDirective, "[ard-card-image]", never, {}, {}, never, never, false, never>;
|
|
32
|
+
}
|
|
33
|
+
export declare class ArdiumCardActionButtonsDirective {
|
|
34
|
+
private readonly _DEFAULTS;
|
|
35
|
+
readonly align: import("@angular/core").InputSignal<OneAxisAlignment>;
|
|
36
|
+
readonly alignClass: import("@angular/core").Signal<string>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardActionButtonsDirective, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardActionButtonsDirective, "ard-card-action-buttons, [ard-card-action-buttons]", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
39
|
+
}
|
|
40
|
+
export declare class ArdiumCardFooterDirective {
|
|
41
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardFooterDirective, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardFooterDirective, "ard-card-footer, [ard-card-footer]", never, {}, {}, never, never, false, never>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CardAppearance, CardVariant } from './card.types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ArdiumCardDirective {
|
|
4
|
+
private readonly _DEFAULTS;
|
|
5
|
+
readonly appearance: import("@angular/core").InputSignal<CardAppearance>;
|
|
6
|
+
readonly variant: import("@angular/core").InputSignal<CardVariant>;
|
|
7
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
8
|
+
get _ngClassesHostAttribute(): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardDirective, "[ard-card]", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
12
|
+
export declare class ArdiumCardComponent extends ArdiumCardDirective {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCardComponent, "ard-card", never, {}, {}, never, ["*"], false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { OneAxisAlignment } from './../types/alignment.types';
|
|
3
|
+
import { CardAppearance, CardVariant } from './card.types';
|
|
4
|
+
export interface ArdCardDefaults {
|
|
5
|
+
appearance: CardAppearance;
|
|
6
|
+
variant: CardVariant;
|
|
7
|
+
actionButtonsAlign: OneAxisAlignment;
|
|
8
|
+
}
|
|
9
|
+
export declare const ARD_CARD_DEFAULTS: InjectionToken<ArdCardDefaults>;
|
|
10
|
+
export declare function provideCardDefaults(config: Partial<ArdCardDefaults>): Provider;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./card.component";
|
|
3
|
+
import * as i2 from "./card.children";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class ArdiumCardModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumCardModule, [typeof i1.ArdiumCardComponent, typeof i1.ArdiumCardDirective, typeof i2.ArdiumCardHeaderComponent, typeof i2.ArdiumCardTitleDirective, typeof i2.ArdiumCardSubtitleDirective, typeof i2.ArdiumCardAvatarDirective, typeof i2.ArdiumCardContentDirective, typeof i2.ArdiumCardImageDirective, typeof i2.ArdiumCardActionButtonsDirective, typeof i2.ArdiumCardFooterDirective], [typeof i3.CommonModule], [typeof i1.ArdiumCardComponent, typeof i1.ArdiumCardDirective, typeof i2.ArdiumCardHeaderComponent, typeof i2.ArdiumCardTitleDirective, typeof i2.ArdiumCardSubtitleDirective, typeof i2.ArdiumCardAvatarDirective, typeof i2.ArdiumCardContentDirective, typeof i2.ArdiumCardImageDirective, typeof i2.ArdiumCardActionButtonsDirective, typeof i2.ArdiumCardFooterDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumCardModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const CardAppearance: {
|
|
2
|
+
readonly Outlined: "outlined";
|
|
3
|
+
readonly Raised: "raised";
|
|
4
|
+
};
|
|
5
|
+
export type CardAppearance = (typeof CardAppearance)[keyof typeof CardAppearance];
|
|
6
|
+
export declare const CardVariant: {
|
|
7
|
+
readonly Rounded: "rounded";
|
|
8
|
+
readonly Sharp: "sharp";
|
|
9
|
+
};
|
|
10
|
+
export type CardVariant = (typeof CardVariant)[keyof typeof CardVariant];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { SimpleComponentColor } from '../types/colors.types';
|
|
3
|
+
import { _BooleanComponentBase } from './../_internal/boolean-component';
|
|
4
|
+
import { ArdCheckboxDefaults } from './checkbox.defaults';
|
|
5
|
+
import { ArdCheckboxLabelTemplateDirective, ArdCheckboxTemplateDirective } from './checkbox.directives';
|
|
6
|
+
import { _CheckboxTemplateRepositoryDirective } from './checkbox.internal-directives';
|
|
7
|
+
import { CheckboxLabelTemplateContext, CheckboxState, CheckboxTemplateContext } from './checkbox.types';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ArdiumCheckboxComponent extends _BooleanComponentBase implements ControlValueAccessor {
|
|
10
|
+
protected readonly _DEFAULTS: ArdCheckboxDefaults;
|
|
11
|
+
constructor(defaults: ArdCheckboxDefaults);
|
|
12
|
+
protected readonly _componentId = "100";
|
|
13
|
+
protected readonly _componentName = "checkbox";
|
|
14
|
+
readonly label: import("@angular/core").InputSignalWithTransform<string | boolean | null, string | boolean | null | undefined>;
|
|
15
|
+
readonly color: import("@angular/core").InputSignal<SimpleComponentColor>;
|
|
16
|
+
readonly unselectedColor: import("@angular/core").InputSignal<SimpleComponentColor>;
|
|
17
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
18
|
+
set _selected(v: any);
|
|
19
|
+
readonly internalState: import("@angular/core").ModelSignal<CheckboxState>;
|
|
20
|
+
readonly state: import("@angular/core").Signal<CheckboxState>;
|
|
21
|
+
readonly State: {
|
|
22
|
+
readonly Unselected: "unselected";
|
|
23
|
+
readonly Indeterminate: "indeterminate";
|
|
24
|
+
readonly Selected: "selected";
|
|
25
|
+
};
|
|
26
|
+
toggleState(): void;
|
|
27
|
+
readonly checkboxIconComponent: import("@angular/core").Type<import("./checkbox.types").ArdCheckboxIcon> | undefined;
|
|
28
|
+
readonly labelComponent: import("@angular/core").Type<import("./checkbox.types").ArdCheckboxLabel> | undefined;
|
|
29
|
+
readonly templateRepository: import("@angular/core").Signal<_CheckboxTemplateRepositoryDirective | undefined>;
|
|
30
|
+
readonly checkboxTemplate: import("@angular/core").Signal<ArdCheckboxTemplateDirective | undefined>;
|
|
31
|
+
readonly labelTemplate: import("@angular/core").Signal<ArdCheckboxLabelTemplateDirective | undefined>;
|
|
32
|
+
readonly checkboxTemplateContext: import("@angular/core").Signal<CheckboxTemplateContext>;
|
|
33
|
+
readonly checkboxIconInputs: import("@angular/core").Signal<Partial<import("./checkbox.types").ArdCheckboxIcon>>;
|
|
34
|
+
readonly labelTemplateContext: import("@angular/core").Signal<CheckboxLabelTemplateContext>;
|
|
35
|
+
readonly labelComponentInputs: import("@angular/core").Signal<Partial<import("./checkbox.types").ArdCheckboxLabel>>;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCheckboxComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCheckboxComponent, "ard-checkbox", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "unselectedColor": { "alias": "unselectedColor"; "required": false; "isSignal": true; }; "internalState": { "alias": "state"; "required": false; "isSignal": true; }; }, { "internalState": "stateChange"; }, ["templateRepository", "checkboxTemplate", "labelTemplate"], never, false, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InjectionToken, Provider, Type } from '@angular/core';
|
|
2
|
+
import { _BooleanComponentDefaults } from '../_internal/boolean-component';
|
|
3
|
+
import { SimpleComponentColor } from './../types/colors.types';
|
|
4
|
+
import { ArdCheckboxIcon, ArdCheckboxLabel } from './checkbox.types';
|
|
5
|
+
export interface ArdCheckboxDefaults extends _BooleanComponentDefaults {
|
|
6
|
+
color: SimpleComponentColor;
|
|
7
|
+
unselectedColor: SimpleComponentColor;
|
|
8
|
+
CheckboxIconComponent?: Type<ArdCheckboxIcon>;
|
|
9
|
+
LabelComponent?: Type<ArdCheckboxLabel>;
|
|
10
|
+
}
|
|
11
|
+
export declare const ARD_CHECKBOX_DEFAULTS: InjectionToken<ArdCheckboxDefaults>;
|
|
12
|
+
export declare function provideCheckboxDefaults(config: Partial<ArdCheckboxDefaults>): Provider;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { CheckboxTemplateContext } from './checkbox.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdCheckboxTemplateDirective {
|
|
5
|
+
template: TemplateRef<CheckboxTemplateContext>;
|
|
6
|
+
constructor(template: TemplateRef<CheckboxTemplateContext>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdCheckboxTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdCheckboxTemplateDirective, "ard-checkbox > ng-template[ard-checkbox-tmp]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class ArdCheckboxLabelTemplateDirective {
|
|
11
|
+
template: TemplateRef<undefined>;
|
|
12
|
+
constructor(template: TemplateRef<undefined>);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdCheckboxLabelTemplateDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdCheckboxLabelTemplateDirective, "ard-checkbox > ng-template[ard-label-tmp]", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { ArdCheckboxTemplateDirective } from './checkbox.directives';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class _CheckboxTemplateRepositoryDirective {
|
|
5
|
+
template: TemplateRef<undefined>;
|
|
6
|
+
constructor(template: TemplateRef<undefined>);
|
|
7
|
+
readonly checkboxTmp: import("@angular/core").InputSignal<ArdCheckboxTemplateDirective | undefined>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_CheckboxTemplateRepositoryDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_CheckboxTemplateRepositoryDirective, "ard-checkbox > ng-template[_ard-tmp-repository]", never, { "checkboxTmp": { "alias": "checkboxTmp"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./checkbox.component";
|
|
3
|
+
import * as i2 from "./checkbox.directives";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../icon/icon.module";
|
|
6
|
+
export declare class ArdiumCheckboxModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCheckboxModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumCheckboxModule, [typeof i1.ArdiumCheckboxComponent, typeof i2.ArdCheckboxTemplateDirective], [typeof i3.CommonModule, typeof i4.ArdiumIconModule], [typeof i1.ArdiumCheckboxComponent, typeof i2.ArdCheckboxTemplateDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumCheckboxModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TemplateComponent } from '../types/utility.types';
|
|
2
|
+
export declare const CheckboxState: {
|
|
3
|
+
readonly Unselected: "unselected";
|
|
4
|
+
readonly Indeterminate: "indeterminate";
|
|
5
|
+
readonly Selected: "selected";
|
|
6
|
+
};
|
|
7
|
+
export type CheckboxState = (typeof CheckboxState)[keyof typeof CheckboxState];
|
|
8
|
+
export interface CheckboxTemplateContext {
|
|
9
|
+
$implicit: boolean;
|
|
10
|
+
selected: boolean;
|
|
11
|
+
internalSelected: boolean;
|
|
12
|
+
state: CheckboxState;
|
|
13
|
+
internalState: CheckboxState;
|
|
14
|
+
}
|
|
15
|
+
export interface CheckboxLabelTemplateContext {
|
|
16
|
+
$implicit: string;
|
|
17
|
+
label: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ArdCheckboxIcon extends TemplateComponent<CheckboxTemplateContext> {
|
|
20
|
+
}
|
|
21
|
+
export interface ArdCheckboxLabel extends TemplateComponent<CheckboxLabelTemplateContext> {
|
|
22
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { BooleanLike, NumberLike } from '@ardium-ui/devkit';
|
|
3
|
+
import { SimpleItemStorageHost } from '../_internal/item-storages/simple-item-storage';
|
|
4
|
+
import { _NgModelComponentBase } from '../_internal/ngmodel-component';
|
|
5
|
+
import { ComponentColor } from '../types/colors.types';
|
|
6
|
+
import { ArdOptionSimple, CompareWithFn, OptionContext } from '../types/item-storage.types';
|
|
7
|
+
import { Nullable } from '../types/utility.types';
|
|
8
|
+
import { ArdCheckboxListDefaults } from './checkbox-list.defaults';
|
|
9
|
+
import { ArdCheckboxListCheckboxTemplateDirective, ArdCheckboxListLabelTemplateDirective } from './checkbox-list.directives';
|
|
10
|
+
import { CheckboxListAlignType } from './checkbox-list.types';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class ArdiumCheckboxListComponent extends _NgModelComponentBase implements SimpleItemStorageHost, AfterViewInit {
|
|
13
|
+
protected readonly _DEFAULTS: ArdCheckboxListDefaults;
|
|
14
|
+
constructor(defaults: ArdCheckboxListDefaults);
|
|
15
|
+
get _htmlIdHostAttribute(): string;
|
|
16
|
+
readonly DEFAULTS: ArdCheckboxListDefaults;
|
|
17
|
+
readonly multiselectable: import("@angular/core").WritableSignal<true>;
|
|
18
|
+
readonly isValueRequired: import("@angular/core").WritableSignal<false>;
|
|
19
|
+
readonly _componentId = "300";
|
|
20
|
+
readonly _componentName = "checkbox-list";
|
|
21
|
+
private readonly _itemStorage;
|
|
22
|
+
readonly valueFrom: import("@angular/core").InputSignal<string>;
|
|
23
|
+
readonly labelFrom: import("@angular/core").InputSignal<string>;
|
|
24
|
+
readonly disabledFrom: import("@angular/core").InputSignal<string>;
|
|
25
|
+
set items(v: any[]);
|
|
26
|
+
get items(): ArdOptionSimple[];
|
|
27
|
+
readonly compareWith: import("@angular/core").InputSignal<Nullable<CompareWithFn>>;
|
|
28
|
+
readonly invertDisabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
29
|
+
readonly maxSelectedItems: import("@angular/core").InputSignalWithTransform<number, NumberLike>;
|
|
30
|
+
readonly color: import("@angular/core").InputSignal<ComponentColor>;
|
|
31
|
+
readonly align: import("@angular/core").InputSignal<CheckboxListAlignType>;
|
|
32
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
33
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
34
|
+
get value(): any;
|
|
35
|
+
set value(v: any);
|
|
36
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<any>;
|
|
37
|
+
private _valueBeforeInit;
|
|
38
|
+
writeValue(v: any): void;
|
|
39
|
+
private _isViewInit;
|
|
40
|
+
ngAfterViewInit(): void;
|
|
41
|
+
protected _emitChange(): void;
|
|
42
|
+
onItemHighlight(v: ArdOptionSimple): void;
|
|
43
|
+
onItemFocus(v: ArdOptionSimple): void;
|
|
44
|
+
onItemBlur(): void;
|
|
45
|
+
selectItem(v: ArdOptionSimple): void;
|
|
46
|
+
unselectItem(v: ArdOptionSimple): void;
|
|
47
|
+
toggleItem(v: ArdOptionSimple): void;
|
|
48
|
+
readonly checkboxTemplate: import("@angular/core").Signal<ArdCheckboxListCheckboxTemplateDirective | undefined>;
|
|
49
|
+
readonly labelTemplate: import("@angular/core").Signal<ArdCheckboxListLabelTemplateDirective | undefined>;
|
|
50
|
+
readonly labelComponent: import("@angular/core").Type<import("./checkbox-list.types").ArdCheckboxListLabelComponent> | undefined;
|
|
51
|
+
readonly labelContextGenerator: import("@angular/core").Signal<(item: ArdOptionSimple) => OptionContext<ArdOptionSimple>>;
|
|
52
|
+
readonly labelComponentInputsGenerator: import("@angular/core").Signal<(value: ArdOptionSimple) => Partial<import("./checkbox-list.types").ArdCheckboxListLabelComponent>>;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCheckboxListComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCheckboxListComponent, "ard-checkbox-list", never, { "valueFrom": { "alias": "valueFrom"; "required": false; "isSignal": true; }; "labelFrom": { "alias": "labelFrom"; "required": false; "isSignal": true; }; "disabledFrom": { "alias": "disabledFrom"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "invertDisabled": { "alias": "invertDisabled"; "required": false; "isSignal": true; }; "maxSelectedItems": { "alias": "maxSelectedItems"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, ["checkboxTemplate", "labelTemplate"], never, false, never>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { InjectionToken, Provider, Type } from '@angular/core';
|
|
2
|
+
import { _NgModelComponentDefaults } from '../_internal/ngmodel-component';
|
|
3
|
+
import { CompareWithFn } from '../types/item-storage.types';
|
|
4
|
+
import { Nullable } from '../types/utility.types';
|
|
5
|
+
import { ComponentColor } from './../types/colors.types';
|
|
6
|
+
import { ArdCheckboxListLabelComponent, CheckboxListAlignType } from './checkbox-list.types';
|
|
7
|
+
export interface ArdCheckboxListDefaults extends _NgModelComponentDefaults {
|
|
8
|
+
valueFrom: string;
|
|
9
|
+
labelFrom: string;
|
|
10
|
+
disabledFrom: string;
|
|
11
|
+
compareWith: Nullable<CompareWithFn>;
|
|
12
|
+
invertDisabled: boolean;
|
|
13
|
+
maxSelectedItems: number;
|
|
14
|
+
color: ComponentColor;
|
|
15
|
+
align: CheckboxListAlignType;
|
|
16
|
+
compact: boolean;
|
|
17
|
+
LabelComponent?: Type<ArdCheckboxListLabelComponent>;
|
|
18
|
+
}
|
|
19
|
+
export declare const ARD_CHECKBOX_LIST_DEFAULTS: InjectionToken<ArdCheckboxListDefaults>;
|
|
20
|
+
export declare function provideCheckboxListDefaults(config: Partial<ArdCheckboxListDefaults>): Provider;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { CheckboxTemplateContext } from '../checkbox/checkbox.types';
|
|
3
|
+
import { ArdOptionSimple, OptionContext } from '../types/item-storage.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ArdCheckboxListCheckboxTemplateDirective {
|
|
6
|
+
template: TemplateRef<CheckboxTemplateContext>;
|
|
7
|
+
constructor(template: TemplateRef<CheckboxTemplateContext>);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdCheckboxListCheckboxTemplateDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdCheckboxListCheckboxTemplateDirective, "ard-checkbox-list > ng-template[ard-checkbox-tmp]", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
11
|
+
export declare class ArdCheckboxListLabelTemplateDirective {
|
|
12
|
+
template: TemplateRef<OptionContext<ArdOptionSimple>>;
|
|
13
|
+
constructor(template: TemplateRef<OptionContext<ArdOptionSimple>>);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdCheckboxListLabelTemplateDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdCheckboxListLabelTemplateDirective, "ard-checkbox-list > ng-template[ard-label-tmp]", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./checkbox-list.component";
|
|
3
|
+
import * as i2 from "./checkbox-list.directives";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../checkbox/checkbox.module";
|
|
6
|
+
import * as i5 from "../checkbox/checkbox.internal-directives";
|
|
7
|
+
export declare class ArdiumCheckboxListModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCheckboxListModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumCheckboxListModule, [typeof i1.ArdiumCheckboxListComponent, typeof i2.ArdCheckboxListCheckboxTemplateDirective, typeof i2.ArdCheckboxListLabelTemplateDirective], [typeof i3.CommonModule, typeof i4.ArdiumCheckboxModule, typeof i5._CheckboxTemplateRepositoryDirective], [typeof i1.ArdiumCheckboxListComponent, typeof i2.ArdCheckboxListCheckboxTemplateDirective, typeof i2.ArdCheckboxListLabelTemplateDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumCheckboxListModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ArdOptionSimple, OptionContext } from '../types/item-storage.types';
|
|
2
|
+
import { TemplateComponent } from '../types/utility.types';
|
|
3
|
+
export interface ArdCheckboxListLabelComponent extends TemplateComponent<OptionContext<ArdOptionSimple>> {
|
|
4
|
+
}
|
|
5
|
+
export declare const CheckboxListAlignType: {
|
|
6
|
+
readonly LeftClumped: "left-clumped";
|
|
7
|
+
readonly LeftSplit: "left-split";
|
|
8
|
+
readonly RightSplit: "right-split";
|
|
9
|
+
readonly RightClumped: "right-clumped";
|
|
10
|
+
};
|
|
11
|
+
export type CheckboxListAlignType = (typeof CheckboxListAlignType)[keyof typeof CheckboxListAlignType];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BooleanLike } from '@ardium-ui/devkit';
|
|
2
|
+
import { SimpleOneAxisAlignment } from '../types/alignment.types';
|
|
3
|
+
import { ComponentColor } from '../types/colors.types';
|
|
4
|
+
import { DecorationElementAppearance, FormElementVariant } from '../types/theming.types';
|
|
5
|
+
import { _DisablableComponentBase } from './../_internal/disablable-component';
|
|
6
|
+
import { ArdChipDefaults } from './chip.defaults';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ArdiumChipComponent extends _DisablableComponentBase {
|
|
9
|
+
protected readonly _DEFAULTS: ArdChipDefaults;
|
|
10
|
+
constructor(defaults: ArdChipDefaults);
|
|
11
|
+
readonly contentAlignment: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
|
|
12
|
+
readonly appearance: import("@angular/core").InputSignal<DecorationElementAppearance>;
|
|
13
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
14
|
+
readonly color: import("@angular/core").InputSignal<ComponentColor>;
|
|
15
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
16
|
+
readonly wrapperClasses: import("@angular/core").InputSignal<string>;
|
|
17
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumChipComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumChipComponent, "ard-chip", never, { "contentAlignment": { "alias": "contentAlignment"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { _DisablableComponentDefaults } from '../_internal/disablable-component';
|
|
3
|
+
import { SimpleOneAxisAlignment } from '../types/alignment.types';
|
|
4
|
+
import { ComponentColor } from '../types/colors.types';
|
|
5
|
+
import { DecorationElementAppearance, FormElementVariant } from '../types/theming.types';
|
|
6
|
+
export interface ArdChipDefaults extends _DisablableComponentDefaults {
|
|
7
|
+
contentAlignment: SimpleOneAxisAlignment;
|
|
8
|
+
appearance: DecorationElementAppearance;
|
|
9
|
+
variant: FormElementVariant;
|
|
10
|
+
color: ComponentColor;
|
|
11
|
+
compact: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const _chipDefaults: ArdChipDefaults;
|
|
14
|
+
export declare const ARD_CHIP_DEFAULTS: InjectionToken<ArdChipDefaults>;
|
|
15
|
+
export declare function provideChipDefaults(config: Partial<ArdChipDefaults>): Provider;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./chip.component";
|
|
3
|
+
import * as i2 from "./selectable-chip/selectable-chip.component";
|
|
4
|
+
import * as i3 from "./deletable-chip/deletable-chip.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "../_internal/clear-button/clear-button.module";
|
|
7
|
+
export declare class ArdiumChipModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumChipModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumChipModule, [typeof i1.ArdiumChipComponent, typeof i2.ArdiumSelectableChipComponent, typeof i3.ArdiumDeletableChipComponent], [typeof i4.CommonModule, typeof i5._ClearButtonModule], [typeof i1.ArdiumChipComponent, typeof i2.ArdiumSelectableChipComponent, typeof i3.ArdiumDeletableChipComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumChipModule>;
|
|
11
|
+
}
|