@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
@@ -6,10 +6,21 @@ import { AXPlatform, isBrowser } from '@acorex/core/platform';
|
|
6
6
|
import { startWith } from 'rxjs';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
import * as i1 from "@acorex/components/popover";
|
9
|
+
/**
|
10
|
+
* A panel for displaying dropdown content with configurable width and positioning.
|
11
|
+
*
|
12
|
+
* @category Components
|
13
|
+
*/
|
9
14
|
export class AXDropdownPanelComponent extends MXInteractiveComponent {
|
15
|
+
/**
|
16
|
+
* Gets the target HTML element for the dropdown panel.
|
17
|
+
*/
|
10
18
|
get _target() {
|
11
19
|
return this.__target;
|
12
20
|
}
|
21
|
+
/**
|
22
|
+
* Sets the target HTML element for the dropdown panel.
|
23
|
+
*/
|
13
24
|
set _target(v) {
|
14
25
|
this.__target = v;
|
15
26
|
}
|
@@ -32,16 +43,46 @@ export class AXDropdownPanelComponent extends MXInteractiveComponent {
|
|
32
43
|
// });
|
33
44
|
// });
|
34
45
|
// }
|
46
|
+
/**
|
47
|
+
* @ignore
|
48
|
+
*/
|
35
49
|
constructor() {
|
36
50
|
super();
|
37
51
|
this._platform = inject(AXPlatform);
|
52
|
+
/**
|
53
|
+
* @ignore
|
54
|
+
*/
|
38
55
|
this._isMobile = false;
|
56
|
+
/**
|
57
|
+
* @ignore
|
58
|
+
*/
|
39
59
|
this._placement = convertToPlacement('bottom-start');
|
60
|
+
/**
|
61
|
+
* @ignore
|
62
|
+
*/
|
40
63
|
this._subs = [];
|
64
|
+
/**
|
65
|
+
* Emitted when the dropdown panel is opened.
|
66
|
+
*
|
67
|
+
* @event
|
68
|
+
*/
|
41
69
|
this.onOpened = new EventEmitter();
|
70
|
+
/**
|
71
|
+
* Emitted when the dropdown panel is closed.
|
72
|
+
*
|
73
|
+
* @event
|
74
|
+
*/
|
42
75
|
this.onClosed = new EventEmitter();
|
76
|
+
/**
|
77
|
+
* Determines if adaptivity is enabled for the component.
|
78
|
+
*
|
79
|
+
* @defaultValue false
|
80
|
+
*/
|
43
81
|
this.adaptivityEnabled = false;
|
44
82
|
}
|
83
|
+
/**
|
84
|
+
* @ignore
|
85
|
+
*/
|
45
86
|
ngOnInit() {
|
46
87
|
if (isBrowser()) {
|
47
88
|
super.ngOnInit();
|
@@ -54,6 +95,9 @@ export class AXDropdownPanelComponent extends MXInteractiveComponent {
|
|
54
95
|
});
|
55
96
|
}
|
56
97
|
}
|
98
|
+
/**
|
99
|
+
* @ignore
|
100
|
+
*/
|
57
101
|
ngAfterViewInit() {
|
58
102
|
[this._target, this.getHostElement()].forEach((el) => {
|
59
103
|
el?.addEventListener('keydown', (e) => {
|
@@ -64,11 +108,17 @@ export class AXDropdownPanelComponent extends MXInteractiveComponent {
|
|
64
108
|
});
|
65
109
|
});
|
66
110
|
}
|
111
|
+
/**
|
112
|
+
* @ignore
|
113
|
+
*/
|
67
114
|
ngOnDestroy() {
|
68
115
|
this._subs.forEach((s) => {
|
69
116
|
s?.unsubscribe();
|
70
117
|
});
|
71
118
|
}
|
119
|
+
/**
|
120
|
+
* @ignore
|
121
|
+
*/
|
72
122
|
_handlePopupOnOpened(e) {
|
73
123
|
this._popover?.focus();
|
74
124
|
this.onOpened.emit({
|
@@ -76,6 +126,9 @@ export class AXDropdownPanelComponent extends MXInteractiveComponent {
|
|
76
126
|
isUserInteraction: e.isUserInteraction,
|
77
127
|
});
|
78
128
|
}
|
129
|
+
/**
|
130
|
+
* @ignore
|
131
|
+
*/
|
79
132
|
_handlePopupOnClosed(e) {
|
80
133
|
this._target.focus();
|
81
134
|
this.onClosed.emit({
|
@@ -83,11 +136,19 @@ export class AXDropdownPanelComponent extends MXInteractiveComponent {
|
|
83
136
|
isUserInteraction: e.isUserInteraction,
|
84
137
|
});
|
85
138
|
}
|
139
|
+
/**
|
140
|
+
* Toggles the popover open or closed, if not disabled.
|
141
|
+
* @ignore
|
142
|
+
*/
|
86
143
|
toggle() {
|
87
144
|
if (this.disabled !== true) {
|
88
145
|
this._popover.toggle();
|
89
146
|
}
|
90
147
|
}
|
148
|
+
/**
|
149
|
+
* Closes the popover if it is open and not disabled.
|
150
|
+
* @ignore
|
151
|
+
*/
|
91
152
|
close() {
|
92
153
|
if (!this.isOpen || this.disabled) {
|
93
154
|
return;
|
@@ -95,6 +156,10 @@ export class AXDropdownPanelComponent extends MXInteractiveComponent {
|
|
95
156
|
this._popover.close();
|
96
157
|
this.focus();
|
97
158
|
}
|
159
|
+
/**
|
160
|
+
* Opens the popover if it is not already open and not disabled.
|
161
|
+
* @ignore
|
162
|
+
*/
|
98
163
|
open() {
|
99
164
|
if (this.isOpen || this.disabled) {
|
100
165
|
return;
|
@@ -102,12 +167,23 @@ export class AXDropdownPanelComponent extends MXInteractiveComponent {
|
|
102
167
|
this._popover.open();
|
103
168
|
this._popover.focus();
|
104
169
|
}
|
170
|
+
/**
|
171
|
+
* Gets whether the popover is currently open.
|
172
|
+
* @ignore
|
173
|
+
*/
|
105
174
|
get isOpen() {
|
106
175
|
return this._popover?.isOpen;
|
107
176
|
}
|
177
|
+
/**
|
178
|
+
* Gets whether the popover is styled as an actionsheet.
|
179
|
+
* @ignore
|
180
|
+
*/
|
108
181
|
get isActionsheetStyle() {
|
109
182
|
return this._popover?.isActionsheetStyle;
|
110
183
|
}
|
184
|
+
/**
|
185
|
+
* @ignore
|
186
|
+
*/
|
111
187
|
get __hostClass() {
|
112
188
|
return ['ax-dropdown-panel'];
|
113
189
|
}
|
@@ -142,4 +218,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
142
218
|
type: HostBinding,
|
143
219
|
args: ['class']
|
144
220
|
}] } });
|
145
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tcGFuZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2Ryb3Bkb3duL3NyYy9saWIvZHJvcGRvd24tcGFuZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2Ryb3Bkb3duL3NyYy9saWIvZHJvcGRvd24tcGFuZWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsOERBQThEO0FBQzlELE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixXQUFXLEVBQ1gsS0FBSyxFQUVMLE1BQU0sRUFDTixTQUFTLEVBQ1QsaUJBQWlCLEVBQ2pCLE1BQU0sR0FDUCxNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsbUJBQW1CLEVBQVcsc0JBQXNCLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNySCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsVUFBVSxFQUFFLFNBQVMsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzlELE9BQU8sRUFBZ0IsU0FBUyxFQUFFLE1BQU0sTUFBTSxDQUFDOzs7QUFrQi9DLE1BQU0sT0FBTyx3QkFBeUIsU0FBUSxzQkFBc0I7SUFT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F09XCJfcGxhY2VtZW50XCJcbiAgW29wZW5Pbl09XCIndG9nZ2xlJ1wiXG4gIFtjbG9zZU9uXT1cIidjbGlja091dCdcIlxuICBbYWRhcHRpdml0eUVuYWJsZWRdPVwiYWRhcHRpdml0eUVuYWJsZWRcIlxuICAob25PcGVuZWQpPVwiX2hhbmRsZVBvcHVwT25PcGVuZWQoJGV2ZW50KVwiXG4gIChvbkNsb3NlZCk9XCJfaGFuZGxlUG9wdXBPbkNsb3NlZCgkZXZlbnQpXCJcbj5cbiAgPGRpdiBjbGFzcz1cImF4LW92ZXJsYXktcGFuZVwiPlxuICAgIDxuZy1jb250ZW50PiA8L25nLWNvbnRlbnQ+XG4gIDwvZGl2PlxuPC9heC1wb3BvdmVyPlxuIl19
|
@@ -19,15 +19,35 @@ export class AXDropdownButtonComponent extends MXButtonBaseComponent {
|
|
19
19
|
* @event
|
20
20
|
*/
|
21
21
|
this.onClick = new EventEmitter();
|
22
|
+
/**
|
23
|
+
* Defines the type of the button element.
|
24
|
+
*
|
25
|
+
* @defaultValue 'button'
|
26
|
+
*/
|
22
27
|
this.type = 'button';
|
28
|
+
/**
|
29
|
+
* Specifies the mode of the button.
|
30
|
+
* Can be either 'split' or 'dropdown'.
|
31
|
+
*
|
32
|
+
* @defaultValue 'split'
|
33
|
+
*/
|
23
34
|
this.mode = 'split';
|
24
35
|
}
|
36
|
+
/**
|
37
|
+
* @ignore
|
38
|
+
*/
|
25
39
|
ngAfterViewInit() {
|
26
40
|
this.getHostElement().removeAttribute('tabindex');
|
27
41
|
}
|
42
|
+
/**
|
43
|
+
* @ignore
|
44
|
+
*/
|
28
45
|
getButton() {
|
29
46
|
return this.getHostElement().firstElementChild;
|
30
47
|
}
|
48
|
+
/**
|
49
|
+
* @ignore
|
50
|
+
*/
|
31
51
|
_handleClick(e) {
|
32
52
|
if (this.disabled) {
|
33
53
|
e.preventDefault();
|
@@ -43,6 +63,11 @@ export class AXDropdownButtonComponent extends MXButtonBaseComponent {
|
|
43
63
|
this.blur();
|
44
64
|
});
|
45
65
|
}
|
66
|
+
/**
|
67
|
+
* Simulates a click event on the button element.
|
68
|
+
*
|
69
|
+
* @ignore
|
70
|
+
*/
|
46
71
|
click() {
|
47
72
|
this.getButton()?.click();
|
48
73
|
}
|
@@ -52,13 +77,23 @@ export class AXDropdownButtonComponent extends MXButtonBaseComponent {
|
|
52
77
|
// .filter((c) => c[1])
|
53
78
|
// .map((c) => c[0]);
|
54
79
|
// }
|
80
|
+
/**
|
81
|
+
* Sets focus to the button and adds a focus state class.
|
82
|
+
*/
|
55
83
|
focus() {
|
56
84
|
this.getButton()?.focus();
|
57
85
|
this.getButton().classList.add('ax-state-focus');
|
58
86
|
}
|
87
|
+
/**
|
88
|
+
* Removes the focus state class from the button.
|
89
|
+
*/
|
59
90
|
blur() {
|
60
91
|
this.getButton().classList.remove('ax-state-focus');
|
61
92
|
}
|
93
|
+
/**
|
94
|
+
* Closes the dropdown panel.
|
95
|
+
* @ignore
|
96
|
+
*/
|
62
97
|
close() {
|
63
98
|
this.dropdownPanel.close();
|
64
99
|
}
|
@@ -86,4 +121,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
86
121
|
}], mode: [{
|
87
122
|
type: Input
|
88
123
|
}] } });
|
89
|
-
//# sourceMappingURL=data:application/json;base64,
|
124
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kcm9wZG93bi1idXR0b24vc3JjL2xpYi9kcm9wZG93bi1idXR0b24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2Ryb3Bkb3duLWJ1dHRvbi9zcmMvbGliL2Ryb3Bkb3du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FthdHRyLnRhYmluZGV4XT1cInRhYkluZGV4XCJcbiAgICAoZm9jdXMpPVwiZW1pdE9uRm9jdXNFdmVudCgkZXZlbnQpXCJcbiAgICAoYmx1cik9XCJlbWl0T25CbHVyRXZlbnQoJGV2ZW50KVwiXG4gICAgKGNsaWNrKT1cIl9oYW5kbGVDbGljaygkZXZlbnQpXCJcbiAgICBbYXR0ci50eXBlXT1cInR5cGVcIlxuICA+XG4gICAgPG5nLWNvbnRhaW5lciBbbmdUZW1wbGF0ZU91dGxldF09XCJkZWNvcmF0b3JcIj48L25nLWNvbnRhaW5lcj5cblxuICAgIEBpZiAodGV4dCkge1xuICAgICAgPHNwYW4gY2xhc3M9XCJheC1idXR0b24tdGV4dFwiPnt7IHRleHQgfX08L3NwYW4+XG4gICAgfVxuICA8L2J1dHRvbj5cbiAgPGJ1dHRvblxuICAgIFtheFJpcHBsZV1cbiAgICBjbGFzcz1cImF4LWRyb3Bkb3duLWJ1dHRvbi1tYXJrZXIgYXgtZWwtaW50ZXJhY3RpdmUgYXgtZWwte3sgY29sb3IgfX0te3sgbG9vayB9fVwiXG4gICAgW25nQ2xhc3NdPVwieyAnYXgtc3RhdGUtZGlzYWJsZWQnOiBkaXNhYmxlZCB9XCJcbiAgPlxuICAgIDxheC1pY29uIGNsYXNzPVwiZmFyIGZhLWNoZXZyb24tZG93blwiPiA8L2F4LWljb24+XG4gICAgPG5nLWNvbnRhaW5lciBbbmdUZW1wbGF0ZU91dGxldF09XCJkcm9wZG93blwiPjwvbmctY29udGFpbmVyPlxuICA8L2J1dHRvbj5cbn1cbiJdfQ==
|
@@ -5,10 +5,25 @@ import { AXUnsubscriber } from '@acorex/core/utils';
|
|
5
5
|
import { ChangeDetectionStrategy, Component, ContentChild, HostBinding, ViewContainerRef, ViewEncapsulation, afterNextRender, effect, inject, input, signal, } from '@angular/core';
|
6
6
|
import { AXFormComponent } from './form.component';
|
7
7
|
import * as i0 from "@angular/core";
|
8
|
+
/**
|
9
|
+
* A container component for form fields that provides styling and structure.
|
10
|
+
*
|
11
|
+
* @category Components
|
12
|
+
*/
|
8
13
|
export class AXFormFieldComponent extends MXBaseComponent {
|
14
|
+
/**
|
15
|
+
* @ignore
|
16
|
+
*/
|
9
17
|
constructor() {
|
10
18
|
super();
|
19
|
+
/**
|
20
|
+
* Specifies the mode of the label in the form field.
|
21
|
+
* @defaultValue 'static'
|
22
|
+
*/
|
11
23
|
this.labelMode = input('static');
|
24
|
+
/**
|
25
|
+
* @ignore
|
26
|
+
*/
|
12
27
|
this._labelMode = signal(this.labelMode());
|
13
28
|
this.unsubscriber = inject(AXUnsubscriber);
|
14
29
|
this.form = inject(AXFormComponent, { optional: true });
|
@@ -23,21 +38,39 @@ export class AXFormFieldComponent extends MXBaseComponent {
|
|
23
38
|
this.setLabelMode();
|
24
39
|
}, { allowSignalWrites: true });
|
25
40
|
}
|
41
|
+
/**
|
42
|
+
* Calculates and sets the indentation size for the label based on the width of the prefix element.
|
43
|
+
* @ignore
|
44
|
+
*/
|
26
45
|
calcIndentSize() {
|
27
46
|
const prefix = this.input?.getHostElement()?.querySelector('ax-prefix');
|
28
47
|
if (prefix) {
|
29
48
|
this.label.getHostElement().style.insetInlineStart = prefix?.clientWidth + 'px';
|
30
49
|
}
|
31
50
|
}
|
51
|
+
/**
|
52
|
+
* Sets the required attribute for the input field based on validation rules.
|
53
|
+
* Automatically updates if validation rules change.
|
54
|
+
* @ignore
|
55
|
+
*/
|
32
56
|
setRequired() {
|
33
57
|
this.autoSetRequired();
|
34
58
|
this.input?.validationRulesChange.pipe(this.unsubscriber.takeUntilDestroy).subscribe(() => {
|
35
59
|
this.autoSetRequired();
|
36
60
|
});
|
37
61
|
}
|
62
|
+
/**
|
63
|
+
* Sets the label mode based on the form's label mode configuration.
|
64
|
+
* @ignore
|
65
|
+
*/
|
38
66
|
setLabelMode() {
|
39
67
|
this._labelMode.set(this.form?.labelMode());
|
40
68
|
}
|
69
|
+
/**
|
70
|
+
* Subscribes to focus and blur events on the input element.
|
71
|
+
* Adds or removes the 'ax-state-focused' class to/from the host element based on the focus state.
|
72
|
+
* @ignone
|
73
|
+
*/
|
41
74
|
listeningEvent() {
|
42
75
|
const focusEvent = this.input?.['onFocus'];
|
43
76
|
focusEvent?.subscribe((e) => {
|
@@ -64,6 +97,9 @@ export class AXFormFieldComponent extends MXBaseComponent {
|
|
64
97
|
// break;
|
65
98
|
// }
|
66
99
|
// }
|
100
|
+
/**
|
101
|
+
* @ignore
|
102
|
+
*/
|
67
103
|
autoSetRequired() {
|
68
104
|
if (this.label && this.input) {
|
69
105
|
if (this.label.required == null || this.label['autoSetRequired']) {
|
@@ -72,6 +108,9 @@ export class AXFormFieldComponent extends MXBaseComponent {
|
|
72
108
|
}
|
73
109
|
}
|
74
110
|
}
|
111
|
+
/**
|
112
|
+
* @ignore
|
113
|
+
*/
|
75
114
|
get __hostClass() {
|
76
115
|
let hasValue;
|
77
116
|
if (this.input) {
|
@@ -100,4 +139,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
100
139
|
type: HostBinding,
|
101
140
|
args: ['class']
|
102
141
|
}] } });
|
103
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZm9ybS9zcmMvbGliL2Zvcm0tZmllbGQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxlQUFlLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNqRixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUM1RCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwrQkFBK0IsQ0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JyA6ICcnfWBdO1xuICB9XG59XG4iXX0=
|
@@ -13,9 +13,16 @@ export class AXFormValidationEvent extends AXEvent {
|
|
13
13
|
* @category Components
|
14
14
|
*/
|
15
15
|
export class AXFormComponent extends MXBaseComponent {
|
16
|
+
/**
|
17
|
+
* Determines when the form should be updated.
|
18
|
+
*/
|
16
19
|
get updateOn() {
|
17
20
|
return this._updateOn;
|
18
21
|
}
|
22
|
+
/**
|
23
|
+
* Sets the criteria for when the form should be updated.
|
24
|
+
* @param v The criteria to set (e.g., 'change', 'blur').
|
25
|
+
*/
|
19
26
|
set updateOn(v) {
|
20
27
|
this.setOption({
|
21
28
|
name: 'updateOn',
|
@@ -25,20 +32,53 @@ export class AXFormComponent extends MXBaseComponent {
|
|
25
32
|
},
|
26
33
|
});
|
27
34
|
}
|
35
|
+
/**
|
36
|
+
* @ignore
|
37
|
+
*/
|
28
38
|
async _handleSubmit(e) {
|
29
39
|
e.preventDefault();
|
30
40
|
await this.validate();
|
31
41
|
}
|
42
|
+
/**
|
43
|
+
* @ignore
|
44
|
+
*/
|
32
45
|
_handleReset() {
|
33
46
|
this.reset();
|
34
47
|
}
|
48
|
+
/**
|
49
|
+
* @ignore
|
50
|
+
*/
|
35
51
|
constructor() {
|
36
52
|
super();
|
53
|
+
/**
|
54
|
+
* Specifies the mode of the label in the form field.
|
55
|
+
* @defaultValue 'static'
|
56
|
+
*/
|
37
57
|
this.labelMode = input('static');
|
58
|
+
/**
|
59
|
+
* Determines the style of the message in the form field.
|
60
|
+
* @defaultValue 'bottom'
|
61
|
+
*/
|
38
62
|
this.messageStyle = input('bottom');
|
63
|
+
/**
|
64
|
+
* Emitted when the form is validated.
|
65
|
+
*
|
66
|
+
* @event
|
67
|
+
*/
|
39
68
|
this.onValidate = new EventEmitter();
|
69
|
+
/**
|
70
|
+
* Emitted when the form's update mode changes.
|
71
|
+
*
|
72
|
+
* @event
|
73
|
+
*/
|
40
74
|
this.updateOnChange = new EventEmitter();
|
75
|
+
/**
|
76
|
+
* @ignore
|
77
|
+
*/
|
41
78
|
this._updateOn = 'blur';
|
79
|
+
/**
|
80
|
+
* @ignore
|
81
|
+
*/
|
42
82
|
this._subs = [];
|
43
83
|
}
|
44
84
|
//TODO: check update on
|
@@ -65,10 +105,16 @@ export class AXFormComponent extends MXBaseComponent {
|
|
65
105
|
// }
|
66
106
|
// });
|
67
107
|
// }
|
108
|
+
/**
|
109
|
+
* @ignore
|
110
|
+
*/
|
68
111
|
_clearSubs() {
|
69
112
|
this._subs.forEach((c) => c?.unsubscribe());
|
70
113
|
this._subs = [];
|
71
114
|
}
|
115
|
+
/**
|
116
|
+
* @ignore
|
117
|
+
*/
|
72
118
|
get fields() {
|
73
119
|
return Array.from(this.getHostElement().querySelectorAll('[ax-form-item="true"]'))
|
74
120
|
.map((c) => c.__axContext__)
|
@@ -84,6 +130,9 @@ export class AXFormComponent extends MXBaseComponent {
|
|
84
130
|
this._emitOnValidateEvent(mergedSummary);
|
85
131
|
return mergedSummary;
|
86
132
|
}
|
133
|
+
/**
|
134
|
+
* @ignore
|
135
|
+
*/
|
87
136
|
_emitOnValidateEvent(e) {
|
88
137
|
this.onValidate.emit({
|
89
138
|
component: this,
|
@@ -91,12 +140,21 @@ export class AXFormComponent extends MXBaseComponent {
|
|
91
140
|
htmlElement: this.getHostElement(),
|
92
141
|
});
|
93
142
|
}
|
143
|
+
/**
|
144
|
+
* Resets all form fields without clearing errors.
|
145
|
+
*/
|
94
146
|
reset() {
|
95
147
|
this.fields.forEach((c) => c.reset(false));
|
96
148
|
}
|
149
|
+
/**
|
150
|
+
* Resets validation errors for all form fields.
|
151
|
+
*/
|
97
152
|
resetErrors() {
|
98
153
|
this.fields.forEach((c) => c.resetErrors());
|
99
154
|
}
|
155
|
+
/**
|
156
|
+
* @ignore
|
157
|
+
*/
|
100
158
|
ngOnDestroy() {
|
101
159
|
this._clearSubs();
|
102
160
|
}
|
@@ -122,4 +180,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.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