@acorex/components 7.3.1 → 7.4.1
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/button/lib/button-group.component.d.ts +10 -73
- package/button/lib/button-item.class.d.ts +1 -3
- package/button/lib/button-item.component.d.ts +12 -75
- package/button/lib/button.component.d.ts +1 -1
- package/button-group/README.md +3 -0
- package/button-group/index.d.ts +2 -0
- package/button-group/lib/button-group.component.d.ts +21 -0
- package/button-group/lib/button-group.module.d.ts +8 -0
- package/calendar/lib/calendar-range.component.d.ts +2 -1
- package/calendar/lib/calendar.class.d.ts +9 -8
- package/calendar/lib/calendar.component.d.ts +2 -1
- package/check-box/lib/check-box.component.d.ts +3 -2
- package/color-box/README.md +3 -0
- package/color-box/index.d.ts +2 -0
- package/color-box/lib/color-box.component.d.ts +27 -0
- package/color-box/lib/color-box.module.d.ts +11 -0
- package/common/index.d.ts +6 -5
- package/common/lib/classes/styles.class.d.ts +0 -9
- package/common/lib/components/button-base-component.class.d.ts +0 -2
- package/common/lib/components/interactive-component.class.d.ts +7 -1
- package/common/lib/types/direction.d.ts +4 -0
- package/common/lib/types/orientation.d.ts +4 -0
- package/common/lib/types/placement.d.ts +30 -0
- package/common/lib/types/selection-mode.d.ts +4 -0
- package/data-pager/lib/data-pager.module.d.ts +5 -4
- package/data-table/lib/data-column.directive.d.ts +2 -2
- package/datetime-box/README.md +3 -0
- package/datetime-box/index.d.ts +2 -0
- package/datetime-box/lib/datetime-box.component.d.ts +34 -0
- package/datetime-box/lib/datetime-box.module.d.ts +13 -0
- package/datetime-input/README.md +3 -0
- package/datetime-input/index.d.ts +2 -0
- package/datetime-input/lib/datetime-input.component.d.ts +44 -0
- package/datetime-input/lib/datetime-input.module.d.ts +10 -0
- package/datetime-picker/README.md +3 -0
- package/datetime-picker/index.d.ts +2 -0
- package/datetime-picker/lib/datetime-picker.component.d.ts +42 -0
- package/datetime-picker/lib/datetime-picker.module.d.ts +14 -0
- package/decorators/index.d.ts +4 -4
- package/decorators/lib/decorators.module.d.ts +4 -4
- package/dropdown/index.d.ts +2 -0
- package/dropdown/lib/dropdown-box.class.d.ts +15 -0
- package/dropdown/lib/dropdown-box.component.d.ts +25 -0
- package/dropdown/lib/dropdown-panel.component.d.ts +31 -20
- package/dropdown/lib/dropdown.module.d.ts +9 -8
- package/esm2022/action-sheet/lib/action-sheet.class.mjs +1 -1
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +3 -3
- package/esm2022/action-sheet/lib/action-sheet.module.mjs +4 -4
- package/esm2022/action-sheet/lib/action-sheet.service.mjs +3 -3
- package/esm2022/alert/lib/alert.component.mjs +3 -3
- package/esm2022/alert/lib/alert.module.mjs +4 -4
- package/esm2022/avatar/lib/avatar-group.component.mjs +3 -3
- package/esm2022/avatar/lib/avatar.component.mjs +3 -3
- package/esm2022/avatar/lib/avatar.module.mjs +4 -4
- package/esm2022/badge/lib/badge.component.mjs +3 -3
- package/esm2022/badge/lib/badge.module.mjs +4 -4
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +3 -3
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
- package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +4 -4
- package/esm2022/button/lib/button-group.component.mjs +36 -29
- package/esm2022/button/lib/button-item.class.mjs +1 -1
- package/esm2022/button/lib/button-item.component.mjs +46 -32
- package/esm2022/button/lib/button.component.mjs +14 -10
- package/esm2022/button/lib/button.module.mjs +4 -4
- package/esm2022/{color-picker/acorex-components-color-picker.mjs → button-group/acorex-components-button-group.mjs} +1 -1
- package/esm2022/button-group/index.mjs +3 -0
- package/esm2022/button-group/lib/button-group.component.mjs +97 -0
- package/esm2022/button-group/lib/button-group.module.mjs +21 -0
- package/esm2022/calendar/lib/calendar-range.component.mjs +14 -13
- package/esm2022/calendar/lib/calendar.class.mjs +19 -18
- package/esm2022/calendar/lib/calendar.component.mjs +80 -40
- package/esm2022/calendar/lib/calendar.module.mjs +4 -4
- package/esm2022/check-box/lib/check-box.component.mjs +9 -5
- package/esm2022/check-box/lib/check-box.module.mjs +4 -4
- package/esm2022/chips/lib/chips.component.mjs +3 -3
- package/esm2022/chips/lib/chips.module.mjs +4 -4
- package/esm2022/collapse/lib/collapse-group.component.mjs +3 -3
- package/esm2022/collapse/lib/collapse.component.mjs +3 -3
- package/esm2022/collapse/lib/collapse.module.mjs +4 -4
- package/esm2022/color-box/acorex-components-color-box.mjs +5 -0
- package/esm2022/color-box/index.mjs +3 -0
- package/esm2022/color-box/lib/color-box.component.mjs +91 -0
- package/esm2022/color-box/lib/color-box.module.mjs +24 -0
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +3 -3
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +13 -13
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +3 -3
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +3 -3
- package/esm2022/color-palette/lib/color-palette.class.mjs +6 -6
- package/esm2022/color-palette/lib/color-palette.component.mjs +5 -5
- package/esm2022/color-palette/lib/color-palette.module.mjs +4 -4
- package/esm2022/common/index.mjs +7 -6
- package/esm2022/common/lib/classes/components.class.mjs +22 -22
- package/esm2022/common/lib/classes/styles.class.mjs +1 -2
- package/esm2022/common/lib/common.module.mjs +4 -4
- package/esm2022/common/lib/components/base-component.class.mjs +3 -3
- package/esm2022/common/lib/components/button-base-component.class.mjs +4 -18
- package/esm2022/common/lib/components/input-base-value-component.class.mjs +3 -3
- package/esm2022/common/lib/components/interactive-component.class.mjs +14 -1
- package/esm2022/common/lib/components/value-component.class.mjs +6 -6
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +3 -3
- package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +3 -3
- package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -3
- package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +3 -3
- package/esm2022/common/lib/directives/responsive.directive.mjs +3 -3
- package/esm2022/common/lib/services/dom.service.mjs +3 -3
- package/esm2022/common/lib/services/hotkey.service.mjs +3 -3
- package/esm2022/common/lib/types/direction.mjs +2 -0
- package/esm2022/common/lib/types/orientation.mjs +2 -0
- package/esm2022/common/lib/types/placement.mjs +160 -0
- package/esm2022/common/lib/types/range.mjs +2 -0
- package/esm2022/common/lib/types/selection-mode.mjs +5 -0
- package/esm2022/context-menu/lib/context-menu.component.mjs +3 -3
- package/esm2022/context-menu/lib/context-menu.module.mjs +4 -4
- package/esm2022/data-pager/lib/data-pager-base.component.mjs +6 -6
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +4 -4
- package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +15 -18
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +7 -7
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +4 -4
- package/esm2022/data-pager/lib/data-pager.component.mjs +5 -5
- package/esm2022/data-pager/lib/data-pager.module.mjs +8 -7
- package/esm2022/data-table/lib/data-column.directive.mjs +6 -8
- package/esm2022/data-table/lib/data-table.component.mjs +3 -3
- package/esm2022/data-table/lib/data-table.module.mjs +4 -4
- package/esm2022/datetime-box/acorex-components-datetime-box.mjs +5 -0
- package/esm2022/datetime-box/index.mjs +3 -0
- package/esm2022/datetime-box/lib/datetime-box.component.mjs +109 -0
- package/esm2022/datetime-box/lib/datetime-box.module.mjs +38 -0
- package/esm2022/datetime-input/acorex-components-datetime-input.mjs +5 -0
- package/esm2022/datetime-input/index.mjs +3 -0
- package/esm2022/datetime-input/lib/datetime-input.component.mjs +522 -0
- package/esm2022/datetime-input/lib/datetime-input.module.mjs +23 -0
- package/esm2022/datetime-picker/acorex-components-datetime-picker.mjs +5 -0
- package/esm2022/datetime-picker/index.mjs +3 -0
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +232 -0
- package/esm2022/datetime-picker/lib/datetime-picker.module.mjs +41 -0
- package/esm2022/decorators/index.mjs +5 -5
- package/esm2022/decorators/lib/components/clear-button.component.mjs +58 -0
- package/esm2022/decorators/lib/components/close-button.component.mjs +43 -0
- package/esm2022/decorators/lib/components/generic-content.component.mjs +17 -0
- package/esm2022/decorators/lib/components/icon.component.mjs +26 -0
- package/esm2022/decorators/lib/decorators.module.mjs +10 -10
- package/esm2022/dialog/lib/dialog.component.mjs +4 -4
- package/esm2022/dialog/lib/dialog.module.mjs +4 -4
- package/esm2022/dialog/lib/dialog.service.mjs +3 -3
- package/esm2022/drawer/lib/drawer-container.component.mjs +3 -3
- package/esm2022/drawer/lib/drawer.component.mjs +3 -3
- package/esm2022/drawer/lib/drawer.module.mjs +4 -4
- package/esm2022/dropdown/index.mjs +3 -1
- package/esm2022/dropdown/lib/dropdown-box.class.mjs +38 -0
- package/esm2022/dropdown/lib/dropdown-box.component.mjs +94 -0
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +88 -37
- package/esm2022/dropdown/lib/dropdown.module.mjs +8 -7
- package/esm2022/form/index.mjs +2 -1
- package/esm2022/form/lib/form-field.component.mjs +3 -3
- package/esm2022/form/lib/form.component.mjs +3 -3
- package/esm2022/form/lib/form.config.mjs +36 -0
- package/esm2022/form/lib/form.module.mjs +6 -28
- package/esm2022/form/lib/validation-rule.widget.mjs +8 -7
- package/esm2022/form/lib/validation-summary.component.mjs +4 -4
- package/esm2022/image/lib/image.component.mjs +3 -3
- package/esm2022/image/lib/image.module.mjs +4 -4
- package/esm2022/label/lib/label.component.mjs +3 -3
- package/esm2022/label/lib/label.module.mjs +4 -4
- package/esm2022/loading/lib/loading-spinner.component.mjs +3 -3
- package/esm2022/loading/lib/loading.component.mjs +6 -6
- package/esm2022/loading/lib/loading.directive.mjs +20 -51
- package/esm2022/loading/lib/loading.module.mjs +6 -6
- package/esm2022/loading/lib/loading.service.mjs +36 -28
- package/esm2022/menu/lib/menu.component.mjs +3 -3
- package/esm2022/menu/lib/menu.module.mjs +4 -4
- package/esm2022/mixin/index.mjs +1 -2
- package/esm2022/mixin/lib/base-components.class.mjs +3 -3
- package/esm2022/mixin/lib/selection-component.class.mjs +3 -3
- package/esm2022/mixin/lib/value-mixin.class.mjs +3 -3
- package/esm2022/notification/lib/notification.component.mjs +3 -3
- package/esm2022/notification/lib/notification.module.mjs +4 -4
- package/esm2022/notification/lib/notification.service.mjs +3 -3
- package/esm2022/number-box/lib/number-box.component.mjs +3 -3
- package/esm2022/number-box/lib/number-box.module.mjs +4 -4
- package/esm2022/otp/lib/otp.component.mjs +23 -11
- package/esm2022/otp/lib/otp.module.mjs +4 -4
- package/esm2022/page/lib/base-page.class.mjs +20 -21
- package/esm2022/page/lib/page.component.mjs +13 -13
- package/esm2022/page/lib/page.module.mjs +4 -4
- package/esm2022/password-box/lib/password-box.component.mjs +3 -3
- package/esm2022/password-box/lib/password-box.module.mjs +4 -4
- package/esm2022/picker/acorex-components-picker.mjs +5 -0
- package/esm2022/picker/index.mjs +4 -0
- package/esm2022/picker/lib/picker-column.directive.mjs +73 -0
- package/esm2022/picker/lib/picker.component.mjs +148 -0
- package/esm2022/picker/lib/picker.module.mjs +22 -0
- package/esm2022/popover/index.mjs +1 -2
- package/esm2022/popover/lib/popover.component.mjs +270 -166
- package/esm2022/popover/lib/popover.module.mjs +4 -4
- package/esm2022/popup/lib/popup.component.mjs +40 -15
- package/esm2022/popup/lib/popup.module.mjs +6 -6
- package/esm2022/popup/lib/popup.service.mjs +9 -6
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +9 -13
- package/esm2022/progress-bar/lib/progress-bar.module.mjs +4 -4
- package/esm2022/radio/lib/radio.component.mjs +36 -21
- package/esm2022/radio/lib/radio.module.mjs +4 -4
- package/esm2022/range-slider/lib/range-slider.component.mjs +21 -34
- package/esm2022/range-slider/lib/range-slider.module.mjs +4 -4
- package/esm2022/result/lib/result.component.mjs +6 -6
- package/esm2022/result/lib/result.module.mjs +4 -4
- package/esm2022/scheduler/index.mjs +2 -1
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +16 -9
- package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +12 -0
- package/esm2022/scheduler/lib/scheduler.component.mjs +27 -14
- package/esm2022/scheduler/lib/scheduler.module.mjs +10 -9
- package/esm2022/search-box/lib/search-box.component.mjs +3 -3
- package/esm2022/search-box/lib/search-box.module.mjs +4 -4
- package/esm2022/select-box/lib/select-box.component.mjs +7 -7
- package/esm2022/select-box/lib/select-box.module.mjs +4 -4
- package/esm2022/selection-list/lib/selection-list.component.mjs +3 -3
- package/esm2022/selection-list/lib/selection-list.module.mjs +4 -4
- package/esm2022/switch/lib/switch-content.component.mjs +3 -3
- package/esm2022/switch/lib/switch.component.mjs +3 -3
- package/esm2022/switch/lib/switch.module.mjs +4 -4
- package/esm2022/tabs/lib/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/lib/tab-item.component.mjs +23 -53
- package/esm2022/tabs/lib/tabs.class.mjs +1 -1
- package/esm2022/tabs/lib/tabs.component.mjs +19 -28
- package/esm2022/tabs/lib/tabs.module.mjs +4 -4
- package/esm2022/tag/lib/tag.component.mjs +8 -10
- package/esm2022/tag/lib/tag.module.mjs +4 -4
- package/esm2022/text-area/lib/text-area.component.mjs +3 -3
- package/esm2022/text-area/lib/text-area.module.mjs +4 -4
- package/esm2022/text-box/lib/mask-options.directive.mjs +3 -3
- package/esm2022/text-box/lib/text-box.component.mjs +3 -3
- package/esm2022/text-box/lib/text-box.module.mjs +4 -4
- package/esm2022/toast/lib/toast.component.mjs +3 -3
- package/esm2022/toast/lib/toast.config.mjs +9 -3
- package/esm2022/toast/lib/toast.module.mjs +10 -6
- package/esm2022/toast/lib/toast.service.mjs +3 -3
- package/esm2022/tooltip/lib/tooltip.component.mjs +9 -13
- package/esm2022/tooltip/lib/tooltip.directive.mjs +35 -143
- package/esm2022/tooltip/lib/tooltip.module.mjs +4 -4
- package/esm2022/uploader/index.mjs +4 -2
- package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +13 -0
- package/esm2022/uploader/lib/uploader-list.component.mjs +14 -0
- package/esm2022/uploader/lib/uploader-overlay.component.mjs +12 -0
- package/esm2022/uploader/lib/uploader.module.mjs +14 -11
- package/fesm2022/acorex-components-action-sheet.mjs +10 -10
- package/fesm2022/acorex-components-alert.mjs +7 -7
- package/fesm2022/acorex-components-avatar.mjs +10 -10
- package/fesm2022/acorex-components-badge.mjs +7 -7
- package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
- package/fesm2022/acorex-components-button-group.mjs +122 -0
- package/fesm2022/acorex-components-button-group.mjs.map +1 -0
- package/fesm2022/acorex-components-button.mjs +138 -116
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +110 -68
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +12 -8
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +7 -7
- package/fesm2022/acorex-components-collapse.mjs +10 -10
- package/fesm2022/acorex-components-color-box.mjs +116 -0
- package/fesm2022/acorex-components-color-box.mjs.map +1 -0
- package/fesm2022/acorex-components-color-palette.mjs +36 -36
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +238 -301
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-context-menu.mjs +7 -7
- package/fesm2022/acorex-components-data-pager.mjs +52 -54
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +12 -14
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +146 -0
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -0
- package/fesm2022/acorex-components-datetime-input.mjs +547 -0
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -0
- package/fesm2022/acorex-components-datetime-picker.mjs +273 -0
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-decorators.mjs +50 -50
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +11 -11
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +10 -10
- package/fesm2022/acorex-components-dropdown.mjs +217 -44
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +58 -44
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +7 -7
- package/fesm2022/acorex-components-label.mjs +7 -7
- package/fesm2022/acorex-components-loading.mjs +93 -116
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +7 -7
- package/fesm2022/acorex-components-mixin.mjs +7 -26
- package/fesm2022/acorex-components-mixin.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +10 -10
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +7 -7
- package/fesm2022/acorex-components-otp.mjs +27 -15
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +55 -56
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +7 -7
- package/fesm2022/acorex-components-picker.mjs +242 -0
- package/fesm2022/acorex-components-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-popover.mjs +275 -241
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +52 -24
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +12 -16
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +39 -25
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +24 -37
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +9 -9
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +50 -25
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +7 -7
- package/fesm2022/acorex-components-select-box.mjs +10 -10
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +7 -7
- package/fesm2022/acorex-components-switch.mjs +10 -10
- package/fesm2022/acorex-components-tabs.mjs +45 -85
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +11 -13
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +7 -7
- package/fesm2022/acorex-components-text-box.mjs +10 -10
- package/fesm2022/acorex-components-toast.mjs +23 -13
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +45 -157
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +38 -103
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/form/index.d.ts +1 -0
- package/form/lib/form.config.d.ts +17 -0
- package/form/lib/form.module.d.ts +0 -1
- package/form/lib/validation-rule.widget.d.ts +1 -0
- package/loading/lib/loading.directive.d.ts +10 -17
- package/loading/lib/loading.module.d.ts +1 -1
- package/loading/lib/loading.service.d.ts +10 -15
- package/mixin/index.d.ts +0 -1
- package/mixin/lib/base-components.class.d.ts +2 -2
- package/mixin/lib/base-menu-mixin.class.d.ts +5 -5
- package/mixin/lib/button-mixin.class.d.ts +2 -2
- package/mixin/lib/clickable-mixin.class.d.ts +2 -2
- package/mixin/lib/color-look-mixing.class.d.ts +2 -2
- package/mixin/lib/datalist-component.class.d.ts +10 -10
- package/mixin/lib/dropdown-mixin.class.d.ts +2 -2
- package/mixin/lib/interactive-mixin.class.d.ts +4 -4
- package/mixin/lib/mixin.class.d.ts +61 -61
- package/mixin/lib/page-component.class.d.ts +2 -2
- package/mixin/lib/selection-component.class.d.ts +2 -2
- package/mixin/lib/sizable-mixin.class.d.ts +2 -2
- package/mixin/lib/textbox-mixin.class.d.ts +2 -2
- package/mixin/lib/value-mixin.class.d.ts +8 -8
- package/otp/lib/otp.component.d.ts +10 -6
- package/package.json +56 -41
- package/page/lib/base-page.class.d.ts +6 -10
- package/page/lib/page.component.d.ts +4 -4
- package/picker/README.md +3 -0
- package/picker/index.d.ts +3 -0
- package/picker/lib/picker-column.directive.d.ts +16 -0
- package/picker/lib/picker.component.d.ts +30 -0
- package/picker/lib/picker.module.d.ts +9 -0
- package/popover/index.d.ts +0 -1
- package/popover/lib/popover.component.d.ts +51 -27
- package/popup/lib/popup.component.d.ts +6 -6
- package/progress-bar/lib/progress-bar.component.d.ts +3 -8
- package/radio/lib/radio.component.d.ts +8 -10
- package/range-slider/lib/range-slider.component.d.ts +12 -12
- package/result/lib/result.component.d.ts +2 -2
- package/scheduler/index.d.ts +1 -0
- package/scheduler/lib/scheduler-month-view.component.d.ts +2 -1
- package/scheduler/lib/scheduler-week-view.component.d.ts +6 -0
- package/scheduler/lib/scheduler.component.d.ts +6 -0
- package/scheduler/lib/scheduler.module.d.ts +7 -6
- package/tabs/lib/tab-item.component.d.ts +7 -38
- package/tabs/lib/tabs.class.d.ts +2 -1
- package/tabs/lib/tabs.component.d.ts +7 -9
- package/tag/lib/tag.component.d.ts +2 -4
- package/tooltip/lib/tooltip.component.d.ts +3 -6
- package/tooltip/lib/tooltip.directive.d.ts +11 -17
- package/uploader/index.d.ts +3 -1
- package/uploader/lib/uploader-drop-zone.component.d.ts +6 -0
- package/uploader/lib/uploader-list.component.d.ts +6 -0
- package/uploader/lib/uploader-overlay.component.d.ts +6 -0
- package/uploader/lib/uploader.module.d.ts +7 -4
- package/color-picker/README.md +0 -3
- package/color-picker/index.d.ts +0 -2
- package/color-picker/lib/color-picker.component.d.ts +0 -191
- package/color-picker/lib/color-picker.module.d.ts +0 -18
- package/common/lib/classes/drawing.class.d.ts +0 -9
- package/common/lib/constant/positions.d.ts +0 -75
- package/common/lib/services/custom-cdk-overlay.service.d.ts +0 -19
- package/common/lib/services/overlay.service.d.ts +0 -34
- package/date-picker/README.md +0 -3
- package/date-picker/index.d.ts +0 -2
- package/date-picker/lib/datepicker.component.d.ts +0 -40
- package/date-picker/lib/datepicker.module.d.ts +0 -15
- package/esm2022/color-picker/index.mjs +0 -3
- package/esm2022/color-picker/lib/color-picker.component.mjs +0 -116
- package/esm2022/color-picker/lib/color-picker.module.mjs +0 -61
- package/esm2022/common/lib/classes/data.class.mjs +0 -2
- package/esm2022/common/lib/classes/drawing.class.mjs +0 -2
- package/esm2022/common/lib/constant/positions.mjs +0 -75
- package/esm2022/common/lib/services/custom-cdk-overlay.service.mjs +0 -49
- package/esm2022/common/lib/services/overlay.service.mjs +0 -113
- package/esm2022/date-picker/acorex-components-date-picker.mjs +0 -5
- package/esm2022/date-picker/index.mjs +0 -3
- package/esm2022/date-picker/lib/datepicker.component.mjs +0 -128
- package/esm2022/date-picker/lib/datepicker.module.mjs +0 -44
- package/esm2022/decorators/lib/clear-button.component.mjs +0 -58
- package/esm2022/decorators/lib/close-button.component.mjs +0 -43
- package/esm2022/decorators/lib/generic-content.component.mjs +0 -17
- package/esm2022/decorators/lib/icon.component.mjs +0 -26
- package/esm2022/mixin/lib/loading-mixin.class.mjs +0 -18
- package/esm2022/popover/lib/dropdown-component.class.mjs +0 -73
- package/esm2022/time-box/acorex-components-time-box.mjs +0 -5
- package/esm2022/time-box/index.mjs +0 -3
- package/esm2022/time-box/lib/time-box.component.mjs +0 -294
- package/esm2022/time-box/lib/time-box.module.mjs +0 -32
- package/esm2022/uploader/lib/uploader.component.mjs +0 -99
- package/fesm2022/acorex-components-color-picker.mjs +0 -178
- package/fesm2022/acorex-components-color-picker.mjs.map +0 -1
- package/fesm2022/acorex-components-date-picker.mjs +0 -173
- package/fesm2022/acorex-components-date-picker.mjs.map +0 -1
- package/fesm2022/acorex-components-time-box.mjs +0 -329
- package/fesm2022/acorex-components-time-box.mjs.map +0 -1
- package/mixin/lib/loading-mixin.class.d.ts +0 -40
- package/popover/lib/dropdown-component.class.d.ts +0 -17
- package/time-box/README.md +0 -3
- package/time-box/index.d.ts +0 -2
- package/time-box/lib/time-box.component.d.ts +0 -50
- package/time-box/lib/time-box.module.d.ts +0 -11
- package/uploader/lib/uploader.component.d.ts +0 -28
- /package/common/lib/{classes/data.class.d.ts → types/range.d.ts} +0 -0
- /package/decorators/lib/{clear-button.component.d.ts → components/clear-button.component.d.ts} +0 -0
- /package/decorators/lib/{close-button.component.d.ts → components/close-button.component.d.ts} +0 -0
- /package/decorators/lib/{generic-content.component.d.ts → components/generic-content.component.d.ts} +0 -0
- /package/decorators/lib/{icon.component.d.ts → components/icon.component.d.ts} +0 -0
@@ -0,0 +1,273 @@
|
|
1
|
+
import * as i5 from '@acorex/components/calendar';
|
2
|
+
import { MXCalendarBaseComponent, AXCalendarModule } from '@acorex/components/calendar';
|
3
|
+
import { MXValueComponent, AXComponent, AXFocusableComponent, AXValuableComponent } from '@acorex/components/common';
|
4
|
+
import * as i6 from '@acorex/components/picker';
|
5
|
+
import { AXPickerComponent, AXPickerModule } from '@acorex/components/picker';
|
6
|
+
import * as i7 from '@acorex/core/dateTime';
|
7
|
+
import { AXCalendarService, AXDateTimeModule } from '@acorex/core/dateTime';
|
8
|
+
import * as i0 from '@angular/core';
|
9
|
+
import { inject, EventEmitter, forwardRef, Component, ChangeDetectionStrategy, ViewEncapsulation, ViewChild, Output, Input, NgModule } from '@angular/core';
|
10
|
+
import * as i2 from '@angular/forms';
|
11
|
+
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
12
|
+
import { classes } from 'polytype';
|
13
|
+
import * as i1 from '@angular/common';
|
14
|
+
import { CommonModule } from '@angular/common';
|
15
|
+
import * as i3 from '@acorex/components/tabs';
|
16
|
+
import { AXTabsModule } from '@acorex/components/tabs';
|
17
|
+
import * as i4 from '@acorex/components/button';
|
18
|
+
import { AXButtonModule } from '@acorex/components/button';
|
19
|
+
|
20
|
+
class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValueComponent)) {
|
21
|
+
constructor() {
|
22
|
+
super(...arguments);
|
23
|
+
this._calendarService = inject(AXCalendarService);
|
24
|
+
this.hours = Array(24)
|
25
|
+
.fill(0)
|
26
|
+
.map((m, i) => ({ id: i, text: i }));
|
27
|
+
this.minutes = Array(60)
|
28
|
+
.fill(0)
|
29
|
+
.map((m, i) => ({ id: i, text: i }));
|
30
|
+
this._parts = {
|
31
|
+
year: {
|
32
|
+
key: 'year',
|
33
|
+
placeholder: 'yyyy',
|
34
|
+
placeholders: ['YY', 'yy', 'YYYY', 'yyyy'],
|
35
|
+
enabled: false,
|
36
|
+
default: 2023,
|
37
|
+
realValue: () => this.editingDateObj.format(this._parts.year.placeholder),
|
38
|
+
},
|
39
|
+
month: {
|
40
|
+
key: 'month',
|
41
|
+
placeholder: 'MM',
|
42
|
+
placeholders: ['MMM', 'MMMM', 'MM', 'M'],
|
43
|
+
enabled: false,
|
44
|
+
default: 1,
|
45
|
+
realValue: () => this.editingDateObj.format(this._parts.month.placeholder),
|
46
|
+
},
|
47
|
+
day: {
|
48
|
+
key: 'day',
|
49
|
+
placeholder: 'dd',
|
50
|
+
placeholders: ['dd', 'd'],
|
51
|
+
enabled: false,
|
52
|
+
default: 1,
|
53
|
+
realValue: () => this.editingDateObj.format(this._parts.day.placeholder),
|
54
|
+
},
|
55
|
+
hour: {
|
56
|
+
key: 'hour',
|
57
|
+
placeholder: 'HH',
|
58
|
+
placeholders: ['HH', 'H', 'hh', 'h'],
|
59
|
+
enabled: false,
|
60
|
+
default: 0,
|
61
|
+
realValue: () => this.editingDateObj.format(this._parts.hour.placeholder),
|
62
|
+
},
|
63
|
+
minute: {
|
64
|
+
key: 'minute',
|
65
|
+
placeholder: 'mm',
|
66
|
+
placeholders: ['mm', 'm'],
|
67
|
+
enabled: false,
|
68
|
+
default: 0,
|
69
|
+
realValue: () => this.editingDateObj.format(this._parts.minute.placeholder),
|
70
|
+
},
|
71
|
+
second: {
|
72
|
+
key: 'second',
|
73
|
+
placeholder: 'ss',
|
74
|
+
placeholders: ['ss', 's'],
|
75
|
+
enabled: false,
|
76
|
+
default: 0,
|
77
|
+
realValue: () => this.editingDateObj.format(this._parts.second.placeholder),
|
78
|
+
},
|
79
|
+
};
|
80
|
+
this._activePart = 'date';
|
81
|
+
this._editingDateObj = this._calendarService.now(this.type);
|
82
|
+
this.formatChange = new EventEmitter();
|
83
|
+
this._format = this.calendarService.calendar.formats.dateTimeDisplay;
|
84
|
+
}
|
85
|
+
get _hasDatePart() {
|
86
|
+
return ['year', 'month', 'day'].some((k) => this._parts[k].enabled);
|
87
|
+
}
|
88
|
+
get _hasTimePart() {
|
89
|
+
return ['hour', 'minute', 'second'].some((k) => this._parts[k].enabled);
|
90
|
+
}
|
91
|
+
get editingDateObj() {
|
92
|
+
return this._editingDateObj;
|
93
|
+
}
|
94
|
+
get format() {
|
95
|
+
return this._format;
|
96
|
+
}
|
97
|
+
set format(v) {
|
98
|
+
this.setOption({
|
99
|
+
name: 'format',
|
100
|
+
value: v,
|
101
|
+
afterCallback: (o, n) => {
|
102
|
+
this._detectParts();
|
103
|
+
},
|
104
|
+
});
|
105
|
+
}
|
106
|
+
ngOnInit() {
|
107
|
+
super.ngOnInit();
|
108
|
+
this._detectParts();
|
109
|
+
}
|
110
|
+
refresh() {
|
111
|
+
this.picker?.refresh();
|
112
|
+
}
|
113
|
+
internalValueChanged(value) {
|
114
|
+
if (value) {
|
115
|
+
this._editingDateObj = this._calendarService.create(value);
|
116
|
+
}
|
117
|
+
}
|
118
|
+
_handleViewChanged(e) {
|
119
|
+
this._activePart = e.tab.key;
|
120
|
+
this.cdr.detectChanges();
|
121
|
+
}
|
122
|
+
_handleOnItemClick(part) {
|
123
|
+
this._activePart = part;
|
124
|
+
this.cdr.detectChanges();
|
125
|
+
}
|
126
|
+
_handlePickerOnValueChanged(e, part) {
|
127
|
+
if (e.isUserInteraction) {
|
128
|
+
this._editingDateObj = this._editingDateObj.set(part, Number(e.value['id']));
|
129
|
+
}
|
130
|
+
}
|
131
|
+
_handleCalendarOnNavigate(e) {
|
132
|
+
this.onNavigate.emit(e);
|
133
|
+
}
|
134
|
+
_handleCalendarOnValueChanged(e) {
|
135
|
+
if (e.isUserInteraction) {
|
136
|
+
const selectedValue = this.calendarService.create(e.value, this.type);
|
137
|
+
const currentValue = this.calendarService
|
138
|
+
.create(this.value ?? new Date(), this.type)
|
139
|
+
.set('year', selectedValue.year)
|
140
|
+
.set('month', selectedValue.monthOfYear)
|
141
|
+
.set('day', selectedValue.dayOfMonth);
|
142
|
+
this._editingDateObj = currentValue;
|
143
|
+
if (this._hasTimePart) {
|
144
|
+
this._activePart = 'time';
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
_detectParts() {
|
149
|
+
Object.values(this._parts).forEach((e) => {
|
150
|
+
e.enabled = false;
|
151
|
+
});
|
152
|
+
const formatParts = this.format.split(/[^a-zA-Z]+/);
|
153
|
+
formatParts.forEach((f) => {
|
154
|
+
const found = Object.values(this._parts).find((c) => c.placeholders.some((d) => d == f));
|
155
|
+
if (found) {
|
156
|
+
found.enabled = true;
|
157
|
+
found.placeholder = f;
|
158
|
+
}
|
159
|
+
});
|
160
|
+
this._activePart = this._hasDatePart ? 'date' : 'time';
|
161
|
+
this.cdr.markForCheck();
|
162
|
+
}
|
163
|
+
_handleSetClick(e) {
|
164
|
+
this.commitValue(this.editingDateObj.date, true);
|
165
|
+
}
|
166
|
+
_handleNowClick(e) {
|
167
|
+
this._editingDateObj = this._calendarService.now(this.type);
|
168
|
+
}
|
169
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDateTimePickerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
170
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.9", type: AXDateTimePickerComponent, selector: "ax-datetime-picker", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", placeholder: "placeholder", value: "value", state: "state", name: "name", id: "id", depth: "depth", activeView: "activeView", minValue: "minValue", maxValue: "maxValue", disabledDates: "disabledDates", holidayDates: "holidayDates", type: "type", cellTemplate: "cellTemplate", cellClass: "cellClass", showNavigation: "showNavigation", format: "format" }, outputs: { valueChange: "valueChange", stateChange: "stateChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", readonlyChange: "readonlyChange", disabledChange: "disabledChange", depthChange: "depthChange", typeChange: "typeChange", activeViewChange: "activeViewChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate", onSlotClick: "onSlotClick", formatChange: "formatChange" }, providers: [
|
171
|
+
{ provide: AXComponent, useExisting: AXDateTimePickerComponent },
|
172
|
+
{ provide: AXFocusableComponent, useExisting: AXDateTimePickerComponent },
|
173
|
+
{ provide: AXValuableComponent, useExisting: AXDateTimePickerComponent },
|
174
|
+
{
|
175
|
+
provide: NG_VALUE_ACCESSOR,
|
176
|
+
useExisting: forwardRef(() => AXDateTimePickerComponent),
|
177
|
+
multi: true,
|
178
|
+
},
|
179
|
+
], viewQueries: [{ propertyName: "picker", first: true, predicate: AXPickerComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-header\" *ngIf=\"_hasDatePart && _hasTimePart\">\n <!-- <ax-button-group\n color=\"primary\"\n [look]=\"'default'\"\n selection=\"single\"\n [color]=\"'default'\"\n class=\"ax-w-full\"\n >\n <ax-button text=\"Date\" class=\"ax-w-1/2 ax-sm\" [selected]=\"_activePart=='date'\"\n (onClick)=\"_handleOnItemClick('date')\">\n </ax-button>\n <ax-button text=\"Time\" class=\"ax-w-1/2 ax-sm\" [selected]=\"_activePart=='time'\"\n (onClick)=\"_handleOnItemClick('time')\">\n </ax-button>\n \n </ax-button-group> -->\n <ax-tabs\n [look]=\"'default'\"\n [fitParent]=\"true\"\n [location]=\"'top'\"\n (onActiveTabChanged)=\"_handleViewChanged($event)\"\n >\n <ax-tab-item text=\"Date\" [key]=\"'date'\" [disabled]=\"disabled\"></ax-tab-item>\n <ax-tab-item text=\"Time\" [key]=\"'time'\" [disabled]=\"disabled\"></ax-tab-item>\n </ax-tabs>\n</div>\n<div class=\"ax-content\">\n <div class=\"ax-calendar-part\" *ngIf=\"_activePart == 'date'\">\n <ax-calendar\n #calendar\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [ngModel]=\"editingDateObj.date\"\n [minValue]=\"minValue\"\n [maxValue]=\"maxValue\"\n [disabledDates]=\"disabledDates\"\n [holidayDates]=\"holidayDates\"\n [depth]=\"depth\"\n (onNavigate)=\"_handleCalendarOnNavigate($event)\"\n (onValueChanged)=\"_handleCalendarOnValueChanged($event)\"\n [type]=\"type\"\n >\n </ax-calendar>\n </div>\n <div class=\"ax-picker-part\" *ngIf=\"_activePart == 'time'\">\n <div class=\"ax-header\">\n {{ editingDateObj | axDate: format }}\n </div>\n <ax-picker>\n <ax-picker-column\n title=\"Hour\"\n [items]=\"hours\"\n [ngModel]=\"editingDateObj.hour\"\n (onValueChanged)=\"_handlePickerOnValueChanged($event, 'hour')\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n *ngIf=\"_parts.hour.enabled\"\n ></ax-picker-column>\n <ax-picker-column\n title=\"Minute\"\n [items]=\"minutes\"\n [ngModel]=\"editingDateObj.minute\"\n (onValueChanged)=\"_handlePickerOnValueChanged($event, 'minute')\"\n [step]=\"3\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n *ngIf=\"_parts.minute.enabled\"\n ></ax-picker-column>\n <ax-picker-column\n title=\"Second\"\n [items]=\"minutes\"\n [ngModel]=\"editingDateObj.second\"\n (onValueChanged)=\"_handlePickerOnValueChanged($event, 'second')\"\n [step]=\"3\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n *ngIf=\"_parts.second.enabled\"\n ></ax-picker-column>\n </ax-picker>\n </div>\n</div>\n<div class=\"ax-footer\" *ngIf=\"!disabled && !readonly\">\n <ax-button\n [text]=\"_activePart === 'date' ? 'Today' : 'Now'\"\n class=\"ax-sm\"\n (onClick)=\"_handleNowClick($event)\"\n ></ax-button>\n <ax-button color=\"primary\" text=\"Set\" class=\"ax-sm\" (onClick)=\"_handleSetClick($event)\"></ax-button>\n</div>\n", styles: ["ax-datetime-picker{display:flex;flex-direction:column}ax-datetime-picker>.ax-header{display:flex;flex-flow:row;justify-content:center;padding-top:.5rem;padding-inline:.5rem}ax-datetime-picker>.ax-content{overflow:hidden;min-height:300px;min-width:360px}ax-datetime-picker>.ax-content .ax-picker-part{width:100%;height:100%}ax-datetime-picker>.ax-content .ax-picker-part>.ax-header{display:flex;flex-flow:row;justify-content:flex-start;padding-block:.5rem;padding-inline:1rem;font-weight:500;font-size:.875rem}ax-datetime-picker>.ax-content .ax-picker-part ax-picker{--item-count: 5;--ul-pad: 2}ax-datetime-picker>.ax-content .ax-calendar-part ax-calendar{width:100%}ax-datetime-picker>.ax-footer{display:flex;justify-content:space-between;padding:.5rem;border-top:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-datetime-picker>.ax-footer ax-button{min-width:100px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i3.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "component", type: i4.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange"] }, { kind: "component", type: i5.AXCalendarComponent, selector: "ax-calendar", inputs: ["rtl", "readonly", "value", "name", "disabled", "depth", "activeView", "minValue", "maxValue", "disabledDates", "holidayDates", "type", "cellTemplate", "cellClass", "showNavigation", "count", "id"], outputs: ["onOptionChanged", "valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange", "typeChange", "activeViewChange", "disabledDatesChange", "holidayDatesChange", "onNavigate", "onSlotClick", "countChange"] }, { kind: "component", type: i6.AXPickerComponent, selector: "ax-picker" }, { kind: "directive", type: i6.AXPickerColumnDirective, selector: "ax-picker-column", inputs: ["disabled", "readonly", "readonlyChange", "disabledChange", "valueField", "textField", "title", "step", "items"], outputs: ["onValueChanged", "itemsChange"] }, { kind: "pipe", type: i7.AXDateTimePipe, name: "axDate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
180
|
+
}
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDateTimePickerComponent, decorators: [{
|
182
|
+
type: Component,
|
183
|
+
args: [{ selector: 'ax-datetime-picker', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [
|
184
|
+
'disabled',
|
185
|
+
'readonly',
|
186
|
+
'tabIndex',
|
187
|
+
'placeholder',
|
188
|
+
'value',
|
189
|
+
'state',
|
190
|
+
'name',
|
191
|
+
'id',
|
192
|
+
'depth',
|
193
|
+
'activeView',
|
194
|
+
'minValue',
|
195
|
+
'maxValue',
|
196
|
+
'disabledDates',
|
197
|
+
'holidayDates',
|
198
|
+
'type',
|
199
|
+
'cellTemplate',
|
200
|
+
'cellClass',
|
201
|
+
'showNavigation',
|
202
|
+
], outputs: [
|
203
|
+
'valueChange',
|
204
|
+
'stateChange',
|
205
|
+
'onValueChanged',
|
206
|
+
'onBlur',
|
207
|
+
'onFocus',
|
208
|
+
'onClick',
|
209
|
+
'readonlyChange',
|
210
|
+
'disabledChange',
|
211
|
+
'depthChange',
|
212
|
+
'typeChange',
|
213
|
+
'activeViewChange',
|
214
|
+
'disabledDatesChange',
|
215
|
+
'holidayDatesChange',
|
216
|
+
'onNavigate',
|
217
|
+
'onSlotClick',
|
218
|
+
], providers: [
|
219
|
+
{ provide: AXComponent, useExisting: AXDateTimePickerComponent },
|
220
|
+
{ provide: AXFocusableComponent, useExisting: AXDateTimePickerComponent },
|
221
|
+
{ provide: AXValuableComponent, useExisting: AXDateTimePickerComponent },
|
222
|
+
{
|
223
|
+
provide: NG_VALUE_ACCESSOR,
|
224
|
+
useExisting: forwardRef(() => AXDateTimePickerComponent),
|
225
|
+
multi: true,
|
226
|
+
},
|
227
|
+
], template: "<div class=\"ax-header\" *ngIf=\"_hasDatePart && _hasTimePart\">\n <!-- <ax-button-group\n color=\"primary\"\n [look]=\"'default'\"\n selection=\"single\"\n [color]=\"'default'\"\n class=\"ax-w-full\"\n >\n <ax-button text=\"Date\" class=\"ax-w-1/2 ax-sm\" [selected]=\"_activePart=='date'\"\n (onClick)=\"_handleOnItemClick('date')\">\n </ax-button>\n <ax-button text=\"Time\" class=\"ax-w-1/2 ax-sm\" [selected]=\"_activePart=='time'\"\n (onClick)=\"_handleOnItemClick('time')\">\n </ax-button>\n \n </ax-button-group> -->\n <ax-tabs\n [look]=\"'default'\"\n [fitParent]=\"true\"\n [location]=\"'top'\"\n (onActiveTabChanged)=\"_handleViewChanged($event)\"\n >\n <ax-tab-item text=\"Date\" [key]=\"'date'\" [disabled]=\"disabled\"></ax-tab-item>\n <ax-tab-item text=\"Time\" [key]=\"'time'\" [disabled]=\"disabled\"></ax-tab-item>\n </ax-tabs>\n</div>\n<div class=\"ax-content\">\n <div class=\"ax-calendar-part\" *ngIf=\"_activePart == 'date'\">\n <ax-calendar\n #calendar\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [ngModel]=\"editingDateObj.date\"\n [minValue]=\"minValue\"\n [maxValue]=\"maxValue\"\n [disabledDates]=\"disabledDates\"\n [holidayDates]=\"holidayDates\"\n [depth]=\"depth\"\n (onNavigate)=\"_handleCalendarOnNavigate($event)\"\n (onValueChanged)=\"_handleCalendarOnValueChanged($event)\"\n [type]=\"type\"\n >\n </ax-calendar>\n </div>\n <div class=\"ax-picker-part\" *ngIf=\"_activePart == 'time'\">\n <div class=\"ax-header\">\n {{ editingDateObj | axDate: format }}\n </div>\n <ax-picker>\n <ax-picker-column\n title=\"Hour\"\n [items]=\"hours\"\n [ngModel]=\"editingDateObj.hour\"\n (onValueChanged)=\"_handlePickerOnValueChanged($event, 'hour')\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n *ngIf=\"_parts.hour.enabled\"\n ></ax-picker-column>\n <ax-picker-column\n title=\"Minute\"\n [items]=\"minutes\"\n [ngModel]=\"editingDateObj.minute\"\n (onValueChanged)=\"_handlePickerOnValueChanged($event, 'minute')\"\n [step]=\"3\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n *ngIf=\"_parts.minute.enabled\"\n ></ax-picker-column>\n <ax-picker-column\n title=\"Second\"\n [items]=\"minutes\"\n [ngModel]=\"editingDateObj.second\"\n (onValueChanged)=\"_handlePickerOnValueChanged($event, 'second')\"\n [step]=\"3\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n *ngIf=\"_parts.second.enabled\"\n ></ax-picker-column>\n </ax-picker>\n </div>\n</div>\n<div class=\"ax-footer\" *ngIf=\"!disabled && !readonly\">\n <ax-button\n [text]=\"_activePart === 'date' ? 'Today' : 'Now'\"\n class=\"ax-sm\"\n (onClick)=\"_handleNowClick($event)\"\n ></ax-button>\n <ax-button color=\"primary\" text=\"Set\" class=\"ax-sm\" (onClick)=\"_handleSetClick($event)\"></ax-button>\n</div>\n", styles: ["ax-datetime-picker{display:flex;flex-direction:column}ax-datetime-picker>.ax-header{display:flex;flex-flow:row;justify-content:center;padding-top:.5rem;padding-inline:.5rem}ax-datetime-picker>.ax-content{overflow:hidden;min-height:300px;min-width:360px}ax-datetime-picker>.ax-content .ax-picker-part{width:100%;height:100%}ax-datetime-picker>.ax-content .ax-picker-part>.ax-header{display:flex;flex-flow:row;justify-content:flex-start;padding-block:.5rem;padding-inline:1rem;font-weight:500;font-size:.875rem}ax-datetime-picker>.ax-content .ax-picker-part ax-picker{--item-count: 5;--ul-pad: 2}ax-datetime-picker>.ax-content .ax-calendar-part ax-calendar{width:100%}ax-datetime-picker>.ax-footer{display:flex;justify-content:space-between;padding:.5rem;border-top:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-datetime-picker>.ax-footer ax-button{min-width:100px}\n"] }]
|
228
|
+
}], propDecorators: { picker: [{
|
229
|
+
type: ViewChild,
|
230
|
+
args: [AXPickerComponent]
|
231
|
+
}], formatChange: [{
|
232
|
+
type: Output
|
233
|
+
}], format: [{
|
234
|
+
type: Input
|
235
|
+
}] } });
|
236
|
+
|
237
|
+
const COMPONENT = [AXDateTimePickerComponent];
|
238
|
+
const MODULES = [
|
239
|
+
CommonModule,
|
240
|
+
FormsModule,
|
241
|
+
AXTabsModule,
|
242
|
+
AXDateTimeModule,
|
243
|
+
AXButtonModule,
|
244
|
+
AXCalendarModule,
|
245
|
+
AXPickerModule,
|
246
|
+
];
|
247
|
+
class AXDateTimePickerModule {
|
248
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDateTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
249
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.9", ngImport: i0, type: AXDateTimePickerModule, declarations: [AXDateTimePickerComponent], imports: [CommonModule,
|
250
|
+
FormsModule,
|
251
|
+
AXTabsModule,
|
252
|
+
AXDateTimeModule,
|
253
|
+
AXButtonModule,
|
254
|
+
AXCalendarModule,
|
255
|
+
AXPickerModule], exports: [AXDateTimePickerComponent] }); }
|
256
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDateTimePickerModule, imports: [MODULES] }); }
|
257
|
+
}
|
258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDateTimePickerModule, decorators: [{
|
259
|
+
type: NgModule,
|
260
|
+
args: [{
|
261
|
+
declarations: [...COMPONENT],
|
262
|
+
imports: [...MODULES],
|
263
|
+
exports: [...COMPONENT],
|
264
|
+
providers: [],
|
265
|
+
}]
|
266
|
+
}] });
|
267
|
+
|
268
|
+
/**
|
269
|
+
* Generated bundle index. Do not edit.
|
270
|
+
*/
|
271
|
+
|
272
|
+
export { AXDateTimePickerComponent, AXDateTimePickerModule };
|
273
|
+
//# sourceMappingURL=acorex-components-datetime-picker.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-components-datetime-picker.mjs","sources":["../../../../libs/components/datetime-picker/src/lib/datetime-picker.component.ts","../../../../libs/components/datetime-picker/src/lib/datetime-picker.component.html","../../../../libs/components/datetime-picker/src/lib/datetime-picker.module.ts","../../../../libs/components/datetime-picker/src/acorex-components-datetime-picker.ts"],"sourcesContent":["import { AXCalendarNavigateEvent, MXCalendarBaseComponent } from '@acorex/components/calendar';\nimport {\n AXClickEvent,\n AXComponent,\n AXFocusableComponent,\n AXValuableComponent,\n AXValueChangedEvent,\n MXValueComponent,\n} from '@acorex/components/common';\nimport { AXPickerComponent } from '@acorex/components/picker';\nimport { AXTabStripChangedEvent } from '@acorex/components/tabs';\nimport { AXCalendarService, AXDateTime, AXDateTimeParts, TimeUnit } from '@acorex/core/dateTime';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnInit,\n Output,\n ViewChild,\n ViewEncapsulation,\n forwardRef,\n inject,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { classes } from 'polytype';\n\n@Component({\n selector: 'ax-datetime-picker',\n templateUrl: './datetime-picker.component.html',\n styleUrls: ['./datetime-picker.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n inputs: [\n 'disabled',\n 'readonly',\n 'tabIndex',\n 'placeholder',\n 'value',\n 'state',\n 'name',\n 'id',\n 'depth',\n 'activeView',\n 'minValue',\n 'maxValue',\n 'disabledDates',\n 'holidayDates',\n 'type',\n 'cellTemplate',\n 'cellClass',\n 'showNavigation',\n ],\n outputs: [\n 'valueChange',\n 'stateChange',\n 'onValueChanged',\n 'onBlur',\n 'onFocus',\n 'onClick',\n 'readonlyChange',\n 'disabledChange',\n 'depthChange',\n 'typeChange',\n 'activeViewChange',\n 'disabledDatesChange',\n 'holidayDatesChange',\n 'onNavigate',\n 'onSlotClick',\n ],\n providers: [\n { provide: AXComponent, useExisting: AXDateTimePickerComponent },\n { provide: AXFocusableComponent, useExisting: AXDateTimePickerComponent },\n { provide: AXValuableComponent, useExisting: AXDateTimePickerComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXDateTimePickerComponent),\n multi: true,\n },\n ],\n})\nexport class AXDateTimePickerComponent\n extends classes(MXCalendarBaseComponent, MXValueComponent<Date>)\n implements OnInit\n{\n private _calendarService: AXCalendarService = inject(AXCalendarService);\n\n @ViewChild(AXPickerComponent)\n protected picker: AXPickerComponent;\n\n protected hours: any[] = Array(24)\n .fill(0)\n .map((m, i) => ({ id: i, text: i }));\n minutes: any[] = Array(60)\n .fill(0)\n .map((m, i) => ({ id: i, text: i }));\n\n protected _parts: AXDateTimeParts = {\n year: {\n key: 'year',\n placeholder: 'yyyy',\n placeholders: ['YY', 'yy', 'YYYY', 'yyyy'],\n enabled: false,\n default: 2023,\n realValue: () => this.editingDateObj.format(this._parts.year.placeholder),\n },\n month: {\n key: 'month',\n placeholder: 'MM',\n placeholders: ['MMM', 'MMMM', 'MM', 'M'],\n enabled: false,\n default: 1,\n realValue: () => this.editingDateObj.format(this._parts.month.placeholder),\n },\n day: {\n key: 'day',\n placeholder: 'dd',\n placeholders: ['dd', 'd'],\n enabled: false,\n default: 1,\n realValue: () => this.editingDateObj.format(this._parts.day.placeholder),\n },\n hour: {\n key: 'hour',\n placeholder: 'HH',\n placeholders: ['HH', 'H', 'hh', 'h'],\n enabled: false,\n default: 0,\n realValue: () => this.editingDateObj.format(this._parts.hour.placeholder),\n },\n minute: {\n key: 'minute',\n placeholder: 'mm',\n placeholders: ['mm', 'm'],\n enabled: false,\n default: 0,\n realValue: () => this.editingDateObj.format(this._parts.minute.placeholder),\n },\n second: {\n key: 'second',\n placeholder: 'ss',\n placeholders: ['ss', 's'],\n enabled: false,\n default: 0,\n realValue: () => this.editingDateObj.format(this._parts.second.placeholder),\n },\n };\n\n protected _activePart: 'date' | 'time' = 'date';\n\n protected get _hasDatePart(): boolean {\n return ['year', 'month', 'day'].some((k) => this._parts[k].enabled);\n }\n\n protected get _hasTimePart(): boolean {\n return ['hour', 'minute', 'second'].some((k) => this._parts[k].enabled);\n }\n\n private _editingDateObj: AXDateTime = this._calendarService.now(this.type);\n protected get editingDateObj(): AXDateTime {\n return this._editingDateObj;\n }\n\n @Output()\n formatChange = new EventEmitter<string>();\n\n private _format = this.calendarService.calendar.formats.dateTimeDisplay;\n @Input()\n public get format(): string {\n return this._format;\n }\n public set format(v: string) {\n this.setOption({\n name: 'format',\n value: v,\n afterCallback: (o, n) => {\n this._detectParts();\n },\n });\n }\n\n ngOnInit(): void {\n super.ngOnInit();\n this._detectParts();\n }\n\n public refresh() {\n this.picker?.refresh();\n }\n\n override internalValueChanged(value?: Date): void {\n if (value) {\n this._editingDateObj = this._calendarService.create(value);\n }\n }\n\n protected _handleViewChanged(e: AXTabStripChangedEvent) {\n this._activePart = e.tab.key as 'date' | 'time';\n this.cdr.detectChanges();\n }\n\n protected _handleOnItemClick(part) {\n this._activePart = part;\n this.cdr.detectChanges();\n }\n\n protected _handlePickerOnValueChanged(e: AXValueChangedEvent<Date>, part: string) {\n if (e.isUserInteraction) {\n this._editingDateObj = this._editingDateObj.set(part as TimeUnit, Number(e.value['id']));\n }\n }\n\n protected _handleCalendarOnNavigate(e: AXCalendarNavigateEvent) {\n this.onNavigate.emit(e);\n }\n\n protected _handleCalendarOnValueChanged(e: AXValueChangedEvent<Date>) {\n if (e.isUserInteraction) {\n const selectedValue = this.calendarService.create(e.value, this.type);\n const currentValue = this.calendarService\n .create(this.value ?? new Date(), this.type)\n .set('year', selectedValue.year)\n .set('month', selectedValue.monthOfYear)\n .set('day', selectedValue.dayOfMonth);\n this._editingDateObj = currentValue;\n if (this._hasTimePart) {\n this._activePart = 'time';\n }\n }\n }\n\n private _detectParts() {\n Object.values(this._parts).forEach((e) => {\n e.enabled = false;\n });\n const formatParts = this.format.split(/[^a-zA-Z]+/);\n formatParts.forEach((f) => {\n const found = Object.values(this._parts).find((c) => c.placeholders.some((d) => d == f));\n if (found) {\n found.enabled = true;\n found.placeholder = f;\n }\n });\n this._activePart = this._hasDatePart ? 'date' : 'time';\n this.cdr.markForCheck();\n }\n\n protected _handleSetClick(e: AXClickEvent) {\n this.commitValue(this.editingDateObj.date, true);\n }\n\n protected _handleNowClick(e: AXClickEvent) {\n this._editingDateObj = this._calendarService.now(this.type);\n }\n}\n","<div class=\"ax-header\" *ngIf=\"_hasDatePart && _hasTimePart\">\n <!-- <ax-button-group\n color=\"primary\"\n [look]=\"'default'\"\n selection=\"single\"\n [color]=\"'default'\"\n class=\"ax-w-full\"\n >\n <ax-button text=\"Date\" class=\"ax-w-1/2 ax-sm\" [selected]=\"_activePart=='date'\"\n (onClick)=\"_handleOnItemClick('date')\">\n </ax-button>\n <ax-button text=\"Time\" class=\"ax-w-1/2 ax-sm\" [selected]=\"_activePart=='time'\"\n (onClick)=\"_handleOnItemClick('time')\">\n </ax-button>\n \n </ax-button-group> -->\n <ax-tabs\n [look]=\"'default'\"\n [fitParent]=\"true\"\n [location]=\"'top'\"\n (onActiveTabChanged)=\"_handleViewChanged($event)\"\n >\n <ax-tab-item text=\"Date\" [key]=\"'date'\" [disabled]=\"disabled\"></ax-tab-item>\n <ax-tab-item text=\"Time\" [key]=\"'time'\" [disabled]=\"disabled\"></ax-tab-item>\n </ax-tabs>\n</div>\n<div class=\"ax-content\">\n <div class=\"ax-calendar-part\" *ngIf=\"_activePart == 'date'\">\n <ax-calendar\n #calendar\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [ngModel]=\"editingDateObj.date\"\n [minValue]=\"minValue\"\n [maxValue]=\"maxValue\"\n [disabledDates]=\"disabledDates\"\n [holidayDates]=\"holidayDates\"\n [depth]=\"depth\"\n (onNavigate)=\"_handleCalendarOnNavigate($event)\"\n (onValueChanged)=\"_handleCalendarOnValueChanged($event)\"\n [type]=\"type\"\n >\n </ax-calendar>\n </div>\n <div class=\"ax-picker-part\" *ngIf=\"_activePart == 'time'\">\n <div class=\"ax-header\">\n {{ editingDateObj | axDate: format }}\n </div>\n <ax-picker>\n <ax-picker-column\n title=\"Hour\"\n [items]=\"hours\"\n [ngModel]=\"editingDateObj.hour\"\n (onValueChanged)=\"_handlePickerOnValueChanged($event, 'hour')\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n *ngIf=\"_parts.hour.enabled\"\n ></ax-picker-column>\n <ax-picker-column\n title=\"Minute\"\n [items]=\"minutes\"\n [ngModel]=\"editingDateObj.minute\"\n (onValueChanged)=\"_handlePickerOnValueChanged($event, 'minute')\"\n [step]=\"3\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n *ngIf=\"_parts.minute.enabled\"\n ></ax-picker-column>\n <ax-picker-column\n title=\"Second\"\n [items]=\"minutes\"\n [ngModel]=\"editingDateObj.second\"\n (onValueChanged)=\"_handlePickerOnValueChanged($event, 'second')\"\n [step]=\"3\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n *ngIf=\"_parts.second.enabled\"\n ></ax-picker-column>\n </ax-picker>\n </div>\n</div>\n<div class=\"ax-footer\" *ngIf=\"!disabled && !readonly\">\n <ax-button\n [text]=\"_activePart === 'date' ? 'Today' : 'Now'\"\n class=\"ax-sm\"\n (onClick)=\"_handleNowClick($event)\"\n ></ax-button>\n <ax-button color=\"primary\" text=\"Set\" class=\"ax-sm\" (onClick)=\"_handleSetClick($event)\"></ax-button>\n</div>\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXCalendarModule } from '@acorex/components/calendar';\nimport { AXPickerModule } from '@acorex/components/picker';\nimport { AXTabsModule } from '@acorex/components/tabs';\nimport { AXDateTimeModule } from '@acorex/core/dateTime';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXDateTimePickerComponent } from './datetime-picker.component';\n\nconst COMPONENT = [AXDateTimePickerComponent];\nconst MODULES = [\n CommonModule,\n FormsModule,\n AXTabsModule,\n AXDateTimeModule,\n AXButtonModule,\n AXCalendarModule,\n AXPickerModule,\n];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDateTimePickerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAiFM,MAAO,yBACX,SAAQ,OAAO,CAAC,uBAAuB,GAAE,gBAAsB,EAAC,CAAA;AAvDlE,IAAA,WAAA,GAAA;;AA0DU,QAAA,IAAA,CAAA,gBAAgB,GAAsB,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAK9D,QAAA,IAAA,CAAA,KAAK,GAAU,KAAK,CAAC,EAAE,CAAC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AAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAJpB,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIT,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,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;;;AC1BD;;AAEG;;;;"}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import * as i2 from '@acorex/components/common';
|
2
|
-
import { MXBaseComponent,
|
2
|
+
import { MXBaseComponent, AXClearableComponent, AXClosbaleComponent } from '@acorex/components/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input,
|
4
|
+
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input, HostBinding, HostListener, NgModule } from '@angular/core';
|
5
5
|
import * as i1 from '@angular/common';
|
6
6
|
import { CommonModule } from '@angular/common';
|
7
7
|
|
8
|
-
class
|
8
|
+
class AXDecoratorClearButtonComponent extends MXBaseComponent {
|
9
9
|
constructor(_parent) {
|
10
10
|
super();
|
11
11
|
this._parent = _parent;
|
12
|
-
this._icon = 'ax-icon ax-icon-
|
12
|
+
this._icon = 'ax-icon ax-icon-cancel-fill';
|
13
13
|
}
|
14
14
|
get icon() {
|
15
15
|
return this._icon || 'ax-icon-close';
|
@@ -17,37 +17,52 @@ class AXDecoratorCloseButtonComponent extends MXBaseComponent {
|
|
17
17
|
set icon(v) {
|
18
18
|
this._icon = v;
|
19
19
|
}
|
20
|
+
get hostClass() {
|
21
|
+
const hidden = this._parent.disabled ||
|
22
|
+
this._parent.readonly ||
|
23
|
+
this._parent.value == null ||
|
24
|
+
this._parent.value == '';
|
25
|
+
return `ax-icon ax-general-button ax-button-icon ${hidden ? 'ax-hidden' : ''}`;
|
26
|
+
}
|
20
27
|
_handleOnClick() {
|
21
|
-
this._parent
|
28
|
+
if (!this._parent.disabled && !this._parent.readonly)
|
29
|
+
this._parent?.clear(true);
|
22
30
|
}
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorClearButtonComponent, deps: [{ token: AXClearableComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.9", type: AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: { icon: "icon" }, host: { listeners: { "click": "_handleOnClick($event)" }, properties: { "class": "this.hostClass" } }, usesInheritance: true, ngImport: i0, template: `<button type="button" tabIndex="-1" role="button" aria-label="Clear" title="Clear">
|
33
|
+
<i [ngClass]="icon"></i>
|
34
|
+
</button>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
25
35
|
}
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorClearButtonComponent, decorators: [{
|
27
37
|
type: Component,
|
28
38
|
args: [{
|
29
|
-
selector: 'ax-
|
30
|
-
template: `<button type="button" role="button" aria-label="
|
39
|
+
selector: 'ax-clear-button',
|
40
|
+
template: `<button type="button" tabIndex="-1" role="button" aria-label="Clear" title="Clear">
|
41
|
+
<i [ngClass]="icon"></i>
|
42
|
+
</button>`,
|
31
43
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
32
|
-
encapsulation: ViewEncapsulation.None
|
44
|
+
encapsulation: ViewEncapsulation.None,
|
33
45
|
}]
|
34
|
-
}], ctorParameters: function () { return [{ type: i2.
|
46
|
+
}], ctorParameters: function () { return [{ type: i2.AXClearableComponent, decorators: [{
|
35
47
|
type: Optional
|
36
48
|
}, {
|
37
49
|
type: Inject,
|
38
|
-
args: [
|
50
|
+
args: [AXClearableComponent]
|
39
51
|
}] }]; }, propDecorators: { icon: [{
|
40
52
|
type: Input
|
53
|
+
}], hostClass: [{
|
54
|
+
type: HostBinding,
|
55
|
+
args: ['class']
|
41
56
|
}], _handleOnClick: [{
|
42
57
|
type: HostListener,
|
43
58
|
args: ['click', ['$event']]
|
44
59
|
}] } });
|
45
60
|
|
46
|
-
class
|
61
|
+
class AXDecoratorCloseButtonComponent extends MXBaseComponent {
|
47
62
|
constructor(_parent) {
|
48
63
|
super();
|
49
64
|
this._parent = _parent;
|
50
|
-
this._icon = 'ax-icon ax-icon-
|
65
|
+
this._icon = 'ax-icon ax-icon-close';
|
51
66
|
}
|
52
67
|
get icon() {
|
53
68
|
return this._icon || 'ax-icon-close';
|
@@ -55,52 +70,37 @@ class AXDecoratorClearButtonComponent extends MXBaseComponent {
|
|
55
70
|
set icon(v) {
|
56
71
|
this._icon = v;
|
57
72
|
}
|
58
|
-
get hostClass() {
|
59
|
-
const hidden = this._parent.disabled ||
|
60
|
-
this._parent.readonly ||
|
61
|
-
this._parent.value == null ||
|
62
|
-
this._parent.value == '';
|
63
|
-
return `ax-icon ax-general-button ax-button-icon ${hidden ? 'ax-hidden' : ''}`;
|
64
|
-
}
|
65
73
|
_handleOnClick() {
|
66
|
-
|
67
|
-
this._parent?.clear(true);
|
74
|
+
this._parent?.close();
|
68
75
|
}
|
69
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
70
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
71
|
-
<i [ngClass]="icon"></i>
|
72
|
-
</button>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorCloseButtonComponent, deps: [{ token: AXClosbaleComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
77
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.9", type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: { icon: "icon" }, host: { listeners: { "click": "_handleOnClick($event)" } }, usesInheritance: true, ngImport: i0, template: `<button type="button" role="button" aria-label="Close" title="Close"><i [ngClass]="icon"></i></button>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
73
78
|
}
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorCloseButtonComponent, decorators: [{
|
75
80
|
type: Component,
|
76
81
|
args: [{
|
77
|
-
selector: 'ax-
|
78
|
-
template: `<button type="button" role="button" aria-label="
|
79
|
-
<i [ngClass]="icon"></i>
|
80
|
-
</button>`,
|
82
|
+
selector: 'ax-close-button',
|
83
|
+
template: `<button type="button" role="button" aria-label="Close" title="Close"><i [ngClass]="icon"></i></button>`,
|
81
84
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
82
|
-
encapsulation: ViewEncapsulation.None
|
85
|
+
encapsulation: ViewEncapsulation.None
|
83
86
|
}]
|
84
|
-
}], ctorParameters: function () { return [{ type: i2.
|
87
|
+
}], ctorParameters: function () { return [{ type: i2.AXClosbaleComponent, decorators: [{
|
85
88
|
type: Optional
|
86
89
|
}, {
|
87
90
|
type: Inject,
|
88
|
-
args: [
|
91
|
+
args: [AXClosbaleComponent]
|
89
92
|
}] }]; }, propDecorators: { icon: [{
|
90
93
|
type: Input
|
91
|
-
}], hostClass: [{
|
92
|
-
type: HostBinding,
|
93
|
-
args: ['class']
|
94
94
|
}], _handleOnClick: [{
|
95
95
|
type: HostListener,
|
96
96
|
args: ['click', ['$event']]
|
97
97
|
}] } });
|
98
98
|
|
99
99
|
class AXDecoratorGenericComponent extends MXBaseComponent {
|
100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
101
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorGenericComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
101
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.9", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title , ax-sub-title", usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
102
102
|
}
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorGenericComponent, decorators: [{
|
104
104
|
type: Component,
|
105
105
|
args: [{
|
106
106
|
selector: 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title , ax-sub-title',
|
@@ -114,10 +114,10 @@ class AXDecoratorIconComponent extends MXBaseComponent {
|
|
114
114
|
get __iconClass() {
|
115
115
|
return `${this.icon}`;
|
116
116
|
}
|
117
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
118
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
117
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorIconComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
118
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.9", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, providers: [{ provide: 'ax-icon', useValue: AXDecoratorIconComponent }], usesInheritance: true, ngImport: i0, template: '<ng-content select="i,span,svg,img"></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
119
119
|
}
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorIconComponent, decorators: [{
|
121
121
|
type: Component,
|
122
122
|
args: [{
|
123
123
|
selector: 'ax-icon',
|
@@ -137,21 +137,21 @@ const COMPONENT = [
|
|
137
137
|
AXDecoratorIconComponent,
|
138
138
|
AXDecoratorClearButtonComponent,
|
139
139
|
AXDecoratorCloseButtonComponent,
|
140
|
-
AXDecoratorGenericComponent
|
140
|
+
AXDecoratorGenericComponent,
|
141
141
|
];
|
142
142
|
const MODULES = [CommonModule];
|
143
143
|
class AXDecoratorModule {
|
144
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
145
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.
|
144
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
145
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorModule, declarations: [AXDecoratorIconComponent,
|
146
146
|
AXDecoratorClearButtonComponent,
|
147
147
|
AXDecoratorCloseButtonComponent,
|
148
148
|
AXDecoratorGenericComponent], imports: [CommonModule], exports: [AXDecoratorIconComponent,
|
149
149
|
AXDecoratorClearButtonComponent,
|
150
150
|
AXDecoratorCloseButtonComponent,
|
151
151
|
AXDecoratorGenericComponent] }); }
|
152
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.
|
152
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorModule, imports: [MODULES] }); }
|
153
153
|
}
|
154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDecoratorModule, decorators: [{
|
155
155
|
type: NgModule,
|
156
156
|
args: [{
|
157
157
|
declarations: [...COMPONENT],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-decorators.mjs","sources":["../../../../libs/components/decorators/src/lib/close-button.component.ts","../../../../libs/components/decorators/src/lib/clear-button.component.ts","../../../../libs/components/decorators/src/lib/generic-content.component.ts","../../../../libs/components/decorators/src/lib/icon.component.ts","../../../../libs/components/decorators/src/lib/decorators.module.ts","../../../../libs/components/decorators/src/acorex-components-decorators.ts"],"sourcesContent":["import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostListener,\n Inject,\n Input,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ax-close-button',\n template: `<button type=\"button\" role=\"button\" aria-label=\"Close\" title=\"Close\"><i [ngClass]=\"icon\"></i></button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class AXDecoratorCloseButtonComponent extends MXBaseComponent {\n\n constructor(\n\n @Optional()\n @Inject(AXClosbaleComponent)\n private _parent?: AXClosbaleComponent\n ) {\n super();\n }\n\n private _icon = 'ax-icon ax-icon-close';\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n public set icon(v: string) {\n this._icon = v;\n }\n\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n this._parent?.close();\n }\n}\n","import { AXClearableComponent, MXBaseComponent } from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ax-clear-button',\n template: `<button type=\"button\" role=\"button\" aria-label=\"Clear\" title=\"Clear\">\n <i [ngClass]=\"icon\"></i>\n </button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorClearButtonComponent extends MXBaseComponent {\n constructor(\n @Optional()\n @Inject(AXClearableComponent)\n private _parent?: AXClearableComponent,\n ) {\n super();\n }\n\n private _icon = 'ax-icon ax-icon-cancel-fill';\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n public set icon(v: string) {\n this._icon = v;\n }\n\n @HostBinding('class')\n private get hostClass(): string {\n const hidden =\n this._parent.disabled ||\n this._parent.readonly ||\n this._parent.value == null ||\n this._parent.value == '';\n return `ax-icon ax-general-button ax-button-icon ${hidden ? 'ax-hidden' : ''}`;\n }\n\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n if (!this._parent.disabled && !this._parent.readonly) this._parent?.clear(true);\n }\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title , ax-sub-title',\n template: `<ng-content></ng-content>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorGenericComponent extends MXBaseComponent {\n\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n Input,\n HostBinding,\n} from '@angular/core';\n\n@Component({\n selector: 'ax-icon',\n template: '<ng-content select=\"i,span,svg,img\"></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: 'ax-icon', useValue: AXDecoratorIconComponent }],\n})\nexport class AXDecoratorIconComponent extends MXBaseComponent {\n\n @Input()\n icon: string;\n\n @HostBinding('class')\n private get __iconClass(): string {\n return `${this.icon}`;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDecoratorCloseButtonComponent } from './close-button.component';\nimport { AXDecoratorIconComponent } from './icon.component';\nimport { AXDecoratorGenericComponent } from './generic-content.component';\nimport { AXDecoratorClearButtonComponent } from './clear-button.component';\n\nconst COMPONENT = [\n AXDecoratorIconComponent,\n AXDecoratorClearButtonComponent,\n AXDecoratorCloseButtonComponent,\n AXDecoratorGenericComponent\n];\nconst MODULES = [CommonModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\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-decorators.mjs","sources":["../../../../libs/components/decorators/src/lib/components/clear-button.component.ts","../../../../libs/components/decorators/src/lib/components/close-button.component.ts","../../../../libs/components/decorators/src/lib/components/generic-content.component.ts","../../../../libs/components/decorators/src/lib/components/icon.component.ts","../../../../libs/components/decorators/src/lib/decorators.module.ts","../../../../libs/components/decorators/src/acorex-components-decorators.ts"],"sourcesContent":["import { AXClearableComponent, MXBaseComponent } from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ax-clear-button',\n template: `<button type=\"button\" tabIndex=\"-1\" role=\"button\" aria-label=\"Clear\" title=\"Clear\">\n <i [ngClass]=\"icon\"></i>\n </button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorClearButtonComponent extends MXBaseComponent {\n constructor(\n @Optional()\n @Inject(AXClearableComponent)\n private _parent?: AXClearableComponent,\n ) {\n super();\n }\n\n private _icon = 'ax-icon ax-icon-cancel-fill';\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n public set icon(v: string) {\n this._icon = v;\n }\n\n @HostBinding('class')\n private get hostClass(): string {\n const hidden =\n this._parent.disabled ||\n this._parent.readonly ||\n this._parent.value == null ||\n this._parent.value == '';\n return `ax-icon ax-general-button ax-button-icon ${hidden ? 'ax-hidden' : ''}`;\n }\n\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n if (!this._parent.disabled && !this._parent.readonly) this._parent?.clear(true);\n }\n}\n","import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostListener,\n Inject,\n Input,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ax-close-button',\n template: `<button type=\"button\" role=\"button\" aria-label=\"Close\" title=\"Close\"><i [ngClass]=\"icon\"></i></button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class AXDecoratorCloseButtonComponent extends MXBaseComponent {\n\n constructor(\n\n @Optional()\n @Inject(AXClosbaleComponent)\n private _parent?: AXClosbaleComponent\n ) {\n super();\n }\n\n private _icon = 'ax-icon ax-icon-close';\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n public set icon(v: string) {\n this._icon = v;\n }\n\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n this._parent?.close();\n }\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title , ax-sub-title',\n template: `<ng-content></ng-content>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorGenericComponent extends MXBaseComponent {\n\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n Input,\n HostBinding,\n} from '@angular/core';\n\n@Component({\n selector: 'ax-icon',\n template: '<ng-content select=\"i,span,svg,img\"></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: 'ax-icon', useValue: AXDecoratorIconComponent }],\n})\nexport class AXDecoratorIconComponent extends MXBaseComponent {\n\n @Input()\n icon: string;\n\n @HostBinding('class')\n private get __iconClass(): string {\n return `${this.icon}`;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDecoratorClearButtonComponent } from './components/clear-button.component';\nimport { AXDecoratorCloseButtonComponent } from './components/close-button.component';\nimport { AXDecoratorGenericComponent } from './components/generic-content.component';\nimport { AXDecoratorIconComponent } from './components/icon.component';\n\nconst COMPONENT = [\n AXDecoratorIconComponent,\n AXDecoratorClearButtonComponent,\n AXDecoratorCloseButtonComponent,\n AXDecoratorGenericComponent,\n];\nconst MODULES = [CommonModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDecoratorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAoBM,MAAO,+BAAgC,SAAQ,eAAe,CAAA;AAClE,IAAA,WAAA,CAGU,OAA8B,EAAA;AAEtC,QAAA,KAAK,EAAE,CAAC;QAFA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAuB;QAKhC,IAAK,CAAA,KAAA,GAAG,6BAA6B,CAAC;KAF7C;AAGD,IAAA,IACW,IAAI,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,KAAK,IAAI,eAAe,CAAC;KACtC;IACD,IAAW,IAAI,CAAC,CAAS,EAAA;AACvB,QAAA,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;KAChB;AAED,IAAA,IACY,SAAS,GAAA;AACnB,QAAA,MAAM,MAAM,GACV,IAAI,CAAC,OAAO,CAAC,QAAQ;YACrB,IAAI,CAAC,OAAO,CAAC,QAAQ;AACrB,YAAA,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,IAAI;AAC1B,YAAA,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;QAC3B,OAAO,CAAA,yCAAA,EAA4C,MAAM,GAAG,WAAW,GAAG,EAAE,CAAA,CAAE,CAAC;KAChF;IAGS,cAAc,GAAA;AACtB,QAAA,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ;AAAE,YAAA,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;KACjF;AA/BU,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UA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