@ardium-ui/ui 2.4.0 → 3.0.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/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 +1 -1
- package/fesm2022/ardium-ui-ui.mjs +2632 -1980
- 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/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/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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { _FileInputBaseDefaults } from '../file-input-base.defaults';
|
|
3
|
+
import { ComponentColor } from './../../types/colors.types';
|
|
4
|
+
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
5
|
+
export interface ArdFileInputDefaults extends _FileInputBaseDefaults {
|
|
6
|
+
appearance: FormElementAppearance;
|
|
7
|
+
variant: FormElementVariant;
|
|
8
|
+
color: ComponentColor;
|
|
9
|
+
inputAttrs: Record<string, any>;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
clearable: boolean;
|
|
12
|
+
clearButtonTitle: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const ARD_FILE_INPUT_DEFAULTS: InjectionToken<ArdFileInputDefaults>;
|
|
15
|
+
export declare function provideFileInputDefaults(config: Partial<ArdFileInputDefaults>): Provider;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { _NgModelComponentBase } from '../_internal/ngmodel-component';
|
|
3
|
+
import { _FileInputBaseDefaults } from './file-input-base.defaults';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare abstract class _FileInputComponentBase extends _NgModelComponentBase implements OnInit, AfterViewInit {
|
|
6
|
+
protected readonly _DEFAULTS: _FileInputBaseDefaults;
|
|
5
7
|
abstract readonly componentId: string;
|
|
6
8
|
readonly fileInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
7
9
|
readonly htmlId: import("@angular/core").InputSignal<string>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { _NgModelComponentDefaults } from '../_internal/ngmodel-component';
|
|
2
|
+
export interface _FileInputBaseDefaults extends _NgModelComponentDefaults {
|
|
3
|
+
compact: boolean;
|
|
4
|
+
multiple: boolean;
|
|
5
|
+
blockAfterUpload: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const _fileInputBaseDefaults: _FileInputBaseDefaults;
|
|
@@ -2,9 +2,12 @@ import { TemplateRef } from '@angular/core';
|
|
|
2
2
|
import { _FocusableComponentBase } from '../_internal/focusable-component';
|
|
3
3
|
import { FormElementAppearance, FormElementVariant } from '../types/theming.types';
|
|
4
4
|
import { Nullable } from '../types/utility.types';
|
|
5
|
+
import { ArdFormFieldFrameDefaults } from './form-field-frame.defaults';
|
|
5
6
|
import { ArdFormFieldPrefixTemplateDirective, ArdFormFieldSuffixTemplateDirective } from './form-field-frame.directives';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ArdiumFormFieldFrameComponent extends _FocusableComponentBase {
|
|
9
|
+
protected readonly _DEFAULTS: ArdFormFieldFrameDefaults;
|
|
10
|
+
constructor(defaults: ArdFormFieldFrameDefaults);
|
|
8
11
|
isFocused: boolean;
|
|
9
12
|
/**
|
|
10
13
|
* The appearance of the component, aka the styling.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { _FocusableComponentDefaults } from '../_internal/focusable-component';
|
|
3
|
+
import { FormElementAppearance, FormElementVariant } from './../types/theming.types';
|
|
4
|
+
export interface ArdFormFieldFrameDefaults extends _FocusableComponentDefaults {
|
|
5
|
+
appearance: FormElementAppearance;
|
|
6
|
+
variant: FormElementVariant;
|
|
7
|
+
compact: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const ARD_FORM_FIELD_FRAME_DEFAULTS: InjectionToken<ArdFormFieldFrameDefaults>;
|
|
10
|
+
export declare function provideFormFieldFrameDefaults(config: Partial<ArdFormFieldFrameDefaults>): Provider;
|
|
@@ -3,17 +3,21 @@ import { Nullable } from '../types/utility.types';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
type WeightNumber = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
5
5
|
type WeightString = '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
6
|
+
export type Weight = WeightNumber | WeightString;
|
|
6
7
|
type GradeNumber = -25 | 0 | 200;
|
|
7
8
|
type GradeString = '-25' | '0' | '200';
|
|
9
|
+
export type Grade = GradeNumber | GradeString;
|
|
8
10
|
type OpticalSizeNumber = 20 | 24 | 40 | 48;
|
|
9
11
|
type OpticalSizeString = '20' | '24' | '40' | '48';
|
|
12
|
+
export type OpticalSize = OpticalSizeNumber | OpticalSizeString;
|
|
10
13
|
export declare class ArdiumIconComponent implements AfterViewInit {
|
|
14
|
+
protected readonly _DEFAULTS: import("./icon.defaults").ArdIconDefaults;
|
|
11
15
|
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
12
16
|
readonly icon: import("@angular/core").InputSignal<Nullable<string>>;
|
|
13
17
|
readonly filled: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
14
|
-
readonly weight: import("@angular/core").InputSignalWithTransform<WeightNumber | undefined, Nullable<
|
|
15
|
-
readonly grade: import("@angular/core").InputSignalWithTransform<GradeNumber | undefined, Nullable<GradeNumber
|
|
16
|
-
readonly opticalSize: import("@angular/core").InputSignalWithTransform<OpticalSizeNumber | undefined, Nullable<
|
|
18
|
+
readonly weight: import("@angular/core").InputSignalWithTransform<WeightNumber | undefined, Nullable<Weight>>;
|
|
19
|
+
readonly grade: import("@angular/core").InputSignalWithTransform<GradeNumber | undefined, Nullable<GradeNumber>>;
|
|
20
|
+
readonly opticalSize: import("@angular/core").InputSignalWithTransform<OpticalSizeNumber | undefined, Nullable<OpticalSize>>;
|
|
17
21
|
readonly fontVariationSettings: import("@angular/core").Signal<string>;
|
|
18
22
|
readonly contentWrapper: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
19
23
|
ngAfterViewInit(): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { Grade, OpticalSize, Weight } from './icon.component';
|
|
3
|
+
export interface ArdIconDefaults {
|
|
4
|
+
filled: boolean;
|
|
5
|
+
weight: Weight;
|
|
6
|
+
grade: Grade;
|
|
7
|
+
opticalSize: OpticalSize;
|
|
8
|
+
ariaLabel: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const ARD_ICON_DEFAULTS: InjectionToken<ArdIconDefaults>;
|
|
11
|
+
export declare function provideIconDefaults(config: Partial<ArdIconDefaults>): Provider;
|
package/lib/icon/index.d.ts
CHANGED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { _NgModelComponentBase, _NgModelComponentDefaults } from '../_internal/ngmodel-component';
|
|
3
|
+
import { SimpleOneAxisAlignment } from './../types/alignment.types';
|
|
4
|
+
import { FormElementAppearance, FormElementVariant } from './../types/theming.types';
|
|
5
|
+
import { Nullable } from './../types/utility.types';
|
|
6
|
+
import { SimpleInputModel } from './input-utils';
|
|
7
|
+
import { ArdSimpleInputPlaceholderTemplateDirective, ArdSimpleInputPrefixTemplateDirective, ArdSimpleInputSuffixTemplateDirective } from './simple-input';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export interface _SimpleInputComponentDefaults extends _NgModelComponentDefaults {
|
|
10
|
+
appearance: FormElementAppearance;
|
|
11
|
+
variant: FormElementVariant;
|
|
12
|
+
compact: boolean;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
alignText: SimpleOneAxisAlignment;
|
|
15
|
+
clearable: boolean;
|
|
16
|
+
clearButtonTitle: string;
|
|
17
|
+
inputAttrs: Record<string, any>;
|
|
18
|
+
maxLength: Nullable<number>;
|
|
19
|
+
}
|
|
20
|
+
export declare const _simpleInputComponentDefaults: _SimpleInputComponentDefaults;
|
|
21
|
+
export declare abstract class _SimpleInputComponentBase extends _NgModelComponentBase implements AfterViewInit {
|
|
22
|
+
protected readonly _DEFAULTS: _SimpleInputComponentDefaults;
|
|
23
|
+
readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
24
|
+
protected readonly inputModel: SimpleInputModel;
|
|
25
|
+
private _wasViewInit;
|
|
26
|
+
ngAfterViewInit(): void;
|
|
27
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
28
|
+
readonly inputId: import("@angular/core").InputSignal<Nullable<string>>;
|
|
29
|
+
readonly clearButtonTitle: import("@angular/core").InputSignal<string>;
|
|
30
|
+
readonly prefixTemplate: import("@angular/core").Signal<ArdSimpleInputPrefixTemplateDirective | undefined>;
|
|
31
|
+
readonly suffixTemplate: import("@angular/core").Signal<ArdSimpleInputSuffixTemplateDirective | undefined>;
|
|
32
|
+
readonly placeholderTemplate: import("@angular/core").Signal<ArdSimpleInputPlaceholderTemplateDirective | undefined>;
|
|
33
|
+
readonly shouldDisplayPlaceholder: import("@angular/core").Signal<boolean>;
|
|
34
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
35
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
36
|
+
readonly alignText: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
|
|
37
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
38
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
39
|
+
readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
|
|
40
|
+
readonly maxLength: import("@angular/core").InputSignalWithTransform<Nullable<number>, any>;
|
|
41
|
+
readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
42
|
+
writeValue(v: any): void;
|
|
43
|
+
protected _valueBeforeInit?: string | null;
|
|
44
|
+
set value(v: string | null);
|
|
45
|
+
get value(): string | null;
|
|
46
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<string | null>;
|
|
47
|
+
readonly inputEvent: import("@angular/core").OutputEmitterRef<string | null>;
|
|
48
|
+
readonly changeEvent: import("@angular/core").OutputEmitterRef<string | null>;
|
|
49
|
+
readonly clearEvent: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
50
|
+
onInput(newVal: string): void;
|
|
51
|
+
protected _emitInput(): void;
|
|
52
|
+
onFocusMaster(event: FocusEvent): void;
|
|
53
|
+
onBlurMaster(event: FocusEvent): void;
|
|
54
|
+
onChange(event: Event): void;
|
|
55
|
+
protected _emitChange(): void;
|
|
56
|
+
readonly shouldShowClearButton: import("@angular/core").Signal<boolean>;
|
|
57
|
+
onClearButtonClick(event: MouseEvent): void;
|
|
58
|
+
onCopy(event: ClipboardEvent): void;
|
|
59
|
+
protected _setInputAttributes(): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_SimpleInputComponentBase, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_SimpleInputComponentBase, never, never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "alignText": { "alias": "alignText"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate"], never, false, never>;
|
|
62
|
+
}
|
|
@@ -2,10 +2,13 @@ import { ElementRef } from '@angular/core';
|
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
4
4
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
|
+
import { ArdDigitInputDefaults } from './digit-input.defaults';
|
|
5
6
|
import { DigitInputConfig, DigitInputShape } from './digit-input.types';
|
|
6
7
|
import { DigitInputModelHost } from './digit-input.utils';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class ArdiumDigitInputComponent extends _NgModelComponentBase implements ControlValueAccessor, DigitInputModelHost {
|
|
10
|
+
protected readonly _DEFAULTS: ArdDigitInputDefaults;
|
|
11
|
+
constructor(defaults: ArdDigitInputDefaults);
|
|
9
12
|
readonly inputs: import("@angular/core").Signal<readonly ElementRef<HTMLInputElement>[]>;
|
|
10
13
|
private readonly model;
|
|
11
14
|
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { _NgModelComponentDefaults } from '../../_internal/ngmodel-component';
|
|
3
|
+
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
4
|
+
import { DigitInputShape } from './digit-input.types';
|
|
5
|
+
export interface ArdDigitInputDefaults extends _NgModelComponentDefaults {
|
|
6
|
+
appearance: FormElementAppearance;
|
|
7
|
+
variant: FormElementVariant;
|
|
8
|
+
shape: DigitInputShape;
|
|
9
|
+
compact: boolean;
|
|
10
|
+
outputAsString: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const ARD_DIGIT_INPUT_DEFAULTS: InjectionToken<ArdDigitInputDefaults>;
|
|
13
|
+
export declare function provideDigitInputDefaults(config: Partial<ArdDigitInputDefaults>): Provider;
|
|
@@ -3,18 +3,18 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
4
4
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
5
|
import { Nullable } from '../../types/utility.types';
|
|
6
|
-
import { HexInputModel, HexInputModelHost } from '../hex-input.model';
|
|
7
6
|
import { CaseTransformerType } from '../input-types';
|
|
7
|
+
import { ArdHexInputDefaults } from './hex-input.defaults';
|
|
8
8
|
import { ArdHexInputPlaceholderTemplateDirective, ArdHexInputPrefixTemplateDirective, ArdHexInputSuffixTemplateDirective } from './hex-input.directives';
|
|
9
|
+
import { HexInputModel, HexInputModelHost } from './hex-input.model';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class ArdiumHexInputComponent extends _NgModelComponentBase implements ControlValueAccessor, HexInputModelHost, AfterViewInit {
|
|
12
|
+
protected readonly _DEFAULTS: ArdHexInputDefaults;
|
|
13
|
+
constructor(defaults: ArdHexInputDefaults);
|
|
11
14
|
readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
12
15
|
protected readonly inputModel: HexInputModel;
|
|
13
16
|
protected _wasViewInit: boolean;
|
|
14
17
|
ngAfterViewInit(): void;
|
|
15
|
-
readonly DEFAULTS: {
|
|
16
|
-
clearButtonTitle: string;
|
|
17
|
-
};
|
|
18
18
|
readonly inputId: import("@angular/core").InputSignal<Nullable<string>>;
|
|
19
19
|
readonly prefixTemplate: import("@angular/core").Signal<ArdHexInputPrefixTemplateDirective | undefined>;
|
|
20
20
|
readonly suffixTemplate: import("@angular/core").Signal<ArdHexInputSuffixTemplateDirective | undefined>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { _NgModelComponentDefaults } from '../../_internal/ngmodel-component';
|
|
3
|
+
import { Nullable } from '../../types/utility.types';
|
|
4
|
+
import { CaseTransformerType } from '../input-types';
|
|
5
|
+
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
6
|
+
export interface ArdHexInputDefaults extends _NgModelComponentDefaults {
|
|
7
|
+
appearance: FormElementAppearance;
|
|
8
|
+
variant: FormElementVariant;
|
|
9
|
+
compact: boolean;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
case: CaseTransformerType;
|
|
12
|
+
maxDigits: Nullable<number>;
|
|
13
|
+
hideHash: boolean;
|
|
14
|
+
clearable: boolean;
|
|
15
|
+
clearButtonTitle: string;
|
|
16
|
+
inputAttrs: Record<string, any>;
|
|
17
|
+
}
|
|
18
|
+
export declare const ARD_HEX_INPUT_DEFAULTS: InjectionToken<ArdHexInputDefaults>;
|
|
19
|
+
export declare function provideHexInputDefaults(config: Partial<ArdHexInputDefaults>): Provider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CaseTransformerType } from './input-types';
|
|
2
1
|
import { ElementRef, Signal } from '@angular/core';
|
|
3
|
-
import { Nullable } from '
|
|
2
|
+
import { Nullable } from '../../types/utility.types';
|
|
3
|
+
import { CaseTransformerType } from '../input-types';
|
|
4
4
|
export interface HexInputModelHost {
|
|
5
5
|
readonly case: Signal<CaseTransformerType>;
|
|
6
6
|
readonly maxDigits: Signal<Nullable<number>>;
|
|
@@ -1,26 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AfterViewInit, ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, TemplateRef } from '@angular/core';
|
|
3
2
|
import { SimplestItemStorage, SimplestItemStorageHost } from '../../_internal/item-storages/simplest-item-storage';
|
|
4
3
|
import { DropdownPanelAppearance, DropdownPanelVariant } from '../../dropdown-panel/dropdown-panel.types';
|
|
5
4
|
import { ArdSimplestStorageItem } from '../../types/item-storage.types';
|
|
6
5
|
import { Nullable } from '../../types/utility.types';
|
|
7
|
-
import {
|
|
6
|
+
import { _SimpleInputComponentBase } from '../_simple-input-base';
|
|
8
7
|
import { OptionContext } from './../../types/item-storage.types';
|
|
9
8
|
import { InputModel, InputModelHost } from './../input-utils';
|
|
9
|
+
import { ArdInputDefaults } from './input.defaults';
|
|
10
10
|
import { ArdInputLoadingTemplateDirective, ArdInputPlaceholderTemplateDirective, ArdInputPrefixTemplateDirective, ArdInputSuffixTemplateDirective, ArdSuggestionTemplateDirective } from './input.directives';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class ArdiumInputComponent extends
|
|
13
|
-
private
|
|
14
|
-
private
|
|
15
|
-
private
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
clearButtonTitle: string;
|
|
20
|
-
valueFrom: string;
|
|
21
|
-
labelFrom: string;
|
|
22
|
-
suggestionsLoadingText: string;
|
|
23
|
-
};
|
|
12
|
+
export declare class ArdiumInputComponent extends _SimpleInputComponentBase implements InputModelHost, SimplestItemStorageHost, AfterViewInit {
|
|
13
|
+
private readonly overlay;
|
|
14
|
+
private readonly scrollStrategyOpts;
|
|
15
|
+
private readonly viewContainerRef;
|
|
16
|
+
protected readonly _DEFAULTS: ArdInputDefaults;
|
|
17
|
+
readonly DEFAULTS: ArdInputDefaults;
|
|
18
|
+
constructor(defaults: ArdInputDefaults);
|
|
24
19
|
protected readonly inputModel: InputModel;
|
|
25
20
|
readonly charlistFromInput: import("@angular/core").InputSignalWithTransform<RegExp | undefined, string>;
|
|
26
21
|
readonly charlistCaseInsensitive: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
@@ -37,7 +32,6 @@ export declare class ArdiumInputComponent extends ArdiumSimpleInputComponent imp
|
|
|
37
32
|
readonly acceptSuggestionEvent: import("@angular/core").OutputEmitterRef<any>;
|
|
38
33
|
readonly suggestionItems: import("@angular/core").Signal<ArdSimplestStorageItem[]>;
|
|
39
34
|
set suggestions(value: any);
|
|
40
|
-
private _printPrimitiveWarnings;
|
|
41
35
|
private readonly _suggestionDropdowOpen;
|
|
42
36
|
readonly shouldDisplaySuggestions: import("@angular/core").Signal<boolean>;
|
|
43
37
|
readonly areSuggestionsLoading: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
@@ -49,7 +43,6 @@ export declare class ArdiumInputComponent extends ArdiumSimpleInputComponent imp
|
|
|
49
43
|
private dropdownOverlay;
|
|
50
44
|
ngAfterViewInit(): void;
|
|
51
45
|
setOverlaySize(): void;
|
|
52
|
-
onWindowResize(): void;
|
|
53
46
|
getOptionContext(item: ArdSimplestStorageItem): OptionContext<ArdSimplestStorageItem>;
|
|
54
47
|
private _isMouseBeingUsed;
|
|
55
48
|
onMouseMove(): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { _SimpleInputComponentDefaults } from '../_simple-input-base';
|
|
3
|
+
export interface ArdInputDefaults extends _SimpleInputComponentDefaults {
|
|
4
|
+
suggValueFrom: string;
|
|
5
|
+
suggLabelFrom: string;
|
|
6
|
+
suggestionsLoadingText: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const ARD_INPUT_DEFAULTS: InjectionToken<ArdInputDefaults>;
|
|
9
|
+
export declare function provideInputDefaults(config: Partial<ArdInputDefaults>): Provider;
|
|
@@ -6,9 +6,12 @@ import { OneAxisAlignment } from '../../types/alignment.types';
|
|
|
6
6
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
7
7
|
import { Nullable } from '../../types/utility.types';
|
|
8
8
|
import { NumberInputModel, NumberInputModelHost } from '../input-utils';
|
|
9
|
+
import { ArdNumberInputDefaults } from './number-input.defaults';
|
|
9
10
|
import { ArdNumberInputPlaceholderTemplateDirective } from './number-input.directives';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class ArdiumNumberInputComponent extends _NgModelComponentBase implements ControlValueAccessor, NumberInputModelHost, AfterViewInit {
|
|
13
|
+
protected readonly _DEFAULTS: ArdNumberInputDefaults;
|
|
14
|
+
constructor(defaults: ArdNumberInputDefaults);
|
|
12
15
|
readonly inputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
13
16
|
protected readonly inputModel: NumberInputModel;
|
|
14
17
|
private _wasViewInit;
|
|
@@ -29,7 +32,6 @@ export declare class ArdiumNumberInputComponent extends _NgModelComponentBase im
|
|
|
29
32
|
protected _valueBeforeInit?: string | null;
|
|
30
33
|
set value(v: string | number | null);
|
|
31
34
|
readonly valueChange: import("@angular/core").OutputEmitterRef<number | null>;
|
|
32
|
-
constructor();
|
|
33
35
|
readonly inputEvent: import("@angular/core").OutputEmitterRef<number | null>;
|
|
34
36
|
readonly changeEvent: import("@angular/core").OutputEmitterRef<number | null>;
|
|
35
37
|
readonly clearEvent: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { _NgModelComponentDefaults } from '../../_internal/ngmodel-component';
|
|
3
|
+
import { OneAxisAlignment } from './../../types/alignment.types';
|
|
4
|
+
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
5
|
+
export interface ArdNumberInputDefaults extends _NgModelComponentDefaults {
|
|
6
|
+
appearance: FormElementAppearance;
|
|
7
|
+
variant: FormElementVariant;
|
|
8
|
+
compact: boolean;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
alignText: OneAxisAlignment;
|
|
11
|
+
inputAttrs: Record<string, any>;
|
|
12
|
+
min: number;
|
|
13
|
+
max: number;
|
|
14
|
+
allowFloat: boolean;
|
|
15
|
+
noButtons: boolean;
|
|
16
|
+
stepSize: number;
|
|
17
|
+
}
|
|
18
|
+
export declare const ARD_NUMBER_INPUT_DEFAULTS: InjectionToken<ArdNumberInputDefaults>;
|
|
19
|
+
export declare function provideNumberInputDefaults(config: Partial<ArdNumberInputDefaults>): Provider;
|
|
@@ -3,10 +3,13 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
4
4
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
5
|
import { Nullable } from '../../types/utility.types';
|
|
6
|
+
import { ArdPasswordInputDefaults } from './password-input.defaults';
|
|
6
7
|
import { ArdPasswordInputPlaceholderTemplateDirective, ArdPasswordInputPrefixTemplateDirective, ArdPasswordInputRevealButtonTemplateDirective, ArdPasswordInputSuffixTemplateDirective } from './password-input.directives';
|
|
7
8
|
import { PasswordInputRevealButtonContext } from './password-input.types';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class ArdiumPasswordInputComponent extends _NgModelComponentBase implements ControlValueAccessor, OnInit, OnDestroy {
|
|
11
|
+
protected readonly _DEFAULTS: ArdPasswordInputDefaults;
|
|
12
|
+
constructor(defaults: ArdPasswordInputDefaults);
|
|
10
13
|
readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
11
14
|
ngOnInit(): void;
|
|
12
15
|
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { _NgModelComponentDefaults } from '../../_internal/ngmodel-component';
|
|
3
|
+
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
4
|
+
import { Nullable } from './../../types/utility.types';
|
|
5
|
+
export interface ArdPasswordInputDefaults extends _NgModelComponentDefaults {
|
|
6
|
+
appearance: FormElementAppearance;
|
|
7
|
+
variant: FormElementVariant;
|
|
8
|
+
compact: boolean;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
revealable: boolean;
|
|
11
|
+
holdToReveal: boolean;
|
|
12
|
+
autoHideTimeoutMs: Nullable<number>;
|
|
13
|
+
revealed: boolean;
|
|
14
|
+
inputAttrs: Record<string, any>;
|
|
15
|
+
}
|
|
16
|
+
export declare const ARD_PASSWORD_INPUT_DEFAULTS: InjectionToken<ArdPasswordInputDefaults>;
|
|
17
|
+
export declare function providePasswordInputDefaults(config: Partial<ArdPasswordInputDefaults>): Provider;
|
|
@@ -1,53 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
4
|
-
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
|
-
import { Nullable } from '../../types/utility.types';
|
|
6
|
-
import { SimpleOneAxisAlignment } from './../../types/alignment.types';
|
|
7
|
-
import { SimpleInputModel, SimpleInputModelHost } from './../input-utils';
|
|
8
|
-
import { ArdSimpleInputPlaceholderTemplateDirective, ArdSimpleInputPrefixTemplateDirective, ArdSimpleInputSuffixTemplateDirective } from './simple-input.directives';
|
|
1
|
+
import { _SimpleInputComponentBase } from '../_simple-input-base';
|
|
2
|
+
import { ArdSimpleInputDefaults } from './simple-input.defaults';
|
|
9
3
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ArdiumSimpleInputComponent extends
|
|
11
|
-
readonly
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
15
|
-
protected readonly inputModel: SimpleInputModel;
|
|
16
|
-
private _wasViewInit;
|
|
17
|
-
ngAfterViewInit(): void;
|
|
18
|
-
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
19
|
-
readonly inputId: import("@angular/core").InputSignal<Nullable<string>>;
|
|
20
|
-
readonly clearButtonTitle: import("@angular/core").InputSignal<string>;
|
|
21
|
-
readonly prefixTemplate: import("@angular/core").Signal<ArdSimpleInputPrefixTemplateDirective | undefined>;
|
|
22
|
-
readonly suffixTemplate: import("@angular/core").Signal<ArdSimpleInputSuffixTemplateDirective | undefined>;
|
|
23
|
-
readonly placeholderTemplate: import("@angular/core").Signal<ArdSimpleInputPlaceholderTemplateDirective | undefined>;
|
|
24
|
-
readonly shouldDisplayPlaceholder: import("@angular/core").Signal<boolean>;
|
|
25
|
-
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
26
|
-
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
27
|
-
readonly alignText: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
|
|
28
|
-
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
29
|
-
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
30
|
-
readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
|
|
31
|
-
readonly maxLength: import("@angular/core").InputSignalWithTransform<Nullable<number>, any>;
|
|
32
|
-
readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
33
|
-
writeValue(v: any): void;
|
|
34
|
-
protected _valueBeforeInit?: string | null;
|
|
35
|
-
set value(v: string | null);
|
|
36
|
-
get value(): string | null;
|
|
37
|
-
readonly valueChange: import("@angular/core").OutputEmitterRef<string | null>;
|
|
38
|
-
readonly inputEvent: import("@angular/core").OutputEmitterRef<string | null>;
|
|
39
|
-
readonly changeEvent: import("@angular/core").OutputEmitterRef<string | null>;
|
|
40
|
-
readonly clearEvent: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
41
|
-
onInput(newVal: string): void;
|
|
42
|
-
protected _emitInput(): void;
|
|
43
|
-
onFocusMaster(event: FocusEvent): void;
|
|
44
|
-
onBlurMaster(event: FocusEvent): void;
|
|
45
|
-
onChange(event: Event): void;
|
|
46
|
-
protected _emitChange(): void;
|
|
47
|
-
readonly shouldShowClearButton: import("@angular/core").Signal<boolean>;
|
|
48
|
-
onClearButtonClick(event: MouseEvent): void;
|
|
49
|
-
onCopy(event: ClipboardEvent): void;
|
|
50
|
-
protected _setInputAttributes(): void;
|
|
4
|
+
export declare class ArdiumSimpleInputComponent extends _SimpleInputComponentBase {
|
|
5
|
+
protected readonly _DEFAULTS: ArdSimpleInputDefaults;
|
|
6
|
+
constructor(defaults: ArdSimpleInputDefaults);
|
|
51
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSimpleInputComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSimpleInputComponent, "ard-simple-input", never, {
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSimpleInputComponent, "ard-simple-input", never, {}, {}, never, never, false, never>;
|
|
53
9
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { _SimpleInputComponentDefaults } from '../_simple-input-base';
|
|
3
|
+
export interface ArdSimpleInputDefaults extends _SimpleInputComponentDefaults {
|
|
4
|
+
}
|
|
5
|
+
export declare const ARD_SIMPLE_INPUT_DEFAULTS: InjectionToken<ArdSimpleInputDefaults>;
|
|
6
|
+
export declare function provideSimpleInputDefaults(config: Partial<ArdSimpleInputDefaults>): Provider;
|
package/lib/kbd/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { AfterViewInit, ElementRef } from '@angular/core';
|
|
|
2
2
|
import { FormElementAppearance } from './../types/theming.types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ArdiumKbdComponent implements AfterViewInit {
|
|
5
|
+
protected readonly _DEFAULTS: import("./kbd.defaults").ArdKbdDefaults;
|
|
5
6
|
readonly contentWrapper: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
6
7
|
ngAfterViewInit(): void;
|
|
7
8
|
readonly key: import("@angular/core").InputSignal<string>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { FormElementAppearance } from './../types/theming.types';
|
|
3
|
+
export interface ArdKbdDefaults {
|
|
4
|
+
full: boolean;
|
|
5
|
+
appearance: FormElementAppearance;
|
|
6
|
+
}
|
|
7
|
+
export declare const ARD_KBD_DEFAULTS: InjectionToken<ArdKbdDefaults>;
|
|
8
|
+
export declare function provideKbdDefaults(config: Partial<ArdKbdDefaults>): Provider;
|
package/lib/kbd/kbd.pipe.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ArdiumKbdPipe implements PipeTransform {
|
|
4
|
+
protected readonly _DEFAULTS: import("./kbd.defaults").ArdKbdDefaults;
|
|
4
5
|
transform(value: string, useShort?: boolean): string;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumKbdPipe, never>;
|
|
6
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<ArdiumKbdPipe, "kbd", false>;
|
|
@@ -3,6 +3,8 @@ import { FormElementAppearance } from '../types/theming.types';
|
|
|
3
3
|
import { Nullable } from '../types/utility.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ArdiumKbdShortcutComponent implements AfterViewInit {
|
|
6
|
+
protected readonly _KBD_DEFAULTS: import("../kbd/kbd.defaults").ArdKbdDefaults;
|
|
7
|
+
protected readonly _DEFAULTS: import("./kbd-shortcut.defaults").ArdKbdShortcutDefaults;
|
|
6
8
|
readonly contentWrapper: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
7
9
|
ngAfterViewInit(): void;
|
|
8
10
|
readonly splitRegex: RegExp;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { FormElementAppearance } from '../types/theming.types';
|
|
3
|
+
export interface ArdKbdShortcutDefaults {
|
|
4
|
+
full?: boolean;
|
|
5
|
+
appearance?: FormElementAppearance;
|
|
6
|
+
}
|
|
7
|
+
export declare const ARD_KBD_SHORTCUT_DEFAULTS: InjectionToken<ArdKbdShortcutDefaults>;
|
|
8
|
+
export declare function provideKbdShortcutDefaults(config: Partial<ArdKbdShortcutDefaults>): Provider;
|
package/lib/modal/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare class ArdiumModalComponent {
|
|
|
5
5
|
private readonly overlay;
|
|
6
6
|
private readonly scrollStrategyOpts;
|
|
7
7
|
private readonly viewContainerRef;
|
|
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,14 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { PanelAppearance, PanelVariant } from './../types/theming.types';
|
|
3
|
+
export interface ArdModalDefaults {
|
|
4
|
+
appearance: PanelAppearance;
|
|
5
|
+
variant: PanelVariant;
|
|
6
|
+
compact: boolean;
|
|
7
|
+
heading: string;
|
|
8
|
+
noCloseButton: boolean;
|
|
9
|
+
noBackdrop: boolean;
|
|
10
|
+
disableBackdropClose: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const _modalDefaults: ArdModalDefaults;
|
|
13
|
+
export declare const ARD_MODAL_DEFAULTS: InjectionToken<ArdModalDefaults>;
|
|
14
|
+
export declare function provideModalDefaults(config: Partial<ArdModalDefaults>): Provider;
|