@ardium-ui/ui 1.0.2 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/_internal/boolean-component.mjs +28 -42
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +5 -5
- package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +4 -4
- package/esm2022/lib/_internal/disablable-component.mjs +24 -22
- package/esm2022/lib/_internal/focusable-component.mjs +12 -25
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +172 -169
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +115 -120
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +56 -53
- package/esm2022/lib/_internal/models/pagination.model.mjs +72 -106
- package/esm2022/lib/_internal/ngmodel-component.mjs +5 -5
- package/esm2022/lib/_internal/queue.mjs +1 -1
- package/esm2022/lib/_internal/selectable-list-component.mjs +74 -98
- package/esm2022/lib/badge/badge.directive.mjs +70 -99
- package/esm2022/lib/badge/badge.module.mjs +4 -4
- package/esm2022/lib/badge/index.mjs +4 -0
- package/esm2022/lib/buttons/_button-base.mjs +13 -35
- package/esm2022/lib/buttons/button/button.component.mjs +22 -37
- package/esm2022/lib/buttons/button/button.module.mjs +4 -4
- package/esm2022/lib/buttons/button/index.mjs +3 -0
- package/esm2022/lib/buttons/fab/fab.component.mjs +16 -28
- package/esm2022/lib/buttons/fab/fab.module.mjs +4 -4
- package/esm2022/lib/buttons/fab/index.mjs +3 -0
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +17 -25
- package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +4 -4
- package/esm2022/lib/buttons/icon-button/index.mjs +3 -0
- package/esm2022/lib/card/card.children.mjs +32 -33
- package/esm2022/lib/card/card.component.mjs +14 -17
- package/esm2022/lib/card/card.module.mjs +4 -4
- package/esm2022/lib/card/index.mjs +5 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +33 -46
- package/esm2022/lib/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/lib/checkbox/index.mjs +4 -0
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +31 -57
- package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +4 -4
- package/esm2022/lib/checkbox-list/index.mjs +4 -0
- package/esm2022/lib/chip/chip.component.mjs +22 -42
- package/esm2022/lib/chip/chip.module.mjs +4 -4
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +28 -53
- package/esm2022/lib/chip/index.mjs +5 -0
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +25 -49
- package/esm2022/lib/color/color-display/color-display.component.mjs +15 -32
- package/esm2022/lib/color/color-display/color-display.module.mjs +4 -4
- package/esm2022/lib/color/color-display/index.mjs +4 -0
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +1 -1
- package/esm2022/lib/dialog/dialog.component.mjs +54 -130
- package/esm2022/lib/dialog/dialog.directives.mjs +3 -3
- package/esm2022/lib/dialog/dialog.module.mjs +4 -4
- package/esm2022/lib/dialog/dialog.types.mjs +1 -1
- package/esm2022/lib/dialog/index.mjs +5 -0
- package/esm2022/lib/divider/divider.component.mjs +9 -14
- package/esm2022/lib/divider/divider.module.mjs +4 -4
- package/esm2022/lib/divider/index.mjs +3 -0
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +40 -59
- package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +4 -4
- package/esm2022/lib/dropdown-panel/index.mjs +4 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +12 -17
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +9 -9
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +6 -6
- package/esm2022/lib/file-inputs/file-drop-area/index.mjs +4 -0
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +24 -50
- package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +18 -18
- package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +4 -4
- package/esm2022/lib/file-inputs/file-input/index.mjs +4 -0
- package/esm2022/lib/file-inputs/file-input-base.mjs +38 -72
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +20 -47
- package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +6 -6
- package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +4 -4
- package/esm2022/lib/form-field-frame/index.mjs +4 -0
- package/esm2022/lib/icon/icon.component.mjs +32 -67
- package/esm2022/lib/icon/icon.module.mjs +4 -4
- package/esm2022/lib/icon/icon.pipe.mjs +3 -3
- package/esm2022/lib/icon/index.mjs +4 -0
- package/esm2022/lib/inputs/color-input/color-input.directives.mjs +24 -24
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +65 -115
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +83 -92
- package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +4 -4
- 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 +4 -0
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +59 -122
- package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +9 -9
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +24 -8
- package/esm2022/lib/inputs/hex-input/index.mjs +4 -0
- package/esm2022/lib/inputs/hex-input.model.mjs +24 -33
- package/esm2022/lib/inputs/input/index.mjs +4 -0
- package/esm2022/lib/inputs/input/input.component.mjs +95 -154
- package/esm2022/lib/inputs/input/input.directives.mjs +16 -16
- package/esm2022/lib/inputs/input/input.module.mjs +21 -7
- package/esm2022/lib/inputs/input-transformers.mjs +6 -6
- package/esm2022/lib/inputs/input-utils.mjs +75 -94
- package/esm2022/lib/inputs/number-input/index.mjs +4 -0
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +106 -170
- package/esm2022/lib/inputs/number-input/number-input.directives.mjs +3 -3
- package/esm2022/lib/inputs/number-input/number-input.module.mjs +4 -4
- package/esm2022/lib/inputs/password-input/index.mjs +5 -0
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +74 -144
- package/esm2022/lib/inputs/password-input/password-input.directives.mjs +12 -12
- package/esm2022/lib/inputs/password-input/password-input.module.mjs +4 -4
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/index.mjs +4 -0
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +57 -110
- package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +9 -9
- package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +4 -4
- package/esm2022/lib/kbd/index.mjs +4 -0
- package/esm2022/lib/kbd/kbd.component.mjs +15 -29
- package/esm2022/lib/kbd/kbd.module.mjs +4 -4
- package/esm2022/lib/kbd/kbd.pipe.mjs +3 -3
- package/esm2022/lib/kbd-shortcut/index.mjs +3 -0
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +23 -40
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +4 -4
- package/esm2022/lib/modal/index.mjs +3 -0
- package/esm2022/lib/modal/modal.component.mjs +42 -83
- package/esm2022/lib/modal/modal.module.mjs +4 -4
- package/esm2022/lib/option/index.mjs +3 -0
- package/esm2022/lib/option/option.component.mjs +24 -46
- package/esm2022/lib/option/option.module.mjs +4 -4
- package/esm2022/lib/progress-bar/index.mjs +5 -0
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +43 -81
- package/esm2022/lib/progress-bar/progress-bar.directive.mjs +3 -3
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
- package/esm2022/lib/progress-circle/index.mjs +5 -0
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +33 -78
- package/esm2022/lib/progress-circle/progress-circle.directive.mjs +3 -3
- 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 -0
- package/esm2022/lib/radio/radio/radio.component.mjs +16 -25
- package/esm2022/lib/radio/radio-group.component.mjs +71 -85
- package/esm2022/lib/radio/radio.module.mjs +4 -4
- package/esm2022/lib/search-functions.mjs +7 -7
- package/esm2022/lib/segment/index.mjs +5 -0
- package/esm2022/lib/segment/segment.component.mjs +70 -137
- package/esm2022/lib/segment/segment.directives.mjs +4 -4
- package/esm2022/lib/segment/segment.module.mjs +4 -4
- package/esm2022/lib/select/index.mjs +5 -0
- package/esm2022/lib/select/select.component.mjs +348 -655
- package/esm2022/lib/select/select.directive.mjs +46 -46
- package/esm2022/lib/select/select.module.mjs +4 -4
- package/esm2022/lib/select/select.types.mjs +1 -1
- package/esm2022/lib/slide-toggle/index.mjs +4 -0
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +19 -24
- package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +4 -4
- package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +5 -0
- package/esm2022/lib/slider/abstract-slider.mjs +111 -200
- package/esm2022/lib/slider/index.mjs +7 -0
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +26 -23
- package/esm2022/lib/slider/range-slider/range-slider.module.mjs +4 -4
- package/esm2022/lib/slider/slider.component.mjs +13 -10
- package/esm2022/lib/slider/slider.directive.mjs +3 -3
- package/esm2022/lib/slider/slider.module.mjs +7 -7
- 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 +8 -8
- package/esm2022/lib/snackbar/snackbar.service.mjs +13 -12
- package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
- package/esm2022/lib/spinner/index.mjs +3 -0
- package/esm2022/lib/spinner/spinner.component.mjs +9 -13
- package/esm2022/lib/spinner/spinner.module.mjs +4 -4
- package/esm2022/lib/star/index.mjs +4 -0
- package/esm2022/lib/star/star-button/index.mjs +3 -0
- package/esm2022/lib/star/star-button/star-button.component.mjs +17 -26
- package/esm2022/lib/star/star-button/star-button.module.mjs +4 -4
- package/esm2022/lib/star/star-display/index.mjs +3 -0
- package/esm2022/lib/star/star-display/star-display.component.mjs +48 -55
- package/esm2022/lib/star/star-display/star-display.module.mjs +4 -4
- package/esm2022/lib/star/star-input/index.mjs +3 -0
- package/esm2022/lib/star/star-input/star-input.component.mjs +70 -106
- package/esm2022/lib/star/star-input/star-input.module.mjs +4 -4
- package/esm2022/lib/star/star.component.mjs +12 -20
- package/esm2022/lib/star/star.module.mjs +4 -4
- package/esm2022/lib/statebox/index.mjs +3 -0
- package/esm2022/lib/statebox/statebox.component.mjs +64 -102
- package/esm2022/lib/statebox/statebox.module.mjs +4 -4
- package/esm2022/lib/statebox/statebox.types.mjs +1 -1
- package/esm2022/lib/tabber/index.mjs +4 -0
- package/esm2022/lib/tabber/tab/tab.component.mjs +42 -0
- package/esm2022/lib/tabber/tabber.component.mjs +83 -0
- package/esm2022/lib/tabber/tabber.module.mjs +19 -0
- package/esm2022/lib/table/index.mjs +5 -0
- package/esm2022/lib/table/table-item-storage.mjs +204 -200
- package/esm2022/lib/table/table.component.mjs +184 -304
- package/esm2022/lib/table/table.directives.mjs +19 -21
- package/esm2022/lib/table/table.module.mjs +4 -4
- package/esm2022/lib/table/utils.mjs +1 -1
- package/esm2022/lib/table-from-csv/index.mjs +3 -0
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +85 -29
- package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +4 -4
- package/esm2022/lib/table-pagination/index.mjs +4 -0
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +46 -114
- package/esm2022/lib/table-pagination/table-pagination.module.mjs +4 -4
- package/esm2022/lib/types/item-storage.types.mjs +1 -1
- package/esm2022/lib/types/utility.types.mjs +2 -2
- package/esm2022/public-api.mjs +58 -182
- package/fesm2022/ardium-ui-ui.mjs +7847 -11692
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/boolean-component.d.ts +8 -9
- package/lib/_internal/clear-button/clear-button.component.d.ts +1 -1
- package/lib/_internal/disablable-component.d.ts +12 -7
- package/lib/_internal/focusable-component.d.ts +5 -7
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +43 -41
- package/lib/_internal/item-storages/simple-item-storage.d.ts +28 -25
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +14 -9
- package/lib/_internal/models/pagination.model.d.ts +38 -42
- package/lib/_internal/ngmodel-component.d.ts +1 -1
- package/lib/_internal/selectable-list-component.d.ts +30 -30
- package/lib/badge/badge.directive.d.ts +15 -20
- package/lib/badge/index.d.ts +3 -0
- package/lib/buttons/_button-base.d.ts +9 -12
- package/lib/buttons/button/button.component.d.ts +6 -8
- package/lib/buttons/button/index.d.ts +2 -0
- package/lib/buttons/fab/fab.component.d.ts +4 -6
- package/lib/buttons/fab/index.d.ts +2 -0
- package/lib/buttons/icon-button/icon-button.component.d.ts +6 -7
- package/lib/buttons/icon-button/index.d.ts +2 -0
- package/lib/card/card.children.d.ts +4 -3
- package/lib/card/card.component.d.ts +5 -4
- package/lib/card/index.d.ts +4 -0
- package/lib/checkbox/checkbox.component.d.ts +8 -12
- package/lib/checkbox/index.d.ts +3 -0
- package/lib/checkbox-list/checkbox-list.component.d.ts +22 -21
- package/lib/checkbox-list/index.d.ts +3 -0
- package/lib/chip/chip.component.d.ts +8 -10
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +11 -14
- package/lib/chip/index.d.ts +4 -0
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +10 -12
- package/lib/color/color-display/color-display.component.d.ts +6 -9
- package/lib/color/color-display/index.d.ts +3 -0
- package/lib/color/color-picker/color-picker.types.d.ts +4 -4
- package/lib/dialog/dialog.component.d.ts +25 -35
- package/lib/dialog/dialog.types.d.ts +2 -2
- package/lib/dialog/index.d.ts +4 -0
- package/lib/divider/divider.component.d.ts +3 -4
- package/lib/divider/index.d.ts +2 -0
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +17 -20
- package/lib/dropdown-panel/index.d.ts +3 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +5 -4
- package/lib/file-inputs/file-drop-area/index.d.ts +3 -0
- package/lib/file-inputs/file-input/file-input.component.d.ts +13 -17
- package/lib/file-inputs/file-input/index.d.ts +3 -0
- package/lib/file-inputs/file-input-base.d.ts +13 -18
- package/lib/form-field-frame/form-field-frame.component.d.ts +12 -16
- package/lib/form-field-frame/index.d.ts +3 -0
- package/lib/icon/icon.component.d.ts +10 -19
- package/lib/icon/index.d.ts +3 -0
- package/lib/inputs/color-input/color-input.types.d.ts +2 -2
- package/lib/inputs/digit-input/digit-input.component.d.ts +22 -30
- package/lib/inputs/digit-input/digit-input.model.d.ts +8 -12
- package/lib/inputs/digit-input/digit-input.types.d.ts +4 -4
- package/lib/inputs/digit-input/digit-input.utils.d.ts +4 -5
- package/lib/inputs/digit-input/index.d.ts +3 -0
- package/lib/inputs/hex-input/hex-input.component.d.ts +32 -38
- package/lib/inputs/hex-input/index.d.ts +3 -0
- package/lib/inputs/hex-input.model.d.ts +10 -11
- package/lib/inputs/input/index.d.ts +3 -0
- package/lib/inputs/input/input.component.d.ts +34 -40
- package/lib/inputs/input/input.directives.d.ts +3 -3
- package/lib/inputs/input-utils.d.ts +24 -27
- package/lib/inputs/number-input/index.d.ts +3 -0
- package/lib/inputs/number-input/number-input.component.d.ts +38 -48
- package/lib/inputs/password-input/index.d.ts +4 -0
- package/lib/inputs/password-input/password-input.component.d.ts +28 -40
- package/lib/inputs/password-input/password-input.types.d.ts +2 -2
- package/lib/inputs/simple-input/index.d.ts +3 -0
- package/lib/inputs/simple-input/simple-input.component.d.ts +30 -35
- package/lib/kbd/index.d.ts +3 -0
- package/lib/kbd/kbd.component.d.ts +6 -8
- package/lib/kbd-shortcut/index.d.ts +2 -0
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +7 -10
- package/lib/modal/index.d.ts +2 -0
- package/lib/modal/modal.component.d.ts +22 -30
- package/lib/option/index.d.ts +2 -0
- package/lib/option/option.component.d.ts +11 -16
- package/lib/progress-bar/index.d.ts +4 -0
- package/lib/progress-bar/progress-bar.component.d.ts +14 -20
- package/lib/progress-bar/progress-bar.types.d.ts +2 -2
- package/lib/progress-circle/index.d.ts +4 -0
- package/lib/progress-circle/progress-circle.component.d.ts +12 -20
- package/lib/progress-circle/progress-circle.types.d.ts +2 -2
- package/lib/radio/index.d.ts +3 -0
- package/lib/radio/radio/radio.component.d.ts +7 -8
- package/lib/radio/radio-group.component.d.ts +13 -16
- package/lib/segment/index.d.ts +4 -0
- package/lib/segment/segment.component.d.ts +22 -34
- package/lib/segment/segment.directives.d.ts +2 -3
- package/lib/select/index.d.ts +4 -0
- package/lib/select/select.component.d.ts +114 -160
- package/lib/select/select.directive.d.ts +3 -3
- package/lib/select/select.types.d.ts +2 -76
- package/lib/slide-toggle/index.d.ts +3 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +9 -7
- package/lib/slide-toggle/slide-toggle.types.d.ts +5 -0
- package/lib/slider/abstract-slider.d.ts +38 -55
- package/lib/slider/index.d.ts +6 -0
- package/lib/slider/range-slider/range-slider.component.d.ts +3 -1
- package/lib/slider/slider.component.d.ts +2 -0
- package/lib/slider/slider.types.d.ts +8 -8
- package/lib/snackbar/snackbar-ref.d.ts +1 -2
- package/lib/snackbar/snackbar.component.d.ts +3 -3
- package/lib/snackbar/snackbar.service.d.ts +2 -2
- package/lib/snackbar/snackbar.types.d.ts +4 -4
- package/lib/spinner/index.d.ts +2 -0
- package/lib/spinner/spinner.component.d.ts +3 -3
- package/lib/star/index.d.ts +3 -0
- package/lib/star/star-button/index.d.ts +2 -0
- package/lib/star/star-button/star-button.component.d.ts +7 -7
- package/lib/star/star-display/index.d.ts +2 -0
- package/lib/star/star-display/star-display.component.d.ts +8 -12
- package/lib/star/star-input/index.d.ts +2 -0
- package/lib/star/star-input/star-input.component.d.ts +17 -22
- package/lib/star/star.component.d.ts +5 -5
- package/lib/statebox/index.d.ts +3 -0
- package/lib/statebox/statebox.component.d.ts +15 -21
- package/lib/statebox/statebox.types.d.ts +12 -8
- package/lib/tabber/index.d.ts +3 -0
- package/lib/tabber/tab/tab.component.d.ts +18 -0
- package/lib/tabber/tabber.component.d.ts +25 -0
- package/lib/tabber/tabber.module.d.ts +9 -0
- package/lib/table/index.d.ts +4 -0
- package/lib/table/table-item-storage.d.ts +70 -58
- package/lib/table/table.component.d.ts +59 -78
- package/lib/table/table.directives.d.ts +4 -3
- package/lib/table-from-csv/index.d.ts +2 -0
- package/lib/table-from-csv/table-from-csv.component.d.ts +46 -9
- package/lib/table-pagination/index.d.ts +3 -0
- package/lib/table-pagination/table-pagination.component.d.ts +21 -30
- package/lib/types/item-storage.types.d.ts +19 -18
- package/lib/types/utility.types.d.ts +2 -1
- package/package.json +8 -9
- package/prebuilt-themes/default/badge.css +5 -5
- package/prebuilt-themes/default/buttons/fab.css +4 -3
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/card.css +7 -7
- package/prebuilt-themes/default/chips.css +3 -8
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/core.css +6 -3
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +139 -2
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +2 -2
- package/prebuilt-themes/default/inputs/input.css +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css +1 -1
- package/prebuilt-themes/default/inputs/simple-input.css +1 -1
- package/prebuilt-themes/default/modal.css +1 -1
- package/prebuilt-themes/default/segment.css +2 -2
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +5 -3
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css +0 -1
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +207 -0
- package/prebuilt-themes/default/tabber.css.map +1 -0
- package/public-api.d.ts +43 -136
- package/themes/default/_clear-button.scss +1 -1
- package/themes/default/badge.scss +5 -5
- package/themes/default/buttons/fab.scss +5 -3
- package/themes/default/card.scss +7 -7
- package/themes/default/chips.scss +2 -8
- package/themes/default/core.scss +6 -3
- package/themes/default/inputs/digit-input.scss +1 -1
- package/themes/default/inputs/file-input.scss +8 -1
- package/themes/default/inputs/hex-input.scss +1 -1
- package/themes/default/modal.scss +1 -1
- package/themes/default/segment.scss +2 -1
- package/themes/default/select.scss +4 -2
- package/themes/default/snackbar.scss +0 -2
- package/themes/default/tabber.scss +86 -0
- package/esm2022/lib/calendar/calendar.component.mjs +0 -979
- package/esm2022/lib/calendar/calendar.directives.mjs +0 -107
- package/esm2022/lib/calendar/calendar.helpers.mjs +0 -47
- package/esm2022/lib/calendar/calendar.module.mjs +0 -21
- package/esm2022/lib/calendar/calendar.types.mjs +0 -11
- package/esm2022/lib/color/color-picker/color-picker.component.mjs +0 -484
- package/esm2022/lib/color/color-picker/color-picker.directives.mjs +0 -55
- package/esm2022/lib/color/color-picker/color-picker.module.mjs +0 -43
- package/esm2022/lib/inputs/color-input/color-input.component.mjs +0 -421
- package/esm2022/lib/inputs/color-input/color-input.module.mjs +0 -85
- package/lib/calendar/calendar.component.d.ts +0 -155
- package/lib/calendar/calendar.directives.d.ts +0 -51
- package/lib/calendar/calendar.helpers.d.ts +0 -15
- package/lib/calendar/calendar.module.d.ts +0 -11
- package/lib/calendar/calendar.types.d.ts +0 -80
- package/lib/color/color-picker/color-picker.component.d.ts +0 -125
- package/lib/color/color-picker/color-picker.directives.d.ts +0 -27
- package/lib/color/color-picker/color-picker.module.d.ts +0 -13
- package/lib/inputs/color-input/color-input.component.d.ts +0 -147
- package/lib/inputs/color-input/color-input.module.d.ts +0 -16
|
@@ -5,9 +5,10 @@ import { _FileInputComponentBase } from '../file-input-base';
|
|
|
5
5
|
import { FileInputBrowseContext, FileInputFileAmountContext, FileInputFilesContext } from '../file-input-types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ArdiumFileDropAreaComponent extends _FileInputComponentBase implements OnInit {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
readonly componentId = "010";
|
|
9
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
10
|
+
readonly color: import("@angular/core").InputSignal<ComponentColor>;
|
|
11
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
11
12
|
protected _wasMousedownOnElement: true | null;
|
|
12
13
|
onMousedown(): void;
|
|
13
14
|
onMouseup(): void;
|
|
@@ -18,5 +19,5 @@ export declare class ArdiumFileDropAreaComponent extends _FileInputComponentBase
|
|
|
18
19
|
getDragoverContext(): FileInputFileAmountContext;
|
|
19
20
|
getUploadedContext(): FileInputFilesContext;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFileDropAreaComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFileDropAreaComponent, "ard-file-drop-area", never, { "variant": { "alias": "variant"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, ["idleTemplate", "dragoverTemplate", "uploadedTemplate"], never, false, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFileDropAreaComponent, "ard-file-drop-area", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, ["idleTemplate", "dragoverTemplate", "uploadedTemplate"], never, false, never>;
|
|
22
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentColor } from '../../types/colors.types';
|
|
3
3
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
4
4
|
import { _FileInputComponentBase } from '../file-input-base';
|
|
@@ -8,26 +8,22 @@ export declare class ArdiumFileInputComponent extends _FileInputComponentBase {
|
|
|
8
8
|
readonly DEFAULTS: {
|
|
9
9
|
clearButtonTitle: string;
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
readonly componentId = "011";
|
|
12
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
13
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
14
|
+
readonly color: import("@angular/core").InputSignal<ComponentColor>;
|
|
15
|
+
readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
|
|
16
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
17
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
18
18
|
placeholderTemplate?: TemplateRef<any>;
|
|
19
19
|
get shouldDisplayPlaceholder(): boolean;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
set clearable(v: any);
|
|
23
|
-
clearButtonTitle: string;
|
|
20
|
+
readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
21
|
+
readonly clearButtonTitle: import("@angular/core").InputSignal<string>;
|
|
24
22
|
get shouldShowClearButton(): boolean;
|
|
25
23
|
onClearButtonClick(event: MouseEvent): void;
|
|
26
24
|
clear(): void;
|
|
27
|
-
clearEvent:
|
|
28
|
-
|
|
29
|
-
get touched(): boolean;
|
|
30
|
-
private set touched(value);
|
|
25
|
+
readonly clearEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
26
|
+
readonly touched: import("@angular/core").WritableSignal<boolean>;
|
|
31
27
|
prefixTemplate?: TemplateRef<any>;
|
|
32
28
|
suffixTemplate?: TemplateRef<any>;
|
|
33
29
|
idleTemplate: TemplateRef<FileInputBrowseContext> | null;
|
|
@@ -37,5 +33,5 @@ export declare class ArdiumFileInputComponent extends _FileInputComponentBase {
|
|
|
37
33
|
getDragoverContext(): FileInputFileAmountContext;
|
|
38
34
|
getUploadedContext(): FileInputFilesContext;
|
|
39
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFileInputComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFileInputComponent, "ard-file-input", never, { "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "color": { "alias": "color"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; }, { "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": "clearEvent"; }, ["placeholderTemplate", "prefixTemplate", "suffixTemplate", "idleTemplate", "dragoverTemplate", "uploadedTemplate"], never, false, never>;
|
|
41
37
|
}
|
|
@@ -1,36 +1,31 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { _NgModelComponentBase } from '../_internal/ngmodel-component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare abstract class _FileInputComponentBase extends _NgModelComponentBase implements OnInit, AfterViewInit {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
abstract readonly componentId: string;
|
|
6
|
+
readonly fileInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
7
|
+
readonly htmlId: import("@angular/core").InputSignal<string>;
|
|
8
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
8
9
|
ngOnInit(): void;
|
|
9
10
|
protected _wasViewInit: boolean;
|
|
10
11
|
ngAfterViewInit(): void;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
private _multiple;
|
|
15
|
-
get multiple(): boolean;
|
|
16
|
-
set multiple(v: any);
|
|
17
|
-
private _blockAfterUpload;
|
|
18
|
-
get blockAfterUpload(): boolean;
|
|
19
|
-
set blockAfterUpload(v: any);
|
|
12
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
13
|
+
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
14
|
+
readonly blockAfterUpload: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
20
15
|
get shouldBeBlocked(): boolean;
|
|
21
16
|
protected _value: File[] | null;
|
|
22
17
|
get value(): File[] | null;
|
|
23
18
|
set value(v: File | File[] | null);
|
|
24
|
-
valueChange:
|
|
25
|
-
changeEvent:
|
|
26
|
-
dragFilesEvent:
|
|
19
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<File[] | null>;
|
|
20
|
+
readonly changeEvent: import("@angular/core").OutputEmitterRef<File[] | null>;
|
|
21
|
+
readonly dragFilesEvent: import("@angular/core").OutputEmitterRef<File[] | null>;
|
|
27
22
|
protected _valueBeforeInit: File[] | null;
|
|
28
23
|
writeValue(v: File | File[] | null): void;
|
|
29
24
|
protected _writeValue(v: File | File[] | null, emitEvents?: boolean): void;
|
|
30
25
|
protected _emitChange(): void;
|
|
31
26
|
openBrowseDialog(): void;
|
|
32
27
|
protected _draggedFiles: number | null;
|
|
33
|
-
currentViewState:
|
|
28
|
+
readonly currentViewState: import("@angular/core").WritableSignal<"idle" | "dragover" | "uploaded">;
|
|
34
29
|
private _beforeDragoverState;
|
|
35
30
|
onDragover(event: DragEvent): void;
|
|
36
31
|
onDragleave(): void;
|
|
@@ -39,5 +34,5 @@ export declare abstract class _FileInputComponentBase extends _NgModelComponentB
|
|
|
39
34
|
protected _countDragenterFiles(data: DataTransfer | null): number | null;
|
|
40
35
|
protected _updateElementValue(): void;
|
|
41
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<_FileInputComponentBase, never>;
|
|
42
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_FileInputComponentBase, never, never, { "htmlId": { "alias": "htmlId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "blockAfterUpload": { "alias": "blockAfterUpload"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "changeEvent": "change"; "dragFilesEvent": "dragFiles"; }, never, never, false, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_FileInputComponentBase, never, never, { "htmlId": { "alias": "htmlId"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "blockAfterUpload": { "alias": "blockAfterUpload"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "changeEvent": "change"; "dragFilesEvent": "dragFiles"; }, never, never, false, never>;
|
|
43
38
|
}
|
|
@@ -1,32 +1,28 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { FormElementAppearance, FormElementVariant } from '../types/theming.types';
|
|
3
2
|
import { _FocusableComponentBase } from '../_internal/focusable-component';
|
|
3
|
+
import { FormElementAppearance, FormElementVariant } from '../types/theming.types';
|
|
4
|
+
import { Nullable } from '../types/utility.types';
|
|
5
|
+
import { ArdFormFieldPrefixTemplateDirective, ArdFormFieldSuffixTemplateDirective } from './form-field-frame.directives';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class ArdiumFormFieldFrameComponent extends _FocusableComponentBase {
|
|
6
8
|
isFocused: boolean;
|
|
7
9
|
/**
|
|
8
10
|
* The appearance of the component, aka the styling.
|
|
9
11
|
*/
|
|
10
|
-
appearance: FormElementAppearance
|
|
12
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
11
13
|
/**
|
|
12
14
|
* The variant of the component, aka the shape.
|
|
13
15
|
*/
|
|
14
|
-
variant: FormElementVariant
|
|
15
|
-
/**
|
|
16
|
-
* @private
|
|
17
|
-
* Whether to use the compact styling or not.
|
|
18
|
-
*/
|
|
19
|
-
private _compact;
|
|
20
|
-
get compact(): boolean;
|
|
16
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
21
17
|
/**
|
|
22
18
|
* Whether to use the compact styling or not.
|
|
23
19
|
*/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
prefixTemplateInput
|
|
27
|
-
suffixTemplateInput
|
|
28
|
-
prefixTemplate:
|
|
29
|
-
suffixTemplate:
|
|
20
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
21
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
22
|
+
readonly prefixTemplateInput: import("@angular/core").InputSignal<Nullable<TemplateRef<any>>>;
|
|
23
|
+
readonly suffixTemplateInput: import("@angular/core").InputSignal<Nullable<TemplateRef<any>>>;
|
|
24
|
+
readonly prefixTemplate: import("@angular/core").Signal<ArdFormFieldPrefixTemplateDirective | undefined>;
|
|
25
|
+
readonly suffixTemplate: import("@angular/core").Signal<ArdFormFieldSuffixTemplateDirective | undefined>;
|
|
30
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFormFieldFrameComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFormFieldFrameComponent, "ard-form-field-frame", never, { "isFocused": { "alias": "isFocused"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "prefixTemplateInput": { "alias": "prefixTemplate"; "required": false; }; "suffixTemplateInput": { "alias": "suffixTemplate"; "required": false; }; }, {}, ["prefixTemplate", "suffixTemplate"], ["*"], false, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFormFieldFrameComponent, "ard-form-field-frame", never, { "isFocused": { "alias": "isFocused"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "prefixTemplateInput": { "alias": "prefixTemplate"; "required": false; "isSignal": true; }; "suffixTemplateInput": { "alias": "suffixTemplate"; "required": false; "isSignal": true; }; }, {}, ["prefixTemplate", "suffixTemplate"], ["*"], false, never>;
|
|
32
28
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { Nullable } from '../types/utility.types';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
type WeightNumber = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
4
5
|
type WeightString = '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
@@ -7,26 +8,16 @@ type GradeString = '-25' | '0' | '200';
|
|
|
7
8
|
type OpticalSizeNumber = 20 | 24 | 40 | 48;
|
|
8
9
|
type OpticalSizeString = '20' | '24' | '40' | '48';
|
|
9
10
|
export declare class ArdiumIconComponent implements AfterViewInit {
|
|
10
|
-
ariaLabel
|
|
11
|
-
icon
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
private _grade?;
|
|
19
|
-
get grade(): GradeNumber | undefined;
|
|
20
|
-
set grade(v: GradeNumber | GradeString | undefined);
|
|
21
|
-
private _opticalSize?;
|
|
22
|
-
get opticalSize(): OpticalSizeNumber | undefined;
|
|
23
|
-
set opticalSize(v: OpticalSizeNumber | OpticalSizeString | undefined);
|
|
24
|
-
private _isMemoUpToDate;
|
|
25
|
-
private _fontVariationMemo;
|
|
26
|
-
get fontVariationSettings(): string;
|
|
27
|
-
contentWrapper: ElementRef<HTMLElement>;
|
|
11
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
12
|
+
readonly icon: import("@angular/core").InputSignal<Nullable<string>>;
|
|
13
|
+
readonly filled: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
14
|
+
readonly weight: import("@angular/core").InputSignalWithTransform<WeightNumber | undefined, Nullable<WeightNumber | WeightString>>;
|
|
15
|
+
readonly grade: import("@angular/core").InputSignalWithTransform<GradeNumber | undefined, Nullable<GradeNumber | GradeString>>;
|
|
16
|
+
readonly opticalSize: import("@angular/core").InputSignalWithTransform<OpticalSizeNumber | undefined, Nullable<OpticalSizeNumber | OpticalSizeString>>;
|
|
17
|
+
readonly fontVariationSettings: import("@angular/core").Signal<string>;
|
|
18
|
+
readonly contentWrapper: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
28
19
|
ngAfterViewInit(): void;
|
|
29
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumIconComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumIconComponent, "ard-icon", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "filled": { "alias": "filled"; "required": false; }; "weight": { "alias": "weight"; "required": false; }; "grade": { "alias": "grade"; "required": false; }; "opticalSize": { "alias": "opticalSize"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumIconComponent, "ard-icon", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "filled": { "alias": "filled"; "required": false; "isSignal": true; }; "weight": { "alias": "weight"; "required": false; "isSignal": true; }; "grade": { "alias": "grade"; "required": false; "isSignal": true; }; "opticalSize": { "alias": "opticalSize"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
31
22
|
}
|
|
32
23
|
export {};
|
|
@@ -1,50 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
3
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
4
4
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
|
-
import { DigitInputConfigData, DigitInputModelHost } from './digit-input.utils';
|
|
6
5
|
import { DigitInputConfig, DigitInputShape } from './digit-input.types';
|
|
6
|
+
import { DigitInputModelHost } from './digit-input.utils';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ArdiumDigitInputComponent extends _NgModelComponentBase implements ControlValueAccessor, DigitInputModelHost
|
|
8
|
+
export declare class ArdiumDigitInputComponent extends _NgModelComponentBase implements ControlValueAccessor, DigitInputModelHost {
|
|
9
|
+
readonly inputs: import("@angular/core").Signal<readonly ElementRef<HTMLInputElement>[]>;
|
|
9
10
|
private readonly model;
|
|
10
|
-
appearance: FormElementAppearance
|
|
11
|
-
variant: FormElementVariant
|
|
12
|
-
shape: DigitInputShape
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
get isConfigDefined(): boolean;
|
|
11
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
12
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
13
|
+
readonly shape: import("@angular/core").InputSignal<DigitInputShape>;
|
|
14
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
15
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
16
|
+
readonly config: import("@angular/core").InputSignalWithTransform<void, DigitInputConfig>;
|
|
17
|
+
readonly configArrayData: import("@angular/core").Signal<import("./digit-input.utils").DigitInputConfigData[]>;
|
|
18
|
+
private _oldConfigArrayDataLength;
|
|
19
|
+
readonly configArrayDataEffect: import("@angular/core").EffectRef;
|
|
20
20
|
isInputEmpty(index: number): boolean;
|
|
21
21
|
writeValue(v: any): void;
|
|
22
22
|
private _writeValue;
|
|
23
|
-
|
|
24
|
-
get outputAsString(): boolean;
|
|
25
|
-
set outputAsString(v: any);
|
|
23
|
+
readonly outputAsString: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
26
24
|
set value(v: string | (string | null)[] | null);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
finishedValue: EventEmitter<string | (string | null)[] | null>;
|
|
34
|
-
focusIndexEvent: EventEmitter<number>;
|
|
35
|
-
blurIndexEvent: EventEmitter<number>;
|
|
25
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<string | (string | null)[] | null>;
|
|
26
|
+
readonly stringValue: import("@angular/core").Signal<string>;
|
|
27
|
+
readonly emittableValue: import("@angular/core").Signal<string | (string | null)[] | null>;
|
|
28
|
+
readonly finishedValue: import("@angular/core").OutputEmitterRef<string | (string | null)[] | null>;
|
|
29
|
+
readonly focusIndexEvent: import("@angular/core").OutputEmitterRef<number>;
|
|
30
|
+
readonly blurIndexEvent: import("@angular/core").OutputEmitterRef<number>;
|
|
36
31
|
onPaste(event: ClipboardEvent, index: number): void;
|
|
37
32
|
onInput(event: Event, index: number): void;
|
|
38
33
|
private _updateSingleInputValue;
|
|
39
34
|
focusByIndex(index: number): boolean;
|
|
40
35
|
focusByIndex(index: number, tryFocusingNext: boolean, direction: 1 | -1): boolean;
|
|
41
|
-
private _emitInput;
|
|
42
36
|
onFocusMaster(event: FocusEvent, index: number): void;
|
|
43
37
|
onBlurMaster(event: FocusEvent, index: number): void;
|
|
44
38
|
protected _emitChange(): void;
|
|
45
39
|
onKeydown(event: KeyboardEvent, index: number): void;
|
|
46
|
-
inputs: QueryList<ElementRef<HTMLInputElement>>;
|
|
47
|
-
ngAfterContentInit(): void;
|
|
48
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumDigitInputComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumDigitInputComponent, "ard-digit-input", never, { "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "config": { "alias": "config"; "required":
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumDigitInputComponent, "ard-digit-input", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "outputAsString": { "alias": "outputAsString"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "finishedValue": "finishedValue"; "focusIndexEvent": "focusIndex"; "blurIndexEvent": "blurIndex"; }, never, never, false, never>;
|
|
50
42
|
}
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
import { DigitInputModelHost } from './digit-input.utils';
|
|
2
1
|
import { DigitInputConfig } from './digit-input.types';
|
|
2
|
+
import { DigitInputConfigData, DigitInputModelHost } from './digit-input.utils';
|
|
3
3
|
export declare class DigitInputModel {
|
|
4
4
|
private _ardHost;
|
|
5
5
|
constructor(_ardHost: DigitInputModelHost);
|
|
6
|
-
private _configArray;
|
|
7
|
-
|
|
8
|
-
private _configArrayNoStatics;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
get value(): (string | null)[] | null;
|
|
14
|
-
private _stringValueMemo;
|
|
15
|
-
get stringValue(): string;
|
|
16
|
-
get isValueFull(): boolean;
|
|
6
|
+
private readonly _configArray;
|
|
7
|
+
readonly configArrayData: import("@angular/core").Signal<DigitInputConfigData[]>;
|
|
8
|
+
private readonly _configArrayNoStatics;
|
|
9
|
+
readonly isConfigDefined: import("@angular/core").Signal<boolean>;
|
|
10
|
+
readonly value: import("@angular/core").WritableSignal<(string | null)[] | null>;
|
|
11
|
+
readonly stringValue: import("@angular/core").Signal<string>;
|
|
12
|
+
readonly isValueFull: import("@angular/core").Signal<boolean>;
|
|
17
13
|
isDefinedAtIndex(index: number): boolean;
|
|
18
14
|
writeValue(v: any): boolean;
|
|
19
15
|
private _writeValue;
|
|
@@ -15,13 +15,13 @@ export declare const DigitInputPrimitiveOption: {
|
|
|
15
15
|
readonly Special: "special";
|
|
16
16
|
};
|
|
17
17
|
export type DigitInputPrimitiveOption = (typeof DigitInputPrimitiveOption)[keyof typeof DigitInputPrimitiveOption];
|
|
18
|
-
export
|
|
18
|
+
export interface DigitInputAcceptObject {
|
|
19
19
|
accept: string | RegExp | ((char: string, charsBefore: string) => boolean);
|
|
20
20
|
transform?: TransformType | null;
|
|
21
21
|
readonly?: boolean;
|
|
22
|
-
}
|
|
23
|
-
export
|
|
22
|
+
}
|
|
23
|
+
export interface DigitInputStaticObject {
|
|
24
24
|
static: string;
|
|
25
|
-
}
|
|
25
|
+
}
|
|
26
26
|
export type DigitInputOption = DigitInputAcceptObject | DigitInputStaticObject;
|
|
27
27
|
export type DigitInputConfig = (DigitInputPrimitiveOption | DigitInputOption)[] | string | number;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { ElementRef,
|
|
2
|
-
export
|
|
1
|
+
import { ElementRef, Signal } from '@angular/core';
|
|
2
|
+
export interface DigitInputConfigData {
|
|
3
3
|
type: DigitInputConfigDataType;
|
|
4
4
|
char?: string;
|
|
5
5
|
index?: number;
|
|
6
6
|
readonly?: boolean;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
8
|
export interface DigitInputModelHost {
|
|
9
|
-
inputs:
|
|
10
|
-
configArrayData: DigitInputConfigData[];
|
|
9
|
+
readonly inputs: Signal<readonly ElementRef<HTMLInputElement>[]>;
|
|
11
10
|
}
|
|
12
11
|
export declare const DigitInputConfigDataType: {
|
|
13
12
|
readonly Input: "input";
|
|
@@ -1,60 +1,54 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
4
3
|
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
4
|
+
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
|
+
import { Nullable } from '../../types/utility.types';
|
|
5
6
|
import { HexInputModel, HexInputModelHost } from '../hex-input.model';
|
|
6
7
|
import { CaseTransformerType } from '../input-types';
|
|
8
|
+
import { ArdHexInputPlaceholderTemplateDirective, ArdHexInputPrefixTemplateDirective, ArdHexInputSuffixTemplateDirective } from './hex-input.directives';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
10
|
export declare class ArdiumHexInputComponent extends _NgModelComponentBase implements ControlValueAccessor, HexInputModelHost, AfterViewInit {
|
|
9
|
-
textInputEl: ElementRef<HTMLInputElement>;
|
|
10
|
-
protected inputModel: HexInputModel;
|
|
11
|
+
readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
12
|
+
protected readonly inputModel: HexInputModel;
|
|
13
|
+
protected _wasViewInit: boolean;
|
|
11
14
|
ngAfterViewInit(): void;
|
|
12
15
|
readonly DEFAULTS: {
|
|
13
16
|
clearButtonTitle: string;
|
|
14
17
|
};
|
|
15
|
-
inputId
|
|
16
|
-
prefixTemplate
|
|
17
|
-
suffixTemplate
|
|
18
|
-
placeholder: string
|
|
19
|
-
placeholderTemplate
|
|
20
|
-
|
|
21
|
-
appearance: FormElementAppearance
|
|
22
|
-
variant: FormElementVariant
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
get hideHash(): boolean;
|
|
32
|
-
set hideHash(v: any);
|
|
33
|
-
get showHash(): boolean;
|
|
34
|
-
private _clearable;
|
|
35
|
-
get clearable(): boolean;
|
|
36
|
-
set clearable(v: any);
|
|
37
|
-
clearButtonTitle: string;
|
|
38
|
-
get shouldShowClearButton(): boolean;
|
|
18
|
+
readonly inputId: import("@angular/core").InputSignal<Nullable<string>>;
|
|
19
|
+
readonly prefixTemplate: import("@angular/core").Signal<ArdHexInputPrefixTemplateDirective | undefined>;
|
|
20
|
+
readonly suffixTemplate: import("@angular/core").Signal<ArdHexInputSuffixTemplateDirective | undefined>;
|
|
21
|
+
readonly placeholder: import("@angular/core").InputSignal<Nullable<string>>;
|
|
22
|
+
readonly placeholderTemplate: import("@angular/core").Signal<ArdHexInputPlaceholderTemplateDirective | undefined>;
|
|
23
|
+
readonly shouldDisplayPlaceholder: import("@angular/core").Signal<boolean>;
|
|
24
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
25
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
26
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
27
|
+
readonly case: import("@angular/core").InputSignal<CaseTransformerType>;
|
|
28
|
+
readonly maxDigits: import("@angular/core").InputSignalWithTransform<Nullable<number>, any>;
|
|
29
|
+
readonly hideHash: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
30
|
+
readonly showHash: import("@angular/core").Signal<boolean>;
|
|
31
|
+
readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
32
|
+
readonly clearButtonTitle: import("@angular/core").InputSignal<string>;
|
|
33
|
+
readonly shouldShowClearButton: import("@angular/core").Signal<boolean>;
|
|
39
34
|
onClearButtonClick(event: MouseEvent): void;
|
|
40
|
-
inputAttrs:
|
|
41
|
-
[key: string]: any;
|
|
42
|
-
};
|
|
35
|
+
readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
|
|
43
36
|
writeValue(v: any): void;
|
|
44
37
|
protected _valueBeforeInit?: string | null;
|
|
45
38
|
set value(v: string | null);
|
|
46
39
|
get value(): string | null;
|
|
47
|
-
valueChange:
|
|
48
|
-
inputEvent:
|
|
49
|
-
changeEvent:
|
|
50
|
-
clearEvent:
|
|
51
|
-
onInput(newVal: string): void;
|
|
40
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<string>;
|
|
41
|
+
readonly inputEvent: import("@angular/core").OutputEmitterRef<string>;
|
|
42
|
+
readonly changeEvent: import("@angular/core").OutputEmitterRef<string>;
|
|
43
|
+
readonly clearEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
44
|
+
onInput(newVal: string, event: Event): void;
|
|
52
45
|
protected _emitInput(): void;
|
|
53
46
|
onChange(event: Event): void;
|
|
54
47
|
protected _emitChange(): void;
|
|
55
|
-
|
|
48
|
+
onBlur(event: FocusEvent): void;
|
|
49
|
+
onMouseup(): void;
|
|
56
50
|
onCopy(event: ClipboardEvent): void;
|
|
57
51
|
protected _setInputAttributes(): void;
|
|
58
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumHexInputComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumHexInputComponent, "ard-hex-input", never, { "inputId": { "alias": "inputId"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "case": { "alias": "case"; "required": false; }; "maxDigits": { "alias": "maxDigits"; "required": false; }; "hideHash": { "alias": "hideHash"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate"], never, false, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumHexInputComponent, "ard-hex-input", never, { "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "case": { "alias": "case"; "required": false; "isSignal": true; }; "maxDigits": { "alias": "maxDigits"; "required": false; "isSignal": true; }; "hideHash": { "alias": "hideHash"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate"], never, false, never>;
|
|
60
54
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { CaseTransformerType } from './input-types';
|
|
2
|
+
import { ElementRef, Signal } from '@angular/core';
|
|
3
|
+
import { Nullable } from '../types/utility.types';
|
|
2
4
|
export interface HexInputModelHost {
|
|
3
|
-
case: CaseTransformerType
|
|
4
|
-
maxDigits: number
|
|
5
|
+
readonly case: Signal<CaseTransformerType>;
|
|
6
|
+
readonly maxDigits: Signal<Nullable<number>>;
|
|
7
|
+
readonly textInputEl: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
5
8
|
}
|
|
6
9
|
export declare class HexInputModel {
|
|
7
|
-
protected
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
set value(v: string | null);
|
|
13
|
-
get stringValue(): string;
|
|
14
|
-
set stringValue(v: string);
|
|
15
|
-
get hashSignValue(): string;
|
|
10
|
+
protected readonly _hostComp: HexInputModelHost;
|
|
11
|
+
constructor(_hostComp: HexInputModelHost);
|
|
12
|
+
readonly value: import("@angular/core").WritableSignal<string | null>;
|
|
13
|
+
readonly stringValue: Signal<string>;
|
|
14
|
+
readonly hashSignValue: Signal<string>;
|
|
16
15
|
writeValue(v: any): boolean;
|
|
17
16
|
protected _writeValue(v: string | null): boolean;
|
|
18
17
|
clear(): void;
|