@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
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Overlay, ScrollStrategyOptions } from '@angular/cdk/overlay';
|
|
2
|
-
import { AfterViewInit, ElementRef,
|
|
2
|
+
import { AfterViewInit, ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import { SimplestItemStorage, SimplestItemStorageHost } from '../../_internal/item-storages/simplest-item-storage';
|
|
3
4
|
import { DropdownPanelAppearance, DropdownPanelVariant } from '../../dropdown-panel/dropdown-panel.types';
|
|
4
5
|
import { ArdSimplestStorageItem } from '../../types/item-storage.types';
|
|
5
|
-
import {
|
|
6
|
+
import { Nullable } from '../../types/utility.types';
|
|
6
7
|
import { ArdiumSimpleInputComponent } from '../simple-input/simple-input.component';
|
|
7
8
|
import { OptionContext } from './../../types/item-storage.types';
|
|
8
9
|
import { InputModel, InputModelHost } from './../input-utils';
|
|
10
|
+
import { ArdInputLoadingTemplateDirective, ArdInputPlaceholderTemplateDirective, ArdInputPrefixTemplateDirective, ArdInputSuffixTemplateDirective, ArdSuggestionTemplateDirective } from './input.directives';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ArdiumInputComponent extends ArdiumSimpleInputComponent implements InputModelHost,
|
|
12
|
+
export declare class ArdiumInputComponent extends ArdiumSimpleInputComponent implements InputModelHost, SimplestItemStorageHost, AfterViewInit {
|
|
11
13
|
private viewContainerRef;
|
|
12
14
|
private overlay;
|
|
13
15
|
private scrollStrategyOpts;
|
|
@@ -19,42 +21,36 @@ export declare class ArdiumInputComponent extends ArdiumSimpleInputComponent imp
|
|
|
19
21
|
labelFrom: string;
|
|
20
22
|
suggestionsLoadingText: string;
|
|
21
23
|
};
|
|
22
|
-
protected inputModel: InputModel;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
placeholderTemplate?: TemplateRef<any>;
|
|
38
|
-
suggestionStorage: SimplestItemStorage;
|
|
39
|
-
valueFrom?: string;
|
|
40
|
-
labelFrom?: string;
|
|
41
|
-
acceptSuggestionEvent: EventEmitter<any>;
|
|
42
|
-
get suggestionItems(): any[];
|
|
24
|
+
protected readonly inputModel: InputModel;
|
|
25
|
+
readonly charlistFromInput: import("@angular/core").InputSignalWithTransform<RegExp | undefined, string>;
|
|
26
|
+
readonly charlistCaseInsensitive: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
27
|
+
readonly charlist: import("@angular/core").Signal<RegExp | undefined>;
|
|
28
|
+
readonly autocomplete: import("@angular/core").InputSignal<Nullable<string>>;
|
|
29
|
+
readonly shouldDisplayAutocomplete: import("@angular/core").Signal<boolean>;
|
|
30
|
+
readonly acceptAutocompleteEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
31
|
+
readonly prefixTemplate: import("@angular/core").Signal<ArdInputPrefixTemplateDirective | undefined>;
|
|
32
|
+
readonly suffixTemplate: import("@angular/core").Signal<ArdInputSuffixTemplateDirective | undefined>;
|
|
33
|
+
readonly placeholderTemplate: import("@angular/core").Signal<ArdInputPlaceholderTemplateDirective | undefined>;
|
|
34
|
+
readonly suggestionStorage: SimplestItemStorage;
|
|
35
|
+
readonly valueFrom: import("@angular/core").InputSignal<Nullable<string>>;
|
|
36
|
+
readonly labelFrom: import("@angular/core").InputSignal<Nullable<string>>;
|
|
37
|
+
readonly acceptSuggestionEvent: import("@angular/core").OutputEmitterRef<any>;
|
|
38
|
+
readonly suggestionItems: import("@angular/core").Signal<ArdSimplestStorageItem[]>;
|
|
43
39
|
set suggestions(value: any);
|
|
44
40
|
private _printPrimitiveWarnings;
|
|
45
|
-
private _suggestionDropdowOpen;
|
|
46
|
-
|
|
47
|
-
areSuggestionsLoading: boolean
|
|
48
|
-
suggestionsLoadingText: string
|
|
49
|
-
suggestionTemplate
|
|
50
|
-
suggestionLoadingTemplate
|
|
51
|
-
dropdownHost: ElementRef<HTMLDivElement>;
|
|
52
|
-
dropdownTemplate: TemplateRef<any>;
|
|
41
|
+
private readonly _suggestionDropdowOpen;
|
|
42
|
+
readonly shouldDisplaySuggestions: import("@angular/core").Signal<boolean>;
|
|
43
|
+
readonly areSuggestionsLoading: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
44
|
+
readonly suggestionsLoadingText: import("@angular/core").InputSignal<string>;
|
|
45
|
+
readonly suggestionTemplate: import("@angular/core").Signal<ArdSuggestionTemplateDirective | undefined>;
|
|
46
|
+
readonly suggestionLoadingTemplate: import("@angular/core").Signal<ArdInputLoadingTemplateDirective | undefined>;
|
|
47
|
+
readonly dropdownHost: import("@angular/core").Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
48
|
+
readonly dropdownTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
53
49
|
private dropdownOverlay;
|
|
54
50
|
ngAfterViewInit(): void;
|
|
55
51
|
setOverlaySize(): void;
|
|
56
52
|
onWindowResize(): void;
|
|
57
|
-
getOptionContext(item: ArdSimplestStorageItem): OptionContext
|
|
53
|
+
getOptionContext(item: ArdSimplestStorageItem): OptionContext<ArdSimplestStorageItem>;
|
|
58
54
|
private _isMouseBeingUsed;
|
|
59
55
|
onMouseMove(): void;
|
|
60
56
|
onSuggestionMouseEnter(item: ArdSimplestStorageItem, event: MouseEvent): void;
|
|
@@ -62,12 +58,10 @@ export declare class ArdiumInputComponent extends ArdiumSimpleInputComponent imp
|
|
|
62
58
|
selectSuggestion(item: ArdSimplestStorageItem, event: MouseEvent): void;
|
|
63
59
|
private _selectSuggestion;
|
|
64
60
|
handleSuggestionClickOutside(event: MouseEvent): void;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
set dropdowonVariant(v: DropdownPanelVariant);
|
|
70
|
-
get dropdownVariant(): DropdownPanelVariant;
|
|
61
|
+
readonly dropdownAppearance: import("@angular/core").InputSignal<Nullable<DropdownPanelAppearance>>;
|
|
62
|
+
readonly dropdownAppearanceOrDefault: import("@angular/core").Signal<DropdownPanelAppearance>;
|
|
63
|
+
readonly dropdownVariant: import("@angular/core").InputSignal<Nullable<DropdownPanelVariant>>;
|
|
64
|
+
readonly dropdownVariantOrDefault: import("@angular/core").Signal<DropdownPanelVariant>;
|
|
71
65
|
onFocus(event: FocusEvent): void;
|
|
72
66
|
onKeyPress(event: KeyboardEvent): void;
|
|
73
67
|
protected _onTabOrEnterPress(event: KeyboardEvent): void;
|
|
@@ -75,5 +69,5 @@ export declare class ArdiumInputComponent extends ArdiumSimpleInputComponent imp
|
|
|
75
69
|
private _onArrowDownPress;
|
|
76
70
|
private _onArrowUpPress;
|
|
77
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumInputComponent, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumInputComponent, "ard-input", never, { "
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumInputComponent, "ard-input", never, { "charlistFromInput": { "alias": "charlist"; "required": false; "isSignal": true; }; "charlistCaseInsensitive": { "alias": "charlistCaseInsensitive"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "valueFrom": { "alias": "suggValueFrom"; "required": false; "isSignal": true; }; "labelFrom": { "alias": "suggLabelFrom"; "required": false; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; }; "areSuggestionsLoading": { "alias": "areSuggestionsLoading"; "required": false; "isSignal": true; }; "suggestionsLoadingText": { "alias": "suggestionsLoadingText"; "required": false; "isSignal": true; }; "dropdownAppearance": { "alias": "dropdownAppearance"; "required": false; "isSignal": true; }; "dropdownVariant": { "alias": "dropdownVariant"; "required": false; "isSignal": true; }; }, { "acceptAutocompleteEvent": "acceptAutocomplete"; "acceptSuggestionEvent": "acceptSuggestion"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate", "suggestionTemplate", "suggestionLoadingTemplate"], never, false, never>;
|
|
79
73
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { OptionContext } from '../../types/item-storage.types';
|
|
2
|
+
import { ArdSimplestStorageItem, OptionContext } from '../../types/item-storage.types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ArdSuggestionTemplateDirective {
|
|
5
|
-
template: TemplateRef<OptionContext
|
|
6
|
-
constructor(template: TemplateRef<OptionContext
|
|
5
|
+
template: TemplateRef<OptionContext<ArdSimplestStorageItem>>;
|
|
6
|
+
constructor(template: TemplateRef<OptionContext<ArdSimplestStorageItem>>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdSuggestionTemplateDirective, never>;
|
|
8
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdSuggestionTemplateDirective, "ard-input > ng-template[ard-suggestion-tmp]", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
+
import { ElementRef, Signal } from '@angular/core';
|
|
2
|
+
import { Nullable } from '../types/utility.types';
|
|
1
3
|
export interface SimpleInputModelHost {
|
|
2
|
-
maxLength
|
|
4
|
+
readonly maxLength: Signal<Nullable<number>>;
|
|
5
|
+
readonly textInputEl: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
3
6
|
}
|
|
4
7
|
export declare class SimpleInputModel {
|
|
5
|
-
protected
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
get value(): string | null;
|
|
10
|
-
set value(v: string | null);
|
|
11
|
-
get stringValue(): string;
|
|
12
|
-
set stringValue(v: string);
|
|
8
|
+
protected readonly _ardHostCmp: SimpleInputModelHost;
|
|
9
|
+
constructor(_ardHostCmp: SimpleInputModelHost);
|
|
10
|
+
readonly value: import("@angular/core").WritableSignal<string | null>;
|
|
11
|
+
readonly stringValue: Signal<string>;
|
|
13
12
|
writeValue(v: any): boolean;
|
|
14
13
|
protected _writeValue(v: string | null): boolean;
|
|
15
14
|
rewriteValueAfterHostUpdate(): void;
|
|
@@ -20,35 +19,33 @@ export declare class SimpleInputModel {
|
|
|
20
19
|
protected _applyLengthTransformer(v: string | null): string | null;
|
|
21
20
|
}
|
|
22
21
|
export interface InputModelHost extends SimpleInputModelHost {
|
|
23
|
-
charlist
|
|
22
|
+
charlist: Signal<RegExp | undefined>;
|
|
24
23
|
}
|
|
25
24
|
export declare class InputModel extends SimpleInputModel {
|
|
26
|
-
protected
|
|
27
|
-
constructor(
|
|
25
|
+
protected readonly _ardHostCmp: InputModelHost;
|
|
26
|
+
constructor(_ardHostCmp: InputModelHost);
|
|
28
27
|
protected _writeValue(v: string | null): boolean;
|
|
29
28
|
setSelection(from: number | null, to: number | null): void;
|
|
30
29
|
protected _applyAllowOrDenylistTransformer(v: string, prev: string): string;
|
|
31
30
|
}
|
|
32
31
|
export interface NumberInputModelHost {
|
|
33
|
-
max: number
|
|
34
|
-
min: number
|
|
35
|
-
allowFloat: boolean
|
|
32
|
+
readonly max: Signal<number>;
|
|
33
|
+
readonly min: Signal<number>;
|
|
34
|
+
readonly allowFloat: Signal<boolean>;
|
|
35
|
+
readonly inputEl: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
36
36
|
}
|
|
37
37
|
export declare class NumberInputModel {
|
|
38
|
-
protected
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
get numberValue(): number | null;
|
|
47
|
-
set numberValue(v: number | null);
|
|
38
|
+
protected readonly _ardHostCmp: NumberInputModelHost;
|
|
39
|
+
constructor(_ardHostCmp: NumberInputModelHost);
|
|
40
|
+
protected readonly _value: import("@angular/core").WritableSignal<string | null>;
|
|
41
|
+
readonly value: Signal<string | null>;
|
|
42
|
+
readonly stringValue: Signal<string>;
|
|
43
|
+
readonly numberValue: Signal<number | null>;
|
|
44
|
+
setValue(v: string | number | null): void;
|
|
45
|
+
private _updateInputEl;
|
|
48
46
|
writeValue(v: any): boolean;
|
|
49
|
-
protected _writeValue(v: string | null): boolean;
|
|
47
|
+
protected _writeValue(v: string | number | null): boolean;
|
|
50
48
|
rewriteValueAfterHostUpdate(): void;
|
|
51
|
-
_updateInputElement(): void;
|
|
52
49
|
get caretPos(): number;
|
|
53
50
|
set caretPos(pos: number);
|
|
54
51
|
private _removeDecimalPlaces;
|
|
@@ -1,59 +1,49 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
4
|
+
import { ButtonAppearance, ButtonVariant } from '../../buttons/general-button.types';
|
|
4
5
|
import { OneAxisAlignment } from '../../types/alignment.types';
|
|
5
6
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
6
|
-
import {
|
|
7
|
+
import { Nullable } from '../../types/utility.types';
|
|
7
8
|
import { NumberInputModel, NumberInputModelHost } from '../input-utils';
|
|
9
|
+
import { ArdNumberInputPlaceholderTemplateDirective } from './number-input.directives';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ArdiumNumberInputComponent extends _NgModelComponentBase implements ControlValueAccessor, NumberInputModelHost,
|
|
10
|
-
|
|
11
|
-
protected inputModel: NumberInputModel;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
inputAttrs: {
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
};
|
|
11
|
+
export declare class ArdiumNumberInputComponent extends _NgModelComponentBase implements ControlValueAccessor, NumberInputModelHost, AfterViewInit {
|
|
12
|
+
readonly inputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
13
|
+
protected readonly inputModel: NumberInputModel;
|
|
14
|
+
private _wasViewInit;
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
readonly inputId: import("@angular/core").InputSignal<Nullable<string>>;
|
|
17
|
+
readonly placeholder: import("@angular/core").InputSignal<Nullable<string>>;
|
|
18
|
+
readonly placeholderTemplate: import("@angular/core").Signal<ArdNumberInputPlaceholderTemplateDirective | undefined>;
|
|
19
|
+
readonly shouldDisplayPlaceholder: import("@angular/core").Signal<boolean>;
|
|
20
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
21
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
22
|
+
readonly alignText: import("@angular/core").InputSignal<OneAxisAlignment>;
|
|
23
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
24
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
25
|
+
readonly buttonVariant: import("@angular/core").Signal<ButtonVariant>;
|
|
26
|
+
readonly buttonAppearance: import("@angular/core").Signal<ButtonAppearance>;
|
|
27
|
+
readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
|
|
29
28
|
writeValue(v: any): void;
|
|
30
29
|
protected _valueBeforeInit?: string | null;
|
|
31
30
|
set value(v: string | number | null);
|
|
32
|
-
valueChange:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<number | null>;
|
|
32
|
+
constructor();
|
|
33
|
+
readonly inputEvent: import("@angular/core").OutputEmitterRef<number | null>;
|
|
34
|
+
readonly changeEvent: import("@angular/core").OutputEmitterRef<number | null>;
|
|
35
|
+
readonly clearEvent: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
36
|
+
readonly quickChangeEvent: import("@angular/core").OutputEmitterRef<{
|
|
37
|
+
readonly direction: 1 | -1;
|
|
38
|
+
readonly value: number;
|
|
39
39
|
}>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
set max(v: any);
|
|
46
|
-
private _allowFloat?;
|
|
47
|
-
get allowFloat(): boolean;
|
|
48
|
-
set allowFloat(v: any);
|
|
49
|
-
private _allowQuickChange;
|
|
50
|
-
get allowQuickChange(): boolean;
|
|
51
|
-
set allowQuickChange(v: any);
|
|
52
|
-
private _stepSize;
|
|
53
|
-
get stepSize(): number;
|
|
54
|
-
set stepSize(v: any);
|
|
40
|
+
readonly min: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
41
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
42
|
+
readonly allowFloat: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
43
|
+
readonly noButtons: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
44
|
+
readonly stepSize: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
55
45
|
onQuickChangeButtonClick(direction: 1 | -1, event?: MouseEvent): void;
|
|
56
|
-
private
|
|
46
|
+
private _focusInputIfCantQuickChange;
|
|
57
47
|
canIncrement(): boolean;
|
|
58
48
|
canDecrement(): boolean;
|
|
59
49
|
onInput(newVal: string): void;
|
|
@@ -62,9 +52,9 @@ export declare class ArdiumNumberInputComponent extends _NgModelComponentBase im
|
|
|
62
52
|
onBlurMaster(event: FocusEvent): void;
|
|
63
53
|
onChange(event: Event): void;
|
|
64
54
|
protected _emitChange(): void;
|
|
65
|
-
onMouseup(
|
|
55
|
+
onMouseup(): void;
|
|
66
56
|
onCopy(event: ClipboardEvent): void;
|
|
67
57
|
protected _setInputAttributes(): void;
|
|
68
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumNumberInputComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumNumberInputComponent, "ard-number-input", never, { "inputId": { "alias": "inputId"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "alignText": { "alias": "alignText"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "allowFloat": { "alias": "allowFloat"; "required": false; }; "
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumNumberInputComponent, "ard-number-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; }; "alignText": { "alias": "alignText"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "allowFloat": { "alias": "allowFloat"; "required": false; "isSignal": true; }; "noButtons": { "alias": "noButtons"; "required": false; "isSignal": true; }; "stepSize": { "alias": "stepSize"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; "quickChangeEvent": "quickChange"; }, ["placeholderTemplate"], never, false, never>;
|
|
70
60
|
}
|
|
@@ -1,54 +1,42 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } 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 { Nullable } from '../../types/utility.types';
|
|
6
|
+
import { ArdPasswordInputPlaceholderTemplateDirective, ArdPasswordInputPrefixTemplateDirective, ArdPasswordInputRevealButtonTemplateDirective, ArdPasswordInputSuffixTemplateDirective } from './password-input.directives';
|
|
5
7
|
import { PasswordInputRevealButtonContext } from './password-input.types';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ArdiumPasswordInputComponent extends _NgModelComponentBase implements ControlValueAccessor, OnInit {
|
|
8
|
-
textInputEl: ElementRef<HTMLInputElement>;
|
|
9
|
+
export declare class ArdiumPasswordInputComponent extends _NgModelComponentBase implements ControlValueAccessor, OnInit, OnDestroy {
|
|
10
|
+
readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
9
11
|
ngOnInit(): void;
|
|
10
|
-
placeholder: string
|
|
11
|
-
inputId
|
|
12
|
-
prefixTemplate
|
|
13
|
-
suffixTemplate
|
|
14
|
-
placeholderTemplate
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
set compact(v: any);
|
|
31
|
-
get ngClasses(): string;
|
|
32
|
-
inputAttrs: {
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
};
|
|
35
|
-
protected _maxLength?: number;
|
|
36
|
-
get maxLength(): number | undefined;
|
|
37
|
-
set maxLength(v: any);
|
|
12
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
13
|
+
readonly inputId: import("@angular/core").InputSignal<Nullable<string>>;
|
|
14
|
+
readonly prefixTemplate: import("@angular/core").Signal<ArdPasswordInputPrefixTemplateDirective | undefined>;
|
|
15
|
+
readonly suffixTemplate: import("@angular/core").Signal<ArdPasswordInputSuffixTemplateDirective | undefined>;
|
|
16
|
+
readonly placeholderTemplate: import("@angular/core").Signal<ArdPasswordInputPlaceholderTemplateDirective | undefined>;
|
|
17
|
+
readonly shouldDisplayPlaceholder: import("@angular/core").Signal<boolean>;
|
|
18
|
+
readonly revealable: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
19
|
+
readonly holdToReveal: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
20
|
+
readonly autoHideTimeoutMs: import("@angular/core").InputSignalWithTransform<Nullable<number>, any>;
|
|
21
|
+
readonly revealed: import("@angular/core").ModelSignal<boolean>;
|
|
22
|
+
private _hideTimeout;
|
|
23
|
+
toggleReveal(newState?: boolean): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
readonly revealTemplate: import("@angular/core").Signal<ArdPasswordInputRevealButtonTemplateDirective | undefined>;
|
|
26
|
+
readonly revealButtonContext: import("@angular/core").Signal<PasswordInputRevealButtonContext>;
|
|
27
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
28
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
29
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
30
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
31
|
+
readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
|
|
38
32
|
writeValue(v: any): void;
|
|
39
33
|
protected _writeValue(v: string | null | undefined): boolean;
|
|
40
|
-
|
|
41
|
-
set value(v: string | null);
|
|
42
|
-
get value(): string | null;
|
|
43
|
-
valueChange: EventEmitter<string | null>;
|
|
44
|
-
inputEvent: EventEmitter<string | null>;
|
|
45
|
-
changeEvent: EventEmitter<string | null>;
|
|
34
|
+
readonly value: import("@angular/core").ModelSignal<Nullable<string>>;
|
|
46
35
|
onInput(newVal: string): void;
|
|
47
|
-
protected _emitInput(): void;
|
|
48
|
-
onChange(event: Event): void;
|
|
49
36
|
protected _emitChange(): void;
|
|
37
|
+
onChange(event: Event): void;
|
|
50
38
|
onCopy(event: ClipboardEvent): void;
|
|
51
39
|
protected _setInputAttributes(): void;
|
|
52
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumPasswordInputComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumPasswordInputComponent, "ard-password-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "revealable": { "alias": "revealable"; "required": false; }; "
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumPasswordInputComponent, "ard-password-input", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "revealable": { "alias": "revealable"; "required": false; "isSignal": true; }; "holdToReveal": { "alias": "holdToReveal"; "required": false; "isSignal": true; }; "autoHideTimeoutMs": { "alias": "autoHideTimeoutMs"; "required": false; "isSignal": true; }; "revealed": { "alias": "revealed"; "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; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "revealed": "revealedChange"; "value": "valueChange"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate", "revealTemplate"], never, false, never>;
|
|
54
42
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface PasswordInputRevealButtonContext {
|
|
2
2
|
$implicit: boolean;
|
|
3
|
-
}
|
|
3
|
+
}
|
|
@@ -1,58 +1,53 @@
|
|
|
1
|
-
import {
|
|
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 { SimpleOneAxisAlignment } from './../../types/alignment.types';
|
|
6
7
|
import { SimpleInputModel, SimpleInputModelHost } from './../input-utils';
|
|
8
|
+
import { ArdSimpleInputPlaceholderTemplateDirective, ArdSimpleInputPrefixTemplateDirective, ArdSimpleInputSuffixTemplateDirective } from './simple-input.directives';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ArdiumSimpleInputComponent extends _NgModelComponentBase implements SimpleInputModelHost, ControlValueAccessor,
|
|
10
|
+
export declare class ArdiumSimpleInputComponent extends _NgModelComponentBase implements SimpleInputModelHost, ControlValueAccessor, AfterViewInit {
|
|
9
11
|
readonly DEFAULTS: {
|
|
10
12
|
clearButtonTitle: string;
|
|
11
13
|
};
|
|
12
|
-
textInputEl: ElementRef<HTMLInputElement>;
|
|
13
|
-
protected inputModel: SimpleInputModel;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
protected _maxLength?: number;
|
|
33
|
-
get maxLength(): number | undefined;
|
|
34
|
-
set maxLength(v: any);
|
|
35
|
-
protected _clearable: boolean;
|
|
36
|
-
get clearable(): boolean;
|
|
37
|
-
set clearable(v: any);
|
|
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>;
|
|
38
33
|
writeValue(v: any): void;
|
|
39
34
|
protected _valueBeforeInit?: string | null;
|
|
40
35
|
set value(v: string | null);
|
|
41
36
|
get value(): string | null;
|
|
42
|
-
valueChange:
|
|
43
|
-
inputEvent:
|
|
44
|
-
changeEvent:
|
|
45
|
-
clearEvent:
|
|
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>;
|
|
46
41
|
onInput(newVal: string): void;
|
|
47
42
|
protected _emitInput(): void;
|
|
48
43
|
onFocusMaster(event: FocusEvent): void;
|
|
49
44
|
onBlurMaster(event: FocusEvent): void;
|
|
50
45
|
onChange(event: Event): void;
|
|
51
46
|
protected _emitChange(): void;
|
|
52
|
-
|
|
47
|
+
readonly shouldShowClearButton: import("@angular/core").Signal<boolean>;
|
|
53
48
|
onClearButtonClick(event: MouseEvent): void;
|
|
54
49
|
onCopy(event: ClipboardEvent): void;
|
|
55
50
|
protected _setInputAttributes(): void;
|
|
56
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSimpleInputComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSimpleInputComponent, "ard-simple-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "alignText": { "alias": "alignText"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate"], never, false, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSimpleInputComponent, "ard-simple-input", 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>;
|
|
58
53
|
}
|
|
@@ -2,14 +2,12 @@ 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
|
-
contentWrapper: ElementRef<HTMLElement>;
|
|
5
|
+
readonly contentWrapper: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
6
6
|
ngAfterViewInit(): void;
|
|
7
|
-
key
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
appearance: FormElementAppearance;
|
|
12
|
-
get ngClasses(): string;
|
|
7
|
+
readonly key: import("@angular/core").InputSignal<string>;
|
|
8
|
+
readonly full: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
9
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
10
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumKbdComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumKbdComponent, "ard-kbd", never, { "key": { "alias": "key"; "required": false; }; "full": { "alias": "full"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumKbdComponent, "ard-kbd", never, { "key": { "alias": "key"; "required": false; "isSignal": true; }; "full": { "alias": "full"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
15
13
|
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { FormElementAppearance } from '../types/theming.types';
|
|
3
|
+
import { Nullable } from '../types/utility.types';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ArdiumKbdShortcutComponent implements AfterViewInit {
|
|
5
|
-
contentWrapper: ElementRef<HTMLElement>;
|
|
6
|
+
readonly contentWrapper: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
6
7
|
ngAfterViewInit(): void;
|
|
7
8
|
readonly splitRegex: RegExp;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
get full(): boolean;
|
|
13
|
-
set full(v: any);
|
|
14
|
-
appearance: FormElementAppearance;
|
|
15
|
-
get ngClasses(): string;
|
|
9
|
+
readonly keys: import("@angular/core").InputSignalWithTransform<Nullable<string[]>, Nullable<string | string[]>>;
|
|
10
|
+
readonly full: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
11
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
12
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
16
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumKbdShortcutComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumKbdShortcutComponent, "ard-kbd-shortcut", never, { "keys": { "alias": "keys"; "required": false; }; "full": { "alias": "full"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumKbdShortcutComponent, "ard-kbd-shortcut", never, { "keys": { "alias": "keys"; "required": false; "isSignal": true; }; "full": { "alias": "full"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
18
15
|
}
|