@ardium-pl/ui 5.0.0-alpha.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/fesm2022/ardium-pl-ui.mjs +18003 -0
- package/fesm2022/ardium-pl-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/_internal/boolean-component.d.ts +65 -0
- package/lib/_internal/clear-button/clear-button.component.d.ts +7 -0
- package/lib/_internal/clear-button/clear-button.module.d.ts +8 -0
- package/lib/_internal/disablable-component.d.ts +24 -0
- package/lib/_internal/focusable-component.d.ts +56 -0
- package/lib/_internal/form-field-component.d.ts +22 -0
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +79 -0
- package/lib/_internal/item-storages/simple-item-storage.d.ts +167 -0
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +75 -0
- package/lib/_internal/models/pagination.model.d.ts +49 -0
- package/lib/_internal/models/queue.d.ts +21 -0
- package/lib/_internal/ngmodel-component.d.ts +58 -0
- package/lib/_internal/public-api.d.ts +3 -0
- package/lib/_internal/selectable-list-component.d.ts +76 -0
- package/lib/_internal/utils/context-to-inputs.d.ts +3 -0
- package/lib/_internal/utils/date.utils.d.ts +21 -0
- package/lib/badge/badge.defaults.d.ts +13 -0
- package/lib/badge/badge.directive.d.ts +27 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/badge.types.d.ts +17 -0
- package/lib/badge/index.d.ts +4 -0
- package/lib/breakpoints/breakpoint.service.d.ts +12 -0
- package/lib/breakpoints/breakpoint.utils.d.ts +7 -0
- package/lib/breakpoints/breakpoints.d.ts +13 -0
- package/lib/breakpoints/index.d.ts +2 -0
- package/lib/buttons/_button-base.d.ts +25 -0
- package/lib/buttons/_button-base.defaults.d.ts +17 -0
- package/lib/buttons/button/button.component.d.ts +22 -0
- package/lib/buttons/button/button.defaults.d.ts +10 -0
- package/lib/buttons/button/button.directive.d.ts +23 -0
- package/lib/buttons/button/button.module.d.ts +9 -0
- package/lib/buttons/button/index.d.ts +4 -0
- package/lib/buttons/button-group/button-group.component.d.ts +25 -0
- package/lib/buttons/button-group/button-group.defaults.d.ts +7 -0
- package/lib/buttons/button-group/button-group.module.d.ts +8 -0
- package/lib/buttons/button-group/index.d.ts +3 -0
- package/lib/buttons/fab/fab.component.d.ts +13 -0
- package/lib/buttons/fab/fab.defaults.d.ts +8 -0
- package/lib/buttons/fab/fab.module.d.ts +8 -0
- package/lib/buttons/fab/index.d.ts +3 -0
- package/lib/buttons/general-button.types.d.ts +57 -0
- package/lib/buttons/icon-button/icon-button.component.d.ts +20 -0
- package/lib/buttons/icon-button/icon-button.defaults.d.ts +7 -0
- package/lib/buttons/icon-button/icon-button.module.d.ts +8 -0
- package/lib/buttons/icon-button/index.d.ts +3 -0
- package/lib/calendar/abstract-calendar.d.ts +135 -0
- package/lib/calendar/calendar.component.d.ts +15 -0
- package/lib/calendar/calendar.defaults.d.ts +34 -0
- package/lib/calendar/calendar.directives.d.ts +51 -0
- package/lib/calendar/calendar.internal-directives.d.ts +33 -0
- package/lib/calendar/calendar.internal-types.d.ts +5 -0
- package/lib/calendar/calendar.module.d.ts +10 -0
- package/lib/calendar/calendar.types.d.ts +111 -0
- package/lib/calendar/index.d.ts +8 -0
- package/lib/calendar/range-calendar.component.d.ts +17 -0
- package/lib/calendar/range-calendar.directives.d.ts +51 -0
- package/lib/calendar/range-calendar.module.d.ts +10 -0
- package/lib/calendar/views/calendar-views.module.d.ts +13 -0
- package/lib/calendar/views/days-view/days-view.component.d.ts +86 -0
- package/lib/calendar/views/days-view/days-view.helpers.d.ts +20 -0
- package/lib/calendar/views/months-view/months-view.component.d.ts +73 -0
- package/lib/calendar/views/months-view/months-view.helpers.d.ts +3 -0
- package/lib/calendar/views/years-view/years-view.component.d.ts +71 -0
- package/lib/calendar/views/years-view/years-view.helpers.d.ts +3 -0
- package/lib/card/card.children.d.ts +44 -0
- package/lib/card/card.component.d.ts +15 -0
- package/lib/card/card.defaults.d.ts +10 -0
- package/lib/card/card.module.d.ts +9 -0
- package/lib/card/card.types.d.ts +10 -0
- package/lib/card/index.d.ts +5 -0
- package/lib/checkbox/checkbox.component.d.ts +38 -0
- package/lib/checkbox/checkbox.defaults.d.ts +12 -0
- package/lib/checkbox/checkbox.directives.d.ts +15 -0
- package/lib/checkbox/checkbox.internal-directives.d.ts +10 -0
- package/lib/checkbox/checkbox.module.d.ts +10 -0
- package/lib/checkbox/checkbox.types.d.ts +22 -0
- package/lib/checkbox/index.d.ts +5 -0
- package/lib/checkbox-list/checkbox-list.component.d.ts +55 -0
- package/lib/checkbox-list/checkbox-list.defaults.d.ts +20 -0
- package/lib/checkbox-list/checkbox-list.directives.d.ts +16 -0
- package/lib/checkbox-list/checkbox-list.module.d.ts +11 -0
- package/lib/checkbox-list/checkbox-list.types.d.ts +11 -0
- package/lib/checkbox-list/index.d.ts +5 -0
- package/lib/chip/chip.component.d.ts +20 -0
- package/lib/chip/chip.defaults.d.ts +15 -0
- package/lib/chip/chip.module.d.ts +11 -0
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +23 -0
- package/lib/chip/deletable-chip/deletable-chip.defaults.d.ts +8 -0
- package/lib/chip/index.d.ts +7 -0
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +25 -0
- package/lib/chip/selectable-chip/selectable-chip.defaults.d.ts +9 -0
- package/lib/dialog/dialog.component.d.ts +47 -0
- package/lib/dialog/dialog.defaults.d.ts +19 -0
- package/lib/dialog/dialog.directives.d.ts +15 -0
- package/lib/dialog/dialog.module.d.ts +11 -0
- package/lib/dialog/dialog.types.d.ts +38 -0
- package/lib/dialog/index.d.ts +5 -0
- package/lib/divider/divider.component.d.ts +6 -0
- package/lib/divider/divider.defaults.d.ts +11 -0
- package/lib/divider/divider.directive.d.ts +18 -0
- package/lib/divider/divider.module.d.ts +9 -0
- package/lib/divider/divider.types.d.ts +5 -0
- package/lib/divider/index.d.ts +5 -0
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +36 -0
- package/lib/dropdown-panel/dropdown-panel.defaults.d.ts +10 -0
- package/lib/dropdown-panel/dropdown-panel.module.d.ts +8 -0
- package/lib/dropdown-panel/dropdown-panel.types.d.ts +12 -0
- package/lib/dropdown-panel/index.d.ts +4 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +26 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.defaults.d.ts +10 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.directives.d.ts +21 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.module.d.ts +12 -0
- package/lib/file-inputs/file-drop-area/index.d.ts +4 -0
- package/lib/file-inputs/file-input/file-input.component.d.ts +38 -0
- package/lib/file-inputs/file-input/file-input.defaults.d.ts +17 -0
- package/lib/file-inputs/file-input/file-input.directives.d.ts +46 -0
- package/lib/file-inputs/file-input/file-input.module.d.ts +13 -0
- package/lib/file-inputs/file-input/index.d.ts +4 -0
- package/lib/file-inputs/file-input-base.d.ts +60 -0
- package/lib/file-inputs/file-input-base.defaults.d.ts +7 -0
- package/lib/file-inputs/file-input-types.d.ts +41 -0
- package/lib/form-field/auto-error/auto-error.component.d.ts +19 -0
- package/lib/form-field/auto-error/auto-error.provider.d.ts +7 -0
- package/lib/form-field/error/error.component.d.ts +6 -0
- package/lib/form-field/error/error.directive.d.ts +9 -0
- package/lib/form-field/form-field-base.d.ts +30 -0
- package/lib/form-field/form-field-child.token.d.ts +8 -0
- package/lib/form-field/form-field-native-inputs.d.ts +17 -0
- package/lib/form-field/form-field.component.d.ts +7 -0
- package/lib/form-field/form-field.defaults.d.ts +11 -0
- package/lib/form-field/form-field.module.d.ts +17 -0
- package/lib/form-field/hint/hint.component.d.ts +6 -0
- package/lib/form-field/hint/hint.directive.d.ts +9 -0
- package/lib/form-field/hint-error/hint-error.component.d.ts +6 -0
- package/lib/form-field/hint-error/hint-error.directive.d.ts +9 -0
- package/lib/form-field/horizontal-form-field.component.d.ts +7 -0
- package/lib/form-field/index.d.ts +15 -0
- package/lib/form-field/label/label.component.d.ts +12 -0
- package/lib/form-field-frame/form-field-frame.component.d.ts +43 -0
- package/lib/form-field-frame/form-field-frame.defaults.d.ts +13 -0
- package/lib/form-field-frame/form-field-frame.directives.d.ts +15 -0
- package/lib/form-field-frame/form-field-frame.module.d.ts +9 -0
- package/lib/form-field-frame/form-field-frame.types.d.ts +10 -0
- package/lib/form-field-frame/index.d.ts +5 -0
- package/lib/grid/grid.component.d.ts +63 -0
- package/lib/grid/grid.defaults.d.ts +16 -0
- package/lib/grid/grid.module.d.ts +7 -0
- package/lib/grid/grid.types.d.ts +38 -0
- package/lib/grid/grid.utils.d.ts +20 -0
- package/lib/grid/index.d.ts +4 -0
- package/lib/icon/icon.component.d.ts +28 -0
- package/lib/icon/icon.defaults.d.ts +11 -0
- package/lib/icon/icon.module.d.ts +9 -0
- package/lib/icon/icon.pipe.d.ts +7 -0
- package/lib/icon/index.d.ts +4 -0
- package/lib/inputs/_simple-input-base.d.ts +67 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.component.d.ts +69 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.defaults.d.ts +18 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.directives.d.ts +34 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.module.d.ts +13 -0
- package/lib/inputs/autocomplete-input/index.d.ts +4 -0
- package/lib/inputs/date-input/abstract-date-input.d.ts +109 -0
- package/lib/inputs/date-input/date-input.component.d.ts +52 -0
- package/lib/inputs/date-input/date-input.defaults.d.ts +54 -0
- package/lib/inputs/date-input/date-input.directives.d.ts +83 -0
- package/lib/inputs/date-input/date-input.module.d.ts +17 -0
- package/lib/inputs/date-input/date-input.serializers.d.ts +5 -0
- package/lib/inputs/date-input/date-input.types.d.ts +17 -0
- package/lib/inputs/date-input/date-range-input.component.d.ts +36 -0
- package/lib/inputs/date-input/date-range-input.directives.d.ts +83 -0
- package/lib/inputs/date-input/date-range-input.module.d.ts +17 -0
- package/lib/inputs/date-input/index.d.ts +11 -0
- package/lib/inputs/date-input/multipage-date-range-input.component.d.ts +50 -0
- package/lib/inputs/date-input/multipage-date-range-input.directives.d.ts +83 -0
- package/lib/inputs/date-input/multipage-date-range-input.module.d.ts +17 -0
- package/lib/inputs/digit-input/digit-input.component.d.ts +62 -0
- package/lib/inputs/digit-input/digit-input.defaults.d.ts +16 -0
- package/lib/inputs/digit-input/digit-input.model.d.ts +27 -0
- package/lib/inputs/digit-input/digit-input.module.d.ts +9 -0
- package/lib/inputs/digit-input/digit-input.types.d.ts +30 -0
- package/lib/inputs/digit-input/digit-input.utils.d.ts +20 -0
- package/lib/inputs/digit-input/index.d.ts +4 -0
- package/lib/inputs/hex-input/hex-input.component.d.ts +57 -0
- package/lib/inputs/hex-input/hex-input.defaults.d.ts +22 -0
- package/lib/inputs/hex-input/hex-input.directives.d.ts +21 -0
- package/lib/inputs/hex-input/hex-input.model.d.ts +26 -0
- package/lib/inputs/hex-input/hex-input.module.d.ts +11 -0
- package/lib/inputs/hex-input/index.d.ts +4 -0
- package/lib/inputs/input/index.d.ts +4 -0
- package/lib/inputs/input/input.component.d.ts +15 -0
- package/lib/inputs/input/input.defaults.d.ts +9 -0
- package/lib/inputs/input/input.directives.d.ts +21 -0
- package/lib/inputs/input/input.module.d.ts +11 -0
- package/lib/inputs/input-transformers.d.ts +24 -0
- package/lib/inputs/input-types.d.ts +15 -0
- package/lib/inputs/input-utils.d.ts +66 -0
- package/lib/inputs/number-input/index.d.ts +4 -0
- package/lib/inputs/number-input/number-input.component.d.ts +78 -0
- package/lib/inputs/number-input/number-input.defaults.d.ts +28 -0
- package/lib/inputs/number-input/number-input.directives.d.ts +21 -0
- package/lib/inputs/number-input/number-input.module.d.ts +11 -0
- package/lib/inputs/number-input/number-input.types.d.ts +6 -0
- package/lib/inputs/password-input/index.d.ts +5 -0
- package/lib/inputs/password-input/password-input.component.d.ts +48 -0
- package/lib/inputs/password-input/password-input.defaults.d.ts +20 -0
- package/lib/inputs/password-input/password-input.directives.d.ts +28 -0
- package/lib/inputs/password-input/password-input.module.d.ts +11 -0
- package/lib/inputs/password-input/password-input.types.d.ts +3 -0
- package/lib/kbd/index.d.ts +5 -0
- package/lib/kbd/kbd.component.d.ts +15 -0
- package/lib/kbd/kbd.defaults.d.ts +8 -0
- package/lib/kbd/kbd.directive.d.ts +13 -0
- package/lib/kbd/kbd.module.d.ts +10 -0
- package/lib/kbd/kbd.pipe.d.ts +8 -0
- package/lib/kbd-shortcut/index.d.ts +3 -0
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +18 -0
- package/lib/kbd-shortcut/kbd-shortcut.defaults.d.ts +8 -0
- package/lib/kbd-shortcut/kbd-shortcut.module.d.ts +9 -0
- package/lib/modal/index.d.ts +5 -0
- package/lib/modal/modal.component.d.ts +39 -0
- package/lib/modal/modal.defaults.d.ts +18 -0
- package/lib/modal/modal.directives.d.ts +8 -0
- package/lib/modal/modal.module.d.ts +12 -0
- package/lib/modal/modal.types.d.ts +3 -0
- package/lib/option/index.d.ts +2 -0
- package/lib/option/option.component.d.ts +25 -0
- package/lib/option/option.module.d.ts +8 -0
- package/lib/progress-bar/index.d.ts +4 -0
- package/lib/progress-bar/progress-bar.component.d.ts +18 -0
- package/lib/progress-bar/progress-bar.defaults.d.ts +13 -0
- package/lib/progress-bar/progress-bar.module.d.ts +8 -0
- package/lib/progress-bar/progress-bar.types.d.ts +22 -0
- package/lib/progress-circle/index.d.ts +5 -0
- package/lib/progress-circle/progress-circle.component.d.ts +25 -0
- package/lib/progress-circle/progress-circle.defaults.d.ts +15 -0
- package/lib/progress-circle/progress-circle.directive.d.ts +9 -0
- package/lib/progress-circle/progress-circle.module.d.ts +9 -0
- package/lib/progress-circle/progress-circle.types.d.ts +20 -0
- package/lib/radio/index.d.ts +4 -0
- package/lib/radio/radio/radio.component.d.ts +68 -0
- package/lib/radio/radio/radio.defaults.d.ts +8 -0
- package/lib/radio/radio-group.component.d.ts +40 -0
- package/lib/radio/radio.module.d.ts +9 -0
- package/lib/search-functions.d.ts +10 -0
- package/lib/segment/index.d.ts +5 -0
- package/lib/segment/segment.component.d.ts +40 -0
- package/lib/segment/segment.defaults.d.ts +18 -0
- package/lib/segment/segment.directives.d.ts +8 -0
- package/lib/segment/segment.module.d.ts +9 -0
- package/lib/segment/segment.types.d.ts +17 -0
- package/lib/select/index.d.ts +5 -0
- package/lib/select/select.component.d.ts +230 -0
- package/lib/select/select.defaults.d.ts +70 -0
- package/lib/select/select.directive.d.ts +95 -0
- package/lib/select/select.module.d.ts +14 -0
- package/lib/select/select.types.d.ts +60 -0
- package/lib/select/select.utils.d.ts +2 -0
- package/lib/slide-toggle/index.d.ts +4 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +21 -0
- package/lib/slide-toggle/slide-toggle.defaults.d.ts +14 -0
- package/lib/slide-toggle/slide-toggle.module.d.ts +8 -0
- package/lib/slide-toggle/slide-toggle.types.d.ts +5 -0
- package/lib/slider/abstract-slider.d.ts +96 -0
- package/lib/slider/index.d.ts +8 -0
- package/lib/slider/range-slider/range-slider.component.d.ts +37 -0
- package/lib/slider/range-slider/range-slider.module.d.ts +8 -0
- package/lib/slider/range-slider/range-slider.types.d.ts +6 -0
- package/lib/slider/slider.component.d.ts +24 -0
- package/lib/slider/slider.defaults.d.ts +6 -0
- package/lib/slider/slider.directive.d.ts +9 -0
- package/lib/slider/slider.module.d.ts +10 -0
- package/lib/slider/slider.types.d.ts +28 -0
- package/lib/snackbar/index.d.ts +4 -0
- package/lib/snackbar/snackbar-ref.d.ts +69 -0
- package/lib/snackbar/snackbar.component.d.ts +16 -0
- package/lib/snackbar/snackbar.service.d.ts +57 -0
- package/lib/snackbar/snackbar.token.d.ts +5 -0
- package/lib/snackbar/snackbar.types.d.ts +84 -0
- package/lib/spinner/index.d.ts +3 -0
- package/lib/spinner/spinner.component.d.ts +9 -0
- package/lib/spinner/spinner.defaults.d.ts +7 -0
- package/lib/spinner/spinner.module.d.ts +8 -0
- package/lib/stack/index.d.ts +3 -0
- package/lib/stack/stack.component.d.ts +26 -0
- package/lib/stack/stack.defaults.d.ts +14 -0
- package/lib/stack/stack.module.d.ts +7 -0
- package/lib/star/index.d.ts +5 -0
- package/lib/star/rating-display/index.d.ts +5 -0
- package/lib/star/rating-display/rating-display.component.d.ts +18 -0
- package/lib/star/rating-display/rating-display.defaults.d.ts +9 -0
- package/lib/star/rating-display/rating-display.directives.d.ts +9 -0
- package/lib/star/rating-display/rating-display.module.d.ts +10 -0
- package/lib/star/rating-display/rating-display.types.d.ts +8 -0
- package/lib/star/rating-input/index.d.ts +5 -0
- package/lib/star/rating-input/rating-input.component.d.ts +48 -0
- package/lib/star/rating-input/rating-input.defaults.d.ts +9 -0
- package/lib/star/rating-input/rating-input.directives.d.ts +9 -0
- package/lib/star/rating-input/rating-input.module.d.ts +10 -0
- package/lib/star/rating-input/rating-input.types.d.ts +12 -0
- package/lib/star/star-button/index.d.ts +5 -0
- package/lib/star/star-button/star-button.component.d.ts +26 -0
- package/lib/star/star-button/star-button.defaults.d.ts +10 -0
- package/lib/star/star-button/star-button.directives.d.ts +9 -0
- package/lib/star/star-button/star-button.module.d.ts +10 -0
- package/lib/star/star-button/star-button.types.d.ts +7 -0
- package/lib/star/star.component.d.ts +15 -0
- package/lib/star/star.defaults.d.ts +8 -0
- package/lib/star/star.directives.d.ts +9 -0
- package/lib/star/star.module.d.ts +10 -0
- package/lib/star/star.types.d.ts +33 -0
- package/lib/tabber/index.d.ts +6 -0
- package/lib/tabber/tab/tab.component.d.ts +27 -0
- package/lib/tabber/tabber.component.d.ts +44 -0
- package/lib/tabber/tabber.defaults.d.ts +14 -0
- package/lib/tabber/tabber.directives.d.ts +9 -0
- package/lib/tabber/tabber.module.d.ts +10 -0
- package/lib/tabber/tabber.types.d.ts +5 -0
- package/lib/table/index.d.ts +5 -0
- package/lib/table/table-item-storage.d.ts +273 -0
- package/lib/table/table.component.d.ts +111 -0
- package/lib/table/table.defaults.d.ts +50 -0
- package/lib/table/table.directives.d.ts +36 -0
- package/lib/table/table.module.d.ts +13 -0
- package/lib/table/table.types.d.ts +83 -0
- package/lib/table/utils.d.ts +4 -0
- package/lib/table-from-csv/index.d.ts +3 -0
- package/lib/table-from-csv/table-from-csv.component.d.ts +55 -0
- package/lib/table-from-csv/table-from-csv.defaults.d.ts +7 -0
- package/lib/table-from-csv/table-from-csv.module.d.ts +9 -0
- package/lib/table-pagination/index.d.ts +4 -0
- package/lib/table-pagination/table-pagination.component.d.ts +40 -0
- package/lib/table-pagination/table-pagination.defaults.d.ts +20 -0
- package/lib/table-pagination/table-pagination.module.d.ts +11 -0
- package/lib/table-pagination/table-pagination.types.d.ts +9 -0
- package/lib/text-list/index.d.ts +3 -0
- package/lib/text-list/text-list.component.d.ts +9 -0
- package/lib/text-list/text-list.module.d.ts +9 -0
- package/lib/text-list/text-list.pipe.d.ts +7 -0
- package/lib/types/alignment.types.d.ts +17 -0
- package/lib/types/button.types.d.ts +6 -0
- package/lib/types/colors.types.d.ts +71 -0
- package/lib/types/item-storage.types.d.ts +50 -0
- package/lib/types/theming.types.d.ts +62 -0
- package/lib/types/utility.types.d.ts +16 -0
- package/package.json +39 -0
- package/prebuilt-themes/default/badge.css +237 -0
- package/prebuilt-themes/default/badge.css.map +1 -0
- package/prebuilt-themes/default/buttons/button-group.css +19 -0
- package/prebuilt-themes/default/buttons/button-group.css.map +1 -0
- package/prebuilt-themes/default/buttons/button.css +339 -0
- package/prebuilt-themes/default/buttons/button.css.map +1 -0
- package/prebuilt-themes/default/buttons/fab.css +330 -0
- package/prebuilt-themes/default/buttons/fab.css.map +1 -0
- package/prebuilt-themes/default/buttons/icon-button.css +304 -0
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -0
- package/prebuilt-themes/default/calendar.css +393 -0
- package/prebuilt-themes/default/calendar.css.map +1 -0
- package/prebuilt-themes/default/card.css +154 -0
- package/prebuilt-themes/default/card.css.map +1 -0
- package/prebuilt-themes/default/checkbox-list.css +101 -0
- package/prebuilt-themes/default/checkbox-list.css.map +1 -0
- package/prebuilt-themes/default/checkbox.css +383 -0
- package/prebuilt-themes/default/checkbox.css.map +1 -0
- package/prebuilt-themes/default/chips.css +421 -0
- package/prebuilt-themes/default/chips.css.map +1 -0
- package/prebuilt-themes/default/color-display.css +37 -0
- package/prebuilt-themes/default/color-display.css.map +1 -0
- package/prebuilt-themes/default/color-picker.css +108 -0
- package/prebuilt-themes/default/color-picker.css.map +1 -0
- package/prebuilt-themes/default/core.css +112 -0
- package/prebuilt-themes/default/core.css.map +1 -0
- package/prebuilt-themes/default/dialog.css +22 -0
- package/prebuilt-themes/default/dialog.css.map +1 -0
- package/prebuilt-themes/default/divider.css +87 -0
- package/prebuilt-themes/default/divider.css.map +1 -0
- package/prebuilt-themes/default/dropdown-panel.css +45 -0
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -0
- package/prebuilt-themes/default/file-drop-area.css +332 -0
- package/prebuilt-themes/default/file-drop-area.css.map +1 -0
- package/prebuilt-themes/default/form-field-frame.css +105 -0
- package/prebuilt-themes/default/form-field-frame.css.map +1 -0
- package/prebuilt-themes/default/form-field.css +153 -0
- package/prebuilt-themes/default/form-field.css.map +1 -0
- package/prebuilt-themes/default/inputs/autocomplete-input.css +198 -0
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/color-input.css +108 -0
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/date-input.css +152 -0
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/digit-input.css +129 -0
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/file-input.css +399 -0
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/hex-input.css +165 -0
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/input.css +152 -0
- package/prebuilt-themes/default/inputs/input.css.map +1 -0
- package/prebuilt-themes/default/inputs/number-input.css +230 -0
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/password-input.css +132 -0
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -0
- package/prebuilt-themes/default/kbd-shortcut.css +17 -0
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -0
- package/prebuilt-themes/default/kbd.css +29 -0
- package/prebuilt-themes/default/kbd.css.map +1 -0
- package/prebuilt-themes/default/modal.css +99 -0
- package/prebuilt-themes/default/modal.css.map +1 -0
- package/prebuilt-themes/default/progress-bar.css +286 -0
- package/prebuilt-themes/default/progress-bar.css.map +1 -0
- package/prebuilt-themes/default/progress-circle.css +181 -0
- package/prebuilt-themes/default/progress-circle.css.map +1 -0
- package/prebuilt-themes/default/radio.css +261 -0
- package/prebuilt-themes/default/radio.css.map +1 -0
- package/prebuilt-themes/default/segment.css +441 -0
- package/prebuilt-themes/default/segment.css.map +1 -0
- package/prebuilt-themes/default/select.css +322 -0
- package/prebuilt-themes/default/select.css.map +1 -0
- package/prebuilt-themes/default/slide-toggle.css +322 -0
- package/prebuilt-themes/default/slide-toggle.css.map +1 -0
- package/prebuilt-themes/default/slider.css +428 -0
- package/prebuilt-themes/default/slider.css.map +1 -0
- package/prebuilt-themes/default/snackbar.css +202 -0
- package/prebuilt-themes/default/snackbar.css.map +1 -0
- package/prebuilt-themes/default/spinner.css +164 -0
- package/prebuilt-themes/default/spinner.css.map +1 -0
- package/prebuilt-themes/default/stars.css +284 -0
- package/prebuilt-themes/default/stars.css.map +1 -0
- package/prebuilt-themes/default/tabber.css +253 -0
- package/prebuilt-themes/default/tabber.css.map +1 -0
- package/prebuilt-themes/default/table-pagination.css +60 -0
- package/prebuilt-themes/default/table-pagination.css.map +1 -0
- package/prebuilt-themes/default/table.css +467 -0
- package/prebuilt-themes/default/table.css.map +1 -0
- package/public-api.d.ts +59 -0
- package/themes/_variables.scss +124 -0
- package/themes/default/_clear-button.scss +78 -0
- package/themes/default/_coloring.scss +144 -0
- package/themes/default/_dropdown-arrow.scss +12 -0
- package/themes/default/_mixins.scss +91 -0
- package/themes/default/badge.scss +129 -0
- package/themes/default/buttons/_button-mixins.scss +152 -0
- package/themes/default/buttons/button-group.scss +19 -0
- package/themes/default/buttons/button.scss +119 -0
- package/themes/default/buttons/fab.scss +112 -0
- package/themes/default/buttons/icon-button.scss +91 -0
- package/themes/default/calendar.scss +298 -0
- package/themes/default/card.scss +181 -0
- package/themes/default/checkbox-list.scss +125 -0
- package/themes/default/checkbox.scss +123 -0
- package/themes/default/chips.scss +269 -0
- package/themes/default/color-display.scss +53 -0
- package/themes/default/color-picker.scss +113 -0
- package/themes/default/core.scss +129 -0
- package/themes/default/dialog.scss +25 -0
- package/themes/default/divider.scss +115 -0
- package/themes/default/dropdown-panel.scss +60 -0
- package/themes/default/file-drop-area.scss +221 -0
- package/themes/default/form-field-frame.scss +91 -0
- package/themes/default/form-field.scss +161 -0
- package/themes/default/inputs/_shared.scss +99 -0
- package/themes/default/inputs/autocomplete-input.scss +119 -0
- package/themes/default/inputs/color-input.scss +48 -0
- package/themes/default/inputs/date-input.scss +106 -0
- package/themes/default/inputs/digit-input.scss +138 -0
- package/themes/default/inputs/file-input.scss +187 -0
- package/themes/default/inputs/hex-input.scss +81 -0
- package/themes/default/inputs/input.scss +63 -0
- package/themes/default/inputs/number-input.scss +214 -0
- package/themes/default/inputs/password-input.scss +116 -0
- package/themes/default/kbd-shortcut.scss +21 -0
- package/themes/default/kbd.scss +40 -0
- package/themes/default/modal.scss +130 -0
- package/themes/default/progress-bar.scss +181 -0
- package/themes/default/progress-circle.scss +64 -0
- package/themes/default/radio.scss +154 -0
- package/themes/default/segment.scss +383 -0
- package/themes/default/select.scss +327 -0
- package/themes/default/slide-toggle.scss +228 -0
- package/themes/default/slider.scss +287 -0
- package/themes/default/snackbar.scss +78 -0
- package/themes/default/spinner.scss +31 -0
- package/themes/default/stars.scss +133 -0
- package/themes/default/tabber.scss +131 -0
- package/themes/default/table-pagination.scss +72 -0
- package/themes/default/table.scss +459 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { InjectionToken, Provider, Type } from '@angular/core';
|
|
2
|
+
import { _FormFieldComponentDefaults } from '../../_internal/form-field-component';
|
|
3
|
+
import { ArdFormFieldFramePrefixSuffix } from '../../form-field-frame';
|
|
4
|
+
import { Nullable } from '../../types/utility.types';
|
|
5
|
+
import { CaseTransformerType } from '../input-types';
|
|
6
|
+
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
7
|
+
export interface ArdHexInputDefaults extends _FormFieldComponentDefaults {
|
|
8
|
+
appearance: FormElementAppearance;
|
|
9
|
+
variant: FormElementVariant;
|
|
10
|
+
compact: boolean;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
case: CaseTransformerType;
|
|
13
|
+
maxDigits: Nullable<number>;
|
|
14
|
+
hideHash: boolean;
|
|
15
|
+
clearable: boolean;
|
|
16
|
+
clearButtonTitle: string;
|
|
17
|
+
inputAttrs: Record<string, any>;
|
|
18
|
+
PrefixComponent?: Type<ArdFormFieldFramePrefixSuffix>;
|
|
19
|
+
SuffixComponent?: Type<ArdFormFieldFramePrefixSuffix>;
|
|
20
|
+
}
|
|
21
|
+
export declare const ARD_HEX_INPUT_DEFAULTS: InjectionToken<ArdHexInputDefaults>;
|
|
22
|
+
export declare function provideHexInputDefaults(config: Partial<ArdHexInputDefaults>): Provider;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { FormFieldFrameTemplateContext } from '../../form-field-frame';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdHexInputPlaceholderTemplateDirective {
|
|
5
|
+
template: TemplateRef<undefined>;
|
|
6
|
+
constructor(template: TemplateRef<undefined>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdHexInputPlaceholderTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdHexInputPlaceholderTemplateDirective, "ard-hex-input > ng-template[ard-placeholder-tmp]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class ArdHexInputPrefixTemplateDirective {
|
|
11
|
+
template: TemplateRef<FormFieldFrameTemplateContext>;
|
|
12
|
+
constructor(template: TemplateRef<FormFieldFrameTemplateContext>);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdHexInputPrefixTemplateDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdHexInputPrefixTemplateDirective, "ard-hex-input ng-template[ard-prefix-tmp]", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
16
|
+
export declare class ArdHexInputSuffixTemplateDirective {
|
|
17
|
+
template: TemplateRef<FormFieldFrameTemplateContext>;
|
|
18
|
+
constructor(template: TemplateRef<FormFieldFrameTemplateContext>);
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdHexInputSuffixTemplateDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdHexInputSuffixTemplateDirective, "ard-hex-input ng-template[ard-suffix-tmp]", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ElementRef, Signal } from '@angular/core';
|
|
2
|
+
import { Nullable } from '../../types/utility.types';
|
|
3
|
+
import { CaseTransformerType } from '../input-types';
|
|
4
|
+
export interface HexInputModelHost {
|
|
5
|
+
readonly case: Signal<CaseTransformerType>;
|
|
6
|
+
readonly maxDigits: Signal<Nullable<number>>;
|
|
7
|
+
readonly textInputEl: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
8
|
+
}
|
|
9
|
+
export declare class HexInputModel {
|
|
10
|
+
protected readonly _hostComp: HexInputModelHost;
|
|
11
|
+
constructor(_hostComp: HexInputModelHost);
|
|
12
|
+
readonly value: import("@angular/core").WritableSignal<string | null>;
|
|
13
|
+
readonly stringValue: Signal<string>;
|
|
14
|
+
readonly hashSignValue: Signal<string>;
|
|
15
|
+
writeValue(v: any): boolean;
|
|
16
|
+
protected _writeValue(v: string | null): boolean;
|
|
17
|
+
clear(): void;
|
|
18
|
+
rewriteValueAfterHostUpdate(): void;
|
|
19
|
+
_updateInputElement(): void;
|
|
20
|
+
get caretPos(): number;
|
|
21
|
+
set caretPos(pos: number);
|
|
22
|
+
private _charactersRegexTransformer;
|
|
23
|
+
private _applyCharactersConstraint;
|
|
24
|
+
private _applyDigitsConstraint;
|
|
25
|
+
private _applyCaseTransformer;
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./hex-input.component";
|
|
3
|
+
import * as i2 from "./hex-input.directives";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../form-field-frame/form-field-frame.module";
|
|
6
|
+
import * as i5 from "../../_internal/clear-button/clear-button.module";
|
|
7
|
+
export declare class ArdiumHexInputModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumHexInputModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumHexInputModule, [typeof i1.ArdiumHexInputComponent, typeof i2.ArdHexInputPlaceholderTemplateDirective, typeof i2.ArdHexInputPrefixTemplateDirective, typeof i2.ArdHexInputSuffixTemplateDirective], [typeof i3.CommonModule, typeof i4.ArdiumFormFieldFrameModule, typeof i5._ClearButtonModule], [typeof i1.ArdiumHexInputComponent, typeof i2.ArdHexInputPlaceholderTemplateDirective, typeof i2.ArdHexInputPrefixTemplateDirective, typeof i2.ArdHexInputSuffixTemplateDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumHexInputModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { _SimpleInputComponentBase } from '../_simple-input-base';
|
|
2
|
+
import { ArdInputDefaults } from './input.defaults';
|
|
3
|
+
import { ArdInputPlaceholderTemplateDirective, ArdInputPrefixTemplateDirective, ArdInputSuffixTemplateDirective } from './input.directives';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ArdiumInputComponent extends _SimpleInputComponentBase {
|
|
6
|
+
protected readonly _DEFAULTS: ArdInputDefaults;
|
|
7
|
+
constructor(defaults: ArdInputDefaults);
|
|
8
|
+
readonly prefixTemplate: import("@angular/core").Signal<ArdInputPrefixTemplateDirective | undefined>;
|
|
9
|
+
readonly suffixTemplate: import("@angular/core").Signal<ArdInputSuffixTemplateDirective | undefined>;
|
|
10
|
+
readonly prefixComponent: import("@angular/core").Type<import("@ardium-pl/ui").ArdFormFieldFramePrefixSuffix> | undefined;
|
|
11
|
+
readonly suffixComponent: import("@angular/core").Type<import("@ardium-pl/ui").ArdFormFieldFramePrefixSuffix> | undefined;
|
|
12
|
+
readonly placeholderTemplate: import("@angular/core").Signal<ArdInputPlaceholderTemplateDirective | undefined>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumInputComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumInputComponent, "ard-input", never, {}, {}, ["prefixTemplate", "suffixTemplate", "placeholderTemplate"], never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken, Provider, Type } from '@angular/core';
|
|
2
|
+
import { ArdFormFieldFramePrefixSuffix } from '../../form-field-frame';
|
|
3
|
+
import { _SimpleInputComponentDefaults } from '../_simple-input-base';
|
|
4
|
+
export interface ArdInputDefaults extends _SimpleInputComponentDefaults {
|
|
5
|
+
PrefixComponent?: Type<ArdFormFieldFramePrefixSuffix>;
|
|
6
|
+
SuffixComponent?: Type<ArdFormFieldFramePrefixSuffix>;
|
|
7
|
+
}
|
|
8
|
+
export declare const ARD_SIMPLE_INPUT_DEFAULTS: InjectionToken<ArdInputDefaults>;
|
|
9
|
+
export declare function provideInputDefaults(config: Partial<ArdInputDefaults>): Provider;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { FormFieldFrameTemplateContext } from '../../form-field-frame';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdInputPlaceholderTemplateDirective {
|
|
5
|
+
template: TemplateRef<undefined>;
|
|
6
|
+
constructor(template: TemplateRef<undefined>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdInputPlaceholderTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdInputPlaceholderTemplateDirective, "ard-input > ng-template[ard-placeholder-tmp]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class ArdInputPrefixTemplateDirective {
|
|
11
|
+
template: TemplateRef<FormFieldFrameTemplateContext>;
|
|
12
|
+
constructor(template: TemplateRef<FormFieldFrameTemplateContext>);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdInputPrefixTemplateDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdInputPrefixTemplateDirective, "ard-input > ng-template[ard-prefix-tmp]", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
16
|
+
export declare class ArdInputSuffixTemplateDirective {
|
|
17
|
+
template: TemplateRef<FormFieldFrameTemplateContext>;
|
|
18
|
+
constructor(template: TemplateRef<FormFieldFrameTemplateContext>);
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdInputSuffixTemplateDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdInputSuffixTemplateDirective, "ard-input > ng-template[ard-suffix-tmp]", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input.component";
|
|
3
|
+
import * as i2 from "./input.directives";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../_internal/clear-button/clear-button.module";
|
|
6
|
+
import * as i5 from "../../form-field-frame/form-field-frame.module";
|
|
7
|
+
export declare class ArdiumInputModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumInputModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumInputModule, [typeof i1.ArdiumInputComponent, typeof i2.ArdInputPlaceholderTemplateDirective, typeof i2.ArdInputPrefixTemplateDirective, typeof i2.ArdInputSuffixTemplateDirective], [typeof i3.CommonModule, typeof i4._ClearButtonModule, typeof i5.ArdiumFormFieldFrameModule], [typeof i1.ArdiumInputComponent, typeof i2.ArdInputPlaceholderTemplateDirective, typeof i2.ArdInputPrefixTemplateDirective, typeof i2.ArdInputSuffixTemplateDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumInputModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type ArdTransformerFn = (currentText: string, previousText: string, caretPos: number) => {
|
|
2
|
+
text: string;
|
|
3
|
+
caretPos: number;
|
|
4
|
+
};
|
|
5
|
+
interface IRegExpTransformer {
|
|
6
|
+
apply: ArdTransformerFn;
|
|
7
|
+
}
|
|
8
|
+
export declare class RegExpTransformer implements IRegExpTransformer {
|
|
9
|
+
regex: RegExp;
|
|
10
|
+
replace: string;
|
|
11
|
+
caretModif: number;
|
|
12
|
+
constructor(regex: RegExp, replace?: string, caretModif?: number);
|
|
13
|
+
apply(currentText: string, previousText: string, caretPos: number): {
|
|
14
|
+
text: string;
|
|
15
|
+
caretPos: number;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export declare const ArdTransformer: {
|
|
19
|
+
readonly ToUpper: ArdTransformerFn;
|
|
20
|
+
readonly ToLower: ArdTransformerFn;
|
|
21
|
+
readonly Integer: ArdTransformerFn;
|
|
22
|
+
readonly Float: ArdTransformerFn;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const CaseTransformerType: {
|
|
2
|
+
readonly NoChange: "nochange";
|
|
3
|
+
readonly Uppercase: "uppercase";
|
|
4
|
+
readonly Lowercase: "lowercase";
|
|
5
|
+
};
|
|
6
|
+
export type CaseTransformerType = (typeof CaseTransformerType)[keyof typeof CaseTransformerType];
|
|
7
|
+
export declare const ArdInputType: {
|
|
8
|
+
readonly Text: "text";
|
|
9
|
+
readonly Password: "password";
|
|
10
|
+
readonly Email: "email";
|
|
11
|
+
readonly Tel: "tel";
|
|
12
|
+
readonly Url: "url";
|
|
13
|
+
readonly Search: "search";
|
|
14
|
+
};
|
|
15
|
+
export type ArdInputType = (typeof ArdInputType)[keyof typeof ArdInputType];
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ElementRef, Signal } from '@angular/core';
|
|
2
|
+
import { Nullable } from '../types/utility.types';
|
|
3
|
+
import { ArdNumberInputMinMaxBehavior } from './number-input/number-input.types';
|
|
4
|
+
export interface InputModelHost {
|
|
5
|
+
readonly maxLength: Signal<Nullable<number>>;
|
|
6
|
+
readonly textInputEl: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
7
|
+
}
|
|
8
|
+
export declare class InputModel {
|
|
9
|
+
protected readonly _ardHostCmp: InputModelHost;
|
|
10
|
+
constructor(_ardHostCmp: InputModelHost);
|
|
11
|
+
readonly value: import("@angular/core").WritableSignal<string | null>;
|
|
12
|
+
readonly stringValue: Signal<string>;
|
|
13
|
+
writeValue(v: any): boolean;
|
|
14
|
+
protected _writeValue(v: string | null): boolean;
|
|
15
|
+
rewriteValueAfterHostUpdate(): void;
|
|
16
|
+
clear(): void;
|
|
17
|
+
trim(): void;
|
|
18
|
+
_updateInputElement(): void;
|
|
19
|
+
get caretPos(): number;
|
|
20
|
+
set caretPos(pos: number);
|
|
21
|
+
protected _applyLengthTransformer(v: string | null): string | null;
|
|
22
|
+
}
|
|
23
|
+
export interface AutocompleteInputModelHost extends InputModelHost {
|
|
24
|
+
charlist: Signal<RegExp | undefined>;
|
|
25
|
+
}
|
|
26
|
+
export declare class AutocompleteInputModel extends InputModel {
|
|
27
|
+
protected readonly _ardHostCmp: AutocompleteInputModelHost;
|
|
28
|
+
constructor(_ardHostCmp: AutocompleteInputModelHost);
|
|
29
|
+
protected _writeValue(v: string | null): boolean;
|
|
30
|
+
setSelection(from: number | null, to: number | null): void;
|
|
31
|
+
protected _applyAllowOrDenylistTransformer(v: string, prev: string): string;
|
|
32
|
+
}
|
|
33
|
+
export interface NumberInputModelHost {
|
|
34
|
+
readonly max: Signal<number>;
|
|
35
|
+
readonly min: Signal<number>;
|
|
36
|
+
readonly minMaxBehavior: Signal<ArdNumberInputMinMaxBehavior>;
|
|
37
|
+
readonly maxDecimalPlaces: Signal<number>;
|
|
38
|
+
readonly fixedDecimalPlaces: Signal<boolean>;
|
|
39
|
+
readonly decimalSeparator: Signal<string>;
|
|
40
|
+
readonly allowFloat: Signal<boolean>;
|
|
41
|
+
readonly inputEl: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
42
|
+
}
|
|
43
|
+
export declare class NumberInputModel {
|
|
44
|
+
protected readonly _ardHostCmp: NumberInputModelHost;
|
|
45
|
+
constructor(_ardHostCmp: NumberInputModelHost);
|
|
46
|
+
protected readonly _value: import("@angular/core").WritableSignal<string | null>;
|
|
47
|
+
readonly value: Signal<string | null>;
|
|
48
|
+
readonly stringValue: Signal<string>;
|
|
49
|
+
readonly numberValue: Signal<number | null>;
|
|
50
|
+
setValue(v: string | number | null): void;
|
|
51
|
+
updateOnBlur(adjustMinMax?: boolean): void;
|
|
52
|
+
private _fixDecimalPlaces;
|
|
53
|
+
private _updateInputEl;
|
|
54
|
+
writeValue(v: any, applyConstraints: boolean): boolean;
|
|
55
|
+
protected _writeValue(v: string | null, applyConstraints: boolean): boolean;
|
|
56
|
+
rewriteValueAfterHostUpdate(): void;
|
|
57
|
+
get caretPos(): number;
|
|
58
|
+
set caretPos(pos: number);
|
|
59
|
+
private _applyStandardConstraints;
|
|
60
|
+
private _standardizeSeparator;
|
|
61
|
+
private _removeDecimalPlaces;
|
|
62
|
+
private _applyNumberConstraint;
|
|
63
|
+
private _applyMinMaxConstraints;
|
|
64
|
+
private _applyMaxDecimalPlaces;
|
|
65
|
+
}
|
|
66
|
+
export declare function escapeAndCreateRegex(str: string, flags?: string, negated?: boolean): RegExp;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { BooleanLike, NumberLike } from '@ardium-ui/devkit';
|
|
4
|
+
import { _FormFieldComponentBase } from '../../_internal/form-field-component';
|
|
5
|
+
import { ButtonAppearance, ButtonVariant } from '../../buttons/general-button.types';
|
|
6
|
+
import { FormFieldFrameTemplateContext } from '../../form-field-frame';
|
|
7
|
+
import { OneAxisAlignment } from '../../types/alignment.types';
|
|
8
|
+
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
9
|
+
import { Nullable } from '../../types/utility.types';
|
|
10
|
+
import { NumberInputModel, NumberInputModelHost } from '../input-utils';
|
|
11
|
+
import { ArdNumberInputDefaults } from './number-input.defaults';
|
|
12
|
+
import { ArdNumberInputPlaceholderTemplateDirective, ArdNumberInputPrefixTemplateDirective, ArdNumberInputSuffixTemplateDirective } from './number-input.directives';
|
|
13
|
+
import { ArdNumberInputMinMaxBehavior } from './number-input.types';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class ArdiumNumberInputComponent extends _FormFieldComponentBase implements ControlValueAccessor, NumberInputModelHost, AfterViewInit {
|
|
16
|
+
protected readonly _DEFAULTS: ArdNumberInputDefaults;
|
|
17
|
+
constructor(defaults: ArdNumberInputDefaults);
|
|
18
|
+
readonly inputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
19
|
+
protected readonly inputModel: NumberInputModel;
|
|
20
|
+
private _wasViewInit;
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
readonly placeholder: import("@angular/core").InputSignal<Nullable<string>>;
|
|
23
|
+
readonly placeholderTemplate: import("@angular/core").Signal<ArdNumberInputPlaceholderTemplateDirective | undefined>;
|
|
24
|
+
readonly shouldDisplayPlaceholder: import("@angular/core").Signal<boolean>;
|
|
25
|
+
readonly prefixTemplate: import("@angular/core").Signal<ArdNumberInputPrefixTemplateDirective | undefined>;
|
|
26
|
+
readonly suffixTemplate: import("@angular/core").Signal<ArdNumberInputSuffixTemplateDirective | undefined>;
|
|
27
|
+
readonly prefixSuffixTemplateContext: import("@angular/core").Signal<FormFieldFrameTemplateContext>;
|
|
28
|
+
readonly prefixComponent: import("@angular/core").Type<import("../../form-field-frame").ArdFormFieldFramePrefixSuffix> | undefined;
|
|
29
|
+
readonly suffixComponent: import("@angular/core").Type<import("../../form-field-frame").ArdFormFieldFramePrefixSuffix> | undefined;
|
|
30
|
+
readonly prefixComponentInputs: import("@angular/core").Signal<Partial<import("../../form-field-frame").ArdFormFieldFramePrefixSuffix>>;
|
|
31
|
+
readonly suffixComponentInputs: import("@angular/core").Signal<Partial<import("../../form-field-frame").ArdFormFieldFramePrefixSuffix>>;
|
|
32
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
33
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
34
|
+
readonly alignText: import("@angular/core").InputSignal<OneAxisAlignment>;
|
|
35
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
36
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
37
|
+
readonly buttonVariant: import("@angular/core").Signal<ButtonVariant>;
|
|
38
|
+
readonly buttonAppearance: import("@angular/core").Signal<ButtonAppearance>;
|
|
39
|
+
readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
|
|
40
|
+
writeValue(v: any): void;
|
|
41
|
+
protected _valueBeforeInit?: string | null;
|
|
42
|
+
set value(v: string | number | null);
|
|
43
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<number | null>;
|
|
44
|
+
readonly inputEvent: import("@angular/core").OutputEmitterRef<number | null>;
|
|
45
|
+
readonly changeEvent: import("@angular/core").OutputEmitterRef<number | null>;
|
|
46
|
+
readonly clearEvent: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
47
|
+
readonly quickChangeEvent: import("@angular/core").OutputEmitterRef<{
|
|
48
|
+
readonly direction: 1 | -1;
|
|
49
|
+
readonly value: number;
|
|
50
|
+
}>;
|
|
51
|
+
readonly min: import("@angular/core").InputSignalWithTransform<number, NumberLike>;
|
|
52
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number, NumberLike>;
|
|
53
|
+
readonly minMaxBehavior: import("@angular/core").InputSignal<ArdNumberInputMinMaxBehavior>;
|
|
54
|
+
readonly maxDecimalPlaces: import("@angular/core").InputSignalWithTransform<number, NumberLike>;
|
|
55
|
+
readonly fixedDecimalPlaces: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
56
|
+
readonly decimalSeparator: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
57
|
+
readonly allowFloat: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
58
|
+
readonly noButtons: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
59
|
+
readonly keepFocusOnQuickChangeButton: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
60
|
+
readonly stepSize: import("@angular/core").InputSignalWithTransform<number, NumberLike>;
|
|
61
|
+
onQuickChangeButtonClick(direction: 1 | -1, event?: MouseEvent): void;
|
|
62
|
+
private _focusInputIfCantQuickChange;
|
|
63
|
+
private _isQuickChangeButtonFocused;
|
|
64
|
+
onQuickChangeButtonMouseup(event: MouseEvent): void;
|
|
65
|
+
readonly canIncrement: import("@angular/core").Signal<boolean>;
|
|
66
|
+
readonly canDecrement: import("@angular/core").Signal<boolean>;
|
|
67
|
+
onInput(newVal: string): void;
|
|
68
|
+
protected _emitInput(): void;
|
|
69
|
+
onFocusMaster(event: FocusEvent): void;
|
|
70
|
+
onBlurMaster(event: FocusEvent): void;
|
|
71
|
+
onChange(event: Event): void;
|
|
72
|
+
protected _emitChange(): void;
|
|
73
|
+
onMouseup(): void;
|
|
74
|
+
onCopy(event: ClipboardEvent): void;
|
|
75
|
+
protected _setInputAttributes(): void;
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumNumberInputComponent, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumNumberInputComponent, "ard-number-input", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "alignText": { "alias": "alignText"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "minMaxBehavior": { "alias": "minMaxBehavior"; "required": false; "isSignal": true; }; "maxDecimalPlaces": { "alias": "maxDecimalPlaces"; "required": false; "isSignal": true; }; "fixedDecimalPlaces": { "alias": "fixedDecimalPlaces"; "required": false; "isSignal": true; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; "isSignal": true; }; "allowFloat": { "alias": "allowFloat"; "required": false; "isSignal": true; }; "noButtons": { "alias": "noButtons"; "required": false; "isSignal": true; }; "keepFocusOnQuickChangeButton": { "alias": "keepFocusOnQuickChangeButton"; "required": false; "isSignal": true; }; "stepSize": { "alias": "stepSize"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; "quickChangeEvent": "quickChange"; }, ["placeholderTemplate", "prefixTemplate", "suffixTemplate"], never, false, never>;
|
|
78
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { InjectionToken, Provider, Type } from '@angular/core';
|
|
2
|
+
import { _FormFieldComponentDefaults } from '../../_internal/form-field-component';
|
|
3
|
+
import { ArdFormFieldFramePrefixSuffix } from '../../form-field-frame';
|
|
4
|
+
import { OneAxisAlignment } from './../../types/alignment.types';
|
|
5
|
+
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
6
|
+
import { ArdNumberInputMinMaxBehavior } from './number-input.types';
|
|
7
|
+
export interface ArdNumberInputDefaults extends _FormFieldComponentDefaults {
|
|
8
|
+
appearance: FormElementAppearance;
|
|
9
|
+
variant: FormElementVariant;
|
|
10
|
+
compact: boolean;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
alignText: OneAxisAlignment;
|
|
13
|
+
inputAttrs: Record<string, any>;
|
|
14
|
+
min: number;
|
|
15
|
+
max: number;
|
|
16
|
+
minMaxBehavior: ArdNumberInputMinMaxBehavior;
|
|
17
|
+
maxDecimalPlaces: number;
|
|
18
|
+
fixedDecimalPlaces: boolean;
|
|
19
|
+
decimalSeparator: string;
|
|
20
|
+
allowFloat: boolean;
|
|
21
|
+
noButtons: boolean;
|
|
22
|
+
stepSize: number;
|
|
23
|
+
keepFocusOnQuickChangeButton: boolean;
|
|
24
|
+
PrefixComponent?: Type<ArdFormFieldFramePrefixSuffix>;
|
|
25
|
+
SuffixComponent?: Type<ArdFormFieldFramePrefixSuffix>;
|
|
26
|
+
}
|
|
27
|
+
export declare const ARD_NUMBER_INPUT_DEFAULTS: InjectionToken<ArdNumberInputDefaults>;
|
|
28
|
+
export declare function provideNumberInputDefaults(config: Partial<ArdNumberInputDefaults>): Provider;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { FormFieldFrameTemplateContext } from '../../form-field-frame';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdNumberInputPlaceholderTemplateDirective {
|
|
5
|
+
template: TemplateRef<undefined>;
|
|
6
|
+
constructor(template: TemplateRef<undefined>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdNumberInputPlaceholderTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdNumberInputPlaceholderTemplateDirective, "ard-number-input > ng-template[ard-placeholder-tmp]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class ArdNumberInputPrefixTemplateDirective {
|
|
11
|
+
template: TemplateRef<FormFieldFrameTemplateContext>;
|
|
12
|
+
constructor(template: TemplateRef<FormFieldFrameTemplateContext>);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdNumberInputPrefixTemplateDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdNumberInputPrefixTemplateDirective, "ard-number-input > ng-template[ard-prefix-tmp]", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
16
|
+
export declare class ArdNumberInputSuffixTemplateDirective {
|
|
17
|
+
template: TemplateRef<FormFieldFrameTemplateContext>;
|
|
18
|
+
constructor(template: TemplateRef<FormFieldFrameTemplateContext>);
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdNumberInputSuffixTemplateDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdNumberInputSuffixTemplateDirective, "ard-number-input > ng-template[ard-suffix-tmp]", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./number-input.component";
|
|
3
|
+
import * as i2 from "./number-input.directives";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@ardium-ui/devkit";
|
|
6
|
+
import * as i5 from "../../buttons/button/button.module";
|
|
7
|
+
export declare class ArdiumNumberInputModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumNumberInputModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumNumberInputModule, [typeof i1.ArdiumNumberInputComponent, typeof i2.ArdNumberInputPlaceholderTemplateDirective, typeof i2.ArdNumberInputPrefixTemplateDirective, typeof i2.ArdNumberInputSuffixTemplateDirective], [typeof i3.CommonModule, typeof i4.ArdiumHoldModule, typeof i5.ArdiumButtonModule], [typeof i1.ArdiumNumberInputComponent, typeof i2.ArdNumberInputPlaceholderTemplateDirective, typeof i2.ArdNumberInputPrefixTemplateDirective, typeof i2.ArdNumberInputSuffixTemplateDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumNumberInputModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ArdNumberInputMinMaxBehavior: {
|
|
2
|
+
readonly AdjustOnInput: "adjust-on-input";
|
|
3
|
+
readonly AdjustOnBlur: "adjust-on-blur";
|
|
4
|
+
readonly Noop: "noop";
|
|
5
|
+
};
|
|
6
|
+
export type ArdNumberInputMinMaxBehavior = typeof ArdNumberInputMinMaxBehavior[keyof typeof ArdNumberInputMinMaxBehavior];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { BooleanLike } from '@ardium-ui/devkit';
|
|
4
|
+
import { _FormFieldComponentBase } from '../../_internal/form-field-component';
|
|
5
|
+
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
6
|
+
import { Nullable } from '../../types/utility.types';
|
|
7
|
+
import { ArdPasswordInputDefaults } from './password-input.defaults';
|
|
8
|
+
import { ArdPasswordInputPlaceholderTemplateDirective, ArdPasswordInputPrefixTemplateDirective, ArdPasswordInputRevealButtonTemplateDirective, ArdPasswordInputSuffixTemplateDirective } from './password-input.directives';
|
|
9
|
+
import { PasswordInputRevealButtonContext } from './password-input.types';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class ArdiumPasswordInputComponent extends _FormFieldComponentBase implements ControlValueAccessor, OnInit, OnDestroy {
|
|
12
|
+
protected readonly _DEFAULTS: ArdPasswordInputDefaults;
|
|
13
|
+
constructor(defaults: ArdPasswordInputDefaults);
|
|
14
|
+
readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
17
|
+
readonly prefixTemplate: import("@angular/core").Signal<ArdPasswordInputPrefixTemplateDirective | undefined>;
|
|
18
|
+
readonly suffixTemplate: import("@angular/core").Signal<ArdPasswordInputSuffixTemplateDirective | undefined>;
|
|
19
|
+
readonly prefixComponent: import("@angular/core").Type<import("@ardium-pl/ui").ArdFormFieldFramePrefixSuffix> | undefined;
|
|
20
|
+
readonly suffixComponent: import("@angular/core").Type<import("@ardium-pl/ui").ArdFormFieldFramePrefixSuffix> | undefined;
|
|
21
|
+
readonly placeholderTemplate: import("@angular/core").Signal<ArdPasswordInputPlaceholderTemplateDirective | undefined>;
|
|
22
|
+
readonly shouldDisplayPlaceholder: import("@angular/core").Signal<boolean>;
|
|
23
|
+
readonly revealable: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
24
|
+
readonly holdToReveal: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
25
|
+
readonly autoHideTimeoutMs: import("@angular/core").InputSignalWithTransform<Nullable<number>, any>;
|
|
26
|
+
readonly revealed: import("@angular/core").ModelSignal<boolean>;
|
|
27
|
+
private _hideTimeout;
|
|
28
|
+
toggleReveal(newState?: boolean): void;
|
|
29
|
+
onMouseUp(): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
readonly revealTemplate: import("@angular/core").Signal<ArdPasswordInputRevealButtonTemplateDirective | undefined>;
|
|
32
|
+
readonly revealButtonContext: import("@angular/core").Signal<PasswordInputRevealButtonContext>;
|
|
33
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
34
|
+
readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
|
|
35
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
36
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
37
|
+
readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
|
|
38
|
+
writeValue(v: any): void;
|
|
39
|
+
protected _writeValue(v: string | null): boolean;
|
|
40
|
+
readonly value: import("@angular/core").ModelSignal<string | null>;
|
|
41
|
+
onInput(newVal: string): void;
|
|
42
|
+
protected _emitChange(): void;
|
|
43
|
+
onChange(event: Event): void;
|
|
44
|
+
onCopy(event: ClipboardEvent): void;
|
|
45
|
+
protected _setInputAttributes(): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumPasswordInputComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumPasswordInputComponent, "ard-password-input", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "revealable": { "alias": "revealable"; "required": false; "isSignal": true; }; "holdToReveal": { "alias": "holdToReveal"; "required": false; "isSignal": true; }; "autoHideTimeoutMs": { "alias": "autoHideTimeoutMs"; "required": false; "isSignal": true; }; "revealed": { "alias": "revealed"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "revealed": "revealedChange"; "value": "valueChange"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate", "revealTemplate"], never, false, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { InjectionToken, Provider, Type } from '@angular/core';
|
|
2
|
+
import { _FormFieldComponentDefaults } from '../../_internal/form-field-component';
|
|
3
|
+
import { ArdFormFieldFramePrefixSuffix } from '../../form-field-frame';
|
|
4
|
+
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
5
|
+
import { Nullable } from './../../types/utility.types';
|
|
6
|
+
export interface ArdPasswordInputDefaults extends _FormFieldComponentDefaults {
|
|
7
|
+
appearance: FormElementAppearance;
|
|
8
|
+
variant: FormElementVariant;
|
|
9
|
+
compact: boolean;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
revealable: boolean;
|
|
12
|
+
holdToReveal: boolean;
|
|
13
|
+
autoHideTimeoutMs: Nullable<number>;
|
|
14
|
+
revealed: boolean;
|
|
15
|
+
inputAttrs: Record<string, any>;
|
|
16
|
+
PrefixComponent?: Type<ArdFormFieldFramePrefixSuffix>;
|
|
17
|
+
SuffixComponent?: Type<ArdFormFieldFramePrefixSuffix>;
|
|
18
|
+
}
|
|
19
|
+
export declare const ARD_PASSWORD_INPUT_DEFAULTS: InjectionToken<ArdPasswordInputDefaults>;
|
|
20
|
+
export declare function providePasswordInputDefaults(config: Partial<ArdPasswordInputDefaults>): Provider;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { FormFieldFrameTemplateContext } from '../../form-field-frame';
|
|
3
|
+
import { PasswordInputRevealButtonContext } from './password-input.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ArdPasswordInputPlaceholderTemplateDirective {
|
|
6
|
+
template: TemplateRef<undefined>;
|
|
7
|
+
constructor(template: TemplateRef<undefined>);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdPasswordInputPlaceholderTemplateDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdPasswordInputPlaceholderTemplateDirective, "ard-password-input > ng-template[ard-placeholder-tmp]", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
11
|
+
export declare class ArdPasswordInputPrefixTemplateDirective {
|
|
12
|
+
template: TemplateRef<FormFieldFrameTemplateContext>;
|
|
13
|
+
constructor(template: TemplateRef<FormFieldFrameTemplateContext>);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdPasswordInputPrefixTemplateDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdPasswordInputPrefixTemplateDirective, "ard-password-input > ng-template[ard-prefix-tmp]", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
export declare class ArdPasswordInputSuffixTemplateDirective {
|
|
18
|
+
template: TemplateRef<FormFieldFrameTemplateContext>;
|
|
19
|
+
constructor(template: TemplateRef<FormFieldFrameTemplateContext>);
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdPasswordInputSuffixTemplateDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdPasswordInputSuffixTemplateDirective, "ard-password-input > ng-template[ard-suffix-tmp]", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
23
|
+
export declare class ArdPasswordInputRevealButtonTemplateDirective {
|
|
24
|
+
template: TemplateRef<PasswordInputRevealButtonContext>;
|
|
25
|
+
constructor(template: TemplateRef<PasswordInputRevealButtonContext>);
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdPasswordInputRevealButtonTemplateDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdPasswordInputRevealButtonTemplateDirective, "ard-password-input > ng-template[ard-reveal-tmp]", never, {}, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./password-input.component";
|
|
3
|
+
import * as i2 from "./password-input.directives";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../form-field-frame/form-field-frame.module";
|
|
6
|
+
import * as i5 from "../../icon/icon.module";
|
|
7
|
+
export declare class ArdiumPasswordInputModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumPasswordInputModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumPasswordInputModule, [typeof i1.ArdiumPasswordInputComponent, typeof i2.ArdPasswordInputPlaceholderTemplateDirective, typeof i2.ArdPasswordInputPrefixTemplateDirective, typeof i2.ArdPasswordInputSuffixTemplateDirective, typeof i2.ArdPasswordInputRevealButtonTemplateDirective], [typeof i3.CommonModule, typeof i4.ArdiumFormFieldFrameModule, typeof i5.ArdiumIconModule], [typeof i1.ArdiumPasswordInputComponent, typeof i2.ArdPasswordInputPlaceholderTemplateDirective, typeof i2.ArdPasswordInputPrefixTemplateDirective, typeof i2.ArdPasswordInputSuffixTemplateDirective, typeof i2.ArdPasswordInputRevealButtonTemplateDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumPasswordInputModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { BooleanLike } from '@ardium-ui/devkit';
|
|
3
|
+
import { FormElementAppearance } from './../types/theming.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ArdiumKbdComponent implements AfterViewInit {
|
|
6
|
+
protected readonly _DEFAULTS: import("./kbd.defaults").ArdKbdDefaults;
|
|
7
|
+
readonly contentWrapper: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
8
|
+
ngAfterViewInit(): void;
|
|
9
|
+
readonly key: import("@angular/core").InputSignal<string>;
|
|
10
|
+
readonly full: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
|
|
11
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
12
|
+
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumKbdComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumKbdComponent, "ard-kbd", never, { "key": { "alias": "key"; "required": false; "isSignal": true; }; "full": { "alias": "full"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { FormElementAppearance } from './../types/theming.types';
|
|
3
|
+
export interface ArdKbdDefaults {
|
|
4
|
+
full: boolean;
|
|
5
|
+
appearance: FormElementAppearance;
|
|
6
|
+
}
|
|
7
|
+
export declare const ARD_KBD_DEFAULTS: InjectionToken<ArdKbdDefaults>;
|
|
8
|
+
export declare function provideKbdDefaults(config: Partial<ArdKbdDefaults>): Provider;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { FormElementAppearance } from './../types/theming.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdiumKbdDirective {
|
|
5
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
6
|
+
readonly renderer: Renderer2;
|
|
7
|
+
readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
|
|
8
|
+
readonly ngClasses: import("@angular/core").Signal<string[]>;
|
|
9
|
+
constructor();
|
|
10
|
+
private updateClasses;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumKbdDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumKbdDirective, "[ardKbd]", never, { "appearance": { "alias": "ardKbdAppearance"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
13
|
+
}
|