@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
|
@@ -32,8 +32,8 @@ class AXActionSheetComponent extends AXBaseComponent {
|
|
|
32
32
|
this.isOpen = !this.isOpen;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
AXActionSheetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
36
|
-
AXActionSheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
35
|
+
AXActionSheetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
AXActionSheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXActionSheetComponent, selector: "ax-action-sheet", inputs: { caption: "caption", closeOnBackdrop: "closeOnBackdrop" }, host: { classAttribute: "ax-action-sheet" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-action-sheet-backdrop\" [@backdrop]=\"isOpen ? 'show' : 'hide'\" (click)=\"_handleBackdropClick()\"></div>\r\n<div class=\"ax-action-sheet-container\" [@openClose]=\"isOpen ? 'open' : 'closed'\">\r\n <div class=\"ax-bg-white ax-h-full dark:ax-bg-dark-700\">\r\n <div class=\"ax-action-sheet-caption\" *ngIf=\"caption\">\r\n {{caption}}\r\n </div>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n <div class=\"ax-action-sheet-items\">\r\n <ng-content select=\"ax-action-sheet-item\"></ng-content>\r\n </div>\r\n </div>\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
|
|
37
37
|
trigger('backdrop', [
|
|
38
38
|
state('show', style({
|
|
39
39
|
opacity: 1,
|
|
@@ -57,7 +57,7 @@ AXActionSheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
57
57
|
transition('open <=> closed', [animate('0.2s')]),
|
|
58
58
|
]),
|
|
59
59
|
] });
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{ selector: 'ax-action-sheet', animations: [
|
|
63
63
|
trigger('backdrop', [
|
|
@@ -102,8 +102,8 @@ class AXActionSheetItemComponent extends AXBaseComponent {
|
|
|
102
102
|
this.onClick.emit(e);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
AXActionSheetItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
106
|
-
AXActionSheetItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
105
|
+
AXActionSheetItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
106
|
+
AXActionSheetItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXActionSheetItemComponent, selector: "ax-action-sheet-item", inputs: { text: "text", color: "color" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `
|
|
107
107
|
<ax-button
|
|
108
108
|
[color]="color"
|
|
109
109
|
look="blank"
|
|
@@ -111,7 +111,7 @@ AXActionSheetItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
111
111
|
(onClick)="_handleOnClick($event)"
|
|
112
112
|
></ax-button>
|
|
113
113
|
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }] });
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetItemComponent, decorators: [{
|
|
115
115
|
type: Component,
|
|
116
116
|
args: [{
|
|
117
117
|
selector: 'ax-action-sheet-item',
|
|
@@ -134,10 +134,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImpor
|
|
|
134
134
|
|
|
135
135
|
class AXActionSheetModule {
|
|
136
136
|
}
|
|
137
|
-
AXActionSheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
138
|
-
AXActionSheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
139
|
-
AXActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
137
|
+
AXActionSheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
138
|
+
AXActionSheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetModule, declarations: [AXActionSheetComponent, AXActionSheetItemComponent], imports: [CommonModule, AXButtonModule], exports: [AXActionSheetComponent, AXActionSheetItemComponent] });
|
|
139
|
+
AXActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetModule, imports: [CommonModule, AXButtonModule] });
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetModule, decorators: [{
|
|
141
141
|
type: NgModule,
|
|
142
142
|
args: [{
|
|
143
143
|
declarations: [AXActionSheetComponent, AXActionSheetItemComponent],
|
|
@@ -1,12 +1,29 @@
|
|
|
1
|
-
import { AXButtonComponent } from '@acorex/components/button';
|
|
2
|
-
import { AXDecoratorIconComponent, AXDecoratorModule } from '@acorex/components/decorators';
|
|
3
1
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, ContentChild, ContentChildren, Output, HostBinding,
|
|
5
|
-
import {
|
|
2
|
+
import { Directive, Input, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, ContentChild, ContentChildren, Output, HostBinding, NgModule } from '@angular/core';
|
|
3
|
+
import { AXButtonComponent } from '@acorex/components/button';
|
|
4
|
+
import { AXDecoratorIconComponent, AXDecoratorContentComponent, AXDecoratorFooterComponent, AXDecoratorModule } from '@acorex/components/decorators';
|
|
5
|
+
import { AXClosbaleComponent } from '@acorex/components/common';
|
|
6
6
|
import { _ColorLookComponentMixin, AXBaseComponent } from '@acorex/components/mixin';
|
|
7
7
|
import * as i1 from '@angular/common';
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
|
9
9
|
|
|
10
|
+
class AXAlertButtonDirective {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.text = "Button";
|
|
13
|
+
this.look = "default";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
AXAlertButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
+
AXAlertButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: AXAlertButtonDirective, selector: "[ax-alert-button]", inputs: { text: "text", look: "look" }, ngImport: i0 });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertButtonDirective, decorators: [{
|
|
19
|
+
type: Directive,
|
|
20
|
+
args: [{ selector: '[ax-alert-button]' }]
|
|
21
|
+
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], look: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}] } });
|
|
26
|
+
|
|
10
27
|
const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
11
28
|
/**
|
|
12
29
|
* Regular description
|
|
@@ -19,34 +36,24 @@ class AXAlertComponent extends AXBaseAlertMixin {
|
|
|
19
36
|
*/
|
|
20
37
|
constructor(elementRef, cdr) {
|
|
21
38
|
super(elementRef, cdr);
|
|
22
|
-
this.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
case 'warning':
|
|
41
|
-
this._icon.icon = 'ax-ic-warning-filled';
|
|
42
|
-
break;
|
|
43
|
-
case 'danger':
|
|
44
|
-
this._icon.icon = 'ax-ic-error-filled';
|
|
45
|
-
break;
|
|
46
|
-
default:
|
|
47
|
-
this._icon.icon = 'ax-ic ax-ic-info-filled';
|
|
48
|
-
break;
|
|
49
|
-
}
|
|
39
|
+
this._showInline = false;
|
|
40
|
+
this.onClosed = new EventEmitter();
|
|
41
|
+
//
|
|
42
|
+
const config = { attributes: false, childList: true, subtree: true };
|
|
43
|
+
const callback = (mutationList, observer) => {
|
|
44
|
+
for (const mutation of mutationList) {
|
|
45
|
+
if (mutation.type === 'childList') {
|
|
46
|
+
this._setIcon();
|
|
47
|
+
this._applyButtonStyle();
|
|
48
|
+
this._showInline = (this._content != null) || (this._footer != null);
|
|
49
|
+
this._cdr.markForCheck();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
// Create an observer instance linked to the callback function
|
|
54
|
+
this._observer = new MutationObserver(callback);
|
|
55
|
+
// Start observing the target node for configured mutations
|
|
56
|
+
this._observer.observe(this._getHostElement(), config);
|
|
50
57
|
}
|
|
51
58
|
/**
|
|
52
59
|
* @ignore
|
|
@@ -57,6 +64,20 @@ class AXAlertComponent extends AXBaseAlertMixin {
|
|
|
57
64
|
: `ax-${this.color}-default`;
|
|
58
65
|
return `ax-alert ax-none ${_class}`;
|
|
59
66
|
}
|
|
67
|
+
get timeOut() {
|
|
68
|
+
return this._timeOut;
|
|
69
|
+
}
|
|
70
|
+
set timeOut(v) {
|
|
71
|
+
if (v != this._timeOut) {
|
|
72
|
+
clearTimeout(this._timeOutRef);
|
|
73
|
+
this._timeOut = v;
|
|
74
|
+
if (v) {
|
|
75
|
+
this._timeOutRef = window.setTimeout(() => {
|
|
76
|
+
this.close();
|
|
77
|
+
}, this.timeOut);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
60
81
|
/**
|
|
61
82
|
* set the visibility of the Alert
|
|
62
83
|
*/
|
|
@@ -77,39 +98,55 @@ class AXAlertComponent extends AXBaseAlertMixin {
|
|
|
77
98
|
}
|
|
78
99
|
}
|
|
79
100
|
}
|
|
80
|
-
onInit() {
|
|
81
|
-
if (this.timeOut) {
|
|
82
|
-
setTimeout(() => {
|
|
83
|
-
this.dismiss();
|
|
84
|
-
}, this.timeOut);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
101
|
onViewInit() {
|
|
88
102
|
if (this.visible == undefined) {
|
|
89
103
|
this.visible = true;
|
|
90
104
|
}
|
|
105
|
+
//
|
|
106
|
+
this._customIcon = this._icon?.icon;
|
|
107
|
+
this._showInline = this._content != null || this._footer != null;
|
|
91
108
|
}
|
|
92
|
-
|
|
93
|
-
this.
|
|
94
|
-
.pipe(startWith(0))
|
|
95
|
-
.subscribe((change) => this._applyButtonStyle());
|
|
109
|
+
_onOptionChanged(option) {
|
|
110
|
+
this._setIcon();
|
|
96
111
|
this._applyButtonStyle();
|
|
97
112
|
}
|
|
113
|
+
_setIcon() {
|
|
114
|
+
if (!this._icon)
|
|
115
|
+
return;
|
|
116
|
+
switch (this.color) {
|
|
117
|
+
case 'success':
|
|
118
|
+
this._icon.icon = 'ax-ic ax-ic-check';
|
|
119
|
+
break;
|
|
120
|
+
case 'danger':
|
|
121
|
+
this._icon.icon = 'ax-ic ax-ic-error-filled';
|
|
122
|
+
break;
|
|
123
|
+
case 'warning':
|
|
124
|
+
this._icon.icon = 'ax-ic ax-ic-warning-filled';
|
|
125
|
+
break;
|
|
126
|
+
case 'info':
|
|
127
|
+
this._icon.icon = 'ax-ic ax-ic-info-filled';
|
|
128
|
+
break;
|
|
129
|
+
default:
|
|
130
|
+
this._icon.icon = this._customIcon || 'ax-ic ax-ic-info-filled';
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
98
134
|
_applyButtonStyle() {
|
|
99
135
|
this._buttons?.forEach((c) => {
|
|
100
136
|
c.color = this.color;
|
|
101
|
-
c.
|
|
137
|
+
c._getHostElement().classList.add('ax-sm');
|
|
138
|
+
c.look = !c.look || c.look == 'default' ? 'default' : 'blank';
|
|
102
139
|
});
|
|
103
140
|
}
|
|
104
141
|
/**
|
|
105
142
|
* Remove the alert from the container
|
|
106
143
|
*/
|
|
107
|
-
|
|
144
|
+
close() {
|
|
108
145
|
const host = this._getHostElement();
|
|
109
146
|
this.visible = false;
|
|
110
147
|
const func = () => {
|
|
111
148
|
host.parentElement?.removeChild(host);
|
|
112
|
-
this.
|
|
149
|
+
this.onClosed.emit({
|
|
113
150
|
component: this,
|
|
114
151
|
});
|
|
115
152
|
host.removeEventListener('transitionend', func);
|
|
@@ -128,19 +165,28 @@ class AXAlertComponent extends AXBaseAlertMixin {
|
|
|
128
165
|
show() {
|
|
129
166
|
this.visible = true;
|
|
130
167
|
}
|
|
168
|
+
onDestroy() {
|
|
169
|
+
this._observer?.disconnect();
|
|
170
|
+
}
|
|
131
171
|
}
|
|
132
|
-
AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
133
|
-
AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
172
|
+
AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
173
|
+
AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXAlertComponent, selector: "ax-alert", inputs: { color: "color", timeOut: "timeOut", visible: "visible" }, outputs: { onClosed: "onClosed" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-alert" }, providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }], queries: [{ propertyName: "_icon", first: true, predicate: AXDecoratorIconComponent, descendants: true }, { propertyName: "_content", first: true, predicate: AXDecoratorContentComponent, descendants: true }, { propertyName: "_footer", first: true, predicate: AXDecoratorFooterComponent, descendants: true }, { propertyName: "_buttons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-sub-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"ax-alert-block-end\" [class.!ax-hidden]=\"!_showInline\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertComponent, decorators: [{
|
|
135
175
|
type: Component,
|
|
136
|
-
args: [{ selector: 'ax-alert', inputs: ['color'
|
|
176
|
+
args: [{ selector: 'ax-alert', inputs: ['color'], host: { class: 'ax-alert' }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }], template: "<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-sub-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"ax-alert-block-end\" [class.!ax-hidden]=\"!_showInline\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>" }]
|
|
137
177
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _icon: [{
|
|
138
178
|
type: ContentChild,
|
|
139
|
-
args: [AXDecoratorIconComponent
|
|
179
|
+
args: [AXDecoratorIconComponent]
|
|
140
180
|
}], _buttons: [{
|
|
141
181
|
type: ContentChildren,
|
|
142
182
|
args: [AXButtonComponent, { descendants: true }]
|
|
143
|
-
}],
|
|
183
|
+
}], _content: [{
|
|
184
|
+
type: ContentChild,
|
|
185
|
+
args: [AXDecoratorContentComponent]
|
|
186
|
+
}], _footer: [{
|
|
187
|
+
type: ContentChild,
|
|
188
|
+
args: [AXDecoratorFooterComponent]
|
|
189
|
+
}], onClosed: [{
|
|
144
190
|
type: Output
|
|
145
191
|
}], __hostClass: [{
|
|
146
192
|
type: HostBinding,
|
|
@@ -151,14 +197,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImpor
|
|
|
151
197
|
type: Input
|
|
152
198
|
}] } });
|
|
153
199
|
|
|
154
|
-
const COMPONENT = [AXAlertComponent];
|
|
200
|
+
const COMPONENT = [AXAlertComponent, AXAlertButtonDirective];
|
|
155
201
|
const MODULES = [CommonModule, AXDecoratorModule];
|
|
156
202
|
class AXAlertModule {
|
|
157
203
|
}
|
|
158
|
-
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
159
|
-
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
160
|
-
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
204
|
+
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
205
|
+
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent, AXAlertButtonDirective], imports: [CommonModule, AXDecoratorModule], exports: [AXAlertComponent, AXAlertButtonDirective] });
|
|
206
|
+
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertModule, imports: [MODULES] });
|
|
207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
162
208
|
type: NgModule,
|
|
163
209
|
args: [{
|
|
164
210
|
declarations: [...COMPONENT],
|
|
@@ -172,5 +218,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImpor
|
|
|
172
218
|
* Generated bundle index. Do not edit.
|
|
173
219
|
*/
|
|
174
220
|
|
|
175
|
-
export { AXAlertComponent, AXAlertModule, AXBaseAlertMixin };
|
|
221
|
+
export { AXAlertButtonDirective, AXAlertComponent, AXAlertModule, AXBaseAlertMixin };
|
|
176
222
|
//# sourceMappingURL=acorex-components-alert.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-components-alert.mjs","sources":["../../../../projects/acorex/components/alert/src/alert.component.ts","../../../../projects/acorex/components/alert/src/alert.component.html","../../../../projects/acorex/components/alert/src/alert.module.ts","../../../../projects/acorex/components/alert/acorex-components-alert.ts"],"sourcesContent":["import { AXButtonComponent } from '@acorex/components/button';\r\nimport { AXDecoratorIconComponent } from '@acorex/components/decorators';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n HostBinding,\r\n ContentChild,\r\n EventEmitter,\r\n Output,\r\n QueryList,\r\n ContentChildren,\r\n} from '@angular/core';\r\nimport { startWith } from 'rxjs/operators';\r\nimport { AXEvent } from '@acorex/components/common';\r\nimport {\r\n AXBaseComponent,\r\n AXComponentOptionChanged,\r\n _ColorLookComponentMixin,\r\n} from '@acorex/components/mixin';\r\n\r\nexport const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);\r\n\r\n/**\r\n * Regular description\r\n *\r\n * @category Components\r\n */\r\n@Component({\r\n selector: 'ax-alert',\r\n templateUrl: './alert.component.html',\r\n inputs: ['color', 'look'],\r\n host: { class: 'ax-alert' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXAlertComponent extends AXBaseAlertMixin {\r\n @ContentChild(AXDecoratorIconComponent, { static: true })\r\n private _icon!: AXDecoratorIconComponent;\r\n\r\n @ContentChildren(AXButtonComponent, { descendants: true })\r\n private _buttons!: QueryList<AXButtonComponent>;\r\n\r\n @Output()\r\n onDismissed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\r\n\r\n override _onOptionChanged(option: AXComponentOptionChanged) {\r\n if (option.name == 'color') {\r\n this._setIcon();\r\n }\r\n }\r\n\r\n protected ngDoCheck() {\r\n this._setIcon();\r\n this._applyButtonStyle();\r\n }\r\n\r\n private _setIcon() {\r\n if (!this._icon || this._icon.icon) return;\r\n switch (this.color) {\r\n case 'success':\r\n this._icon.icon = 'ax-ic ax-ic-check-filled';\r\n break;\r\n case 'warning':\r\n this._icon.icon = 'ax-ic-warning-filled';\r\n break;\r\n case 'danger':\r\n this._icon.icon = 'ax-ic-error-filled';\r\n break;\r\n default:\r\n this._icon.icon = 'ax-ic ax-ic-info-filled';\r\n break;\r\n }\r\n }\r\n\r\n /**\r\n * @ignore\r\n */\r\n @HostBinding('class')\r\n get __hostClass(): string {\r\n const _class = this.look\r\n ? `ax-${this.color}-${this.look}`\r\n : `ax-${this.color}-default`;\r\n return `ax-alert ax-none ${_class}`;\r\n }\r\n\r\n @Input()\r\n timeOut!: number;\r\n\r\n protected _visible: boolean;\r\n\r\n /**\r\n * set the visibility of the Alert\r\n */\r\n @Input()\r\n public get visible(): boolean {\r\n return this._visible;\r\n }\r\n public set visible(v: boolean) {\r\n if (this._visible != v) {\r\n this._visible = v;\r\n const host = this._getHostElement();\r\n if (v) {\r\n host.classList.remove('ax-state-hidden');\r\n host.classList.add('ax-state-visible');\r\n } else {\r\n host.classList.add('ax-state-hidden');\r\n host.classList.toggle('ax-state-visible');\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n onInit() {\r\n if (this.timeOut) {\r\n setTimeout(() => {\r\n this.dismiss();\r\n }, this.timeOut);\r\n }\r\n }\r\n\r\n onViewInit() {\r\n if (this.visible == undefined) {\r\n this.visible = true;\r\n }\r\n }\r\n\r\n protected ngAfterContentInit() {\r\n this._buttons.changes\r\n .pipe(startWith(0))\r\n .subscribe((change) => this._applyButtonStyle());\r\n this._applyButtonStyle();\r\n }\r\n\r\n private _applyButtonStyle() {\r\n this._buttons?.forEach((c: any) => {\r\n c.color = this.color;\r\n c.look = 'default'//this.look === 'outline' ? 'blank' : this.look;\r\n });\r\n }\r\n\r\n /**\r\n * Remove the alert from the container\r\n */\r\n dismiss(): void {\r\n const host = this._getHostElement();\r\n this.visible = false;\r\n const func = () => {\r\n host.parentElement?.removeChild(host);\r\n this.onDismissed.emit({\r\n component: this,\r\n });\r\n host.removeEventListener('transitionend', func);\r\n };\r\n host.addEventListener('transitionend', func);\r\n }\r\n\r\n /**\r\n * Hide the alert\r\n */\r\n hide(): void {\r\n this.visible = false;\r\n }\r\n\r\n /**\r\n * Show the alert\r\n */\r\n show() {\r\n this.visible = true;\r\n }\r\n}\r\n","<ng-content select=\"ax-header,ng-container,ng-template\">\r\n</ng-content>\r\n<div class=\"ax-alert-body\">\r\n <div class=\"ax-flex ax-items-center ax-justify-between\">\r\n <div class=\"ax-flex\">\r\n <ng-content select=\"ax-icon,ng-container,ng-template\">\r\n </ng-content>\r\n <div class=\"ax-flex ax-flex-col ax-justify-center\">\r\n <ng-content select=\"ax-content,ng-container,ng-template\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer,ng-container,ng-template\">\r\n </ng-content>\r\n </div>\r\n </div>\r\n <ng-content select=\"ax-suffix,ng-container,ng-template\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXAlertComponent } from './alert.component';\r\n\r\nconst COMPONENT = [AXAlertComponent];\r\nconst MODULES = [CommonModule, AXDecoratorModule];\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 AXAlertModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MAwBa,gBAAgB,GAAG,wBAAwB,CAAC,eAAe,EAAE;AAE1E;;;;AAIG;AASG,MAAO,gBAAiB,SAAQ,gBAAgB,CAAA;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;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-components-alert.mjs","sources":["../../../../projects/acorex/components/alert/src/alert-button.directive.ts","../../../../projects/acorex/components/alert/src/alert.component.ts","../../../../projects/acorex/components/alert/src/alert.component.html","../../../../projects/acorex/components/alert/src/alert.module.ts","../../../../projects/acorex/components/alert/acorex-components-alert.ts"],"sourcesContent":["import { Directive, Input } from '@angular/core';\r\n\r\n@Directive({ selector: '[ax-alert-button]' })\r\nexport class AXAlertButtonDirective {\r\n\r\n\r\n @Input()\r\n text: string = \"Button\";\r\n\r\n @Input()\r\n look: 'default' | 'blank' = \"default\";\r\n\r\n constructor() { }\r\n}","import { AXButtonComponent } from '@acorex/components/button';\r\nimport { AXDecoratorContentComponent, AXDecoratorFooterComponent, AXDecoratorIconComponent } from '@acorex/components/decorators';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n HostBinding,\r\n ContentChild,\r\n EventEmitter,\r\n Output,\r\n QueryList,\r\n ContentChildren,\r\n} from '@angular/core';\r\nimport { startWith } from 'rxjs/operators';\r\nimport { AXClosbaleComponent, AXEvent } from '@acorex/components/common';\r\nimport {\r\n AXBaseComponent,\r\n AXComponentOptionChanged,\r\n _ColorLookComponentMixin,\r\n} from '@acorex/components/mixin';\r\n\r\nexport const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);\r\n\r\n/**\r\n * Regular description\r\n *\r\n * @category Components\r\n */\r\n@Component({\r\n selector: 'ax-alert',\r\n templateUrl: './alert.component.html',\r\n inputs: ['color'],\r\n host: { class: 'ax-alert' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }]\r\n})\r\nexport class AXAlertComponent extends AXBaseAlertMixin {\r\n\r\n @ContentChild(AXDecoratorIconComponent)\r\n private _icon!: AXDecoratorIconComponent;\r\n\r\n @ContentChildren(AXButtonComponent, { descendants: true })\r\n private _buttons!: QueryList<AXButtonComponent>;\r\n\r\n\r\n @ContentChild(AXDecoratorContentComponent)\r\n protected _content!: AXButtonComponent;\r\n\r\n @ContentChild(AXDecoratorFooterComponent)\r\n protected _footer!: AXButtonComponent;\r\n\r\n protected _showInline: boolean = false;\r\n\r\n\r\n @Output()\r\n onClosed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\r\n\r\n\r\n private _customIcon: string;\r\n private _timeOutRef: number;\r\n\r\n /**\r\n * @ignore\r\n */\r\n @HostBinding('class')\r\n get __hostClass(): string {\r\n const _class = this.look\r\n ? `ax-${this.color}-${this.look}`\r\n : `ax-${this.color}-default`;\r\n return `ax-alert ax-none ${_class}`;\r\n }\r\n\r\n\r\n private _timeOut: number;\r\n @Input()\r\n public get timeOut(): number {\r\n return this._timeOut;\r\n }\r\n public set timeOut(v: number) {\r\n if (v != this._timeOut) {\r\n clearTimeout(this._timeOutRef);\r\n this._timeOut = v;\r\n if (v) {\r\n this._timeOutRef = window.setTimeout(() => {\r\n this.close();\r\n }, this.timeOut);\r\n }\r\n }\r\n }\r\n\r\n private _observer: MutationObserver;\r\n\r\n protected _visible: boolean;\r\n /**\r\n * set the visibility of the Alert\r\n */\r\n @Input()\r\n public get visible(): boolean {\r\n return this._visible;\r\n }\r\n public set visible(v: boolean) {\r\n if (this._visible != v) {\r\n this._visible = v;\r\n const host = this._getHostElement();\r\n if (v) {\r\n host.classList.remove('ax-state-hidden');\r\n host.classList.add('ax-state-visible');\r\n } else {\r\n host.classList.add('ax-state-hidden');\r\n host.classList.toggle('ax-state-visible');\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(\r\n elementRef: ElementRef,\r\n cdr: ChangeDetectorRef\r\n ) {\r\n super(elementRef, cdr);\r\n //\r\n const config = { attributes: false, childList: true, subtree: true };\r\n\r\n const callback = (mutationList, observer) => {\r\n for (const mutation of mutationList) {\r\n if (mutation.type === 'childList') {\r\n this._setIcon();\r\n this._applyButtonStyle();\r\n this._showInline = (this._content != null) || (this._footer != null);\r\n this._cdr.markForCheck();\r\n }\r\n }\r\n };\r\n\r\n // Create an observer instance linked to the callback function\r\n this._observer = new MutationObserver(callback);\r\n\r\n // Start observing the target node for configured mutations\r\n this._observer.observe(this._getHostElement(), config);\r\n }\r\n\r\n\r\n onViewInit() {\r\n if (this.visible == undefined) {\r\n this.visible = true;\r\n }\r\n //\r\n this._customIcon = this._icon?.icon;\r\n this._showInline = this._content != null || this._footer != null;\r\n }\r\n\r\n override _onOptionChanged(option: AXComponentOptionChanged) {\r\n this._setIcon();\r\n this._applyButtonStyle();\r\n }\r\n\r\n private _setIcon() {\r\n if (!this._icon) return;\r\n switch (this.color) {\r\n case 'success':\r\n this._icon.icon = 'ax-ic ax-ic-check';\r\n break;\r\n case 'danger':\r\n this._icon.icon = 'ax-ic ax-ic-error-filled';\r\n break;\r\n case 'warning':\r\n this._icon.icon = 'ax-ic ax-ic-warning-filled';\r\n break;\r\n case 'info':\r\n this._icon.icon = 'ax-ic ax-ic-info-filled';\r\n break;\r\n default:\r\n this._icon.icon = this._customIcon || 'ax-ic ax-ic-info-filled';\r\n break;\r\n }\r\n }\r\n\r\n\r\n private _applyButtonStyle() {\r\n this._buttons?.forEach((c: any) => {\r\n c.color = this.color;\r\n c._getHostElement().classList.add('ax-sm');\r\n c.look = !c.look || c.look == 'default' ? 'default' : 'blank';\r\n });\r\n }\r\n\r\n /**\r\n * Remove the alert from the container\r\n */\r\n close(): void {\r\n const host = this._getHostElement();\r\n this.visible = false;\r\n const func = () => {\r\n host.parentElement?.removeChild(host);\r\n this.onClosed.emit({\r\n component: this,\r\n });\r\n host.removeEventListener('transitionend', func);\r\n };\r\n host.addEventListener('transitionend', func);\r\n }\r\n\r\n /**\r\n * Hide the alert\r\n */\r\n hide(): void {\r\n this.visible = false;\r\n }\r\n\r\n /**\r\n * Show the alert\r\n */\r\n show() {\r\n this.visible = true;\r\n }\r\n\r\n\r\n onDestroy(): void {\r\n this._observer?.disconnect();\r\n }\r\n\r\n\r\n\r\n}\r\n","<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-sub-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"ax-alert-block-end\" [class.!ax-hidden]=\"!_showInline\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXAlertComponent } from './alert.component';\r\nimport { AXAlertButtonDirective } from './alert-button.directive';\r\n\r\nconst COMPONENT = [AXAlertComponent, AXAlertButtonDirective];\r\nconst MODULES = [CommonModule, AXDecoratorModule];\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 AXAlertModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MAGa,sBAAsB,CAAA;AAS/B,IAAA,WAAA,GAAA;QALA,IAAI,CAAA,IAAA,GAAW,QAAQ,CAAC;QAGxB,IAAI,CAAA,IAAA,GAAwB,SAAS,CAAC;KAErB;;mHATR,sBAAsB,EAAA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CAAC,CAAC;MAQrC,aAAa,CAAA;;0GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;2GAAb,aAAa,EAAA,YAAA,EAAA,CATP,gBAAgB,EAAE,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAC1C,YAAY,EAAE,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAD7B,gBAAgB,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA;AAS9C,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAJX,OAAO,CAAA,EAAA,CAAA,CAAA;2FAIT,aAAa,EAAA,UAAA,EAAA,CAAA;kBANzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -8,9 +8,9 @@ class AXAvatarGroup {
|
|
|
8
8
|
constructor() { }
|
|
9
9
|
ngOnInit() { }
|
|
10
10
|
}
|
|
11
|
-
AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
12
|
-
AXAvatarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
11
|
+
AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
AXAvatarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXAvatarGroup, selector: "ax-avatar-group", host: { classAttribute: "ax-avatar-group" }, ngImport: i0, template: `<ng-content select="ax-avatar"></ng-content>`, isInline: true });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarGroup, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: 'ax-avatar-group',
|
|
@@ -40,9 +40,9 @@ class AXAvatarComponent extends AXAvatarMixin {
|
|
|
40
40
|
return `ax-${this.color}-default`;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
44
|
-
AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
43
|
+
AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXAvatarComponent, selector: "ax-avatar", inputs: { color: "color", look: "look" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-avatar" }, queries: [{ propertyName: "_children", predicate: ["ax-text, ax-icon, ax-image"] }], usesInheritance: true, ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_children.length\"></ng-container>\r\n<ng-container [ngTemplateOutlet]=\"custom\" *ngIf=\"_children.length\"></ng-container>\r\n\r\n<ng-template #custom>\r\n <ng-content select='ax-text, ax-image, ax-icon'></ng-content>\r\n</ng-template>\r\n<ng-template #default>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-default\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarComponent, decorators: [{
|
|
46
46
|
type: Component,
|
|
47
47
|
args: [{ selector: 'ax-avatar', inputs: ['color', 'look'], host: { class: 'ax-avatar' }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_children.length\"></ng-container>\r\n<ng-container [ngTemplateOutlet]=\"custom\" *ngIf=\"_children.length\"></ng-container>\r\n\r\n<ng-template #custom>\r\n <ng-content select='ax-text, ax-image, ax-icon'></ng-content>\r\n</ng-template>\r\n<ng-template #default>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-default\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>" }]
|
|
48
48
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _children: [{
|
|
@@ -57,10 +57,10 @@ const COMPONENT = [AXAvatarComponent, AXAvatarGroup];
|
|
|
57
57
|
const MODULES = [CommonModule];
|
|
58
58
|
class AXAvatarModule {
|
|
59
59
|
}
|
|
60
|
-
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
61
|
-
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
62
|
-
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
60
|
+
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
61
|
+
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
|
|
62
|
+
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarModule, imports: [MODULES] });
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
64
64
|
type: NgModule,
|
|
65
65
|
args: [{
|
|
66
66
|
declarations: [...COMPONENT],
|
|
@@ -18,9 +18,9 @@ class AXBadgeComponent extends AXBaseBadgeMixin {
|
|
|
18
18
|
return ['ax-badge', _class, !this.text ? 'ax-badge-icon' : ''].join(' ');
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
22
|
-
AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
21
|
+
AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXBadgeComponent, selector: "ax-badge", inputs: { color: "color", look: "look", text: "text" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBadgeComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{ selector: 'ax-badge', inputs: ['color', 'look',], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>" }]
|
|
26
26
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
@@ -34,10 +34,10 @@ const COMPONENT = [AXBadgeComponent];
|
|
|
34
34
|
const MODULES = [CommonModule];
|
|
35
35
|
class AXBadgeModule {
|
|
36
36
|
}
|
|
37
|
-
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
38
|
-
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
39
|
-
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
37
|
+
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
38
|
+
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
39
|
+
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBadgeModule, imports: [MODULES] });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
41
41
|
type: NgModule,
|
|
42
42
|
args: [{
|
|
43
43
|
declarations: [...COMPONENT],
|
|
@@ -12,9 +12,9 @@ class AXBreadCrumbsComponent extends AXBaseComponent {
|
|
|
12
12
|
super(_elementRef, _cdr);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
16
|
-
AXBreadCrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
15
|
+
AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
AXBreadCrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXBreadCrumbsComponent, selector: "ax-breadcrumbs", host: { classAttribute: "ax-breadcrumbs" }, queries: [{ propertyName: "_divider", first: true, predicate: ["divider"], descendants: true }], viewQueries: [{ propertyName: "dividerTemplate", first: true, predicate: ["dividerTpl"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>\r\n<ng-template #dividerTpl>\r\n <ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_divider\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"_divider\" *ngIf=\"_divider\"></ng-container>\r\n <ng-template #default>\r\n <div class=\"ax-breadcrumb-divider\">/</div>\r\n </ng-template>\r\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
19
|
args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>\r\n<ng-template #dividerTpl>\r\n <ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_divider\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"_divider\" *ngIf=\"_divider\"></ng-container>\r\n <ng-template #default>\r\n <div class=\"ax-breadcrumb-divider\">/</div>\r\n </ng-template>\r\n</ng-template>" }]
|
|
20
20
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _divider: [{
|
|
@@ -38,9 +38,9 @@ class AXBreadCrumbsItemComponent extends AXBaseItemBreadCrumbMixin {
|
|
|
38
38
|
this._emitOnClickEvent(e);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
42
|
-
AXBreadCrumbsItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
41
|
+
AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXBreadCrumbsComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
+
AXBreadCrumbsItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: { text: "text" }, host: { listeners: { "click": "__hostClick($event)" }, classAttribute: "ax-breadcrumbs-item" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span class=\"ax-breadcrumbs-item-text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div class=\"ax-breadcrumb-divider\">\r\n <ng-container *ngTemplateOutlet=\"_parent.dividerTemplate\"></ng-container>\r\n</div>\r\n\r\n\r\n\r\n", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{ selector: 'ax-breadcrumbs-item', host: { class: 'ax-breadcrumbs-item' }, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span class=\"ax-breadcrumbs-item-text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div class=\"ax-breadcrumb-divider\">\r\n <ng-container *ngTemplateOutlet=\"_parent.dividerTemplate\"></ng-container>\r\n</div>\r\n\r\n\r\n\r\n" }]
|
|
46
46
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXBreadCrumbsComponent, decorators: [{
|
|
@@ -57,10 +57,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImpor
|
|
|
57
57
|
|
|
58
58
|
class AXBreadcrumbsModule {
|
|
59
59
|
}
|
|
60
|
-
AXBreadcrumbsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
61
|
-
AXBreadcrumbsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
62
|
-
AXBreadcrumbsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
60
|
+
AXBreadcrumbsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
61
|
+
AXBreadcrumbsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXBreadcrumbsModule, declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent], imports: [CommonModule], exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent] });
|
|
62
|
+
AXBreadcrumbsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBreadcrumbsModule, imports: [CommonModule] });
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXBreadcrumbsModule, decorators: [{
|
|
64
64
|
type: NgModule,
|
|
65
65
|
args: [{
|
|
66
66
|
declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
|