@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,81 +1,64 @@
|
|
|
1
1
|
import { Overlay, ScrollStrategyOptions } from '@angular/cdk/overlay';
|
|
2
|
-
import { ElementRef,
|
|
2
|
+
import { ElementRef, Renderer2, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { _NgModelComponentBase } from '../_internal/ngmodel-component';
|
|
4
4
|
import { SimpleComponentColor } from '../types/colors.types';
|
|
5
|
+
import { Nullable } from '../types/utility.types';
|
|
6
|
+
import { ArdSliderTooltipDirective } from './slider.directive';
|
|
5
7
|
import { SliderDecorationPosition, SliderLabelObject, SliderTooltipBehavior, SliderTooltipFormatFn, _InternalSliderLabelObject } from './slider.types';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
9
|
export declare abstract class _AbstractSlider<T> extends _NgModelComponentBase {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
protected
|
|
12
|
-
protected
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
tooltipFormat?: SliderTooltipFormatFn;
|
|
10
|
+
abstract readonly componentId: string;
|
|
11
|
+
abstract readonly componentName: string;
|
|
12
|
+
readonly elementRef: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
13
|
+
protected readonly document: Document;
|
|
14
|
+
protected readonly renderer: Renderer2;
|
|
15
|
+
protected readonly overlay: Overlay;
|
|
16
|
+
protected readonly scrollStrategyOpts: ScrollStrategyOptions;
|
|
17
|
+
protected readonly viewContainerRef: ViewContainerRef;
|
|
18
|
+
readonly noTooltip: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
19
|
+
readonly tooltipFormat: import("@angular/core").InputSignal<Nullable<SliderTooltipFormatFn>>;
|
|
19
20
|
protected abstract _updateTooltipValue(): void;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
get shiftMultiplier(): number;
|
|
31
|
-
set shiftMultiplier(v: any);
|
|
32
|
-
protected _stepSizeComputed: number;
|
|
33
|
-
protected _updateComputedStepSizes(): number;
|
|
34
|
-
protected _showValueTicks: boolean;
|
|
35
|
-
get showValueTicks(): boolean;
|
|
36
|
-
set showValueTicks(v: any);
|
|
37
|
-
get percentStepSize(): number;
|
|
38
|
-
protected _tickArray: string[];
|
|
39
|
-
protected _updateTickArray(): string[];
|
|
40
|
-
get tickArray(): string[];
|
|
41
|
-
labelPosition: SliderDecorationPosition;
|
|
42
|
-
labelObjects: _InternalSliderLabelObject[];
|
|
43
|
-
set labels(val: SliderLabelObject[] | number[] | null);
|
|
21
|
+
readonly min: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
22
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
23
|
+
readonly step: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
24
|
+
readonly shiftMultiplier: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
25
|
+
protected readonly _stepSizeComputed: import("@angular/core").Signal<number>;
|
|
26
|
+
readonly showValueTicks: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
27
|
+
readonly percentStepSize: import("@angular/core").Signal<number>;
|
|
28
|
+
protected readonly _tickArray: import("@angular/core").Signal<string[]>;
|
|
29
|
+
readonly labelPosition: import("@angular/core").InputSignal<SliderDecorationPosition>;
|
|
30
|
+
readonly labelObjects: import("@angular/core").InputSignalWithTransform<_InternalSliderLabelObject[], number[] | SliderLabelObject[] | null>;
|
|
44
31
|
protected _numberLabelArrayMapFn(val: SliderLabelObject | number): SliderLabelObject;
|
|
45
|
-
color: SimpleComponentColor
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
get sliderTransition(): string;
|
|
51
|
-
private get _totalSteps();
|
|
32
|
+
readonly color: import("@angular/core").InputSignal<SimpleComponentColor>;
|
|
33
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
34
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
35
|
+
readonly sliderTransition: import("@angular/core").Signal<string>;
|
|
36
|
+
private readonly _totalSteps;
|
|
52
37
|
protected abstract _value: T;
|
|
53
38
|
set value(newValue: T);
|
|
54
39
|
get value(): T;
|
|
55
|
-
valueChange:
|
|
40
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<T>;
|
|
56
41
|
abstract writeValue(v: any): void;
|
|
57
42
|
abstract reset(): void;
|
|
58
43
|
protected _offset(offset: number, hasShift: boolean, handleId?: number): void;
|
|
59
44
|
protected _clampValue(v: number): number;
|
|
60
45
|
protected _valueToPercent(v: number): number;
|
|
61
46
|
protected _emitChange(): void;
|
|
62
|
-
tooltipTemplate
|
|
63
|
-
tooltipPosition: SliderDecorationPosition
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
get tooltipBehavior(): SliderTooltipBehavior;
|
|
67
|
-
protected _isGrabbed: number;
|
|
47
|
+
readonly tooltipTemplate: import("@angular/core").Signal<ArdSliderTooltipDirective | undefined>;
|
|
48
|
+
readonly tooltipPosition: import("@angular/core").InputSignal<SliderDecorationPosition>;
|
|
49
|
+
readonly tooltipBehavior: import("@angular/core").InputSignal<SliderTooltipBehavior>;
|
|
50
|
+
protected readonly _grabbedHandleId: import("@angular/core").WritableSignal<number | null>;
|
|
68
51
|
protected _shouldCheckForMovement: boolean;
|
|
69
52
|
protected _bodyHasClass: boolean;
|
|
70
|
-
|
|
53
|
+
readonly isSliderHandleGrabbed: import("@angular/core").Signal<boolean>;
|
|
71
54
|
abstract onTrackHitboxPointerDown(event: MouseEvent | TouchEvent): void;
|
|
72
55
|
onPointerDownOnHandle(event: MouseEvent | TouchEvent, handleId?: number): void;
|
|
73
56
|
abstract onPointerMove(event: MouseEvent | TouchEvent): void;
|
|
74
|
-
onPointerUp(
|
|
57
|
+
onPointerUp(): void;
|
|
75
58
|
protected _positionPercent: [number] | [number, number];
|
|
76
59
|
getHandlePosition(handleId?: number): string;
|
|
77
|
-
protected _setValueFromPercent(percent: number, handleId?: number): void;
|
|
78
|
-
protected _writeValueFromEvent(event: MouseEvent | TouchEvent, handleId?: number): void;
|
|
60
|
+
protected _setValueFromPercent(percent: number, handleId?: number | null): void;
|
|
61
|
+
protected _writeValueFromEvent(event: MouseEvent | TouchEvent, handleId?: number | null): void;
|
|
79
62
|
protected abstract _percentValueToValue(percent: number, handleId?: number): T;
|
|
80
63
|
protected _getElementRect(): DOMRect;
|
|
81
64
|
protected _clampPercentValue(percent: number): number;
|
|
@@ -84,5 +67,5 @@ export declare abstract class _AbstractSlider<T> extends _NgModelComponentBase {
|
|
|
84
67
|
protected _decrement(event: KeyboardEvent, steps?: number): void;
|
|
85
68
|
protected _increment(event: KeyboardEvent, steps?: number): void;
|
|
86
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<_AbstractSlider<any>, never>;
|
|
87
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_AbstractSlider<any>, never, never, { "noTooltip": { "alias": "noTooltip"; "required": false; }; "tooltipFormat": { "alias": "tooltipFormat"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "shiftMultiplier": { "alias": "shiftMultiplier"; "required": false; }; "showValueTicks": { "alias": "showValueTicks"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "
|
|
70
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_AbstractSlider<any>, never, never, { "noTooltip": { "alias": "noTooltip"; "required": false; "isSignal": true; }; "tooltipFormat": { "alias": "tooltipFormat"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "shiftMultiplier": { "alias": "shiftMultiplier"; "required": false; "isSignal": true; }; "showValueTicks": { "alias": "showValueTicks"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "labelObjects": { "alias": "labels"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "tooltipBehavior": { "alias": "tooltipBehavior"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, ["tooltipTemplate"], never, false, never>;
|
|
88
71
|
}
|
|
@@ -3,6 +3,8 @@ import { _AbstractSlider } from '../abstract-slider';
|
|
|
3
3
|
import { SliderRange, SliderTooltipContext } from '../slider.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ArdiumRangeSliderComponent extends _AbstractSlider<SliderRange> implements OnInit {
|
|
6
|
+
readonly componentId = "106";
|
|
7
|
+
readonly componentName = "range-slider";
|
|
6
8
|
protected _value: SliderRange;
|
|
7
9
|
ngOnInit(): void;
|
|
8
10
|
private _isValidObject;
|
|
@@ -21,7 +23,7 @@ export declare class ArdiumRangeSliderComponent extends _AbstractSlider<SliderRa
|
|
|
21
23
|
onTrackHitboxPointerDown(event: MouseEvent | TouchEvent): void;
|
|
22
24
|
onPointerMove(event: MouseEvent | TouchEvent): void;
|
|
23
25
|
protected _percentValueToValue(percent: number, handleId: number): SliderRange;
|
|
24
|
-
currentHandle: 1 | 2 | null
|
|
26
|
+
readonly currentHandle: import("@angular/core").WritableSignal<1 | 2 | null>;
|
|
25
27
|
onHandleFocus(event: FocusEvent, handleId: 1 | 2): void;
|
|
26
28
|
onBlur(event: FocusEvent): void;
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumRangeSliderComponent, never>;
|
|
@@ -2,6 +2,8 @@ import { _AbstractSlider } from './abstract-slider';
|
|
|
2
2
|
import { SliderTooltipContext } from './slider.types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ArdiumSliderComponent extends _AbstractSlider<number> {
|
|
5
|
+
readonly componentId = "105";
|
|
6
|
+
readonly componentName = "slider";
|
|
5
7
|
protected _value: number;
|
|
6
8
|
_tooltipValue: string;
|
|
7
9
|
protected _updateTooltipValue(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface SliderTooltipContext {
|
|
2
2
|
value: string | number;
|
|
3
3
|
$implicit: string | number;
|
|
4
|
-
}
|
|
4
|
+
}
|
|
5
5
|
export declare const SliderTooltipBehavior: {
|
|
6
6
|
readonly Always: "always";
|
|
7
7
|
readonly Auto: "auto";
|
|
@@ -13,16 +13,16 @@ export declare const SliderDecorationPosition: {
|
|
|
13
13
|
readonly Bottom: "bottom";
|
|
14
14
|
};
|
|
15
15
|
export type SliderDecorationPosition = (typeof SliderDecorationPosition)[keyof typeof SliderDecorationPosition];
|
|
16
|
-
export
|
|
16
|
+
export interface SliderLabelObject {
|
|
17
17
|
label: string | number;
|
|
18
18
|
for: number;
|
|
19
|
-
}
|
|
20
|
-
export
|
|
19
|
+
}
|
|
20
|
+
export interface _InternalSliderLabelObject {
|
|
21
21
|
label: string;
|
|
22
22
|
positionPercent: string;
|
|
23
|
-
}
|
|
24
|
-
export
|
|
23
|
+
}
|
|
24
|
+
export interface SliderRange<T = number> {
|
|
25
25
|
low: T;
|
|
26
26
|
high: T;
|
|
27
|
-
}
|
|
27
|
+
}
|
|
28
28
|
export type SliderTooltipFormatFn = (value: number) => string | number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { ComponentType } from '@angular/cdk/portal';
|
|
3
2
|
import { InjectionToken } from '@angular/core';
|
|
4
3
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
@@ -13,7 +12,7 @@ export declare class _ArdSnackbarRefInternal<T> {
|
|
|
13
12
|
options: Required<ArdSnackbarOptions>;
|
|
14
13
|
constructor(component: ComponentType<T>, options: Required<ArdSnackbarOptions>, dismiss: (withAction?: boolean) => void);
|
|
15
14
|
readonly publicRef: ArdSnackbarRef<T>;
|
|
16
|
-
timeout:
|
|
15
|
+
timeout: any;
|
|
17
16
|
overlay: OverlayRef;
|
|
18
17
|
private readonly _onOpen;
|
|
19
18
|
private readonly _onCloseStart;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ArdSnackbarRef } from './snackbar-ref';
|
|
2
2
|
import { ArdSnackbarType } from './snackbar.types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class _ArdSimpleSnackbarComponent {
|
|
5
5
|
readonly snackbarRef: ArdSnackbarRef<any>;
|
|
6
6
|
readonly data: import("./snackbar.types").ArdSnackbarData;
|
|
7
7
|
readonly color: import("@ardium-ui/ui").ComponentColor;
|
|
@@ -11,6 +11,6 @@ export declare class _ArdSimpleSnackbar {
|
|
|
11
11
|
get hasAction(): boolean;
|
|
12
12
|
private _getTypeIcon;
|
|
13
13
|
get colorClass(): string;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_ArdSimpleSnackbarComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<_ArdSimpleSnackbarComponent, "ard-simple-snackbar", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentType } from '@angular/cdk/overlay';
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
3
|
import { ArdSnackbarRef } from './snackbar-ref';
|
|
4
|
-
import {
|
|
4
|
+
import { _ArdSimpleSnackbarComponent } from './snackbar.component';
|
|
5
5
|
import { ArdSnackbarOptions } from './snackbar.types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ArdiumSnackbarService implements OnDestroy {
|
|
@@ -12,7 +12,7 @@ export declare class ArdiumSnackbarService implements OnDestroy {
|
|
|
12
12
|
private readonly _animationLength;
|
|
13
13
|
private readonly _overlay;
|
|
14
14
|
private readonly _injector;
|
|
15
|
-
open(message: string, action?: string, options?: ArdSnackbarOptions): ArdSnackbarRef<
|
|
15
|
+
open(message: string, action?: string, options?: ArdSnackbarOptions): ArdSnackbarRef<_ArdSimpleSnackbarComponent>;
|
|
16
16
|
openFromComponent<T>(component: ComponentType<T>, options: ArdSnackbarOptions): ArdSnackbarRef<T>;
|
|
17
17
|
private _handleQueue;
|
|
18
18
|
private _mergeOptions;
|
|
@@ -29,11 +29,11 @@ export declare const ArdSnackbarType: {
|
|
|
29
29
|
readonly Info: "info";
|
|
30
30
|
};
|
|
31
31
|
export type ArdSnackbarType = (typeof ArdSnackbarType)[keyof typeof ArdSnackbarType];
|
|
32
|
-
export
|
|
32
|
+
export interface ArdSnackbarData {
|
|
33
33
|
message: string;
|
|
34
34
|
action?: string;
|
|
35
|
-
}
|
|
36
|
-
export
|
|
35
|
+
}
|
|
36
|
+
export interface ArdSnackbarOptions {
|
|
37
37
|
data?: ArdSnackbarData;
|
|
38
38
|
placement?: {
|
|
39
39
|
align?: ArdSnackbarAlignment;
|
|
@@ -45,4 +45,4 @@ export type ArdSnackbarOptions = {
|
|
|
45
45
|
type?: ArdSnackbarType;
|
|
46
46
|
queueHandling?: ArdSnackbarQueueHandling;
|
|
47
47
|
panelClass?: string | string[];
|
|
48
|
-
}
|
|
48
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SimpleComponentColor } from '../types/colors.types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ArdiumSpinnerComponent {
|
|
4
|
-
color: SimpleComponentColor
|
|
5
|
-
|
|
4
|
+
readonly color: import("@angular/core").InputSignal<SimpleComponentColor>;
|
|
5
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSpinnerComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSpinnerComponent, "ard-spinner", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSpinnerComponent, "ard-spinner", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
-
import { ClickStrategy } from '../../types/utility.types';
|
|
3
2
|
import { _BooleanComponentBase } from '../../_internal/boolean-component';
|
|
3
|
+
import { ClickStrategy } from '../../types/utility.types';
|
|
4
4
|
import { StarColor } from '../star.types';
|
|
5
5
|
import { StarFillMode } from './../star.types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ArdiumStarButtonComponent extends _BooleanComponentBase implements ControlValueAccessor {
|
|
8
|
-
wrapperClasses: string
|
|
9
|
-
clickStrategy: ClickStrategy
|
|
10
|
-
color: StarColor
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
readonly wrapperClasses: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly clickStrategy: import("@angular/core").InputSignal<ClickStrategy>;
|
|
10
|
+
readonly color: import("@angular/core").InputSignal<StarColor>;
|
|
11
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
12
|
+
readonly starFillState: import("@angular/core").Signal<StarFillMode>;
|
|
13
13
|
onClick(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumStarButtonComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumStarButtonComponent, "ard-star-button", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "clickStrategy": { "alias": "clickStrategy"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumStarButtonComponent, "ard-star-button", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "clickStrategy": { "alias": "clickStrategy"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
1
|
import { StarColor, StarFillMode } from './../star.types';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ArdiumStarDisplayComponent
|
|
5
|
-
wrapperClasses: string
|
|
6
|
-
color: StarColor
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
setStarArrayFromArray(starArr: StarFillMode[]): void;
|
|
12
|
-
setStarArrayFromNumber(stars: number): StarFillMode[];
|
|
13
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
3
|
+
export declare class ArdiumStarDisplayComponent {
|
|
4
|
+
readonly wrapperClasses: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly color: import("@angular/core").InputSignal<StarColor>;
|
|
6
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
7
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
8
|
+
readonly value: import("@angular/core").InputSignalWithTransform<number | StarFillMode[], string | number | StarFillMode[]>;
|
|
9
|
+
readonly starArray: import("@angular/core").Signal<StarFillMode[]>;
|
|
14
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumStarDisplayComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumStarDisplayComponent, "ard-star-display", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "color": { "alias": "color"; "required": false; }; "max": { "alias": "max"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumStarDisplayComponent, "ard-star-display", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
16
12
|
}
|
|
@@ -1,39 +1,34 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges, QueryList } from '@angular/core';
|
|
2
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
2
|
import { ArdiumStarButtonComponent } from '../star-button/star-button.component';
|
|
4
3
|
import { _NgModelComponentBase } from './../../_internal/ngmodel-component';
|
|
5
4
|
import { StarColor } from './../star.types';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
|
-
|
|
6
|
+
interface StarInputObject {
|
|
8
7
|
filled: boolean;
|
|
9
8
|
isInValue: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare class ArdiumStarInputComponent extends _NgModelComponentBase implements
|
|
12
|
-
wrapperClasses: string
|
|
13
|
-
color: StarColor
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
createFirstStarArray(): StarInputObject[];
|
|
24
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
9
|
+
}
|
|
10
|
+
export declare class ArdiumStarInputComponent extends _NgModelComponentBase implements ControlValueAccessor {
|
|
11
|
+
readonly wrapperClasses: import("@angular/core").InputSignal<string>;
|
|
12
|
+
readonly color: import("@angular/core").InputSignal<StarColor>;
|
|
13
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
14
|
+
readonly changeEvent: import("@angular/core").OutputEmitterRef<number>;
|
|
15
|
+
readonly highlightEvent: import("@angular/core").OutputEmitterRef<number>;
|
|
16
|
+
readonly value: import("@angular/core").ModelSignal<number>;
|
|
17
|
+
constructor();
|
|
18
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
19
|
+
readonly starButtonInstances: import("@angular/core").Signal<readonly ArdiumStarButtonComponent[]>;
|
|
20
|
+
private readonly _highlightedStarIndex;
|
|
21
|
+
readonly starArray: import("@angular/core").Signal<StarInputObject[]>;
|
|
25
22
|
writeValue(v: number): void;
|
|
26
23
|
onStarClick(index: number): void;
|
|
27
|
-
private _currentHoverIndex;
|
|
28
24
|
onStarHighlight(index: number): void;
|
|
29
25
|
setDisplayToValue(): void;
|
|
30
26
|
protected _emitChange(): void;
|
|
31
27
|
private _isFocusEventSuppressed;
|
|
32
28
|
private _isBlurEventSuppressed;
|
|
33
|
-
private _wasComponentBlurred;
|
|
34
29
|
private _currentFocusIndex;
|
|
35
|
-
onStarButtonFocus(index: number): void;
|
|
36
|
-
onStarButtonBlur(): void;
|
|
30
|
+
onStarButtonFocus(index: number, event: FocusEvent): void;
|
|
31
|
+
onStarButtonBlur(event: FocusEvent): void;
|
|
37
32
|
focusStarButtonByIndex(index: number): void;
|
|
38
33
|
focusNextStarButton(offset: number): void;
|
|
39
34
|
private _suppressFocusEvents;
|
|
@@ -46,6 +41,6 @@ export declare class ArdiumStarInputComponent extends _NgModelComponentBase impl
|
|
|
46
41
|
private _onEndPress;
|
|
47
42
|
private _onTabPress;
|
|
48
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumStarInputComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumStarInputComponent, "ard-star-input", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "changeEvent": "change"; "highlightEvent": "highlight"; "
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumStarInputComponent, "ard-star-input", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; }, { "changeEvent": "change"; "highlightEvent": "highlight"; "value": "valueChange"; }, never, never, false, never>;
|
|
50
45
|
}
|
|
51
46
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { StarColor, StarFillMode } from './star.types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ArdiumStarComponent {
|
|
4
|
-
wrapperClasses: string
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
readonly wrapperClasses: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly color: import("@angular/core").InputSignal<StarColor>;
|
|
6
|
+
readonly fill: import("@angular/core").InputSignal<StarFillMode>;
|
|
7
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumStarComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumStarComponent, "ard-star", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumStarComponent, "ard-star", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -1,31 +1,25 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
2
|
import { _NgModelComponentBase } from './../_internal/ngmodel-component';
|
|
4
3
|
import { StateboxState, StateboxValue, _StateboxInternalState } from './statebox.types';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ArdiumStateboxComponent extends _NgModelComponentBase implements ControlValueAccessor
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
5
|
+
export declare class ArdiumStateboxComponent extends _NgModelComponentBase implements ControlValueAccessor {
|
|
6
|
+
readonly states: import("@angular/core").InputSignal<StateboxState[]>;
|
|
7
|
+
readonly _states: import("@angular/core").Signal<_StateboxInternalState[]>;
|
|
8
|
+
readonly _defaultState: import("@angular/core").Signal<_StateboxInternalState>;
|
|
9
|
+
readonly manualStateHandling: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
10
|
+
readonly wrapperClasses: import("@angular/core").InputSignal<string>;
|
|
11
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
12
|
+
readonly changeEvent: import("@angular/core").OutputEmitterRef<StateboxValue>;
|
|
13
|
+
readonly clickEvent: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
14
|
+
constructor();
|
|
15
|
+
readonly state: import("@angular/core").ModelSignal<StateboxValue>;
|
|
16
|
+
private readonly _stateIndex;
|
|
17
|
+
readonly internalState: import("@angular/core").Signal<_StateboxInternalState>;
|
|
19
18
|
writeValue(v: StateboxValue): void;
|
|
20
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
21
19
|
private _stateMapFn;
|
|
22
|
-
get defaultState(): _StateboxInternalState;
|
|
23
20
|
onClick(event: MouseEvent): void;
|
|
24
21
|
protected _emitChange(): void;
|
|
25
|
-
|
|
26
|
-
get ngStyle(): {
|
|
27
|
-
[klass: string]: any;
|
|
28
|
-
};
|
|
22
|
+
readonly ngStyle: import("@angular/core").Signal<Record<string, any>>;
|
|
29
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumStateboxComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumStateboxComponent, "ard-statebox", never, { "states": { "alias": "states"; "required": false; }; "manualStateHandling": { "alias": "manualStateHandling"; "required": false; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "changeEvent": "change"; "clickEvent": "click"; "
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumStateboxComponent, "ard-statebox", never, { "states": { "alias": "states"; "required": false; "isSignal": true; }; "manualStateHandling": { "alias": "manualStateHandling"; "required": false; "isSignal": true; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; }, { "changeEvent": "change"; "clickEvent": "click"; "state": "stateChange"; }, never, never, false, never>;
|
|
31
25
|
}
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import { ComponentColor } from '../types/colors.types';
|
|
2
2
|
export type StateboxValue = string | boolean | number | null | undefined;
|
|
3
|
-
export
|
|
3
|
+
export interface StateboxState {
|
|
4
4
|
value: StateboxValue;
|
|
5
5
|
icon?: string;
|
|
6
6
|
character?: string;
|
|
7
7
|
color?: ComponentColor;
|
|
8
8
|
customColor?: string;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
colorOnCustom?: string;
|
|
10
|
+
filled?: boolean;
|
|
11
11
|
keepFrame?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export
|
|
12
|
+
}
|
|
13
|
+
export interface _StateboxInternalState {
|
|
14
14
|
value: StateboxValue;
|
|
15
15
|
display: string;
|
|
16
16
|
displayAsIcon: boolean;
|
|
17
17
|
color: string;
|
|
18
18
|
useCustomColor: boolean;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
colorOnCustom?: string;
|
|
20
|
+
filled: boolean;
|
|
21
21
|
keepFrame: boolean;
|
|
22
|
-
}
|
|
22
|
+
}
|
|
23
|
+
export interface _StateboxInternalStateData {
|
|
24
|
+
state: _StateboxInternalState;
|
|
25
|
+
index: number;
|
|
26
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ArdiumTabComponent {
|
|
3
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
4
|
+
readonly selected: import("@angular/core").WritableSignal<boolean>;
|
|
5
|
+
set _selected(v: any);
|
|
6
|
+
setSelected(state: boolean): void;
|
|
7
|
+
get _selectedHostAttribute(): boolean;
|
|
8
|
+
private _emitChange;
|
|
9
|
+
readonly focused: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
+
readonly _label: import("@angular/core").InputSignal<string | null>;
|
|
11
|
+
readonly label: import("@angular/core").Signal<string>;
|
|
12
|
+
readonly tabId: import("@angular/core").InputSignal<string>;
|
|
13
|
+
readonly focusEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
14
|
+
readonly blurEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
15
|
+
readonly selectedChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumTabComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumTabComponent, "ard-tab", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "_selected": { "alias": "selected"; "required": false; }; "_label": { "alias": "label"; "required": false; "isSignal": true; }; "tabId": { "alias": "tabId"; "required": true; "isSignal": true; }; }, { "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "selectedChange": "selectedChange"; }, never, ["*"], false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AfterContentInit } from '@angular/core';
|
|
2
|
+
import { OneAxisAlignment } from '../types/alignment.types';
|
|
3
|
+
import { ComponentColor } from '../types/colors.types';
|
|
4
|
+
import { ArdiumTabComponent } from './tab/tab.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ArdiumTabberComponent implements AfterContentInit {
|
|
7
|
+
readonly tabs: import("@angular/core").Signal<readonly ArdiumTabComponent[]>;
|
|
8
|
+
readonly currentTab: import("@angular/core").WritableSignal<ArdiumTabComponent | null>;
|
|
9
|
+
readonly currentFocusedTab: import("@angular/core").WritableSignal<ArdiumTabComponent | null>;
|
|
10
|
+
ngAfterContentInit(): void;
|
|
11
|
+
onTabClick(tab: ArdiumTabComponent): void;
|
|
12
|
+
onTabFocus(tab: ArdiumTabComponent): void;
|
|
13
|
+
onTabBlur(tab: ArdiumTabComponent): void;
|
|
14
|
+
readonly focusEvent: import("@angular/core").OutputEmitterRef<string>;
|
|
15
|
+
readonly blurEvent: import("@angular/core").OutputEmitterRef<string>;
|
|
16
|
+
readonly changeTab: import("@angular/core").OutputEmitterRef<string>;
|
|
17
|
+
readonly color: import("@angular/core").InputSignal<ComponentColor>;
|
|
18
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
19
|
+
readonly stretchTabs: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
20
|
+
readonly tabAlignment: import("@angular/core").InputSignal<OneAxisAlignment>;
|
|
21
|
+
readonly tabContainerClasses: import("@angular/core").Signal<string>;
|
|
22
|
+
readonly tabIndex: import("@angular/core").InputSignal<string | number>;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumTabberComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumTabberComponent, "ard-tabber", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "stretchTabs": { "alias": "stretchTabs"; "required": false; "isSignal": true; }; "tabAlignment": { "alias": "tabAlignment"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabIndex"; "required": false; "isSignal": true; }; }, { "focusEvent": "focus"; "blurEvent": "blur"; "changeTab": "changeTab"; }, ["tabs"], ["*"], false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tabber.component";
|
|
3
|
+
import * as i2 from "./tab/tab.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class ArdiumTabberModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumTabberModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumTabberModule, [typeof i1.ArdiumTabberComponent, typeof i2.ArdiumTabComponent], [typeof i3.CommonModule], [typeof i1.ArdiumTabberComponent, typeof i2.ArdiumTabComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumTabberModule>;
|
|
9
|
+
}
|