@ardium-ui/ui 1.0.3 → 2.0.2
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/README.md +25 -25
- 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 +5 -5
- 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 +5 -5
- package/esm2022/lib/badge/badge.types.mjs +1 -1
- 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 +5 -5
- 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 +5 -5
- package/esm2022/lib/buttons/fab/index.mjs +3 -0
- package/esm2022/lib/buttons/general-button.types.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +17 -25
- package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +5 -5
- 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 +5 -5
- package/esm2022/lib/card/card.types.mjs +1 -1
- package/esm2022/lib/card/index.mjs +5 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +33 -46
- package/esm2022/lib/checkbox/checkbox.module.mjs +5 -5
- package/esm2022/lib/checkbox/checkbox.types.mjs +1 -1
- 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 +5 -5
- package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +1 -1
- 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 +5 -5
- 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 +5 -5
- package/esm2022/lib/color/color-display/color-display.types.mjs +1 -1
- 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 +4 -4
- package/esm2022/lib/dialog/dialog.module.mjs +5 -5
- 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 +5 -5
- 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 +5 -5
- package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +1 -1
- 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 +10 -10
- 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 +19 -19
- package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +5 -5
- 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/file-inputs/file-input-types.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +20 -47
- package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +7 -7
- package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +5 -5
- 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 +5 -5
- package/esm2022/lib/icon/icon.pipe.mjs +4 -4
- package/esm2022/lib/icon/index.mjs +4 -0
- package/esm2022/lib/inputs/color-input/color-input.directives.mjs +25 -25
- 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 +5 -5
- 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 +10 -10
- 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-types.mjs +1 -1
- 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 +4 -4
- package/esm2022/lib/inputs/number-input/number-input.module.mjs +5 -5
- 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 +13 -13
- package/esm2022/lib/inputs/password-input/password-input.module.mjs +5 -5
- 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 +10 -10
- package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +5 -5
- package/esm2022/lib/kbd/index.mjs +4 -0
- package/esm2022/lib/kbd/kbd.component.mjs +15 -29
- package/esm2022/lib/kbd/kbd.module.mjs +5 -5
- package/esm2022/lib/kbd/kbd.pipe.mjs +4 -4
- 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 +5 -5
- package/esm2022/lib/modal/index.mjs +3 -0
- package/esm2022/lib/modal/modal.component.mjs +42 -83
- package/esm2022/lib/modal/modal.module.mjs +5 -5
- package/esm2022/lib/option/index.mjs +3 -0
- package/esm2022/lib/option/option.component.mjs +24 -46
- package/esm2022/lib/option/option.module.mjs +5 -5
- 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 +4 -4
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +5 -5
- 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 +4 -4
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +5 -5
- 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 +5 -5
- 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 +5 -5
- package/esm2022/lib/segment/segment.types.mjs +1 -1
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- package/esm2022/lib/slider/slider.component.mjs +13 -10
- package/esm2022/lib/slider/slider.directive.mjs +4 -4
- package/esm2022/lib/slider/slider.module.mjs +7 -7
- package/esm2022/lib/slider/slider.types.mjs +1 -1
- package/esm2022/lib/snackbar/index.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.token.mjs +1 -1
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- package/esm2022/lib/star/star.component.mjs +12 -20
- package/esm2022/lib/star/star.module.mjs +5 -5
- package/esm2022/lib/star/star.types.mjs +1 -1
- package/esm2022/lib/statebox/index.mjs +3 -0
- package/esm2022/lib/statebox/statebox.component.mjs +64 -102
- package/esm2022/lib/statebox/statebox.module.mjs +5 -5
- 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 +5 -5
- package/esm2022/lib/table/table.types.mjs +1 -1
- 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 +5 -5
- 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 +5 -5
- package/esm2022/lib/table-pagination/table-pagination.types.mjs +1 -1
- package/esm2022/lib/types/alignment.types.mjs +1 -1
- package/esm2022/lib/types/colors.types.mjs +1 -1
- package/esm2022/lib/types/item-storage.types.mjs +1 -1
- package/esm2022/lib/types/theming.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/_variables.scss +121 -121
- package/themes/default/_clear-button.scss +73 -73
- package/themes/default/_coloring.scss +137 -137
- package/themes/default/_dropdown-arrow.scss +12 -12
- package/themes/default/_mixins.scss +70 -70
- package/themes/default/badge.scss +94 -94
- package/themes/default/buttons/_button-mixins.scss +144 -144
- package/themes/default/buttons/button.scss +62 -62
- package/themes/default/buttons/fab.scss +74 -72
- package/themes/default/buttons/icon-button.scss +59 -59
- package/themes/default/calendar.scss +182 -182
- package/themes/default/card.scss +126 -126
- package/themes/default/checkbox-list.scss +83 -83
- package/themes/default/checkbox.scss +109 -109
- package/themes/default/chips.scss +200 -206
- package/themes/default/color-display.scss +41 -41
- package/themes/default/color-picker.scss +111 -111
- package/themes/default/core.scss +99 -96
- package/themes/default/dialog.scss +16 -16
- package/themes/default/divider.scss +13 -13
- package/themes/default/dropdown-panel.scss +45 -45
- package/themes/default/file-drop-area.scss +162 -162
- package/themes/default/form-field-frame.scss +78 -78
- package/themes/default/inputs/_shared.scss +46 -46
- package/themes/default/inputs/color-input.scss +46 -46
- package/themes/default/inputs/digit-input.scss +56 -56
- package/themes/default/inputs/file-input.scss +85 -78
- package/themes/default/inputs/hex-input.scss +27 -27
- package/themes/default/inputs/input.scss +52 -52
- package/themes/default/inputs/number-input.scss +121 -121
- package/themes/default/inputs/password-input.scss +43 -43
- package/themes/default/inputs/search-bar.scss +19 -19
- package/themes/default/inputs/simple-input.scss +19 -19
- package/themes/default/kbd-shortcut.scss +13 -13
- package/themes/default/kbd.scss +20 -20
- package/themes/default/modal.scss +93 -93
- package/themes/default/progress-bar.scss +166 -166
- package/themes/default/progress-circle.scss +56 -56
- package/themes/default/radio.scss +112 -112
- package/themes/default/segment.scss +340 -339
- package/themes/default/select.scss +255 -253
- package/themes/default/slide-toggle.scss +151 -151
- package/themes/default/slider.scss +224 -224
- package/themes/default/snackbar.scss +58 -60
- package/themes/default/spinner.scss +21 -21
- package/themes/default/stars.scss +122 -122
- package/themes/default/statebox.scss +109 -109
- package/themes/default/tabber.scss +86 -0
- package/themes/default/table-pagination.scss +56 -56
- package/themes/default/table.scss +403 -403
- 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,23 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, QueryList, Signal, SimpleChanges, TemplateRef } from '@angular/core';
|
|
3
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { ItemStorage } from '../_internal/item-storages/dropdown-item-storage';
|
|
3
|
+
import { ItemStorage, ItemStorageHost } from '../_internal/item-storages/dropdown-item-storage';
|
|
5
4
|
import { _NgModelComponentBase } from '../_internal/ngmodel-component';
|
|
6
5
|
import { ArdiumDropdownPanelComponent } from '../dropdown-panel/dropdown-panel.component';
|
|
7
6
|
import { DropdownPanelAppearance, DropdownPanelVariant } from '../dropdown-panel/dropdown-panel.types';
|
|
8
7
|
import { ArdiumOptionComponent } from '../option/option.component';
|
|
9
|
-
import { ArdOption, ArdOptionGroup, ArdPanelPosition,
|
|
8
|
+
import { ArdOption, ArdOptionGroup, ArdPanelPosition, GroupByFn, OptionContext, SearchFn } from '../types/item-storage.types';
|
|
10
9
|
import { FormElementAppearance } from '../types/theming.types';
|
|
10
|
+
import { Nullable } from '../types/utility.types';
|
|
11
11
|
import { FormElementVariant } from './../types/theming.types';
|
|
12
|
+
import { ArdAddCustomTemplateDirective, ArdDropdownFooterTemplateDirective, ArdDropdownHeaderTemplateDirective, ArdItemDisplayLimitTemplateDirective, ArdItemLimitReachedTemplateDirective, ArdLoadingPlaceholderTemplateDirective, ArdLoadingSpinnerTemplateDirective, ArdNoItemsFoundTemplateDirective, ArdOptgroupTemplateDirective, ArdOptionTemplateDirective, ArdSelectPlaceholderTemplateDirective, ArdSelectPrefixTemplateDirective, ArdSelectSuffixTemplateDirective, ArdValueTemplateDirective } from './select.directive';
|
|
12
13
|
import { AddCustomFn, CustomOptionContext, GroupContext, ItemDisplayLimitContext, ItemLimitContext, PlaceholderContext, SearchContext, StatsContext, ValueContext } from './select.types';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class ArdiumSelectComponent extends _NgModelComponentBase implements OnChanges, AfterViewInit, AfterContentInit, OnInit, OnDestroy, ControlValueAccessor {
|
|
15
|
-
|
|
16
|
-
private overlay;
|
|
17
|
-
private viewContainerRef;
|
|
18
|
-
private scrollStrategyOpts;
|
|
15
|
+
export declare class ArdiumSelectComponent extends _NgModelComponentBase implements OnChanges, AfterViewInit, AfterContentInit, OnInit, OnDestroy, ControlValueAccessor, ItemStorageHost {
|
|
16
|
+
readonly _componentId: string;
|
|
19
17
|
readonly itemStorage: ItemStorage;
|
|
20
|
-
readonly element: HTMLElement;
|
|
21
18
|
readonly DEFAULTS: {
|
|
22
19
|
valueFrom: string;
|
|
23
20
|
labelFrom: string;
|
|
@@ -31,162 +28,119 @@ export declare class ArdiumSelectComponent extends _NgModelComponentBase impleme
|
|
|
31
28
|
loadingPlaceholderText: string;
|
|
32
29
|
};
|
|
33
30
|
private _items;
|
|
34
|
-
private _isMouseBeingUsed;
|
|
35
|
-
private _searchBarFocused;
|
|
31
|
+
private readonly _isMouseBeingUsed;
|
|
32
|
+
private readonly _searchBarFocused;
|
|
36
33
|
private readonly _destroy$;
|
|
37
|
-
searchTerm: string
|
|
34
|
+
readonly searchTerm: import("@angular/core").WritableSignal<string>;
|
|
38
35
|
isItemsInputUsed: boolean;
|
|
39
|
-
valueFrom
|
|
40
|
-
labelFrom
|
|
41
|
-
disabledFrom
|
|
42
|
-
groupLabelFrom
|
|
43
|
-
groupDisabledFrom
|
|
44
|
-
childrenFrom
|
|
45
|
-
placeholder: string
|
|
46
|
-
searchPlaceholder: string
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
noItemsFoundText: string
|
|
50
|
-
loadingPlaceholderText: string
|
|
51
|
-
searchInputId
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
get
|
|
80
|
-
set noBackspaceClear(v: any);
|
|
81
|
-
private _sortMultipleValues;
|
|
82
|
-
get sortMultipleValues(): boolean;
|
|
83
|
-
set sortMultipleValues(v: any);
|
|
84
|
-
private _searchCaseSensitive;
|
|
85
|
-
get searchCaseSensitive(): boolean;
|
|
86
|
-
set searchCaseSensitive(v: any);
|
|
87
|
-
private _keepSearchAfterSelect;
|
|
88
|
-
get keepSearchAfterSelect(): boolean;
|
|
89
|
-
set keepSearchAfterSelect(v: any);
|
|
90
|
-
private _maxSelectedItems;
|
|
91
|
-
get maxSelectedItems(): number | undefined;
|
|
92
|
-
set maxSelectedItems(v: any);
|
|
93
|
-
private _itemDisplayLimit;
|
|
94
|
-
get itemDisplayLimit(): number;
|
|
95
|
-
set itemDisplayLimit(v: any);
|
|
96
|
-
private _searchFn;
|
|
97
|
-
get searchFn(): SearchFn;
|
|
98
|
-
set searchFn(fn: SearchFn);
|
|
99
|
-
private _compareWith?;
|
|
100
|
-
get compareWith(): CompareWithFn | undefined;
|
|
101
|
-
set compareWith(fn: CompareWithFn | undefined);
|
|
102
|
-
appearance: FormElementAppearance;
|
|
103
|
-
variant: FormElementVariant;
|
|
104
|
-
private _compact;
|
|
105
|
-
get compact(): boolean;
|
|
106
|
-
set compact(v: any);
|
|
107
|
-
get ngClasses(): string;
|
|
108
|
-
private _dropdownAppearance?;
|
|
109
|
-
set dropdowonAppearance(v: DropdownPanelAppearance);
|
|
110
|
-
get dropdownAppearance(): DropdownPanelAppearance;
|
|
111
|
-
private _dropdownVariant?;
|
|
112
|
-
set dropdowonVariant(v: DropdownPanelVariant);
|
|
113
|
-
get dropdownVariant(): DropdownPanelVariant;
|
|
114
|
-
groupItems: boolean;
|
|
36
|
+
readonly valueFrom: import("@angular/core").InputSignal<Nullable<string>>;
|
|
37
|
+
readonly labelFrom: import("@angular/core").InputSignal<Nullable<string>>;
|
|
38
|
+
readonly disabledFrom: import("@angular/core").InputSignal<Nullable<string>>;
|
|
39
|
+
readonly groupLabelFrom: import("@angular/core").InputSignal<Nullable<string | GroupByFn>>;
|
|
40
|
+
readonly groupDisabledFrom: import("@angular/core").InputSignal<Nullable<string>>;
|
|
41
|
+
readonly childrenFrom: import("@angular/core").InputSignal<Nullable<string>>;
|
|
42
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
43
|
+
readonly searchPlaceholder: import("@angular/core").InputSignal<string>;
|
|
44
|
+
readonly clearButtonTitle: import("@angular/core").InputSignal<string>;
|
|
45
|
+
readonly dropdownPosition: import("@angular/core").InputSignal<ArdPanelPosition>;
|
|
46
|
+
readonly noItemsFoundText: import("@angular/core").InputSignal<string>;
|
|
47
|
+
readonly loadingPlaceholderText: import("@angular/core").InputSignal<string>;
|
|
48
|
+
readonly searchInputId: import("@angular/core").InputSignal<Nullable<string>>;
|
|
49
|
+
readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
|
|
50
|
+
readonly isLoading: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
51
|
+
readonly inputProps: import("@angular/core").InputSignal<Record<string, any>>;
|
|
52
|
+
readonly htmlId: import("@angular/core").InputSignal<string>;
|
|
53
|
+
readonly itemsAlreadyGrouped: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
54
|
+
readonly invertDisabled: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
55
|
+
readonly noGroupActions: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
56
|
+
readonly autoHighlightFirst: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
57
|
+
readonly autoFocus: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
58
|
+
readonly keepOpen: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
59
|
+
readonly hideSelected: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
60
|
+
readonly noBackspaceClear: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
61
|
+
readonly sortMultipleValues: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
62
|
+
readonly searchCaseSensitive: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
63
|
+
readonly keepSearchAfterSelect: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
64
|
+
readonly maxSelectedItems: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
65
|
+
readonly itemDisplayLimit: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
66
|
+
readonly searchFn: import("@angular/core").InputSignal<SearchFn>;
|
|
67
|
+
readonly compareWith: import("@angular/core").InputSignal<Nullable<SearchFn>>;
|
|
68
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
69
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
70
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
71
|
+
readonly ngClasses: Signal<string>;
|
|
72
|
+
readonly dropdownAppearance: import("@angular/core").InputSignal<Nullable<DropdownPanelAppearance>>;
|
|
73
|
+
readonly dropdownAppearanceOrDefault: Signal<DropdownPanelAppearance>;
|
|
74
|
+
readonly dropdownVariant: import("@angular/core").InputSignal<Nullable<DropdownPanelVariant>>;
|
|
75
|
+
readonly dropdownVariantOrDefault: Signal<DropdownPanelVariant>;
|
|
76
|
+
get _groupItemsHostAttribute(): Nullable<string | GroupByFn>;
|
|
115
77
|
get items(): string | any[] | null;
|
|
116
78
|
set items(value: string | any[] | null);
|
|
117
79
|
optionComponents: QueryList<ArdiumOptionComponent>;
|
|
118
80
|
private _setItemsFromComponents;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
get clearable(): boolean;
|
|
125
|
-
set clearable(v: any);
|
|
126
|
-
private _searchable;
|
|
127
|
-
get searchable(): boolean;
|
|
128
|
-
set searchable(v: any);
|
|
129
|
-
get filtered(): boolean;
|
|
130
|
-
private _touched;
|
|
131
|
-
get touched(): boolean;
|
|
132
|
-
private set touched(value);
|
|
81
|
+
readonly multiselectable: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
82
|
+
readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
83
|
+
readonly searchable: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
84
|
+
readonly filtered: Signal<boolean>;
|
|
85
|
+
readonly touched: import("@angular/core").WritableSignal<boolean>;
|
|
133
86
|
private _defaultAddCustomFn;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
set addCustom(v: string | boolean | AddCustomFn<any> | AddCustomFn<Promise<any>>);
|
|
137
|
-
get shouldShowAddCustom(): boolean;
|
|
87
|
+
readonly addCustom: import("@angular/core").InputSignalWithTransform<false | AddCustomFn<any> | AddCustomFn<Promise<any>>, string | boolean | AddCustomFn<any> | AddCustomFn<Promise<any>>>;
|
|
88
|
+
readonly shouldShowAddCustom: Signal<boolean>;
|
|
138
89
|
addCustomOption(value: string): Promise<void>;
|
|
139
90
|
setDisabledState(state: boolean): void;
|
|
140
91
|
writeValue(ngModel: any[]): void;
|
|
141
92
|
protected _emitChange(): void;
|
|
142
93
|
private _onTouched;
|
|
143
94
|
set value(newValue: any);
|
|
144
|
-
get value(): any[]
|
|
145
|
-
valueChange:
|
|
146
|
-
changeEvent:
|
|
147
|
-
addEvent:
|
|
148
|
-
failedToAddEvent:
|
|
149
|
-
removeEvent:
|
|
150
|
-
clearEvent:
|
|
151
|
-
openEvent:
|
|
152
|
-
closeEvent:
|
|
153
|
-
scrollEvent:
|
|
95
|
+
get value(): Signal<any[]>;
|
|
96
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<any[]>;
|
|
97
|
+
readonly changeEvent: import("@angular/core").OutputEmitterRef<any[]>;
|
|
98
|
+
readonly addEvent: import("@angular/core").OutputEmitterRef<any[]>;
|
|
99
|
+
readonly failedToAddEvent: import("@angular/core").OutputEmitterRef<any[]>;
|
|
100
|
+
readonly removeEvent: import("@angular/core").OutputEmitterRef<any[]>;
|
|
101
|
+
readonly clearEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
102
|
+
readonly openEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
103
|
+
readonly closeEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
104
|
+
readonly scrollEvent: import("@angular/core").OutputEmitterRef<{
|
|
154
105
|
start: number;
|
|
155
106
|
end: number;
|
|
156
107
|
}>;
|
|
157
|
-
scrollToEndEvent:
|
|
158
|
-
searchEvent:
|
|
108
|
+
readonly scrollToEndEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
109
|
+
readonly searchEvent: import("@angular/core").OutputEmitterRef<{
|
|
159
110
|
search: string;
|
|
160
111
|
matching: any[];
|
|
161
112
|
}>;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
suffixTemplate?: TemplateRef<any>;
|
|
113
|
+
readonly isOpen: import("@angular/core").ModelSignal<boolean>;
|
|
114
|
+
readonly searchInput: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
115
|
+
readonly dropdownPanel: Signal<ArdiumDropdownPanelComponent | undefined>;
|
|
116
|
+
readonly optionTemplate: Signal<ArdOptionTemplateDirective | undefined>;
|
|
117
|
+
readonly optgroupTemplate: Signal<ArdOptgroupTemplateDirective | undefined>;
|
|
118
|
+
readonly valueTemplate: Signal<ArdValueTemplateDirective | undefined>;
|
|
119
|
+
readonly placeholderTemplate: Signal<ArdSelectPlaceholderTemplateDirective | undefined>;
|
|
120
|
+
readonly loadingSpinnerTemplate: Signal<ArdLoadingSpinnerTemplateDirective | undefined>;
|
|
121
|
+
readonly loadingPlaceholderTemplate: Signal<ArdLoadingPlaceholderTemplateDirective | undefined>;
|
|
122
|
+
readonly dropdownHeaderTemplate: Signal<ArdDropdownHeaderTemplateDirective | undefined>;
|
|
123
|
+
readonly dropdownFooterTemplate: Signal<ArdDropdownFooterTemplateDirective | undefined>;
|
|
124
|
+
readonly noItemsFoundTemplate: Signal<ArdNoItemsFoundTemplateDirective | undefined>;
|
|
125
|
+
readonly addCustomTemplate: Signal<ArdAddCustomTemplateDirective | undefined>;
|
|
126
|
+
readonly itemLimitReachedTemplate: Signal<ArdItemLimitReachedTemplateDirective | undefined>;
|
|
127
|
+
readonly itemDisplayLimitTemplate: Signal<ArdItemDisplayLimitTemplateDirective | undefined>;
|
|
128
|
+
readonly prefixTemplate: Signal<ArdSelectPrefixTemplateDirective | undefined>;
|
|
129
|
+
readonly suffixTemplate: Signal<ArdSelectSuffixTemplateDirective | undefined>;
|
|
180
130
|
getValueContext(item: ArdOption): ValueContext;
|
|
181
|
-
getStatsContext
|
|
182
|
-
getSearchContext
|
|
183
|
-
getPlaceholderContext
|
|
184
|
-
getCustomOptionContext
|
|
131
|
+
readonly getStatsContext: Signal<StatsContext>;
|
|
132
|
+
readonly getSearchContext: Signal<SearchContext>;
|
|
133
|
+
readonly getPlaceholderContext: Signal<PlaceholderContext>;
|
|
134
|
+
readonly getCustomOptionContext: Signal<CustomOptionContext>;
|
|
185
135
|
getGroupContext(group: ArdOptionGroup): GroupContext;
|
|
186
|
-
getOptionContext(item: ArdOption): OptionContext
|
|
187
|
-
getItemLimitContext
|
|
188
|
-
getItemDisplayLimitContext
|
|
189
|
-
|
|
136
|
+
getOptionContext(item: ArdOption): OptionContext<ArdOption>;
|
|
137
|
+
readonly getItemLimitContext: Signal<ItemLimitContext>;
|
|
138
|
+
readonly getItemDisplayLimitContext: Signal<ItemDisplayLimitContext>;
|
|
139
|
+
private readonly elementRef;
|
|
140
|
+
private readonly _cd;
|
|
141
|
+
private readonly overlay;
|
|
142
|
+
private readonly viewContainerRef;
|
|
143
|
+
private readonly scrollStrategyOpts;
|
|
190
144
|
dropdownHost: ElementRef<HTMLDivElement>;
|
|
191
145
|
dropdownTemplate: TemplateRef<any>;
|
|
192
146
|
private dropdownOverlay?;
|
|
@@ -201,21 +155,21 @@ export declare class ArdiumSelectComponent extends _NgModelComponentBase impleme
|
|
|
201
155
|
ngOnChanges(changes: SimpleChanges): void;
|
|
202
156
|
private _onItemsLoad;
|
|
203
157
|
private _printPrimitiveWarnings;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
158
|
+
readonly firstHighlightedItem: Signal<ArdOption | undefined>;
|
|
159
|
+
readonly shouldDisplayPlaceholder: Signal<boolean>;
|
|
160
|
+
readonly shouldDisplayValue: Signal<boolean>;
|
|
161
|
+
readonly shouldShowClearButton: Signal<boolean>;
|
|
162
|
+
readonly itemsToDisplay: Signal<IterableIterator<ArdOptionGroup>>;
|
|
163
|
+
readonly shouldShowNoItemsFound: Signal<boolean>;
|
|
164
|
+
readonly totalItems: Signal<number>;
|
|
165
|
+
readonly foundItems: Signal<number | undefined>;
|
|
166
|
+
readonly shouldShowItemDisplayLimit: Signal<boolean>;
|
|
167
|
+
readonly isInputElementReadonly: Signal<boolean>;
|
|
214
168
|
isValueWithinDisplayLimit(i: number): boolean;
|
|
215
|
-
|
|
169
|
+
readonly placeholderForCurrentContext: Signal<string>;
|
|
216
170
|
filter(filterTerm: string, suppressSearchEvent?: boolean): void;
|
|
217
|
-
onSearchInputFocus(
|
|
218
|
-
onSearchInputBlur(
|
|
171
|
+
onSearchInputFocus(): void;
|
|
172
|
+
onSearchInputBlur(): void;
|
|
219
173
|
toggleItem(item: ArdOption): void;
|
|
220
174
|
selectItem(...items: ArdOption[]): void;
|
|
221
175
|
unselectItem(...items: ArdOption[]): void;
|
|
@@ -226,7 +180,7 @@ export declare class ArdiumSelectComponent extends _NgModelComponentBase impleme
|
|
|
226
180
|
onItemMouseOver(event: MouseEvent): void;
|
|
227
181
|
onItemMouseEnter(option: ArdOption, event: MouseEvent): void;
|
|
228
182
|
onItemMouseLeave(option: ArdOption, event: MouseEvent): void;
|
|
229
|
-
private _isClickedWithin;
|
|
183
|
+
private readonly _isClickedWithin;
|
|
230
184
|
onItemClick(option: ArdOption, event: MouseEvent): void;
|
|
231
185
|
onGroupClick(group: ArdOptionGroup): void;
|
|
232
186
|
handleClearButtonClick(event: MouseEvent): void;
|
|
@@ -251,5 +205,5 @@ export declare class ArdiumSelectComponent extends _NgModelComponentBase impleme
|
|
|
251
205
|
private _onBackspaceOrDeletePress;
|
|
252
206
|
private _onCtrlAPress;
|
|
253
207
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSelectComponent, never>;
|
|
254
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSelectComponent, "ard-select", never, { "valueFrom": { "alias": "valueFrom"; "required": false; }; "labelFrom": { "alias": "labelFrom"; "required": false; }; "disabledFrom": { "alias": "disabledFrom"; "required": false; }; "groupLabelFrom": { "alias": "groupLabelFrom"; "required": false; }; "groupDisabledFrom": { "alias": "groupDisabledFrom"; "required": false; }; "childrenFrom": { "alias": "childrenFrom"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "
|
|
208
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSelectComponent, "ard-select", never, { "valueFrom": { "alias": "valueFrom"; "required": false; "isSignal": true; }; "labelFrom": { "alias": "labelFrom"; "required": false; "isSignal": true; }; "disabledFrom": { "alias": "disabledFrom"; "required": false; "isSignal": true; }; "groupLabelFrom": { "alias": "groupLabelFrom"; "required": false; "isSignal": true; }; "groupDisabledFrom": { "alias": "groupDisabledFrom"; "required": false; "isSignal": true; }; "childrenFrom": { "alias": "childrenFrom"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; "isSignal": true; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; "isSignal": true; }; "noItemsFoundText": { "alias": "noItemsFoundText"; "required": false; "isSignal": true; }; "loadingPlaceholderText": { "alias": "loadingPlaceholderText"; "required": false; "isSignal": true; }; "searchInputId": { "alias": "searchInputId"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "inputProps": { "alias": "inputProps"; "required": false; "isSignal": true; }; "htmlId": { "alias": "htmlId"; "required": false; "isSignal": true; }; "itemsAlreadyGrouped": { "alias": "itemsAlreadyGrouped"; "required": false; "isSignal": true; }; "invertDisabled": { "alias": "invertDisabled"; "required": false; "isSignal": true; }; "noGroupActions": { "alias": "noGroupActions"; "required": false; "isSignal": true; }; "autoHighlightFirst": { "alias": "autoHighlightFirst"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": false; "isSignal": true; }; "keepOpen": { "alias": "keepOpen"; "required": false; "isSignal": true; }; "hideSelected": { "alias": "hideSelected"; "required": false; "isSignal": true; }; "noBackspaceClear": { "alias": "noBackspaceClear"; "required": false; "isSignal": true; }; "sortMultipleValues": { "alias": "sortMultipleValues"; "required": false; "isSignal": true; }; "searchCaseSensitive": { "alias": "searchCaseSensitive"; "required": false; "isSignal": true; }; "keepSearchAfterSelect": { "alias": "keepSearchAfterSelect"; "required": false; "isSignal": true; }; "maxSelectedItems": { "alias": "maxSelectedItems"; "required": false; "isSignal": true; }; "itemDisplayLimit": { "alias": "itemDisplayLimit"; "required": false; "isSignal": true; }; "searchFn": { "alias": "searchFn"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "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; }; "dropdownAppearance": { "alias": "dropdownAppearance"; "required": false; "isSignal": true; }; "dropdownVariant": { "alias": "dropdownVariant"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; }; "multiselectable": { "alias": "multiselectable"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "addCustom": { "alias": "addCustom"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "changeEvent": "change"; "addEvent": "add"; "failedToAddEvent": "failedToAdd"; "removeEvent": "remove"; "clearEvent": "clear"; "openEvent": "open"; "closeEvent": "close"; "scrollEvent": "scroll"; "scrollToEndEvent": "scrollToEnd"; "searchEvent": "search"; "isOpen": "isOpenChange"; }, ["optionTemplate", "optgroupTemplate", "valueTemplate", "placeholderTemplate", "loadingSpinnerTemplate", "loadingPlaceholderTemplate", "dropdownHeaderTemplate", "dropdownFooterTemplate", "noItemsFoundTemplate", "addCustomTemplate", "itemLimitReachedTemplate", "itemDisplayLimitTemplate", "prefixTemplate", "suffixTemplate", "optionComponents"], never, false, never>;
|
|
255
209
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { OptionContext } from '../types/item-storage.types';
|
|
2
|
+
import { ArdOption, OptionContext } from '../types/item-storage.types';
|
|
3
3
|
import { CustomOptionContext, GroupContext, ItemDisplayLimitContext, ItemLimitContext, PlaceholderContext, SearchContext, ValueContext } from './select.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ArdSelectPrefixTemplateDirective {
|
|
@@ -27,8 +27,8 @@ export declare class ArdValueChipTemplateDirective {
|
|
|
27
27
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdValueChipTemplateDirective, "ard-select > ng-template[ard-value-chip-tmp]", never, {}, {}, never, never, false, never>;
|
|
28
28
|
}
|
|
29
29
|
export declare class ArdOptionTemplateDirective {
|
|
30
|
-
template: TemplateRef<OptionContext
|
|
31
|
-
constructor(template: TemplateRef<OptionContext
|
|
30
|
+
template: TemplateRef<OptionContext<ArdOption>>;
|
|
31
|
+
constructor(template: TemplateRef<OptionContext<ArdOption>>);
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdOptionTemplateDirective, never>;
|
|
33
33
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdOptionTemplateDirective, "ard-select > ng-template[ard-option-tmp]", never, {}, {}, never, never, false, never>;
|
|
34
34
|
}
|
|
@@ -1,109 +1,35 @@
|
|
|
1
|
-
import { OptionContext } from '../types/item-storage.types';
|
|
2
|
-
import { ArdOptionGroup } from '../types/item-storage.types';
|
|
1
|
+
import { ArdOption, ArdOptionGroup, OptionContext } from '../types/item-storage.types';
|
|
3
2
|
export type AddCustomFn<T> = (value: string) => T;
|
|
4
|
-
|
|
5
|
-
```typescript
|
|
6
|
-
interface ValueContext {
|
|
7
|
-
$implicit: ArdOption;
|
|
8
|
-
item: ArdOption;
|
|
9
|
-
itemData: any;
|
|
3
|
+
export interface ValueContext extends OptionContext<ArdOption> {
|
|
10
4
|
unselect: () => void;
|
|
11
5
|
}
|
|
12
|
-
```
|
|
13
|
-
*/
|
|
14
|
-
export interface ValueContext extends OptionContext {
|
|
15
|
-
unselect: () => void;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
```typescript
|
|
19
|
-
interface PlaceholderContext {
|
|
20
|
-
placeholder: string;
|
|
21
|
-
$implicit: string;
|
|
22
|
-
}
|
|
23
|
-
```
|
|
24
|
-
*/
|
|
25
6
|
export interface PlaceholderContext {
|
|
26
7
|
placeholder: string;
|
|
27
8
|
$implicit: string;
|
|
28
9
|
}
|
|
29
|
-
/**
|
|
30
|
-
```typescript
|
|
31
|
-
interface StatsContext {
|
|
32
|
-
totalItems: number;
|
|
33
|
-
foundItems?: number;
|
|
34
|
-
}
|
|
35
|
-
```
|
|
36
|
-
*/
|
|
37
10
|
export interface StatsContext {
|
|
38
11
|
totalItems: number;
|
|
39
12
|
foundItems?: number;
|
|
40
13
|
}
|
|
41
|
-
/**
|
|
42
|
-
```typescript
|
|
43
|
-
interface SearchContext {
|
|
44
|
-
$implicit: string;
|
|
45
|
-
totalItems: number;
|
|
46
|
-
foundItems?: number;
|
|
47
|
-
searchTerm: string;
|
|
48
|
-
}
|
|
49
|
-
```
|
|
50
|
-
*/
|
|
51
14
|
export interface SearchContext extends StatsContext {
|
|
52
15
|
$implicit: string;
|
|
53
16
|
searchTerm: string;
|
|
54
17
|
}
|
|
55
|
-
/**
|
|
56
|
-
```typescript
|
|
57
|
-
interface SearchContext {
|
|
58
|
-
$implicit: string;
|
|
59
|
-
searchTerm: string;
|
|
60
|
-
}
|
|
61
|
-
```
|
|
62
|
-
*/
|
|
63
18
|
export interface CustomOptionContext {
|
|
64
19
|
$implicit: string;
|
|
65
20
|
searchTerm: string;
|
|
66
21
|
}
|
|
67
|
-
/**
|
|
68
|
-
```typescript
|
|
69
|
-
interface GroupContext {
|
|
70
|
-
$implicit: ArdOptionGroup;
|
|
71
|
-
group: ArdOptionGroup;
|
|
72
|
-
selectedChildren: number;
|
|
73
|
-
totalChildren: number;
|
|
74
|
-
}
|
|
75
|
-
```
|
|
76
|
-
*/
|
|
77
22
|
export interface GroupContext {
|
|
78
23
|
$implicit: ArdOptionGroup;
|
|
79
24
|
group: ArdOptionGroup;
|
|
80
25
|
selectedChildren: number;
|
|
81
26
|
totalChildren: number;
|
|
82
27
|
}
|
|
83
|
-
/**
|
|
84
|
-
```typescript
|
|
85
|
-
interface ItemLimitContext {
|
|
86
|
-
totalItems: number;
|
|
87
|
-
selectedItems: number;
|
|
88
|
-
itemLimit?: number;
|
|
89
|
-
}
|
|
90
|
-
```
|
|
91
|
-
*/
|
|
92
28
|
export interface ItemLimitContext {
|
|
93
29
|
totalItems: number;
|
|
94
30
|
selectedItems: number;
|
|
95
31
|
itemLimit?: number;
|
|
96
32
|
}
|
|
97
|
-
/**
|
|
98
|
-
```typescript
|
|
99
|
-
interface ItemDisplayLimitContext {
|
|
100
|
-
totalItems: number;
|
|
101
|
-
selectedItems: number;
|
|
102
|
-
itemLimit?: number;
|
|
103
|
-
overflowCount: number;
|
|
104
|
-
}
|
|
105
|
-
```
|
|
106
|
-
*/
|
|
107
33
|
export interface ItemDisplayLimitContext extends ItemLimitContext {
|
|
108
34
|
overflowCount: number;
|
|
109
35
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
2
|
import { ComponentColor } from '../types/colors.types';
|
|
3
3
|
import { _BooleanComponentBase } from './../_internal/boolean-component';
|
|
4
|
+
import { ArdSlideToggleAppearance } from './slide-toggle.types';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ArdiumSlideToggleComponent extends _BooleanComponentBase implements ControlValueAccessor {
|
|
6
|
-
|
|
7
|
-
color: ComponentColor
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
readonly wrapperClass: import("@angular/core").InputSignal<string | null | undefined>;
|
|
8
|
+
readonly color: import("@angular/core").InputSignal<ComponentColor>;
|
|
9
|
+
readonly appearance: import("@angular/core").InputSignal<ArdSlideToggleAppearance>;
|
|
10
|
+
readonly icon: import("@angular/core").InputSignal<string | null | undefined>;
|
|
11
|
+
readonly selectedIcon: import("@angular/core").InputSignal<string | null | undefined>;
|
|
12
|
+
readonly unselectedIcon: import("@angular/core").InputSignal<string | null | undefined>;
|
|
13
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
12
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSlideToggleComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSlideToggleComponent, "ard-slide-toggle", never, { "
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSlideToggleComponent, "ard-slide-toggle", never, { "wrapperClass": { "alias": "wrapperClass"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "selectedIcon": { "alias": "selectedIcon"; "required": false; "isSignal": true; }; "unselectedIcon": { "alias": "unselectedIcon"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
14
16
|
}
|