@ardium-ui/ui 2.4.0 → 3.1.0
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/esm2022/lib/_internal/boolean-component.mjs +1 -1
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +9 -6
- package/esm2022/lib/_internal/disablable-component.mjs +5 -4
- package/esm2022/lib/_internal/focusable-component.mjs +5 -2
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +30 -23
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +4 -5
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +7 -8
- package/esm2022/lib/_internal/models/pagination.model.mjs +3 -3
- package/esm2022/lib/_internal/ngmodel-component.mjs +1 -2
- package/esm2022/lib/_internal/selectable-list-component.mjs +2 -22
- package/esm2022/lib/badge/badge.defaults.mjs +12 -6
- package/esm2022/lib/badge/badge.directive.mjs +1 -1
- package/esm2022/lib/badge/index.mjs +1 -1
- package/esm2022/lib/buttons/_button-base.defaults.mjs +1 -1
- package/esm2022/lib/buttons/_button-base.mjs +6 -5
- package/esm2022/lib/buttons/button/button.component.mjs +11 -9
- package/esm2022/lib/buttons/button/button.defaults.mjs +11 -7
- package/esm2022/lib/buttons/button/index.mjs +1 -1
- package/esm2022/lib/buttons/fab/fab.component.mjs +15 -14
- package/esm2022/lib/buttons/fab/fab.defaults.mjs +11 -5
- package/esm2022/lib/buttons/fab/index.mjs +1 -1
- package/esm2022/lib/buttons/general-button.types.mjs +2 -2
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +11 -9
- package/esm2022/lib/buttons/icon-button/icon-button.defaults.mjs +4 -1
- package/esm2022/lib/buttons/icon-button/index.mjs +1 -1
- package/esm2022/lib/card/card.children.mjs +4 -4
- package/esm2022/lib/card/card.component.mjs +2 -2
- package/esm2022/lib/card/card.defaults.mjs +10 -4
- package/esm2022/lib/card/index.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.component.mjs +13 -17
- package/esm2022/lib/checkbox/checkbox.defaults.mjs +10 -4
- package/esm2022/lib/checkbox/index.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +11 -9
- package/esm2022/lib/checkbox-list/checkbox-list.defaults.mjs +17 -11
- package/esm2022/lib/checkbox-list/index.mjs +3 -2
- package/esm2022/lib/chip/chip.component.mjs +11 -9
- package/esm2022/lib/chip/chip.defaults.mjs +4 -1
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +11 -9
- package/esm2022/lib/chip/deletable-chip/deletable-chip.defaults.mjs +10 -4
- package/esm2022/lib/chip/index.mjs +5 -2
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +11 -9
- package/esm2022/lib/chip/selectable-chip/selectable-chip.defaults.mjs +11 -5
- package/esm2022/lib/color/color-display/color-display.component.mjs +13 -12
- package/esm2022/lib/color/color-display/color-display.defaults.mjs +16 -0
- package/esm2022/lib/color/color-display/index.mjs +3 -2
- package/esm2022/lib/dialog/dialog.component.mjs +23 -22
- package/esm2022/lib/dialog/dialog.defaults.mjs +24 -0
- package/esm2022/lib/dialog/dialog.types.mjs +1 -1
- package/esm2022/lib/dialog/index.mjs +4 -3
- package/esm2022/lib/divider/divider.component.mjs +1 -1
- package/esm2022/lib/divider/divider.defaults.mjs +8 -2
- package/esm2022/lib/divider/index.mjs +3 -2
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +10 -9
- package/esm2022/lib/dropdown-panel/dropdown-panel.defaults.mjs +17 -0
- package/esm2022/lib/dropdown-panel/index.mjs +3 -2
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +14 -12
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.defaults.mjs +18 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/index.mjs +3 -2
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +23 -25
- package/esm2022/lib/file-inputs/file-input/file-input.defaults.mjs +23 -0
- package/esm2022/lib/file-inputs/file-input/index.mjs +3 -2
- package/esm2022/lib/file-inputs/file-input-base.defaults.mjs +8 -0
- package/esm2022/lib/file-inputs/file-input-base.mjs +2 -2
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +12 -8
- package/esm2022/lib/form-field-frame/form-field-frame.defaults.mjs +18 -0
- package/esm2022/lib/form-field-frame/index.mjs +3 -2
- package/esm2022/lib/icon/icon.component.mjs +6 -4
- package/esm2022/lib/icon/icon.defaults.mjs +17 -0
- package/esm2022/lib/icon/index.mjs +3 -2
- package/esm2022/lib/inputs/_simple-input-base.mjs +159 -0
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +17 -15
- package/esm2022/lib/inputs/digit-input/digit-input.defaults.mjs +21 -0
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/index.mjs +3 -2
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +24 -23
- package/esm2022/lib/inputs/hex-input/hex-input.defaults.mjs +26 -0
- package/esm2022/lib/inputs/hex-input/hex-input.model.mjs +97 -0
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/index.mjs +3 -2
- package/esm2022/lib/inputs/input/index.mjs +1 -1
- package/esm2022/lib/inputs/input/input.component.mjs +28 -48
- package/esm2022/lib/inputs/input/input.defaults.mjs +17 -0
- package/esm2022/lib/inputs/input/input.directives.mjs +1 -1
- package/esm2022/lib/inputs/input/input.module.mjs +1 -1
- package/esm2022/lib/inputs/input-transformers.mjs +1 -1
- package/esm2022/lib/inputs/input-utils.mjs +1 -1
- package/esm2022/lib/inputs/number-input/index.mjs +3 -2
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +34 -30
- package/esm2022/lib/inputs/number-input/number-input.defaults.mjs +27 -0
- package/esm2022/lib/inputs/password-input/index.mjs +3 -2
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +23 -18
- package/esm2022/lib/inputs/password-input/password-input.defaults.mjs +24 -0
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/index.mjs +3 -2
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +15 -145
- package/esm2022/lib/inputs/simple-input/simple-input.defaults.mjs +25 -0
- package/esm2022/lib/kbd/index.mjs +2 -1
- package/esm2022/lib/kbd/kbd.component.mjs +6 -4
- package/esm2022/lib/kbd/kbd.defaults.mjs +15 -0
- package/esm2022/lib/kbd/kbd.directive.mjs +1 -1
- package/esm2022/lib/kbd/kbd.pipe.mjs +7 -3
- package/esm2022/lib/kbd-shortcut/index.mjs +3 -2
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +12 -7
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.defaults.mjs +8 -0
- package/esm2022/lib/modal/index.mjs +3 -2
- package/esm2022/lib/modal/modal.component.mjs +14 -11
- package/esm2022/lib/modal/modal.defaults.mjs +20 -0
- package/esm2022/lib/option/index.mjs +1 -1
- package/esm2022/lib/option/option.component.mjs +1 -1
- package/esm2022/lib/progress-bar/index.mjs +4 -3
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +19 -18
- package/esm2022/lib/progress-bar/progress-bar.defaults.mjs +21 -0
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
- package/esm2022/lib/progress-circle/index.mjs +4 -3
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +18 -22
- package/esm2022/lib/progress-circle/progress-circle.defaults.mjs +21 -0
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +4 -4
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
- package/esm2022/lib/radio/index.mjs +4 -3
- package/esm2022/lib/radio/radio/radio.component.mjs +13 -10
- package/esm2022/lib/radio/radio/radio.defaults.mjs +16 -0
- package/esm2022/lib/radio/radio-group.component.mjs +7 -7
- package/esm2022/lib/search-functions.mjs +2 -2
- package/esm2022/lib/segment/index.mjs +3 -2
- package/esm2022/lib/segment/segment.component.mjs +22 -21
- package/esm2022/lib/segment/segment.defaults.mjs +26 -0
- package/esm2022/lib/segment/segment.directives.mjs +1 -1
- package/esm2022/lib/select/index.mjs +3 -2
- package/esm2022/lib/select/select.component.mjs +76 -101
- package/esm2022/lib/select/select.defaults.mjs +53 -0
- package/esm2022/lib/select/select.directive.mjs +1 -1
- package/esm2022/lib/select/select.types.mjs +1 -1
- package/esm2022/lib/slide-toggle/index.mjs +2 -1
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +17 -15
- package/esm2022/lib/slide-toggle/slide-toggle.defaults.mjs +21 -0
- package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +1 -1
- package/esm2022/lib/slider/abstract-slider.mjs +44 -34
- package/esm2022/lib/slider/index.mjs +5 -4
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +13 -9
- package/esm2022/lib/slider/slider.component.mjs +13 -9
- package/esm2022/lib/slider/slider.defaults.mjs +14 -0
- package/esm2022/lib/slider/slider.module.mjs +1 -1
- package/esm2022/lib/slider/slider.types.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.component.mjs +3 -3
- package/esm2022/lib/snackbar/snackbar.service.mjs +8 -12
- package/esm2022/lib/snackbar/snackbar.token.mjs +12 -6
- package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
- package/esm2022/lib/spinner/index.mjs +3 -2
- package/esm2022/lib/spinner/spinner.component.mjs +7 -6
- package/esm2022/lib/spinner/spinner.defaults.mjs +14 -0
- package/esm2022/lib/star/index.mjs +3 -2
- package/esm2022/lib/star/star-button/index.mjs +3 -2
- package/esm2022/lib/star/star-button/star-button.component.mjs +14 -11
- package/esm2022/lib/star/star-button/star-button.defaults.mjs +18 -0
- package/esm2022/lib/star/star-display/index.mjs +3 -2
- package/esm2022/lib/star/star-display/star-display.component.mjs +10 -8
- package/esm2022/lib/star/star-display/star-display.defaults.mjs +16 -0
- package/esm2022/lib/star/star-input/index.mjs +3 -2
- package/esm2022/lib/star/star-input/star-input.component.mjs +14 -11
- package/esm2022/lib/star/star-input/star-input.defaults.mjs +17 -0
- package/esm2022/lib/star/star.component.mjs +15 -8
- package/esm2022/lib/star/star.defaults.mjs +15 -0
- package/esm2022/lib/statebox/index.mjs +2 -1
- package/esm2022/lib/statebox/statebox.component.mjs +19 -25
- package/esm2022/lib/statebox/statebox.defaults.mjs +20 -0
- package/esm2022/lib/statebox/statebox.types.mjs +1 -1
- package/esm2022/lib/tabber/index.mjs +5 -3
- package/esm2022/lib/tabber/tab/tab.component.mjs +7 -5
- package/esm2022/lib/tabber/tab/tab.defaults.mjs +13 -0
- package/esm2022/lib/tabber/tabber.component.mjs +10 -10
- package/esm2022/lib/tabber/tabber.defaults.mjs +19 -0
- package/esm2022/lib/tabber/tabber.module.mjs +1 -1
- package/esm2022/lib/table/index.mjs +3 -2
- package/esm2022/lib/table/table-item-storage.mjs +4 -4
- package/esm2022/lib/table/table.component.mjs +69 -50
- package/esm2022/lib/table/table.defaults.mjs +53 -0
- package/esm2022/lib/table/table.directives.mjs +1 -1
- package/esm2022/lib/table/table.module.mjs +8 -7
- package/esm2022/lib/table-from-csv/index.mjs +3 -2
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +44 -44
- package/esm2022/lib/table-from-csv/table-from-csv.defaults.mjs +15 -0
- package/esm2022/lib/table-pagination/index.mjs +3 -2
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +13 -9
- package/esm2022/lib/table-pagination/table-pagination.defaults.mjs +25 -0
- package/esm2022/lib/text-list/index.mjs +4 -0
- package/esm2022/lib/text-list/text-list.component.mjs +18 -0
- package/esm2022/lib/text-list/text-list.module.mjs +19 -0
- package/esm2022/lib/text-list/text-list.pipe.mjs +16 -0
- package/esm2022/lib/types/button.types.mjs +1 -1
- package/esm2022/lib/types/item-storage.types.mjs +1 -1
- package/esm2022/lib/types/utility.types.mjs +1 -1
- package/esm2022/public-api.mjs +25 -24
- package/fesm2022/ardium-ui-ui.mjs +6069 -5375
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/clear-button/clear-button.component.d.ts +1 -0
- package/lib/_internal/disablable-component.d.ts +1 -0
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +9 -19
- package/lib/_internal/item-storages/simple-item-storage.d.ts +1 -1
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +3 -3
- package/lib/_internal/models/pagination.model.d.ts +2 -2
- package/lib/_internal/selectable-list-component.d.ts +0 -1
- package/lib/badge/badge.defaults.d.ts +2 -1
- package/lib/buttons/_button-base.d.ts +1 -0
- package/lib/buttons/button/button.component.d.ts +3 -1
- package/lib/buttons/button/button.defaults.d.ts +2 -1
- package/lib/buttons/fab/fab.component.d.ts +5 -5
- package/lib/buttons/fab/fab.defaults.d.ts +4 -4
- package/lib/buttons/general-button.types.d.ts +2 -2
- package/lib/buttons/icon-button/icon-button.component.d.ts +3 -1
- package/lib/buttons/icon-button/icon-button.defaults.d.ts +2 -1
- package/lib/card/card.defaults.d.ts +2 -1
- package/lib/checkbox/checkbox.component.d.ts +4 -3
- package/lib/checkbox/checkbox.defaults.d.ts +2 -1
- package/lib/checkbox-list/checkbox-list.component.d.ts +4 -2
- package/lib/checkbox-list/checkbox-list.defaults.d.ts +2 -1
- package/lib/checkbox-list/index.d.ts +2 -1
- package/lib/chip/chip.component.d.ts +3 -1
- package/lib/chip/chip.defaults.d.ts +3 -10
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +3 -1
- package/lib/chip/deletable-chip/deletable-chip.defaults.d.ts +2 -1
- package/lib/chip/index.d.ts +4 -1
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +3 -1
- package/lib/chip/selectable-chip/selectable-chip.defaults.d.ts +2 -1
- package/lib/color/color-display/color-display.component.d.ts +2 -1
- package/lib/color/color-display/color-display.defaults.d.ts +9 -0
- package/lib/color/color-display/index.d.ts +2 -1
- package/lib/dialog/dialog.component.d.ts +1 -0
- package/lib/dialog/dialog.defaults.d.ts +16 -0
- package/lib/dialog/index.d.ts +3 -2
- package/lib/divider/divider.defaults.d.ts +2 -1
- package/lib/divider/index.d.ts +2 -1
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +1 -0
- package/lib/dropdown-panel/dropdown-panel.defaults.d.ts +10 -0
- package/lib/dropdown-panel/index.d.ts +2 -1
- package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +5 -2
- package/lib/file-inputs/file-drop-area/file-drop-area.defaults.d.ts +10 -0
- package/lib/file-inputs/file-drop-area/index.d.ts +2 -1
- package/lib/file-inputs/file-input/file-input.component.d.ts +4 -4
- package/lib/file-inputs/file-input/file-input.defaults.d.ts +15 -0
- package/lib/file-inputs/file-input/index.d.ts +2 -1
- package/lib/file-inputs/file-input-base.d.ts +2 -0
- package/lib/file-inputs/file-input-base.defaults.d.ts +7 -0
- package/lib/form-field-frame/form-field-frame.component.d.ts +3 -0
- package/lib/form-field-frame/form-field-frame.defaults.d.ts +10 -0
- package/lib/form-field-frame/index.d.ts +2 -1
- package/lib/icon/icon.component.d.ts +7 -3
- package/lib/icon/icon.defaults.d.ts +11 -0
- package/lib/icon/index.d.ts +2 -1
- package/lib/inputs/_simple-input-base.d.ts +62 -0
- package/lib/inputs/digit-input/digit-input.component.d.ts +3 -0
- package/lib/inputs/digit-input/digit-input.defaults.d.ts +13 -0
- package/lib/inputs/digit-input/index.d.ts +2 -1
- package/lib/inputs/hex-input/hex-input.component.d.ts +4 -4
- package/lib/inputs/hex-input/hex-input.defaults.d.ts +19 -0
- package/lib/inputs/{hex-input.model.d.ts → hex-input/hex-input.model.d.ts} +2 -2
- package/lib/inputs/hex-input/index.d.ts +2 -1
- package/lib/inputs/input/input.component.d.ts +10 -17
- package/lib/inputs/input/input.defaults.d.ts +9 -0
- package/lib/inputs/number-input/index.d.ts +2 -1
- package/lib/inputs/number-input/number-input.component.d.ts +3 -1
- package/lib/inputs/number-input/number-input.defaults.d.ts +19 -0
- package/lib/inputs/password-input/index.d.ts +2 -1
- package/lib/inputs/password-input/password-input.component.d.ts +3 -0
- package/lib/inputs/password-input/password-input.defaults.d.ts +17 -0
- package/lib/inputs/simple-input/index.d.ts +2 -1
- package/lib/inputs/simple-input/simple-input.component.d.ts +6 -50
- package/lib/inputs/simple-input/simple-input.defaults.d.ts +6 -0
- package/lib/kbd/index.d.ts +1 -0
- package/lib/kbd/kbd.component.d.ts +1 -0
- package/lib/kbd/kbd.defaults.d.ts +8 -0
- package/lib/kbd/kbd.pipe.d.ts +1 -0
- package/lib/kbd-shortcut/index.d.ts +2 -1
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +2 -0
- package/lib/kbd-shortcut/kbd-shortcut.defaults.d.ts +8 -0
- package/lib/modal/index.d.ts +2 -1
- package/lib/modal/modal.component.d.ts +1 -0
- package/lib/modal/modal.defaults.d.ts +14 -0
- package/lib/progress-bar/index.d.ts +3 -2
- package/lib/progress-bar/progress-bar.component.d.ts +3 -1
- package/lib/progress-bar/progress-bar.defaults.d.ts +14 -0
- package/lib/progress-circle/index.d.ts +3 -2
- package/lib/progress-circle/progress-circle.component.d.ts +3 -1
- package/lib/progress-circle/progress-circle.defaults.d.ts +14 -0
- package/lib/progress-circle/progress-circle.module.d.ts +1 -1
- package/lib/radio/index.d.ts +3 -2
- package/lib/radio/radio/radio.component.d.ts +5 -2
- package/lib/radio/radio/radio.defaults.d.ts +8 -0
- package/lib/segment/index.d.ts +2 -1
- package/lib/segment/segment.component.d.ts +3 -0
- package/lib/segment/segment.defaults.d.ts +18 -0
- package/lib/select/index.d.ts +2 -1
- package/lib/select/select.component.d.ts +11 -22
- package/lib/select/select.defaults.d.ts +49 -0
- package/lib/slide-toggle/index.d.ts +1 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +9 -6
- package/lib/slide-toggle/slide-toggle.defaults.d.ts +14 -0
- package/lib/slider/abstract-slider.d.ts +22 -5
- package/lib/slider/index.d.ts +4 -3
- package/lib/slider/range-slider/range-slider.component.d.ts +3 -0
- package/lib/slider/slider.component.d.ts +3 -0
- package/lib/slider/slider.defaults.d.ts +6 -0
- package/lib/snackbar/snackbar.service.d.ts +1 -2
- package/lib/snackbar/snackbar.token.d.ts +3 -3
- package/lib/spinner/index.d.ts +2 -1
- package/lib/spinner/spinner.component.d.ts +1 -0
- package/lib/spinner/spinner.defaults.d.ts +7 -0
- package/lib/star/index.d.ts +2 -1
- package/lib/star/star-button/index.d.ts +2 -1
- package/lib/star/star-button/star-button.component.d.ts +3 -0
- package/lib/star/star-button/star-button.defaults.d.ts +10 -0
- package/lib/star/star-display/index.d.ts +2 -1
- package/lib/star/star-display/star-display.component.d.ts +1 -0
- package/lib/star/star-display/star-display.defaults.d.ts +9 -0
- package/lib/star/star-input/index.d.ts +2 -1
- package/lib/star/star-input/star-input.component.d.ts +3 -1
- package/lib/star/star-input/star-input.defaults.d.ts +9 -0
- package/lib/star/star.component.d.ts +4 -2
- package/lib/star/star.defaults.d.ts +8 -0
- package/lib/statebox/index.d.ts +1 -0
- package/lib/statebox/statebox.component.d.ts +7 -6
- package/lib/statebox/statebox.defaults.d.ts +10 -0
- package/lib/tabber/index.d.ts +4 -2
- package/lib/tabber/tab/tab.component.d.ts +1 -0
- package/lib/tabber/tab/tab.defaults.d.ts +6 -0
- package/lib/tabber/tabber.component.d.ts +1 -0
- package/lib/tabber/tabber.defaults.d.ts +12 -0
- package/lib/table/index.d.ts +2 -1
- package/lib/table/table-item-storage.d.ts +5 -10
- package/lib/table/table.component.d.ts +11 -9
- package/lib/table/table.defaults.d.ts +50 -0
- package/lib/table/table.module.d.ts +2 -1
- package/lib/table-from-csv/index.d.ts +2 -1
- package/lib/table-from-csv/table-from-csv.component.d.ts +7 -5
- package/lib/table-from-csv/table-from-csv.defaults.d.ts +7 -0
- package/lib/table-pagination/index.d.ts +2 -1
- package/lib/table-pagination/table-pagination.component.d.ts +3 -0
- package/lib/table-pagination/table-pagination.defaults.d.ts +20 -0
- package/lib/text-list/index.d.ts +3 -0
- package/lib/text-list/text-list.component.d.ts +8 -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/button.types.d.ts +1 -1
- package/lib/types/item-storage.types.d.ts +3 -63
- package/package.json +1 -1
- package/prebuilt-themes/default/buttons/fab.css +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +7 -12
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +5 -0
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +5 -0
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +5 -0
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +5 -0
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +5 -0
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +5 -0
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css +5 -0
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
- package/prebuilt-themes/default/inputs/simple-input.css +5 -0
- package/prebuilt-themes/default/inputs/simple-input.css.map +1 -1
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +4 -0
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +2 -0
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table.css +17 -0
- package/prebuilt-themes/default/table.css.map +1 -1
- package/public-api.d.ts +24 -23
- package/themes/default/_clear-button.scss +73 -73
- package/themes/default/badge.scss +94 -94
- package/themes/default/buttons/button.scss +72 -72
- package/themes/default/buttons/fab.scss +74 -74
- package/themes/default/buttons/icon-button.scss +55 -62
- package/themes/default/card.scss +129 -129
- package/themes/default/checkbox.scss +1 -1
- package/themes/default/chips.scss +200 -200
- package/themes/default/core.scss +99 -99
- package/themes/default/inputs/_shared.scss +5 -0
- package/themes/default/inputs/digit-input.scss +56 -56
- package/themes/default/inputs/file-input.scss +85 -85
- package/themes/default/inputs/hex-input.scss +27 -27
- package/themes/default/modal.scss +93 -93
- package/themes/default/segment.scss +355 -351
- package/themes/default/select.scss +259 -255
- package/themes/default/snackbar.scss +58 -58
- package/themes/default/tabber.scss +89 -87
- package/themes/default/table.scss +20 -0
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +0 -11
- package/esm2022/lib/inputs/color-input/color-input.directives.mjs +0 -101
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +0 -2
- package/esm2022/lib/inputs/hex-input.model.mjs +0 -97
- package/lib/color/color-picker/color-picker.types.d.ts +0 -21
- package/lib/inputs/color-input/color-input.directives.d.ts +0 -52
- package/lib/inputs/color-input/color-input.types.d.ts +0 -5
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { _FocusableComponentBase } from './../focusable-component';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class _ClearButtonComponent extends _FocusableComponentBase {
|
|
4
|
+
constructor();
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<_ClearButtonComponent, never>;
|
|
5
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<_ClearButtonComponent, "ard-clear-button", never, {}, {}, never, never, false, never>;
|
|
6
7
|
}
|
|
@@ -6,6 +6,7 @@ export interface _DisablableComponentDefaults {
|
|
|
6
6
|
export declare const _disablableComponentDefaults: _DisablableComponentDefaults;
|
|
7
7
|
export declare abstract class _DisablableComponentBase {
|
|
8
8
|
protected readonly _DEFAULTS: _DisablableComponentDefaults;
|
|
9
|
+
constructor(_DEFAULTS: _DisablableComponentDefaults);
|
|
9
10
|
/**
|
|
10
11
|
* Whether the component is read-only. Defines the `readonly` host attribute and `ard-readonly` host class. Coercible into a boolean.
|
|
11
12
|
*/
|
|
@@ -2,24 +2,14 @@ import { Signal } from '@angular/core';
|
|
|
2
2
|
import { AddCustomFn } from '../../select/select.types';
|
|
3
3
|
import { ArdOption, ArdOptionGroup, CompareWithFn, GroupByFn, SearchFn } from '../../types/item-storage.types';
|
|
4
4
|
import { Nullable } from '../../types/utility.types';
|
|
5
|
-
export interface ItemStorageHostDefaults {
|
|
6
|
-
valueFrom: string;
|
|
7
|
-
labelFrom: string;
|
|
8
|
-
disabledFrom: string;
|
|
9
|
-
groupLabelFrom: string;
|
|
10
|
-
groupDisabledFrom: string;
|
|
11
|
-
childrenFrom: string;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}
|
|
14
5
|
export interface ItemStorageHost {
|
|
15
|
-
readonly valueFrom: Signal<
|
|
16
|
-
readonly labelFrom: Signal<
|
|
17
|
-
readonly disabledFrom: Signal<
|
|
18
|
-
readonly invertDisabled: Signal<
|
|
19
|
-
readonly groupLabelFrom: Signal<
|
|
20
|
-
readonly groupDisabledFrom: Signal<
|
|
21
|
-
readonly childrenFrom: Signal<
|
|
22
|
-
readonly DEFAULTS: ItemStorageHostDefaults;
|
|
6
|
+
readonly valueFrom: Signal<string>;
|
|
7
|
+
readonly labelFrom: Signal<string>;
|
|
8
|
+
readonly disabledFrom: Signal<string>;
|
|
9
|
+
readonly invertDisabled: Signal<boolean>;
|
|
10
|
+
readonly groupLabelFrom: Signal<string | GroupByFn>;
|
|
11
|
+
readonly groupDisabledFrom: Signal<string>;
|
|
12
|
+
readonly childrenFrom: Signal<string>;
|
|
23
13
|
readonly itemsAlreadyGrouped: Signal<Nullable<boolean>>;
|
|
24
14
|
readonly hideSelected: Signal<boolean>;
|
|
25
15
|
readonly searchCaseSensitive: Signal<boolean>;
|
|
@@ -54,7 +44,7 @@ export declare class ItemStorage {
|
|
|
54
44
|
readonly isAnyItemSelected: Signal<boolean>;
|
|
55
45
|
readonly isAnyItemHighlighted: Signal<boolean>;
|
|
56
46
|
readonly isItemLimitReached: Signal<boolean>;
|
|
57
|
-
setItems(items: any[]):
|
|
47
|
+
setItems(items: any[]): void;
|
|
58
48
|
private _addSingleItem;
|
|
59
49
|
private _primitiveItemsMapFn;
|
|
60
50
|
private _ungroupAlreadyGroupedItems;
|
|
@@ -67,7 +57,7 @@ export declare class ItemStorage {
|
|
|
67
57
|
private readonly _wasValueWriteDeferred;
|
|
68
58
|
handleWriteValue(ngModel: any[]): void;
|
|
69
59
|
findItemByValue(valueToFind: any): ArdOption | undefined;
|
|
70
|
-
addCustomOption(value: string, fn: AddCustomFn<any> | AddCustomFn<Promise<any>>): Promise<ArdOption>;
|
|
60
|
+
addCustomOption(value: string, fn: AddCustomFn<any> | AddCustomFn<Promise<any>>): Promise<ArdOption | null>;
|
|
71
61
|
clearAllSelected(repopulateGroups?: boolean): any[];
|
|
72
62
|
clearLastSelected(): ArdOption;
|
|
73
63
|
selectItem(...items: ArdOption[]): [any[], any[], any[]];
|
|
@@ -61,7 +61,7 @@ export declare class SimpleItemStorage {
|
|
|
61
61
|
* @param items An array of items to be set as the component's items.
|
|
62
62
|
* @returns true if at least one of the items is of primitive type, otherwise false.
|
|
63
63
|
*/
|
|
64
|
-
setItems(items: unknown[]):
|
|
64
|
+
setItems(items: unknown[]): void;
|
|
65
65
|
private _primitiveItemsMapFn;
|
|
66
66
|
private _setItemsMapFn;
|
|
67
67
|
/**
|
|
@@ -2,8 +2,8 @@ import { Signal } from '@angular/core';
|
|
|
2
2
|
import { ArdSimplestStorageItem } from '../../types/item-storage.types';
|
|
3
3
|
import { Nullable } from '../../types/utility.types';
|
|
4
4
|
export interface SimplestItemStorageHostDefaults {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
suggValueFrom: string;
|
|
6
|
+
suggLabelFrom: string;
|
|
7
7
|
}
|
|
8
8
|
export interface SimplestItemStorageHost {
|
|
9
9
|
readonly valueFrom: Signal<Nullable<string>>;
|
|
@@ -32,7 +32,7 @@ export declare class SimplestItemStorage {
|
|
|
32
32
|
* @param items An array of items to be set as the component's items.
|
|
33
33
|
* @returns true if at least one of the items is of primitive type, otherwise false.
|
|
34
34
|
*/
|
|
35
|
-
setItems(items: any[]):
|
|
35
|
+
setItems(items: any[]): void;
|
|
36
36
|
private _primitiveItemsMapFn;
|
|
37
37
|
private _setItemsMapFn;
|
|
38
38
|
/**
|
|
@@ -10,8 +10,8 @@ export interface PaginationModelHost {
|
|
|
10
10
|
readonly page: ModelSignal<number>;
|
|
11
11
|
}
|
|
12
12
|
export interface PaginationCurrentItemsContext {
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
13
|
+
readonly currentItemsFrom: number;
|
|
14
|
+
readonly currentItemsTo: number;
|
|
15
15
|
readonly totalItems: number;
|
|
16
16
|
readonly totalPages: number;
|
|
17
17
|
readonly page: number;
|
|
@@ -30,7 +30,6 @@ export declare abstract class _SelectableListComponentBase extends _NgModelCompo
|
|
|
30
30
|
readonly compareWith: import("@angular/core").InputSignal<Nullable<CompareWithFn>>;
|
|
31
31
|
get items(): any[];
|
|
32
32
|
set items(value: any);
|
|
33
|
-
private _printPrimitiveWarnings;
|
|
34
33
|
readonly multiselectable: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
35
34
|
get _multiselectableHostAttribute(): boolean;
|
|
36
35
|
readonly singleselectable: import("@angular/core").Signal<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
2
|
import { ComponentColor } from './../types/colors.types';
|
|
3
3
|
import { FormElementVariant } from './../types/theming.types';
|
|
4
4
|
import { BadgePosition, BadgeSize } from './badge.types';
|
|
@@ -10,3 +10,4 @@ export interface ArdBadgeDefaults {
|
|
|
10
10
|
overlap: boolean;
|
|
11
11
|
}
|
|
12
12
|
export declare const ARD_BADGE_DEFAULTS: InjectionToken<ArdBadgeDefaults>;
|
|
13
|
+
export declare function provideBadgeDefaults(config: Partial<ArdBadgeDefaults>): Provider;
|
|
@@ -8,6 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare abstract class _ButtonBase extends _FocusableComponentBase {
|
|
9
9
|
readonly wrapperClasses: import("@angular/core").InputSignal<string>;
|
|
10
10
|
protected readonly _DEFAULTS: _ButtonBaseDefaults;
|
|
11
|
+
constructor(defaults: _ButtonBaseDefaults);
|
|
11
12
|
readonly type: import("@angular/core").InputSignal<ButtonType>;
|
|
12
13
|
readonly appearance: import("@angular/core").InputSignal<ButtonAppearance>;
|
|
13
14
|
readonly color: import("@angular/core").InputSignal<ComponentColor>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { SimpleOneAxisAlignment } from '../../types/alignment.types';
|
|
2
2
|
import { _ButtonBase } from '../_button-base';
|
|
3
3
|
import { ButtonVariant } from '../general-button.types';
|
|
4
|
+
import { ArdButtonDefaults } from './button.defaults';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ArdiumButtonComponent extends _ButtonBase {
|
|
6
|
-
protected readonly _DEFAULTS:
|
|
7
|
+
protected readonly _DEFAULTS: ArdButtonDefaults;
|
|
7
8
|
readonly icon: import("@angular/core").InputSignal<string>;
|
|
9
|
+
constructor(defaults: ArdButtonDefaults);
|
|
8
10
|
readonly variant: import("@angular/core").InputSignal<ButtonVariant>;
|
|
9
11
|
readonly alignIcon: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
|
|
10
12
|
readonly vertical: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
2
|
import { _ButtonBaseDefaults } from '../_button-base.defaults';
|
|
3
3
|
import { ButtonVariant } from '../general-button.types';
|
|
4
4
|
import { SimpleOneAxisAlignment } from './../../types/alignment.types';
|
|
@@ -8,3 +8,4 @@ export interface ArdButtonDefaults extends _ButtonBaseDefaults {
|
|
|
8
8
|
vertical: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare const ARD_BUTTON_DEFAULTS: InjectionToken<ArdButtonDefaults>;
|
|
11
|
+
export declare function provideButtonDefaults(config: Partial<ArdButtonDefaults>): Provider;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ButtonBase } from '../_button-base';
|
|
2
|
-
import {
|
|
2
|
+
import { FabSize } from '../general-button.types';
|
|
3
|
+
import { ArdFabDefaults } from './fab.defaults';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ArdiumFabComponent extends _ButtonBase {
|
|
5
|
-
|
|
6
|
-
readonly size: import("@angular/core").InputSignal<
|
|
7
|
-
readonly extended: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
6
|
+
constructor(defaults: ArdFabDefaults);
|
|
7
|
+
readonly size: import("@angular/core").InputSignal<FabSize>;
|
|
8
8
|
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFabComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFabComponent, "ard-fab", never, { "size": { "alias": "size"; "required": false; "isSignal": true; };
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFabComponent, "ard-fab", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
11
11
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
2
|
import { _ButtonBaseDefaults } from '../_button-base.defaults';
|
|
3
|
-
import {
|
|
3
|
+
import { FabSize } from '../general-button.types';
|
|
4
4
|
export interface ArdFabDefaults extends _ButtonBaseDefaults {
|
|
5
|
-
size:
|
|
6
|
-
extended: boolean;
|
|
5
|
+
size: FabSize;
|
|
7
6
|
}
|
|
8
7
|
export declare const ARD_FAB_DEFAULTS: InjectionToken<ArdFabDefaults>;
|
|
8
|
+
export declare function provideFabDefaults(config: Partial<ArdFabDefaults>): Provider;
|
|
@@ -50,8 +50,8 @@ export type ButtonVariant = (typeof ButtonVariant)[keyof typeof ButtonVariant];
|
|
|
50
50
|
/**
|
|
51
51
|
* **F**loating **A**ction **B**utton size.
|
|
52
52
|
*/
|
|
53
|
-
export declare const
|
|
53
|
+
export declare const FabSize: {
|
|
54
54
|
readonly Standard: "standard";
|
|
55
55
|
readonly Small: "small";
|
|
56
56
|
};
|
|
57
|
-
export type
|
|
57
|
+
export type FabSize = (typeof FabSize)[keyof typeof FabSize];
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { _FocusableComponentBase } from '../../_internal/focusable-component';
|
|
2
2
|
import { ButtonType } from '../../types/button.types';
|
|
3
3
|
import { ComponentColor } from '../../types/colors.types';
|
|
4
|
+
import { ArdIconButtonDefaults } from './icon-button.defaults';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ArdiumIconButtonComponent extends _FocusableComponentBase {
|
|
7
|
+
protected readonly _DEFAULTS: ArdIconButtonDefaults;
|
|
8
|
+
constructor(defaults: ArdIconButtonDefaults);
|
|
6
9
|
readonly wrapperClasses: import("@angular/core").InputSignal<string>;
|
|
7
|
-
protected readonly _DEFAULTS: import("./icon-button.defaults").ArdIconButtonDefaults;
|
|
8
10
|
readonly type: import("@angular/core").InputSignal<ButtonType>;
|
|
9
11
|
readonly color: import("@angular/core").InputSignal<ComponentColor>;
|
|
10
12
|
readonly lightColoring: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
2
|
import { _SimpleButtonDefaults } from '../_button-base.defaults';
|
|
3
3
|
export interface ArdIconButtonDefaults extends _SimpleButtonDefaults {
|
|
4
4
|
}
|
|
5
5
|
export declare const ARD_ICON_BUTTON_DEFAULTS: InjectionToken<ArdIconButtonDefaults>;
|
|
6
|
+
export declare function provideIconButtonDefaults(config: Partial<ArdIconButtonDefaults>): Provider;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
2
|
import { OneAxisAlignment } from './../types/alignment.types';
|
|
3
3
|
import { CardAppearance, CardVariant } from './card.types';
|
|
4
4
|
export interface ArdCardDefaults {
|
|
@@ -7,3 +7,4 @@ export interface ArdCardDefaults {
|
|
|
7
7
|
actionButtonsAlign: OneAxisAlignment;
|
|
8
8
|
}
|
|
9
9
|
export declare const ARD_CARD_DEFAULTS: InjectionToken<ArdCardDefaults>;
|
|
10
|
+
export declare function provideCardDefaults(config: Partial<ArdCardDefaults>): Provider;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
2
|
import { SimpleComponentColor } from '../types/colors.types';
|
|
3
3
|
import { _BooleanComponentBase } from './../_internal/boolean-component';
|
|
4
|
+
import { ArdCheckboxDefaults } from './checkbox.defaults';
|
|
4
5
|
import { CheckboxState } from './checkbox.types';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ArdiumCheckboxComponent extends _BooleanComponentBase implements ControlValueAccessor {
|
|
7
|
-
readonly
|
|
8
|
+
protected readonly _DEFAULTS: ArdCheckboxDefaults;
|
|
9
|
+
constructor(defaults: ArdCheckboxDefaults);
|
|
8
10
|
readonly htmlId: import("@angular/core").InputSignal<string>;
|
|
9
|
-
protected readonly _DEFAULTS: import("./checkbox.defaults").ArdCheckboxDefaults;
|
|
10
11
|
readonly color: import("@angular/core").InputSignal<SimpleComponentColor>;
|
|
11
12
|
readonly unselectedColor: import("@angular/core").InputSignal<SimpleComponentColor>;
|
|
12
13
|
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
@@ -14,5 +15,5 @@ export declare class ArdiumCheckboxComponent extends _BooleanComponentBase imple
|
|
|
14
15
|
readonly state: import("@angular/core").ModelSignal<CheckboxState>;
|
|
15
16
|
toggleState(): void;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCheckboxComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCheckboxComponent, "ard-checkbox", never, { "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCheckboxComponent, "ard-checkbox", never, { "htmlId": { "alias": "htmlId"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "unselectedColor": { "alias": "unselectedColor"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; }, { "state": "stateChange"; }, never, never, false, never>;
|
|
18
19
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
2
|
import { _BooleanComponentDefaults } from '../_internal/boolean-component';
|
|
3
3
|
import { SimpleComponentColor } from './../types/colors.types';
|
|
4
4
|
export interface ArdCheckboxDefaults extends _BooleanComponentDefaults {
|
|
@@ -6,3 +6,4 @@ export interface ArdCheckboxDefaults extends _BooleanComponentDefaults {
|
|
|
6
6
|
unselectedColor: SimpleComponentColor;
|
|
7
7
|
}
|
|
8
8
|
export declare const ARD_CHECKBOX_DEFAULTS: InjectionToken<ArdCheckboxDefaults>;
|
|
9
|
+
export declare function provideCheckboxDefaults(config: Partial<ArdCheckboxDefaults>): Provider;
|
|
@@ -4,13 +4,15 @@ import { _NgModelComponentBase } from '../_internal/ngmodel-component';
|
|
|
4
4
|
import { ComponentColor } from '../types/colors.types';
|
|
5
5
|
import { ArdOptionSimple, CompareWithFn } from '../types/item-storage.types';
|
|
6
6
|
import { Nullable } from '../types/utility.types';
|
|
7
|
+
import { ArdCheckboxListDefaults } from './checkbox-list.defaults';
|
|
7
8
|
import { CheckboxListAlignType } from './checkbox-list.types';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class ArdiumCheckboxListComponent extends _NgModelComponentBase implements SimpleItemStorageHost, AfterViewInit {
|
|
11
|
+
protected readonly _DEFAULTS: ArdCheckboxListDefaults;
|
|
12
|
+
constructor(defaults: ArdCheckboxListDefaults);
|
|
10
13
|
readonly htmlId: import("@angular/core").InputSignal<string>;
|
|
11
14
|
get _htmlIdHostAttribute(): string;
|
|
12
|
-
|
|
13
|
-
readonly DEFAULTS: import("./checkbox-list.defaults").ArdCheckboxListDefaults;
|
|
15
|
+
readonly DEFAULTS: ArdCheckboxListDefaults;
|
|
14
16
|
readonly multiselectable: import("@angular/core").WritableSignal<true>;
|
|
15
17
|
readonly isValueRequired: import("@angular/core").WritableSignal<false>;
|
|
16
18
|
readonly _componentId = "300";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
2
|
import { _NgModelComponentDefaults } from '../_internal/ngmodel-component';
|
|
3
3
|
import { CompareWithFn } from '../types/item-storage.types';
|
|
4
4
|
import { Nullable } from '../types/utility.types';
|
|
@@ -16,3 +16,4 @@ export interface ArdCheckboxListDefaults extends _NgModelComponentDefaults {
|
|
|
16
16
|
compact: boolean;
|
|
17
17
|
}
|
|
18
18
|
export declare const ARD_CHECKBOX_LIST_DEFAULTS: InjectionToken<ArdCheckboxListDefaults>;
|
|
19
|
+
export declare function provideCheckboxListDefaults(config: Partial<ArdCheckboxListDefaults>): Provider;
|
|
@@ -2,9 +2,11 @@ import { SimpleOneAxisAlignment } from '../types/alignment.types';
|
|
|
2
2
|
import { ComponentColor } from '../types/colors.types';
|
|
3
3
|
import { DecorationElementAppearance, FormElementVariant } from '../types/theming.types';
|
|
4
4
|
import { _DisablableComponentBase } from './../_internal/disablable-component';
|
|
5
|
+
import { ArdChipDefaults } from './chip.defaults';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ArdiumChipComponent extends _DisablableComponentBase {
|
|
7
|
-
protected readonly _DEFAULTS:
|
|
8
|
+
protected readonly _DEFAULTS: ArdChipDefaults;
|
|
9
|
+
constructor(defaults: ArdChipDefaults);
|
|
8
10
|
readonly contentAlignment: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
|
|
9
11
|
readonly appearance: import("@angular/core").InputSignal<DecorationElementAppearance>;
|
|
10
12
|
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
2
|
import { _DisablableComponentDefaults } from '../_internal/disablable-component';
|
|
3
3
|
import { SimpleOneAxisAlignment } from '../types/alignment.types';
|
|
4
4
|
import { ComponentColor } from '../types/colors.types';
|
|
@@ -10,13 +10,6 @@ export interface ArdChipDefaults extends _DisablableComponentDefaults {
|
|
|
10
10
|
color: ComponentColor;
|
|
11
11
|
compact: boolean;
|
|
12
12
|
}
|
|
13
|
-
export declare const _chipDefaults:
|
|
14
|
-
contentAlignment: "left";
|
|
15
|
-
appearance: "outlined";
|
|
16
|
-
variant: "rounded";
|
|
17
|
-
color: "primary";
|
|
18
|
-
compact: boolean;
|
|
19
|
-
readonly: boolean;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
};
|
|
13
|
+
export declare const _chipDefaults: ArdChipDefaults;
|
|
22
14
|
export declare const ARD_CHIP_DEFAULTS: InjectionToken<ArdChipDefaults>;
|
|
15
|
+
export declare function provideChipDefaults(config: Partial<ArdChipDefaults>): Provider;
|
|
@@ -2,9 +2,11 @@ import { _FocusableComponentBase } from '../../_internal/focusable-component';
|
|
|
2
2
|
import { SimpleOneAxisAlignment } from '../../types/alignment.types';
|
|
3
3
|
import { ComponentColor } from '../../types/colors.types';
|
|
4
4
|
import { DecorationElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
|
+
import { ArdDeletableChipDefaults } from './deletable-chip.defaults';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ArdiumDeletableChipComponent extends _FocusableComponentBase {
|
|
7
|
-
protected readonly _DEFAULTS:
|
|
8
|
+
protected readonly _DEFAULTS: ArdDeletableChipDefaults;
|
|
9
|
+
constructor(defaults: ArdDeletableChipDefaults);
|
|
8
10
|
readonly deleteButtonTitle: import("@angular/core").InputSignal<string>;
|
|
9
11
|
readonly contentAlignment: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
|
|
10
12
|
readonly appearance: import("@angular/core").InputSignal<DecorationElementAppearance>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
2
|
import { _FocusableComponentDefaults } from '../../_internal/focusable-component';
|
|
3
3
|
import { ArdChipDefaults } from '../chip.defaults';
|
|
4
4
|
export interface ArdDeletableChipDefaults extends ArdChipDefaults, _FocusableComponentDefaults {
|
|
5
5
|
deleteButtonTitle: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const ARD_DELETABLE_CHIP_DEFAULTS: InjectionToken<ArdDeletableChipDefaults>;
|
|
8
|
+
export declare function provideDeletableChipDefaults(config: Partial<ArdDeletableChipDefaults>): Provider;
|
package/lib/chip/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export * from './chip.module';
|
|
2
1
|
export * from './chip.component';
|
|
2
|
+
export * from './chip.defaults';
|
|
3
|
+
export * from './chip.module';
|
|
3
4
|
export * from './deletable-chip/deletable-chip.component';
|
|
5
|
+
export * from './deletable-chip/deletable-chip.defaults';
|
|
4
6
|
export * from './selectable-chip/selectable-chip.component';
|
|
7
|
+
export * from './selectable-chip/selectable-chip.defaults';
|
|
@@ -3,9 +3,11 @@ import { SimpleOneAxisAlignment } from '../../types/alignment.types';
|
|
|
3
3
|
import { ComponentColor } from '../../types/colors.types';
|
|
4
4
|
import { DecorationElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
5
|
import { _BooleanComponentBase } from './../../_internal/boolean-component';
|
|
6
|
+
import { ArdSelectableChipDefaults } from './selectable-chip.defaults';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ArdiumSelectableChipComponent extends _BooleanComponentBase implements ControlValueAccessor {
|
|
8
|
-
protected readonly _DEFAULTS:
|
|
9
|
+
protected readonly _DEFAULTS: ArdSelectableChipDefaults;
|
|
10
|
+
constructor(defaults: ArdSelectableChipDefaults);
|
|
9
11
|
readonly chipTitle: import("@angular/core").InputSignal<string>;
|
|
10
12
|
readonly hideSelectionIcon: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
11
13
|
readonly contentAlignment: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
2
|
import { _BooleanComponentDefaults } from '../../_internal/boolean-component';
|
|
3
3
|
import { ArdChipDefaults } from '../chip.defaults';
|
|
4
4
|
export interface ArdSelectableChipDefaults extends ArdChipDefaults, _BooleanComponentDefaults {
|
|
@@ -6,3 +6,4 @@ export interface ArdSelectableChipDefaults extends ArdChipDefaults, _BooleanComp
|
|
|
6
6
|
hideSelectionIcon: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const ARD_SELECTABLE_CHIP_DEFAULTS: InjectionToken<ArdSelectableChipDefaults>;
|
|
9
|
+
export declare function provideSelectableChipDefaults(config: Partial<ArdSelectableChipDefaults>): Provider;
|
|
@@ -3,10 +3,11 @@ import { Nullable } from '../../types/utility.types';
|
|
|
3
3
|
import { ColorDisplayAppearance } from './color-display.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ArdiumColorDisplayComponent implements AfterViewInit {
|
|
6
|
+
private readonly _DEFAULTS;
|
|
6
7
|
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
7
8
|
readonly withLabel: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
8
9
|
readonly appearance: import("@angular/core").InputSignal<ColorDisplayAppearance>;
|
|
9
|
-
|
|
10
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
10
11
|
readonly color: import("@angular/core").InputSignalWithTransform<Nullable<string>, any>;
|
|
11
12
|
ngAfterViewInit(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumColorDisplayComponent, never>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { ColorDisplayAppearance } from './color-display.types';
|
|
3
|
+
export interface ArdColorDisplayDefaults {
|
|
4
|
+
ariaLabel: string;
|
|
5
|
+
withLabel: boolean;
|
|
6
|
+
appearance: ColorDisplayAppearance;
|
|
7
|
+
}
|
|
8
|
+
export declare const ARD_COLOR_DISPLAY_DEFAULTS: InjectionToken<ArdColorDisplayDefaults>;
|
|
9
|
+
export declare function provideColorDisplayDefaults(config: Partial<ArdColorDisplayDefaults>): Provider;
|
|
@@ -5,6 +5,7 @@ import { ArdDialogButtonsTemplateDirective } from './dialog.directives';
|
|
|
5
5
|
import { DialogButtonsContext, DialogResult } from './dialog.types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ArdiumDialogComponent {
|
|
8
|
+
private readonly _DEFAULTS;
|
|
8
9
|
readonly appearance: import("@angular/core").InputSignal<"raised">;
|
|
9
10
|
readonly variant: import("@angular/core").InputSignal<PanelVariant>;
|
|
10
11
|
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { ArdModalDefaults } from '../modal/modal.defaults';
|
|
3
|
+
import { ButtonAppearance } from './../buttons/general-button.types';
|
|
4
|
+
import { ComponentColor } from './../types/colors.types';
|
|
5
|
+
export interface ArdDialogDefaults extends ArdModalDefaults {
|
|
6
|
+
confirmButtonText: string;
|
|
7
|
+
confirmButtonColor: ComponentColor;
|
|
8
|
+
confirmButtonAppearance: ButtonAppearance;
|
|
9
|
+
rejectButtonText: string;
|
|
10
|
+
rejectButtonColor: ComponentColor;
|
|
11
|
+
rejectButtonAppearance: ButtonAppearance;
|
|
12
|
+
noRejectButton: boolean;
|
|
13
|
+
canConfirm: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const ARD_DIALOG_DEFAULTS: InjectionToken<ArdDialogDefaults>;
|
|
16
|
+
export declare function provideDialogDefaults(config: Partial<ArdDialogDefaults>): Provider;
|
package/lib/dialog/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
2
|
export interface ArdDividerDefaults {
|
|
3
3
|
vertical: boolean;
|
|
4
4
|
}
|
|
5
5
|
export declare const ARD_DIVIDER_DEFAULTS: InjectionToken<ArdDividerDefaults>;
|
|
6
|
+
export declare function provideDividerDefaults(config: Partial<ArdDividerDefaults>): Provider;
|
package/lib/divider/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { Nullable } from '../types/utility.types';
|
|
|
3
3
|
import { DropdownPanelAppearance, DropdownPanelVariant, ScrollAlignment } from './dropdown-panel.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ArdiumDropdownPanelComponent implements AfterViewChecked {
|
|
6
|
+
private readonly _DEFAULTS;
|
|
6
7
|
private readonly _scrollElementRef;
|
|
7
8
|
private readonly _scrollEl;
|
|
8
9
|
readonly panelId: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { DropdownPanelAppearance, DropdownPanelVariant } from './dropdown-panel.types';
|
|
3
|
+
export interface ArdDropdownPanelDefaults {
|
|
4
|
+
filterValue: string;
|
|
5
|
+
appearance: DropdownPanelAppearance;
|
|
6
|
+
variant: DropdownPanelVariant;
|
|
7
|
+
compact: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const ARD_DROPDOWN_PANEL_DEFAULTS: InjectionToken<ArdDropdownPanelDefaults>;
|
|
10
|
+
export declare function provideDropdownPanelDefaults(config: Partial<ArdDropdownPanelDefaults>): Provider;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentColor } from '../../types/colors.types';
|
|
3
3
|
import { FormElementVariant } from '../../types/theming.types';
|
|
4
4
|
import { _FileInputComponentBase } from '../file-input-base';
|
|
5
5
|
import { FileInputBrowseContext, FileInputFileAmountContext, FileInputFilesContext } from '../file-input-types';
|
|
6
|
+
import { ArdFileDropAreaDefaults } from './file-drop-area.defaults';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ArdiumFileDropAreaComponent extends _FileInputComponentBase
|
|
8
|
+
export declare class ArdiumFileDropAreaComponent extends _FileInputComponentBase {
|
|
9
|
+
protected readonly _DEFAULTS: ArdFileDropAreaDefaults;
|
|
10
|
+
constructor(defaults: ArdFileDropAreaDefaults);
|
|
8
11
|
readonly componentId = "010";
|
|
9
12
|
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
10
13
|
readonly color: import("@angular/core").InputSignal<ComponentColor>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { _FileInputBaseDefaults } from '../file-input-base.defaults';
|
|
3
|
+
import { ComponentColor } from './../../types/colors.types';
|
|
4
|
+
import { FormElementVariant } from './../../types/theming.types';
|
|
5
|
+
export interface ArdFileDropAreaDefaults extends _FileInputBaseDefaults {
|
|
6
|
+
variant: FormElementVariant;
|
|
7
|
+
color: ComponentColor;
|
|
8
|
+
}
|
|
9
|
+
export declare const ARD_FILE_DROP_AREA_DEFAULTS: InjectionToken<ArdFileDropAreaDefaults>;
|
|
10
|
+
export declare function provideFileDropAreaDefaults(config: Partial<ArdFileDropAreaDefaults>): Provider;
|
|
@@ -3,11 +3,11 @@ import { ComponentColor } from '../../types/colors.types';
|
|
|
3
3
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
4
4
|
import { _FileInputComponentBase } from '../file-input-base';
|
|
5
5
|
import { FileInputBrowseContext, FileInputFileAmountContext, FileInputFilesContext } from '../file-input-types';
|
|
6
|
+
import { ArdFileInputDefaults } from './file-input.defaults';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ArdiumFileInputComponent extends _FileInputComponentBase {
|
|
8
|
-
readonly
|
|
9
|
-
|
|
10
|
-
};
|
|
9
|
+
protected readonly _DEFAULTS: ArdFileInputDefaults;
|
|
10
|
+
constructor(defaults: ArdFileInputDefaults);
|
|
11
11
|
readonly componentId = "011";
|
|
12
12
|
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
13
13
|
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
@@ -33,5 +33,5 @@ export declare class ArdiumFileInputComponent extends _FileInputComponentBase {
|
|
|
33
33
|
getDragoverContext(): FileInputFileAmountContext;
|
|
34
34
|
getUploadedContext(): FileInputFilesContext;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFileInputComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFileInputComponent, "ard-file-input", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; "isSignal": true; }; }, { "clearEvent": "
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFileInputComponent, "ard-file-input", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; "isSignal": true; }; }, { "clearEvent": "clear"; }, ["placeholderTemplate", "prefixTemplate", "suffixTemplate", "idleTemplate", "dragoverTemplate", "uploadedTemplate"], never, false, never>;
|
|
37
37
|
}
|