@ardium-ui/ui 4.4.1 → 5.0.0-alpha.0
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/fesm2022/ardium-ui-ui.mjs +2525 -2413
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/boolean-component.d.ts +1 -1
- package/lib/_internal/disablable-component.d.ts +1 -1
- package/lib/_internal/focusable-component.d.ts +1 -1
- package/lib/_internal/form-field-component.d.ts +1 -1
- package/lib/_internal/ngmodel-component.d.ts +2 -2
- package/lib/_internal/selectable-list-component.d.ts +1 -1
- package/lib/_internal/utils/date.utils.d.ts +3 -0
- package/lib/buttons/_button-base.d.ts +1 -1
- package/lib/calendar/calendar.component.d.ts +8 -2
- package/lib/file-inputs/file-input-base.d.ts +7 -3
- package/lib/form-field/form-field-base.d.ts +1 -1
- package/lib/inputs/_simple-input-base.d.ts +3 -3
- package/lib/inputs/autocomplete-input/autocomplete-input.component.d.ts +66 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.defaults.d.ts +15 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.directives.d.ts +33 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.module.d.ts +13 -0
- package/lib/inputs/autocomplete-input/index.d.ts +3 -0
- package/lib/inputs/date-input/date-input.component.d.ts +5 -2
- package/lib/inputs/input/index.d.ts +2 -1
- package/lib/inputs/input/input.component.d.ts +3 -56
- package/lib/inputs/input/input.defaults.d.ts +1 -10
- package/lib/inputs/input/input.directives.d.ts +0 -13
- package/lib/inputs/input/input.module.d.ts +3 -5
- package/lib/inputs/input-utils.d.ts +8 -8
- package/lib/inputs/number-input/number-input.component.d.ts +1 -0
- package/lib/option/option.component.d.ts +1 -1
- package/lib/slider/abstract-slider.d.ts +1 -1
- package/package.json +1 -3
- package/prebuilt-themes/default/inputs/{simple-input.css → autocomplete-input.css} +40 -15
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/file-input.css +9 -4
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +0 -25
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/public-api.d.ts +1 -1
- package/themes/default/inputs/autocomplete-input.scss +46 -0
- package/themes/default/inputs/file-input.scss +10 -2
- package/themes/default/inputs/input.scss +0 -34
- package/esm2022/ardium-ui-ui.mjs +0 -5
- package/esm2022/lib/_internal/boolean-component.mjs +0 -95
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +0 -15
- package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +0 -18
- package/esm2022/lib/_internal/disablable-component.mjs +0 -51
- package/esm2022/lib/_internal/focusable-component.mjs +0 -85
- package/esm2022/lib/_internal/form-field-component.mjs +0 -33
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +0 -453
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +0 -370
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +0 -157
- package/esm2022/lib/_internal/models/pagination.model.mjs +0 -90
- package/esm2022/lib/_internal/models/queue.mjs +0 -59
- package/esm2022/lib/_internal/ngmodel-component.mjs +0 -99
- package/esm2022/lib/_internal/public-api.mjs +0 -2
- package/esm2022/lib/_internal/selectable-list-component.mjs +0 -271
- package/esm2022/lib/badge/badge.defaults.mjs +0 -20
- package/esm2022/lib/badge/badge.directive.mjs +0 -97
- package/esm2022/lib/badge/badge.module.mjs +0 -18
- package/esm2022/lib/badge/badge.types.mjs +0 -16
- package/esm2022/lib/badge/index.mjs +0 -5
- package/esm2022/lib/buttons/_button-base.defaults.mjs +0 -17
- package/esm2022/lib/buttons/_button-base.mjs +0 -26
- package/esm2022/lib/buttons/button/button.component.mjs +0 -38
- package/esm2022/lib/buttons/button/button.defaults.mjs +0 -17
- package/esm2022/lib/buttons/button/button.module.mjs +0 -18
- package/esm2022/lib/buttons/button/index.mjs +0 -4
- package/esm2022/lib/buttons/fab/fab.component.mjs +0 -33
- package/esm2022/lib/buttons/fab/fab.defaults.mjs +0 -17
- package/esm2022/lib/buttons/fab/fab.module.mjs +0 -18
- package/esm2022/lib/buttons/fab/index.mjs +0 -4
- package/esm2022/lib/buttons/general-button.types.mjs +0 -55
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +0 -39
- package/esm2022/lib/buttons/icon-button/icon-button.defaults.mjs +0 -9
- package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +0 -18
- package/esm2022/lib/buttons/icon-button/index.mjs +0 -4
- package/esm2022/lib/calendar/calendar.component.mjs +0 -466
- package/esm2022/lib/calendar/calendar.defaults.mjs +0 -26
- package/esm2022/lib/calendar/calendar.directives.mjs +0 -107
- package/esm2022/lib/calendar/calendar.internal-directives.mjs +0 -22
- package/esm2022/lib/calendar/calendar.internal-types.mjs +0 -2
- package/esm2022/lib/calendar/calendar.module.mjs +0 -71
- package/esm2022/lib/calendar/calendar.types.mjs +0 -6
- package/esm2022/lib/calendar/index.mjs +0 -6
- package/esm2022/lib/calendar/views/days-view/days-view.component.mjs +0 -282
- package/esm2022/lib/calendar/views/days-view/days-view.helpers.mjs +0 -65
- package/esm2022/lib/calendar/views/months-view/months-view.component.mjs +0 -245
- package/esm2022/lib/calendar/views/months-view/months-view.helpers.mjs +0 -22
- package/esm2022/lib/calendar/views/years-view/years-view.component.mjs +0 -244
- package/esm2022/lib/calendar/views/years-view/years-view.helpers.mjs +0 -14
- package/esm2022/lib/card/card.children.mjs +0 -96
- package/esm2022/lib/card/card.component.mjs +0 -38
- package/esm2022/lib/card/card.defaults.mjs +0 -17
- package/esm2022/lib/card/card.module.mjs +0 -59
- package/esm2022/lib/card/card.types.mjs +0 -9
- package/esm2022/lib/card/index.mjs +0 -6
- package/esm2022/lib/checkbox/checkbox.component.mjs +0 -68
- package/esm2022/lib/checkbox/checkbox.defaults.mjs +0 -17
- package/esm2022/lib/checkbox/checkbox.directives.mjs +0 -14
- package/esm2022/lib/checkbox/checkbox.internal-directives.mjs +0 -15
- package/esm2022/lib/checkbox/checkbox.module.mjs +0 -20
- package/esm2022/lib/checkbox/checkbox.types.mjs +0 -6
- package/esm2022/lib/checkbox/index.mjs +0 -6
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +0 -116
- package/esm2022/lib/checkbox-list/checkbox-list.defaults.mjs +0 -25
- package/esm2022/lib/checkbox-list/checkbox-list.directives.mjs +0 -14
- package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +0 -21
- package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +0 -7
- package/esm2022/lib/checkbox-list/index.mjs +0 -6
- package/esm2022/lib/chip/chip.component.mjs +0 -36
- package/esm2022/lib/chip/chip.defaults.mjs +0 -20
- package/esm2022/lib/chip/chip.module.mjs +0 -21
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +0 -53
- package/esm2022/lib/chip/deletable-chip/deletable-chip.defaults.mjs +0 -17
- package/esm2022/lib/chip/index.mjs +0 -8
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +0 -53
- package/esm2022/lib/chip/selectable-chip/selectable-chip.defaults.mjs +0 -18
- package/esm2022/lib/dialog/dialog.component.mjs +0 -109
- package/esm2022/lib/dialog/dialog.defaults.mjs +0 -26
- package/esm2022/lib/dialog/dialog.directives.mjs +0 -25
- package/esm2022/lib/dialog/dialog.module.mjs +0 -21
- package/esm2022/lib/dialog/dialog.types.mjs +0 -10
- package/esm2022/lib/dialog/index.mjs +0 -6
- package/esm2022/lib/divider/divider.component.mjs +0 -19
- package/esm2022/lib/divider/divider.defaults.mjs +0 -13
- package/esm2022/lib/divider/divider.module.mjs +0 -18
- package/esm2022/lib/divider/index.mjs +0 -4
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +0 -112
- package/esm2022/lib/dropdown-panel/dropdown-panel.defaults.mjs +0 -17
- package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +0 -18
- package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +0 -10
- package/esm2022/lib/dropdown-panel/index.mjs +0 -5
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +0 -70
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.defaults.mjs +0 -18
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +0 -42
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +0 -52
- package/esm2022/lib/file-inputs/file-drop-area/index.mjs +0 -5
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +0 -120
- package/esm2022/lib/file-inputs/file-input/file-input.defaults.mjs +0 -23
- package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +0 -86
- package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +0 -55
- package/esm2022/lib/file-inputs/file-input/index.mjs +0 -5
- package/esm2022/lib/file-inputs/file-input-base.defaults.mjs +0 -8
- package/esm2022/lib/file-inputs/file-input-base.mjs +0 -333
- package/esm2022/lib/file-inputs/file-input-types.mjs +0 -8
- package/esm2022/lib/form-field/error/error.component.mjs +0 -17
- package/esm2022/lib/form-field/error/error.directive.mjs +0 -17
- package/esm2022/lib/form-field/form-field-base.mjs +0 -53
- package/esm2022/lib/form-field/form-field-child.token.mjs +0 -3
- package/esm2022/lib/form-field/form-field-native-inputs.mjs +0 -80
- package/esm2022/lib/form-field/form-field.component.mjs +0 -12
- package/esm2022/lib/form-field/form-field.defaults.mjs +0 -17
- package/esm2022/lib/form-field/form-field.module.mjs +0 -49
- package/esm2022/lib/form-field/hint/hint.component.mjs +0 -17
- package/esm2022/lib/form-field/hint/hint.directive.mjs +0 -30
- package/esm2022/lib/form-field/horizontal-form-field.component.mjs +0 -12
- package/esm2022/lib/form-field/index.mjs +0 -10
- package/esm2022/lib/form-field/label/label.component.mjs +0 -27
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +0 -58
- package/esm2022/lib/form-field-frame/form-field-frame.defaults.mjs +0 -18
- package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +0 -25
- package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +0 -19
- package/esm2022/lib/form-field-frame/index.mjs +0 -5
- package/esm2022/lib/icon/icon.component.mjs +0 -52
- package/esm2022/lib/icon/icon.defaults.mjs +0 -17
- package/esm2022/lib/icon/icon.module.mjs +0 -19
- package/esm2022/lib/icon/icon.pipe.mjs +0 -18
- package/esm2022/lib/icon/index.mjs +0 -5
- package/esm2022/lib/inputs/_simple-input-base.mjs +0 -153
- package/esm2022/lib/inputs/date-input/date-input.component.mjs +0 -375
- package/esm2022/lib/inputs/date-input/date-input.defaults.mjs +0 -38
- package/esm2022/lib/inputs/date-input/date-input.directive.mjs +0 -163
- package/esm2022/lib/inputs/date-input/date-input.module.mjs +0 -108
- package/esm2022/lib/inputs/date-input/date-input.serializers.mjs +0 -49
- package/esm2022/lib/inputs/date-input/date-input.types.mjs +0 -5
- package/esm2022/lib/inputs/date-input/index.mjs +0 -6
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +0 -265
- package/esm2022/lib/inputs/digit-input/digit-input.defaults.mjs +0 -24
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +0 -267
- package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +0 -19
- package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +0 -15
- package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +0 -8
- package/esm2022/lib/inputs/digit-input/index.mjs +0 -5
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +0 -180
- package/esm2022/lib/inputs/hex-input/hex-input.defaults.mjs +0 -26
- package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +0 -36
- package/esm2022/lib/inputs/hex-input/hex-input.model.mjs +0 -97
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +0 -37
- package/esm2022/lib/inputs/hex-input/index.mjs +0 -5
- package/esm2022/lib/inputs/input/index.mjs +0 -4
- package/esm2022/lib/inputs/input/input.component.mjs +0 -278
- package/esm2022/lib/inputs/input/input.defaults.mjs +0 -21
- package/esm2022/lib/inputs/input/input.directives.mjs +0 -58
- package/esm2022/lib/inputs/input/input.module.mjs +0 -61
- package/esm2022/lib/inputs/input-transformers.mjs +0 -66
- package/esm2022/lib/inputs/input-types.mjs +0 -6
- package/esm2022/lib/inputs/input-utils.mjs +0 -186
- package/esm2022/lib/inputs/number-input/index.mjs +0 -5
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +0 -245
- package/esm2022/lib/inputs/number-input/number-input.defaults.mjs +0 -27
- package/esm2022/lib/inputs/number-input/number-input.directives.mjs +0 -14
- package/esm2022/lib/inputs/number-input/number-input.module.mjs +0 -21
- package/esm2022/lib/inputs/password-input/index.mjs +0 -6
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +0 -167
- package/esm2022/lib/inputs/password-input/password-input.defaults.mjs +0 -24
- package/esm2022/lib/inputs/password-input/password-input.directives.mjs +0 -49
- package/esm2022/lib/inputs/password-input/password-input.module.mjs +0 -41
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +0 -2
- package/esm2022/lib/inputs/simple-input/index.mjs +0 -5
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +0 -50
- package/esm2022/lib/inputs/simple-input/simple-input.defaults.mjs +0 -25
- package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +0 -36
- package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +0 -37
- package/esm2022/lib/kbd/index.mjs +0 -6
- package/esm2022/lib/kbd/kbd.component.mjs +0 -30
- package/esm2022/lib/kbd/kbd.defaults.mjs +0 -15
- package/esm2022/lib/kbd/kbd.directive.mjs +0 -33
- package/esm2022/lib/kbd/kbd.module.mjs +0 -20
- package/esm2022/lib/kbd/kbd.pipe.mjs +0 -21
- package/esm2022/lib/kbd-shortcut/index.mjs +0 -4
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +0 -36
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.defaults.mjs +0 -8
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +0 -19
- package/esm2022/lib/modal/index.mjs +0 -5
- package/esm2022/lib/modal/modal.component.mjs +0 -95
- package/esm2022/lib/modal/modal.defaults.mjs +0 -20
- package/esm2022/lib/modal/modal.directives.mjs +0 -14
- package/esm2022/lib/modal/modal.module.mjs +0 -22
- package/esm2022/lib/option/index.mjs +0 -3
- package/esm2022/lib/option/option.component.mjs +0 -55
- package/esm2022/lib/option/option.module.mjs +0 -18
- package/esm2022/lib/progress-bar/index.mjs +0 -6
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +0 -58
- package/esm2022/lib/progress-bar/progress-bar.defaults.mjs +0 -21
- package/esm2022/lib/progress-bar/progress-bar.directive.mjs +0 -14
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +0 -19
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +0 -19
- package/esm2022/lib/progress-circle/index.mjs +0 -6
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +0 -45
- package/esm2022/lib/progress-circle/progress-circle.defaults.mjs +0 -21
- package/esm2022/lib/progress-circle/progress-circle.directive.mjs +0 -14
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +0 -19
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +0 -10
- package/esm2022/lib/radio/index.mjs +0 -5
- package/esm2022/lib/radio/radio/radio.component.mjs +0 -119
- package/esm2022/lib/radio/radio/radio.defaults.mjs +0 -16
- package/esm2022/lib/radio/radio-group.component.mjs +0 -203
- package/esm2022/lib/radio/radio.module.mjs +0 -19
- package/esm2022/lib/search-functions.mjs +0 -64
- package/esm2022/lib/segment/index.mjs +0 -6
- package/esm2022/lib/segment/segment.component.mjs +0 -125
- package/esm2022/lib/segment/segment.defaults.mjs +0 -26
- package/esm2022/lib/segment/segment.directives.mjs +0 -14
- package/esm2022/lib/segment/segment.module.mjs +0 -19
- package/esm2022/lib/segment/segment.types.mjs +0 -13
- package/esm2022/lib/select/index.mjs +0 -6
- package/esm2022/lib/select/select.component.mjs +0 -836
- package/esm2022/lib/select/select.defaults.mjs +0 -53
- package/esm2022/lib/select/select.directive.mjs +0 -171
- package/esm2022/lib/select/select.module.mjs +0 -112
- package/esm2022/lib/select/select.types.mjs +0 -2
- package/esm2022/lib/slide-toggle/index.mjs +0 -5
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +0 -43
- package/esm2022/lib/slide-toggle/slide-toggle.defaults.mjs +0 -21
- package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +0 -18
- package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +0 -5
- package/esm2022/lib/slider/abstract-slider.mjs +0 -251
- package/esm2022/lib/slider/index.mjs +0 -8
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +0 -151
- package/esm2022/lib/slider/range-slider/range-slider.module.mjs +0 -18
- package/esm2022/lib/slider/slider.component.mjs +0 -100
- package/esm2022/lib/slider/slider.defaults.mjs +0 -14
- package/esm2022/lib/slider/slider.directive.mjs +0 -16
- package/esm2022/lib/slider/slider.module.mjs +0 -20
- package/esm2022/lib/slider/slider.types.mjs +0 -10
- package/esm2022/lib/snackbar/index.mjs +0 -5
- package/esm2022/lib/snackbar/snackbar-ref.mjs +0 -51
- package/esm2022/lib/snackbar/snackbar.component.mjs +0 -48
- package/esm2022/lib/snackbar/snackbar.service.mjs +0 -224
- package/esm2022/lib/snackbar/snackbar.token.mjs +0 -26
- package/esm2022/lib/snackbar/snackbar.types.mjs +0 -25
- package/esm2022/lib/spinner/index.mjs +0 -4
- package/esm2022/lib/spinner/spinner.component.mjs +0 -19
- package/esm2022/lib/spinner/spinner.defaults.mjs +0 -14
- package/esm2022/lib/spinner/spinner.module.mjs +0 -18
- package/esm2022/lib/star/index.mjs +0 -6
- package/esm2022/lib/star/rating-display/index.mjs +0 -6
- package/esm2022/lib/star/rating-display/rating-display.component.mjs +0 -71
- package/esm2022/lib/star/rating-display/rating-display.defaults.mjs +0 -16
- package/esm2022/lib/star/rating-display/rating-display.directives.mjs +0 -16
- package/esm2022/lib/star/rating-display/rating-display.module.mjs +0 -20
- package/esm2022/lib/star/rating-display/rating-display.types.mjs +0 -2
- package/esm2022/lib/star/rating-input/index.mjs +0 -6
- package/esm2022/lib/star/rating-input/rating-input.component.mjs +0 -191
- package/esm2022/lib/star/rating-input/rating-input.defaults.mjs +0 -17
- package/esm2022/lib/star/rating-input/rating-input.directives.mjs +0 -16
- package/esm2022/lib/star/rating-input/rating-input.module.mjs +0 -20
- package/esm2022/lib/star/rating-input/rating-input.types.mjs +0 -2
- package/esm2022/lib/star/star-button/index.mjs +0 -6
- package/esm2022/lib/star/star-button/star-button.component.mjs +0 -55
- package/esm2022/lib/star/star-button/star-button.defaults.mjs +0 -18
- package/esm2022/lib/star/star-button/star-button.directives.mjs +0 -16
- package/esm2022/lib/star/star-button/star-button.module.mjs +0 -20
- package/esm2022/lib/star/star-button/star-button.types.mjs +0 -2
- package/esm2022/lib/star/star.component.mjs +0 -36
- package/esm2022/lib/star/star.defaults.mjs +0 -15
- package/esm2022/lib/star/star.directives.mjs +0 -16
- package/esm2022/lib/star/star.module.mjs +0 -20
- package/esm2022/lib/star/star.types.mjs +0 -23
- package/esm2022/lib/statebox/index.mjs +0 -4
- package/esm2022/lib/statebox/statebox.component.mjs +0 -114
- package/esm2022/lib/statebox/statebox.defaults.mjs +0 -20
- package/esm2022/lib/statebox/statebox.module.mjs +0 -18
- package/esm2022/lib/statebox/statebox.types.mjs +0 -2
- package/esm2022/lib/tabber/index.mjs +0 -6
- package/esm2022/lib/tabber/tab/tab.component.mjs +0 -44
- package/esm2022/lib/tabber/tab/tab.defaults.mjs +0 -13
- package/esm2022/lib/tabber/tabber.component.mjs +0 -90
- package/esm2022/lib/tabber/tabber.defaults.mjs +0 -19
- package/esm2022/lib/tabber/tabber.module.mjs +0 -19
- package/esm2022/lib/table/index.mjs +0 -6
- package/esm2022/lib/table/table-item-storage.mjs +0 -564
- package/esm2022/lib/table/table.component.mjs +0 -367
- package/esm2022/lib/table/table.defaults.mjs +0 -53
- package/esm2022/lib/table/table.directives.mjs +0 -62
- package/esm2022/lib/table/table.module.mjs +0 -47
- package/esm2022/lib/table/table.types.mjs +0 -30
- package/esm2022/lib/table/utils.mjs +0 -18
- package/esm2022/lib/table-from-csv/index.mjs +0 -4
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +0 -120
- package/esm2022/lib/table-from-csv/table-from-csv.defaults.mjs +0 -15
- package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +0 -19
- package/esm2022/lib/table-pagination/index.mjs +0 -5
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +0 -108
- package/esm2022/lib/table-pagination/table-pagination.defaults.mjs +0 -25
- package/esm2022/lib/table-pagination/table-pagination.module.mjs +0 -21
- package/esm2022/lib/table-pagination/table-pagination.types.mjs +0 -7
- package/esm2022/lib/text-list/index.mjs +0 -4
- package/esm2022/lib/text-list/text-list.component.mjs +0 -18
- package/esm2022/lib/text-list/text-list.module.mjs +0 -19
- package/esm2022/lib/text-list/text-list.pipe.mjs +0 -16
- package/esm2022/lib/types/alignment.types.mjs +0 -10
- package/esm2022/lib/types/button.types.mjs +0 -6
- package/esm2022/lib/types/colors.types.mjs +0 -43
- package/esm2022/lib/types/item-storage.types.mjs +0 -6
- package/esm2022/lib/types/theming.types.mjs +0 -48
- package/esm2022/lib/types/utility.types.mjs +0 -5
- package/esm2022/public-api.mjs +0 -74
- package/lib/inputs/simple-input/index.d.ts +0 -4
- package/lib/inputs/simple-input/simple-input.component.d.ts +0 -13
- package/lib/inputs/simple-input/simple-input.defaults.d.ts +0 -6
- package/lib/inputs/simple-input/simple-input.directives.d.ts +0 -20
- package/lib/inputs/simple-input/simple-input.module.d.ts +0 -11
- package/prebuilt-themes/default/inputs/simple-input.css.map +0 -1
- package/themes/default/inputs/simple-input.scss +0 -12
|
@@ -84,5 +84,5 @@ export declare abstract class _AbstractSlider<T> extends _NgModelComponentBase {
|
|
|
84
84
|
protected _decrement(event: KeyboardEvent, steps?: number): void;
|
|
85
85
|
protected _increment(event: KeyboardEvent, steps?: number): void;
|
|
86
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<_AbstractSlider<any>, never>;
|
|
87
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_AbstractSlider<any>, never, never, { "noTooltip": { "alias": "noTooltip"; "required": false; "isSignal": true; }; "tooltipFormatFn": { "alias": "tooltipFormatFn"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "shiftMultiplier": { "alias": "shiftMultiplier"; "required": false; "isSignal": true; }; "showValueTicks": { "alias": "showValueTicks"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "tooltipBehavior": { "alias": "tooltipBehavior"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, ["tooltipTemplate"], never,
|
|
87
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_AbstractSlider<any>, never, never, { "noTooltip": { "alias": "noTooltip"; "required": false; "isSignal": true; }; "tooltipFormatFn": { "alias": "tooltipFormatFn"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "shiftMultiplier": { "alias": "shiftMultiplier"; "required": false; "isSignal": true; }; "showValueTicks": { "alias": "showValueTicks"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "tooltipBehavior": { "alias": "tooltipBehavior"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, ["tooltipTemplate"], never, true, never>;
|
|
88
88
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ardium-ui/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-alpha.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
@@ -29,8 +29,6 @@
|
|
|
29
29
|
},
|
|
30
30
|
".": {
|
|
31
31
|
"types": "./index.d.ts",
|
|
32
|
-
"esm2022": "./esm2022/ardium-ui-ui.mjs",
|
|
33
|
-
"esm": "./esm2022/ardium-ui-ui.mjs",
|
|
34
32
|
"default": "./fesm2022/ardium-ui-ui.mjs"
|
|
35
33
|
}
|
|
36
34
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
-
.ard-
|
|
4
|
+
.ard-autocomplete-input {
|
|
5
5
|
position: relative;
|
|
6
6
|
font-family: "Roboto", sans-serif;
|
|
7
7
|
display: flex;
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
min-width: 10rem;
|
|
17
17
|
max-width: 100%;
|
|
18
18
|
}
|
|
19
|
-
.ard-
|
|
19
|
+
.ard-autocomplete-input .ard-input-container {
|
|
20
20
|
flex-grow: 1;
|
|
21
21
|
text-size-adjust: 100%;
|
|
22
22
|
display: flex;
|
|
23
23
|
align-items: center;
|
|
24
24
|
}
|
|
25
|
-
.ard-
|
|
25
|
+
.ard-autocomplete-input .ard-input-container .ard-placeholder {
|
|
26
26
|
font: inherit;
|
|
27
27
|
opacity: 60%;
|
|
28
28
|
white-space: nowrap;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
max-width: 100%;
|
|
32
32
|
pointer-events: none;
|
|
33
33
|
}
|
|
34
|
-
.ard-
|
|
34
|
+
.ard-autocomplete-input .ard-input-container input {
|
|
35
35
|
border: none;
|
|
36
36
|
background: transparent;
|
|
37
37
|
outline: none;
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
display: block;
|
|
41
41
|
width: 100%;
|
|
42
42
|
}
|
|
43
|
-
.ard-
|
|
43
|
+
.ard-autocomplete-input.ard-compact {
|
|
44
44
|
height: 1.5625em;
|
|
45
45
|
font-size: 0.85em;
|
|
46
46
|
line-height: 1;
|
|
47
47
|
}
|
|
48
|
-
.ard-
|
|
48
|
+
.ard-autocomplete-input ard-clear-button {
|
|
49
49
|
height: var(--ard-clear-button-size);
|
|
50
50
|
width: var(--ard-clear-button-size);
|
|
51
51
|
position: relative;
|
|
52
52
|
}
|
|
53
|
-
.ard-
|
|
53
|
+
.ard-autocomplete-input .ard-clear-btn-wrapper {
|
|
54
54
|
cursor: pointer;
|
|
55
55
|
font-size: medium;
|
|
56
56
|
color: var(--ard-detail);
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
outline: none;
|
|
69
69
|
color: inherit;
|
|
70
70
|
}
|
|
71
|
-
.ard-
|
|
71
|
+
.ard-autocomplete-input .ard-clear-btn-wrapper .ard-hitbox {
|
|
72
72
|
position: absolute;
|
|
73
73
|
left: -1px;
|
|
74
74
|
right: -1px;
|
|
75
75
|
top: -1px;
|
|
76
76
|
bottom: -1px;
|
|
77
77
|
}
|
|
78
|
-
.ard-
|
|
78
|
+
.ard-autocomplete-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
79
79
|
position: absolute;
|
|
80
80
|
top: -1px;
|
|
81
81
|
bottom: -1px;
|
|
@@ -87,27 +87,52 @@
|
|
|
87
87
|
transition: opacity 0.2s ease;
|
|
88
88
|
background: currentColor;
|
|
89
89
|
}
|
|
90
|
-
.ard-
|
|
90
|
+
.ard-autocomplete-input .ard-clear-btn-wrapper .ard-clear-btn {
|
|
91
91
|
position: absolute;
|
|
92
92
|
left: 50%;
|
|
93
93
|
top: 50%;
|
|
94
94
|
transform: translate(-50%, -50%);
|
|
95
95
|
}
|
|
96
|
-
.ard-
|
|
96
|
+
.ard-autocomplete-input .ard-clear-btn-wrapper .ard-clear-btn::before {
|
|
97
97
|
content: "close";
|
|
98
98
|
font-family: "Material Symbols Outlined";
|
|
99
99
|
font-size: 1.5em;
|
|
100
100
|
font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
|
|
101
101
|
font-size: 70%;
|
|
102
102
|
}
|
|
103
|
-
.ard-
|
|
103
|
+
.ard-autocomplete-input .ard-clear-btn-wrapper:hover .ard-focus-overlay {
|
|
104
104
|
opacity: 5%;
|
|
105
105
|
}
|
|
106
|
-
.ard-
|
|
106
|
+
.ard-autocomplete-input .ard-clear-btn-wrapper:focus .ard-focus-overlay {
|
|
107
107
|
opacity: 8%;
|
|
108
108
|
}
|
|
109
|
-
.ard-
|
|
109
|
+
.ard-autocomplete-input .ard-clear-btn-wrapper:active .ard-focus-overlay {
|
|
110
110
|
opacity: 15%;
|
|
111
111
|
}
|
|
112
|
+
.ard-autocomplete-input .ard-autocomplete {
|
|
113
|
+
opacity: 37.5%;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.ard-input-suggestions-panel .ard-option {
|
|
117
|
+
padding: 0.375rem 0.625rem;
|
|
118
|
+
font-size: 1rem;
|
|
119
|
+
color: var(--ard-text2);
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
}
|
|
122
|
+
.ard-input-suggestions-panel .ard-option.ard-option-highlighted {
|
|
123
|
+
background: var(--ard-darken-overlay-light);
|
|
124
|
+
}
|
|
125
|
+
.ard-input-suggestions-panel .ard-option.ard-option-selected {
|
|
126
|
+
font-weight: 500;
|
|
127
|
+
background: var(--ard-darken-overlay-medium);
|
|
128
|
+
}
|
|
129
|
+
.ard-input-suggestions-panel .ard-option.ard-option-disabled {
|
|
130
|
+
pointer-events: none;
|
|
131
|
+
opacity: 50%;
|
|
132
|
+
}
|
|
133
|
+
.ard-input-suggestions-panel .ard-compact .ard-option {
|
|
134
|
+
padding: 0.25rem 0.5rem;
|
|
135
|
+
font-size: 0.9rem;
|
|
136
|
+
}
|
|
112
137
|
|
|
113
|
-
/*# sourceMappingURL=
|
|
138
|
+
/*# sourceMappingURL=autocomplete-input.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/autocomplete-input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACGA;EDCE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ECRA;EACA;EACA;;ADQA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AE3CF;EACE,QCkCgB;EDjChB,OCiCgB;EDhChB;;AAGF;EACE;EACA;EACA,OCGK;EDFL,OCyBgB;EDxBhB,QCwBgB;EDvBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EEvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EE7CN;EACA;EACA,yBACE;EF4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE;;ADvDN;EACE;;;AAKF;EACE;EACA;EACA,OEdI;EFeJ;;AAEA;EACE,YEEiB;;AFCnB;EACE;EACA,YEJkB;;AFOpB;EACE;EACA;;AAIF;EACE;EACA","file":"autocomplete-input.css"}
|
|
@@ -214,10 +214,10 @@
|
|
|
214
214
|
}
|
|
215
215
|
.ard-file-input .ard-browse-button .ard-focus-overlay {
|
|
216
216
|
position: absolute;
|
|
217
|
-
top: -0;
|
|
218
|
-
bottom: -0;
|
|
219
|
-
left: -0;
|
|
220
|
-
right: -0;
|
|
217
|
+
top: -0.25rem;
|
|
218
|
+
bottom: -0.25rem;
|
|
219
|
+
left: -0.25rem;
|
|
220
|
+
right: -0.25rem;
|
|
221
221
|
opacity: 0;
|
|
222
222
|
border-radius: inherit;
|
|
223
223
|
pointer-events: none;
|
|
@@ -323,4 +323,9 @@ ard-file-input .ard-form-field-content-container {
|
|
|
323
323
|
max-width: 100%;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
+
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-file-input__value,
|
|
327
|
+
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-browse-button {
|
|
328
|
+
color: rgb(var(--ard-danger-700));
|
|
329
|
+
}
|
|
330
|
+
|
|
326
331
|
/*# sourceMappingURL=file-input.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/file-input.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACKE;EACE;;;AAGJ;EDLE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ECDA;EACA;EACA;EACA;EACA;EACA;;AChBA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AFrHF;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AC1BF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EErCF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EF8BI,YGlDI;EHmDJ;;AAGA;EACE;;AAIF;EACE;;AAIF;EACE;;AAIF;EACE;;AIpEN;EACE,QDkCgB;ECjChB,ODiCgB;EChChB;;AAGF;EACE;EACA;EACA,ODGK;ECFL,ODyBgB;ECxBhB,QDwBgB;ECvBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EFvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EEgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EF7CN;EACA;EACA,yBACE;EE4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE;;AJWN;EACE;;AAEF;AAAA;AAAA;AAAA;AAAA;EAKE;EACA;EACA;;AAEF;EACE;EACA;EACA;;;AAGJ;EACE","file":"file-input.css"}
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/file-input.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACKE;EACE;;;AAGJ;EDLE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ECDA;EACA;EACA;EACA;EACA;EACA;;AChBA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AFrHF;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AC1BF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EErCF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EF8BI,YGlDI;EHmDJ;;AAGA;EACE;;AAIF;EACE;;AAIF;EACE;;AAIF;EACE;;AIpEN;EACE,QDkCgB;ECjChB,ODiCgB;EChChB;;AAGF;EACE;EACA;EACA,ODGK;ECFL,ODyBgB;ECxBhB,QDwBgB;ECvBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EFvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EEgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EF7CN;EACA;EACA,yBACE;EE4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE;;AJWN;EACE;;AAEF;AAAA;AAAA;AAAA;AAAA;EAKE;EACA;EACA;;AAEF;EACE;EACA;EACA;;;AAGJ;EACE;;;AAIE;AAAA;EAEE,OG1BM","file":"file-input.css"}
|
|
@@ -109,30 +109,5 @@
|
|
|
109
109
|
.ard-input .ard-clear-btn-wrapper:active .ard-focus-overlay {
|
|
110
110
|
opacity: 15%;
|
|
111
111
|
}
|
|
112
|
-
.ard-input .ard-autocomplete {
|
|
113
|
-
opacity: 37.5%;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.ard-input-suggestions-panel .ard-option {
|
|
117
|
-
padding: 0.375rem 0.625rem;
|
|
118
|
-
font-size: 1rem;
|
|
119
|
-
color: var(--ard-text2);
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
}
|
|
122
|
-
.ard-input-suggestions-panel .ard-option.ard-option-highlighted {
|
|
123
|
-
background: var(--ard-darken-overlay-light);
|
|
124
|
-
}
|
|
125
|
-
.ard-input-suggestions-panel .ard-option.ard-option-selected {
|
|
126
|
-
font-weight: 500;
|
|
127
|
-
background: var(--ard-darken-overlay-medium);
|
|
128
|
-
}
|
|
129
|
-
.ard-input-suggestions-panel .ard-option.ard-option-disabled {
|
|
130
|
-
pointer-events: none;
|
|
131
|
-
opacity: 50%;
|
|
132
|
-
}
|
|
133
|
-
.ard-input-suggestions-panel .ard-compact .ard-option {
|
|
134
|
-
padding: 0.25rem 0.5rem;
|
|
135
|
-
font-size: 0.9rem;
|
|
136
|
-
}
|
|
137
112
|
|
|
138
113
|
/*# sourceMappingURL=input.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACEA;EDEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ECTA;EACA;EACA;;ADSA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AE3CF;EACE,QCkCgB;EDjChB,OCiCgB;EDhChB;;AAGF;EACE;EACA;EACA,OCGK;EDFL,OCyBgB;EDxBhB,QCwBgB;EDvBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EEvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EE7CN;EACA;EACA,yBACE;EF4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE","file":"input.css"}
|
package/public-api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'first-last';
|
|
2
|
+
export * from './lib/inputs/autocomplete-input';
|
|
2
3
|
export * from './lib/inputs/digit-input';
|
|
3
4
|
export * from './lib/inputs/input';
|
|
4
5
|
export * from './lib/inputs/password-input';
|
|
5
|
-
export * from './lib/inputs/simple-input';
|
|
6
6
|
export * from './lib/option';
|
|
7
7
|
export * from './lib/select';
|
|
8
8
|
export * from './lib/file-inputs/file-drop-area';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@use './shared' as inputMixin;
|
|
2
|
+
@use '../mixins' as defaultMixins;
|
|
3
|
+
@use '../clear-button' as CB;
|
|
4
|
+
@use '../../variables' as ARD;
|
|
5
|
+
|
|
6
|
+
.ard-autocomplete-input {
|
|
7
|
+
@include inputMixin.genericInput();
|
|
8
|
+
padding: 0 0.375rem;
|
|
9
|
+
min-width: 10rem;
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
|
|
12
|
+
@include CB.clearButton();
|
|
13
|
+
|
|
14
|
+
.ard-autocomplete {
|
|
15
|
+
opacity: 37.5%;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//! suggestions
|
|
19
|
+
.ard-input-suggestions-panel {
|
|
20
|
+
.ard-option {
|
|
21
|
+
padding: 0.375rem 0.625rem;
|
|
22
|
+
font-size: 1rem;
|
|
23
|
+
color: ARD.$text2;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
|
|
26
|
+
&.ard-option-highlighted {
|
|
27
|
+
background: ARD.$darken-overlay-light;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.ard-option-selected {
|
|
31
|
+
font-weight: 500;
|
|
32
|
+
background: ARD.$darken-overlay-medium;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.ard-option-disabled {
|
|
36
|
+
pointer-events: none;
|
|
37
|
+
opacity: 50%;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.ard-compact {
|
|
41
|
+
.ard-option {
|
|
42
|
+
padding: 0.25rem 0.5rem;
|
|
43
|
+
font-size: 0.9rem;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
outline: none;
|
|
50
50
|
|
|
51
51
|
.ard-focus-overlay {
|
|
52
|
-
@include defaultMixins.focus-overlay();
|
|
52
|
+
@include defaultMixins.focus-overlay(0.25rem);
|
|
53
53
|
background: ARD.$overlay;
|
|
54
54
|
border-radius: 9999px;
|
|
55
55
|
}
|
|
@@ -97,4 +97,12 @@
|
|
|
97
97
|
}
|
|
98
98
|
ard-file-input .ard-form-field-content-container {
|
|
99
99
|
max-width: 100%;
|
|
100
|
-
}
|
|
100
|
+
}
|
|
101
|
+
ard-file-input .ard-form-field-frame {
|
|
102
|
+
&.ard-has-error .ard-file-input {
|
|
103
|
+
.ard-file-input__value,
|
|
104
|
+
.ard-browse-button {
|
|
105
|
+
color: ARD.$danger700;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use './shared' as inputMixin;
|
|
2
2
|
@use '../mixins' as defaultMixins;
|
|
3
3
|
@use '../clear-button' as CB;
|
|
4
|
-
@use '../../variables' as ARD;
|
|
5
4
|
|
|
6
5
|
.ard-input {
|
|
7
6
|
@include inputMixin.genericInput();
|
|
@@ -10,37 +9,4 @@
|
|
|
10
9
|
max-width: 100%;
|
|
11
10
|
|
|
12
11
|
@include CB.clearButton();
|
|
13
|
-
|
|
14
|
-
.ard-autocomplete {
|
|
15
|
-
opacity: 37.5%;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
//! suggestions
|
|
19
|
-
.ard-input-suggestions-panel {
|
|
20
|
-
.ard-option {
|
|
21
|
-
padding: 0.375rem 0.625rem;
|
|
22
|
-
font-size: 1rem;
|
|
23
|
-
color: ARD.$text2;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
|
|
26
|
-
&.ard-option-highlighted {
|
|
27
|
-
background: ARD.$darken-overlay-light;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&.ard-option-selected {
|
|
31
|
-
font-weight: 500;
|
|
32
|
-
background: ARD.$darken-overlay-medium;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.ard-option-disabled {
|
|
36
|
-
pointer-events: none;
|
|
37
|
-
opacity: 50%;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
.ard-compact {
|
|
41
|
-
.ard-option {
|
|
42
|
-
padding: 0.25rem 0.5rem;
|
|
43
|
-
font-size: 0.9rem;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
12
|
}
|
package/esm2022/ardium-ui-ui.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJkaXVtLXVpLXVpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvdWkvc3JjL2FyZGl1bS11aS11aS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { Directive, HostBinding, Input, output, signal } from '@angular/core';
|
|
2
|
-
import { coerceBooleanProperty } from '@ardium-ui/devkit';
|
|
3
|
-
import { _NgModelComponentBase, _ngModelComponentDefaults } from './ngmodel-component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export const _booleanComponentDefaults = _ngModelComponentDefaults;
|
|
6
|
-
/**
|
|
7
|
-
* Common code for components, which only operate on the "selected" state.
|
|
8
|
-
*/
|
|
9
|
-
export class _BooleanComponentBase extends _NgModelComponentBase {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
//! events
|
|
13
|
-
/**
|
|
14
|
-
* The event emitter responsible for firing `select` events. Fired when the `selected` state is set to true.
|
|
15
|
-
*/
|
|
16
|
-
this.selectEvent = output({ alias: 'select' });
|
|
17
|
-
/**
|
|
18
|
-
* The event emitter responsible for firing `unselect` events. Fired when the `selected` state is set to false.
|
|
19
|
-
*/
|
|
20
|
-
this.unselectEvent = output({ alias: 'unselect' });
|
|
21
|
-
/**
|
|
22
|
-
* The event emitter responsible for firing `change` events. Fired when the `selected` state is changed.
|
|
23
|
-
*/
|
|
24
|
-
this.changeEvent = output({ alias: 'change' });
|
|
25
|
-
//! [(selected)] two-way binding
|
|
26
|
-
// can be set using a no-value argument
|
|
27
|
-
this.selected = signal(false);
|
|
28
|
-
/**
|
|
29
|
-
* The event emitter responsible for firing `selectedChange` events. Fired when the `selected` state is changed.
|
|
30
|
-
*/
|
|
31
|
-
this.selectedChange = output();
|
|
32
|
-
}
|
|
33
|
-
//! control value accessor
|
|
34
|
-
writeValue(v) {
|
|
35
|
-
this._selected = v;
|
|
36
|
-
}
|
|
37
|
-
//emitter function
|
|
38
|
-
/**
|
|
39
|
-
* Emits all select-state-related events.
|
|
40
|
-
*/
|
|
41
|
-
_emitChange() {
|
|
42
|
-
this._onChangeRegistered?.(this.selected());
|
|
43
|
-
if (this.selected())
|
|
44
|
-
this.selectEvent.emit(null);
|
|
45
|
-
else
|
|
46
|
-
this.unselectEvent.emit(null);
|
|
47
|
-
this.selectedChange.emit(this.selected());
|
|
48
|
-
this.changeEvent.emit(this.selected());
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* The selection state of the component. Coercible into a boolean.
|
|
52
|
-
*/
|
|
53
|
-
set _selected(v) {
|
|
54
|
-
this.selected.set(coerceBooleanProperty(v));
|
|
55
|
-
}
|
|
56
|
-
get _selectedHostAttribute() {
|
|
57
|
-
return this.selected();
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Toggles the selected state. Emits all appropriate events.
|
|
61
|
-
*/
|
|
62
|
-
toggleSelected() {
|
|
63
|
-
this.selected.update(v => !v);
|
|
64
|
-
this._emitChange();
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Sets the state to "selected". Emits all appropriate events only if the state changes.
|
|
68
|
-
*/
|
|
69
|
-
select() {
|
|
70
|
-
this.selected.set(true);
|
|
71
|
-
this._emitChange();
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Sets the state to "unselected". Emits all appropriate events only if the state changes.
|
|
75
|
-
*/
|
|
76
|
-
unselect() {
|
|
77
|
-
this.selected.set(false);
|
|
78
|
-
this._emitChange();
|
|
79
|
-
}
|
|
80
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: _BooleanComponentBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
81
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: _BooleanComponentBase, inputs: { _selected: ["selected", "_selected"] }, outputs: { selectEvent: "select", unselectEvent: "unselect", changeEvent: "change", selectedChange: "selectedChange" }, host: { properties: { "attr.selected": "this._selectedHostAttribute", "class.ard-selected": "this._selectedHostAttribute" } }, usesInheritance: true, ngImport: i0 }); }
|
|
82
|
-
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: _BooleanComponentBase, decorators: [{
|
|
84
|
-
type: Directive
|
|
85
|
-
}], propDecorators: { _selected: [{
|
|
86
|
-
type: Input,
|
|
87
|
-
args: ['selected']
|
|
88
|
-
}], _selectedHostAttribute: [{
|
|
89
|
-
type: HostBinding,
|
|
90
|
-
args: ['attr.selected']
|
|
91
|
-
}, {
|
|
92
|
-
type: HostBinding,
|
|
93
|
-
args: ['class.ard-selected']
|
|
94
|
-
}] } });
|
|
95
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9vbGVhbi1jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS9zcmMvbGliL19pbnRlcm5hbC9ib29sZWFuLWNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUU5RSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUMxRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUseUJBQXlCLEVBQTZCLE1BQU0scUJBQXFCLENBQUM7O0FBR2xILE1BQU0sQ0FBQyxNQUFNLHlCQUF5QixHQUE4Qix5QkFBeUIsQ0FBQztBQUU5Rjs7R0FFRztBQUVILE1BQU0sT0FBZ0IscUJBQXNCLFNBQVEscUJBQXFCO0lBRHpFOztRQXNCRSxVQUFVO1FBQ1Y7O1dBRUc7UUFDTSxnQkFBVyxHQUFHLE1BQU0sQ0FBTyxFQUFFLEtBQUssRUFBRSxRQUFRLEVBQUUsQ0FBQyxDQUFDO1FBQ3pEOztXQUVHO1FBQ00sa0JBQWEsR0FBRyxNQUFNLENBQU8sRUFBRSxLQU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ICogVG9nZ2xlcyB0aGUgc2VsZWN0ZWQgc3RhdGUuIEVtaXRzIGFsbCBhcHByb3ByaWF0ZSBldmVudHMuXHJcbiAgICovXHJcbiAgdG9nZ2xlU2VsZWN0ZWQoKSB7XHJcbiAgICB0aGlzLnNlbGVjdGVkLnVwZGF0ZSh2ID0+ICF2KTtcclxuICAgIHRoaXMuX2VtaXRDaGFuZ2UoKTtcclxuICB9XHJcblxyXG4gIC8qKlxyXG4gICAqIFNldHMgdGhlIHN0YXRlIHRvIFwic2VsZWN0ZWRcIi4gRW1pdHMgYWxsIGFwcHJvcHJpYXRlIGV2ZW50cyBvbmx5IGlmIHRoZSBzdGF0ZSBjaGFuZ2VzLlxyXG4gICAqL1xyXG4gIHNlbGVjdCgpIHtcclxuICAgIHRoaXMuc2VsZWN0ZWQuc2V0KHRydWUpO1xyXG4gICAgdGhpcy5fZW1pdENoYW5nZSgpO1xyXG4gIH1cclxuICAvKipcclxuICAgKiBTZXRzIHRoZSBzdGF0ZSB0byBcInVuc2VsZWN0ZWRcIi4gRW1pdHMgYWxsIGFwcHJvcHJpYXRlIGV2ZW50cyBvbmx5IGlmIHRoZSBzdGF0ZSBjaGFuZ2VzLlxyXG4gICAqL1xyXG4gIHVuc2VsZWN0KCkge1xyXG4gICAgdGhpcy5zZWxlY3RlZC5zZXQoZmFsc2UpO1xyXG4gICAgdGhpcy5fZW1pdENoYW5nZSgpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { _FocusableComponentBase, _focusableComponentDefaults } from './../focusable-component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class _ClearButtonComponent extends _FocusableComponentBase {
|
|
5
|
-
constructor() {
|
|
6
|
-
super(_focusableComponentDefaults);
|
|
7
|
-
}
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: _ClearButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: _ClearButtonComponent, selector: "ard-clear-button", usesInheritance: true, ngImport: i0, template: "<button\r\n #focusableElement\r\n class=\"ard-clear-btn-wrapper\"\r\n type=\"button\"\r\n [tabindex]=\"tabIndex()\"\r\n>\r\n <div class=\"ard-hitbox\"></div>\r\n <div class=\"ard-focus-overlay\"></div>\r\n <div\r\n class=\"ard-clear-btn\"\r\n aria-hidden=\"true\"\r\n ></div>\r\n</button>\r\n", styles: [""] }); }
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: _ClearButtonComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{ selector: 'ard-clear-button', template: "<button\r\n #focusableElement\r\n class=\"ard-clear-btn-wrapper\"\r\n type=\"button\"\r\n [tabindex]=\"tabIndex()\"\r\n>\r\n <div class=\"ard-hitbox\"></div>\r\n <div class=\"ard-focus-overlay\"></div>\r\n <div\r\n class=\"ard-clear-btn\"\r\n aria-hidden=\"true\"\r\n ></div>\r\n</button>\r\n" }]
|
|
14
|
-
}], ctorParameters: () => [] });
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xlYXItYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpL3NyYy9saWIvX2ludGVybmFsL2NsZWFyLWJ1dHRvbi9jbGVhci1idXR0b24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWkvc3JjL2xpYi9faW50ZXJuYWwvY2xlYXItYnV0dG9uL2NsZWFyLWJ1dHRvbi5jb21wb25l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XHJcbiAgY2xhc3M9XCJhcmQtY2xlYXItYnRuLXdyYXBwZXJcIlxyXG4gIHR5cGU9XCJidXR0b25cIlxyXG4gIFt0YWJpbmRleF09XCJ0YWJJbmRleCgpXCJcclxuPlxyXG4gIDxkaXYgY2xhc3M9XCJhcmQtaGl0Ym94XCI+PC9kaXY+XHJcbiAgPGRpdiBjbGFzcz1cImFyZC1mb2N1cy1vdmVybGF5XCI+PC9kaXY+XHJcbiAgPGRpdlxyXG4gICAgY2xhc3M9XCJhcmQtY2xlYXItYnRuXCJcclxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXHJcbiAgPjwvZGl2PlxyXG48L2J1dHRvbj5cclxuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { _ClearButtonComponent } from './clear-button.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class _ClearButtonModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: _ClearButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: _ClearButtonModule, declarations: [_ClearButtonComponent], imports: [CommonModule], exports: [_ClearButtonComponent] }); }
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: _ClearButtonModule, imports: [CommonModule] }); }
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: _ClearButtonModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [_ClearButtonComponent],
|
|
14
|
-
imports: [CommonModule],
|
|
15
|
-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25lbnQnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtfQ2xlYXJCdXR0b25Db21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxyXG4gIGV4cG9ydHM6IFtfQ2xlYXJCdXR0b25Db21wb25lbnRdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgX0NsZWFyQnV0dG9uTW9kdWxlIHt9XHJcbiJdfQ==
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Directive, HostBinding, Input, input, signal } from '@angular/core';
|
|
2
|
-
import { coerceBooleanProperty } from '@ardium-ui/devkit';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export const _disablableComponentDefaults = {
|
|
5
|
-
readonly: false,
|
|
6
|
-
disabled: false,
|
|
7
|
-
};
|
|
8
|
-
export class _DisablableComponentBase {
|
|
9
|
-
constructor(_DEFAULTS) {
|
|
10
|
-
this._DEFAULTS = _DEFAULTS;
|
|
11
|
-
//! no value arguments
|
|
12
|
-
/**
|
|
13
|
-
* Whether the component is read-only. Defines the `readonly` host attribute and `ard-readonly` host class. Coercible into a boolean.
|
|
14
|
-
*/
|
|
15
|
-
this.readonly = input(this._DEFAULTS.readonly, { transform: v => coerceBooleanProperty(v) });
|
|
16
|
-
/**
|
|
17
|
-
* Whether the component is disabled. Defines the `disabled` host attribute and `ard-disabled` host class. Coercible into a boolean.
|
|
18
|
-
*/
|
|
19
|
-
this.disabled = signal(this._DEFAULTS.disabled);
|
|
20
|
-
}
|
|
21
|
-
set _disabled(v) {
|
|
22
|
-
this.disabled.set(coerceBooleanProperty(v));
|
|
23
|
-
}
|
|
24
|
-
get _readonlyHostAttribute() {
|
|
25
|
-
return this.readonly();
|
|
26
|
-
}
|
|
27
|
-
get _disabledHostAttribute() {
|
|
28
|
-
return this.disabled();
|
|
29
|
-
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: _DisablableComponentBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: _DisablableComponentBase, inputs: { readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, _disabled: { classPropertyName: "_disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null } }, host: { properties: { "attr.readonly": "this._readonlyHostAttribute", "class.ard-readonly": "this._readonlyHostAttribute", "attr.disabled": "this._disabledHostAttribute", "class.ard-disabled": "this._disabledHostAttribute" } }, ngImport: i0 }); }
|
|
32
|
-
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: _DisablableComponentBase, decorators: [{
|
|
34
|
-
type: Directive
|
|
35
|
-
}], ctorParameters: () => [{ type: undefined }], propDecorators: { _disabled: [{
|
|
36
|
-
type: Input,
|
|
37
|
-
args: ['disabled']
|
|
38
|
-
}], _readonlyHostAttribute: [{
|
|
39
|
-
type: HostBinding,
|
|
40
|
-
args: ['attr.readonly']
|
|
41
|
-
}, {
|
|
42
|
-
type: HostBinding,
|
|
43
|
-
args: ['class.ard-readonly']
|
|
44
|
-
}], _disabledHostAttribute: [{
|
|
45
|
-
type: HostBinding,
|
|
46
|
-
args: ['attr.disabled']
|
|
47
|
-
}, {
|
|
48
|
-
type: HostBinding,
|
|
49
|
-
args: ['class.ard-disabled']
|
|
50
|
-
}] } });
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzYWJsYWJsZS1jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS9zcmMvbGliL19pbnRlcm5hbC9kaXNhYmxhYmxlLWNvbXBvbmVudC50cyJdLCJuYW1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