@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
|
@@ -44,14 +44,14 @@ class AXLoadingComponent extends AXBaseComponentMixin {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
AXLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
48
|
-
AXLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
47
|
+
AXLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
AXLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXLoadingComponent, selector: "ax-loading", inputs: { visible: "visible", type: "type", text: "text" }, outputs: { visibleChange: "visibleChange" }, host: { classAttribute: "ax-loading" }, usesInheritance: true, ngImport: i0, template: `
|
|
49
49
|
<ng-template
|
|
50
50
|
[cdkPortalOutlet]="_selectedPortal"
|
|
51
51
|
(attached)="_handleAttched($event)"
|
|
52
52
|
></ng-template>
|
|
53
53
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingComponent, decorators: [{
|
|
55
55
|
type: Component,
|
|
56
56
|
args: [{
|
|
57
57
|
selector: 'ax-loading',
|
|
@@ -77,8 +77,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImpor
|
|
|
77
77
|
|
|
78
78
|
class AXLoadingSpinnerComponent {
|
|
79
79
|
}
|
|
80
|
-
AXLoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
81
|
-
AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
80
|
+
AXLoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
81
|
+
AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXLoadingSpinnerComponent, selector: "ax-loading-spinner", host: { classAttribute: "ax-loading-spinner" }, ngImport: i0, template: `
|
|
82
82
|
<svg
|
|
83
83
|
version="1.1"
|
|
84
84
|
width="24"
|
|
@@ -108,7 +108,7 @@ AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
108
108
|
</svg>
|
|
109
109
|
<span class="ax-ms-3" *ngIf="text"> {{ text }} </span>
|
|
110
110
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingSpinnerComponent, decorators: [{
|
|
112
112
|
type: Component,
|
|
113
113
|
args: [{
|
|
114
114
|
selector: 'ax-loading-spinner',
|
|
@@ -199,9 +199,9 @@ class AXLoadingDirective {
|
|
|
199
199
|
this.renderer.addClass(this.overlayElement, OVERLAY_CLASS);
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
AXLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
203
|
-
AXLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
202
|
+
AXLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Directive });
|
|
203
|
+
AXLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: AXLoadingDirective, selector: "[axIsLoading]", inputs: { isLoading: ["axIsLoading", "isLoading"] }, usesOnChanges: true, ngImport: i0 });
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingDirective, decorators: [{
|
|
205
205
|
type: Directive,
|
|
206
206
|
args: [{
|
|
207
207
|
selector: '[axIsLoading]'
|
|
@@ -224,10 +224,10 @@ class AXLoadingModule {
|
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
228
|
-
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
229
|
-
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
227
|
+
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
228
|
+
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [CommonModule, OverlayModule, PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
|
|
229
|
+
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingModule, imports: [MODULES] });
|
|
230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingModule, decorators: [{
|
|
231
231
|
type: NgModule,
|
|
232
232
|
args: [{
|
|
233
233
|
declarations: [...COMPONENT],
|
|
@@ -378,9 +378,9 @@ class AXLoadingService {
|
|
|
378
378
|
return loaderId ?? DEFAULT_LOADER_ID;
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
|
-
AXLoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
382
|
-
AXLoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
381
|
+
AXLoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingService, deps: [{ token: i0.NgZone }, { token: i1$2.AXOverlayService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
382
|
+
AXLoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingService, providedIn: 'root' });
|
|
383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXLoadingService, decorators: [{
|
|
384
384
|
type: Injectable,
|
|
385
385
|
args: [{
|
|
386
386
|
providedIn: 'root',
|
|
@@ -315,9 +315,9 @@ class AXMenuComponent extends AXBaseMenuMixin {
|
|
|
315
315
|
this._overlayRef?.detach();
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
AXMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
319
|
-
AXMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
318
|
+
AXMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.Overlay }, { token: i2.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
319
|
+
AXMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXMenuComponent, selector: "ax-menu", inputs: { disabled: "disabled", tabIndex: "tabIndex", textField: "textField", valueField: "valueField", items: "items", parentId: "parentId", iconField: "iconField", tooltip: "tooltip", isOpen: "isOpen", isActive: "isActive", visibleField: "visibleField", disableField: "disableField", hasChildField: "hasChildField", dividerField: "dividerField", openMode: "openMode", orientation: "orientation", showModal: "showModal" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onMenuItemClick: "onMenuItemClick" }, host: { classAttribute: "ax-menu" }, queries: [{ propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true }, { propertyName: "_contentItemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\r\n <ul [ngClass]=\"_getDirection()\" [class.ax-rtl]=\"rtl\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: displayItems }\"></ng-container>\r\n </ul>\r\n <ng-template #recursiveListTmpl let-list=\"list\">\r\n <ng-container *ngFor=\"let item of list\">\r\n <li *ngIf=\"item[visibleField] !=false\" [class.ax-state-disabled]=\"item[disableField]\"\r\n (click)=\"_onMenuClick($event,item)\" (mouseenter)=\"_onMenuMouseEnter($event,item)\"\r\n [ngClass]=\"{'ax-state-active ': item.isActive}\">\r\n <div class=\"ax-menu-item\" *ngIf=\"itemTemplate == null else tmpItem\">\r\n <div class=\"ax-menu-item-prefix\">\r\n <ax-icon *ngIf=\"item[iconField]\" [class]=\"item[iconField]\"></ax-icon>\r\n <span>{{_getItemDisplayTextTemplte(item)}}</span>\r\n </div>\r\n <div class=\"ax-menu-item-suffix\">\r\n <ax-icon *ngIf=\"!item.isLoading\"\r\n [ngClass]=\"{'ax-ic-chevron':item?.children?.length > 0,'ax-menu-active-icon': item.isOpen}\">\r\n </ax-icon>\r\n <ax-loading *ngIf=\"item.isLoading\">\r\n </ax-loading>\r\n </div>\r\n </div>\r\n <!--------------- check for custom item template --------------->\r\n <ng-template #tmpItem>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate;context: { $implicit: item }\">\r\n </ng-container>\r\n </ng-container>\r\n </ng-template>\r\n <ul *ngIf=\"item?.children?.length > 0 && item.isOpen &&!_overlayRef\"\r\n [class.ax-state-disabled]=\"item[disableField]\">\r\n <ng-container *ngTemplateOutlet=\"recursiveListTmpl; context:{ list: item.children }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n <li class=\"ax-divider\" *ngIf=\"item[this.dividerField]\"></li>\r\n </ng-container>\r\n </ng-template>\r\n</ng-container>\r\n<ng-container *ngIf=\"isLoading\">\r\n <ng-template>\r\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\r\n <ax-loading text=\"{{ 'layout.loading.text' | trans }}\"></ax-loading>\r\n </div>\r\n </ng-template>\r\n</ng-container>\r\n\r\n<ng-template #tmpEmpty>\r\n <ng-container *ngIf=\"!isLoading\">\r\n <!--------------- check for custom template --------------->\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseEmptyTemplate>\r\n <div class=\"ax-list-item\">\r\n {{ 'common.no-result-found' | trans }}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</ng-template>", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i5.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "text"], outputs: ["visibleChange"] }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "trans" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXMenuComponent, decorators: [{
|
|
321
321
|
type: Component,
|
|
322
322
|
args: [{ selector: 'ax-menu', inputs: [
|
|
323
323
|
'disabled',
|
|
@@ -355,13 +355,13 @@ const MODULES = [
|
|
|
355
355
|
];
|
|
356
356
|
class AXMenuModule {
|
|
357
357
|
}
|
|
358
|
-
AXMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
359
|
-
AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
358
|
+
AXMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
359
|
+
AXMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXMenuModule, declarations: [AXMenuComponent], imports: [CommonModule, AXDecoratorModule,
|
|
360
360
|
AXLoadingModule,
|
|
361
361
|
AXTranslationModule,
|
|
362
362
|
OverlayModule], exports: [AXMenuComponent] });
|
|
363
|
-
AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
363
|
+
AXMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXMenuModule, imports: [CommonModule, MODULES] });
|
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXMenuModule, decorators: [{
|
|
365
365
|
type: NgModule,
|
|
366
366
|
args: [{
|
|
367
367
|
declarations: [...COMPONENT],
|
|
@@ -5,8 +5,6 @@ import _ from 'lodash';
|
|
|
5
5
|
import { unionBy, flatMapDeep } from 'lodash-es';
|
|
6
6
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
7
7
|
import { AXObjectUtil } from '@acorex/core/utils';
|
|
8
|
-
import { Subscription, Subject } from 'rxjs';
|
|
9
|
-
import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
|
10
8
|
|
|
11
9
|
var _AXBaseComponent_elementRef;
|
|
12
10
|
class AXBaseComponent {
|
|
@@ -82,11 +80,16 @@ class AXBaseComponent {
|
|
|
82
80
|
if (option.afterCallback)
|
|
83
81
|
option.afterCallback(oldValue, newValue);
|
|
84
82
|
}
|
|
83
|
+
_isRtl() {
|
|
84
|
+
return window
|
|
85
|
+
.getComputedStyle(this._getHostElement())
|
|
86
|
+
.getPropertyValue('direction') == 'rtl';
|
|
87
|
+
}
|
|
85
88
|
}
|
|
86
89
|
_AXBaseComponent_elementRef = new WeakMap();
|
|
87
|
-
AXBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
88
|
-
AXBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
90
|
+
AXBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBaseComponent, deps: [{ token: Array }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
91
|
+
AXBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBaseComponent });
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBaseComponent, decorators: [{
|
|
90
93
|
type: Injectable
|
|
91
94
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
92
95
|
type: Inject,
|
|
@@ -933,88 +936,60 @@ const SIZABLE_INPUTS = [
|
|
|
933
936
|
const SIZABLE_OUTPUT = [];
|
|
934
937
|
|
|
935
938
|
function _TextboxComponenetMixin(Base) {
|
|
936
|
-
|
|
937
|
-
|
|
939
|
+
return class extends Base {
|
|
940
|
+
/**
|
|
941
|
+
* @ignore
|
|
942
|
+
*/
|
|
943
|
+
constructor(...args) {
|
|
944
|
+
super(...args.slice(0, 2));
|
|
938
945
|
/**
|
|
939
|
-
|
|
946
|
+
* A string value that specifies the type of text box.
|
|
947
|
+
*/
|
|
948
|
+
this.type = 'text';
|
|
949
|
+
/**
|
|
950
|
+
* A string value that specifies the placeholder of text box.
|
|
940
951
|
*/
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
nativeEvent: e
|
|
981
|
-
});
|
|
982
|
-
this._setUserInteraction();
|
|
983
|
-
}
|
|
984
|
-
_emitOnKeypressEvent(e) {
|
|
985
|
-
this.onKeyPress.emit({
|
|
986
|
-
component: this,
|
|
987
|
-
nativeEvent: e
|
|
988
|
-
});
|
|
989
|
-
this._setUserInteraction();
|
|
990
|
-
}
|
|
991
|
-
_handleModleChange(value) {
|
|
992
|
-
if (!this.debounceTime)
|
|
993
|
-
this._settleValue(value);
|
|
994
|
-
else {
|
|
995
|
-
__classPrivateFieldGet(this, _valueSubject, "f").next(value);
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
_settleValue(value) {
|
|
999
|
-
this.value = value;
|
|
1000
|
-
}
|
|
1001
|
-
onInit() {
|
|
1002
|
-
__classPrivateFieldSet(this, _valueSubscription, __classPrivateFieldGet(this, _valueSubject, "f")
|
|
1003
|
-
.pipe(debounceTime(this.debounceTime))
|
|
1004
|
-
.pipe(distinctUntilChanged())
|
|
1005
|
-
.subscribe((v) => {
|
|
1006
|
-
this._settleValue(v);
|
|
1007
|
-
}), "f");
|
|
1008
|
-
}
|
|
1009
|
-
onDestroy() {
|
|
1010
|
-
__classPrivateFieldGet(this, _valueSubscription, "f").unsubscribe();
|
|
1011
|
-
}
|
|
1012
|
-
},
|
|
1013
|
-
_valueSubscription = new WeakMap(),
|
|
1014
|
-
_valueSubject = new WeakMap(),
|
|
1015
|
-
_a;
|
|
952
|
+
this.placeholder = '';
|
|
953
|
+
/**
|
|
954
|
+
* Fires each time the user press a key.
|
|
955
|
+
* @event
|
|
956
|
+
*/
|
|
957
|
+
this.onKeyDown = new EventEmitter();
|
|
958
|
+
/**
|
|
959
|
+
* Fires each time the user press a key.
|
|
960
|
+
* @event
|
|
961
|
+
*/
|
|
962
|
+
this.onKeyUp = new EventEmitter();
|
|
963
|
+
/**
|
|
964
|
+
* Fires each time the user press a key.
|
|
965
|
+
* @event
|
|
966
|
+
*/
|
|
967
|
+
this.onKeyPress = new EventEmitter();
|
|
968
|
+
}
|
|
969
|
+
_emitOnKeydownEvent(e) {
|
|
970
|
+
this.onKeyDown.emit({
|
|
971
|
+
component: this,
|
|
972
|
+
nativeEvent: e
|
|
973
|
+
});
|
|
974
|
+
this._setUserInteraction();
|
|
975
|
+
}
|
|
976
|
+
_emitOnKeyupEvent(e) {
|
|
977
|
+
this.onKeyUp.emit({
|
|
978
|
+
component: this,
|
|
979
|
+
nativeEvent: e
|
|
980
|
+
});
|
|
981
|
+
this._setUserInteraction();
|
|
982
|
+
}
|
|
983
|
+
_emitOnKeypressEvent(e) {
|
|
984
|
+
this.onKeyPress.emit({
|
|
985
|
+
component: this,
|
|
986
|
+
nativeEvent: e
|
|
987
|
+
});
|
|
988
|
+
this._setUserInteraction();
|
|
989
|
+
}
|
|
990
|
+
};
|
|
1016
991
|
}
|
|
1017
|
-
const TEXTBOX_INPUTS = ['placeholder', 'maxLength', 'allowNull', '
|
|
992
|
+
const TEXTBOX_INPUTS = ['placeholder', 'maxLength', 'allowNull', 'type', 'autoComplete', 'readonly', 'value', 'name'];
|
|
1018
993
|
const TEXTBOX_OUTPUT = ['valueChange', 'onValueChanged'];
|
|
1019
994
|
|
|
1020
995
|
function _ValueComponenetMixin(Base) {
|
|
@@ -1127,6 +1102,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
1127
1102
|
this.value = null;
|
|
1128
1103
|
}
|
|
1129
1104
|
validate() {
|
|
1105
|
+
debugger;
|
|
1130
1106
|
const rules = Array.from(this._getHostElement().querySelectorAll('ax-validation-rule')).filter((c) => c.__axContext__.enabled);
|
|
1131
1107
|
//
|
|
1132
1108
|
if (!rules || rules.length === 0) {
|