@ardium-ui/ui 1.0.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/README.md +25 -0
- package/esm2022/ardium-ui-ui.mjs +5 -0
- package/esm2022/lib/_internal/boolean-component.mjs +108 -0
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +12 -0
- package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +18 -0
- package/esm2022/lib/_internal/disablable-component.mjs +44 -0
- package/esm2022/lib/_internal/focusable-component.mjs +91 -0
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +436 -0
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +349 -0
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +155 -0
- package/esm2022/lib/_internal/models/pagination.model.mjs +124 -0
- package/esm2022/lib/_internal/ngmodel-component.mjs +42 -0
- package/esm2022/lib/_internal/queue.mjs +59 -0
- package/esm2022/lib/_internal/selectable-list-component.mjs +304 -0
- package/esm2022/lib/badge/badge.directive.mjs +123 -0
- package/esm2022/lib/badge/badge.module.mjs +18 -0
- package/esm2022/lib/badge/badge.types.mjs +16 -0
- package/esm2022/lib/buttons/_button-base.mjs +45 -0
- package/esm2022/lib/buttons/button/button.component.mjs +49 -0
- package/esm2022/lib/buttons/button/button.module.mjs +18 -0
- package/esm2022/lib/buttons/fab/fab.component.mjs +40 -0
- package/esm2022/lib/buttons/fab/fab.module.mjs +18 -0
- package/esm2022/lib/buttons/general-button.types.mjs +55 -0
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +37 -0
- package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +18 -0
- package/esm2022/lib/calendar/calendar.component.mjs +982 -0
- package/esm2022/lib/calendar/calendar.directives.mjs +107 -0
- package/esm2022/lib/calendar/calendar.helpers.mjs +47 -0
- package/esm2022/lib/calendar/calendar.module.mjs +21 -0
- package/esm2022/lib/calendar/calendar.types.mjs +11 -0
- package/esm2022/lib/card/card.children.mjs +97 -0
- package/esm2022/lib/card/card.component.mjs +40 -0
- package/esm2022/lib/card/card.module.mjs +59 -0
- package/esm2022/lib/card/card.types.mjs +9 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +73 -0
- package/esm2022/lib/checkbox/checkbox.module.mjs +18 -0
- package/esm2022/lib/checkbox/checkbox.types.mjs +6 -0
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +139 -0
- package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +19 -0
- package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +7 -0
- package/esm2022/lib/chip/chip.component.mjs +55 -0
- package/esm2022/lib/chip/chip.module.mjs +21 -0
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +80 -0
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +77 -0
- package/esm2022/lib/color/color-display/color-display.component.mjs +48 -0
- package/esm2022/lib/color/color-display/color-display.module.mjs +18 -0
- package/esm2022/lib/color/color-display/color-display.types.mjs +9 -0
- package/esm2022/lib/color/color-picker/color-picker.component.mjs +484 -0
- package/esm2022/lib/color/color-picker/color-picker.directives.mjs +55 -0
- package/esm2022/lib/color/color-picker/color-picker.module.mjs +43 -0
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +11 -0
- package/esm2022/lib/dialog/dialog.component.mjs +167 -0
- package/esm2022/lib/dialog/dialog.directives.mjs +14 -0
- package/esm2022/lib/dialog/dialog.module.mjs +21 -0
- package/esm2022/lib/dialog/dialog.types.mjs +6 -0
- package/esm2022/lib/divider/divider.component.mjs +26 -0
- package/esm2022/lib/divider/divider.module.mjs +18 -0
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +130 -0
- package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +18 -0
- package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +10 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +82 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +42 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +58 -0
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +153 -0
- package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +73 -0
- package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +21 -0
- package/esm2022/lib/file-inputs/file-input-base.mjs +187 -0
- package/esm2022/lib/file-inputs/file-input-types.mjs +2 -0
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +74 -0
- package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +25 -0
- package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +19 -0
- package/esm2022/lib/icon/icon.component.mjs +85 -0
- package/esm2022/lib/icon/icon.module.mjs +19 -0
- package/esm2022/lib/icon/icon.pipe.mjs +18 -0
- package/esm2022/lib/inputs/color-input/color-input.component.mjs +421 -0
- package/esm2022/lib/inputs/color-input/color-input.directives.mjs +101 -0
- package/esm2022/lib/inputs/color-input/color-input.module.mjs +85 -0
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +2 -0
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +218 -0
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +217 -0
- package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +18 -0
- package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +15 -0
- package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +8 -0
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +234 -0
- package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +36 -0
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +21 -0
- package/esm2022/lib/inputs/hex-input.model.mjs +106 -0
- package/esm2022/lib/inputs/input/input.component.mjs +344 -0
- package/esm2022/lib/inputs/input/input.directives.mjs +58 -0
- package/esm2022/lib/inputs/input/input.module.mjs +47 -0
- package/esm2022/lib/inputs/input-transformers.mjs +66 -0
- package/esm2022/lib/inputs/input-types.mjs +6 -0
- package/esm2022/lib/inputs/input-utils.mjs +205 -0
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +289 -0
- package/esm2022/lib/inputs/number-input/number-input.directives.mjs +14 -0
- package/esm2022/lib/inputs/number-input/number-input.module.mjs +21 -0
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +222 -0
- package/esm2022/lib/inputs/password-input/password-input.directives.mjs +49 -0
- package/esm2022/lib/inputs/password-input/password-input.module.mjs +41 -0
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +2 -0
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +219 -0
- package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +36 -0
- package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +37 -0
- package/esm2022/lib/kbd/kbd.component.mjs +42 -0
- package/esm2022/lib/kbd/kbd.module.mjs +19 -0
- package/esm2022/lib/kbd/kbd.pipe.mjs +17 -0
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +55 -0
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +19 -0
- package/esm2022/lib/modal/modal.component.mjs +120 -0
- package/esm2022/lib/modal/modal.module.mjs +21 -0
- package/esm2022/lib/option/option.component.mjs +77 -0
- package/esm2022/lib/option/option.module.mjs +18 -0
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +95 -0
- package/esm2022/lib/progress-bar/progress-bar.directive.mjs +14 -0
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +19 -0
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +19 -0
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +94 -0
- package/esm2022/lib/progress-circle/progress-circle.directive.mjs +14 -0
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +19 -0
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +10 -0
- package/esm2022/lib/radio/radio/radio.component.mjs +53 -0
- package/esm2022/lib/radio/radio-group.component.mjs +207 -0
- package/esm2022/lib/radio/radio.module.mjs +19 -0
- package/esm2022/lib/search-functions.mjs +64 -0
- package/esm2022/lib/segment/segment.component.mjs +168 -0
- package/esm2022/lib/segment/segment.directives.mjs +14 -0
- package/esm2022/lib/segment/segment.module.mjs +19 -0
- package/esm2022/lib/segment/segment.types.mjs +12 -0
- package/esm2022/lib/select/select.component.mjs +1160 -0
- package/esm2022/lib/select/select.directive.mjs +171 -0
- package/esm2022/lib/select/select.module.mjs +112 -0
- package/esm2022/lib/select/select.types.mjs +2 -0
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +46 -0
- package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +18 -0
- package/esm2022/lib/slider/abstract-slider.mjs +330 -0
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +143 -0
- package/esm2022/lib/slider/range-slider/range-slider.module.mjs +18 -0
- package/esm2022/lib/slider/slider.component.mjs +93 -0
- package/esm2022/lib/slider/slider.directive.mjs +16 -0
- package/esm2022/lib/slider/slider.module.mjs +20 -0
- package/esm2022/lib/slider/slider.types.mjs +10 -0
- package/esm2022/lib/snackbar/index.mjs +5 -0
- package/esm2022/lib/snackbar/snackbar-ref.mjs +51 -0
- package/esm2022/lib/snackbar/snackbar.component.mjs +48 -0
- package/esm2022/lib/snackbar/snackbar.service.mjs +227 -0
- package/esm2022/lib/snackbar/snackbar.token.mjs +20 -0
- package/esm2022/lib/snackbar/snackbar.types.mjs +25 -0
- package/esm2022/lib/spinner/spinner.component.mjs +22 -0
- package/esm2022/lib/spinner/spinner.module.mjs +18 -0
- package/esm2022/lib/star/star-button/star-button.component.mjs +53 -0
- package/esm2022/lib/star/star-button/star-button.module.mjs +19 -0
- package/esm2022/lib/star/star-display/star-display.component.mjs +66 -0
- package/esm2022/lib/star/star-display/star-display.module.mjs +19 -0
- package/esm2022/lib/star/star-input/star-input.component.mjs +221 -0
- package/esm2022/lib/star/star-input/star-input.module.mjs +19 -0
- package/esm2022/lib/star/star.component.mjs +28 -0
- package/esm2022/lib/star/star.module.mjs +18 -0
- package/esm2022/lib/star/star.types.mjs +23 -0
- package/esm2022/lib/statebox/statebox.component.mjs +158 -0
- package/esm2022/lib/statebox/statebox.module.mjs +18 -0
- package/esm2022/lib/statebox/statebox.types.mjs +2 -0
- package/esm2022/lib/table/table-item-storage.mjs +560 -0
- package/esm2022/lib/table/table.component.mjs +468 -0
- package/esm2022/lib/table/table.directives.mjs +64 -0
- package/esm2022/lib/table/table.module.mjs +46 -0
- package/esm2022/lib/table/table.types.mjs +30 -0
- package/esm2022/lib/table/utils.mjs +18 -0
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +64 -0
- package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +19 -0
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +172 -0
- package/esm2022/lib/table-pagination/table-pagination.module.mjs +21 -0
- package/esm2022/lib/table-pagination/table-pagination.types.mjs +7 -0
- package/esm2022/lib/types/alignment.types.mjs +10 -0
- package/esm2022/lib/types/colors.types.mjs +43 -0
- package/esm2022/lib/types/item-storage.types.mjs +6 -0
- package/esm2022/lib/types/theming.types.mjs +48 -0
- package/esm2022/lib/types/utility.types.mjs +5 -0
- package/esm2022/public-api.mjs +194 -0
- package/fesm2022/ardium-ui-ui.mjs +14316 -0
- package/fesm2022/ardium-ui-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/_internal/boolean-component.d.ts +50 -0
- package/lib/_internal/clear-button/clear-button.component.d.ts +6 -0
- package/lib/_internal/clear-button/clear-button.module.d.ts +8 -0
- package/lib/_internal/disablable-component.d.ts +11 -0
- package/lib/_internal/focusable-component.d.ts +52 -0
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +87 -0
- package/lib/_internal/item-storages/simple-item-storage.d.ts +159 -0
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +70 -0
- package/lib/_internal/models/pagination.model.d.ts +53 -0
- package/lib/_internal/ngmodel-component.d.ts +42 -0
- package/lib/_internal/queue.d.ts +21 -0
- package/lib/_internal/selectable-list-component.d.ts +71 -0
- package/lib/badge/badge.directive.d.ts +31 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/badge.types.d.ts +17 -0
- package/lib/buttons/_button-base.d.ts +18 -0
- package/lib/buttons/button/button.component.d.ts +15 -0
- package/lib/buttons/button/button.module.d.ts +8 -0
- package/lib/buttons/fab/fab.component.d.ts +12 -0
- package/lib/buttons/fab/fab.module.d.ts +8 -0
- package/lib/buttons/general-button.types.d.ts +57 -0
- package/lib/buttons/icon-button/icon-button.component.d.ts +13 -0
- package/lib/buttons/icon-button/icon-button.module.d.ts +8 -0
- package/lib/calendar/calendar.component.d.ts +155 -0
- package/lib/calendar/calendar.directives.d.ts +51 -0
- package/lib/calendar/calendar.helpers.d.ts +15 -0
- package/lib/calendar/calendar.module.d.ts +11 -0
- package/lib/calendar/calendar.types.d.ts +80 -0
- package/lib/card/card.children.d.ts +43 -0
- package/lib/card/card.component.d.ts +13 -0
- package/lib/card/card.module.d.ts +9 -0
- package/lib/card/card.types.d.ts +10 -0
- package/lib/checkbox/checkbox.component.d.ts +21 -0
- package/lib/checkbox/checkbox.module.d.ts +8 -0
- package/lib/checkbox/checkbox.types.d.ts +6 -0
- package/lib/checkbox-list/checkbox-list.component.d.ts +50 -0
- package/lib/checkbox-list/checkbox-list.module.d.ts +9 -0
- package/lib/checkbox-list/checkbox-list.types.d.ts +7 -0
- package/lib/chip/chip.component.d.ts +18 -0
- package/lib/chip/chip.module.d.ts +11 -0
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +24 -0
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +24 -0
- package/lib/color/color-display/color-display.component.d.ts +17 -0
- package/lib/color/color-display/color-display.module.d.ts +8 -0
- package/lib/color/color-display/color-display.types.d.ts +9 -0
- package/lib/color/color-picker/color-picker.component.d.ts +125 -0
- package/lib/color/color-picker/color-picker.directives.d.ts +27 -0
- package/lib/color/color-picker/color-picker.module.d.ts +13 -0
- package/lib/color/color-picker/color-picker.types.d.ts +21 -0
- package/lib/dialog/dialog.component.d.ts +44 -0
- package/lib/dialog/dialog.directives.d.ts +9 -0
- package/lib/dialog/dialog.module.d.ts +11 -0
- package/lib/dialog/dialog.types.d.ts +28 -0
- package/lib/divider/divider.component.d.ts +8 -0
- package/lib/divider/divider.module.d.ts +8 -0
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +37 -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/file-inputs/file-drop-area/file-drop-area.component.d.ts +22 -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-input/file-input.component.d.ts +41 -0
- package/lib/file-inputs/file-input/file-input.directives.d.ts +39 -0
- package/lib/file-inputs/file-input/file-input.module.d.ts +11 -0
- package/lib/file-inputs/file-input-base.d.ts +43 -0
- package/lib/file-inputs/file-input-types.d.ts +10 -0
- package/lib/form-field-frame/form-field-frame.component.d.ts +32 -0
- package/lib/form-field-frame/form-field-frame.directives.d.ts +14 -0
- package/lib/form-field-frame/form-field-frame.module.d.ts +9 -0
- package/lib/icon/icon.component.d.ts +32 -0
- package/lib/icon/icon.module.d.ts +9 -0
- package/lib/icon/icon.pipe.d.ts +7 -0
- package/lib/inputs/color-input/color-input.component.d.ts +147 -0
- package/lib/inputs/color-input/color-input.directives.d.ts +52 -0
- package/lib/inputs/color-input/color-input.module.d.ts +16 -0
- package/lib/inputs/color-input/color-input.types.d.ts +5 -0
- package/lib/inputs/digit-input/digit-input.component.d.ts +50 -0
- package/lib/inputs/digit-input/digit-input.model.d.ts +26 -0
- package/lib/inputs/digit-input/digit-input.module.d.ts +8 -0
- package/lib/inputs/digit-input/digit-input.types.d.ts +27 -0
- package/lib/inputs/digit-input/digit-input.utils.d.ts +17 -0
- package/lib/inputs/hex-input/hex-input.component.d.ts +60 -0
- package/lib/inputs/hex-input/hex-input.directives.d.ts +20 -0
- package/lib/inputs/hex-input/hex-input.module.d.ts +11 -0
- package/lib/inputs/hex-input.model.d.ts +27 -0
- package/lib/inputs/input/input.component.d.ts +79 -0
- package/lib/inputs/input/input.directives.d.ts +33 -0
- package/lib/inputs/input/input.module.d.ts +13 -0
- package/lib/inputs/input-transformers.d.ts +24 -0
- package/lib/inputs/input-types.d.ts +6 -0
- package/lib/inputs/input-utils.d.ts +58 -0
- package/lib/inputs/number-input/number-input.component.d.ts +70 -0
- package/lib/inputs/number-input/number-input.directives.d.ts +8 -0
- package/lib/inputs/number-input/number-input.module.d.ts +11 -0
- package/lib/inputs/password-input/password-input.component.d.ts +54 -0
- package/lib/inputs/password-input/password-input.directives.d.ts +27 -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/inputs/simple-input/simple-input.component.d.ts +58 -0
- package/lib/inputs/simple-input/simple-input.directives.d.ts +20 -0
- package/lib/inputs/simple-input/simple-input.module.d.ts +11 -0
- package/lib/kbd/kbd.component.d.ts +15 -0
- package/lib/kbd/kbd.module.d.ts +9 -0
- package/lib/kbd/kbd.pipe.d.ts +7 -0
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +18 -0
- package/lib/kbd-shortcut/kbd-shortcut.module.d.ts +9 -0
- package/lib/modal/modal.component.d.ts +36 -0
- package/lib/modal/modal.module.d.ts +11 -0
- package/lib/option/option.component.d.ts +29 -0
- package/lib/option/option.module.d.ts +8 -0
- package/lib/progress-bar/progress-bar.component.d.ts +26 -0
- package/lib/progress-bar/progress-bar.directive.d.ts +9 -0
- package/lib/progress-bar/progress-bar.module.d.ts +9 -0
- package/lib/progress-bar/progress-bar.types.d.ts +26 -0
- package/lib/progress-circle/progress-circle.component.d.ts +28 -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 +17 -0
- package/lib/radio/radio/radio.component.d.ts +23 -0
- package/lib/radio/radio-group.component.d.ts +43 -0
- package/lib/radio/radio.module.d.ts +9 -0
- package/lib/search-functions.d.ts +10 -0
- package/lib/segment/segment.component.d.ts +48 -0
- package/lib/segment/segment.directives.d.ts +9 -0
- package/lib/segment/segment.module.d.ts +9 -0
- package/lib/segment/segment.types.d.ts +16 -0
- package/lib/select/select.component.d.ts +255 -0
- package/lib/select/select.directive.d.ts +94 -0
- package/lib/select/select.module.d.ts +14 -0
- package/lib/select/select.types.d.ts +109 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +14 -0
- package/lib/slide-toggle/slide-toggle.module.d.ts +8 -0
- package/lib/slider/abstract-slider.d.ts +88 -0
- package/lib/slider/range-slider/range-slider.component.d.ts +29 -0
- package/lib/slider/range-slider/range-slider.module.d.ts +8 -0
- package/lib/slider/slider.component.d.ts +18 -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 +37 -0
- package/lib/snackbar/snackbar.component.d.ts +16 -0
- package/lib/snackbar/snackbar.service.d.ts +31 -0
- package/lib/snackbar/snackbar.token.d.ts +5 -0
- package/lib/snackbar/snackbar.types.d.ts +48 -0
- package/lib/spinner/spinner.component.d.ts +8 -0
- package/lib/spinner/spinner.module.d.ts +8 -0
- package/lib/star/star-button/star-button.component.d.ts +16 -0
- package/lib/star/star-button/star-button.module.d.ts +9 -0
- package/lib/star/star-display/star-display.component.d.ts +16 -0
- package/lib/star/star-display/star-display.module.d.ts +9 -0
- package/lib/star/star-input/star-input.component.d.ts +51 -0
- package/lib/star/star-input/star-input.module.d.ts +9 -0
- package/lib/star/star.component.d.ts +10 -0
- package/lib/star/star.module.d.ts +8 -0
- package/lib/star/star.types.d.ts +30 -0
- package/lib/statebox/statebox.component.d.ts +31 -0
- package/lib/statebox/statebox.module.d.ts +8 -0
- package/lib/statebox/statebox.types.d.ts +22 -0
- package/lib/table/table-item-storage.d.ts +266 -0
- package/lib/table/table.component.d.ts +127 -0
- package/lib/table/table.directives.d.ts +35 -0
- package/lib/table/table.module.d.ts +12 -0
- package/lib/table/table.types.d.ts +83 -0
- package/lib/table/utils.d.ts +4 -0
- package/lib/table-from-csv/table-from-csv.component.d.ts +16 -0
- package/lib/table-from-csv/table-from-csv.module.d.ts +9 -0
- package/lib/table-pagination/table-pagination.component.d.ts +48 -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/types/alignment.types.d.ts +11 -0
- package/lib/types/colors.types.d.ts +71 -0
- package/lib/types/item-storage.types.d.ts +98 -0
- package/lib/types/theming.types.d.ts +61 -0
- package/lib/types/utility.types.d.ts +11 -0
- package/package.json +36 -0
- package/prebuilt-themes/default/badge.css +208 -0
- package/prebuilt-themes/default/badge.css.map +1 -0
- package/prebuilt-themes/default/buttons/button.css +290 -0
- package/prebuilt-themes/default/buttons/button.css.map +1 -0
- package/prebuilt-themes/default/buttons/fab.css +307 -0
- package/prebuilt-themes/default/buttons/fab.css.map +1 -0
- package/prebuilt-themes/default/buttons/icon-button.css +288 -0
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -0
- package/prebuilt-themes/default/calendar.css +293 -0
- package/prebuilt-themes/default/calendar.css.map +1 -0
- package/prebuilt-themes/default/card.css +122 -0
- package/prebuilt-themes/default/card.css.map +1 -0
- package/prebuilt-themes/default/checkbox-list.css +65 -0
- package/prebuilt-themes/default/checkbox-list.css.map +1 -0
- package/prebuilt-themes/default/checkbox.css +365 -0
- package/prebuilt-themes/default/checkbox.css.map +1 -0
- package/prebuilt-themes/default/chips.css +367 -0
- package/prebuilt-themes/default/chips.css.map +1 -0
- package/prebuilt-themes/default/color-display.css +29 -0
- package/prebuilt-themes/default/color-display.css.map +1 -0
- package/prebuilt-themes/default/color-picker.css +106 -0
- package/prebuilt-themes/default/color-picker.css.map +1 -0
- package/prebuilt-themes/default/core.css +84 -0
- package/prebuilt-themes/default/core.css.map +1 -0
- package/prebuilt-themes/default/dialog.css +18 -0
- package/prebuilt-themes/default/dialog.css.map +1 -0
- package/prebuilt-themes/default/divider.css +11 -0
- package/prebuilt-themes/default/divider.css.map +1 -0
- package/prebuilt-themes/default/dropdown-panel.css +37 -0
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -0
- package/prebuilt-themes/default/file-drop-area.css +279 -0
- package/prebuilt-themes/default/file-drop-area.css.map +1 -0
- package/prebuilt-themes/default/form-field-frame.css +84 -0
- package/prebuilt-themes/default/form-field-frame.css.map +1 -0
- package/prebuilt-themes/default/inputs/color-input.css +139 -0
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/digit-input.css +45 -0
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/file-input.css +169 -0
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/hex-input.css +119 -0
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/input.css +139 -0
- package/prebuilt-themes/default/inputs/input.css.map +1 -0
- package/prebuilt-themes/default/inputs/number-input.css +150 -0
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/password-input.css +73 -0
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/search-bar.css +114 -0
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -0
- package/prebuilt-themes/default/inputs/simple-input.css +114 -0
- package/prebuilt-themes/default/inputs/simple-input.css.map +1 -0
- package/prebuilt-themes/default/kbd-shortcut.css +12 -0
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -0
- package/prebuilt-themes/default/kbd.css +17 -0
- package/prebuilt-themes/default/kbd.css.map +1 -0
- package/prebuilt-themes/default/modal.css +73 -0
- package/prebuilt-themes/default/modal.css.map +1 -0
- package/prebuilt-themes/default/progress-bar.css +267 -0
- package/prebuilt-themes/default/progress-bar.css.map +1 -0
- package/prebuilt-themes/default/progress-circle.css +167 -0
- package/prebuilt-themes/default/progress-circle.css.map +1 -0
- package/prebuilt-themes/default/radio.css +226 -0
- package/prebuilt-themes/default/radio.css.map +1 -0
- package/prebuilt-themes/default/segment.css +391 -0
- package/prebuilt-themes/default/segment.css.map +1 -0
- package/prebuilt-themes/default/select.css +275 -0
- package/prebuilt-themes/default/select.css.map +1 -0
- package/prebuilt-themes/default/slide-toggle.css +264 -0
- package/prebuilt-themes/default/slide-toggle.css.map +1 -0
- package/prebuilt-themes/default/slider.css +354 -0
- package/prebuilt-themes/default/slider.css.map +1 -0
- package/prebuilt-themes/default/snackbar.css +183 -0
- package/prebuilt-themes/default/snackbar.css.map +1 -0
- package/prebuilt-themes/default/spinner.css +151 -0
- package/prebuilt-themes/default/spinner.css.map +1 -0
- package/prebuilt-themes/default/stars.css +291 -0
- package/prebuilt-themes/default/stars.css.map +1 -0
- package/prebuilt-themes/default/statebox.css +235 -0
- package/prebuilt-themes/default/statebox.css.map +1 -0
- package/prebuilt-themes/default/table-pagination.css +48 -0
- package/prebuilt-themes/default/table-pagination.css.map +1 -0
- package/prebuilt-themes/default/table.css +418 -0
- package/prebuilt-themes/default/table.css.map +1 -0
- package/public-api.d.ts +145 -0
- package/themes/_variables.scss +121 -0
- package/themes/default/_clear-button.scss +73 -0
- package/themes/default/_coloring.scss +137 -0
- package/themes/default/_dropdown-arrow.scss +12 -0
- package/themes/default/_mixins.scss +70 -0
- package/themes/default/badge.scss +94 -0
- package/themes/default/buttons/_button-mixins.scss +144 -0
- package/themes/default/buttons/button.scss +62 -0
- package/themes/default/buttons/fab.scss +72 -0
- package/themes/default/buttons/icon-button.scss +59 -0
- package/themes/default/calendar.scss +182 -0
- package/themes/default/card.scss +126 -0
- package/themes/default/checkbox-list.scss +83 -0
- package/themes/default/checkbox.scss +109 -0
- package/themes/default/chips.scss +206 -0
- package/themes/default/color-display.scss +41 -0
- package/themes/default/color-picker.scss +111 -0
- package/themes/default/core.scss +96 -0
- package/themes/default/dialog.scss +16 -0
- package/themes/default/divider.scss +13 -0
- package/themes/default/dropdown-panel.scss +45 -0
- package/themes/default/file-drop-area.scss +162 -0
- package/themes/default/form-field-frame.scss +78 -0
- package/themes/default/inputs/_shared.scss +46 -0
- package/themes/default/inputs/color-input.scss +46 -0
- package/themes/default/inputs/digit-input.scss +56 -0
- package/themes/default/inputs/file-input.scss +78 -0
- package/themes/default/inputs/hex-input.scss +27 -0
- package/themes/default/inputs/input.scss +52 -0
- package/themes/default/inputs/number-input.scss +121 -0
- package/themes/default/inputs/password-input.scss +43 -0
- package/themes/default/inputs/search-bar.scss +19 -0
- package/themes/default/inputs/simple-input.scss +19 -0
- package/themes/default/kbd-shortcut.scss +13 -0
- package/themes/default/kbd.scss +20 -0
- package/themes/default/modal.scss +93 -0
- package/themes/default/progress-bar.scss +166 -0
- package/themes/default/progress-circle.scss +56 -0
- package/themes/default/radio.scss +112 -0
- package/themes/default/segment.scss +339 -0
- package/themes/default/select.scss +253 -0
- package/themes/default/slide-toggle.scss +151 -0
- package/themes/default/slider.scss +224 -0
- package/themes/default/snackbar.scss +60 -0
- package/themes/default/spinner.scss +21 -0
- package/themes/default/stars.scss +122 -0
- package/themes/default/statebox.scss +109 -0
- package/themes/default/table-pagination.scss +56 -0
- package/themes/default/table.scss +403 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef, QueryList } from '@angular/core';
|
|
2
|
+
export type DigitInputConfigData = {
|
|
3
|
+
type: DigitInputConfigDataType;
|
|
4
|
+
char?: string;
|
|
5
|
+
index?: number;
|
|
6
|
+
readonly?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export interface DigitInputModelHost {
|
|
9
|
+
inputs: QueryList<ElementRef<HTMLInputElement>>;
|
|
10
|
+
configArrayData: DigitInputConfigData[];
|
|
11
|
+
}
|
|
12
|
+
export declare const DigitInputConfigDataType: {
|
|
13
|
+
readonly Input: "input";
|
|
14
|
+
readonly Static: "static";
|
|
15
|
+
};
|
|
16
|
+
export type DigitInputConfigDataType = (typeof DigitInputConfigDataType)[keyof typeof DigitInputConfigDataType];
|
|
17
|
+
export declare function _sanitizeRegExpString(str: string): string;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
4
|
+
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
5
|
+
import { HexInputModel, HexInputModelHost } from '../hex-input.model';
|
|
6
|
+
import { CaseTransformerType } from '../input-types';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ArdiumHexInputComponent extends _NgModelComponentBase implements ControlValueAccessor, HexInputModelHost, AfterViewInit {
|
|
9
|
+
textInputEl: ElementRef<HTMLInputElement>;
|
|
10
|
+
protected inputModel: HexInputModel;
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
readonly DEFAULTS: {
|
|
13
|
+
clearButtonTitle: string;
|
|
14
|
+
};
|
|
15
|
+
inputId?: string;
|
|
16
|
+
prefixTemplate?: TemplateRef<any>;
|
|
17
|
+
suffixTemplate?: TemplateRef<any>;
|
|
18
|
+
placeholder: string;
|
|
19
|
+
placeholderTemplate?: TemplateRef<any>;
|
|
20
|
+
get shouldDisplayPlaceholder(): boolean;
|
|
21
|
+
appearance: FormElementAppearance;
|
|
22
|
+
variant: FormElementVariant;
|
|
23
|
+
private _compact;
|
|
24
|
+
get compact(): boolean;
|
|
25
|
+
set compact(v: any);
|
|
26
|
+
case: CaseTransformerType;
|
|
27
|
+
private _maxDigits;
|
|
28
|
+
get maxDigits(): number | undefined;
|
|
29
|
+
set maxDigits(v: any);
|
|
30
|
+
private _hideHash;
|
|
31
|
+
get hideHash(): boolean;
|
|
32
|
+
set hideHash(v: any);
|
|
33
|
+
get showHash(): boolean;
|
|
34
|
+
private _clearable;
|
|
35
|
+
get clearable(): boolean;
|
|
36
|
+
set clearable(v: any);
|
|
37
|
+
clearButtonTitle: string;
|
|
38
|
+
get shouldShowClearButton(): boolean;
|
|
39
|
+
onClearButtonClick(event: MouseEvent): void;
|
|
40
|
+
inputAttrs: {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
};
|
|
43
|
+
writeValue(v: any): void;
|
|
44
|
+
protected _valueBeforeInit?: string | null;
|
|
45
|
+
set value(v: string | null);
|
|
46
|
+
get value(): string | null;
|
|
47
|
+
valueChange: EventEmitter<string>;
|
|
48
|
+
inputEvent: EventEmitter<string>;
|
|
49
|
+
changeEvent: EventEmitter<string>;
|
|
50
|
+
clearEvent: EventEmitter<any>;
|
|
51
|
+
onInput(newVal: string): void;
|
|
52
|
+
protected _emitInput(): void;
|
|
53
|
+
onChange(event: Event): void;
|
|
54
|
+
protected _emitChange(): void;
|
|
55
|
+
onMouseup(event: MouseEvent): void;
|
|
56
|
+
onCopy(event: ClipboardEvent): void;
|
|
57
|
+
protected _setInputAttributes(): void;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumHexInputComponent, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumHexInputComponent, "ard-hex-input", never, { "inputId": { "alias": "inputId"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "case": { "alias": "case"; "required": false; }; "maxDigits": { "alias": "maxDigits"; "required": false; }; "hideHash": { "alias": "hideHash"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate"], never, false, never>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ArdHexInputPlaceholderTemplateDirective {
|
|
4
|
+
template: TemplateRef<undefined>;
|
|
5
|
+
constructor(template: TemplateRef<undefined>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdHexInputPlaceholderTemplateDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdHexInputPlaceholderTemplateDirective, "ard-hex-input > ng-template[ard-placeholder-tmp]", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare class ArdHexInputPrefixTemplateDirective {
|
|
10
|
+
template: TemplateRef<undefined>;
|
|
11
|
+
constructor(template: TemplateRef<undefined>);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdHexInputPrefixTemplateDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdHexInputPrefixTemplateDirective, "ard-hex-input ng-template[ard-prefix-tmp]", never, {}, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
15
|
+
export declare class ArdHexInputSuffixTemplateDirective {
|
|
16
|
+
template: TemplateRef<undefined>;
|
|
17
|
+
constructor(template: TemplateRef<undefined>);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdHexInputSuffixTemplateDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdHexInputSuffixTemplateDirective, "ard-hex-input ng-template[ard-suffix-tmp]", never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -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,27 @@
|
|
|
1
|
+
import { CaseTransformerType } from './input-types';
|
|
2
|
+
export interface HexInputModelHost {
|
|
3
|
+
case: CaseTransformerType;
|
|
4
|
+
maxDigits: number | undefined;
|
|
5
|
+
}
|
|
6
|
+
export declare class HexInputModel {
|
|
7
|
+
protected inputEl: HTMLInputElement;
|
|
8
|
+
protected _hostComp: HexInputModelHost;
|
|
9
|
+
constructor(inputEl: HTMLInputElement, _hostComp: HexInputModelHost);
|
|
10
|
+
protected _value: string | null;
|
|
11
|
+
get value(): string | null;
|
|
12
|
+
set value(v: string | null);
|
|
13
|
+
get stringValue(): string;
|
|
14
|
+
set stringValue(v: string);
|
|
15
|
+
get hashSignValue(): string;
|
|
16
|
+
writeValue(v: any): boolean;
|
|
17
|
+
protected _writeValue(v: string | null): boolean;
|
|
18
|
+
clear(): void;
|
|
19
|
+
rewriteValueAfterHostUpdate(): void;
|
|
20
|
+
_updateInputElement(): void;
|
|
21
|
+
get caretPos(): number;
|
|
22
|
+
set caretPos(pos: number);
|
|
23
|
+
private _charactersRegexTransformer;
|
|
24
|
+
private _applyCharactersConstraint;
|
|
25
|
+
private _applyDigitsConstraint;
|
|
26
|
+
private _applyCaseTransformer;
|
|
27
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Overlay, ScrollStrategyOptions } from '@angular/cdk/overlay';
|
|
2
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import { DropdownPanelAppearance, DropdownPanelVariant } from '../../dropdown-panel/dropdown-panel.types';
|
|
4
|
+
import { ArdSimplestStorageItem } from '../../types/item-storage.types';
|
|
5
|
+
import { SimplestItemStorage, SimplestItemStorageHost } from '../../_internal/item-storages/simplest-item-storage';
|
|
6
|
+
import { ArdiumSimpleInputComponent } from '../simple-input/simple-input.component';
|
|
7
|
+
import { OptionContext } from './../../types/item-storage.types';
|
|
8
|
+
import { InputModel, InputModelHost } from './../input-utils';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ArdiumInputComponent extends ArdiumSimpleInputComponent implements InputModelHost, OnInit, SimplestItemStorageHost, AfterViewInit {
|
|
11
|
+
private viewContainerRef;
|
|
12
|
+
private overlay;
|
|
13
|
+
private scrollStrategyOpts;
|
|
14
|
+
private readonly element;
|
|
15
|
+
constructor(viewContainerRef: ViewContainerRef, overlay: Overlay, scrollStrategyOpts: ScrollStrategyOptions);
|
|
16
|
+
readonly DEFAULTS: {
|
|
17
|
+
clearButtonTitle: string;
|
|
18
|
+
valueFrom: string;
|
|
19
|
+
labelFrom: string;
|
|
20
|
+
suggestionsLoadingText: string;
|
|
21
|
+
};
|
|
22
|
+
protected inputModel: InputModel;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
private _charlistRegExp?;
|
|
25
|
+
get charlist(): RegExp | undefined;
|
|
26
|
+
set charlist(v: any);
|
|
27
|
+
protected _charlistCaseInsensitive: boolean;
|
|
28
|
+
get charlistCaseInsensitive(): boolean;
|
|
29
|
+
set charlistCaseInsensitive(v: any);
|
|
30
|
+
protected _autocomplete?: string | null;
|
|
31
|
+
set autocomplete(v: string | null | undefined);
|
|
32
|
+
get autocomplete(): string | null | undefined;
|
|
33
|
+
get shouldDisplayAutocomplete(): boolean;
|
|
34
|
+
acceptAutocompleteEvent: EventEmitter<any>;
|
|
35
|
+
prefixTemplate?: TemplateRef<any>;
|
|
36
|
+
suffixTemplate?: TemplateRef<any>;
|
|
37
|
+
placeholderTemplate?: TemplateRef<any>;
|
|
38
|
+
suggestionStorage: SimplestItemStorage;
|
|
39
|
+
valueFrom?: string;
|
|
40
|
+
labelFrom?: string;
|
|
41
|
+
acceptSuggestionEvent: EventEmitter<any>;
|
|
42
|
+
get suggestionItems(): any[];
|
|
43
|
+
set suggestions(value: any);
|
|
44
|
+
private _printPrimitiveWarnings;
|
|
45
|
+
private _suggestionDropdowOpen;
|
|
46
|
+
get shouldDisplaySuggestions(): boolean;
|
|
47
|
+
areSuggestionsLoading: boolean;
|
|
48
|
+
suggestionsLoadingText: string;
|
|
49
|
+
suggestionTemplate?: TemplateRef<any>;
|
|
50
|
+
suggestionLoadingTemplate?: TemplateRef<any>;
|
|
51
|
+
dropdownHost: ElementRef<HTMLDivElement>;
|
|
52
|
+
dropdownTemplate: TemplateRef<any>;
|
|
53
|
+
private dropdownOverlay;
|
|
54
|
+
ngAfterViewInit(): void;
|
|
55
|
+
setOverlaySize(): void;
|
|
56
|
+
onWindowResize(): void;
|
|
57
|
+
getOptionContext(item: ArdSimplestStorageItem): OptionContext;
|
|
58
|
+
private _isMouseBeingUsed;
|
|
59
|
+
onMouseMove(): void;
|
|
60
|
+
onSuggestionMouseEnter(item: ArdSimplestStorageItem, event: MouseEvent): void;
|
|
61
|
+
onSuggestionMouseLeave(item: ArdSimplestStorageItem, event: MouseEvent): void;
|
|
62
|
+
selectSuggestion(item: ArdSimplestStorageItem, event: MouseEvent): void;
|
|
63
|
+
private _selectSuggestion;
|
|
64
|
+
handleSuggestionClickOutside(event: MouseEvent): void;
|
|
65
|
+
private _dropdownAppearance?;
|
|
66
|
+
set dropdowonAppearance(v: DropdownPanelAppearance);
|
|
67
|
+
get dropdownAppearance(): DropdownPanelAppearance;
|
|
68
|
+
private _dropdownVariant?;
|
|
69
|
+
set dropdowonVariant(v: DropdownPanelVariant);
|
|
70
|
+
get dropdownVariant(): DropdownPanelVariant;
|
|
71
|
+
onFocus(event: FocusEvent): void;
|
|
72
|
+
onKeyPress(event: KeyboardEvent): void;
|
|
73
|
+
protected _onTabOrEnterPress(event: KeyboardEvent): void;
|
|
74
|
+
private _onEnterPress;
|
|
75
|
+
private _onArrowDownPress;
|
|
76
|
+
private _onArrowUpPress;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumInputComponent, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumInputComponent, "ard-input", never, { "charlist": { "alias": "charlist"; "required": false; }; "charlistCaseInsensitive": { "alias": "charlistCaseInsensitive"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "valueFrom": { "alias": "suggValueFrom"; "required": false; }; "labelFrom": { "alias": "suggLabelFrom"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "areSuggestionsLoading": { "alias": "areSuggestionsLoading"; "required": false; }; "suggestionsLoadingText": { "alias": "suggestionsLoadingText"; "required": false; }; "dropdowonAppearance": { "alias": "dropdowonAppearance"; "required": false; }; "dropdowonVariant": { "alias": "dropdowonVariant"; "required": false; }; }, { "acceptAutocompleteEvent": "acceptAutocomplete"; "acceptSuggestionEvent": "acceptSuggestion"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate", "suggestionTemplate", "suggestionLoadingTemplate"], never, false, never>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { OptionContext } from '../../types/item-storage.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdSuggestionTemplateDirective {
|
|
5
|
+
template: TemplateRef<OptionContext>;
|
|
6
|
+
constructor(template: TemplateRef<OptionContext>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdSuggestionTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdSuggestionTemplateDirective, "ard-input > ng-template[ard-suggestion-tmp]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class ArdInputPlaceholderTemplateDirective {
|
|
11
|
+
template: TemplateRef<undefined>;
|
|
12
|
+
constructor(template: TemplateRef<undefined>);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdInputPlaceholderTemplateDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdInputPlaceholderTemplateDirective, "ard-input > ng-template[ard-placeholder-tmp]", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
16
|
+
export declare class ArdInputLoadingTemplateDirective {
|
|
17
|
+
template: TemplateRef<undefined>;
|
|
18
|
+
constructor(template: TemplateRef<undefined>);
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdInputLoadingTemplateDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdInputLoadingTemplateDirective, "ard-input > ng-template[ard-loading-tmp]", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
22
|
+
export declare class ArdInputPrefixTemplateDirective {
|
|
23
|
+
template: TemplateRef<undefined>;
|
|
24
|
+
constructor(template: TemplateRef<undefined>);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdInputPrefixTemplateDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdInputPrefixTemplateDirective, "ard-input > ng-template[ard-prefix-tmp]", never, {}, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
28
|
+
export declare class ArdInputSuffixTemplateDirective {
|
|
29
|
+
template: TemplateRef<undefined>;
|
|
30
|
+
constructor(template: TemplateRef<undefined>);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdInputSuffixTemplateDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdInputSuffixTemplateDirective, "ard-input > ng-template[ard-suffix-tmp]", never, {}, {}, never, never, false, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 "../../form-field-frame/form-field-frame.module";
|
|
6
|
+
import * as i5 from "../../_internal/clear-button/clear-button.module";
|
|
7
|
+
import * as i6 from "../../dropdown-panel/dropdown-panel.module";
|
|
8
|
+
import * as i7 from "@ardium-ui/devkit";
|
|
9
|
+
export declare class ArdiumInputModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumInputModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumInputModule, [typeof i1.ArdiumInputComponent, typeof i2.ArdSuggestionTemplateDirective, typeof i2.ArdInputPlaceholderTemplateDirective, typeof i2.ArdInputLoadingTemplateDirective, typeof i2.ArdInputPrefixTemplateDirective, typeof i2.ArdInputSuffixTemplateDirective], [typeof i3.CommonModule, typeof i4.ArdiumFormFieldFrameModule, typeof i5._ClearButtonModule, typeof i6.ArdiumDropdownPanelModule, typeof i7.ArdiumClickOutsideEventModule], [typeof i1.ArdiumInputComponent, typeof i2.ArdSuggestionTemplateDirective, typeof i2.ArdInputPlaceholderTemplateDirective, typeof i2.ArdInputLoadingTemplateDirective, typeof i2.ArdInputPrefixTemplateDirective, typeof i2.ArdInputSuffixTemplateDirective]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumInputModule>;
|
|
13
|
+
}
|
|
@@ -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,58 @@
|
|
|
1
|
+
export interface SimpleInputModelHost {
|
|
2
|
+
maxLength?: number;
|
|
3
|
+
}
|
|
4
|
+
export declare class SimpleInputModel {
|
|
5
|
+
protected inputEl: HTMLInputElement;
|
|
6
|
+
protected _hostComp: SimpleInputModelHost;
|
|
7
|
+
constructor(inputEl: HTMLInputElement, hostComp: SimpleInputModelHost);
|
|
8
|
+
protected _value: string | null;
|
|
9
|
+
get value(): string | null;
|
|
10
|
+
set value(v: string | null);
|
|
11
|
+
get stringValue(): string;
|
|
12
|
+
set stringValue(v: string);
|
|
13
|
+
writeValue(v: any): boolean;
|
|
14
|
+
protected _writeValue(v: string | null): boolean;
|
|
15
|
+
rewriteValueAfterHostUpdate(): void;
|
|
16
|
+
clear(): void;
|
|
17
|
+
_updateInputElement(): void;
|
|
18
|
+
get caretPos(): number;
|
|
19
|
+
set caretPos(pos: number);
|
|
20
|
+
protected _applyLengthTransformer(v: string | null): string | null;
|
|
21
|
+
}
|
|
22
|
+
export interface InputModelHost extends SimpleInputModelHost {
|
|
23
|
+
charlist?: RegExp;
|
|
24
|
+
}
|
|
25
|
+
export declare class InputModel extends SimpleInputModel {
|
|
26
|
+
protected _hostComp: InputModelHost;
|
|
27
|
+
constructor(inputEl: HTMLInputElement, hostComp: InputModelHost);
|
|
28
|
+
protected _writeValue(v: string | null): boolean;
|
|
29
|
+
setSelection(from: number | null, to: number | null): void;
|
|
30
|
+
protected _applyAllowOrDenylistTransformer(v: string, prev: string): string;
|
|
31
|
+
}
|
|
32
|
+
export interface NumberInputModelHost {
|
|
33
|
+
max: number;
|
|
34
|
+
min: number;
|
|
35
|
+
allowFloat: boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare class NumberInputModel {
|
|
38
|
+
protected inputEl: HTMLInputElement;
|
|
39
|
+
protected _hostComp: NumberInputModelHost;
|
|
40
|
+
constructor(inputEl: HTMLInputElement, hostComp: NumberInputModelHost);
|
|
41
|
+
protected _value: string | null;
|
|
42
|
+
get value(): string | null;
|
|
43
|
+
set value(v: string | null);
|
|
44
|
+
get stringValue(): string;
|
|
45
|
+
set stringValue(v: string);
|
|
46
|
+
get numberValue(): number | null;
|
|
47
|
+
set numberValue(v: number | null);
|
|
48
|
+
writeValue(v: any): boolean;
|
|
49
|
+
protected _writeValue(v: string | null): boolean;
|
|
50
|
+
rewriteValueAfterHostUpdate(): void;
|
|
51
|
+
_updateInputElement(): void;
|
|
52
|
+
get caretPos(): number;
|
|
53
|
+
set caretPos(pos: number);
|
|
54
|
+
private _removeDecimalPlaces;
|
|
55
|
+
private _applyNumberConstraint;
|
|
56
|
+
private _applyMinMaxConstraints;
|
|
57
|
+
}
|
|
58
|
+
export declare function escapeAndCreateRegex(str: string, flags?: string, negated?: boolean): RegExp;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { ButtonVariant, ButtonAppearance } from '../../buttons/general-button.types';
|
|
4
|
+
import { OneAxisAlignment } from '../../types/alignment.types';
|
|
5
|
+
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
6
|
+
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
7
|
+
import { NumberInputModel, NumberInputModelHost } from '../input-utils';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ArdiumNumberInputComponent extends _NgModelComponentBase implements ControlValueAccessor, NumberInputModelHost, OnInit {
|
|
10
|
+
textInputEl: ElementRef<HTMLInputElement>;
|
|
11
|
+
protected inputModel: NumberInputModel;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
inputId?: string;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
placeholderTemplate?: TemplateRef<any>;
|
|
16
|
+
get shouldDisplayPlaceholder(): boolean;
|
|
17
|
+
appearance: FormElementAppearance;
|
|
18
|
+
variant: FormElementVariant;
|
|
19
|
+
alignText: OneAxisAlignment;
|
|
20
|
+
private _compact;
|
|
21
|
+
get compact(): boolean;
|
|
22
|
+
set compact(v: any);
|
|
23
|
+
get ngClasses(): string;
|
|
24
|
+
get buttonVariant(): ButtonVariant;
|
|
25
|
+
get buttonAppearance(): ButtonAppearance;
|
|
26
|
+
inputAttrs: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
writeValue(v: any): void;
|
|
30
|
+
protected _valueBeforeInit?: string | null;
|
|
31
|
+
set value(v: string | number | null);
|
|
32
|
+
valueChange: EventEmitter<number | null>;
|
|
33
|
+
inputEvent: EventEmitter<number | null>;
|
|
34
|
+
changeEvent: EventEmitter<number | null>;
|
|
35
|
+
clearEvent: EventEmitter<MouseEvent>;
|
|
36
|
+
quickChangeEvent: EventEmitter<{
|
|
37
|
+
direction: 1 | -1;
|
|
38
|
+
value: number;
|
|
39
|
+
}>;
|
|
40
|
+
private _min;
|
|
41
|
+
get min(): number;
|
|
42
|
+
set min(v: any);
|
|
43
|
+
private _max;
|
|
44
|
+
get max(): number;
|
|
45
|
+
set max(v: any);
|
|
46
|
+
private _allowFloat?;
|
|
47
|
+
get allowFloat(): boolean;
|
|
48
|
+
set allowFloat(v: any);
|
|
49
|
+
private _allowQuickChange;
|
|
50
|
+
get allowQuickChange(): boolean;
|
|
51
|
+
set allowQuickChange(v: any);
|
|
52
|
+
private _stepSize;
|
|
53
|
+
get stepSize(): number;
|
|
54
|
+
set stepSize(v: any);
|
|
55
|
+
onQuickChangeButtonClick(direction: 1 | -1, event?: MouseEvent): void;
|
|
56
|
+
private _checkButtonAvailability;
|
|
57
|
+
canIncrement(): boolean;
|
|
58
|
+
canDecrement(): boolean;
|
|
59
|
+
onInput(newVal: string): void;
|
|
60
|
+
protected _emitInput(): void;
|
|
61
|
+
onFocusMaster(event: FocusEvent): void;
|
|
62
|
+
onBlurMaster(event: FocusEvent): void;
|
|
63
|
+
onChange(event: Event): void;
|
|
64
|
+
protected _emitChange(): void;
|
|
65
|
+
onMouseup(event: MouseEvent): void;
|
|
66
|
+
onCopy(event: ClipboardEvent): void;
|
|
67
|
+
protected _setInputAttributes(): void;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumNumberInputComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumNumberInputComponent, "ard-number-input", never, { "inputId": { "alias": "inputId"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "alignText": { "alias": "alignText"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "allowFloat": { "alias": "allowFloat"; "required": false; }; "allowQuickChange": { "alias": "allowQuickChange"; "required": false; }; "stepSize": { "alias": "stepSize"; "required": false; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; "quickChangeEvent": "quickChange"; }, ["placeholderTemplate"], never, false, never>;
|
|
70
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ArdNumberInputPlaceholderTemplateDirective {
|
|
4
|
+
template: TemplateRef<undefined>;
|
|
5
|
+
constructor(template: TemplateRef<undefined>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdNumberInputPlaceholderTemplateDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdNumberInputPlaceholderTemplateDirective, "ard-number-input > ng-template[ard-placeholder-tmp]", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -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 i3.CommonModule, typeof i4.ArdiumHoldEventModule, typeof i5.ArdiumButtonModule], [typeof i1.ArdiumNumberInputComponent, typeof i2.ArdNumberInputPlaceholderTemplateDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumNumberInputModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
4
|
+
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
|
+
import { PasswordInputRevealButtonContext } from './password-input.types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ArdiumPasswordInputComponent extends _NgModelComponentBase implements ControlValueAccessor, OnInit {
|
|
8
|
+
textInputEl: ElementRef<HTMLInputElement>;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
inputId?: string;
|
|
12
|
+
prefixTemplate?: TemplateRef<any>;
|
|
13
|
+
suffixTemplate?: TemplateRef<any>;
|
|
14
|
+
placeholderTemplate?: TemplateRef<any>;
|
|
15
|
+
get shouldDisplayPlaceholder(): boolean;
|
|
16
|
+
private _revealable;
|
|
17
|
+
get revealable(): boolean;
|
|
18
|
+
set revealable(v: any);
|
|
19
|
+
private _revealed;
|
|
20
|
+
get revealed(): boolean;
|
|
21
|
+
set revealed(v: any);
|
|
22
|
+
revealedChange: EventEmitter<boolean>;
|
|
23
|
+
toggleReveal(v?: boolean): void;
|
|
24
|
+
revealTemplate?: TemplateRef<any>;
|
|
25
|
+
getRevealButtonContext(): PasswordInputRevealButtonContext;
|
|
26
|
+
appearance: FormElementAppearance;
|
|
27
|
+
variant: FormElementVariant;
|
|
28
|
+
private _compact;
|
|
29
|
+
get compact(): boolean;
|
|
30
|
+
set compact(v: any);
|
|
31
|
+
get ngClasses(): string;
|
|
32
|
+
inputAttrs: {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
};
|
|
35
|
+
protected _maxLength?: number;
|
|
36
|
+
get maxLength(): number | undefined;
|
|
37
|
+
set maxLength(v: any);
|
|
38
|
+
writeValue(v: any): void;
|
|
39
|
+
protected _writeValue(v: string | null | undefined): boolean;
|
|
40
|
+
protected _value?: string | null;
|
|
41
|
+
set value(v: string | null);
|
|
42
|
+
get value(): string | null;
|
|
43
|
+
valueChange: EventEmitter<string | null>;
|
|
44
|
+
inputEvent: EventEmitter<string | null>;
|
|
45
|
+
changeEvent: EventEmitter<string | null>;
|
|
46
|
+
onInput(newVal: string): void;
|
|
47
|
+
protected _emitInput(): void;
|
|
48
|
+
onChange(event: Event): void;
|
|
49
|
+
protected _emitChange(): void;
|
|
50
|
+
onCopy(event: ClipboardEvent): void;
|
|
51
|
+
protected _setInputAttributes(): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumPasswordInputComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumPasswordInputComponent, "ard-password-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "revealable": { "alias": "revealable"; "required": false; }; "revealed": { "alias": "revealed"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "revealedChange": "revealedChange"; "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate", "revealTemplate"], never, false, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { PasswordInputRevealButtonContext } from './password-input.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdPasswordInputPlaceholderTemplateDirective {
|
|
5
|
+
template: TemplateRef<undefined>;
|
|
6
|
+
constructor(template: TemplateRef<undefined>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdPasswordInputPlaceholderTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdPasswordInputPlaceholderTemplateDirective, "ard-password-input > ng-template[ard-placeholder-tmp]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class ArdPasswordInputPrefixTemplateDirective {
|
|
11
|
+
template: TemplateRef<undefined>;
|
|
12
|
+
constructor(template: TemplateRef<undefined>);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdPasswordInputPrefixTemplateDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdPasswordInputPrefixTemplateDirective, "ard-password-input > ng-template[ard-prefix-tmp]", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
16
|
+
export declare class ArdPasswordInputSuffixTemplateDirective {
|
|
17
|
+
template: TemplateRef<undefined>;
|
|
18
|
+
constructor(template: TemplateRef<undefined>);
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdPasswordInputSuffixTemplateDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdPasswordInputSuffixTemplateDirective, "ard-password-input > ng-template[ard-suffix-tmp]", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
22
|
+
export declare class ArdPasswordInputRevealButtonTemplateDirective {
|
|
23
|
+
template: TemplateRef<PasswordInputRevealButtonContext>;
|
|
24
|
+
constructor(template: TemplateRef<PasswordInputRevealButtonContext>);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdPasswordInputRevealButtonTemplateDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdPasswordInputRevealButtonTemplateDirective, "ard-password-input > ng-template[ard-reveal-tmp]", never, {}, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -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,58 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
4
|
+
import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
|
|
5
|
+
import { SimpleOneAxisAlignment } from './../../types/alignment.types';
|
|
6
|
+
import { SimpleInputModel, SimpleInputModelHost } from './../input-utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ArdiumSimpleInputComponent extends _NgModelComponentBase implements SimpleInputModelHost, ControlValueAccessor, OnInit {
|
|
9
|
+
readonly DEFAULTS: {
|
|
10
|
+
clearButtonTitle: string;
|
|
11
|
+
};
|
|
12
|
+
textInputEl: ElementRef<HTMLInputElement>;
|
|
13
|
+
protected inputModel: SimpleInputModel;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
inputId?: string;
|
|
17
|
+
clearButtonTitle: string;
|
|
18
|
+
prefixTemplate?: TemplateRef<any>;
|
|
19
|
+
suffixTemplate?: TemplateRef<any>;
|
|
20
|
+
placeholderTemplate?: TemplateRef<any>;
|
|
21
|
+
get shouldDisplayPlaceholder(): boolean;
|
|
22
|
+
appearance: FormElementAppearance;
|
|
23
|
+
variant: FormElementVariant;
|
|
24
|
+
alignText: SimpleOneAxisAlignment;
|
|
25
|
+
private _compact;
|
|
26
|
+
get compact(): boolean;
|
|
27
|
+
set compact(v: any);
|
|
28
|
+
get ngClasses(): string;
|
|
29
|
+
inputAttrs: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
protected _maxLength?: number;
|
|
33
|
+
get maxLength(): number | undefined;
|
|
34
|
+
set maxLength(v: any);
|
|
35
|
+
protected _clearable: boolean;
|
|
36
|
+
get clearable(): boolean;
|
|
37
|
+
set clearable(v: any);
|
|
38
|
+
writeValue(v: any): void;
|
|
39
|
+
protected _valueBeforeInit?: string | null;
|
|
40
|
+
set value(v: string | null);
|
|
41
|
+
get value(): string | null;
|
|
42
|
+
valueChange: EventEmitter<string | null>;
|
|
43
|
+
inputEvent: EventEmitter<string | null>;
|
|
44
|
+
changeEvent: EventEmitter<string | null>;
|
|
45
|
+
clearEvent: EventEmitter<MouseEvent>;
|
|
46
|
+
onInput(newVal: string): void;
|
|
47
|
+
protected _emitInput(): void;
|
|
48
|
+
onFocusMaster(event: FocusEvent): void;
|
|
49
|
+
onBlurMaster(event: FocusEvent): void;
|
|
50
|
+
onChange(event: Event): void;
|
|
51
|
+
protected _emitChange(): void;
|
|
52
|
+
get shouldShowClearButton(): boolean;
|
|
53
|
+
onClearButtonClick(event: MouseEvent): void;
|
|
54
|
+
onCopy(event: ClipboardEvent): void;
|
|
55
|
+
protected _setInputAttributes(): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSimpleInputComponent, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSimpleInputComponent, "ard-simple-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "alignText": { "alias": "alignText"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate"], never, false, never>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ArdSimpleInputPlaceholderTemplateDirective {
|
|
4
|
+
template: TemplateRef<undefined>;
|
|
5
|
+
constructor(template: TemplateRef<undefined>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdSimpleInputPlaceholderTemplateDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdSimpleInputPlaceholderTemplateDirective, "ard-simple-input > ng-template[ard-placeholder-tmp]", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare class ArdSimpleInputPrefixTemplateDirective {
|
|
10
|
+
template: TemplateRef<undefined>;
|
|
11
|
+
constructor(template: TemplateRef<undefined>);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdSimpleInputPrefixTemplateDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdSimpleInputPrefixTemplateDirective, "ard-simple-input > ng-template[ard-prefix-tmp]", never, {}, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
15
|
+
export declare class ArdSimpleInputSuffixTemplateDirective {
|
|
16
|
+
template: TemplateRef<undefined>;
|
|
17
|
+
constructor(template: TemplateRef<undefined>);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdSimpleInputSuffixTemplateDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdSimpleInputSuffixTemplateDirective, "ard-simple-input > ng-template[ard-suffix-tmp]", never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|