@acorex/components 18.5.16 → 18.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/action-sheet/lib/action-sheet.component.d.ts +26 -0
- package/alert/lib/alert.component.d.ts +50 -2
- package/audio-wave/lib/audio-wave.component.d.ts +53 -0
- package/avatar/lib/avatar.component.d.ts +20 -1
- package/badge/lib/badge.component.d.ts +8 -0
- package/bottom-navigation/lib/bottom-navigation.component.d.ts +16 -0
- package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +11 -0
- package/breadcrumbs/lib/breadcrumbs.component.d.ts +11 -0
- package/button/lib/button-item-list.component.d.ts +34 -0
- package/button/lib/button-item.component.d.ts +47 -0
- package/button/lib/button.component.d.ts +36 -0
- package/button-group/lib/button-group.component.d.ts +56 -0
- package/calendar/lib/calendar-range.component.d.ts +48 -0
- package/calendar/lib/calendar.component.d.ts +114 -0
- package/check-box/lib/check-box.component.d.ts +36 -0
- package/chips/lib/chips.component.d.ts +13 -0
- package/circular-progress/lib/circular-progress.component.d.ts +51 -21
- package/collapse/lib/collapse-group.component.d.ts +38 -0
- package/collapse/lib/collapse.component.d.ts +55 -0
- package/color-box/lib/color-box.component.d.ts +28 -1
- package/color-palette/lib/color-palette-input.component.d.ts +35 -0
- package/color-palette/lib/color-palette-picker.component.d.ts +53 -0
- package/color-palette/lib/color-palette-preview.component.d.ts +17 -0
- package/color-palette/lib/color-palette-swatches.component.d.ts +30 -0
- package/color-palette/lib/color-palette.component.d.ts +8 -0
- package/comment/lib/comment-container/comment-container.component.d.ts +5 -0
- package/comment/lib/comment-item/comment-item.component.d.ts +16 -2
- package/comment/lib/comment-like/comment-like.component.d.ts +8 -0
- package/comment/lib/comment-reply/comment-reply.component.d.ts +4 -0
- package/comment/lib/comment-view/comment-view.component.d.ts +4 -0
- package/common/lib/components/base-component.class.d.ts +8 -0
- package/common/lib/components/button-base-component.class.d.ts +21 -0
- package/common/lib/components/interactive-component.class.d.ts +15 -0
- package/conversation/lib/conversation-container/conversation-container.component.d.ts +4 -0
- package/conversation/lib/conversation-input/conversation-input.component.d.ts +79 -2
- package/conversation/lib/conversation-message/conversation-message.component.d.ts +41 -0
- package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +62 -0
- package/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.d.ts +34 -0
- package/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.d.ts +21 -0
- package/conversation/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.d.ts +11 -0
- package/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.d.ts +29 -0
- package/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.d.ts +11 -0
- package/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.d.ts +72 -0
- package/conversation/lib/conversation-view/conversation-view.component.d.ts +22 -0
- package/data-pager/lib/data-pager-base.component.d.ts +9 -0
- package/data-pager/lib/data-pager-info.component.d.ts +14 -0
- package/data-pager/lib/data-pager-input-selector.component.d.ts +17 -0
- package/data-pager/lib/data-pager-next-buttons.components.d.ts +20 -0
- package/data-pager/lib/data-pager-numeric-selector.component.d.ts +14 -0
- package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +28 -0
- package/data-pager/lib/data-pager-prev-buttons.component.d.ts +20 -0
- package/data-pager/lib/data-pager.component.d.ts +111 -0
- package/data-table/lib/columns/data-text-column.component.d.ts +58 -0
- package/data-table/lib/columns/row-command-column.component.d.ts +83 -0
- package/data-table/lib/columns/row-index-column.component.d.ts +51 -0
- package/data-table/lib/columns/row-select-column.component.d.ts +47 -0
- package/data-table/lib/data-table/data-table.component.d.ts +200 -0
- package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +185 -0
- package/datetime-box/lib/datetime-box.component.d.ts +59 -1
- package/datetime-input/lib/datetime-input.component.d.ts +133 -0
- package/datetime-picker/lib/datetime-picker.component.d.ts +95 -0
- package/decorators/lib/components/clear-button.component.d.ts +25 -0
- package/decorators/lib/components/close-button.component.d.ts +22 -0
- package/decorators/lib/components/generic-content.component.d.ts +4 -0
- package/decorators/lib/components/icon.component.d.ts +12 -0
- package/dialog/lib/dialog.component.d.ts +20 -0
- package/drawer/lib/drawer-container.component.d.ts +7 -0
- package/drawer/lib/drawer.component.d.ts +104 -0
- package/dropdown/lib/dropdown-box.component.d.ts +66 -0
- package/dropdown/lib/dropdown-panel.component.d.ts +85 -0
- package/dropdown-button/lib/dropdown-button.component.d.ts +38 -0
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +21 -1
- package/esm2022/alert/lib/alert.component.mjs +48 -3
- package/esm2022/audio-wave/lib/audio-wave.component.mjs +48 -1
- package/esm2022/avatar/lib/avatar.component.mjs +21 -2
- package/esm2022/badge/lib/badge.component.mjs +9 -1
- package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +14 -1
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +9 -1
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +6 -1
- package/esm2022/button/lib/button-item-list.component.mjs +35 -1
- package/esm2022/button/lib/button-item.component.mjs +36 -1
- package/esm2022/button/lib/button.component.mjs +37 -1
- package/esm2022/button-group/lib/button-group.component.mjs +51 -1
- package/esm2022/calendar/lib/calendar-range.component.mjs +46 -1
- package/esm2022/calendar/lib/calendar.component.mjs +112 -1
- package/esm2022/check-box/lib/check-box.component.mjs +34 -1
- package/esm2022/chips/lib/chips.component.mjs +14 -1
- package/esm2022/circular-progress/lib/circular-progress.component.mjs +73 -74
- package/esm2022/collapse/lib/collapse-group.component.mjs +39 -1
- package/esm2022/collapse/lib/collapse.component.mjs +53 -1
- package/esm2022/color-box/lib/color-box.component.mjs +23 -2
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +36 -1
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +54 -1
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +18 -1
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +28 -1
- package/esm2022/color-palette/lib/color-palette.component.mjs +9 -1
- package/esm2022/comment/lib/comment-container/comment-container.component.mjs +6 -1
- package/esm2022/comment/lib/comment-item/comment-item.component.mjs +15 -1
- package/esm2022/comment/lib/comment-like/comment-like.component.mjs +9 -1
- package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +5 -1
- package/esm2022/comment/lib/comment-view/comment-view.component.mjs +5 -1
- package/esm2022/common/lib/components/base-component.class.mjs +9 -1
- package/esm2022/common/lib/components/button-base-component.class.mjs +22 -1
- package/esm2022/common/lib/components/interactive-component.class.mjs +16 -1
- package/esm2022/conversation/lib/conversation-container/conversation-container.component.mjs +5 -1
- package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +75 -1
- package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +39 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +63 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.mjs +35 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.mjs +22 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.mjs +9 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.mjs +30 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.mjs +12 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +70 -1
- package/esm2022/conversation/lib/conversation-view/conversation-view.component.mjs +23 -1
- package/esm2022/data-pager/lib/data-pager-base.component.mjs +7 -1
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +9 -1
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +18 -1
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +18 -1
- package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +15 -1
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +23 -1
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +18 -1
- package/esm2022/data-pager/lib/data-pager.component.mjs +109 -1
- package/esm2022/data-table/lib/columns/data-text-column.component.mjs +32 -1
- package/esm2022/data-table/lib/columns/row-command-column.component.mjs +63 -1
- package/esm2022/data-table/lib/columns/row-index-column.component.mjs +40 -1
- package/esm2022/data-table/lib/columns/row-select-column.component.mjs +39 -1
- package/esm2022/data-table/lib/data-table/data-table.component.mjs +183 -1
- package/esm2022/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.mjs +159 -1
- package/esm2022/datetime-box/lib/datetime-box.component.mjs +51 -2
- package/esm2022/datetime-input/lib/datetime-input.component.mjs +122 -1
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +90 -1
- package/esm2022/decorators/lib/components/clear-button.component.mjs +26 -1
- package/esm2022/decorators/lib/components/close-button.component.mjs +23 -1
- package/esm2022/decorators/lib/components/generic-content.component.mjs +5 -1
- package/esm2022/decorators/lib/components/icon.component.mjs +13 -1
- package/esm2022/dialog/lib/dialog.component.mjs +18 -1
- package/esm2022/drawer/lib/drawer-container.component.mjs +8 -1
- package/esm2022/drawer/lib/drawer.component.mjs +102 -1
- package/esm2022/dropdown/lib/dropdown-box.component.mjs +58 -1
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +77 -1
- package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +36 -1
- package/esm2022/form/lib/form-field.component.mjs +40 -1
- package/esm2022/form/lib/form.component.mjs +59 -1
- package/esm2022/form/lib/validation-summary.component.mjs +41 -1
- package/esm2022/image/lib/image.component.mjs +47 -1
- package/esm2022/label/lib/label.component.mjs +32 -1
- package/esm2022/list/lib/list.component.mjs +84 -1
- package/esm2022/loading/lib/loading-spinner.component.mjs +17 -1
- package/esm2022/loading/lib/loading.component.mjs +27 -1
- package/esm2022/popup/lib/popup.component.mjs +2 -2
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +1 -1
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +20 -1
- package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +5 -1
- package/esm2022/scheduler/lib/scheduler.component.mjs +10 -1
- package/esm2022/search-box/lib/search-box.component.mjs +19 -2
- package/esm2022/select-box/lib/select-box.component.mjs +50 -2
- package/esm2022/selection-list/lib/selection-list.component.mjs +51 -1
- package/esm2022/side-menu/lib/side-menu.component.mjs +5 -1
- package/esm2022/skeleton/lib/skeleton.component.mjs +11 -1
- package/esm2022/slider/lib/slider.component.mjs +52 -2
- package/esm2022/step-wizard/lib/step-wizard.component.mjs +23 -1
- package/esm2022/switch/lib/switch-content.component.mjs +5 -1
- package/esm2022/switch/lib/switch.component.mjs +11 -1
- package/esm2022/tabs/lib/tab-item.component.mjs +24 -1
- package/esm2022/tabs/lib/tabs.component.mjs +36 -1
- package/esm2022/tag/lib/tag.component.mjs +2 -1
- package/esm2022/text-area/lib/text-area.component.mjs +8 -1
- package/esm2022/text-box/lib/text-box.component.mjs +13 -1
- package/esm2022/toast/lib/toast.component.mjs +6 -1
- package/esm2022/tooltip/lib/tooltip.component.mjs +5 -1
- package/esm2022/uploader/index.mjs +5 -5
- package/esm2022/uploader/lib/{uploader-dialog-container.component.mjs → uploader-dialog-container/uploader-dialog-container.component.mjs} +17 -2
- package/esm2022/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.mjs +27 -0
- package/esm2022/uploader/lib/uploader-list/uploader-list.component.mjs +26 -0
- package/esm2022/uploader/lib/uploader-zone.directive.mjs +23 -16
- package/esm2022/uploader/lib/uploader.models.mjs +19 -1
- package/esm2022/uploader/lib/uploader.module.mjs +18 -13
- package/esm2022/uploader/lib/uploader.service.mjs +14 -7
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +66 -9
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +105 -43
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +9 -1
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +4 -1
- package/fesm2022/acorex-components-action-sheet.mjs +20 -0
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +47 -2
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +47 -0
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +20 -1
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +8 -0
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +13 -0
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +13 -0
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +50 -0
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +105 -0
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +156 -0
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +33 -0
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +13 -0
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +72 -73
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +90 -0
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +22 -1
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +140 -0
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +35 -0
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +44 -0
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +372 -0
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +209 -0
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +510 -0
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +50 -1
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +121 -0
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +89 -0
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +63 -0
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +17 -0
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +108 -0
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +35 -0
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +133 -0
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +137 -0
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +46 -0
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +31 -0
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +83 -0
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +42 -0
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +1 -1
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +32 -0
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +18 -1
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +49 -1
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +50 -0
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +4 -0
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +10 -0
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +51 -1
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +22 -0
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +14 -0
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +58 -0
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +1 -0
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +7 -0
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +12 -0
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +5 -0
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +4 -0
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +100 -32
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +179 -50
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/form/lib/form-field.component.d.ts +45 -0
- package/form/lib/form.component.d.ts +58 -0
- package/form/lib/validation-summary.component.d.ts +49 -0
- package/image/lib/image.component.d.ts +61 -0
- package/label/lib/label.component.d.ts +34 -0
- package/list/lib/list.component.d.ts +98 -0
- package/loading/lib/loading-spinner.component.d.ts +20 -0
- package/loading/lib/loading.component.d.ts +35 -0
- package/package.json +58 -58
- package/progress-bar/lib/progress-bar.component.d.ts +0 -1
- package/scheduler/lib/scheduler-month-view.component.d.ts +20 -0
- package/scheduler/lib/scheduler-week-view.component.d.ts +4 -0
- package/scheduler/lib/scheduler.component.d.ts +10 -0
- package/search-box/lib/search-box.component.d.ts +19 -1
- package/select-box/lib/select-box.component.d.ts +78 -1
- package/selection-list/lib/selection-list.component.d.ts +55 -0
- package/side-menu/lib/side-menu.component.d.ts +4 -0
- package/skeleton/lib/skeleton.component.d.ts +10 -0
- package/slider/lib/slider.component.d.ts +51 -1
- package/step-wizard/lib/step-wizard.component.d.ts +23 -0
- package/switch/lib/switch-content.component.d.ts +4 -0
- package/switch/lib/switch.component.d.ts +14 -0
- package/tabs/lib/tab-item.component.d.ts +32 -0
- package/tabs/lib/tabs.component.d.ts +42 -0
- package/tag/lib/tag.component.d.ts +4 -0
- package/text-area/lib/text-area.component.d.ts +13 -0
- package/text-box/lib/text-box.component.d.ts +27 -0
- package/toast/lib/toast.component.d.ts +6 -0
- package/tooltip/lib/tooltip.component.d.ts +13 -0
- package/uploader/index.d.ts +4 -4
- package/uploader/lib/{uploader-dialog-container.component.d.ts → uploader-dialog-container/uploader-dialog-container.component.d.ts} +15 -0
- package/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.d.ts +12 -0
- package/uploader/lib/{uploader-list.component.d.ts → uploader-list/uploader-list.component.d.ts} +6 -1
- package/uploader/lib/uploader-zone.directive.d.ts +1 -0
- package/uploader/lib/uploader.models.d.ts +9 -0
- package/uploader/lib/uploader.module.d.ts +4 -4
- package/uploader/lib/uploader.service.d.ts +2 -1
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +35 -6
- package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +61 -21
- package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +4 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +3 -0
- package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +0 -14
- package/esm2022/uploader/lib/uploader-list.component.mjs +0 -21
- package/uploader/lib/uploader-drop-zone.component.d.ts +0 -6
@@ -40,20 +40,34 @@ function dateTimePickerConfig(config = {}) {
|
|
40
40
|
return result;
|
41
41
|
}
|
42
42
|
|
43
|
+
/**
|
44
|
+
* allows users to select a date and time from a calendar and time picker interface.
|
45
|
+
*
|
46
|
+
* @category Components
|
47
|
+
*/
|
43
48
|
class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValueComponent)) {
|
44
49
|
constructor() {
|
45
50
|
super(...arguments);
|
46
51
|
this.buttonText = '';
|
47
52
|
this.defaultConfig = inject(AX_DATETIME_PICKER_CONFIG);
|
53
|
+
/**
|
54
|
+
* @ignore
|
55
|
+
*/
|
48
56
|
this._currentTimeButton = this.defaultConfig.currentTimeButton;
|
49
57
|
this._calendarService = inject(AXCalendarService);
|
50
58
|
this._tranlationService = inject(AXTranslationService);
|
59
|
+
/**
|
60
|
+
* @ignore
|
61
|
+
*/
|
51
62
|
this.hours = Array(24)
|
52
63
|
.fill(0)
|
53
64
|
.map((m, i) => ({ id: i, text: i }));
|
54
65
|
this.minutes = Array(60)
|
55
66
|
.fill(0)
|
56
67
|
.map((m, i) => ({ id: i, text: i }));
|
68
|
+
/**
|
69
|
+
* @ignore
|
70
|
+
*/
|
57
71
|
this._parts = {
|
58
72
|
year: {
|
59
73
|
key: 'year',
|
@@ -104,32 +118,66 @@ class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValu
|
|
104
118
|
realValue: () => this.editingDateObj.format(this._parts.second.placeholder),
|
105
119
|
},
|
106
120
|
};
|
121
|
+
/**
|
122
|
+
* @ignore
|
123
|
+
*/
|
107
124
|
this._activePart = 'date';
|
125
|
+
/**
|
126
|
+
* @ignore
|
127
|
+
*/
|
108
128
|
this._editingDateObj = this._calendarService.now(this.type);
|
129
|
+
/**
|
130
|
+
* Emits an event when the format changes.
|
131
|
+
*
|
132
|
+
* @event
|
133
|
+
*/
|
109
134
|
this.formatChange = new EventEmitter();
|
135
|
+
/**
|
136
|
+
* @ignore
|
137
|
+
*/
|
110
138
|
this._format = this.calendarService.calendar.formats.dateTimeDisplay;
|
111
139
|
}
|
140
|
+
/**
|
141
|
+
* Determines whether a button for selecting the current time is displayed.
|
142
|
+
*/
|
112
143
|
get currentTimeButton() {
|
113
144
|
return this._currentTimeButton;
|
114
145
|
}
|
146
|
+
/**
|
147
|
+
* Sets whether the button for selecting the current time is displayed.
|
148
|
+
*/
|
115
149
|
set currentTimeButton(v) {
|
116
150
|
this.setOption({
|
117
151
|
name: 'currentTimeButton',
|
118
152
|
value: v,
|
119
153
|
});
|
120
154
|
}
|
155
|
+
/**
|
156
|
+
* @ignore
|
157
|
+
*/
|
121
158
|
get _hasDatePart() {
|
122
159
|
return ['year', 'month', 'day'].some((k) => this._parts[k].enabled);
|
123
160
|
}
|
161
|
+
/**
|
162
|
+
* @ignore
|
163
|
+
*/
|
124
164
|
get _hasTimePart() {
|
125
165
|
return ['hour', 'minute', 'second'].some((k) => this._parts[k].enabled);
|
126
166
|
}
|
127
167
|
get editingDateObj() {
|
128
168
|
return this._editingDateObj;
|
129
169
|
}
|
170
|
+
/**
|
171
|
+
* Gets or sets the format for the datetime input.
|
172
|
+
*/
|
130
173
|
get format() {
|
131
174
|
return this._format;
|
132
175
|
}
|
176
|
+
/**
|
177
|
+
* Sets the format for the datetime input and updates internal parts.
|
178
|
+
*
|
179
|
+
* @param v - The new format string to be set.
|
180
|
+
*/
|
133
181
|
set format(v) {
|
134
182
|
this.setOption({
|
135
183
|
name: 'format',
|
@@ -139,14 +187,25 @@ class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValu
|
|
139
187
|
},
|
140
188
|
});
|
141
189
|
}
|
190
|
+
/**
|
191
|
+
* @ignore
|
192
|
+
*/
|
142
193
|
async ngOnInit() {
|
143
194
|
super.ngOnInit();
|
144
195
|
this._detectParts();
|
145
196
|
this.detectButtonText();
|
146
197
|
}
|
198
|
+
/**
|
199
|
+
* Refreshes the picker component, updating its view and data.
|
200
|
+
* @ignore
|
201
|
+
*/
|
147
202
|
refresh() {
|
148
203
|
this.picker?.refresh();
|
149
204
|
}
|
205
|
+
/**
|
206
|
+
* Handles changes to the internal value of the component.
|
207
|
+
* @param value - The new date value. If not provided, defaults to the current date.
|
208
|
+
*/
|
150
209
|
internalValueChanged(value) {
|
151
210
|
if (value) {
|
152
211
|
this._editingDateObj = this._calendarService.create(value);
|
@@ -155,22 +214,37 @@ class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValu
|
|
155
214
|
this._editingDateObj = this._calendarService.now(this.type);
|
156
215
|
}
|
157
216
|
}
|
217
|
+
/**
|
218
|
+
* @ignore
|
219
|
+
*/
|
158
220
|
detectButtonText() {
|
159
221
|
this.buttonText = this._activePart === 'date' ? 'dateTime.today' : 'dateTime.now';
|
160
222
|
}
|
223
|
+
/**
|
224
|
+
* @ignore
|
225
|
+
*/
|
161
226
|
_handleViewChanged(e) {
|
162
227
|
this._activePart = e.tab.key;
|
163
228
|
this.detectButtonText();
|
164
229
|
this.cdr.detectChanges();
|
165
230
|
}
|
231
|
+
/**
|
232
|
+
* @ignore
|
233
|
+
*/
|
166
234
|
_handlePickerOnValueChanged(e, part) {
|
167
235
|
if (e.isUserInteraction) {
|
168
236
|
this._editingDateObj = this._editingDateObj.set(part, Number(e.value['id']));
|
169
237
|
}
|
170
238
|
}
|
239
|
+
/**
|
240
|
+
* @ignore
|
241
|
+
*/
|
171
242
|
_handleCalendarOnNavigate(e) {
|
172
243
|
this.onNavigate.emit(e);
|
173
244
|
}
|
245
|
+
/**
|
246
|
+
* @ignore
|
247
|
+
*/
|
174
248
|
_handleCalendarOnValueChanged(e) {
|
175
249
|
if (e.isUserInteraction) {
|
176
250
|
const selectedValue = this.calendarService.create(e.value, this.type);
|
@@ -194,6 +268,9 @@ class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValu
|
|
194
268
|
}
|
195
269
|
}
|
196
270
|
}
|
271
|
+
/**
|
272
|
+
* @ignore
|
273
|
+
*/
|
197
274
|
_detectParts() {
|
198
275
|
Object.values(this._parts).forEach((e) => {
|
199
276
|
e.enabled = false;
|
@@ -209,13 +286,22 @@ class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValu
|
|
209
286
|
this._activePart = this._hasDatePart ? 'date' : 'time';
|
210
287
|
this.cdr.markForCheck();
|
211
288
|
}
|
289
|
+
/**
|
290
|
+
* @ignore
|
291
|
+
*/
|
212
292
|
_handleSetClick() {
|
213
293
|
this.commitValue(this.editingDateObj.date, true);
|
214
294
|
}
|
295
|
+
/**
|
296
|
+
* @ignore
|
297
|
+
*/
|
215
298
|
_handleNowClick() {
|
216
299
|
this._editingDateObj = this._calendarService.now(this.type);
|
217
300
|
this.commitValue(this.editingDateObj.date, true);
|
218
301
|
}
|
302
|
+
/**
|
303
|
+
* @ignore
|
304
|
+
*/
|
219
305
|
isDisabled(date) {
|
220
306
|
if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {
|
221
307
|
return this.disabledDates.some((d) => date.equal(d, 'day'));
|
@@ -225,6 +311,9 @@ class AXDateTimePickerComponent extends classes(MXCalendarBaseComponent, (MXValu
|
|
225
311
|
}
|
226
312
|
return false;
|
227
313
|
}
|
314
|
+
/**
|
315
|
+
* @ignore
|
316
|
+
*/
|
228
317
|
internalSetValue(value) {
|
229
318
|
if (!value)
|
230
319
|
return null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-datetime-picker.mjs","sources":["../../../../libs/components/datetime-picker/src/lib/datetime-picker.config.ts","../../../../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 { AX_GLOBAL_CONFIG } from '@acorex/core/config';\nimport { InjectionToken, inject } from '@angular/core';\nimport { set } from 'lodash-es';\n\nexport interface AXDateTimePickerConfig {\n currentTimeButton: boolean;\n}\n\nexport const AX_DATETIME_PICKER_CONFIG = new InjectionToken<AXDateTimePickerConfig>('AX_DATETIME_PICKER_CONFIG', {\n providedIn: 'root',\n factory: () => {\n const global = inject(AX_GLOBAL_CONFIG);\n set(global, 'datetime-picker', AX_DATETIME_PICKER_CONFIG);\n return AXDateTimePickerDefaultConfig;\n },\n});\n\nexport const AXDateTimePickerDefaultConfig: AXDateTimePickerConfig = {\n currentTimeButton: true,\n};\n\nexport type PartialDateTimePickerConfig = Partial<AXDateTimePickerConfig>;\n\nexport function dateTimePickerConfig(config: PartialDateTimePickerConfig = {}): AXDateTimePickerConfig {\n const result = {\n ...AXDateTimePickerDefaultConfig,\n ...config,\n };\n return result;\n}\n","import { AXCalendarNavigateEvent, MXCalendarBaseComponent } from '@acorex/components/calendar';\nimport { AXComponent, AXFocusableComponent, AXValuableComponent, AXValueChangedEvent, MXValueComponent } from '@acorex/components/common';\nimport { AXPickerComponent } from '@acorex/components/picker';\nimport { AXTabStripChangedEvent, AXTabsComponent } from '@acorex/components/tabs';\nimport { AXCalendarService, AXDateTime, AXDateTimeParts, TimeUnit } from '@acorex/core/date-time';\nimport { AXTranslationService } from '@acorex/core/translation';\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';\nimport { AXDateTimePickerConfig, AX_DATETIME_PICKER_CONFIG } from './datetime-picker.config';\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 extends classes(MXCalendarBaseComponent, MXValueComponent<Date>) implements OnInit {\n buttonText = '';\n\n private defaultConfig: AXDateTimePickerConfig = inject(AX_DATETIME_PICKER_CONFIG);\n\n private _currentTimeButton: boolean = this.defaultConfig.currentTimeButton;\n @Input()\n public get currentTimeButton(): boolean {\n return this._currentTimeButton;\n }\n public set currentTimeButton(v: boolean) {\n this.setOption({\n name: 'currentTimeButton',\n value: v,\n });\n }\n\n private _calendarService: AXCalendarService = inject(AXCalendarService);\n private _tranlationService = inject(AXTranslationService);\n\n @ViewChild(AXPickerComponent)\n protected picker: AXPickerComponent;\n\n @ViewChild(AXTabsComponent)\n protected tabs: AXTabsComponent;\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', 'dddd', 'DDDD'],\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 override async ngOnInit() {\n super.ngOnInit();\n this._detectParts();\n this.detectButtonText();\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 else {\n this._editingDateObj = this._calendarService.now(this.type);\n }\n }\n\n protected detectButtonText() {\n this.buttonText = this._activePart === 'date' ? 'dateTime.today' : 'dateTime.now';\n }\n\n protected _handleViewChanged(e: AXTabStripChangedEvent) {\n this._activePart = e.tab.key as 'date' | 'time';\n this.detectButtonText();\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(e.value, this.type)\n .set('day', selectedValue.dayOfMonth)\n .set('month', selectedValue.monthOfYear)\n .set('year', selectedValue.year);\n\n this._editingDateObj = currentValue;\n if (this._hasTimePart) {\n this._activePart = 'time';\n if (this.tabs && this._hasDatePart && this._hasTimePart) {\n this.tabs.select(1);\n } else {\n this.commitValue(this.editingDateObj.date, true);\n }\n } else {\n this.commitValue(this.editingDateObj.date, true);\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() {\n this.commitValue(this.editingDateObj.date, true);\n }\n\n protected _handleNowClick() {\n this._editingDateObj = this._calendarService.now(this.type);\n this.commitValue(this.editingDateObj.date, true);\n }\n\n protected isDisabled(date: AXDateTime): boolean {\n if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {\n return this.disabledDates.some((d) => date.equal(d, 'day'));\n } else if (typeof this.disabledDates == 'function') {\n return this.disabledDates(date.date);\n }\n return false;\n }\n\n protected override internalSetValue(value: Date): Date | null {\n if (!value) return null;\n const v = this.calendarService.convert(value);\n const isDisabled = this.isDisabled(v);\n if (isDisabled) return null;\n else return v.date;\n }\n}\n","@if(_hasDatePart && _hasTimePart){\n<div class=\"ax-header\">\n <ax-tabs [look]=\"'default'\" [fitParent]=\"true\" [location]=\"'top'\" (onActiveTabChanged)=\"_handleViewChanged($event)\">\n <ax-tab-item [text]=\"'dateTime.date' | translate | async \" [key]=\"'date'\" [disabled]=\"disabled\"></ax-tab-item>\n <ax-tab-item [text]=\"'dateTime.time' | translate | async \" [key]=\"'time'\" [disabled]=\"disabled\"></ax-tab-item>\n </ax-tabs>\n</div>\n}\n<div class=\"ax-content\">\n @if(_activePart === 'date'){\n <div class=\"ax-calendar-part\">\n <ax-calendar #calendar id=\"calendar\" [disabled]=\"disabled\" [readonly]=\"readonly\" [ngModel]=\"editingDateObj.date\"\n [minValue]=\"minValue\" [maxValue]=\"maxValue\" [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\"\n [depth]=\"depth\" (onNavigate)=\"_handleCalendarOnNavigate($event)\"\n (onValueChanged)=\"_handleCalendarOnValueChanged($event)\" [type]=\"type\">\n </ax-calendar>\n </div>\n }\n\n @if(_activePart === 'time'){\n <div class=\"ax-picker-part\">\n <div class=\"ax-header\">\n {{ editingDateObj | axDate: format : type }}\n </div>\n <ax-picker>\n\n @if(_parts.hour.enabled){\n <ax-picker-column [title]=\"'dateTime.hour' | translate | async \" [items]=\"hours\" [ngModel]=\"editingDateObj.hour\"\n (onValueChanged)=\"_handlePickerOnValueChanged($event, 'hour')\" [disabled]=\"disabled\"\n [readonly]=\"readonly\"></ax-picker-column>\n }\n\n @if(_parts.minute.enabled){\n <ax-picker-column [title]=\"'dateTime.minute' | translate | async \" [items]=\"minutes\"\n [ngModel]=\"editingDateObj.minute\" (onValueChanged)=\"_handlePickerOnValueChanged($event, 'minute')\"\n [disabled]=\"disabled\" [readonly]=\"readonly\"></ax-picker-column>\n }\n @if(_parts.second.enabled){\n <ax-picker-column [title]=\"'dateTime.second' | translate | async \" [items]=\"minutes\"\n [ngModel]=\"editingDateObj.second\" (onValueChanged)=\"_handlePickerOnValueChanged($event, 'second')\"\n [disabled]=\"disabled\" [readonly]=\"readonly\"></ax-picker-column>\n\n }\n </ax-picker>\n </div>\n }\n\n</div>\n@if(!disabled && !readonly && (currentTimeButton || _hasTimePart)){\n<div class=\"ax-footer\">\n <div>\n @if(currentTimeButton){\n <ax-button [text]=\"buttonText | translate | async \" class=\"ax-sm\" (onClick)=\"_handleNowClick()\"></ax-button>\n }\n </div>\n <div>\n @if(_hasTimePart){\n <ax-button color=\"primary\" [text]=\"'dateTime.set' | translate | async \" class=\"ax-sm\"\n (onClick)=\"_handleSetClick()\"></ax-button>\n }\n </div>\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/date-time';\nimport { AXTranslationModule } from '@acorex/core/translation';\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 AXTranslationModule,\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":";;;;;;;;;;;;;;;;;;;;;;;MAQa,yBAAyB,GAAG,IAAI,cAAc,CAAyB,2BAA2B,EAAE;AAC/G,IAAA,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAK;AACZ,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AACxC,QAAA,GAAG,CAAC,MAAM,EAAE,iBAAiB,EAAE,yBAAyB,CAAC,CAAC;AAC1D,QAAA,OAAO,6BAA6B,CAAC;KACtC;AACF,CAAA,EAAE;AAEU,MAAA,6BAA6B,GAA2B;AACnE,IAAA,iBAAiB,EAAE,IAAI;EACvB;AAIc,SAAA,oBAAoB,CAAC,MAAA,GAAsC,EAAE,EAAA;AAC3E,IAAA,MAAM,MAAM,GAAG;AACb,QAAA,GAAG,6BAA6B;AAChC,QAAA,GAAG,MAAM;KACV,CAAC;AACF,IAAA,OAAO,MAAM,CAAC;AAChB;;AC8CM,MAAO,yBAA0B,SAAQ,OAAO,CAAC,uBAAuB,GAAE,gBAAsB,EAAC,CAAA;AAtDvG,IAAA,WAAA,GAAA;;QAuDE,IAAU,CAAA,UAAA,GAAG,EAAE,CAAC;AAER,QAAA,IAAA,CAAA,aAAa,GAA2B,MAAM,CAAC,yBAAyB,CAAC,CAAC;AAE1E,QAAA,IAAA,CAAA,kBAAkB,GAAY,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC;AAYnE,QAAA,IAAA,CAAA,gBAAgB,GAAsB,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAChE,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC,CAAC;AAQhD,QAA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,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;AC5BD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"acorex-components-datetime-picker.mjs","sources":["../../../../libs/components/datetime-picker/src/lib/datetime-picker.config.ts","../../../../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 { AX_GLOBAL_CONFIG } from '@acorex/core/config';\nimport { InjectionToken, inject } from '@angular/core';\nimport { set } from 'lodash-es';\n\nexport interface AXDateTimePickerConfig {\n currentTimeButton: boolean;\n}\n\nexport const AX_DATETIME_PICKER_CONFIG = new InjectionToken<AXDateTimePickerConfig>('AX_DATETIME_PICKER_CONFIG', {\n providedIn: 'root',\n factory: () => {\n const global = inject(AX_GLOBAL_CONFIG);\n set(global, 'datetime-picker', AX_DATETIME_PICKER_CONFIG);\n return AXDateTimePickerDefaultConfig;\n },\n});\n\nexport const AXDateTimePickerDefaultConfig: AXDateTimePickerConfig = {\n currentTimeButton: true,\n};\n\nexport type PartialDateTimePickerConfig = Partial<AXDateTimePickerConfig>;\n\nexport function dateTimePickerConfig(config: PartialDateTimePickerConfig = {}): AXDateTimePickerConfig {\n const result = {\n ...AXDateTimePickerDefaultConfig,\n ...config,\n };\n return result;\n}\n","import { AXCalendarNavigateEvent, MXCalendarBaseComponent } from '@acorex/components/calendar';\nimport { AXComponent, AXFocusableComponent, AXValuableComponent, AXValueChangedEvent, MXValueComponent } from '@acorex/components/common';\nimport { AXPickerComponent } from '@acorex/components/picker';\nimport { AXTabStripChangedEvent, AXTabsComponent } from '@acorex/components/tabs';\nimport { AXCalendarService, AXDateTime, AXDateTimeParts, TimeUnit } from '@acorex/core/date-time';\nimport { AXTranslationService } from '@acorex/core/translation';\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';\nimport { AXDateTimePickerConfig, AX_DATETIME_PICKER_CONFIG } from './datetime-picker.config';\n\n/**\n * allows users to select a date and time from a calendar and time picker interface.\n *\n * @category Components\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 extends classes(MXCalendarBaseComponent, MXValueComponent<Date>) implements OnInit {\n buttonText = '';\n\n private defaultConfig: AXDateTimePickerConfig = inject(AX_DATETIME_PICKER_CONFIG);\n\n /**\n * @ignore\n */\n private _currentTimeButton: boolean = this.defaultConfig.currentTimeButton;\n\n /**\n * Determines whether a button for selecting the current time is displayed.\n */\n @Input()\n public get currentTimeButton(): boolean {\n return this._currentTimeButton;\n }\n\n /**\n * Sets whether the button for selecting the current time is displayed.\n */\n public set currentTimeButton(v: boolean) {\n this.setOption({\n name: 'currentTimeButton',\n value: v,\n });\n }\n\n private _calendarService: AXCalendarService = inject(AXCalendarService);\n private _tranlationService = inject(AXTranslationService);\n\n /**\n * @ignore\n */\n @ViewChild(AXPickerComponent)\n protected picker: AXPickerComponent;\n\n /**\n * @ignore\n */\n @ViewChild(AXTabsComponent)\n protected tabs: AXTabsComponent;\n\n /**\n * @ignore\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 /**\n * @ignore\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', 'dddd', 'DDDD'],\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 /**\n * @ignore\n */\n protected _activePart: 'date' | 'time' = 'date';\n\n /**\n * @ignore\n */\n protected get _hasDatePart(): boolean {\n return ['year', 'month', 'day'].some((k) => this._parts[k].enabled);\n }\n\n /**\n * @ignore\n */\n protected get _hasTimePart(): boolean {\n return ['hour', 'minute', 'second'].some((k) => this._parts[k].enabled);\n }\n\n /**\n * @ignore\n */\n private _editingDateObj: AXDateTime = this._calendarService.now(this.type);\n protected get editingDateObj(): AXDateTime {\n return this._editingDateObj;\n }\n\n /**\n * Emits an event when the format changes.\n *\n * @event\n */\n @Output()\n formatChange = new EventEmitter<string>();\n\n /**\n * @ignore\n */\n private _format = this.calendarService.calendar.formats.dateTimeDisplay;\n\n /**\n * Gets or sets the format for the datetime input.\n */\n @Input()\n public get format(): string {\n return this._format;\n }\n\n /**\n * Sets the format for the datetime input and updates internal parts.\n *\n * @param v - The new format string to be set.\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 /**\n * @ignore\n */\n override async ngOnInit() {\n super.ngOnInit();\n this._detectParts();\n this.detectButtonText();\n }\n\n /**\n * Refreshes the picker component, updating its view and data.\n * @ignore\n */\n public refresh() {\n this.picker?.refresh();\n }\n\n /**\n * Handles changes to the internal value of the component.\n * @param value - The new date value. If not provided, defaults to the current date.\n */\n override internalValueChanged(value?: Date): void {\n if (value) {\n this._editingDateObj = this._calendarService.create(value);\n } else {\n this._editingDateObj = this._calendarService.now(this.type);\n }\n }\n\n /**\n * @ignore\n */\n protected detectButtonText() {\n this.buttonText = this._activePart === 'date' ? 'dateTime.today' : 'dateTime.now';\n }\n\n /**\n * @ignore\n */\n protected _handleViewChanged(e: AXTabStripChangedEvent) {\n this._activePart = e.tab.key as 'date' | 'time';\n this.detectButtonText();\n this.cdr.detectChanges();\n }\n\n /**\n * @ignore\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 /**\n * @ignore\n */\n protected _handleCalendarOnNavigate(e: AXCalendarNavigateEvent) {\n this.onNavigate.emit(e);\n }\n\n /**\n * @ignore\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(e.value, this.type)\n .set('day', selectedValue.dayOfMonth)\n .set('month', selectedValue.monthOfYear)\n .set('year', selectedValue.year);\n\n this._editingDateObj = currentValue;\n if (this._hasTimePart) {\n this._activePart = 'time';\n if (this.tabs && this._hasDatePart && this._hasTimePart) {\n this.tabs.select(1);\n } else {\n this.commitValue(this.editingDateObj.date, true);\n }\n } else {\n this.commitValue(this.editingDateObj.date, true);\n }\n }\n }\n\n /**\n * @ignore\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 /**\n * @ignore\n */\n protected _handleSetClick() {\n this.commitValue(this.editingDateObj.date, true);\n }\n\n /**\n * @ignore\n */\n protected _handleNowClick() {\n this._editingDateObj = this._calendarService.now(this.type);\n this.commitValue(this.editingDateObj.date, true);\n }\n\n /**\n * @ignore\n */\n protected isDisabled(date: AXDateTime): boolean {\n if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {\n return this.disabledDates.some((d) => date.equal(d, 'day'));\n } else if (typeof this.disabledDates == 'function') {\n return this.disabledDates(date.date);\n }\n return false;\n }\n\n /**\n * @ignore\n */\n protected override internalSetValue(value: Date): Date | null {\n if (!value) return null;\n const v = this.calendarService.convert(value);\n const isDisabled = this.isDisabled(v);\n if (isDisabled) return null;\n else return v.date;\n }\n}\n","@if(_hasDatePart && _hasTimePart){\n<div class=\"ax-header\">\n <ax-tabs [look]=\"'default'\" [fitParent]=\"true\" [location]=\"'top'\" (onActiveTabChanged)=\"_handleViewChanged($event)\">\n <ax-tab-item [text]=\"'dateTime.date' | translate | async \" [key]=\"'date'\" [disabled]=\"disabled\"></ax-tab-item>\n <ax-tab-item [text]=\"'dateTime.time' | translate | async \" [key]=\"'time'\" [disabled]=\"disabled\"></ax-tab-item>\n </ax-tabs>\n</div>\n}\n<div class=\"ax-content\">\n @if(_activePart === 'date'){\n <div class=\"ax-calendar-part\">\n <ax-calendar #calendar id=\"calendar\" [disabled]=\"disabled\" [readonly]=\"readonly\" [ngModel]=\"editingDateObj.date\"\n [minValue]=\"minValue\" [maxValue]=\"maxValue\" [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\"\n [depth]=\"depth\" (onNavigate)=\"_handleCalendarOnNavigate($event)\"\n (onValueChanged)=\"_handleCalendarOnValueChanged($event)\" [type]=\"type\">\n </ax-calendar>\n </div>\n }\n\n @if(_activePart === 'time'){\n <div class=\"ax-picker-part\">\n <div class=\"ax-header\">\n {{ editingDateObj | axDate: format : type }}\n </div>\n <ax-picker>\n\n @if(_parts.hour.enabled){\n <ax-picker-column [title]=\"'dateTime.hour' | translate | async \" [items]=\"hours\" [ngModel]=\"editingDateObj.hour\"\n (onValueChanged)=\"_handlePickerOnValueChanged($event, 'hour')\" [disabled]=\"disabled\"\n [readonly]=\"readonly\"></ax-picker-column>\n }\n\n @if(_parts.minute.enabled){\n <ax-picker-column [title]=\"'dateTime.minute' | translate | async \" [items]=\"minutes\"\n [ngModel]=\"editingDateObj.minute\" (onValueChanged)=\"_handlePickerOnValueChanged($event, 'minute')\"\n [disabled]=\"disabled\" [readonly]=\"readonly\"></ax-picker-column>\n }\n @if(_parts.second.enabled){\n <ax-picker-column [title]=\"'dateTime.second' | translate | async \" [items]=\"minutes\"\n [ngModel]=\"editingDateObj.second\" (onValueChanged)=\"_handlePickerOnValueChanged($event, 'second')\"\n [disabled]=\"disabled\" [readonly]=\"readonly\"></ax-picker-column>\n\n }\n </ax-picker>\n </div>\n }\n\n</div>\n@if(!disabled && !readonly && (currentTimeButton || _hasTimePart)){\n<div class=\"ax-footer\">\n <div>\n @if(currentTimeButton){\n <ax-button [text]=\"buttonText | translate | async \" class=\"ax-sm\" (onClick)=\"_handleNowClick()\"></ax-button>\n }\n </div>\n <div>\n @if(_hasTimePart){\n <ax-button color=\"primary\" [text]=\"'dateTime.set' | translate | async \" class=\"ax-sm\"\n (onClick)=\"_handleSetClick()\"></ax-button>\n }\n </div>\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/date-time';\nimport { AXTranslationModule } from '@acorex/core/translation';\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 AXTranslationModule,\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":";;;;;;;;;;;;;;;;;;;;;;;MAQa,yBAAyB,GAAG,IAAI,cAAc,CAAyB,2BAA2B,EAAE;AAC/G,IAAA,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAK;AACZ,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AACxC,QAAA,GAAG,CAAC,MAAM,EAAE,iBAA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,47 @@ import { Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject
|
|
5
5
|
import * as i1 from '@angular/common';
|
6
6
|
import { CommonModule } from '@angular/common';
|
7
7
|
|
8
|
+
/**
|
9
|
+
* A button component that allows users to clear or reset a value.
|
10
|
+
*
|
11
|
+
* @category Components
|
12
|
+
*/
|
8
13
|
class AXDecoratorClearButtonComponent extends MXBaseComponent {
|
14
|
+
/**
|
15
|
+
* @ignore
|
16
|
+
*/
|
9
17
|
constructor(_parent) {
|
10
18
|
super();
|
11
19
|
this._parent = _parent;
|
20
|
+
/**
|
21
|
+
* @ignore
|
22
|
+
*/
|
12
23
|
this._icon = 'ax-icon ax-icon-clear';
|
13
24
|
}
|
25
|
+
/**
|
26
|
+
* The icon displayed on the clear button.
|
27
|
+
*/
|
14
28
|
get icon() {
|
15
29
|
return this._icon || 'ax-icon-close';
|
16
30
|
}
|
31
|
+
/**
|
32
|
+
* Sets the icon displayed on the clear button.
|
33
|
+
*
|
34
|
+
* @param v - The icon class to display. If not provided, defaults to 'ax-icon-close'.
|
35
|
+
*/
|
17
36
|
set icon(v) {
|
18
37
|
this._icon = v;
|
19
38
|
}
|
39
|
+
/**
|
40
|
+
* @ignore
|
41
|
+
*/
|
20
42
|
get hostClass() {
|
21
43
|
const hidden = this._parent.disabled || this._parent.readonly || this._parent.value == null || this._parent.value == '';
|
22
44
|
return `ax-icon ax-clear-button ${hidden ? 'ax-hidden' : ''}`;
|
23
45
|
}
|
46
|
+
/**
|
47
|
+
* @ignore
|
48
|
+
*/
|
24
49
|
_handleOnClick() {
|
25
50
|
if (!this._parent.disabled && !this._parent.readonly)
|
26
51
|
this._parent?.reset(true);
|
@@ -55,18 +80,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
55
80
|
args: ['click', ['$event']]
|
56
81
|
}] } });
|
57
82
|
|
83
|
+
/**
|
84
|
+
* A button component that displays a close icon and triggers an action when clicked.
|
85
|
+
*
|
86
|
+
* @category Components
|
87
|
+
*/
|
58
88
|
class AXDecoratorCloseButtonComponent extends MXBaseComponent {
|
89
|
+
/**
|
90
|
+
* @ignore
|
91
|
+
*/
|
59
92
|
constructor(_parent) {
|
60
93
|
super();
|
61
94
|
this._parent = _parent;
|
95
|
+
/**
|
96
|
+
* @ignore
|
97
|
+
*/
|
62
98
|
this._icon = 'ax-icon ax-icon-close';
|
63
99
|
}
|
100
|
+
/**
|
101
|
+
* The icon class to be applied to the button.
|
102
|
+
*/
|
64
103
|
get icon() {
|
65
104
|
return this._icon || 'ax-icon-close';
|
66
105
|
}
|
106
|
+
/**
|
107
|
+
* Sets the icon class to be applied to the button.
|
108
|
+
*
|
109
|
+
* @param v The icon class.
|
110
|
+
*/
|
67
111
|
set icon(v) {
|
68
112
|
this._icon = v;
|
69
113
|
}
|
114
|
+
/**
|
115
|
+
* @ignore
|
116
|
+
*/
|
70
117
|
_handleOnClick() {
|
71
118
|
this._parent?.close();
|
72
119
|
}
|
@@ -92,6 +139,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
92
139
|
args: ['click', ['$event']]
|
93
140
|
}] } });
|
94
141
|
|
142
|
+
/**
|
143
|
+
* A flexible component for various UI elements like footer, header, content, and more.
|
144
|
+
* @category Components
|
145
|
+
*/
|
95
146
|
class AXDecoratorGenericComponent extends MXBaseComponent {
|
96
147
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXDecoratorGenericComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
97
148
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", 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, ax-placeholder, ax-overlay", providers: [
|
@@ -127,11 +178,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
127
178
|
], styles: [".ax-decoration-container,ax-header,ax-footer{display:flex;justify-content:space-between;gap:.5rem}.ax-decoration-container>ax-prefix,.ax-decoration-container>ax-suffix,ax-header>ax-prefix,ax-header>ax-suffix,ax-footer>ax-prefix,ax-footer>ax-suffix{display:flex;flex:1 1 0%;align-items:center;gap:.5rem}.ax-decoration-container>ax-prefix,ax-header>ax-prefix,ax-footer>ax-prefix{order:-9999;align-items:center;justify-content:flex-start}.ax-decoration-container>ax-suffix,ax-header>ax-suffix,ax-footer>ax-suffix{order:9999;align-items:center;justify-content:flex-end}ax-sub-title{font-size:.875rem;line-height:1.25rem;font-weight:400;opacity:.75}ax-form-hint{margin-top:.5rem;display:block;font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-color-text-default),.75)}\n"] }]
|
128
179
|
}] });
|
129
180
|
|
181
|
+
/**
|
182
|
+
* A component for displaying various types of icons including `<i>`, `<span>`, `<svg>`, and `<img>`.
|
183
|
+
* @category Components
|
184
|
+
*/
|
130
185
|
class AXDecoratorIconComponent extends MXBaseComponent {
|
131
186
|
constructor() {
|
132
187
|
super(...arguments);
|
188
|
+
/**
|
189
|
+
* Specifies the icon to be displayed.
|
190
|
+
*
|
191
|
+
* @defaultValue ''
|
192
|
+
*/
|
133
193
|
this.icon = '';
|
134
194
|
}
|
195
|
+
/**
|
196
|
+
* @ignore
|
197
|
+
*/
|
135
198
|
get __iconClass() {
|
136
199
|
this.cdr.detectChanges();
|
137
200
|
return `${this.icon}`;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-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 { ChangeDetectionStrategy, Component, HostBinding, HostListener, Inject, Input, Optional, ViewEncapsulation } 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 class=\"ax-icon-solid\" [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-clear';\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 = this._parent.disabled || this._parent.readonly || this._parent.value == null || this._parent.value == '';\n return `ax-icon ax-clear-button ${hidden ? 'ax-hidden' : ''}`;\n }\n\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n if (!this._parent.disabled && !this._parent.readonly) this._parent?.reset(true);\n }\n}\n","import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostListener, Inject, Input, Optional, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-close-button',\n template: `<button type=\"button\" role=\"button\" aria-label=\"Close\" title=\"Close\">\n <i [ngClass]=\"icon\"></i>\n </button>`,\n styleUrls: ['close-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorCloseButtonComponent extends MXBaseComponent {\n constructor(\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 { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector:\n 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay',\n template: `<ng-content></ng-content>`,\n styleUrls: ['./generic-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: 'ax-footer', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-header', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-content', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-divider', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-form-hint', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-prefix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-suffix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-text', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-sub-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-placeholder', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-overlay', useExisting: AXDecoratorGenericComponent },\n ],\n})\nexport class AXDecoratorGenericComponent extends MXBaseComponent {}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-icon',\n template: '<ng-content select=\"i,span,svg,img\"></ng-content>',\n styles: `\n ax-icon {\n display: inherit;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: 'ax-icon', useExisting: AXDecoratorIconComponent }],\n})\nexport class AXDecoratorIconComponent extends MXBaseComponent {\n @Input()\n icon = '';\n\n @HostBinding('class')\n private get __iconClass(): string {\n this.cdr.detectChanges();\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 = [AXDecoratorIconComponent, AXDecoratorClearButtonComponent, AXDecoratorCloseButtonComponent, AXDecoratorGenericComponent];\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":";;;;;;;AAWM,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,uBAAuB,CAAC;KAFvC;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,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;QACxH,OAAO,CAAA,wBAAA,EAA2B,MAAM,GAAG,WAAW,GAAG,EAAE,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SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"acorex-components-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 { ChangeDetectionStrategy, Component, HostBinding, HostListener, Inject, Input, Optional, ViewEncapsulation } from '@angular/core';\n/**\n * A button component that allows users to clear or reset a value.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-clear-button',\n template: `<button type=\"button\" tabIndex=\"-1\" role=\"button\" aria-label=\"Clear\" title=\"Clear\">\n <i class=\"ax-icon-solid\" [ngClass]=\"icon\"></i>\n </button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorClearButtonComponent extends MXBaseComponent {\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Inject(AXClearableComponent)\n private _parent?: AXClearableComponent,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-clear';\n\n /**\n * The icon displayed on the clear button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon displayed on the clear button.\n *\n * @param v - The icon class to display. If not provided, defaults to 'ax-icon-close'.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get hostClass(): string {\n const hidden = this._parent.disabled || this._parent.readonly || this._parent.value == null || this._parent.value == '';\n return `ax-icon ax-clear-button ${hidden ? 'ax-hidden' : ''}`;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n if (!this._parent.disabled && !this._parent.readonly) this._parent?.reset(true);\n }\n}\n","import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostListener, Inject, Input, Optional, ViewEncapsulation } from '@angular/core';\n\n/**\n * A button component that displays a close icon and triggers an action when clicked.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-close-button',\n template: `<button type=\"button\" role=\"button\" aria-label=\"Close\" title=\"Close\">\n <i [ngClass]=\"icon\"></i>\n </button>`,\n styleUrls: ['close-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorCloseButtonComponent extends MXBaseComponent {\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Inject(AXClosbaleComponent)\n private _parent?: AXClosbaleComponent,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-close';\n\n /**\n * The icon class to be applied to the button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon class to be applied to the button.\n *\n * @param v The icon class.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n this._parent?.close();\n }\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n/**\n * A flexible component for various UI elements like footer, header, content, and more.\n * @category Components\n */\n@Component({\n selector:\n 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay',\n template: `<ng-content></ng-content>`,\n styleUrls: ['./generic-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: 'ax-footer', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-header', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-content', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-divider', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-form-hint', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-prefix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-suffix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-text', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-sub-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-placeholder', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-overlay', useExisting: AXDecoratorGenericComponent },\n ],\n})\nexport class AXDecoratorGenericComponent extends MXBaseComponent {}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n/**\n * A component for displaying various types of icons including `<i>`, `<span>`, `<svg>`, and `<img>`.\n * @category Components\n */\n@Component({\n selector: 'ax-icon',\n template: '<ng-content select=\"i,span,svg,img\"></ng-content>',\n styles: `\n ax-icon {\n display: inherit;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: 'ax-icon', useExisting: AXDecoratorIconComponent }],\n})\nexport class AXDecoratorIconComponent extends MXBaseComponent {\n /**\n * Specifies the icon to be displayed.\n *\n * @defaultValue ''\n */\n @Input()\n icon = '';\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __iconClass(): string {\n this.cdr.detectChanges();\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 = [AXDecoratorIconComponent, AXDecoratorClearButtonComponent, AXDecoratorCloseButtonComponent, AXDecoratorGenericComponent];\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":";;;;;;;AAEA;;;;AAIG;AASG,MAAO,+BAAgC,SAAQ,eAAe,CAAA;AAClE;;AAEG;AACH,IAAA,WAAA,CAGU,OAA8B,EAAA;AAEtC,QAAA,KAAK,EAAE,CAAC;QAFA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAuB;AAKxC;;AAEG;QACK,IAAK,CAAA,KAAA,GAAG,uBAAuB,CAAC;KALvC;AAOD;;AAEG;AACH,IAAA,IACW,IAAI,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,KAAK,IAAI,eAAe,CAAC;KACtC;AAED;;;;AAIG;IACH,IAAW,IAAI,CAAC,CAAS,EAAA;AACvB,QAAA,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;KAChB;AAED;;AAEG;AACH,IAAA,IACY,SAAS,GAAA;AACnB,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;QACxH,OAAO,CAAA,wBAAA,EAA2B,MAAM,GAAG,WAAW,GAAG,EAAE,CAAA,CAAE,CAAC;KAC/D;AAED;;AAEG;IAEO,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;AAjDU,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kB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'@acorex/core/translation';
|
19
19
|
import { A11yModule } from '@angular/cdk/a11y';
|
20
20
|
|
21
|
+
/**
|
22
|
+
* A dialog component that provides a modal interface for user interactions.
|
23
|
+
* @category Components
|
24
|
+
*/
|
21
25
|
class AXDialogComponent extends MXBaseComponent {
|
22
26
|
/**
|
23
27
|
* @ignore
|
@@ -27,18 +31,31 @@ class AXDialogComponent extends MXBaseComponent {
|
|
27
31
|
this.data = data;
|
28
32
|
this.dialogRef = dialogRef;
|
29
33
|
}
|
34
|
+
/**
|
35
|
+
* @ignore
|
36
|
+
*/
|
30
37
|
_handleButtonClick(button) {
|
31
38
|
if (button.onClick) {
|
32
39
|
button.onClick({ source: button });
|
33
40
|
}
|
34
41
|
}
|
42
|
+
/**
|
43
|
+
* @ignore
|
44
|
+
*/
|
35
45
|
_hasAutoFocus(button) {
|
36
46
|
const result = button.autofocus || this.data.buttons.length == 1 || !this.data.buttons.some((c) => c.autofocus);
|
37
47
|
return result;
|
38
48
|
}
|
49
|
+
/**
|
50
|
+
* Closes the dialog.
|
51
|
+
* @ignore
|
52
|
+
*/
|
39
53
|
close() {
|
40
54
|
this.dialogRef.close();
|
41
55
|
}
|
56
|
+
/**
|
57
|
+
* @ignore
|
58
|
+
*/
|
42
59
|
get tabIndex() {
|
43
60
|
return '-1';
|
44
61
|
}
|