@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
@@ -11,20 +11,51 @@ import * as i4 from "@acorex/components/button";
|
|
11
11
|
import * as i5 from "@angular/common";
|
12
12
|
import * as i6 from "@acorex/core/translation";
|
13
13
|
import * as i7 from "./form.component";
|
14
|
+
/**
|
15
|
+
* Displays validation summaries in the form of an alert.
|
16
|
+
*
|
17
|
+
* @category Components
|
18
|
+
*/
|
14
19
|
export class AXValidationSummaryComponent extends MXBaseComponent {
|
20
|
+
/**
|
21
|
+
* The title of the validation summary alert.
|
22
|
+
*/
|
15
23
|
get title() {
|
16
24
|
return this._title;
|
17
25
|
}
|
26
|
+
/**
|
27
|
+
* Sets the title of the validation summary alert.
|
28
|
+
*
|
29
|
+
* @param v The title to be set.
|
30
|
+
*/
|
18
31
|
set title(v) {
|
19
32
|
this._title = v;
|
20
33
|
}
|
34
|
+
/**
|
35
|
+
* @ignore
|
36
|
+
*/
|
21
37
|
constructor(_tosatService, host) {
|
22
38
|
super();
|
23
39
|
this._tosatService = _tosatService;
|
24
40
|
this.host = host;
|
41
|
+
/**
|
42
|
+
* @ignore
|
43
|
+
*/
|
25
44
|
this._content = null;
|
45
|
+
/**
|
46
|
+
* @ignore
|
47
|
+
*/
|
26
48
|
this._title = 'validation.messages.title';
|
49
|
+
/**
|
50
|
+
* Specifies the display mode for the validation summary.
|
51
|
+
*
|
52
|
+
* @defaultValue 'toast'
|
53
|
+
*/
|
27
54
|
this.displayMode = 'toast';
|
55
|
+
/**
|
56
|
+
* Determines whether the validation summary should automatically hide after a specified time.
|
57
|
+
* @defaultValue false
|
58
|
+
*/
|
28
59
|
this.autoHide = false;
|
29
60
|
//
|
30
61
|
this.sub = host.onValidate.subscribe((e) => {
|
@@ -50,12 +81,21 @@ export class AXValidationSummaryComponent extends MXBaseComponent {
|
|
50
81
|
this.cdr.markForCheck();
|
51
82
|
});
|
52
83
|
}
|
84
|
+
/**
|
85
|
+
* @ignore
|
86
|
+
*/
|
53
87
|
formatRule(rule) {
|
54
88
|
return rule.title ? `<li><b>${rule.title}:</b> ${rule.message}</li>` : `<li>${rule.message}</li>`;
|
55
89
|
}
|
90
|
+
/**
|
91
|
+
* @ignore
|
92
|
+
*/
|
56
93
|
_handleOnDismissed() {
|
57
94
|
this._content = null;
|
58
95
|
}
|
96
|
+
/**
|
97
|
+
* @ignore
|
98
|
+
*/
|
59
99
|
ngOnDestroy() {
|
60
100
|
this.sub?.unsubscribe();
|
61
101
|
}
|
@@ -114,4 +154,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
114
154
|
}], autoHide: [{
|
115
155
|
type: Input
|
116
156
|
}] } });
|
117
|
-
//# sourceMappingURL=data:application/json;base64,
|
157
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGlvbi1zdW1tYXJ5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9mb3JtL3NyYy9saWIvdmFsaWRhdGlvbi1zdW1tYXJ5LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7Q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BuZ09uRGVzdHJveSgpIHtcbiAgICB0aGlzLnN1Yj8udW5zdWJzY3JpYmUoKTtcbiAgfVxufVxuIl19
|
@@ -1,21 +1,61 @@
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
2
2
|
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Displays an image with customizable settings.
|
6
|
+
*
|
7
|
+
* @category Components
|
8
|
+
*/
|
4
9
|
export class AXImageComponent extends MXBaseComponent {
|
5
10
|
constructor() {
|
6
11
|
super(...arguments);
|
12
|
+
/**
|
13
|
+
* Specifies when the image overlay should be shown.
|
14
|
+
*
|
15
|
+
* @defaultValue 'hover'
|
16
|
+
*/
|
7
17
|
this.overlayMode = 'hover';
|
18
|
+
/**
|
19
|
+
* Priority for image loading.
|
20
|
+
*
|
21
|
+
* @defaultValue 'auto'
|
22
|
+
*/
|
8
23
|
this.priority = 'auto';
|
24
|
+
/**
|
25
|
+
* Emits an event when the image has successfully loaded.
|
26
|
+
*
|
27
|
+
* @event
|
28
|
+
*/
|
9
29
|
this.onLoad = new EventEmitter();
|
30
|
+
/**
|
31
|
+
* Emits an event when there is an error loading the image.
|
32
|
+
*
|
33
|
+
* @event
|
34
|
+
*/
|
10
35
|
this.onError = new EventEmitter();
|
36
|
+
/**
|
37
|
+
* @ignore
|
38
|
+
*/
|
11
39
|
this._hasError = false;
|
40
|
+
/**
|
41
|
+
* @ignore
|
42
|
+
*/
|
12
43
|
this._isLoaded = false;
|
44
|
+
/**
|
45
|
+
* @ignore
|
46
|
+
*/
|
13
47
|
this._isLoading = false;
|
14
48
|
}
|
49
|
+
/**
|
50
|
+
* @ignore
|
51
|
+
*/
|
15
52
|
ngOnInit() {
|
16
53
|
super.ngOnInit();
|
17
54
|
this._isLoading = this.src != null;
|
18
55
|
}
|
56
|
+
/**
|
57
|
+
* @ignore
|
58
|
+
*/
|
19
59
|
_handleLoadImage(e) {
|
20
60
|
this._isLoaded = true;
|
21
61
|
this._hasError = false;
|
@@ -27,6 +67,9 @@ export class AXImageComponent extends MXBaseComponent {
|
|
27
67
|
nativeEvent: e,
|
28
68
|
});
|
29
69
|
}
|
70
|
+
/**
|
71
|
+
* @ignore
|
72
|
+
*/
|
30
73
|
_handleErrorImage(e) {
|
31
74
|
this._hasError = true;
|
32
75
|
this._isLoaded = false;
|
@@ -38,6 +81,9 @@ export class AXImageComponent extends MXBaseComponent {
|
|
38
81
|
nativeEvent: e,
|
39
82
|
});
|
40
83
|
}
|
84
|
+
/**
|
85
|
+
* @ignore
|
86
|
+
*/
|
41
87
|
get __hostClass() {
|
42
88
|
return [
|
43
89
|
`ax-overlay-${this.overlayMode}`,
|
@@ -69,4 +115,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
69
115
|
type: HostBinding,
|
70
116
|
args: ['class']
|
71
117
|
}] } });
|
72
|
-
//# sourceMappingURL=data:application/json;base64,
|
118
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2ltYWdlL3NyYy9saWIvaW1hZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2ltYWdlL3NyYy9saWIvaW1hZ2UuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFlLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ3pFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUF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ihzcmMpe1xuPGltZyBjbGFzcz1cImF4LXN0YXRlLWhpZGRlblwiIFtjbGFzcy5heC1zdGF0ZS1sb2FkZWRdPVwiX2lzTG9hZGVkXCIgW3NyY109XCJzcmNcIiBbYWx0XT1cImFsdFwiIFthdHRyLmZldGNocHJpb3JpdHldPVwicHJpb3JpdHlcIlxuICBbYXR0ci5sb2FkaW5nXT1cImxhenkgPyAnbGF6eScgOiAnZWFnZXInXCIgKGxvYWQpPVwiX2hhbmRsZUxvYWRJbWFnZSgkZXZlbnQpXCIgKGVycm9yKT1cIl9oYW5kbGVFcnJvckltYWdlKCRldmVudClcIiAvPlxufVxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtb3ZlcmxheVwiPjwvbmctY29udGVudD5cbkBpZighc3JjIHx8IF9oYXNFcnJvcil7XG48bmctY29udGVudCBzZWxlY3Q9XCJheC1wbGFjZWhvbGRlciwgbmctY29udGVudFwiPjwvbmctY29udGVudD5cbn1cbkBpZihfaXNMb2FkaW5nKXtcbjxuZy1jb250ZW50IHNlbGVjdD1cImF4LWxvYWRpbmcsIGF4LWxvYWRpbmctc3Bpbm5lclwiPjwvbmctY29udGVudD5cbn0iXX0=
|
@@ -1,15 +1,38 @@
|
|
1
1
|
import { MXBaseComponent, MXValueComponent } from '@acorex/components/common';
|
2
2
|
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Represents a label component that provides a way to display text labels within the application.
|
6
|
+
*
|
7
|
+
* @category Components
|
8
|
+
*/
|
4
9
|
export class AXLabelComponent extends MXBaseComponent {
|
5
10
|
constructor() {
|
6
11
|
super(...arguments);
|
12
|
+
/**
|
13
|
+
* Emitted when the `required` property changes.
|
14
|
+
*
|
15
|
+
* @event
|
16
|
+
*/
|
7
17
|
this.requiredChange = new EventEmitter();
|
18
|
+
/**
|
19
|
+
* @ignore
|
20
|
+
*/
|
8
21
|
this._required = null;
|
9
22
|
}
|
23
|
+
/**
|
24
|
+
* Determines if the field is required.
|
25
|
+
*
|
26
|
+
* @defaultValue false
|
27
|
+
*/
|
10
28
|
get required() {
|
11
29
|
return this._required;
|
12
30
|
}
|
31
|
+
/**
|
32
|
+
* Sets whether the field is required.
|
33
|
+
*
|
34
|
+
* @param v - A boolean indicating if the field is required.
|
35
|
+
*/
|
13
36
|
set required(v) {
|
14
37
|
this.setOption({
|
15
38
|
name: 'required',
|
@@ -19,9 +42,17 @@ export class AXLabelComponent extends MXBaseComponent {
|
|
19
42
|
},
|
20
43
|
});
|
21
44
|
}
|
45
|
+
/**
|
46
|
+
* Gets the form control or component associated with the label.
|
47
|
+
*/
|
22
48
|
get for() {
|
23
49
|
return this._for;
|
24
50
|
}
|
51
|
+
/**
|
52
|
+
* Sets the form control or component associated with the label.
|
53
|
+
*
|
54
|
+
* @param v The `MXValueComponent` to associate with the label.
|
55
|
+
*/
|
25
56
|
set for(v) {
|
26
57
|
this.setOption({
|
27
58
|
name: 'for',
|
@@ -44,4 +75,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
44
75
|
}], for: [{
|
45
76
|
type: Input
|
46
77
|
}] } });
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2xhYmVsL3NyYy9saWIvbGFiZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2xhYmVsL3NyYy9saWIvbGFiZWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSx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VwiZm9yXCIgW2F0dHIuZm9yXT1cImZvcj8uZ2V0SG9zdEVsZW1lbnQoKS5pZFwiPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIEBpZihyZXF1aXJlZCB8fCBmb3I/LmlzUmVxdWlyZWQpe1xuICA8c3BhbiBjbGFzcz1cImF4LXN0YXRlLXJlcXVpcmVkXCI+Jm5ic3A7Kjwvc3Bhbj5cbiAgfVxuPC9sYWJlbD4iXX0=
|
@@ -6,26 +6,76 @@ import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@angular/common";
|
7
7
|
import * as i2 from "@angular/cdk/scrolling";
|
8
8
|
import * as i3 from "@acorex/core/translation";
|
9
|
+
/**
|
10
|
+
* provides a list control with various input options and events for user interaction.
|
11
|
+
*
|
12
|
+
* @category Components
|
13
|
+
*/
|
9
14
|
export class AXListComponent extends MXSelectionValueComponent {
|
10
15
|
constructor() {
|
11
16
|
super(...arguments);
|
17
|
+
/**
|
18
|
+
* Emitted when an item in the list is clicked.
|
19
|
+
*
|
20
|
+
* @event
|
21
|
+
*/
|
12
22
|
this.onItemClick = new EventEmitter();
|
23
|
+
/**
|
24
|
+
* Defines the data source for the list.
|
25
|
+
*
|
26
|
+
* @defaultValue convertArrayToDataSource([])
|
27
|
+
*/
|
13
28
|
this.dataSource = convertArrayToDataSource([]);
|
29
|
+
/**
|
30
|
+
* @ignore
|
31
|
+
*/
|
14
32
|
this.itemHeightSignal = signal(40);
|
33
|
+
/**
|
34
|
+
* Emitted when the index of the scrolled item changes.
|
35
|
+
*
|
36
|
+
* @event
|
37
|
+
*/
|
15
38
|
this.onScrolledIndexChanged = new EventEmitter();
|
39
|
+
/**
|
40
|
+
* Specifies whether the checkbox is enabled.
|
41
|
+
*
|
42
|
+
* @defaultValue true
|
43
|
+
*/
|
16
44
|
this.checkbox = true;
|
45
|
+
/**
|
46
|
+
* @ignore
|
47
|
+
*/
|
17
48
|
this.isLoading = signal(true);
|
49
|
+
/**
|
50
|
+
* @ignore
|
51
|
+
*/
|
18
52
|
this.hasItems = false;
|
53
|
+
/**
|
54
|
+
* @ignore
|
55
|
+
*/
|
19
56
|
this.lastIndex = 0;
|
57
|
+
/**
|
58
|
+
* @ignore
|
59
|
+
*/
|
20
60
|
this.postponeFocus = false;
|
61
|
+
/**
|
62
|
+
* Determines whether to show the empty template based on the presence of items and loading state.
|
63
|
+
* @ignore
|
64
|
+
*/
|
21
65
|
this.showEmptyTemplate = () => this.emptyTemplate && this.hasItems === false && this.isLoading() === false;
|
22
66
|
}
|
67
|
+
/**
|
68
|
+
* Sets the height of each item in the list.
|
69
|
+
*/
|
23
70
|
set itemHeight(v) {
|
24
71
|
this.itemHeightSignal.set(v);
|
25
72
|
}
|
26
73
|
trackByIdx(i) {
|
27
74
|
return i;
|
28
75
|
}
|
76
|
+
/**
|
77
|
+
* @ignore
|
78
|
+
*/
|
29
79
|
ngOnInit() {
|
30
80
|
super.ngOnInit();
|
31
81
|
this.listDataSource = new AXListDataSource({
|
@@ -41,6 +91,9 @@ export class AXListComponent extends MXSelectionValueComponent {
|
|
41
91
|
}, 100);
|
42
92
|
});
|
43
93
|
}
|
94
|
+
/**
|
95
|
+
* @ignore
|
96
|
+
*/
|
44
97
|
_handleOnItemClick(e, item) {
|
45
98
|
if (this.readonly || this.disabled) {
|
46
99
|
e.preventDefault();
|
@@ -59,6 +112,9 @@ export class AXListComponent extends MXSelectionValueComponent {
|
|
59
112
|
nativeEvent: e,
|
60
113
|
});
|
61
114
|
}
|
115
|
+
/**
|
116
|
+
* @ignore
|
117
|
+
*/
|
62
118
|
_handleKeydown(e) {
|
63
119
|
if ((e.code === 'ArrowDown' || e.code === 'ArrowUp') && this.hasItems) {
|
64
120
|
this.focusItemByNav(e.key === 'ArrowDown' ? 1 : -1);
|
@@ -76,6 +132,9 @@ export class AXListComponent extends MXSelectionValueComponent {
|
|
76
132
|
e.stopPropagation();
|
77
133
|
}
|
78
134
|
}
|
135
|
+
/**
|
136
|
+
* @ignore
|
137
|
+
*/
|
79
138
|
focusItemByNav(sign) {
|
80
139
|
const list = this.getHostElement().querySelector('ul');
|
81
140
|
const fn = (s) => list.querySelector(s);
|
@@ -85,6 +144,9 @@ export class AXListComponent extends MXSelectionValueComponent {
|
|
85
144
|
next.focus();
|
86
145
|
}
|
87
146
|
}
|
147
|
+
/**
|
148
|
+
* @ignore
|
149
|
+
*/
|
88
150
|
_handleOnscrolledIndexChange(e) {
|
89
151
|
this.lastIndex = e;
|
90
152
|
this.onScrolledIndexChanged.emit({
|
@@ -93,9 +155,18 @@ export class AXListComponent extends MXSelectionValueComponent {
|
|
93
155
|
isUserInteraction: true,
|
94
156
|
});
|
95
157
|
}
|
158
|
+
/**
|
159
|
+
* Retrieves an item from the data source based on the provided key.
|
160
|
+
*
|
161
|
+
* @param key The key used to identify the item.
|
162
|
+
* @ignore
|
163
|
+
*/
|
96
164
|
getItemByKey(key) {
|
97
165
|
return this.dataSource.find(key);
|
98
166
|
}
|
167
|
+
/**
|
168
|
+
* Renders the component by updating the viewport size, scrolling to the last index, and optionally focusing the element.
|
169
|
+
*/
|
99
170
|
render() {
|
100
171
|
this.viewport.checkViewportSize();
|
101
172
|
this.viewport.scrollToIndex(this.lastIndex);
|
@@ -104,13 +175,25 @@ export class AXListComponent extends MXSelectionValueComponent {
|
|
104
175
|
this.focus();
|
105
176
|
}
|
106
177
|
}
|
178
|
+
/**
|
179
|
+
* Refreshes the list by clearing the selection cache and reloading the data source.
|
180
|
+
* @ignore
|
181
|
+
*/
|
107
182
|
refresh() {
|
108
183
|
this.clearSelectionCache();
|
109
184
|
this.listDataSource.refresh();
|
110
185
|
}
|
186
|
+
/**
|
187
|
+
* Scrolls the viewport to the specified item index.
|
188
|
+
* @param index The index of the item to scroll to.
|
189
|
+
* @ignore
|
190
|
+
*/
|
111
191
|
scrollToIndex(index) {
|
112
192
|
this.viewport.scrollToIndex(index);
|
113
193
|
}
|
194
|
+
/**
|
195
|
+
* Sets focus to the first selectable list item. If no item is available, postpones focus.
|
196
|
+
*/
|
114
197
|
focus() {
|
115
198
|
const list = this.getHostElement().querySelector('ul');
|
116
199
|
const focusable = list.querySelector('li.ax-state-selected') ?? list.querySelector('li.list-item');
|
@@ -192,4 +275,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
192
275
|
type: HostBinding,
|
193
276
|
args: ['class']
|
194
277
|
}] } });
|
195
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvbGlzdC9zcmMvbGliL2xpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2xpc3Qvc3JjL2xpYi9saXN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxXQUFXLEVBQ1gsWUFBWSxFQUVaLG9CQUFvQixFQUVwQixnQkFBZ0IsRUFDaEIsbUJBQW1CLEVBQ25CLHVCQUF1QixFQUN2Qix3QkFBd0IsRUFDeEIseUJBQXlCLEVBQ3pCLHdCQUF3QixHQUN6QixNQUFNLDJCQUEyQixDQUFDO0FBQ25DLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ2xFLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixXQUFXLEVBQ1gsWUFBWSxFQUNaLEtBQUssRUFFTCxRQUFRLEVBQ1IsTUFBTSxFQUNOLFFBQVEsRUFDUixXQUFXLEVBQ1gsU0FBUyxFQUNULGlCQUFpQixFQUVqQixVQUFVLEVBQ1YsTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU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W2F0dHIuZGF0YS1pZF09XCJnZXRWYWx1ZShpdGVtKVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPCEtLSAgQ3VzdG9tIEl0ZW0gVGVtcGxhdGUgIC0tPlxuICAgICAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIml0ZW1UZW1wbGF0ZTtlbHNlIGRlZmF1bHRJdGVtVHBsXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cIml0ZW1UZW1wbGF0ZTtjb250ZXh0OiB7ICRpbXBsaWNpdDogeyBkYXRhOml0ZW0gfSB9XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwhLS0gIERlZmF1bHQgSXRlbSBUZW1wbGF0ZSAgLS0+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgI2RlZmF1bHRJdGVtVHBsPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJpdGVtO2Vsc2UgbG9hZGluZ1RwbFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYXgtbGFiZWwtY29udGFpbmVyXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgY2xhc3M9XCJheC1jaGVja2JveFwiICpuZ0lmPVwibXVsdGlwbGUgJiYgY2hlY2tib3hcIiB0eXBlPVwiY2hlY2tib3hcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtjaGVja2VkXT1cImlzSXRlbVNlbGVjdGVkKGl0ZW0pXCIgW2Rpc2FibGVkXT1cImlzSXRlbURpc2FibGVkKGl0ZW0pXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0YWJpbmRleD1cIjBcIiAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY2xhc3MuYXgtY2hlY2tib3gtbGFiZWxdPVwibXVsdGlwbGUgJiYgY2hlY2tib3hcIj57e2dldERpc3BsYXlUZXh0KGl0ZW0pfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tIDxpIGNsYXNzPVwiYXgtaWNvbiBheC1pY29uLWNoZWNrIGF4LXNlbGVjdGVkLWljb25cIiAqbmdJZj1cImlzSXRlbVNlbGVjdGVkKGl0ZW0pIFwiPjwvaT4gLS0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgICAgICAgICA8L2xpPlxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgIDwvdWw+XG4gICAgPC9jZGstdmlydHVhbC1zY3JvbGwtdmlld3BvcnQ+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtZm9vdGVyXCI+PC9uZy1jb250ZW50PlxuPC9kaXY+XG48IS0tICBMb2FkaW5nIFRlbXBsYXRlICAtLT5cbjxuZy10ZW1wbGF0ZSAjbG9hZGluZ1RwbD5cbiAgICA8IS0tICBDdXN0b20gTG9hZGluZyBUZW1wbGF0ZSAgLS0+XG4gICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImxvYWRpbmdUZW1wbGF0ZTtlbHNlIGRlZmF1bHRMb2FkaW5nVHBsXCI+XG4gICAgICAgIDxuZy1jb250Y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iZ2V0VmFsdWUoaXRlbSlcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwhLS0gIEN1c3RvbSBJdGVtIFRlbXBsYXRlICAtLT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJpdGVtVGVtcGxhdGU7ZWxzZSBkZWZhdWx0SXRlbVRwbFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJpdGVtVGVtcGxhdGU7Y29udGV4dDogeyAkaW1wbGljaXQ6IHsgZGF0YTppdGVtIH0gfVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8IS0tICBEZWZhdWx0IEl0ZW0gVGVtcGxhdGUgIC0tPlxuICAgICAgICAgICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlICNkZWZhdWx0SXRlbVRwbD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiaXRlbTtlbHNlIGxvYWRpbmdUcGxcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImF4LWxhYmVsLWNvbnRhaW5lclwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IGNsYXNzPVwiYXgtY2hlY2tib3hcIiAqbmdJZj1cIm11bHRpcGxlICYmIGNoZWNrYm94XCIgdHlwZT1cImNoZWNrYm94XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY2hlY2tlZF09XCJpc0l0ZW1TZWxlY3RlZChpdGVtKVwiIFtkaXNhYmxlZF09XCJpc0l0ZW1EaXNhYmxlZChpdGVtKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFiaW5kZXg9XCIwXCIgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2NsYXNzLmF4LWNoZWNrYm94LWxhYmVsXT1cIm11bHRpcGxlICYmIGNoZWNrYm94XCI+e3tnZXREaXNwbGF5VGV4dChpdGVtKX19PC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLSA8aSBjbGFzcz1cImF4LWljb24gYXgtaWNvbi1jaGVjayBheC1zZWxlY3RlZC1pY29uXCIgKm5nSWY9XCJpc0l0ZW1TZWxlY3RlZChpdGVtKSBcIj48L2k+IC0tPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgICAgICAgICAgPC9saT5cbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8L3VsPlxuICAgIDwvY2RrLXZpcnR1YWwtc2Nyb2xsLXZpZXdwb3J0PlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWZvb3RlclwiPjwvbmctY29udGVudD5cbjwvZGl2PlxuPCEtLSAgTG9hZGluZyBUZW1wbGF0ZSAgLS0+XG48bmctdGVtcGxhdGUgI2xvYWRpbmdUcGw+XG4gICAgPCEtLSAgQ3VzdG9tIExvYWRpbmcgVGVtcGxhdGUgIC0tPlxuICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJsb2FkaW5nVGVtcGxhdGU7ZWxzZSBkZWZhdWx0TG9hZGluZ1RwbFwiPlxuICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwibG9hZGluZ1RlbXBsYXRlXCI+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgIDwvbmctY29udGFpbmVyPlxuICAgIDwhLS0gIERlZmF1bHQgTG9hZGluZyBUZW1wbGF0ZSAgLS0+XG4gICAgPG5nLXRlbXBsYXRlICNkZWZhdWx0TG9hZGluZ1RwbD5cbiAgICAgICAgPGxpPnt7J2xvYWRpbmcnIHwgdHJhbnNsYXRlIHwgYXN5bmMgfX08L2xpPlxuICAgIDwvbmctdGVtcGxhdGU+XG48L25nLXRlbXBsYXRlPlxuPCEtLSAgRW1wdHkgVGVtcGxhdGUgIC0tPlxuQGlmKHNob3dFbXB0eVRlbXBsYXRlKCkpe1xuPGRpdiBjbGFzcz1cImVtcHR5LWNvbnRhaW5lclwiPlxuICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJlbXB0eVRlbXBsYXRlXCI+PC9uZy1jb250YWluZXI+XG48L2Rpdj5cbn0iXX0=
|
@@ -1,9 +1,25 @@
|
|
1
1
|
import { Component, Input, ViewEncapsulation } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
+
/**
|
4
|
+
* A loading spinner component that displays a rotating spinner icon.
|
5
|
+
* @category Components
|
6
|
+
*/
|
3
7
|
export class AXLoadingSpinnerComponent {
|
4
8
|
constructor() {
|
9
|
+
/**
|
10
|
+
* Color of the spinner. Can be a predefined style color or a custom color.
|
11
|
+
* @defaultValue 'ghost'
|
12
|
+
*/
|
5
13
|
this.color = 'ghost';
|
14
|
+
/**
|
15
|
+
* Size of the spinner, in pixels. This determines both the width and height of the spinner.
|
16
|
+
* @defaultValue 16
|
17
|
+
*/
|
6
18
|
this.size = 16;
|
19
|
+
/**
|
20
|
+
* Thickness of the spinner's border, in pixels. This affects the visual weight of the spinner's outline.
|
21
|
+
* @defaultValue 3
|
22
|
+
*/
|
7
23
|
this.stroke = 3;
|
8
24
|
}
|
9
25
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
@@ -41,4 +57,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
41
57
|
}], stroke: [{
|
42
58
|
type: Input
|
43
59
|
}] } });
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1zcGlubmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9sb2FkaW5nL3NyYy9saWIvbG9hZGluZy1zcGlubmVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFFcEU7OztHQUdHO0FBa0JILE1BQU0sT0FBTyx5QkFBeUI7SUFqQnRDO1FBd0JFOzs7V0FHRztRQUVILFVBQUssR0FBOEIsT0FBTyxDQUFDO1FBRTNDOzs7V0FHRztRQUNNLFNBQUksR0FBRyxFQUFFLENBQUM7UUFFbkI7OztXQUdHO1FBQ00sV0FBTSxHQUFHLENBQUMsQ0FBQztLQUNyQjs4R0F6QlkseUJBQXlCO2tHQUF6Qix5QkFBeUIsc0hBZjFCOzs7Ozs7Ozs7OztHQVdUOzsyRkFJVSx5QkFBeUI7a0JBakJyQyxTQUFTOytCQUNFLG9CQUFvQixZQUNwQjs7Ozs7Ozs7Ozs7R0FXVCxpQkFFYyxpQkFBaUIsQ0FBQyxJQUFJOzhCQWNyQyxLQUFLO3NCQURKLEtBQUs7Z0JBT0csSUFBSTtzQkFBWixLQUFLO2dCQU1H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