@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,96 @@
|
|
|
1
|
+
import { Overlay, ScrollStrategyOptions } from '@angular/cdk/overlay';
|
|
2
|
+
import { ElementRef, Renderer2, Signal, ViewContainerRef, WritableSignal } from '@angular/core';
|
|
3
|
+
import { BooleanLike, NumberLike } from '@ardium-ui/devkit';
|
|
4
|
+
import { _NgModelComponentBase, _NgModelComponentDefaults } from '../_internal/ngmodel-component';
|
|
5
|
+
import { SimpleComponentColor } from '../types/colors.types';
|
|
6
|
+
import { ArdRangeSelectionBehavior } from './range-slider/range-slider.types';
|
|
7
|
+
import { ArdSliderTooltipDirective } from './slider.directive';
|
|
8
|
+
import { SliderDecorationPosition, SliderLabelObject, SliderTooltipBehavior, SliderTooltipFormatFn, _InternalSliderLabelObject } from './slider.types';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export interface _AsbtractSliderDefaults extends _NgModelComponentDefaults {
|
|
11
|
+
noTooltip: boolean;
|
|
12
|
+
showValueTicks: boolean;
|
|
13
|
+
formatTooltipFn: SliderTooltipFormatFn;
|
|
14
|
+
min: number;
|
|
15
|
+
max: number;
|
|
16
|
+
step: number;
|
|
17
|
+
shiftMultiplier: number;
|
|
18
|
+
labelPosition: SliderDecorationPosition;
|
|
19
|
+
labels: SliderLabelObject[] | number[] | null;
|
|
20
|
+
color: SimpleComponentColor;
|
|
21
|
+
compact: boolean;
|
|
22
|
+
tooltipPosition: SliderDecorationPosition;
|
|
23
|
+
tooltipBehavior: SliderTooltipBehavior;
|
|
24
|
+
selectionBehavior: ArdRangeSelectionBehavior;
|
|
25
|
+
minimumDistance: number;
|
|
26
|
+
emitTouchedOnEveryChange: boolean;
|
|
27
|
+
}
|
|
28
|
+
export declare const _asbtractSliderDefaults: _AsbtractSliderDefaults;
|
|
29
|
+
export declare abstract class _AbstractSlider<T> extends _NgModelComponentBase {
|
|
30
|
+
abstract readonly componentId: string;
|
|
31
|
+
abstract readonly componentName: string;
|
|
32
|
+
protected readonly _DEFAULTS: _AsbtractSliderDefaults;
|
|
33
|
+
readonly elementRef: Signal<ElementRef<HTMLElement> | undefined>;
|
|
34
|
+
protected readonly document: Document;
|
|
35
|
+
protected readonly renderer: Renderer2;
|
|
36
|
+
protected readonly overlay: Overlay;
|
|
37
|
+
protected readonly scrollStrategyOpts: ScrollStrategyOptions;
|
|
38
|
+
protected readonly viewContainerRef: ViewContainerRef;
|
|
39
|
+
readonly min: import("@angular/core").InputSignalWithTransform<number, NumberLike>;
|
|
40
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number, NumberLike>;
|
|
41
|
+
readonly step: import("@angular/core").InputSignalWithTransform<number, NumberLike>;
|
|
42
|
+
readonly minMaxStepValueCleanup: import("@angular/core").EffectRef;
|
|
43
|
+
readonly minMaxErrorCheck: import("@angular/core").EffectRef;
|
|
44
|
+
readonly shiftMultiplier: import("@angular/core").InputSignalWithTransform<number, NumberLike>;
|
|
45
|
+
protected readonly _stepSizeComputed: Signal<number>;
|
|
46
|
+
readonly showValueTicks: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
47
|
+
protected readonly _tickArray: Signal<string[]>;
|
|
48
|
+
private _transformLabelInput;
|
|
49
|
+
readonly labelPosition: import("@angular/core").InputSignal<SliderDecorationPosition>;
|
|
50
|
+
readonly labels: import("@angular/core").InputSignalWithTransform<SliderLabelObject[], string | number[] | SliderLabelObject[] | null | undefined>;
|
|
51
|
+
readonly labelObjects: Signal<_InternalSliderLabelObject[]>;
|
|
52
|
+
readonly color: import("@angular/core").InputSignal<SimpleComponentColor>;
|
|
53
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
54
|
+
readonly ngClasses: Signal<string>;
|
|
55
|
+
readonly sliderTransition: Signal<string>;
|
|
56
|
+
private readonly _totalSteps;
|
|
57
|
+
protected abstract readonly _value: WritableSignal<T>;
|
|
58
|
+
set value(newValue: T);
|
|
59
|
+
get value(): T;
|
|
60
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<T>;
|
|
61
|
+
abstract writeValue(v: any): void;
|
|
62
|
+
abstract cleanupValueAfterMinMaxStepChange(): void;
|
|
63
|
+
abstract reset(): void;
|
|
64
|
+
protected _offset(offset: number, hasShift: boolean, handleId?: number): void;
|
|
65
|
+
protected _decrement(event: KeyboardEvent, forceShift?: boolean): void;
|
|
66
|
+
protected _increment(event: KeyboardEvent, forceShift?: boolean): void;
|
|
67
|
+
protected _clampValue(v: number): number;
|
|
68
|
+
protected _valueToPercent(v: number): number;
|
|
69
|
+
protected _emitChange(): void;
|
|
70
|
+
readonly noTooltip: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
71
|
+
readonly tooltipFormatFn: import("@angular/core").InputSignal<SliderTooltipFormatFn>;
|
|
72
|
+
readonly tooltipTemplate: Signal<ArdSliderTooltipDirective | undefined>;
|
|
73
|
+
readonly tooltipPosition: import("@angular/core").InputSignal<SliderDecorationPosition>;
|
|
74
|
+
readonly tooltipBehavior: import("@angular/core").InputSignal<SliderTooltipBehavior>;
|
|
75
|
+
protected readonly _grabbedHandleId: WritableSignal<number | null>;
|
|
76
|
+
protected _shouldCheckForMovement: boolean;
|
|
77
|
+
protected _bodyHasClass: boolean;
|
|
78
|
+
readonly emitTouchedOnEveryChange: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
79
|
+
readonly isSliderHandleGrabbed: Signal<boolean>;
|
|
80
|
+
readonly grabbedHandleEffect: import("@angular/core").EffectRef;
|
|
81
|
+
abstract onTrackHitboxPointerDown(event: MouseEvent | TouchEvent): void;
|
|
82
|
+
onPointerDownOnHandle(event: MouseEvent | TouchEvent, handleId?: number): void;
|
|
83
|
+
abstract onPointerMove(event: MouseEvent | TouchEvent): void;
|
|
84
|
+
onPointerUp(): void;
|
|
85
|
+
protected abstract readonly _handlePositions: Signal<[number, number]>;
|
|
86
|
+
readonly handlePositionsPercent: Signal<[string, string]>;
|
|
87
|
+
protected _setValueFromPercent(percent: number, handleId?: number | null): void;
|
|
88
|
+
protected _writeValueFromEvent(event: MouseEvent | TouchEvent, handleId?: number | null): void;
|
|
89
|
+
protected abstract _percentValueToValue(percent: number, handleId?: number): T;
|
|
90
|
+
protected _getElementRect(): DOMRect;
|
|
91
|
+
protected _clampPercentValue(percent: number): number;
|
|
92
|
+
protected _getPercentValueFromEvent(event: MouseEvent | TouchEvent): number;
|
|
93
|
+
onKeyPress(event: KeyboardEvent): void;
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_AbstractSlider<any>, never>;
|
|
95
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_AbstractSlider<any>, never, never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "shiftMultiplier": { "alias": "shiftMultiplier"; "required": false; "isSignal": true; }; "showValueTicks": { "alias": "showValueTicks"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "noTooltip": { "alias": "noTooltip"; "required": false; "isSignal": true; }; "tooltipFormatFn": { "alias": "tooltipFormatFn"; "required": false; "isSignal": true; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "tooltipBehavior": { "alias": "tooltipBehavior"; "required": false; "isSignal": true; }; "emitTouchedOnEveryChange": { "alias": "emitTouchedOnEveryChange"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, ["tooltipTemplate"], never, true, never>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './range-slider/range-slider.component';
|
|
2
|
+
export * from './range-slider/range-slider.module';
|
|
3
|
+
export * from './range-slider/range-slider.types';
|
|
4
|
+
export * from './slider.component';
|
|
5
|
+
export * from './slider.defaults';
|
|
6
|
+
export * from './slider.directive';
|
|
7
|
+
export * from './slider.module';
|
|
8
|
+
export * from './slider.types';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { NumberLike } from '@ardium-ui/devkit';
|
|
3
|
+
import { _AbstractSlider } from '../abstract-slider';
|
|
4
|
+
import { ArdSliderDefaults } from '../slider.defaults';
|
|
5
|
+
import { SliderRange, SliderTooltipContext } from '../slider.types';
|
|
6
|
+
import { ArdRangeSelectionBehavior } from './range-slider.types';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ArdiumRangeSliderComponent extends _AbstractSlider<SliderRange> implements OnInit {
|
|
9
|
+
readonly componentId = "106";
|
|
10
|
+
readonly componentName = "range-slider";
|
|
11
|
+
protected readonly _DEFAULTS: ArdSliderDefaults;
|
|
12
|
+
constructor(defaults: ArdSliderDefaults);
|
|
13
|
+
protected readonly _value: import("@angular/core").WritableSignal<SliderRange<number>>;
|
|
14
|
+
private _isValidObject;
|
|
15
|
+
private _isValidTuple;
|
|
16
|
+
private _normalizeSliderRange;
|
|
17
|
+
writeValue(v: any): void;
|
|
18
|
+
get value(): SliderRange;
|
|
19
|
+
set value(v: any);
|
|
20
|
+
cleanupValueAfterMinMaxStepChange(): void;
|
|
21
|
+
readonly selectionBehavior: import("@angular/core").InputSignal<ArdRangeSelectionBehavior>;
|
|
22
|
+
readonly minimumDistance: import("@angular/core").InputSignalWithTransform<number, NumberLike>;
|
|
23
|
+
protected readonly _tooltipValue: import("@angular/core").Signal<SliderRange<string>>;
|
|
24
|
+
readonly tooltipContexts: import("@angular/core").Signal<SliderRange<SliderTooltipContext>>;
|
|
25
|
+
reset(): void;
|
|
26
|
+
readonly trackOverlayLeft: import("@angular/core").Signal<string>;
|
|
27
|
+
readonly trackOverlayWidth: import("@angular/core").Signal<string>;
|
|
28
|
+
onTrackHitboxPointerDown(event: MouseEvent | TouchEvent): void;
|
|
29
|
+
onPointerMove(event: MouseEvent | TouchEvent): void;
|
|
30
|
+
protected _percentValueToValue(percent: number, handleId: number): SliderRange;
|
|
31
|
+
protected readonly _handlePositions: import("@angular/core").Signal<[number, number]>;
|
|
32
|
+
readonly currentHandle: import("@angular/core").WritableSignal<1 | 2 | null>;
|
|
33
|
+
onHandleFocus(event: FocusEvent, handleId: 1 | 2): void;
|
|
34
|
+
onBlur(event: FocusEvent): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumRangeSliderComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumRangeSliderComponent, "ard-range-slider", never, { "selectionBehavior": { "alias": "selectionBehavior"; "required": false; "isSignal": true; }; "minimumDistance": { "alias": "minimumDistance"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./range-slider.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ArdiumRangeSliderModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumRangeSliderModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumRangeSliderModule, [typeof i1.ArdiumRangeSliderComponent], [typeof i2.CommonModule], [typeof i1.ArdiumRangeSliderComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumRangeSliderModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { _AbstractSlider } from './abstract-slider';
|
|
2
|
+
import { ArdSliderDefaults } from './slider.defaults';
|
|
3
|
+
import { SliderTooltipContext } from './slider.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ArdiumSliderComponent extends _AbstractSlider<number> {
|
|
6
|
+
readonly componentId = "105";
|
|
7
|
+
readonly componentName = "slider";
|
|
8
|
+
protected readonly _DEFAULTS: ArdSliderDefaults;
|
|
9
|
+
constructor(defaults: ArdSliderDefaults);
|
|
10
|
+
protected readonly _value: import("@angular/core").WritableSignal<number>;
|
|
11
|
+
protected readonly _tooltipValue: import("@angular/core").Signal<string>;
|
|
12
|
+
readonly tooltipContext: import("@angular/core").Signal<SliderTooltipContext>;
|
|
13
|
+
writeValue(v: any): void;
|
|
14
|
+
cleanupValueAfterMinMaxStepChange(): void;
|
|
15
|
+
reset(): void;
|
|
16
|
+
increment(steps?: number): void;
|
|
17
|
+
decrement(steps?: number): void;
|
|
18
|
+
onTrackHitboxPointerDown(event: MouseEvent | TouchEvent): void;
|
|
19
|
+
onPointerMove(event: MouseEvent | TouchEvent): void;
|
|
20
|
+
protected _percentValueToValue(percent: number): number;
|
|
21
|
+
protected readonly _handlePositions: import("@angular/core").Signal<[number, number]>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSliderComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSliderComponent, "ard-slider", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { _AsbtractSliderDefaults } from './abstract-slider';
|
|
3
|
+
export interface ArdSliderDefaults extends _AsbtractSliderDefaults {
|
|
4
|
+
}
|
|
5
|
+
export declare const ARD_SLIDER_DEFAULTS: InjectionToken<ArdSliderDefaults>;
|
|
6
|
+
export declare function provideSliderDefaults(config: Partial<ArdSliderDefaults>): Provider;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { SliderTooltipContext } from './slider.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdSliderTooltipDirective {
|
|
5
|
+
template: TemplateRef<SliderTooltipContext>;
|
|
6
|
+
constructor(template: TemplateRef<SliderTooltipContext>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdSliderTooltipDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdSliderTooltipDirective, "ng-template[ard-slider-tooltip-tmp]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./slider.component";
|
|
3
|
+
import * as i2 from "./slider.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/cdk/overlay";
|
|
6
|
+
export declare class ArdiumSliderModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSliderModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumSliderModule, [typeof i1.ArdiumSliderComponent, typeof i2.ArdSliderTooltipDirective], [typeof i3.CommonModule, typeof i4.OverlayModule], [typeof i1.ArdiumSliderComponent, typeof i2.ArdSliderTooltipDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumSliderModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface SliderTooltipContext {
|
|
2
|
+
value: string | number;
|
|
3
|
+
$implicit: string | number;
|
|
4
|
+
}
|
|
5
|
+
export declare const SliderTooltipBehavior: {
|
|
6
|
+
readonly Always: "always";
|
|
7
|
+
readonly Auto: "auto";
|
|
8
|
+
readonly Never: "never";
|
|
9
|
+
};
|
|
10
|
+
export type SliderTooltipBehavior = (typeof SliderTooltipBehavior)[keyof typeof SliderTooltipBehavior];
|
|
11
|
+
export declare const SliderDecorationPosition: {
|
|
12
|
+
readonly Top: "top";
|
|
13
|
+
readonly Bottom: "bottom";
|
|
14
|
+
};
|
|
15
|
+
export type SliderDecorationPosition = (typeof SliderDecorationPosition)[keyof typeof SliderDecorationPosition];
|
|
16
|
+
export interface SliderLabelObject {
|
|
17
|
+
label: string | number;
|
|
18
|
+
value: number;
|
|
19
|
+
}
|
|
20
|
+
export interface _InternalSliderLabelObject {
|
|
21
|
+
label: string;
|
|
22
|
+
positionPercent: string;
|
|
23
|
+
}
|
|
24
|
+
export interface SliderRange<T = number> {
|
|
25
|
+
from: T;
|
|
26
|
+
to: T;
|
|
27
|
+
}
|
|
28
|
+
export type SliderTooltipFormatFn = (value: number) => string | number;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { OverlayRef } from '@angular/cdk/overlay';
|
|
2
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
3
|
+
import { InjectionToken } from '@angular/core';
|
|
4
|
+
import { BehaviorSubject, Subject } from 'rxjs';
|
|
5
|
+
import { ComponentColor } from '../types/colors.types';
|
|
6
|
+
import { ArdSnackbarData, ArdSnackbarOptions, ArdSnackbarType } from './snackbar.types';
|
|
7
|
+
export declare const ARD_SNACKBAR_DATA: InjectionToken<ArdSnackbarData>;
|
|
8
|
+
export declare const ARD_SNACKBAR_COLOR: InjectionToken<ComponentColor>;
|
|
9
|
+
export declare const ARD_SNACKBAR_TYPE: InjectionToken<ArdSnackbarType>;
|
|
10
|
+
export declare class _ArdSnackbarRefInternal<T> {
|
|
11
|
+
component: ComponentType<T>;
|
|
12
|
+
options: Required<ArdSnackbarOptions>;
|
|
13
|
+
constructor(component: ComponentType<T>, options: Required<ArdSnackbarOptions>, dismiss: (withAction?: boolean) => void);
|
|
14
|
+
readonly publicRef: ArdSnackbarRef<T>;
|
|
15
|
+
timeout: any;
|
|
16
|
+
overlay: OverlayRef;
|
|
17
|
+
private readonly _onOpen;
|
|
18
|
+
private readonly _onCloseStart;
|
|
19
|
+
markAsOpened(): void;
|
|
20
|
+
markAsStartingToClose(withAction?: boolean): void;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Reference to an opened snackbar.
|
|
24
|
+
* Provides methods for closing the snackbar programmatically, and observables for subscribing to open, close, and action events.
|
|
25
|
+
*/
|
|
26
|
+
export declare class ArdSnackbarRef<T = unknown> {
|
|
27
|
+
private readonly dismiss;
|
|
28
|
+
private readonly _onOpen;
|
|
29
|
+
private readonly _onCloseStart;
|
|
30
|
+
constructor(dismiss: (withAction?: boolean) => void, _onOpen: Subject<void>, _onCloseStart: BehaviorSubject<boolean>);
|
|
31
|
+
private readonly _onClose;
|
|
32
|
+
private readonly _onAction;
|
|
33
|
+
/**
|
|
34
|
+
* Observable that emits when the snackbar is opened. Completes after emitting the first value.
|
|
35
|
+
*/
|
|
36
|
+
readonly onOpen: import("rxjs").Observable<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Observable that emits when the snackbar is closed and all animations have finished. Emits a boolean value indicating whether the snackbar was closed as a result of the user clicking the action button (true) or not (false). Completes after emitting the first value.
|
|
39
|
+
*/
|
|
40
|
+
readonly onClose: import("rxjs").Observable<boolean>;
|
|
41
|
+
/**
|
|
42
|
+
* Observable that emits when the snackbar action is triggered, before the snackbar starts closing. Completes when the snackbar is closed, regardless of whether any value was emitted.
|
|
43
|
+
*/
|
|
44
|
+
readonly onAction: import("rxjs").Observable<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Observable that emits when the snackbar starts the closing process. Emits a boolean value indicating whether the closing was triggered by the user clicking the action button (true) or not (false). Completes after emitting the first value.
|
|
47
|
+
*/
|
|
48
|
+
readonly onCloseStart: import("rxjs").Observable<boolean>;
|
|
49
|
+
/**
|
|
50
|
+
* The instance of the component rendered inside the snackbar.
|
|
51
|
+
*/
|
|
52
|
+
readonly instance: T;
|
|
53
|
+
/**
|
|
54
|
+
* Closes the snackbar, optionally indicating that the action was triggered.
|
|
55
|
+
* @param withAction A boolean value indicating whether the snackbar is being closed as a result of the user clicking the action button (true) or not (false).
|
|
56
|
+
*/
|
|
57
|
+
close(withAction?: boolean): void;
|
|
58
|
+
/**
|
|
59
|
+
* Marks the snackbar as closed after the closing animation has finished.
|
|
60
|
+
* @param withAction
|
|
61
|
+
* @returns
|
|
62
|
+
*/
|
|
63
|
+
markAsClosed(withAction?: boolean): void;
|
|
64
|
+
private _isClosed;
|
|
65
|
+
/**
|
|
66
|
+
* Indicates whether the snackbar has been closed and the closing animation has finished.
|
|
67
|
+
*/
|
|
68
|
+
get isClosed(): boolean;
|
|
69
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ArdSnackbarRef } from './snackbar-ref';
|
|
2
|
+
import { ArdSnackbarType } from './snackbar.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class _ArdSimpleSnackbarComponent {
|
|
5
|
+
readonly snackbarRef: ArdSnackbarRef<any>;
|
|
6
|
+
readonly data: import("./snackbar.types").ArdSnackbarData;
|
|
7
|
+
readonly color: import("@ardium-pl/ui").ComponentColor;
|
|
8
|
+
readonly type: ArdSnackbarType;
|
|
9
|
+
readonly typeIcon: string | null;
|
|
10
|
+
closeWithAction(): void;
|
|
11
|
+
get hasAction(): boolean;
|
|
12
|
+
private _getTypeIcon;
|
|
13
|
+
get colorClass(): string;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_ArdSimpleSnackbarComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<_ArdSimpleSnackbarComponent, "ard-simple-snackbar", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ComponentType } from '@angular/cdk/overlay';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
import { ArdSnackbarRef } from './snackbar-ref';
|
|
4
|
+
import { _ArdSimpleSnackbarComponent } from './snackbar.component';
|
|
5
|
+
import { ArdSnackbarOptions } from './snackbar.types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Service for opening snackbars. Provides methods for opening snackbars with either a simple message and action, or with a custom component. Manages a queue of snackbars to be displayed, and handles the display and dismissal of snackbars according to the specified options. Also provides methods for retrieving and clearing the snackbar queue.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ArdiumSnackbarService implements OnDestroy {
|
|
11
|
+
private readonly _snackbarQueue;
|
|
12
|
+
private _openedSnackbar?;
|
|
13
|
+
private readonly _DEFAULTS;
|
|
14
|
+
private readonly _animationLength;
|
|
15
|
+
private readonly _overlay;
|
|
16
|
+
private readonly _injector;
|
|
17
|
+
/**
|
|
18
|
+
* Opens a snackbar with the given message, action and options.
|
|
19
|
+
* @param message The message to display in the snackbar.
|
|
20
|
+
* @param action The label for the snackbar action. If provided, the snackbar will have an action button with this label.
|
|
21
|
+
* When the action button is clicked, the snackbar will emit a close event with `withAction` set to `true`.
|
|
22
|
+
* @param options Additional options for configuring the snackbar.
|
|
23
|
+
* @returns A reference to the opened snackbar.
|
|
24
|
+
*/
|
|
25
|
+
open(message: string, action?: string, options?: ArdSnackbarOptions): ArdSnackbarRef<_ArdSimpleSnackbarComponent>;
|
|
26
|
+
/**
|
|
27
|
+
* Opens a snackbar with a custom component, passing the given options.
|
|
28
|
+
* @param component The component to display inside the snackbar. This component will be instantiated and inserted into the snackbar overlay.
|
|
29
|
+
* @param options Additional options for configuring the snackbar, such as data to pass to the component, placement, styling, etc.
|
|
30
|
+
* @returns A reference to the opened snackbar, with the generic type of the component instance. You can use this reference to subscribe to open/close events, and to close the snackbar programmatically.
|
|
31
|
+
*/
|
|
32
|
+
openFromComponent<T>(component: ComponentType<T>, options: ArdSnackbarOptions): ArdSnackbarRef<T>;
|
|
33
|
+
private _handleQueue;
|
|
34
|
+
private _mergeOptions;
|
|
35
|
+
private _openNext;
|
|
36
|
+
private _createOverlay;
|
|
37
|
+
/**
|
|
38
|
+
* Dismisses the currently opened snackbar, if any. If `withAction` is true, it indicates that the snackbar is being dismissed as a result of the user clicking the action button (if it has one). This will cause the snackbar to emit a close event with `withAction` set to true, allowing you to differentiate between automatic dismissal and user-initiated dismissal via the action button.
|
|
39
|
+
* @param withAction Optional boolean indicating whether the dismissal is due to the user clicking the action button. Defaults to false. If true, the snackbar's close event will emit with `withAction` set to true, allowing you to handle this case differently if needed.
|
|
40
|
+
*/
|
|
41
|
+
dismissCurrent(withAction?: boolean): void;
|
|
42
|
+
/**
|
|
43
|
+
* Returns an array of references to the snackbars currently in the queue, in the order they will be opened. Note that this does not include the currently opened snackbar, if any.
|
|
44
|
+
*/
|
|
45
|
+
getQueue(): ArdSnackbarRef<unknown>[];
|
|
46
|
+
/**
|
|
47
|
+
* Clears all pending snackbars from the queue. Does not affect the currently opened snackbar, if any. Use with caution, as this will remove all pending snackbars that have not yet been displayed, and they will not be shown at all.
|
|
48
|
+
*/
|
|
49
|
+
clearQueue(): void;
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated Internal implementation detail, do not use directly.
|
|
52
|
+
*/
|
|
53
|
+
ngOnDestroy(): void;
|
|
54
|
+
private _createInjector;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSnackbarService, never>;
|
|
56
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ArdiumSnackbarService>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { ArdSnackbarOptions } from './snackbar.types';
|
|
3
|
+
export declare const ARD_SNACKBAR_DEFAULTS: InjectionToken<Required<ArdSnackbarOptions>>;
|
|
4
|
+
export declare function provideSnackbarDefaults(config: Partial<ArdSnackbarOptions>): Provider;
|
|
5
|
+
export declare const ARD_SNACKBAR_ANIMATION_LENGTH: InjectionToken<number>;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ComponentColor } from '../types/colors.types';
|
|
3
|
+
export declare const ArdSnackbarAlignment: {
|
|
4
|
+
readonly TopLeft: "top-left";
|
|
5
|
+
readonly TopCenter: "top-center";
|
|
6
|
+
readonly TopRight: "top-right";
|
|
7
|
+
readonly BottomLeft: "bottom-left";
|
|
8
|
+
readonly BottomCenter: "bottom-center";
|
|
9
|
+
readonly BottomRight: "bottom-right";
|
|
10
|
+
};
|
|
11
|
+
export type ArdSnackbarAlignment = (typeof ArdSnackbarAlignment)[keyof typeof ArdSnackbarAlignment];
|
|
12
|
+
export declare const ArdSnackbarOriginRelation: {
|
|
13
|
+
readonly Inside: "inside";
|
|
14
|
+
readonly Outside: "outside";
|
|
15
|
+
};
|
|
16
|
+
export type ArdSnackbarOriginRelation = (typeof ArdSnackbarOriginRelation)[keyof typeof ArdSnackbarOriginRelation];
|
|
17
|
+
export declare const ArdSnackbarQueueHandling: {
|
|
18
|
+
readonly Default: "default";
|
|
19
|
+
readonly Skip: "skip";
|
|
20
|
+
readonly Overwrite: "overwrite";
|
|
21
|
+
};
|
|
22
|
+
export type ArdSnackbarQueueHandling = (typeof ArdSnackbarQueueHandling)[keyof typeof ArdSnackbarQueueHandling];
|
|
23
|
+
export type ArdSnackbarOrigin<T = any> = HTMLElement | ElementRef<T>;
|
|
24
|
+
export declare const ArdSnackbarType: {
|
|
25
|
+
readonly None: "none";
|
|
26
|
+
readonly Danger: "danger";
|
|
27
|
+
readonly Warning: "warn";
|
|
28
|
+
readonly Success: "success";
|
|
29
|
+
readonly Info: "info";
|
|
30
|
+
};
|
|
31
|
+
export type ArdSnackbarType = (typeof ArdSnackbarType)[keyof typeof ArdSnackbarType];
|
|
32
|
+
export interface ArdSnackbarData {
|
|
33
|
+
message: string;
|
|
34
|
+
action?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Options for configuring the behavior and appearance of a snackbar.
|
|
38
|
+
*/
|
|
39
|
+
export interface ArdSnackbarOptions {
|
|
40
|
+
/**
|
|
41
|
+
* Message and action text data to be passed to the snackbar component
|
|
42
|
+
*/
|
|
43
|
+
data?: ArdSnackbarData;
|
|
44
|
+
/**
|
|
45
|
+
* Placement options for the snackbar. If not provided, the snackbar will be centered at the bottom of the screen.
|
|
46
|
+
*/
|
|
47
|
+
placement?: {
|
|
48
|
+
/**
|
|
49
|
+
* The alignment of the snackbar in relation to the origin element. If not provided, it will default to 'bottom-center'.
|
|
50
|
+
*/
|
|
51
|
+
align?: ArdSnackbarAlignment;
|
|
52
|
+
/**
|
|
53
|
+
* The origin element to which the snackbar is attached. If not provided, it will default to 'document.body'.
|
|
54
|
+
*/
|
|
55
|
+
origin?: ArdSnackbarOrigin;
|
|
56
|
+
/**
|
|
57
|
+
* The relation of the snackbar to the origin element. If not provided, it will default to 'outside'.
|
|
58
|
+
*/
|
|
59
|
+
originRelation?: ArdSnackbarOriginRelation;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Duration in milliseconds for which the snackbar should be visible. If not provided, it will default to 3000ms. Set to `Infinity` for a persistent snackbar that must be dismissed manually.
|
|
63
|
+
*/
|
|
64
|
+
duration?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Color of the snackbar. This will apply a corresponding color class to the snackbar element, which can be used to style the snackbar based on the chosen color. If not provided, it will default to 'primary'.
|
|
67
|
+
*/
|
|
68
|
+
color?: ComponentColor;
|
|
69
|
+
/**
|
|
70
|
+
* Type of the snackbar, which can be used to apply specific styles or icons based on the type. If not provided, it will default to 'none'.
|
|
71
|
+
*/
|
|
72
|
+
type?: ArdSnackbarType;
|
|
73
|
+
/**
|
|
74
|
+
* Defines how the snackbar should behave when there are multiple snackbars in the queue. If not provided, it will default to 'default'.
|
|
75
|
+
* - 'default': New snackbars will be added to the end of the queue and displayed after the currently opened snackbar is dismissed.
|
|
76
|
+
* - 'skip': The new snackbar will be added to the start of the queue and displayed after the current snackbar is dismissed.
|
|
77
|
+
* - 'overwrite': If there is already an opened snackbar, it will be immediately dismissed and replaced with the new snackbar.
|
|
78
|
+
*/
|
|
79
|
+
queueHandling?: ArdSnackbarQueueHandling;
|
|
80
|
+
/**
|
|
81
|
+
* Additional CSS class or classes to apply to the snackbar panel.
|
|
82
|
+
*/
|
|
83
|
+
panelClass?: string | string[];
|
|
84
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SimpleComponentColor } from '../types/colors.types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ArdiumSpinnerComponent {
|
|
4
|
+
protected readonly _DEFAULTS: import("./spinner.defaults").ArdSpinnerDefaults;
|
|
5
|
+
readonly color: import("@angular/core").InputSignal<SimpleComponentColor>;
|
|
6
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSpinnerComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSpinnerComponent, "ard-spinner", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { SimpleComponentColor } from './../types/colors.types';
|
|
3
|
+
export interface ArdSpinnerDefaults {
|
|
4
|
+
color: SimpleComponentColor;
|
|
5
|
+
}
|
|
6
|
+
export declare const ARD_SPINNER_DEFAULTS: InjectionToken<ArdSpinnerDefaults>;
|
|
7
|
+
export declare function provideSpinnerDefaults(config: Partial<ArdSpinnerDefaults>): Provider;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./spinner.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ArdiumSpinnerModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSpinnerModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumSpinnerModule, [typeof i1.ArdiumSpinnerComponent], [typeof i2.CommonModule], [typeof i1.ArdiumSpinnerComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumSpinnerModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ArdBreakpointsConfig } from '../breakpoints/breakpoints';
|
|
2
|
+
import { ArdGridAlign, ArdGridDirection, ArdGridJustify, ArdGridWrap } from '../grid';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdiumStackComponent {
|
|
5
|
+
private readonly _componentId;
|
|
6
|
+
protected readonly _DEFAULTS: import("./stack.defaults").ArdStackDefaults;
|
|
7
|
+
private readonly _breakpointService;
|
|
8
|
+
readonly direction: import("@angular/core").InputSignalWithTransform<Required<ArdBreakpointsConfig<ArdGridDirection>>, string | ArdBreakpointsConfig<ArdGridDirection>>;
|
|
9
|
+
readonly justifyContent: import("@angular/core").InputSignalWithTransform<Required<ArdBreakpointsConfig<ArdGridJustify>>, string | ArdBreakpointsConfig<ArdGridJustify>>;
|
|
10
|
+
readonly alignItems: import("@angular/core").InputSignalWithTransform<Required<ArdBreakpointsConfig<ArdGridAlign>>, string | ArdBreakpointsConfig<ArdGridAlign>>;
|
|
11
|
+
readonly spacing: import("@angular/core").InputSignalWithTransform<Required<ArdBreakpointsConfig<string | number>>, string | number | ArdBreakpointsConfig<string | number>>;
|
|
12
|
+
readonly columnSpacing: import("@angular/core").InputSignalWithTransform<ArdBreakpointsConfig<string | number> | null, string | number | ArdBreakpointsConfig<string | number> | null>;
|
|
13
|
+
readonly rowSpacing: import("@angular/core").InputSignalWithTransform<ArdBreakpointsConfig<string | number> | null, string | number | ArdBreakpointsConfig<string | number> | null>;
|
|
14
|
+
readonly wrap: import("@angular/core").InputSignalWithTransform<Required<ArdBreakpointsConfig<ArdGridWrap>>, string | ArdBreakpointsConfig<ArdGridWrap>>;
|
|
15
|
+
readonly finalColumnSpacing: import("@angular/core").Signal<ArdBreakpointsConfig<string | number>>;
|
|
16
|
+
readonly finalRowSpacing: import("@angular/core").Signal<ArdBreakpointsConfig<string | number>>;
|
|
17
|
+
readonly currentDirection: import("@angular/core").Signal<ArdGridDirection | undefined>;
|
|
18
|
+
readonly currentJustifyContent: import("@angular/core").Signal<ArdGridJustify | undefined>;
|
|
19
|
+
readonly currentAlignItems: import("@angular/core").Signal<ArdGridAlign | undefined>;
|
|
20
|
+
readonly currentColumnSpacing: import("@angular/core").Signal<string | number | undefined>;
|
|
21
|
+
readonly currentRowSpacing: import("@angular/core").Signal<string | number | undefined>;
|
|
22
|
+
readonly currentWrap: import("@angular/core").Signal<ArdGridWrap | undefined>;
|
|
23
|
+
readonly currentStyle: import("@angular/core").Signal<string>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumStackComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumStackComponent, "ard-stack", never, { "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "justifyContent": { "alias": "justifyContent"; "required": false; "isSignal": true; }; "alignItems": { "alias": "alignItems"; "required": false; "isSignal": true; }; "spacing": { "alias": "spacing"; "required": false; "isSignal": true; }; "columnSpacing": { "alias": "columnSpacing"; "required": false; "isSignal": true; }; "rowSpacing": { "alias": "rowSpacing"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { ArdBreakpointsConfig } from '../breakpoints';
|
|
3
|
+
import { ArdGridAlign, ArdGridDirection, ArdGridJustify, ArdGridWrap } from '../grid';
|
|
4
|
+
export interface ArdStackDefaults {
|
|
5
|
+
direction: ArdGridDirection | ArdBreakpointsConfig<ArdGridDirection>;
|
|
6
|
+
justifyContent: ArdGridJustify | ArdBreakpointsConfig<ArdGridJustify>;
|
|
7
|
+
alignItems: ArdGridAlign | ArdBreakpointsConfig<ArdGridAlign>;
|
|
8
|
+
spacing: number | string | ArdBreakpointsConfig<number | string>;
|
|
9
|
+
columnSpacing: null | number | string | ArdBreakpointsConfig<number | string>;
|
|
10
|
+
rowSpacing: null | number | string | ArdBreakpointsConfig<number | string>;
|
|
11
|
+
wrap: ArdGridWrap | ArdBreakpointsConfig<ArdGridWrap>;
|
|
12
|
+
}
|
|
13
|
+
export declare const ARD_STACK_DEFAULTS: InjectionToken<ArdStackDefaults>;
|
|
14
|
+
export declare function provideStackDefaults(config: Partial<ArdStackDefaults>): Provider;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./stack.component";
|
|
3
|
+
export declare class ArdiumStackModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumStackModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumStackModule, [typeof i1.ArdiumStackComponent], never, [typeof i1.ArdiumStackComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumStackModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NumberLike } from '@ardium-ui/devkit';
|
|
2
|
+
import { StarColor, StarFillMode } from './../star.types';
|
|
3
|
+
import { ArdRatingDisplayStarTemplateDirective } from './rating-display.directives';
|
|
4
|
+
import { ArdRatingDisplayStarTemplateContext } from './rating-display.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ArdiumRatingDisplayComponent {
|
|
7
|
+
readonly wrapperClasses: import("@angular/core").InputSignal<string>;
|
|
8
|
+
protected readonly _DEFAULTS: import("./rating-display.defaults").ArdRatingDisplayDefaults;
|
|
9
|
+
readonly color: import("@angular/core").InputSignal<StarColor>;
|
|
10
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
11
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number, NumberLike>;
|
|
12
|
+
readonly value: import("@angular/core").InputSignalWithTransform<number | StarFillMode[], string | number | StarFillMode[]>;
|
|
13
|
+
readonly starArray: import("@angular/core").Signal<StarFillMode[]>;
|
|
14
|
+
readonly starTemplate: import("@angular/core").Signal<ArdRatingDisplayStarTemplateDirective | undefined>;
|
|
15
|
+
readonly getStarTemplateContext: import("@angular/core").Signal<(fillMode: StarFillMode, index: number) => ArdRatingDisplayStarTemplateContext>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumRatingDisplayComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumRatingDisplayComponent, "ard-rating-display", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, ["starTemplate"], never, false, never>;
|
|
18
|
+
}
|