@acorex/components 6.1.0 → 6.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alert/public-api.d.ts +1 -0
- package/alert/src/alert-button.directive.d.ts +8 -0
- package/alert/src/alert.component.d.ts +18 -10
- package/alert/src/alert.module.d.ts +4 -3
- package/badge/src/badge.component.d.ts +2 -1
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +6 -7
- package/button/src/button-group.component.d.ts +6 -4
- package/button/src/button-item.component.d.ts +6 -4
- package/calendar/src/calendar.component.d.ts +4 -4
- package/calendar/src/calendar.module.d.ts +3 -4
- package/color-picker/src/color-picker.component.d.ts +22 -21
- package/common/public-api.d.ts +1 -0
- package/common/src/common.module.d.ts +4 -3
- package/common/src/debounce-time.directive.d.ts +17 -0
- package/common/src/events.class.d.ts +1 -1
- package/data-table/src/data-table.component.d.ts +3 -3
- package/date-picker/src/datepicker.component.d.ts +15 -12
- package/decorators/public-api.d.ts +1 -0
- package/decorators/src/decorators.module.d.ts +7 -6
- package/decorators/src/sub-title.component.d.ts +9 -0
- package/esm2020/action-sheet/src/action-sheet-item.component.mjs +3 -3
- package/esm2020/action-sheet/src/action-sheet.component.mjs +3 -3
- package/esm2020/action-sheet/src/action-sheet.module.mjs +4 -4
- package/esm2020/alert/public-api.mjs +2 -1
- package/esm2020/alert/src/alert-button.directive.mjs +19 -0
- package/esm2020/alert/src/alert.component.mjs +80 -51
- package/esm2020/alert/src/alert.module.mjs +7 -6
- package/esm2020/avatar/src/avatar-group.component.mjs +3 -3
- package/esm2020/avatar/src/avatar.component.mjs +3 -3
- package/esm2020/avatar/src/avatar.module.mjs +4 -4
- package/esm2020/badge/src/badge.component.mjs +3 -3
- package/esm2020/badge/src/badge.module.mjs +4 -4
- package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +3 -3
- package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +3 -3
- package/esm2020/breadcrumbs/src/breadcrumbs.module.mjs +4 -4
- package/esm2020/button/src/button-group.component.mjs +3 -3
- package/esm2020/button/src/button-item.component.mjs +3 -3
- package/esm2020/button/src/button.component.mjs +3 -3
- package/esm2020/button/src/button.module.mjs +4 -4
- package/esm2020/calendar/src/calendar.class.mjs +3 -3
- package/esm2020/calendar/src/calendar.component.mjs +10 -12
- package/esm2020/calendar/src/calendar.module.mjs +6 -7
- package/esm2020/carousel/src/carousel-arrows.component.mjs +3 -3
- package/esm2020/carousel/src/carousel-item.component.mjs +3 -3
- package/esm2020/carousel/src/carousel-pager.component.mjs +3 -3
- package/esm2020/carousel/src/carousel.class.mjs +3 -3
- package/esm2020/carousel/src/carousel.component.mjs +3 -3
- package/esm2020/carousel/src/carousel.module.mjs +4 -4
- package/esm2020/checkbox/src/checkbox.component.mjs +3 -3
- package/esm2020/checkbox/src/checkbox.module.mjs +4 -4
- package/esm2020/collapse/src/collapse-group.component.mjs +3 -3
- package/esm2020/collapse/src/collapse.component.mjs +3 -3
- package/esm2020/collapse/src/collapse.module.mjs +4 -4
- package/esm2020/color-palette/src/color-palette-input.component.mjs +4 -4
- package/esm2020/color-palette/src/color-palette-picker.component.mjs +3 -3
- package/esm2020/color-palette/src/color-palette-preview.component.mjs +3 -3
- package/esm2020/color-palette/src/color-palette-swatches.component.mjs +3 -3
- package/esm2020/color-palette/src/color-palette.class.mjs +6 -6
- package/esm2020/color-palette/src/color-palette.component.mjs +3 -3
- package/esm2020/color-palette/src/color-palette.module.mjs +4 -4
- package/esm2020/color-picker/src/color-picker.component.mjs +5 -5
- package/esm2020/color-picker/src/color-picker.module.mjs +4 -4
- package/esm2020/common/public-api.mjs +2 -1
- package/esm2020/common/src/auto-focus.directive.mjs +4 -4
- package/esm2020/common/src/common.module.mjs +10 -5
- package/esm2020/common/src/components.class.mjs +18 -18
- package/esm2020/common/src/custom-cdk-overlay.service.mjs +7 -7
- package/esm2020/common/src/debounce-time.directive.mjs +47 -0
- package/esm2020/common/src/events.class.mjs +1 -1
- package/esm2020/common/src/hotkey.directive.mjs +3 -3
- package/esm2020/common/src/hotkey.service.mjs +4 -4
- package/esm2020/common/src/infinite-scroll.directive.mjs +3 -3
- package/esm2020/common/src/overlay.service.mjs +3 -3
- package/esm2020/common/src/responsive.directive.mjs +3 -3
- package/esm2020/context-menu/src/context-menu.component.mjs +3 -3
- package/esm2020/context-menu/src/context-menu.module.mjs +4 -4
- package/esm2020/data-pager/src/data-pager-base.component.mjs +6 -6
- package/esm2020/data-pager/src/data-pager-info.component.mjs +3 -3
- package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +8 -7
- package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +14 -13
- package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +10 -10
- package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +3 -3
- package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +14 -13
- package/esm2020/data-pager/src/data-pager.component.mjs +7 -6
- package/esm2020/data-pager/src/data-pager.module.mjs +4 -4
- package/esm2020/data-table/src/data-column-cell-template.directive.mjs +3 -3
- package/esm2020/data-table/src/data-column.directive.mjs +3 -3
- package/esm2020/data-table/src/data-table.component.mjs +5 -4
- package/esm2020/data-table/src/data-table.module.mjs +4 -4
- package/esm2020/date-picker/src/datepicker.component.mjs +4 -5
- package/esm2020/date-picker/src/datepicker.module.mjs +4 -4
- package/esm2020/decorators/public-api.mjs +2 -1
- package/esm2020/decorators/src/close-button.component.mjs +3 -3
- package/esm2020/decorators/src/content.component.mjs +3 -3
- package/esm2020/decorators/src/decorators.module.mjs +10 -6
- package/esm2020/decorators/src/footer.component.mjs +3 -3
- package/esm2020/decorators/src/header.component.mjs +3 -3
- package/esm2020/decorators/src/icon.component.mjs +3 -3
- package/esm2020/decorators/src/overlay.component.mjs +3 -3
- package/esm2020/decorators/src/placeholder.component.mjs +3 -3
- package/esm2020/decorators/src/prefix.component.mjs +3 -3
- package/esm2020/decorators/src/sub-title.component.mjs +27 -0
- package/esm2020/decorators/src/suffix.component.mjs +3 -3
- package/esm2020/decorators/src/text.component.mjs +3 -3
- package/esm2020/decorators/src/title.component.mjs +3 -3
- package/esm2020/dialog/src/dialog.component.mjs +3 -3
- package/esm2020/dialog/src/dialog.module.mjs +4 -4
- package/esm2020/dialog/src/dialog.service.mjs +3 -3
- package/esm2020/drawer/src/drawer-container.component.mjs +3 -3
- package/esm2020/drawer/src/drawer.component.mjs +3 -3
- package/esm2020/drawer/src/drawer.module.mjs +4 -4
- package/esm2020/dropdown/src/dropdown-panel.component.mjs +3 -3
- package/esm2020/dropdown/src/dropdown.module.mjs +4 -4
- package/esm2020/form/src/form-field.component.mjs +3 -3
- package/esm2020/form/src/form-hint.component.mjs +3 -3
- package/esm2020/form/src/form.component.mjs +3 -3
- package/esm2020/form/src/form.module.mjs +4 -4
- package/esm2020/form/src/validation-rule.widget.mjs +13 -8
- package/esm2020/form/src/validation-summary.component.mjs +25 -17
- package/esm2020/image/src/image.component.mjs +3 -3
- package/esm2020/image/src/image.module.mjs +4 -4
- package/esm2020/label/src/label.component.mjs +3 -3
- package/esm2020/label/src/label.module.mjs +4 -4
- package/esm2020/loading/src/loading-spinner.component.mjs +3 -3
- package/esm2020/loading/src/loading.component.mjs +3 -3
- package/esm2020/loading/src/loading.directive.mjs +3 -3
- package/esm2020/loading/src/loading.module.mjs +4 -4
- package/esm2020/loading/src/loading.service.mjs +3 -3
- package/esm2020/menu/src/menu.component.mjs +3 -3
- package/esm2020/menu/src/menu.module.mjs +4 -4
- package/esm2020/mixin/src/base-components.class.mjs +9 -4
- package/esm2020/mixin/src/textbox-mixin.class.mjs +52 -83
- package/esm2020/mixin/src/value-mixin.class.mjs +2 -1
- package/esm2020/number-box/src/number-box.component.mjs +5 -6
- package/esm2020/number-box/src/number-box.module.mjs +4 -4
- package/esm2020/page/src/base-page.class.mjs +3 -3
- package/esm2020/page/src/page.component.mjs +3 -3
- package/esm2020/page/src/page.module.mjs +4 -4
- package/esm2020/password-box/src/password-box.component.mjs +5 -5
- package/esm2020/password-box/src/password-box.module.mjs +4 -4
- package/esm2020/popover/src/popover.component.mjs +3 -3
- package/esm2020/popover/src/popover.module.mjs +4 -4
- package/esm2020/popup/src/popup.component.mjs +3 -3
- package/esm2020/popup/src/popup.module.mjs +4 -4
- package/esm2020/popup/src/popup.service.mjs +3 -3
- package/esm2020/progress-bar/src/progress-bar.component.mjs +3 -3
- package/esm2020/progress-bar/src/progress-bar.module.mjs +4 -4
- package/esm2020/radio/src/radio.component.mjs +3 -3
- package/esm2020/radio/src/radio.module.mjs +4 -4
- package/esm2020/range-slider/src/range-slider.component.mjs +3 -3
- package/esm2020/range-slider/src/range-slider.module.mjs +4 -4
- package/esm2020/rating/src/rating.component.mjs +3 -3
- package/esm2020/rating/src/rating.component.module.mjs +4 -4
- package/esm2020/result/src/result.component.mjs +3 -3
- package/esm2020/result/src/result.module.mjs +4 -4
- package/esm2020/search-box/src/search-box.component.mjs +6 -5
- package/esm2020/search-box/src/search-box.module.mjs +4 -4
- package/esm2020/select-box/src/selectbox.component.mjs +7 -7
- package/esm2020/select-box/src/selectbox.module.mjs +4 -4
- package/esm2020/selection-list/src/selection-list.component.mjs +21 -10
- package/esm2020/selection-list/src/selection-list.module.mjs +4 -4
- package/esm2020/switch/src/switch.component.mjs +3 -3
- package/esm2020/switch/src/switch.module.mjs +4 -4
- package/esm2020/tabs/src/tab-content.directive.mjs +3 -3
- package/esm2020/tabs/src/tab-item.component.mjs +3 -3
- package/esm2020/tabs/src/tabs.component.mjs +3 -3
- package/esm2020/tabs/src/tabs.module.mjs +4 -4
- package/esm2020/textarea/src/textarea.component.mjs +5 -5
- package/esm2020/textarea/src/textarea.module.mjs +4 -4
- package/esm2020/textbox/public-api.mjs +2 -2
- package/esm2020/textbox/src/mask-options.directive.mjs +22 -0
- package/esm2020/textbox/src/textbox.component.mjs +46 -26
- package/esm2020/textbox/src/textbox.module.mjs +14 -10
- package/esm2020/time-box/src/time-box.component.mjs +6 -6
- package/esm2020/time-box/src/time-box.module.mjs +4 -4
- package/esm2020/toast/src/toast.component.mjs +5 -5
- package/esm2020/toast/src/toast.module.mjs +4 -4
- package/esm2020/toast/src/toast.service.mjs +3 -3
- package/esm2020/tooltip/src/tooltip.component.mjs +3 -3
- package/esm2020/tooltip/src/tooltip.directive.mjs +3 -3
- package/esm2020/tooltip/src/tooltip.module.mjs +4 -4
- package/esm2020/tree-view/src/tree-view.component.mjs +3 -3
- package/esm2020/tree-view/src/tree-view.module.mjs +4 -4
- package/esm2020/uploader/src/uploader.component.mjs +3 -3
- package/esm2020/uploader/src/uploader.module.mjs +4 -4
- package/fesm2015/acorex-components-action-sheet.mjs +10 -10
- package/fesm2015/acorex-components-alert.mjs +106 -58
- package/fesm2015/acorex-components-alert.mjs.map +1 -1
- package/fesm2015/acorex-components-avatar.mjs +10 -10
- package/fesm2015/acorex-components-badge.mjs +7 -7
- package/fesm2015/acorex-components-breadcrumbs.mjs +10 -10
- package/fesm2015/acorex-components-button.mjs +13 -13
- package/fesm2015/acorex-components-calendar.mjs +17 -20
- package/fesm2015/acorex-components-calendar.mjs.map +1 -1
- package/fesm2015/acorex-components-carousel.mjs +19 -19
- package/fesm2015/acorex-components-checkbox.mjs +7 -7
- package/fesm2015/acorex-components-collapse.mjs +10 -10
- package/fesm2015/acorex-components-color-palette.mjs +26 -26
- package/fesm2015/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2015/acorex-components-color-picker.mjs +8 -8
- package/fesm2015/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2015/acorex-components-common.mjs +104 -55
- package/fesm2015/acorex-components-common.mjs.map +1 -1
- package/fesm2015/acorex-components-context-menu.mjs +7 -7
- package/fesm2015/acorex-components-data-pager.mjs +59 -57
- package/fesm2015/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2015/acorex-components-data-table.mjs +14 -13
- package/fesm2015/acorex-components-data-table.mjs.map +1 -1
- package/fesm2015/acorex-components-date-picker.mjs +7 -8
- package/fesm2015/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2015/acorex-components-decorators.mjs +65 -39
- package/fesm2015/acorex-components-decorators.mjs.map +1 -1
- package/fesm2015/acorex-components-dialog.mjs +10 -10
- package/fesm2015/acorex-components-drawer.mjs +10 -10
- package/fesm2015/acorex-components-dropdown.mjs +7 -7
- package/fesm2015/acorex-components-form.mjs +49 -36
- package/fesm2015/acorex-components-form.mjs.map +1 -1
- package/fesm2015/acorex-components-image.mjs +7 -7
- package/fesm2015/acorex-components-label.mjs +7 -7
- package/fesm2015/acorex-components-loading.mjs +16 -16
- package/fesm2015/acorex-components-menu.mjs +7 -7
- package/fesm2015/acorex-components-mixin.mjs +12 -36
- package/fesm2015/acorex-components-mixin.mjs.map +1 -1
- package/fesm2015/acorex-components-number-box.mjs +8 -9
- package/fesm2015/acorex-components-number-box.mjs.map +1 -1
- package/fesm2015/acorex-components-page.mjs +10 -10
- package/fesm2015/acorex-components-password-box.mjs +8 -8
- package/fesm2015/acorex-components-password-box.mjs.map +1 -1
- package/fesm2015/acorex-components-popover.mjs +7 -7
- package/fesm2015/acorex-components-popup.mjs +10 -10
- package/fesm2015/acorex-components-progress-bar.mjs +7 -7
- package/fesm2015/acorex-components-radio.mjs +7 -7
- package/fesm2015/acorex-components-range-slider.mjs +7 -7
- package/fesm2015/acorex-components-rating.mjs +7 -7
- package/fesm2015/acorex-components-result.mjs +7 -7
- package/fesm2015/acorex-components-search-box.mjs +9 -8
- package/fesm2015/acorex-components-search-box.mjs.map +1 -1
- package/fesm2015/acorex-components-select-box.mjs +10 -10
- package/fesm2015/acorex-components-select-box.mjs.map +1 -1
- package/fesm2015/acorex-components-selection-list.mjs +24 -13
- package/fesm2015/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2015/acorex-components-switch.mjs +7 -7
- package/fesm2015/acorex-components-tabs.mjs +13 -13
- package/fesm2015/acorex-components-textarea.mjs +8 -8
- package/fesm2015/acorex-components-textarea.mjs.map +1 -1
- package/fesm2015/acorex-components-textbox.mjs +65 -42
- package/fesm2015/acorex-components-textbox.mjs.map +1 -1
- package/fesm2015/acorex-components-time-box.mjs +9 -9
- package/fesm2015/acorex-components-time-box.mjs.map +1 -1
- package/fesm2015/acorex-components-toast.mjs +11 -11
- package/fesm2015/acorex-components-toast.mjs.map +1 -1
- package/fesm2015/acorex-components-tooltip.mjs +10 -10
- package/fesm2015/acorex-components-tree-view.mjs +7 -7
- package/fesm2015/acorex-components-uploader.mjs +7 -7
- package/fesm2020/acorex-components-action-sheet.mjs +10 -10
- package/fesm2020/acorex-components-alert.mjs +104 -58
- package/fesm2020/acorex-components-alert.mjs.map +1 -1
- package/fesm2020/acorex-components-avatar.mjs +10 -10
- package/fesm2020/acorex-components-badge.mjs +7 -7
- package/fesm2020/acorex-components-breadcrumbs.mjs +10 -10
- package/fesm2020/acorex-components-button.mjs +13 -13
- package/fesm2020/acorex-components-calendar.mjs +17 -20
- package/fesm2020/acorex-components-calendar.mjs.map +1 -1
- package/fesm2020/acorex-components-carousel.mjs +19 -19
- package/fesm2020/acorex-components-checkbox.mjs +7 -7
- package/fesm2020/acorex-components-collapse.mjs +10 -10
- package/fesm2020/acorex-components-color-palette.mjs +26 -26
- package/fesm2020/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2020/acorex-components-color-picker.mjs +8 -8
- package/fesm2020/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2020/acorex-components-common.mjs +103 -55
- package/fesm2020/acorex-components-common.mjs.map +1 -1
- package/fesm2020/acorex-components-context-menu.mjs +7 -7
- package/fesm2020/acorex-components-data-pager.mjs +59 -57
- package/fesm2020/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2020/acorex-components-data-table.mjs +14 -13
- package/fesm2020/acorex-components-data-table.mjs.map +1 -1
- package/fesm2020/acorex-components-date-picker.mjs +7 -8
- package/fesm2020/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2020/acorex-components-decorators.mjs +65 -39
- package/fesm2020/acorex-components-decorators.mjs.map +1 -1
- package/fesm2020/acorex-components-dialog.mjs +10 -10
- package/fesm2020/acorex-components-drawer.mjs +10 -10
- package/fesm2020/acorex-components-dropdown.mjs +7 -7
- package/fesm2020/acorex-components-form.mjs +49 -36
- package/fesm2020/acorex-components-form.mjs.map +1 -1
- package/fesm2020/acorex-components-image.mjs +7 -7
- package/fesm2020/acorex-components-label.mjs +7 -7
- package/fesm2020/acorex-components-loading.mjs +16 -16
- package/fesm2020/acorex-components-menu.mjs +7 -7
- package/fesm2020/acorex-components-mixin.mjs +60 -84
- package/fesm2020/acorex-components-mixin.mjs.map +1 -1
- package/fesm2020/acorex-components-number-box.mjs +8 -9
- package/fesm2020/acorex-components-number-box.mjs.map +1 -1
- package/fesm2020/acorex-components-page.mjs +10 -10
- package/fesm2020/acorex-components-password-box.mjs +8 -8
- package/fesm2020/acorex-components-password-box.mjs.map +1 -1
- package/fesm2020/acorex-components-popover.mjs +7 -7
- package/fesm2020/acorex-components-popup.mjs +10 -10
- package/fesm2020/acorex-components-progress-bar.mjs +7 -7
- package/fesm2020/acorex-components-radio.mjs +7 -7
- package/fesm2020/acorex-components-range-slider.mjs +7 -7
- package/fesm2020/acorex-components-rating.mjs +7 -7
- package/fesm2020/acorex-components-result.mjs +7 -7
- package/fesm2020/acorex-components-search-box.mjs +9 -8
- package/fesm2020/acorex-components-search-box.mjs.map +1 -1
- package/fesm2020/acorex-components-select-box.mjs +10 -10
- package/fesm2020/acorex-components-select-box.mjs.map +1 -1
- package/fesm2020/acorex-components-selection-list.mjs +24 -13
- package/fesm2020/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2020/acorex-components-switch.mjs +7 -7
- package/fesm2020/acorex-components-tabs.mjs +13 -13
- package/fesm2020/acorex-components-textarea.mjs +8 -8
- package/fesm2020/acorex-components-textarea.mjs.map +1 -1
- package/fesm2020/acorex-components-textbox.mjs +64 -42
- package/fesm2020/acorex-components-textbox.mjs.map +1 -1
- package/fesm2020/acorex-components-time-box.mjs +9 -9
- package/fesm2020/acorex-components-time-box.mjs.map +1 -1
- package/fesm2020/acorex-components-toast.mjs +11 -11
- package/fesm2020/acorex-components-toast.mjs.map +1 -1
- package/fesm2020/acorex-components-tooltip.mjs +10 -10
- package/fesm2020/acorex-components-tree-view.mjs +7 -7
- package/fesm2020/acorex-components-uploader.mjs +7 -7
- package/form/src/validation-rule.widget.d.ts +1 -0
- package/form/src/validation-summary.component.d.ts +4 -2
- package/mixin/src/base-components.class.d.ts +3 -1
- package/mixin/src/base-menu-mixin.class.d.ts +5 -4
- package/mixin/src/button-mixin.class.d.ts +2 -1
- package/mixin/src/clickable-mixin.class.d.ts +3 -4
- package/mixin/src/color-look-mixing.class.d.ts +2 -1
- package/mixin/src/datalist-component.class.d.ts +10 -9
- package/mixin/src/dropdown-mixin.class.d.ts +2 -1
- package/mixin/src/interactive-mixin.class.d.ts +5 -6
- package/mixin/src/loading-mixin.class.d.ts +2 -1
- package/mixin/src/mixin.class.d.ts +63 -47
- package/mixin/src/page-component.class.d.ts +2 -1
- package/mixin/src/selection-component.class.d.ts +3 -4
- package/mixin/src/sizable-mixin.class.d.ts +2 -1
- package/mixin/src/textbox-mixin.class.d.ts +5 -13
- package/mixin/src/value-mixin.class.d.ts +8 -7
- package/number-box/src/number-box.component.d.ts +1 -1
- package/package.json +4 -12
- package/password-box/src/password-box.component.d.ts +1 -1
- package/select-box/src/selectbox.component.d.ts +1 -1
- package/selection-list/src/selection-list.component.d.ts +5 -4
- package/tabs/src/tab-item.component.d.ts +2 -1
- package/textarea/src/textarea.component.d.ts +1 -1
- package/textbox/public-api.d.ts +1 -1
- package/textbox/src/mask-options.directive.d.ts +13 -0
- package/textbox/src/textbox.component.d.ts +12 -6
- package/textbox/src/textbox.module.d.ts +6 -5
- package/time-box/src/time-box.component.d.ts +2 -2
- package/esm2020/input-mask/acorex-components-input-mask.mjs +0 -5
- package/esm2020/input-mask/public-api.mjs +0 -3
- package/esm2020/input-mask/src/input-mask.component.mjs +0 -58
- package/esm2020/input-mask/src/input-mask.module.mjs +0 -24
- package/esm2020/textbox/src/mask-settings.directive.mjs +0 -23
- package/fesm2015/acorex-components-input-mask.mjs +0 -86
- package/fesm2015/acorex-components-input-mask.mjs.map +0 -1
- package/fesm2020/acorex-components-input-mask.mjs +0 -86
- package/fesm2020/acorex-components-input-mask.mjs.map +0 -1
- package/input-mask/index.d.ts +0 -5
- package/input-mask/public-api.d.ts +0 -2
- package/input-mask/src/input-mask.component.d.ts +0 -25
- package/input-mask/src/input-mask.module.d.ts +0 -10
- package/textbox/src/mask-settings.directive.d.ts +0 -8
|
@@ -4,7 +4,7 @@ export declare function _PageComponenetMixin<TBase extends Constructor<AXBaseCom
|
|
|
4
4
|
new (...args: any[]): {
|
|
5
5
|
id: string;
|
|
6
6
|
rtl: boolean;
|
|
7
|
-
"__#
|
|
7
|
+
"__#34353@#elementRef": import("@angular/core").ElementRef<any>;
|
|
8
8
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
9
9
|
_isInited: boolean;
|
|
10
10
|
_isRendered: boolean;
|
|
@@ -22,5 +22,6 @@ export declare function _PageComponenetMixin<TBase extends Constructor<AXBaseCom
|
|
|
22
22
|
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
23
23
|
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
24
24
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
25
|
+
_isRtl(): boolean;
|
|
25
26
|
};
|
|
26
27
|
} & TBase;
|
|
@@ -34,11 +34,9 @@ export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBa
|
|
|
34
34
|
toggleSelect(...items: any[]): void;
|
|
35
35
|
isItemSelected(item: any): boolean;
|
|
36
36
|
isItemDisabled(item: any): boolean;
|
|
37
|
-
id: string;
|
|
38
|
-
* Defines the primary text to show inside the button.
|
|
39
|
-
*/
|
|
37
|
+
id: string;
|
|
40
38
|
rtl: boolean;
|
|
41
|
-
"__#
|
|
39
|
+
"__#34353@#elementRef": import("@angular/core").ElementRef<any>;
|
|
42
40
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
43
41
|
_isInited: boolean;
|
|
44
42
|
_isRendered: boolean;
|
|
@@ -55,6 +53,7 @@ export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBa
|
|
|
55
53
|
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
56
54
|
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
57
55
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
56
|
+
_isRtl(): boolean;
|
|
58
57
|
};
|
|
59
58
|
} & TBase;
|
|
60
59
|
export declare const SELECTION_INPUTS: string[];
|
|
@@ -9,7 +9,7 @@ export declare function _SizableComponenetMixin<TBase extends Constructor<AXBase
|
|
|
9
9
|
_onInternalInit(): void;
|
|
10
10
|
id: string;
|
|
11
11
|
rtl: boolean;
|
|
12
|
-
"__#
|
|
12
|
+
"__#34353@#elementRef": import("@angular/core").ElementRef<any>;
|
|
13
13
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
14
14
|
_isInited: boolean;
|
|
15
15
|
_isRendered: boolean;
|
|
@@ -26,6 +26,7 @@ export declare function _SizableComponenetMixin<TBase extends Constructor<AXBase
|
|
|
26
26
|
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
27
27
|
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
28
28
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
29
|
+
_isRtl(): boolean;
|
|
29
30
|
};
|
|
30
31
|
} & TBase;
|
|
31
32
|
export declare const SIZABLE_INPUTS: string[];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Subject, Subscription } from 'rxjs';
|
|
3
2
|
import { AXHtmlEvent } from '@acorex/components/common';
|
|
4
3
|
import { AXBaseComponent } from './base-components.class';
|
|
5
4
|
import { Constructor } from './constratctor';
|
|
@@ -21,9 +20,6 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
|
|
|
21
20
|
* Specifies that autocomplete is on or off.
|
|
22
21
|
*/
|
|
23
22
|
autoComplete: string;
|
|
24
|
-
debounceTime: number;
|
|
25
|
-
"__#33102@#valueSubscription": Subscription;
|
|
26
|
-
"__#33102@#valueSubject": Subject<unknown>;
|
|
27
23
|
/**
|
|
28
24
|
* Fires each time the user press a key.
|
|
29
25
|
* @event
|
|
@@ -42,31 +38,27 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
|
|
|
42
38
|
_emitOnKeydownEvent(e: KeyboardEvent): void;
|
|
43
39
|
_emitOnKeyupEvent(e: KeyboardEvent): void;
|
|
44
40
|
_emitOnKeypressEvent(e: KeyboardEvent): void;
|
|
45
|
-
_handleModleChange(value: any): void;
|
|
46
|
-
_settleValue(value: any): void;
|
|
47
|
-
onInit(): void;
|
|
48
|
-
onDestroy(): void;
|
|
49
41
|
id: string;
|
|
50
42
|
rtl: boolean;
|
|
51
|
-
"__#
|
|
43
|
+
"__#34353@#elementRef": import("@angular/core").ElementRef<any>;
|
|
52
44
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
53
45
|
_isInited: boolean;
|
|
54
46
|
_isRendered: boolean;
|
|
55
47
|
ngOnInit(): void;
|
|
56
|
-
ngAfterViewInit(): void;
|
|
57
|
-
* Fires each time the user press a key.
|
|
58
|
-
* @event
|
|
59
|
-
*/
|
|
48
|
+
ngAfterViewInit(): void;
|
|
60
49
|
ngOnDestroy(): void;
|
|
61
50
|
_getHostElement<T = HTMLElement>(): T;
|
|
62
51
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
63
52
|
_onInternalInit(): void;
|
|
64
53
|
_onInternalViewInit(): void;
|
|
65
54
|
_onInternalDestroy(): void;
|
|
55
|
+
onInit(): void;
|
|
66
56
|
onViewInit(): void;
|
|
57
|
+
onDestroy(): void;
|
|
67
58
|
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
68
59
|
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
69
60
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
61
|
+
_isRtl(): boolean;
|
|
70
62
|
};
|
|
71
63
|
} & TBase;
|
|
72
64
|
export declare const TEXTBOX_INPUTS: string[];
|
|
@@ -10,20 +10,20 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
|
|
|
10
10
|
*/
|
|
11
11
|
onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
|
|
12
12
|
valueChange: EventEmitter<any>;
|
|
13
|
-
"__#
|
|
13
|
+
"__#34357@#readonly": boolean;
|
|
14
14
|
/**
|
|
15
15
|
* If set to true, user cannot change the value of component.
|
|
16
16
|
*/
|
|
17
17
|
readonly: boolean;
|
|
18
|
-
"__#
|
|
18
|
+
"__#34357@#allowNull": boolean;
|
|
19
19
|
allowNull: boolean;
|
|
20
|
-
"__#
|
|
20
|
+
"__#34357@#name": string;
|
|
21
21
|
name: string;
|
|
22
|
-
"__#
|
|
22
|
+
"__#34357@#isUserInteraction": boolean;
|
|
23
23
|
readonly isUserInteraction: boolean;
|
|
24
|
-
"__#
|
|
24
|
+
"__#34357@#value": any;
|
|
25
25
|
value: any;
|
|
26
|
-
"__#
|
|
26
|
+
"__#34357@#state": 'clear' | 'success' | 'error';
|
|
27
27
|
readonly state: "error" | "clear" | "success";
|
|
28
28
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
29
29
|
_internalSetValue(value: any): any;
|
|
@@ -39,7 +39,7 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
|
|
|
39
39
|
_setState(state: 'clear' | 'success' | 'error', ...args: any[]): void;
|
|
40
40
|
id: string;
|
|
41
41
|
rtl: boolean;
|
|
42
|
-
"__#
|
|
42
|
+
"__#34353@#elementRef": import("@angular/core").ElementRef<any>;
|
|
43
43
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
44
44
|
_isInited: boolean;
|
|
45
45
|
_isRendered: boolean;
|
|
@@ -55,6 +55,7 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
|
|
|
55
55
|
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
56
56
|
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
57
57
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
58
|
+
_isRtl(): boolean;
|
|
58
59
|
};
|
|
59
60
|
} & TBase;
|
|
60
61
|
export declare const VALUE_INPUTS: string[];
|
|
@@ -74,5 +74,5 @@ export declare class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
74
74
|
decimalStepUp(): void;
|
|
75
75
|
decimalStepDown(): void;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "thousandsSeparator": "thousandsSeparator"; "padDecimalZeros": "padDecimalZeros"; "step": "step"; "decimals": "decimals"; "decimalStep": "decimalStep"; "showSpinButtons": "showSpinButtons"; "minValue": "minValue"; "maxValue": "maxValue"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
|
|
78
78
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^14.
|
|
6
|
-
"@angular/core": "^14.
|
|
7
|
-
"@angular/cdk": "^14.
|
|
5
|
+
"@angular/common": "^14.2.2",
|
|
6
|
+
"@angular/core": "^14.2.2",
|
|
7
|
+
"@angular/cdk": "^14.2.2",
|
|
8
8
|
"@splidejs/splide": "^4.0.7",
|
|
9
9
|
"angular-imask": "^6.4.2",
|
|
10
10
|
"imask": "^6.4.2",
|
|
@@ -232,14 +232,6 @@
|
|
|
232
232
|
"node": "./fesm2015/acorex-components-image.mjs",
|
|
233
233
|
"default": "./fesm2020/acorex-components-image.mjs"
|
|
234
234
|
},
|
|
235
|
-
"./input-mask": {
|
|
236
|
-
"types": "./input-mask/index.d.ts",
|
|
237
|
-
"esm2020": "./esm2020/input-mask/acorex-components-input-mask.mjs",
|
|
238
|
-
"es2020": "./fesm2020/acorex-components-input-mask.mjs",
|
|
239
|
-
"es2015": "./fesm2015/acorex-components-input-mask.mjs",
|
|
240
|
-
"node": "./fesm2015/acorex-components-input-mask.mjs",
|
|
241
|
-
"default": "./fesm2020/acorex-components-input-mask.mjs"
|
|
242
|
-
},
|
|
243
235
|
"./label": {
|
|
244
236
|
"types": "./label/index.d.ts",
|
|
245
237
|
"esm2020": "./esm2020/label/acorex-components-label.mjs",
|
|
@@ -21,5 +21,5 @@ export declare class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
|
|
|
21
21
|
focus(): void;
|
|
22
22
|
toggleType(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPasswordBoxComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "value": "value"; "name": "name"; "checked": "checked"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
|
|
25
25
|
}
|
|
@@ -62,5 +62,5 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
62
62
|
search(exp: string): void;
|
|
63
63
|
_fetchData(): void;
|
|
64
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "autoComplete": "autoComplete"; "pageSize": "pageSize"; "valueField": "valueField"; "textField": "textField"; "items": "items"; "disabledField": "disabledField"; "disabledCallback": "disabledCallback"; "multiple": "multiple"; "selectionMode": "selectionMode"; "clearButton": "clearButton"; "checkbox": "checkbox"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "valueChanged": "valueChanged"; }, ["_searchBox", "_contentEmptyTemplate"], ["ax-prefix", "ax-validation-rule", "ax-suffix", "ax-search-box"], false>;
|
|
66
66
|
}
|
|
@@ -9,14 +9,15 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class AXSelectionListComponent extends AXBaseSelectionValueMixin {
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* @ignore
|
|
13
|
+
*/
|
|
14
14
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
15
15
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
* Defines the direction.
|
|
17
|
+
*/
|
|
18
18
|
direction: AXDirection;
|
|
19
19
|
_handleOnItemValueChange(item: any, e: Event): void;
|
|
20
|
+
_handleContainerClick(item: HTMLInputElement, e: MouseEvent): void;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListComponent, never>;
|
|
21
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListComponent, "ax-selection-list", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "valueField": "valueField"; "textField": "textField"; "multiple": "multiple"; "items": "items"; "selectionMode": "selectionMode"; "direction": "direction"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"], false>;
|
|
22
23
|
}
|
|
@@ -6,7 +6,7 @@ export declare const AXBaseTabItemMixin: (new (...args: any[]) => {
|
|
|
6
6
|
_emitOnClickEvent(e: MouseEvent): void;
|
|
7
7
|
id: string;
|
|
8
8
|
rtl: boolean;
|
|
9
|
-
"__#
|
|
9
|
+
"__#34353@#elementRef": ElementRef<any>;
|
|
10
10
|
_cdr: ChangeDetectorRef;
|
|
11
11
|
_isInited: boolean;
|
|
12
12
|
_isRendered: boolean;
|
|
@@ -24,6 +24,7 @@ export declare const AXBaseTabItemMixin: (new (...args: any[]) => {
|
|
|
24
24
|
_onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
|
|
25
25
|
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
26
26
|
_setOption(option: import("@acorex/components/mixin").AXComponentSetOption): void;
|
|
27
|
+
_isRtl(): boolean;
|
|
27
28
|
}) & typeof AXBaseComponent;
|
|
28
29
|
export declare class AXTabItemComponent extends AXBaseTabItemMixin {
|
|
29
30
|
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
@@ -10,5 +10,5 @@ export declare class AXTextareaComponent extends AXBaseTextBoxMixin {
|
|
|
10
10
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
11
11
|
focus(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextareaComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "rows": "rows"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
|
|
14
14
|
}
|
package/textbox/public-api.d.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface AXMaskOptions {
|
|
3
|
+
mask?: string | RegExp;
|
|
4
|
+
unmask?: boolean;
|
|
5
|
+
updateValue?: (masked: string, unmasked: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare class AXMaskOptionsDirective implements AXMaskOptions {
|
|
8
|
+
mask: string | RegExp;
|
|
9
|
+
unmask: boolean;
|
|
10
|
+
updateValue?: (masked: string, unmasked: string) => void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMaskOptionsDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXMaskOptionsDirective, "ax-mask-options", never, { "mask": "mask"; "unmask": "unmask"; "updateValue": "updateValue"; }, {}, never, never, false>;
|
|
13
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
2
|
import { AXBaseTextBoxMixin } from '@acorex/components/mixin';
|
|
3
|
+
import { AXMaskOptions, AXMaskOptionsDirective } from './mask-options.directive';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
@@ -7,15 +8,20 @@ import * as i0 from "@angular/core";
|
|
|
7
8
|
* @category Components
|
|
8
9
|
*/
|
|
9
10
|
export declare class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
10
|
-
|
|
11
|
-
* @ignore
|
|
12
|
-
*/
|
|
11
|
+
protected _updateOn: 'change' | 'blur' | 'submit';
|
|
13
12
|
private input;
|
|
14
13
|
private _maskObj;
|
|
15
|
-
private
|
|
14
|
+
private _maskOptions;
|
|
15
|
+
get maskOptions(): AXMaskOptions;
|
|
16
|
+
set maskOptions(v: AXMaskOptions);
|
|
17
|
+
protected _maskOptionsContent: AXMaskOptionsDirective;
|
|
18
|
+
/**
|
|
19
|
+
* @ignore
|
|
20
|
+
*/
|
|
16
21
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
17
|
-
|
|
22
|
+
onInit(): void;
|
|
18
23
|
focus(): void;
|
|
24
|
+
private _onComplete;
|
|
19
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "value": "value"; "name": "name"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "maskOptions": "mask-options"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_maskOptionsContent"], ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
|
|
21
27
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./textbox.component";
|
|
3
|
-
import * as i2 from "./mask-
|
|
3
|
+
import * as i2 from "./mask-options.directive";
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@
|
|
6
|
-
import * as i5 from "@
|
|
7
|
-
import * as i6 from "@acorex/components/
|
|
5
|
+
import * as i4 from "@acorex/components/common";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "@acorex/components/button";
|
|
8
|
+
import * as i7 from "@acorex/components/decorators";
|
|
8
9
|
export declare class AXTextBoxModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextBoxModule, [typeof i1.AXTextBoxComponent, typeof i2.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextBoxModule, [typeof i1.AXTextBoxComponent, typeof i2.AXMaskOptionsDirective], [typeof i3.CommonModule, typeof i4.AXCommonModule, typeof i5.FormsModule, typeof i6.AXButtonModule, typeof i7.AXDecoratorModule], [typeof i1.AXTextBoxComponent, typeof i2.AXMaskOptionsDirective]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXTextBoxModule>;
|
|
12
13
|
}
|
|
@@ -28,7 +28,7 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
28
28
|
/**
|
|
29
29
|
* @ignore
|
|
30
30
|
*/
|
|
31
|
-
_maskObj: IMask.MaskedPattern;
|
|
31
|
+
protected _maskObj: IMask.MaskedPattern;
|
|
32
32
|
private _maskDirective;
|
|
33
33
|
/**
|
|
34
34
|
* @ignore
|
|
@@ -46,5 +46,5 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
46
46
|
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
47
47
|
private _highlightPart;
|
|
48
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeBoxComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
|
|
50
50
|
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtaW5wdXQtbWFzay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2lucHV0LW1hc2svYWNvcmV4LWNvbXBvbmVudHMtaW5wdXQtbWFzay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './src/input-mask.component';
|
|
2
|
-
export * from './src/input-mask.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2lucHV0LW1hc2svcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9pbnB1dC1tYXNrLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2lucHV0LW1hc2subW9kdWxlJztcclxuIl19
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
2
|
-
import IMask from 'imask';
|
|
3
|
-
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@acorex/components/textbox";
|
|
6
|
-
export class AXInputMaskComponent extends AXBaseComponent {
|
|
7
|
-
/**
|
|
8
|
-
* @ignore
|
|
9
|
-
*/
|
|
10
|
-
constructor(_elementRef, _cdr, _textbox) {
|
|
11
|
-
super(_elementRef, _cdr);
|
|
12
|
-
this._elementRef = _elementRef;
|
|
13
|
-
this._textbox = _textbox;
|
|
14
|
-
this.showMaskTyped = false;
|
|
15
|
-
this.clearIfNotMatch = false;
|
|
16
|
-
}
|
|
17
|
-
onViewInit() {
|
|
18
|
-
//@ts-ignore
|
|
19
|
-
//TODO: check ts error
|
|
20
|
-
this._maskObj = IMask(this._textbox._getHostElement().querySelector('input'), {
|
|
21
|
-
mask: this.mask
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
get prefix() {
|
|
25
|
-
return this._prefix || '';
|
|
26
|
-
}
|
|
27
|
-
set prefix(v) {
|
|
28
|
-
this._prefix = v;
|
|
29
|
-
}
|
|
30
|
-
get suffix() {
|
|
31
|
-
return this._suffix || '';
|
|
32
|
-
}
|
|
33
|
-
set suffix(v) {
|
|
34
|
-
this._suffix = v;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXTextBoxComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
-
AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
40
|
-
type: Component,
|
|
41
|
-
args: [{
|
|
42
|
-
selector: 'ax-input-mask',
|
|
43
|
-
template: '',
|
|
44
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
45
|
-
encapsulation: ViewEncapsulation.None,
|
|
46
|
-
}]
|
|
47
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXTextBoxComponent }]; }, propDecorators: { prefix: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], suffix: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}], showMaskTyped: [{
|
|
52
|
-
type: Input
|
|
53
|
-
}], clearIfNotMatch: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], mask: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}] } });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbWFzay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9pbnB1dC1tYXNrL3NyYy9pbnB1dC1tYXNrLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFL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EZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXHJcbiAgICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhJbnB1dE1hc2tDb21wb25lbnQgZXh0ZW5kcyBBWEJhc2VDb21wb25lbnQge1xyXG5cclxuXHJcbiAgICBwcml2YXRlIF9tYXNrT2JqOiBJTWFzay5JbnB1dE1hc2s8QW55TWFza2VkT3B0aW9ucz5cclxuXHJcbiAgICAvKipcclxuICAgICogIEBpZ25vcmVcclxuICAgICovXHJcbiAgICBjb25zdHJ1Y3RvcihcclxuICAgICAgICBwcml2YXRlIF9lbGVtZW50UmVmOiBFbGVtZW50UmVmLFxyXG4gICAgICAgIF9jZHI6IENoYW5nZURldGVjdG9yUmVmLFxyXG4gICAgICAgIHByaXZhdGUgX3RleHRib3g6IEFYVGV4dEJveENvbXBvbmVudFxyXG4gICAgKSB7XHJcbiAgICAgICAgc3VwZXIoX2VsZW1lbnRSZWYsIF9jZHIpO1xyXG4gICAgfVxyXG5cclxuICAgIG9uVmlld0luaXQoKTogdm9pZCB7XHJcbiAgICAgICAgLy9AdHMtaWdub3JlIFxyXG4gICAgICAgIC8vVE9ETzogY2hlY2sgdHMgZXJyb3JcclxuICAgICAgICB0aGlzLl9tYXNrT2JqID0gSU1hc2soKHRoaXMuX3RleHRib3guX2dldEhvc3RFbGVtZW50KCkucXVlcnlTZWxlY3RvcignaW5wdXQnKSBhcyBhbnkpLCB7XHJcbiAgICAgICAgICAgIG1hc2s6IHRoaXMubWFzayBcclxuICAgICAgICB9KVxyXG4gICAgfVxyXG5cclxuXHJcblxyXG4gICAgcHJpdmF0ZSBfcHJlZml4OiBzdHJpbmc7XHJcbiAgICBASW5wdXQoKVxyXG4gICAgcHVibGljIGdldCBwcmVmaXgoKTogc3RyaW5nIHtcclxuICAgICAgICByZXR1cm4gdGhpcy5fcHJlZml4IHx8ICcnO1xyXG4gICAgfVxyXG4gICAgcHVibGljIHNldCBwcmVmaXgodjogc3RyaW5nKSB7XHJcbiAgICAgICAgdGhpcy5fcHJlZml4ID0gdjtcclxuICAgIH1cclxuXHJcblxyXG5cclxuICAgIHByaXZhdGUgX3N1ZmZpeDogc3RyaW5nO1xyXG4gICAgQElucHV0KClcclxuICAgIHB1YmxpYyBnZXQgc3VmZml4KCk6IHN0cmluZyB7XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuX3N1ZmZpeCB8fCAnJztcclxuICAgIH1cclxuICAgIHB1YmxpYyBzZXQgc3VmZml4KHY6IHN0cmluZykge1xyXG4gICAgICAgIHRoaXMuX3N1ZmZpeCA9IHY7XHJcbiAgICB9XHJcblxyXG5cclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgc2hvd01hc2tUeXBlZDogYm9vbGVhbiA9IGZhbHNlO1xyXG5cclxuICAgIEBJbnB1dCgpXHJcbiAgICBjbGVhcklmTm90TWF0Y2g6IGJvb2xlYW4gPSBmYWxzZTtcclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgbWFzazogYW55O1xyXG5cclxufVxyXG4iXX0=
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { AXInputMaskComponent } from './input-mask.component';
|
|
4
|
-
import { NgxMaskModule } from 'ngx-mask';
|
|
5
|
-
import { IMaskModule } from 'angular-imask';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "ngx-mask";
|
|
8
|
-
const COMPONENT = [AXInputMaskComponent];
|
|
9
|
-
const MODULES = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
|
|
10
|
-
export class AXInputMaskModule {
|
|
11
|
-
}
|
|
12
|
-
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
-
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1.NgxMaskModule, IMaskModule], exports: [AXInputMaskComponent] });
|
|
14
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, imports: [MODULES] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
16
|
-
type: NgModule,
|
|
17
|
-
args: [{
|
|
18
|
-
declarations: [...COMPONENT],
|
|
19
|
-
imports: [...MODULES],
|
|
20
|
-
exports: [...COMPONENT],
|
|
21
|
-
providers: [],
|
|
22
|
-
}]
|
|
23
|
-
}] });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbWFzay5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9pbnB1dC1tYXNrL3NyYy9pbnB1dC1tYXNrLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUM5RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBQ3pDLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxlQUFlLENBQUM7OztBQUUxQyxNQUFNL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uXHJcbkBOZ01vZHVsZSh7XHJcbiAgICBkZWNsYXJhdGlvbnM6IFsuLi5DT01QT05FTlRdLFxyXG4gICAgaW1wb3J0czogWy4uLk1PRFVMRVNdLFxyXG4gICAgZXhwb3J0czogWy4uLkNPTVBPTkVOVF0sXHJcbiAgICBwcm92aWRlcnM6IFtdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhJbnB1dE1hc2tNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class AXMaskSettingsDirective {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.showMaskTyped = false;
|
|
6
|
-
this.clearIfNotMatch = false;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
AXMaskSettingsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXMaskSettingsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
10
|
-
AXMaskSettingsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: AXMaskSettingsDirective, selector: "ax-mask-settings", inputs: { mask: "mask", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch" }, ngImport: i0 });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXMaskSettingsDirective, decorators: [{
|
|
12
|
-
type: Directive,
|
|
13
|
-
args: [{
|
|
14
|
-
selector: 'ax-mask-settings',
|
|
15
|
-
}]
|
|
16
|
-
}], propDecorators: { mask: [{
|
|
17
|
-
type: Input
|
|
18
|
-
}], showMaskTyped: [{
|
|
19
|
-
type: Input
|
|
20
|
-
}], clearIfNotMatch: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}] } });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,ey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b2xlYW4gPSBmYWxzZTtcclxufSJdfQ==
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, NgModule } from '@angular/core';
|
|
3
|
-
import IMask from 'imask';
|
|
4
|
-
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
5
|
-
import * as i1 from '@acorex/components/textbox';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i1$1 from 'ngx-mask';
|
|
8
|
-
import { NgxMaskModule } from 'ngx-mask';
|
|
9
|
-
import { IMaskModule } from 'angular-imask';
|
|
10
|
-
|
|
11
|
-
class AXInputMaskComponent extends AXBaseComponent {
|
|
12
|
-
/**
|
|
13
|
-
* @ignore
|
|
14
|
-
*/
|
|
15
|
-
constructor(_elementRef, _cdr, _textbox) {
|
|
16
|
-
super(_elementRef, _cdr);
|
|
17
|
-
this._elementRef = _elementRef;
|
|
18
|
-
this._textbox = _textbox;
|
|
19
|
-
this.showMaskTyped = false;
|
|
20
|
-
this.clearIfNotMatch = false;
|
|
21
|
-
}
|
|
22
|
-
onViewInit() {
|
|
23
|
-
//@ts-ignore
|
|
24
|
-
//TODO: check ts error
|
|
25
|
-
this._maskObj = IMask(this._textbox._getHostElement().querySelector('input'), {
|
|
26
|
-
mask: this.mask
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
get prefix() {
|
|
30
|
-
return this._prefix || '';
|
|
31
|
-
}
|
|
32
|
-
set prefix(v) {
|
|
33
|
-
this._prefix = v;
|
|
34
|
-
}
|
|
35
|
-
get suffix() {
|
|
36
|
-
return this._suffix || '';
|
|
37
|
-
}
|
|
38
|
-
set suffix(v) {
|
|
39
|
-
this._suffix = v;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXTextBoxComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
-
AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
45
|
-
type: Component,
|
|
46
|
-
args: [{
|
|
47
|
-
selector: 'ax-input-mask',
|
|
48
|
-
template: '',
|
|
49
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
50
|
-
encapsulation: ViewEncapsulation.None,
|
|
51
|
-
}]
|
|
52
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXTextBoxComponent }]; }, propDecorators: { prefix: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}], suffix: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], showMaskTyped: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], clearIfNotMatch: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}], mask: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}] } });
|
|
63
|
-
|
|
64
|
-
const COMPONENT = [AXInputMaskComponent];
|
|
65
|
-
const MODULES = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
|
|
66
|
-
class AXInputMaskModule {
|
|
67
|
-
}
|
|
68
|
-
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
69
|
-
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$1.NgxMaskModule, IMaskModule], exports: [AXInputMaskComponent] });
|
|
70
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, imports: [MODULES] });
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
72
|
-
type: NgModule,
|
|
73
|
-
args: [{
|
|
74
|
-
declarations: [...COMPONENT],
|
|
75
|
-
imports: [...MODULES],
|
|
76
|
-
exports: [...COMPONENT],
|
|
77
|
-
providers: [],
|
|
78
|
-
}]
|
|
79
|
-
}] });
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Generated bundle index. Do not edit.
|
|
83
|
-
*/
|
|
84
|
-
|
|
85
|
-
export { AXInputMaskComponent, AXInputMaskModule };
|
|
86
|
-
//# sourceMappingURL=acorex-components-input-mask.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-components-input-mask.mjs","sources":["../../../../projects/acorex/components/input-mask/src/input-mask.component.ts","../../../../projects/acorex/components/input-mask/src/input-mask.module.ts","../../../../projects/acorex/components/input-mask/acorex-components-input-mask.ts"],"sourcesContent":["import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, ChangeDetectorRef, ElementRef } from '@angular/core';\r\nimport IMask from 'imask';\r\nimport { AnyMaskedOptions } from 'imask';\r\nimport { AXTextBoxComponent } from '@acorex/components/textbox';\r\nimport { AXBaseComponent } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-input-mask',\r\n template: '',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXInputMaskComponent extends AXBaseComponent {\r\n\r\n\r\n private _maskObj: IMask.InputMask<AnyMaskedOptions>\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(\r\n private _elementRef: ElementRef,\r\n _cdr: ChangeDetectorRef,\r\n private _textbox: AXTextBoxComponent\r\n ) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n onViewInit(): void {\r\n //@ts-ignore \r\n //TODO: check ts error\r\n this._maskObj = IMask((this._textbox._getHostElement().querySelector('input') as any), {\r\n mask: this.mask \r\n })\r\n }\r\n\r\n\r\n\r\n private _prefix: string;\r\n @Input()\r\n public get prefix(): string {\r\n return this._prefix || '';\r\n }\r\n public set prefix(v: string) {\r\n this._prefix = v;\r\n }\r\n\r\n\r\n\r\n private _suffix: string;\r\n @Input()\r\n public get suffix(): string {\r\n return this._suffix || '';\r\n }\r\n public set suffix(v: string) {\r\n this._suffix = v;\r\n }\r\n\r\n\r\n\r\n @Input()\r\n showMaskTyped: boolean = false;\r\n\r\n @Input()\r\n clearIfNotMatch: boolean = false;\r\n\r\n @Input()\r\n mask: any;\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXInputMaskComponent } from './input-mask.component';\r\nimport { NgxMaskModule } from 'ngx-mask';\r\nimport {IMaskModule} from 'angular-imask';\r\n\r\nconst COMPONENT = [AXInputMaskComponent];\r\nconst MODULES = [CommonModule, NgxMaskModule.forRoot(),IMaskModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXInputMaskModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAYM,MAAO,oBAAqB,SAAQ,eAAe,CAAA;AAKrD;;AAEE;AACF,IAAA,WAAA,CACY,WAAuB,EAC/B,IAAuB,EACf,QAA4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