@acorex/components 18.5.16 → 18.6.0
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/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
|
@@ -1,11 +1,33 @@
|
|
|
1
1
|
import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A button component that displays a close icon and triggers an action when clicked.
|
|
5
|
+
*
|
|
6
|
+
* @category Components
|
|
7
|
+
*/
|
|
3
8
|
export declare class AXDecoratorCloseButtonComponent extends MXBaseComponent {
|
|
4
9
|
private _parent?;
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
5
13
|
constructor(_parent?: AXClosbaleComponent);
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
6
17
|
private _icon;
|
|
18
|
+
/**
|
|
19
|
+
* The icon class to be applied to the button.
|
|
20
|
+
*/
|
|
7
21
|
get icon(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the icon class to be applied to the button.
|
|
24
|
+
*
|
|
25
|
+
* @param v The icon class.
|
|
26
|
+
*/
|
|
8
27
|
set icon(v: string);
|
|
28
|
+
/**
|
|
29
|
+
* @ignore
|
|
30
|
+
*/
|
|
9
31
|
protected _handleOnClick(): void;
|
|
10
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorCloseButtonComponent, [{ optional: true; }]>;
|
|
11
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorCloseButtonComponent, "ax-close-button", never, { "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A flexible component for various UI elements like footer, header, content, and more.
|
|
5
|
+
* @category Components
|
|
6
|
+
*/
|
|
3
7
|
export declare class AXDecoratorGenericComponent extends MXBaseComponent {
|
|
4
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorGenericComponent, never>;
|
|
5
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorGenericComponent, "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", never, {}, {}, never, ["*"], false, never>;
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A component for displaying various types of icons including `<i>`, `<span>`, `<svg>`, and `<img>`.
|
|
5
|
+
* @category Components
|
|
6
|
+
*/
|
|
3
7
|
export declare class AXDecoratorIconComponent extends MXBaseComponent {
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the icon to be displayed.
|
|
10
|
+
*
|
|
11
|
+
* @defaultValue ''
|
|
12
|
+
*/
|
|
4
13
|
icon: string;
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
5
17
|
private get __iconClass();
|
|
6
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorIconComponent, never>;
|
|
7
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorIconComponent, "ax-icon", never, { "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["i,span,svg,img"], false, never>;
|
|
@@ -2,17 +2,37 @@ import { AXComponentCloseEvent, MXBaseComponent } from '@acorex/components/commo
|
|
|
2
2
|
import { DialogRef } from '@angular/cdk/dialog';
|
|
3
3
|
import { AXDialogButtonItem, AXDialogData } from './dialog.class';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* A dialog component that provides a modal interface for user interactions.
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
5
9
|
export declare class AXDialogComponent extends MXBaseComponent {
|
|
6
10
|
protected data: AXDialogData;
|
|
7
11
|
private dialogRef;
|
|
12
|
+
/**
|
|
13
|
+
* @ignore
|
|
14
|
+
*/
|
|
8
15
|
protected _icon: string;
|
|
9
16
|
/**
|
|
10
17
|
* @ignore
|
|
11
18
|
*/
|
|
12
19
|
constructor(data: AXDialogData, dialogRef: DialogRef<AXComponentCloseEvent>);
|
|
20
|
+
/**
|
|
21
|
+
* @ignore
|
|
22
|
+
*/
|
|
13
23
|
protected _handleButtonClick(button: AXDialogButtonItem): void;
|
|
24
|
+
/**
|
|
25
|
+
* @ignore
|
|
26
|
+
*/
|
|
14
27
|
protected _hasAutoFocus(button: AXDialogButtonItem): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Closes the dialog.
|
|
30
|
+
* @ignore
|
|
31
|
+
*/
|
|
15
32
|
close(): void;
|
|
33
|
+
/**
|
|
34
|
+
* @ignore
|
|
35
|
+
*/
|
|
16
36
|
get tabIndex(): string;
|
|
17
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogComponent, never>;
|
|
18
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDialogComponent, "ax-dialog", never, {}, {}, never, never, false, never>;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A container component that organizes and positions drawer components.
|
|
5
|
+
* @category component
|
|
6
|
+
*/
|
|
3
7
|
export declare class AXDrawerContainerComponent extends MXBaseComponent {
|
|
8
|
+
/**
|
|
9
|
+
* @ignore
|
|
10
|
+
*/
|
|
4
11
|
ngDoCheck(): void;
|
|
5
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerContainerComponent, never>;
|
|
6
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerContainerComponent, "ax-drawer-container", never, {}, {}, never, ["ax-drawer[location='start']", "ax-content", "ax-drawer[location='end']"], false, never>;
|
|
@@ -3,36 +3,140 @@ import { EventEmitter, NgZone } from '@angular/core';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type AXDrawerMode = 'push' | 'overlay';
|
|
5
5
|
export type AXDrawerLocation = 'start' | 'end';
|
|
6
|
+
/**
|
|
7
|
+
* A component that represents a drawer with header and content sections.
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
6
11
|
export declare class AXDrawerComponent extends MXBaseComponent {
|
|
7
12
|
private _zone;
|
|
13
|
+
/**
|
|
14
|
+
* @ignore
|
|
15
|
+
*/
|
|
8
16
|
constructor(_zone: NgZone);
|
|
17
|
+
/**
|
|
18
|
+
* Emits when the drawer's location changes.
|
|
19
|
+
*
|
|
20
|
+
* @event
|
|
21
|
+
*/
|
|
9
22
|
locationChange: EventEmitter<AXDrawerLocation>;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
10
26
|
private _location;
|
|
27
|
+
/**
|
|
28
|
+
* Gets the location of the drawer.
|
|
29
|
+
*/
|
|
11
30
|
get location(): AXDrawerLocation;
|
|
31
|
+
/**
|
|
32
|
+
* Sets the location of the drawer.
|
|
33
|
+
*
|
|
34
|
+
* @param v The new location of the drawer.
|
|
35
|
+
*/
|
|
12
36
|
set location(v: AXDrawerLocation);
|
|
37
|
+
/**
|
|
38
|
+
* @ignore
|
|
39
|
+
*/
|
|
13
40
|
private _showBackdrop;
|
|
41
|
+
/**
|
|
42
|
+
* Gets whether the backdrop is shown.
|
|
43
|
+
*/
|
|
14
44
|
get showBackdrop(): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Sets whether the backdrop should be shown.
|
|
47
|
+
*
|
|
48
|
+
* @param v
|
|
49
|
+
*/
|
|
15
50
|
set showBackdrop(v: boolean);
|
|
51
|
+
/**
|
|
52
|
+
* Emitted when the drawer mode changes.
|
|
53
|
+
*
|
|
54
|
+
* @event
|
|
55
|
+
*/
|
|
16
56
|
modeChange: EventEmitter<AXDrawerMode>;
|
|
57
|
+
/**
|
|
58
|
+
* @ignore
|
|
59
|
+
*/
|
|
17
60
|
private _mode;
|
|
61
|
+
/**
|
|
62
|
+
* Gets the current mode of the drawer.
|
|
63
|
+
*/
|
|
18
64
|
get mode(): AXDrawerMode;
|
|
65
|
+
/**
|
|
66
|
+
* Sets the mode of the drawer.
|
|
67
|
+
*
|
|
68
|
+
* @param v The new mode to set.
|
|
69
|
+
*/
|
|
19
70
|
set mode(v: AXDrawerMode);
|
|
71
|
+
/**
|
|
72
|
+
* Emitted when the collapsed state of the drawer changes.
|
|
73
|
+
*
|
|
74
|
+
* @event
|
|
75
|
+
*/
|
|
20
76
|
collapsedChange: EventEmitter<boolean>;
|
|
77
|
+
/**
|
|
78
|
+
* @ignore
|
|
79
|
+
*/
|
|
21
80
|
private _collapsed;
|
|
81
|
+
/**
|
|
82
|
+
* Gets the collapsed state of the drawer.
|
|
83
|
+
*/
|
|
22
84
|
get collapsed(): boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Sets the collapsed state of the drawer.
|
|
87
|
+
*
|
|
88
|
+
* @param v The new collapsed state.
|
|
89
|
+
*/
|
|
23
90
|
set collapsed(v: boolean);
|
|
91
|
+
/**
|
|
92
|
+
* @ignore
|
|
93
|
+
*/
|
|
24
94
|
ngAfterContentInit(): void;
|
|
25
95
|
internalOptionChanged(option: MXComponentOptionChanged): void;
|
|
96
|
+
/**
|
|
97
|
+
* @ignore
|
|
98
|
+
*/
|
|
26
99
|
ngDoCheck(): void;
|
|
100
|
+
/**
|
|
101
|
+
* @ignore
|
|
102
|
+
*/
|
|
27
103
|
private _detectBoundingSize;
|
|
104
|
+
/**
|
|
105
|
+
* @ignore
|
|
106
|
+
*/
|
|
28
107
|
private _checkProps;
|
|
108
|
+
/**
|
|
109
|
+
* Toggles the collapsed state of the drawer.
|
|
110
|
+
*/
|
|
29
111
|
toggle(): void;
|
|
112
|
+
/**
|
|
113
|
+
* Collapses the drawer.
|
|
114
|
+
* @ignore
|
|
115
|
+
*/
|
|
30
116
|
close(): void;
|
|
117
|
+
/**
|
|
118
|
+
* Expands the drawer.
|
|
119
|
+
*/
|
|
31
120
|
open(): void;
|
|
121
|
+
/**
|
|
122
|
+
* @ignore
|
|
123
|
+
*/
|
|
32
124
|
private get __hostClass();
|
|
125
|
+
/**
|
|
126
|
+
* @ignore
|
|
127
|
+
*/
|
|
33
128
|
private _backdropElement;
|
|
129
|
+
/**
|
|
130
|
+
* @ignore
|
|
131
|
+
*/
|
|
34
132
|
private _loaded;
|
|
133
|
+
/**
|
|
134
|
+
* @ignore
|
|
135
|
+
*/
|
|
35
136
|
private _addBackdrop;
|
|
137
|
+
/**
|
|
138
|
+
* @ignore
|
|
139
|
+
*/
|
|
36
140
|
private _removeBackdrop;
|
|
37
141
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerComponent, never>;
|
|
38
142
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerComponent, "ax-drawer", never, { "location": { "alias": "location"; "required": false; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, { "locationChange": "locationChange"; "modeChange": "modeChange"; "collapsedChange": "collapsedChange"; }, never, ["ax-header", "ax-content"], false, never>;
|
|
@@ -5,24 +5,90 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
declare const AXDropdownBoxComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXLookComponent]>;
|
|
6
6
|
export declare class AXDropdownBoxComponent extends AXDropdownBoxComponent_base implements OnInit {
|
|
7
7
|
private _platform;
|
|
8
|
+
/**
|
|
9
|
+
* @ignore
|
|
10
|
+
*/
|
|
8
11
|
protected _isMobile: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @ignore
|
|
14
|
+
*/
|
|
9
15
|
protected _target: HTMLDivElement;
|
|
16
|
+
/**
|
|
17
|
+
* @ignore
|
|
18
|
+
*/
|
|
10
19
|
protected _popoverTitle: string;
|
|
20
|
+
/**
|
|
21
|
+
* @ignore
|
|
22
|
+
*/
|
|
11
23
|
protected _popoverWidth: string;
|
|
24
|
+
/**
|
|
25
|
+
* @ignore
|
|
26
|
+
*/
|
|
12
27
|
protected _placement: import("@acorex/components/common").AXConnectedPosition[];
|
|
28
|
+
/**
|
|
29
|
+
* @ignore
|
|
30
|
+
*/
|
|
13
31
|
protected _popover: AXPopoverComponent;
|
|
32
|
+
/**
|
|
33
|
+
* Emitted when the drawer is opened.
|
|
34
|
+
*
|
|
35
|
+
* @event
|
|
36
|
+
*/
|
|
14
37
|
onOpened: EventEmitter<AXEvent>;
|
|
38
|
+
/**
|
|
39
|
+
* Emitted when the drawer is closed.
|
|
40
|
+
*
|
|
41
|
+
* @event
|
|
42
|
+
*/
|
|
15
43
|
onClosed: EventEmitter<AXEvent>;
|
|
44
|
+
/**
|
|
45
|
+
* @ignore
|
|
46
|
+
*/
|
|
16
47
|
ngOnInit(): void;
|
|
48
|
+
/**
|
|
49
|
+
* @ignore
|
|
50
|
+
*/
|
|
17
51
|
protected _handlePopupOnOpened(e: AXEvent): void;
|
|
52
|
+
/**
|
|
53
|
+
* @ignore
|
|
54
|
+
*/
|
|
18
55
|
protected _handlePopupOnClosed(e: AXEvent): void;
|
|
56
|
+
/**
|
|
57
|
+
* @ignore
|
|
58
|
+
*/
|
|
19
59
|
protected _handleKeydown(e: KeyboardEvent): void;
|
|
60
|
+
/**
|
|
61
|
+
* Updates the position of the popover.
|
|
62
|
+
* @ignore
|
|
63
|
+
*/
|
|
20
64
|
updatePosition(): void;
|
|
65
|
+
/**
|
|
66
|
+
* Toggles the popover open or closed, if not disabled.
|
|
67
|
+
* @ignore
|
|
68
|
+
*/
|
|
21
69
|
toggle(): void;
|
|
70
|
+
/**
|
|
71
|
+
* Closes the popover if it's open and not disabled, then focuses the element.
|
|
72
|
+
* @ignore
|
|
73
|
+
*/
|
|
22
74
|
close(): void;
|
|
75
|
+
/**
|
|
76
|
+
* Opens the popover if it's not already open and not disabled, then focuses the popover.
|
|
77
|
+
* @ignore
|
|
78
|
+
*/
|
|
23
79
|
open(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Indicates if the popover is currently open.
|
|
82
|
+
* @ignore
|
|
83
|
+
*/
|
|
24
84
|
get isOpen(): boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Indicates if the popover is styled as an actionsheet.
|
|
87
|
+
*/
|
|
25
88
|
get isActionsheetStyle(): boolean;
|
|
89
|
+
/**
|
|
90
|
+
* @ignore
|
|
91
|
+
*/
|
|
26
92
|
private get __hostClass();
|
|
27
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownBoxComponent, never>;
|
|
28
94
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownBoxComponent, "ax-dropdown-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "look": { "alias": "look"; "required": false; }; }, { "disabledChange": "disabledChange"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["[input]", "[panel]"], false, never>;
|
|
@@ -3,30 +3,115 @@ import { AXEvent, MXInteractiveComponent } from '@acorex/components/common';
|
|
|
3
3
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* A panel for displaying dropdown content with configurable width and positioning.
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
6
11
|
export declare class AXDropdownPanelComponent extends MXInteractiveComponent implements OnDestroy {
|
|
7
12
|
private _platform;
|
|
13
|
+
/**
|
|
14
|
+
* @ignore
|
|
15
|
+
*/
|
|
8
16
|
protected _isMobile: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
9
20
|
protected _popoverTitle: string;
|
|
21
|
+
/**
|
|
22
|
+
* @ignore
|
|
23
|
+
*/
|
|
10
24
|
protected _placement: import("@acorex/components/common").AXConnectedPosition[];
|
|
25
|
+
/**
|
|
26
|
+
* @ignore
|
|
27
|
+
*/
|
|
11
28
|
_subs: Subscription[];
|
|
29
|
+
/**
|
|
30
|
+
* @ignore
|
|
31
|
+
*/
|
|
12
32
|
private __target;
|
|
33
|
+
/**
|
|
34
|
+
* Gets the target HTML element for the dropdown panel.
|
|
35
|
+
*/
|
|
13
36
|
get _target(): HTMLDivElement;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the target HTML element for the dropdown panel.
|
|
39
|
+
*/
|
|
14
40
|
set _target(v: HTMLDivElement);
|
|
41
|
+
/**
|
|
42
|
+
* @ignore
|
|
43
|
+
*/
|
|
15
44
|
protected _popover: AXPopoverComponent;
|
|
45
|
+
/**
|
|
46
|
+
* Emitted when the dropdown panel is opened.
|
|
47
|
+
*
|
|
48
|
+
* @event
|
|
49
|
+
*/
|
|
16
50
|
onOpened: EventEmitter<AXEvent>;
|
|
51
|
+
/**
|
|
52
|
+
* Emitted when the dropdown panel is closed.
|
|
53
|
+
*
|
|
54
|
+
* @event
|
|
55
|
+
*/
|
|
17
56
|
onClosed: EventEmitter<AXEvent>;
|
|
57
|
+
/**
|
|
58
|
+
* Determines if adaptivity is enabled for the component.
|
|
59
|
+
*
|
|
60
|
+
* @defaultValue false
|
|
61
|
+
*/
|
|
18
62
|
adaptivityEnabled: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* @ignore
|
|
65
|
+
*/
|
|
19
66
|
constructor();
|
|
67
|
+
/**
|
|
68
|
+
* @ignore
|
|
69
|
+
*/
|
|
20
70
|
ngOnInit(): void;
|
|
71
|
+
/**
|
|
72
|
+
* @ignore
|
|
73
|
+
*/
|
|
21
74
|
ngAfterViewInit(): void;
|
|
75
|
+
/**
|
|
76
|
+
* @ignore
|
|
77
|
+
*/
|
|
22
78
|
ngOnDestroy(): void;
|
|
79
|
+
/**
|
|
80
|
+
* @ignore
|
|
81
|
+
*/
|
|
23
82
|
protected _handlePopupOnOpened(e: AXEvent): void;
|
|
83
|
+
/**
|
|
84
|
+
* @ignore
|
|
85
|
+
*/
|
|
24
86
|
protected _handlePopupOnClosed(e: AXEvent): void;
|
|
87
|
+
/**
|
|
88
|
+
* Toggles the popover open or closed, if not disabled.
|
|
89
|
+
* @ignore
|
|
90
|
+
*/
|
|
25
91
|
toggle(): void;
|
|
92
|
+
/**
|
|
93
|
+
* Closes the popover if it is open and not disabled.
|
|
94
|
+
* @ignore
|
|
95
|
+
*/
|
|
26
96
|
close(): void;
|
|
97
|
+
/**
|
|
98
|
+
* Opens the popover if it is not already open and not disabled.
|
|
99
|
+
* @ignore
|
|
100
|
+
*/
|
|
27
101
|
open(): void;
|
|
102
|
+
/**
|
|
103
|
+
* Gets whether the popover is currently open.
|
|
104
|
+
* @ignore
|
|
105
|
+
*/
|
|
28
106
|
get isOpen(): boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Gets whether the popover is styled as an actionsheet.
|
|
109
|
+
* @ignore
|
|
110
|
+
*/
|
|
29
111
|
get isActionsheetStyle(): boolean;
|
|
112
|
+
/**
|
|
113
|
+
* @ignore
|
|
114
|
+
*/
|
|
30
115
|
private get __hostClass();
|
|
31
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownPanelComponent, never>;
|
|
32
117
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownPanelComponent, "ax-dropdown-panel", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "fitParent": { "alias": "fitParent"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; "position": { "alias": "position"; "required": false; }; "_target": { "alias": "_target"; "required": false; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"], false, never>;
|
|
@@ -13,15 +13,53 @@ export declare class AXDropdownButtonComponent extends MXButtonBaseComponent imp
|
|
|
13
13
|
* @event
|
|
14
14
|
*/
|
|
15
15
|
onClick: EventEmitter<AXClickEvent>;
|
|
16
|
+
/**
|
|
17
|
+
* @ignore
|
|
18
|
+
*/
|
|
16
19
|
dropdownPanel: AXClosbaleComponent;
|
|
20
|
+
/**
|
|
21
|
+
* Defines the type of the button element.
|
|
22
|
+
*
|
|
23
|
+
* @defaultValue 'button'
|
|
24
|
+
*/
|
|
17
25
|
type: AXButtonType;
|
|
26
|
+
/**
|
|
27
|
+
* Specifies the mode of the button.
|
|
28
|
+
* Can be either 'split' or 'dropdown'.
|
|
29
|
+
*
|
|
30
|
+
* @defaultValue 'split'
|
|
31
|
+
*/
|
|
18
32
|
mode: 'split' | 'dropdown';
|
|
33
|
+
/**
|
|
34
|
+
* @ignore
|
|
35
|
+
*/
|
|
19
36
|
ngAfterViewInit(): void;
|
|
37
|
+
/**
|
|
38
|
+
* @ignore
|
|
39
|
+
*/
|
|
20
40
|
private getButton;
|
|
41
|
+
/**
|
|
42
|
+
* @ignore
|
|
43
|
+
*/
|
|
21
44
|
_handleClick(e: MouseEvent): void;
|
|
45
|
+
/**
|
|
46
|
+
* Simulates a click event on the button element.
|
|
47
|
+
*
|
|
48
|
+
* @ignore
|
|
49
|
+
*/
|
|
22
50
|
click(): void;
|
|
51
|
+
/**
|
|
52
|
+
* Sets focus to the button and adds a focus state class.
|
|
53
|
+
*/
|
|
23
54
|
focus(): void;
|
|
55
|
+
/**
|
|
56
|
+
* Removes the focus state class from the button.
|
|
57
|
+
*/
|
|
24
58
|
blur(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Closes the dropdown panel.
|
|
61
|
+
* @ignore
|
|
62
|
+
*/
|
|
25
63
|
close(): void;
|
|
26
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownButtonComponent, never>;
|
|
27
65
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownButtonComponent, "ax-dropdown-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; "type": { "alias": "type"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; }, never, ["*", "ax-prefix, ax-loading, ax-loading-spinner"], false, never>;
|
|
@@ -8,6 +8,11 @@ import * as i2 from "@angular/cdk/portal";
|
|
|
8
8
|
import * as i3 from "@acorex/components/decorators";
|
|
9
9
|
import * as i4 from "@acorex/core/translation";
|
|
10
10
|
import * as i5 from "@angular/common";
|
|
11
|
+
/**
|
|
12
|
+
* A component for displaying an action sheet, which is a menu that slides up from the bottom of the screen.
|
|
13
|
+
*
|
|
14
|
+
* @category Components
|
|
15
|
+
*/
|
|
11
16
|
export class AXActionSheetComponent extends MXBaseComponent {
|
|
12
17
|
/**
|
|
13
18
|
* @ignore
|
|
@@ -17,6 +22,9 @@ export class AXActionSheetComponent extends MXBaseComponent {
|
|
|
17
22
|
this.data = data;
|
|
18
23
|
this.dialogRef = dialogRef;
|
|
19
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* @ignore
|
|
27
|
+
*/
|
|
20
28
|
ngOnInit() {
|
|
21
29
|
super.ngOnInit();
|
|
22
30
|
if (this.data.content) {
|
|
@@ -33,12 +41,18 @@ export class AXActionSheetComponent extends MXBaseComponent {
|
|
|
33
41
|
}
|
|
34
42
|
}
|
|
35
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* @ignore
|
|
46
|
+
*/
|
|
36
47
|
onKeydownHandler() {
|
|
37
48
|
const focusedOrHasFocused = this.getHostElement().matches(':focus-within');
|
|
38
49
|
if (this.data.closeButton && focusedOrHasFocused) {
|
|
39
50
|
this.close(null);
|
|
40
51
|
}
|
|
41
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* @ignore
|
|
55
|
+
*/
|
|
42
56
|
_handleAttched(ref) {
|
|
43
57
|
ref = ref;
|
|
44
58
|
if (ref.instance) {
|
|
@@ -52,11 +66,17 @@ export class AXActionSheetComponent extends MXBaseComponent {
|
|
|
52
66
|
}
|
|
53
67
|
}
|
|
54
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* @ignore
|
|
71
|
+
*/
|
|
55
72
|
onItemClick(item) {
|
|
56
73
|
this.close(item);
|
|
57
74
|
if (item?.onClick)
|
|
58
75
|
item.onClick();
|
|
59
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* @ignore
|
|
79
|
+
*/
|
|
60
80
|
close(e) {
|
|
61
81
|
this.dialogRef.close({
|
|
62
82
|
component: this._componentRef,
|
|
@@ -95,4 +115,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
|
95
115
|
type: HostListener,
|
|
96
116
|
args: ['keydown.escape']
|
|
97
117
|
}] } });
|
|
98
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
118
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9hY3Rpb24tc2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