@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,85 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { ArdiumClickOutsideEventModule } from '@ardium-ui/devkit';
|
|
4
|
-
import { ArdiumButtonModule } from '../../buttons/button/button.module';
|
|
5
|
-
import { ArdiumCardModule } from '../../card/card.module';
|
|
6
|
-
import { ArdiumColorDisplayModule } from '../../color/color-display/color-display.module';
|
|
7
|
-
import { ArdiumColorPickerModule } from '../../color/color-picker/color-picker.module';
|
|
8
|
-
import { ArdiumFormFieldFrameModule } from '../../form-field-frame/form-field-frame.module';
|
|
9
|
-
import { _ClearButtonModule } from '../../_internal/clear-button/clear-button.module';
|
|
10
|
-
import { ArdiumColorInputComponent } from './color-input.component';
|
|
11
|
-
import { ArdColorInputActionButtonsTemplateDirective, ArdColorInputColorReferenceTemplateDirective, ArdColorInputHueIndicatorTemplateDirective, ArdColorInputOpacityIndicatorTemplateDirective, ArdColorInputPlaceholderTemplateDirective, ArdColorInputPrefixTemplateDirective, ArdColorInputShadeIndicatorTemplateDirective, ArdColorInputSuffixTemplateDirective, } from './color-input.directives';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export class ArdiumColorInputModule {
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ArdiumColorInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
15
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: ArdiumColorInputModule, declarations: [ArdiumColorInputComponent,
|
|
16
|
-
ArdColorInputPlaceholderTemplateDirective,
|
|
17
|
-
ArdColorInputPrefixTemplateDirective,
|
|
18
|
-
ArdColorInputSuffixTemplateDirective,
|
|
19
|
-
ArdColorInputShadeIndicatorTemplateDirective,
|
|
20
|
-
ArdColorInputHueIndicatorTemplateDirective,
|
|
21
|
-
ArdColorInputOpacityIndicatorTemplateDirective,
|
|
22
|
-
ArdColorInputColorReferenceTemplateDirective,
|
|
23
|
-
ArdColorInputActionButtonsTemplateDirective], imports: [CommonModule,
|
|
24
|
-
ArdiumFormFieldFrameModule,
|
|
25
|
-
_ClearButtonModule,
|
|
26
|
-
ArdiumColorPickerModule,
|
|
27
|
-
ArdiumColorDisplayModule,
|
|
28
|
-
ArdiumCardModule,
|
|
29
|
-
ArdiumClickOutsideEventModule,
|
|
30
|
-
ArdiumButtonModule], exports: [ArdiumColorInputComponent,
|
|
31
|
-
ArdColorInputPlaceholderTemplateDirective,
|
|
32
|
-
ArdColorInputPrefixTemplateDirective,
|
|
33
|
-
ArdColorInputSuffixTemplateDirective,
|
|
34
|
-
ArdColorInputShadeIndicatorTemplateDirective,
|
|
35
|
-
ArdColorInputHueIndicatorTemplateDirective,
|
|
36
|
-
ArdColorInputOpacityIndicatorTemplateDirective,
|
|
37
|
-
ArdColorInputColorReferenceTemplateDirective,
|
|
38
|
-
ArdColorInputActionButtonsTemplateDirective] }); }
|
|
39
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ArdiumColorInputModule, imports: [CommonModule,
|
|
40
|
-
ArdiumFormFieldFrameModule,
|
|
41
|
-
_ClearButtonModule,
|
|
42
|
-
ArdiumColorPickerModule,
|
|
43
|
-
ArdiumColorDisplayModule,
|
|
44
|
-
ArdiumCardModule,
|
|
45
|
-
ArdiumClickOutsideEventModule,
|
|
46
|
-
ArdiumButtonModule] }); }
|
|
47
|
-
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ArdiumColorInputModule, decorators: [{
|
|
49
|
-
type: NgModule,
|
|
50
|
-
args: [{
|
|
51
|
-
declarations: [
|
|
52
|
-
ArdiumColorInputComponent,
|
|
53
|
-
ArdColorInputPlaceholderTemplateDirective,
|
|
54
|
-
ArdColorInputPrefixTemplateDirective,
|
|
55
|
-
ArdColorInputSuffixTemplateDirective,
|
|
56
|
-
ArdColorInputShadeIndicatorTemplateDirective,
|
|
57
|
-
ArdColorInputHueIndicatorTemplateDirective,
|
|
58
|
-
ArdColorInputOpacityIndicatorTemplateDirective,
|
|
59
|
-
ArdColorInputColorReferenceTemplateDirective,
|
|
60
|
-
ArdColorInputActionButtonsTemplateDirective,
|
|
61
|
-
],
|
|
62
|
-
imports: [
|
|
63
|
-
CommonModule,
|
|
64
|
-
ArdiumFormFieldFrameModule,
|
|
65
|
-
_ClearButtonModule,
|
|
66
|
-
ArdiumColorPickerModule,
|
|
67
|
-
ArdiumColorDisplayModule,
|
|
68
|
-
ArdiumCardModule,
|
|
69
|
-
ArdiumClickOutsideEventModule,
|
|
70
|
-
ArdiumButtonModule,
|
|
71
|
-
],
|
|
72
|
-
exports: [
|
|
73
|
-
ArdiumColorInputComponent,
|
|
74
|
-
ArdColorInputPlaceholderTemplateDirective,
|
|
75
|
-
ArdColorInputPrefixTemplateDirective,
|
|
76
|
-
ArdColorInputSuffixTemplateDirective,
|
|
77
|
-
ArdColorInputShadeIndicatorTemplateDirective,
|
|
78
|
-
ArdColorInputHueIndicatorTemplateDirective,
|
|
79
|
-
ArdColorInputOpacityIndicatorTemplateDirective,
|
|
80
|
-
ArdColorInputColorReferenceTemplateDirective,
|
|
81
|
-
ArdColorInputActionButtonsTemplateDirective,
|
|
82
|
-
],
|
|
83
|
-
}]
|
|
84
|
-
}] });
|
|
85
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItaW5wdXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWkvc3JjL2xpYi9pbnB1dHMvY29sb3ItaW5wdXQvY29sb3ItaW5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FzcyBBcmRpdW1Db2xvcklucHV0TW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
3
|
-
import { ComponentColor } from '../types/colors.types';
|
|
4
|
-
import { _NgModelComponentBase } from '../_internal/ngmodel-component';
|
|
5
|
-
import { CalendarView, CalendarDayContext, CalendarDaysViewHeaderContext, CalendarFloatingMonthContext, CalendarMonthContext, CalendarMonthsViewHeaderContext, CalendarWeekdayContext, CalendarYearContext, CalendarYearsViewHeaderContext } from './calendar.types';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ArdiumCalendarComponent extends _NgModelComponentBase implements OnInit, OnChanges {
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
private _wasSelectedChecked;
|
|
10
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
-
todayDate: Date;
|
|
12
|
-
isDayToday(day: number | null): boolean;
|
|
13
|
-
isMonthToday(month: number): boolean;
|
|
14
|
-
isYearToday(year: number): boolean;
|
|
15
|
-
isDaySelected(day: number | Date | null): boolean;
|
|
16
|
-
isMonthSelected(month: number | Date): boolean;
|
|
17
|
-
isYearSelected(year: number | Date): boolean;
|
|
18
|
-
color: ComponentColor;
|
|
19
|
-
get ngClasses(): string;
|
|
20
|
-
private readonly todayYearRangeStart;
|
|
21
|
-
displayedYearRangeStart: number;
|
|
22
|
-
private _updateDisplayedYearRangeStart;
|
|
23
|
-
yearRangeArrayCache: number[] | null;
|
|
24
|
-
get yearRangeArray(): number[];
|
|
25
|
-
protected _activeDate: Date;
|
|
26
|
-
set activeDate(v: Date | string | number);
|
|
27
|
-
get activeDate(): Date;
|
|
28
|
-
get activeYear(): number;
|
|
29
|
-
set activeYear(v: any);
|
|
30
|
-
get activeMonth(): number;
|
|
31
|
-
set activeMonth(v: any);
|
|
32
|
-
protected _selected: Date | null;
|
|
33
|
-
set selected(v: any);
|
|
34
|
-
get selected(): Date | null;
|
|
35
|
-
writeValue(v: any): void;
|
|
36
|
-
yearSelected: EventEmitter<number>;
|
|
37
|
-
monthSelected: EventEmitter<number>;
|
|
38
|
-
selectedChange: EventEmitter<Date | null>;
|
|
39
|
-
activeYearChange: EventEmitter<number>;
|
|
40
|
-
activeMonthChange: EventEmitter<number>;
|
|
41
|
-
viewChange: EventEmitter<CalendarView>;
|
|
42
|
-
changeEvent: EventEmitter<Date | null>;
|
|
43
|
-
protected _emitChange(): void;
|
|
44
|
-
private _highlightedDay;
|
|
45
|
-
get highlightedDay(): number | null;
|
|
46
|
-
set highlightedDay(v: number | null);
|
|
47
|
-
setHighlightedDayAdjustDate(day: number): void;
|
|
48
|
-
private _highlightedMonth;
|
|
49
|
-
get highlightedMonth(): number | null;
|
|
50
|
-
set highlightedMonth(v: number | null);
|
|
51
|
-
setHighlightedMonthAdjustDate(month: number): void;
|
|
52
|
-
private _highlightedYear;
|
|
53
|
-
get highlightedYear(): number | null;
|
|
54
|
-
set highlightedYear(v: number | null);
|
|
55
|
-
setHighlightedYearAdjustPage(year: number): void;
|
|
56
|
-
get currentAriaLabel(): string;
|
|
57
|
-
onCalendarDayMouseover(day: number | null): void;
|
|
58
|
-
onCalendarMonthMouseover(month: number): void;
|
|
59
|
-
onCalendarYearMouseover(year: number): void;
|
|
60
|
-
private _isUsingKeyboard;
|
|
61
|
-
onDocumentMousemove(): void;
|
|
62
|
-
onDocumentKeydown(): void;
|
|
63
|
-
onCalendarDayClick(day: number | null): void;
|
|
64
|
-
onCalendarMonthClick(month: number): void;
|
|
65
|
-
onCalendarYearClick(year: number): void;
|
|
66
|
-
onDayGridFocus(): void;
|
|
67
|
-
onDayGridBlur(): void;
|
|
68
|
-
onDayGridClick(): void;
|
|
69
|
-
onMonthGridFocus(): void;
|
|
70
|
-
onMonthGridBlur(): void;
|
|
71
|
-
onMonthGridClick(): void;
|
|
72
|
-
onYearGridFocus(): void;
|
|
73
|
-
onYearGridBlur(): void;
|
|
74
|
-
onYearGridClick(): void;
|
|
75
|
-
onMainGridKeydown(event: KeyboardEvent): void;
|
|
76
|
-
private _onEnterPress;
|
|
77
|
-
private _onArrowUpPress;
|
|
78
|
-
private _onArrowDownPress;
|
|
79
|
-
private _onArrowLeftPress;
|
|
80
|
-
private _onArrowRightPress;
|
|
81
|
-
private _onHomePress;
|
|
82
|
-
private _onEndPress;
|
|
83
|
-
private _onPageUpPress;
|
|
84
|
-
private _onPageDownPress;
|
|
85
|
-
selectDay(day: number | Date | null): void;
|
|
86
|
-
selectMonth(month: number | Date | null): void;
|
|
87
|
-
selectYear(year: number | Date | null): void;
|
|
88
|
-
selectCurrentlyHighlighted(): void;
|
|
89
|
-
changeMonth(offset: number): void;
|
|
90
|
-
changeYear(offset: number): void;
|
|
91
|
-
changeYearsViewPage(pages: number): void;
|
|
92
|
-
highlightNextDay(offset?: number): void;
|
|
93
|
-
highlightPreviousDay(offset?: number): void;
|
|
94
|
-
highlightNextMonth(offset?: number): void;
|
|
95
|
-
highlightPreviousMonth(offset?: number): void;
|
|
96
|
-
highlightNextYear(offset?: number): void;
|
|
97
|
-
highlightPreviousYear(offset?: number): void;
|
|
98
|
-
highlightFirstDay(): void;
|
|
99
|
-
highlightLastDay(): void;
|
|
100
|
-
highlightFirstMonth(): void;
|
|
101
|
-
highlightLastMonth(): void;
|
|
102
|
-
highlightFirstYear(): void;
|
|
103
|
-
highlightLastYear(): void;
|
|
104
|
-
highlightSameDayNextMonth(): void;
|
|
105
|
-
highlightSameDayPreviousMonth(): void;
|
|
106
|
-
private _fixDateAfterMonthChange;
|
|
107
|
-
highlightSameDayNextYear(): void;
|
|
108
|
-
highlightSameDayPreviousYear(): void;
|
|
109
|
-
private _fixDateAfterYearChange;
|
|
110
|
-
highlightSameMonthNextYear(multiple: boolean): void;
|
|
111
|
-
highlightSameMonthPreviousYear(multiple: boolean): void;
|
|
112
|
-
highlightSameYearNextPage(multiple: boolean): void;
|
|
113
|
-
highlightSameYearPreviousPage(multiple: boolean): void;
|
|
114
|
-
protected _firstWeekday: number;
|
|
115
|
-
get firstWeekday(): number;
|
|
116
|
-
set firstWeekday(v: any);
|
|
117
|
-
protected _nointeract: boolean;
|
|
118
|
-
get nointeract(): boolean;
|
|
119
|
-
set nointeract(v: any);
|
|
120
|
-
protected _staticHeight: boolean;
|
|
121
|
-
get staticHeight(): boolean;
|
|
122
|
-
set staticHeight(v: any);
|
|
123
|
-
calendarArray: (number | null)[][];
|
|
124
|
-
reserveTopRow: boolean;
|
|
125
|
-
protected _updateCalendarArray(): void;
|
|
126
|
-
readonly monthsArray: number[];
|
|
127
|
-
private _yearsArrayCache;
|
|
128
|
-
private _yearsArrayCacheStartYear;
|
|
129
|
-
getYearsArray(): number[];
|
|
130
|
-
weekdayArray: number[];
|
|
131
|
-
protected _updateWeekdayArray(): void;
|
|
132
|
-
activeView: CalendarView;
|
|
133
|
-
set startView(v: CalendarView);
|
|
134
|
-
openYearsView(): void;
|
|
135
|
-
openMonthsView(): void;
|
|
136
|
-
openDaysView(): void;
|
|
137
|
-
yearsViewHeaderTemplate?: TemplateRef<CalendarYearsViewHeaderContext>;
|
|
138
|
-
monthsViewHeaderTemplate?: TemplateRef<CalendarMonthsViewHeaderContext>;
|
|
139
|
-
daysViewHeaderTemplate?: TemplateRef<CalendarDaysViewHeaderContext>;
|
|
140
|
-
weekdayTemplate?: TemplateRef<CalendarWeekdayContext>;
|
|
141
|
-
floatingMonthTemplate?: TemplateRef<CalendarFloatingMonthContext>;
|
|
142
|
-
yearTemplate?: TemplateRef<CalendarYearContext>;
|
|
143
|
-
monthTemplate?: TemplateRef<CalendarMonthContext>;
|
|
144
|
-
dayTemplate?: TemplateRef<CalendarDayContext>;
|
|
145
|
-
getYearsViewHeaderContext(): CalendarYearsViewHeaderContext;
|
|
146
|
-
getMonthsViewHeaderContext(): CalendarMonthsViewHeaderContext;
|
|
147
|
-
getDaysViewHeaderContext(): CalendarDaysViewHeaderContext;
|
|
148
|
-
getWeekdayContext(dayIndex: number): CalendarWeekdayContext;
|
|
149
|
-
getFloatingMonthContext(): CalendarFloatingMonthContext;
|
|
150
|
-
getYearContext(year: number): CalendarYearContext;
|
|
151
|
-
getMonthContext(month: number): CalendarMonthContext;
|
|
152
|
-
getDayContext(day: number): CalendarDayContext;
|
|
153
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCalendarComponent, never>;
|
|
154
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCalendarComponent, "ard-calendar", never, { "color": { "alias": "color"; "required": false; }; "activeYear": { "alias": "activeYear"; "required": false; }; "activeMonth": { "alias": "activeMonth"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "firstWeekday": { "alias": "firstWeekday"; "required": false; }; "nointeract": { "alias": "nointeract"; "required": false; }; "staticHeight": { "alias": "staticHeight"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "selectedChange": "selectedChange"; "activeYearChange": "activeYearChange"; "activeMonthChange": "activeMonthChange"; "viewChange": "viewChange"; "changeEvent": "change"; }, ["yearsViewHeaderTemplate", "monthsViewHeaderTemplate", "daysViewHeaderTemplate", "weekdayTemplate", "floatingMonthTemplate", "yearTemplate", "monthTemplate", "dayTemplate"], never, false, never>;
|
|
155
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { CalendarDayContext, CalendarFloatingMonthContext, CalendarDaysViewHeaderContext, CalendarMonthContext, CalendarWeekdayContext, CalendarYearContext, CalendarMonthsViewHeaderContext, CalendarYearsViewHeaderContext } from './calendar.types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ArdDaysViewHeaderTemplateDirective {
|
|
5
|
-
template: TemplateRef<CalendarDaysViewHeaderContext>;
|
|
6
|
-
constructor(template: TemplateRef<CalendarDaysViewHeaderContext>);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdDaysViewHeaderTemplateDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdDaysViewHeaderTemplateDirective, "ard-calendar > ng-template[ard-header-tmp], ard-datepicker > ng-template[ard-header-tmp]", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
10
|
-
export declare class ArdYearsViewHeaderTemplateDirective {
|
|
11
|
-
template: TemplateRef<CalendarYearsViewHeaderContext>;
|
|
12
|
-
constructor(template: TemplateRef<CalendarYearsViewHeaderContext>);
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdYearsViewHeaderTemplateDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdYearsViewHeaderTemplateDirective, "ard-calendar > ng-template[ard-year-picker-header-tmp], ard-datepicker > ng-template[ard-year-picker-header-tmp]", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
16
|
-
export declare class ArdMonthsViewHeaderTemplateDirective {
|
|
17
|
-
template: TemplateRef<CalendarMonthsViewHeaderContext>;
|
|
18
|
-
constructor(template: TemplateRef<CalendarMonthsViewHeaderContext>);
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdMonthsViewHeaderTemplateDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdMonthsViewHeaderTemplateDirective, "ard-calendar > ng-template[ard-month-picker-header-tmp], ard-datepicker > ng-template[ard-month-picker-header-tmp]", never, {}, {}, never, never, false, never>;
|
|
21
|
-
}
|
|
22
|
-
export declare class ArdWeekdayTemplateDirective {
|
|
23
|
-
template: TemplateRef<CalendarWeekdayContext>;
|
|
24
|
-
constructor(template: TemplateRef<CalendarWeekdayContext>);
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdWeekdayTemplateDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdWeekdayTemplateDirective, "ard-calendar > ng-template[ard-weekday-tmp], ard-datepicker > ng-template[ard-weekday-tmp]", never, {}, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
28
|
-
export declare class ArdFloatingMonthTemplateDirective {
|
|
29
|
-
template: TemplateRef<CalendarFloatingMonthContext>;
|
|
30
|
-
constructor(template: TemplateRef<CalendarFloatingMonthContext>);
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdFloatingMonthTemplateDirective, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdFloatingMonthTemplateDirective, "ard-calendar > ng-template[ard-floating-month-tmp], ard-datepicker > ng-template[ard-floating-month-tmp]", never, {}, {}, never, never, false, never>;
|
|
33
|
-
}
|
|
34
|
-
export declare class ArdYearTemplateDirective {
|
|
35
|
-
template: TemplateRef<CalendarYearContext>;
|
|
36
|
-
constructor(template: TemplateRef<CalendarYearContext>);
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdYearTemplateDirective, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdYearTemplateDirective, "ard-calendar > ng-template[ard-year-tmp], ard-datepicker > ng-template[ard-year-tmp]", never, {}, {}, never, never, false, never>;
|
|
39
|
-
}
|
|
40
|
-
export declare class ArdMonthTemplateDirective {
|
|
41
|
-
template: TemplateRef<CalendarMonthContext>;
|
|
42
|
-
constructor(template: TemplateRef<CalendarMonthContext>);
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdMonthTemplateDirective, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdMonthTemplateDirective, "ard-calendar > ng-template[ard-month-tmp], ard-datepicker > ng-template[ard-month-tmp]", never, {}, {}, never, never, false, never>;
|
|
45
|
-
}
|
|
46
|
-
export declare class ArdDayTemplateDirective {
|
|
47
|
-
template: TemplateRef<CalendarDayContext>;
|
|
48
|
-
constructor(template: TemplateRef<CalendarDayContext>);
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdDayTemplateDirective, never>;
|
|
50
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdDayTemplateDirective, "ard-calendar > ng-template[ard-day-tmp], ard-datepicker > ng-template[ard-day-tmp]", never, {}, {}, never, never, false, never>;
|
|
51
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type CalendarArray = {
|
|
2
|
-
array: (number | null)[][];
|
|
3
|
-
leadingSpaces: number;
|
|
4
|
-
trailingSpaces: number;
|
|
5
|
-
weeks: number;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Generates a layout array to be used to create a calendar page for the given date's month.
|
|
9
|
-
*
|
|
10
|
-
* The returned object contains an array to create the layout from, the number of leading and trailing spaces in the layout, and the number of weeks (full or not) in the month.
|
|
11
|
-
* @param date The date to get the month from.
|
|
12
|
-
* @param firstWeekday The index of the first weekday in the calendar layout. Starts at Sunday, with the index 0. Defaults to 1.
|
|
13
|
-
* @returns A {@link CalendarArray} object.
|
|
14
|
-
*/
|
|
15
|
-
export declare function getMonthLayout(date: Date, firstWeekday?: number): CalendarArray;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./calendar.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../buttons/button/button.module";
|
|
5
|
-
import * as i4 from "../buttons/icon-button/icon-button.module";
|
|
6
|
-
import * as i5 from "../icon/icon.module";
|
|
7
|
-
export declare class ArdiumCalendarModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCalendarModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumCalendarModule, [typeof i1.ArdiumCalendarComponent], [typeof i2.CommonModule, typeof i3.ArdiumButtonModule, typeof i4.ArdiumIconButtonModule, typeof i5.ArdiumIconModule], [typeof i1.ArdiumCalendarComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumCalendarModule>;
|
|
11
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
export declare const CalendarRangeVariant: {
|
|
2
|
-
readonly Row: "row";
|
|
3
|
-
readonly OutlineRounded: "outline-rounded";
|
|
4
|
-
readonly OutlineSharp: "outline-sharp";
|
|
5
|
-
};
|
|
6
|
-
export type CalendarRangeVariant = (typeof CalendarRangeVariant)[keyof typeof CalendarRangeVariant];
|
|
7
|
-
export type DateRange = {
|
|
8
|
-
low: Date;
|
|
9
|
-
high: Date;
|
|
10
|
-
};
|
|
11
|
-
export type YearRange = {
|
|
12
|
-
low: number;
|
|
13
|
-
high: number;
|
|
14
|
-
};
|
|
15
|
-
export declare const CalendarView: {
|
|
16
|
-
readonly Years: "years";
|
|
17
|
-
readonly Months: "months";
|
|
18
|
-
readonly Days: "days";
|
|
19
|
-
};
|
|
20
|
-
export type CalendarView = (typeof CalendarView)[keyof typeof CalendarView];
|
|
21
|
-
export type CalendarYearsViewHeaderContext = {
|
|
22
|
-
nextPage: () => void;
|
|
23
|
-
prevPage: () => void;
|
|
24
|
-
openDaysView: () => void;
|
|
25
|
-
yearRange: YearRange;
|
|
26
|
-
dateRange: DateRange;
|
|
27
|
-
$implicit: DateRange;
|
|
28
|
-
};
|
|
29
|
-
export type CalendarMonthsViewHeaderContext = {
|
|
30
|
-
openDaysView: () => void;
|
|
31
|
-
openYearsView: () => void;
|
|
32
|
-
year: number;
|
|
33
|
-
date: Date;
|
|
34
|
-
$implicit: number;
|
|
35
|
-
};
|
|
36
|
-
export type CalendarDaysViewHeaderContext = {
|
|
37
|
-
nextMonth: () => void;
|
|
38
|
-
prevMonth: () => void;
|
|
39
|
-
nextYear: () => void;
|
|
40
|
-
prevYear: () => void;
|
|
41
|
-
openYearsView: () => void;
|
|
42
|
-
openMonthsView: () => void;
|
|
43
|
-
year: number;
|
|
44
|
-
month: number;
|
|
45
|
-
date: Date;
|
|
46
|
-
$implicit: Date;
|
|
47
|
-
};
|
|
48
|
-
export type CalendarWeekdayContext = {
|
|
49
|
-
dayIndex: number;
|
|
50
|
-
date: Date;
|
|
51
|
-
$implicit: Date;
|
|
52
|
-
};
|
|
53
|
-
export type CalendarFloatingMonthContext = {
|
|
54
|
-
month: number;
|
|
55
|
-
date: Date;
|
|
56
|
-
$implicit: Date;
|
|
57
|
-
};
|
|
58
|
-
export type CalendarYearContext = {
|
|
59
|
-
value: number;
|
|
60
|
-
date: Date;
|
|
61
|
-
$implicit: number;
|
|
62
|
-
select: (year: number) => void;
|
|
63
|
-
};
|
|
64
|
-
export type CalendarMonthContext = {
|
|
65
|
-
month: number;
|
|
66
|
-
date: Date;
|
|
67
|
-
$implicit: Date;
|
|
68
|
-
select: (month: number | Date) => void;
|
|
69
|
-
};
|
|
70
|
-
export type CalendarDayContext = {
|
|
71
|
-
value: number;
|
|
72
|
-
date: Date;
|
|
73
|
-
$implicit: number;
|
|
74
|
-
select: (day: number | Date) => void;
|
|
75
|
-
};
|
|
76
|
-
export type CalendarActionButtonsContext = {
|
|
77
|
-
cancel: () => void;
|
|
78
|
-
apply: () => void;
|
|
79
|
-
reset: () => void;
|
|
80
|
-
};
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as Color from 'color';
|
|
3
|
-
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
4
|
-
import { ColorPickerColorReferenceContext, ColorPickerIndicatorContext, ColorPickerVariant, _ColorPickerInputsSectionType } from './color-picker.types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
type TripleInputObject = {
|
|
7
|
-
value: number;
|
|
8
|
-
max: number;
|
|
9
|
-
};
|
|
10
|
-
export declare class ArdiumColorPickerComponent extends _NgModelComponentBase implements OnInit {
|
|
11
|
-
private _withOpacity;
|
|
12
|
-
get withOpacity(): boolean;
|
|
13
|
-
set withOpacity(v: any);
|
|
14
|
-
private _referenceColor;
|
|
15
|
-
private _wasReferenceColorSet;
|
|
16
|
-
set referenceColor(v: any);
|
|
17
|
-
get referenceColor(): Color;
|
|
18
|
-
wrapperClasses: string;
|
|
19
|
-
variant: ColorPickerVariant;
|
|
20
|
-
private _vertical;
|
|
21
|
-
get vertical(): boolean;
|
|
22
|
-
set vertical(v: any);
|
|
23
|
-
get ngClasses(): string;
|
|
24
|
-
private _value;
|
|
25
|
-
private _exactHue;
|
|
26
|
-
set value(v: any);
|
|
27
|
-
get value(): Color;
|
|
28
|
-
set colorHue(v: any);
|
|
29
|
-
get colorHue(): number;
|
|
30
|
-
set colorSaturation(v: any);
|
|
31
|
-
get colorSaturation(): number;
|
|
32
|
-
set colorValue(v: any);
|
|
33
|
-
get colorValue(): number;
|
|
34
|
-
set colorOpacity(v: any);
|
|
35
|
-
get colorOpacity(): number;
|
|
36
|
-
valueChange: EventEmitter<Color<string | number | Color<string | number | Color<string | number | Color<string | number | Color<string | number | Color<string | number | Color<string | number | Color<string | number | Color<string | number | Color<string | number | Color<string | number | Color<string | number | any | ArrayLike<number> | {
|
|
37
|
-
[key: string]: any;
|
|
38
|
-
}> | ArrayLike<number> | {
|
|
39
|
-
[key: string]: any;
|
|
40
|
-
}> | ArrayLike<number> | {
|
|
41
|
-
[key: string]: any;
|
|
42
|
-
}> | ArrayLike<number> | {
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
}> | ArrayLike<number> | {
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
}> | ArrayLike<number> | {
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
}> | ArrayLike<number> | {
|
|
49
|
-
[key: string]: any;
|
|
50
|
-
}> | ArrayLike<number> | {
|
|
51
|
-
[key: string]: any;
|
|
52
|
-
}> | ArrayLike<number> | {
|
|
53
|
-
[key: string]: any;
|
|
54
|
-
}> | ArrayLike<number> | {
|
|
55
|
-
[key: string]: any;
|
|
56
|
-
}> | ArrayLike<number> | {
|
|
57
|
-
[key: string]: any;
|
|
58
|
-
}> | ArrayLike<number> | {
|
|
59
|
-
[key: string]: any;
|
|
60
|
-
}>>;
|
|
61
|
-
colorHueChange: EventEmitter<number>;
|
|
62
|
-
colorSaturationChange: EventEmitter<number>;
|
|
63
|
-
colorValueChange: EventEmitter<number>;
|
|
64
|
-
colorOpacityChange: EventEmitter<number>;
|
|
65
|
-
writeValue(v: any): void;
|
|
66
|
-
ngOnInit(): void;
|
|
67
|
-
shadeMapEl: ElementRef<HTMLDivElement>;
|
|
68
|
-
hueMapEl: ElementRef<HTMLDivElement>;
|
|
69
|
-
opacityMapEl: ElementRef<HTMLDivElement>;
|
|
70
|
-
focusedArea: 'shade' | 'hue' | 'opacity' | null;
|
|
71
|
-
onShadeAreaMouseDown(event: MouseEvent): void;
|
|
72
|
-
onHueAreaMouseDown(event: MouseEvent): void;
|
|
73
|
-
onOpacityAreaMouseDown(event: MouseEvent): void;
|
|
74
|
-
private _isMouseDown;
|
|
75
|
-
onDocumentMouseUp(): void;
|
|
76
|
-
onDocumentMousemove(event: MouseEvent | TouchEvent): void;
|
|
77
|
-
private _updateShadeFromEvent;
|
|
78
|
-
private _updateHueFromEvent;
|
|
79
|
-
private _updateOpacityFromEvent;
|
|
80
|
-
currentShadeMapColor: Color;
|
|
81
|
-
private _updateCurrentShadeMapColor;
|
|
82
|
-
currentOpacityMapColor: Color;
|
|
83
|
-
private _updateCurrentOpacityMapColor;
|
|
84
|
-
getShadeIndicatorPosition(): {
|
|
85
|
-
'--top': string;
|
|
86
|
-
'--left': string;
|
|
87
|
-
};
|
|
88
|
-
getHueIndicatorPosition(): {
|
|
89
|
-
'--top': string;
|
|
90
|
-
};
|
|
91
|
-
getOpacityIndicatorPosition(): {
|
|
92
|
-
'--top': string;
|
|
93
|
-
};
|
|
94
|
-
inputTypes: _ColorPickerInputsSectionType[];
|
|
95
|
-
currentInputType: _ColorPickerInputsSectionType;
|
|
96
|
-
onCurrentInputTypeChange(value: _ColorPickerInputsSectionType[]): void;
|
|
97
|
-
hexInputValue: string;
|
|
98
|
-
private _updateHexInputValue;
|
|
99
|
-
tripleInputData1: TripleInputObject;
|
|
100
|
-
tripleInputData2: TripleInputObject;
|
|
101
|
-
tripleInputData3: TripleInputObject;
|
|
102
|
-
tripleInputData4: TripleInputObject;
|
|
103
|
-
private _updateTripleInputValues;
|
|
104
|
-
onHexInputChange(value: string): void;
|
|
105
|
-
onTripleInputChange(value: number | null, index: number): void;
|
|
106
|
-
protected _emitChange(): void;
|
|
107
|
-
shadeIndicatorTemplate?: TemplateRef<any>;
|
|
108
|
-
hueIndicatorTemplate?: TemplateRef<any>;
|
|
109
|
-
opacityIndicatorTemplate?: TemplateRef<any>;
|
|
110
|
-
colorReferenceTemplate?: TemplateRef<any>;
|
|
111
|
-
shadeIndicatorTemplateChild?: TemplateRef<any>;
|
|
112
|
-
hueIndicatorTemplateChild?: TemplateRef<any>;
|
|
113
|
-
opacityIndicatorTemplateChild?: TemplateRef<any>;
|
|
114
|
-
colorReferenceTemplateChild?: TemplateRef<any>;
|
|
115
|
-
getIndicatorContext(): ColorPickerIndicatorContext;
|
|
116
|
-
getColorReferenceContext(): ColorPickerColorReferenceContext;
|
|
117
|
-
onKeydown(event: KeyboardEvent): void;
|
|
118
|
-
nudgeColorSaturation(direction: 1 | -1, hasShift?: boolean): void;
|
|
119
|
-
nudgeColorValue(direction: 1 | -1, hasShift?: boolean): void;
|
|
120
|
-
nudgeColorHue(direction: 1 | -1, hasShift?: boolean): void;
|
|
121
|
-
nudgeColorOpacity(direction: 1 | -1, hasShift?: boolean): void;
|
|
122
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumColorPickerComponent, never>;
|
|
123
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumColorPickerComponent, "ard-color-picker", never, { "withOpacity": { "alias": "withOpacity"; "required": false; }; "referenceColor": { "alias": "referenceColor"; "required": false; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "value": { "alias": "value"; "required": false; }; "colorHue": { "alias": "colorHue"; "required": false; }; "colorSaturation": { "alias": "colorSaturation"; "required": false; }; "colorValue": { "alias": "colorValue"; "required": false; }; "colorOpacity": { "alias": "colorOpacity"; "required": false; }; "shadeIndicatorTemplate": { "alias": "shadeIndicatorTemplate"; "required": false; }; "hueIndicatorTemplate": { "alias": "hueIndicatorTemplate"; "required": false; }; "opacityIndicatorTemplate": { "alias": "opacityIndicatorTemplate"; "required": false; }; "colorReferenceTemplate": { "alias": "colorReferenceTemplate"; "required": false; }; }, { "valueChange": "valueChange"; "colorHueChange": "colorHueChange"; "colorSaturationChange": "colorSaturationChange"; "colorValueChange": "colorValueChange"; "colorOpacityChange": "colorOpacityChange"; }, ["shadeIndicatorTemplateChild", "hueIndicatorTemplateChild", "opacityIndicatorTemplateChild", "colorReferenceTemplateChild"], never, false, never>;
|
|
124
|
-
}
|
|
125
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { ColorPickerColorReferenceContext, ColorPickerIndicatorContext } from './color-picker.types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ArdColorPickerShadeIndicatorTemplateDirective {
|
|
5
|
-
template: TemplateRef<ColorPickerIndicatorContext>;
|
|
6
|
-
constructor(template: TemplateRef<ColorPickerIndicatorContext>);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorPickerShadeIndicatorTemplateDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorPickerShadeIndicatorTemplateDirective, "ard-color-picker > ng-template[ard-shade-indicator-tmp]", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
10
|
-
export declare class ArdColorPickerHueIndicatorTemplateDirective {
|
|
11
|
-
template: TemplateRef<ColorPickerIndicatorContext>;
|
|
12
|
-
constructor(template: TemplateRef<ColorPickerIndicatorContext>);
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorPickerHueIndicatorTemplateDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorPickerHueIndicatorTemplateDirective, "ard-color-picker > ng-template[ard-hue-indicator-tmp]", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
16
|
-
export declare class ArdColorPickerOpacityIndicatorTemplateDirective {
|
|
17
|
-
template: TemplateRef<ColorPickerIndicatorContext>;
|
|
18
|
-
constructor(template: TemplateRef<ColorPickerIndicatorContext>);
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorPickerOpacityIndicatorTemplateDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorPickerOpacityIndicatorTemplateDirective, "ard-color-picker > ng-template[ard-opacity-indicator-tmp]", never, {}, {}, never, never, false, never>;
|
|
21
|
-
}
|
|
22
|
-
export declare class ArdColorPickerColorReferenceTemplateDirective {
|
|
23
|
-
template: TemplateRef<ColorPickerColorReferenceContext>;
|
|
24
|
-
constructor(template: TemplateRef<ColorPickerColorReferenceContext>);
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorPickerColorReferenceTemplateDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorPickerColorReferenceTemplateDirective, "ard-color-picker > ng-template[ard-color-reference-tmp]", never, {}, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./color-picker.component";
|
|
3
|
-
import * as i2 from "./color-picker.directives";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "../../select/select.module";
|
|
6
|
-
import * as i5 from "../../option/option.module";
|
|
7
|
-
import * as i6 from "../../inputs/number-input/number-input.module";
|
|
8
|
-
import * as i7 from "../../inputs/hex-input/hex-input.module";
|
|
9
|
-
export declare class ArdiumColorPickerModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumColorPickerModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumColorPickerModule, [typeof i1.ArdiumColorPickerComponent, typeof i2.ArdColorPickerHueIndicatorTemplateDirective, typeof i2.ArdColorPickerShadeIndicatorTemplateDirective, typeof i2.ArdColorPickerColorReferenceTemplateDirective, typeof i2.ArdColorPickerOpacityIndicatorTemplateDirective], [typeof i3.CommonModule, typeof i4.ArdiumSelectModule, typeof i5.ArdiumOptionModule, typeof i6.ArdiumNumberInputModule, typeof i7.ArdiumHexInputModule], [typeof i1.ArdiumColorPickerComponent, typeof i2.ArdColorPickerHueIndicatorTemplateDirective, typeof i2.ArdColorPickerShadeIndicatorTemplateDirective, typeof i2.ArdColorPickerColorReferenceTemplateDirective, typeof i2.ArdColorPickerOpacityIndicatorTemplateDirective]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumColorPickerModule>;
|
|
13
|
-
}
|