@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
@@ -5,19 +5,36 @@ import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
6
6
|
import * as i2 from "@acorex/components/button";
|
7
7
|
import * as i3 from "@acorex/components/decorators";
|
8
|
+
/**
|
9
|
+
* Provides buttons for navigating to the next and last pages in a data pager component.
|
10
|
+
*
|
11
|
+
* @category Components
|
12
|
+
*/
|
8
13
|
export class AXDataPagerNextButtonsComponent extends AXDataPagerChild {
|
14
|
+
/**
|
15
|
+
* @ignore
|
16
|
+
*/
|
9
17
|
ngOnInit() {
|
10
18
|
super.ngOnInit;
|
11
19
|
this.rtl = AXHtmlUtil.isRtl(this.getHostElement());
|
12
20
|
}
|
21
|
+
/**
|
22
|
+
* @ignore
|
23
|
+
*/
|
13
24
|
applyParent() {
|
14
25
|
this.disabled = this._parent.displayInfo.page == this._parent.displayInfo.totalPages || this._parent.disabled;
|
15
26
|
}
|
27
|
+
/**
|
28
|
+
* @ignore
|
29
|
+
*/
|
16
30
|
_emitOnLastPageClick(e) {
|
17
31
|
if (this._parent.readonly || this._parent.disabled)
|
18
32
|
return;
|
19
33
|
this._parent.goLastPage();
|
20
34
|
}
|
35
|
+
/**
|
36
|
+
* @ignore
|
37
|
+
*/
|
21
38
|
_emitOnNextPageClick(e) {
|
22
39
|
if (this._parent.readonly || this._parent.disabled)
|
23
40
|
return;
|
@@ -62,4 +79,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
62
79
|
providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerNextButtonsComponent }, AXUnsubscriber],
|
63
80
|
}]
|
64
81
|
}] });
|
65
|
-
//# sourceMappingURL=data:application/json;base64,
|
82
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci1uZXh0LWJ1dHRvbnMuY29tcG9uZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kYXRhLXBhZ2VyL3NyYy9saWIvZGF0YS1wYWdlci1uZXh0LWJ1dHRvbnMuY29tcG9uZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsVUFBVSxFQUFFLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7Ozs7O0FBRS9EOzs7O0dBSUc7QUFxQkgsTUFBTSxPQUFPLCtCQUFnQyxTQUFRLGdCQUFnQjtJQU1uRTs7T0FFRztJQUNNLFFBQVE7UUFDZixLQUFLLENBQUMsUUFBUSxDQUFDO1FBQ2YsSUFBSSxDQUFDLEdBQUcsR0FBRyxVQUFVLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxjQUFjLEVBQUUsQ0FBQyxDQUFDO0lBQ3JELENBQUM7SUFFRDs7T0FFRztJQUNnQixXQUFXO1FBQzVCLElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxDQUFDLE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bCh0aGlzLmdldEhvc3RFbGVtZW50KCkpO1xuICB9XG5cbiAgLyoqXG4gICAqICBAaWdub3JlXG4gICAqL1xuICBwcm90ZWN0ZWQgb3ZlcnJpZGUgYXBwbHlQYXJlbnQoKSB7XG4gICAgdGhpcy5kaXNhYmxlZCA9IHRoaXMuX3BhcmVudC5kaXNwbGF5SW5mby5wYWdlID09IHRoaXMuX3BhcmVudC5kaXNwbGF5SW5mby50b3RhbFBhZ2VzIHx8IHRoaXMuX3BhcmVudC5kaXNhYmxlZDtcbiAgfVxuXG4gIC8qKlxuICAgKiAgQGlnbm9yZVxuICAgKi9cbiAgX2VtaXRPbkxhc3RQYWdlQ2xpY2soZTogQVhDbGlja0V2ZW50KSB7XG4gICAgaWYgKHRoaXMuX3BhcmVudC5yZWFkb25seSB8fCB0aGlzLl9wYXJlbnQuZGlzYWJsZWQpIHJldHVybjtcbiAgICB0aGlzLl9wYXJlbnQuZ29MYXN0UGFnZSgpO1xuICB9XG5cbiAgLyoqXG4gICAqICBAaWdub3JlXG4gICAqL1xuICBfZW1pdE9uTmV4dFBhZ2VDbGljayhlOiBBWENsaWNrRXZlbnQpIHtcbiAgICBpZiAodGhpcy5fcGFyZW50LnJlYWRvbmx5IHx8IHRoaXMuX3BhcmVudC5kaXNhYmxlZCkgcmV0dXJuO1xuICAgIHRoaXMuX3BhcmVudC5nb05leHRQYWdlKCk7XG4gIH1cbn1cbiJdfQ==
|
@@ -6,6 +6,11 @@ import * as i1 from "@angular/common";
|
|
6
6
|
import * as i2 from "@acorex/components/button";
|
7
7
|
import * as i3 from "@acorex/components/decorators";
|
8
8
|
import * as i4 from "@acorex/components/skeleton";
|
9
|
+
/**
|
10
|
+
* Component that provides numeric page selection controls for a data pager.
|
11
|
+
*
|
12
|
+
* @category Components
|
13
|
+
*/
|
9
14
|
export class AXDataPagerNumericSelectorComponent extends AXDataPagerChild {
|
10
15
|
constructor() {
|
11
16
|
super(...arguments);
|
@@ -13,8 +18,14 @@ export class AXDataPagerNumericSelectorComponent extends AXDataPagerChild {
|
|
13
18
|
this._currentPage = 1;
|
14
19
|
this._lastPage = 1;
|
15
20
|
this._loading = false;
|
21
|
+
/**
|
22
|
+
* @ignore
|
23
|
+
*/
|
16
24
|
this._displayCount = 5;
|
17
25
|
}
|
26
|
+
/**
|
27
|
+
* @ignore
|
28
|
+
*/
|
18
29
|
applyParent() {
|
19
30
|
this._currentPage = this._parent.displayInfo.page;
|
20
31
|
this._loading = this._parent.isLoading;
|
@@ -45,6 +56,9 @@ export class AXDataPagerNumericSelectorComponent extends AXDataPagerChild {
|
|
45
56
|
}
|
46
57
|
this.cdr.detectChanges();
|
47
58
|
}
|
59
|
+
/**
|
60
|
+
* @ignore
|
61
|
+
*/
|
48
62
|
_handleOnItemClick(e) {
|
49
63
|
if (this._parent.readonly || this._parent.disabled)
|
50
64
|
return;
|
@@ -137,4 +151,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
137
151
|
],
|
138
152
|
}]
|
139
153
|
}] });
|
140
|
-
//# sourceMappingURL=data:application/json;base64,
|
154
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci1udW1lcmljLXNlbGVjdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kYXRhLXBhZ2VyL3NyYy9saWIvZGF0YS1wYWdlci1udW1lcmljLXNlbGVjdG9yLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDcEQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RixPQUFPLEVB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tcbiAgICAgIHRoaXMuX2l0ZW1zLnB1c2goe1xuICAgICAgICB0ZXh0OiBpLnRvU3RyaW5nKCksXG4gICAgICAgIGRhdGE6IGksXG4gICAgICB9KTtcbiAgICB9XG4gICAgaWYgKGVuZCA8IHRoaXMuX2xhc3RQYWdlKSB7XG4gICAgICB0aGlzLl9pdGVtcy5wdXNoKHtcbiAgICAgICAgaWNvbkNsYXNzOiAnYXgtaWNvbi1tb3JlLWhvcml6b250YWwnLFxuICAgICAgICBkYXRhOiBlbmQgKyAxLFxuICAgICAgfSk7XG4gICAgfVxuICAgIHRoaXMuY2RyLmRldGVjdENoYW5nZXMoKTtcbiAgfVxuXG4gIC8qKlxuICAgKiAgQGlnbm9yZVxuICAgKi9cbiAgX2hhbmRsZU9uSXRlbUNsaWNrKGU6IGFueSkge1xuICAgIGlmICh0aGlzLl9wYXJlbnQucmVhZG9ubHkgfHwgdGhpcy5fcGFyZW50LmRpc2FibGVkKSByZXR1cm47XG4gICAgdGhpcy5fcGFyZW50LmdvVG9QYWdlKE51bWJlcihlLmRhdGEpKTtcbiAgfVxufVxuIl19
|
@@ -5,19 +5,38 @@ import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@acorex/components/button";
|
6
6
|
import * as i2 from "@acorex/components/dropdown";
|
7
7
|
import * as i3 from "@acorex/components/decorators";
|
8
|
+
/**
|
9
|
+
* Displays a button to select page sizes for data pagination.
|
10
|
+
*
|
11
|
+
* @category Components
|
12
|
+
*/
|
8
13
|
export class AXDataPagerPageSizesComponent extends AXDataPagerChild {
|
9
14
|
constructor() {
|
10
15
|
super(...arguments);
|
16
|
+
/**
|
17
|
+
* @ignore
|
18
|
+
*/
|
11
19
|
//TODO: AXButtonItems type error
|
12
20
|
this._items = [];
|
13
21
|
}
|
22
|
+
/**
|
23
|
+
* Gets the list of page sizes available for selection.
|
24
|
+
*/
|
14
25
|
get sizes() {
|
15
26
|
return this._sizes || [5, 10, 20, 50, 100];
|
16
27
|
}
|
28
|
+
/**
|
29
|
+
* Sets the list of page sizes available for selection.
|
30
|
+
*
|
31
|
+
* @param value - An array of numbers representing the page sizes to be set.
|
32
|
+
*/
|
17
33
|
set sizes(v) {
|
18
34
|
this._sizes = v;
|
19
35
|
this.applyParent();
|
20
36
|
}
|
37
|
+
/**
|
38
|
+
* @ignore
|
39
|
+
*/
|
21
40
|
applyParent() {
|
22
41
|
this._size = this._parent.displayInfo.take;
|
23
42
|
this._items = this.sizes.map((s) => ({
|
@@ -29,6 +48,9 @@ export class AXDataPagerPageSizesComponent extends AXDataPagerChild {
|
|
29
48
|
}));
|
30
49
|
this.cdr.detectChanges();
|
31
50
|
}
|
51
|
+
/**
|
52
|
+
* @ignore
|
53
|
+
*/
|
32
54
|
_emitOnItemClick(e) {
|
33
55
|
if (this._parent.readonly || this._parent.disabled)
|
34
56
|
return;
|
@@ -78,4 +100,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
78
100
|
}], propDecorators: { sizes: [{
|
79
101
|
type: Input
|
80
102
|
}] } });
|
81
|
-
//# sourceMappingURL=data:application/json;base64,
|
103
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci1wYWdlc2l6ZS1kcm9wZG93bi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZGF0YS1wYWdlci9zcmMvbGliL2RhdGEtcGFnZXItcGFnZXNpemUtZHJvcGRvd24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNwRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ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
|
import * as i1 from "@angular/common";
|
6
6
|
import * as i2 from "@acorex/components/button";
|
7
7
|
import * as i3 from "@acorex/components/decorators";
|
8
|
+
/**
|
9
|
+
* Component that provides navigation buttons for going to the previous page and the first page in a data pager.
|
10
|
+
*
|
11
|
+
* @category Components
|
12
|
+
*/
|
8
13
|
export class AXDataPagerPrevButtonsComponent extends AXDataPagerChild {
|
14
|
+
/**
|
15
|
+
* @ignore
|
16
|
+
*/
|
9
17
|
ngOnInit() {
|
10
18
|
super.ngOnInit;
|
11
19
|
this.rtl = AXHtmlUtil.isRtl(this.getHostElement());
|
12
20
|
}
|
21
|
+
/**
|
22
|
+
* @ignore
|
23
|
+
*/
|
13
24
|
applyParent() {
|
14
25
|
this.disabled = this._parent.displayInfo.page == 1 || this._parent.disabled;
|
15
26
|
}
|
27
|
+
/**
|
28
|
+
* @ignore
|
29
|
+
*/
|
16
30
|
_emitOnFirstPageClick(e) {
|
17
31
|
if (this._parent.readonly || this._parent.disabled)
|
18
32
|
return;
|
19
33
|
this._parent.goFirstPage();
|
20
34
|
}
|
35
|
+
/**
|
36
|
+
* @ignore
|
37
|
+
*/
|
21
38
|
_emitOnPrevPageClick(e) {
|
22
39
|
if (this._parent.readonly || this._parent.disabled)
|
23
40
|
return;
|
@@ -62,4 +79,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
62
79
|
providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPrevButtonsComponent }, AXUnsubscriber],
|
63
80
|
}]
|
64
81
|
}] });
|
65
|
-
//# sourceMappingURL=data:application/json;base64,
|
82
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci1wcmV2LWJ1dHRvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2RhdGEtcGFn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kaXNhYmxlZCkgcmV0dXJuO1xuICAgIHRoaXMuX3BhcmVudC5nb0ZpcnN0UGFnZSgpO1xuICB9XG5cbiAgLyoqXG4gICAqICBAaWdub3JlXG4gICAqL1xuICBfZW1pdE9uUHJldlBhZ2VDbGljayhlOiBBWENsaWNrRXZlbnQpIHtcbiAgICBpZiAodGhpcy5fcGFyZW50LnJlYWRvbmx5IHx8IHRoaXMuX3BhcmVudC5kaXNhYmxlZCkgcmV0dXJuO1xuICAgIHRoaXMuX3BhcmVudC5nb1ByZXZQYWdlKCk7XG4gIH1cbn1cbiJdfQ==
|
@@ -12,16 +12,38 @@ import * as i5 from "./data-pager-numeric-selector.component";
|
|
12
12
|
import * as i6 from "./data-pager-input-selector.component";
|
13
13
|
import * as i7 from "./data-pager-info.component";
|
14
14
|
import * as i8 from "@acorex/components/common";
|
15
|
+
/**
|
16
|
+
* Component for managing and displaying data pagination controls.
|
17
|
+
*
|
18
|
+
* @category Components
|
19
|
+
*/
|
15
20
|
export class AXDataPagerComponent extends MXValueComponent {
|
21
|
+
/**
|
22
|
+
* Indicates whether the component is currently loading.
|
23
|
+
*
|
24
|
+
*/
|
16
25
|
get isLoading() {
|
17
26
|
return this._isLoading();
|
18
27
|
}
|
28
|
+
/**
|
29
|
+
* Sets the loading state of the component.
|
30
|
+
*
|
31
|
+
* @param v - The loading state to be set.
|
32
|
+
*/
|
19
33
|
set isLoading(v) {
|
20
34
|
this._isLoading.set(v);
|
21
35
|
}
|
36
|
+
/**
|
37
|
+
* Gets the number of items per page in the data pager.
|
38
|
+
*/
|
22
39
|
get size() {
|
23
40
|
return this._size || 10;
|
24
41
|
}
|
42
|
+
/**
|
43
|
+
* Sets the number of items per page and updates the data pager accordingly.
|
44
|
+
*
|
45
|
+
* @param {number} v - The new number of items per page.
|
46
|
+
*/
|
25
47
|
set size(v) {
|
26
48
|
if (v != this._size) {
|
27
49
|
const prevSize = this._size;
|
@@ -34,9 +56,18 @@ export class AXDataPagerComponent extends MXValueComponent {
|
|
34
56
|
this._emitChangedEvent(prevSize != null ? true : false);
|
35
57
|
}
|
36
58
|
}
|
59
|
+
/**
|
60
|
+
* Gets the total number of items.
|
61
|
+
*/
|
37
62
|
get total() {
|
38
63
|
return this._total;
|
39
64
|
}
|
65
|
+
/**
|
66
|
+
* Sets the total number of items and triggers an update event if the value changes.
|
67
|
+
*
|
68
|
+
* @param v - The total number of items to set.
|
69
|
+
* If the value is non-positive, it defaults to 0.
|
70
|
+
*/
|
40
71
|
set total(v) {
|
41
72
|
const t = v && v > 0 ? v : 0;
|
42
73
|
if (t != this._total) {
|
@@ -44,15 +75,31 @@ export class AXDataPagerComponent extends MXValueComponent {
|
|
44
75
|
this._emitChangedEvent();
|
45
76
|
}
|
46
77
|
}
|
78
|
+
/**
|
79
|
+
* Gets the total number of pages.
|
80
|
+
*/
|
47
81
|
get totalPages() {
|
48
82
|
return this._totalPages;
|
49
83
|
}
|
84
|
+
/**
|
85
|
+
* Sets the total number of pages.
|
86
|
+
*
|
87
|
+
* @param value - The total number of pages to set.
|
88
|
+
*/
|
50
89
|
set totalPages(value) {
|
51
90
|
this._totalPages = value;
|
52
91
|
}
|
92
|
+
/**
|
93
|
+
* Gets the current display mode of the data pager.
|
94
|
+
*/
|
53
95
|
get displayMode() {
|
54
96
|
return this._displayMode;
|
55
97
|
}
|
98
|
+
/**
|
99
|
+
* Sets the display mode of the data pager and emits a change event.
|
100
|
+
*
|
101
|
+
* @param v - The new display mode to set, of type `AXDataPagerMode`.
|
102
|
+
*/
|
56
103
|
set displayMode(v) {
|
57
104
|
this.setOption({
|
58
105
|
name: 'displayMode',
|
@@ -62,15 +109,43 @@ export class AXDataPagerComponent extends MXValueComponent {
|
|
62
109
|
},
|
63
110
|
});
|
64
111
|
}
|
112
|
+
/**
|
113
|
+
* @ignore
|
114
|
+
*/
|
65
115
|
constructor(_parent) {
|
66
116
|
super();
|
67
117
|
this._parent = _parent;
|
118
|
+
/**
|
119
|
+
* @ignore
|
120
|
+
*/
|
68
121
|
this._isLoading = signal(false);
|
122
|
+
/**
|
123
|
+
* @ignore
|
124
|
+
*/
|
69
125
|
this._size = null;
|
126
|
+
/**
|
127
|
+
* @ignore
|
128
|
+
*/
|
70
129
|
this._total = 0;
|
130
|
+
/**
|
131
|
+
* @ignore
|
132
|
+
*/
|
71
133
|
this._totalPages = 0;
|
134
|
+
/**
|
135
|
+
* Emitted when the display mode changes.
|
136
|
+
* @event
|
137
|
+
* An event containing the new display mode.
|
138
|
+
*/
|
72
139
|
this.displayModeChange = new EventEmitter();
|
140
|
+
/**
|
141
|
+
* @ignore
|
142
|
+
*/
|
73
143
|
this._displayMode = 'full';
|
144
|
+
/**
|
145
|
+
* Emitted when the data pager's state changes.
|
146
|
+
* @event
|
147
|
+
* An event containing details about the change.
|
148
|
+
*/
|
74
149
|
this.onChanged = new EventEmitter();
|
75
150
|
//
|
76
151
|
if (this._parent) {
|
@@ -83,12 +158,21 @@ export class AXDataPagerComponent extends MXValueComponent {
|
|
83
158
|
this.total = this._parent.totalCount;
|
84
159
|
}
|
85
160
|
}
|
161
|
+
/**
|
162
|
+
* @ignore
|
163
|
+
*/
|
86
164
|
ngAfterViewInit() {
|
87
165
|
this._emitChangedEvent();
|
88
166
|
}
|
167
|
+
/**
|
168
|
+
* @ignore
|
169
|
+
*/
|
89
170
|
internalValueChanged(value) {
|
90
171
|
this._emitChangedEvent(true);
|
91
172
|
}
|
173
|
+
/**
|
174
|
+
* @ignore
|
175
|
+
*/
|
92
176
|
internalGetValue(value) {
|
93
177
|
if (!isNumber(value) || !value || this.totalPages == 0)
|
94
178
|
return 1;
|
@@ -109,6 +193,9 @@ export class AXDataPagerComponent extends MXValueComponent {
|
|
109
193
|
};
|
110
194
|
return result;
|
111
195
|
}
|
196
|
+
/**
|
197
|
+
* @ignore
|
198
|
+
*/
|
112
199
|
_emitChangedEvent(u = false) {
|
113
200
|
this.totalPages = Math.ceil(this._total / this.size);
|
114
201
|
//
|
@@ -126,18 +213,39 @@ export class AXDataPagerComponent extends MXValueComponent {
|
|
126
213
|
this.cdr.markForCheck();
|
127
214
|
}
|
128
215
|
}
|
216
|
+
/**
|
217
|
+
* Navigates to the next page, or to the last page if on the final page.
|
218
|
+
* @ignore
|
219
|
+
*/
|
129
220
|
goNextPage() {
|
130
221
|
this.goToPage(Math.min(this.value + 1, this.totalPages));
|
131
222
|
}
|
223
|
+
/**
|
224
|
+
* Navigates to the last page.
|
225
|
+
* @ignore
|
226
|
+
*/
|
132
227
|
goLastPage() {
|
133
228
|
this.goToPage(this.totalPages);
|
134
229
|
}
|
230
|
+
/**
|
231
|
+
* Navigates to the first page.
|
232
|
+
* @ignore
|
233
|
+
*/
|
135
234
|
goFirstPage() {
|
136
235
|
this.goToPage(1);
|
137
236
|
}
|
237
|
+
/**
|
238
|
+
* Navigates to the previous page, or to the first page if on the initial page.
|
239
|
+
* @ignore
|
240
|
+
*/
|
138
241
|
goPrevPage() {
|
139
242
|
this.goToPage(Math.max(this.value - 1, 1));
|
140
243
|
}
|
244
|
+
/**
|
245
|
+
* Navigates to a specified page.
|
246
|
+
* @param page - The page number to navigate to.
|
247
|
+
* @ignore
|
248
|
+
*/
|
141
249
|
goToPage(page) {
|
142
250
|
if (page != this.value) {
|
143
251
|
this.commitValue(page, true);
|
@@ -181,4 +289,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
181
289
|
}], onChanged: [{
|
182
290
|
type: Output
|
183
291
|
}] } });
|
184
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZGF0YS1wYWdlci9zcmMvbGliL2RhdGEtcGFnZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL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dlci1udW1lcmljLXNlbGVjdG9yPlxuICAgIDwvYXgtZGF0YS1wYWdlci1udW1lcmljLXNlbGVjdG9yPlxuICAgIDxheC1kYXRhLXBhZ2VyLXBhZ2Utc2l6ZXM+XG4gICAgPC9heC1kYXRhLXBhZ2VyLXBhZ2Utc2l6ZXM+XG48L2F4LXByZWZpeD5cbjxheC1zdWZmaXg+XG4gICAgPGF4LWRhdGEtcGFnZXItaW5mbz5cbiAgICA8L2F4LWRhdGEtcGFnZXItaW5mbz5cbjwvYXgtc3VmZml4PlxufVxuQGNhc2UoJ2NvbXBhY3QnKXtcbjxheC1wcmVmaXg+XG4gICAgPGF4LWRhdGEtcGFnZXItcHJldi1idXR0b25zPlxuICAgIDwvYXgtZGF0YS1wYWdlci1wcmV2LWJ1dHRvbnM+XG4gICAgPGF4LWRhdGEtcGFnZXItaW5wdXQtc2VsZWN0b3I+XG4gICAgPC9heC1kYXRhLXBhZ2VyLWlucHV0LXNlbGVjdG9yPlxuICAgIDxheC1kYXRhLXBhZ2VyLW5leHQtYnV0dG9ucz5cbiAgICA8L2F4LWRhdGEtcGFnZXItbmV4dC1idXR0b25zPlxuPC9heC1wcmVmaXg+XG48YXgtc3VmZml4PlxuICAgIDxheC1kYXRhLXBhZ2VyLWluZm8+XG4gICAgPC9heC1kYXRhLXBhZ2VyLWluZm8+XG48L2F4LXN1ZmZpeD5cbn1cbkBkZWZhdWx0e1xuPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtcHJlZml4XCI+PC9uZy1jb250ZW50PlxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtc3VmZml4XCI+PC9uZy1jb250ZW50PlxufVxufSJdfQ==
|
@@ -4,24 +4,55 @@ import { Memorize } from '@acorex/core/memorize';
|
|
4
4
|
import { ChangeDetectionStrategy, Component, Input, TemplateRef, ViewChild, ViewEncapsulation, inject } from '@angular/core';
|
5
5
|
import { AXDataTableColumnComponent } from './data-table-column';
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
+
/**
|
8
|
+
* Component for a text column in a data table, supporting header, cell, and footer templates.
|
9
|
+
*
|
10
|
+
* @category Components
|
11
|
+
*/
|
7
12
|
export class AXDataTableTextColumnComponent extends AXDataTableColumnComponent {
|
8
13
|
constructor() {
|
9
14
|
super(...arguments);
|
15
|
+
/**
|
16
|
+
* Toggles text wrapping in the cell.
|
17
|
+
*
|
18
|
+
* @defaultValue false
|
19
|
+
*/
|
10
20
|
this.wrapText = false;
|
21
|
+
/**
|
22
|
+
* @ignore
|
23
|
+
*/
|
11
24
|
this.formatService = inject(AXFormatService);
|
12
25
|
}
|
26
|
+
/**
|
27
|
+
* Returns the template used for rendering cells.
|
28
|
+
* Falls back to a default template if no custom template is provided.
|
29
|
+
*/
|
13
30
|
get renderCellTemplate() {
|
14
31
|
return this.cellTemplate ?? this._contentCellTemplate;
|
15
32
|
}
|
33
|
+
/**
|
34
|
+
* Returns the template used for rendering the column footer,
|
35
|
+
* falling back to a default if not provided.
|
36
|
+
*/
|
16
37
|
get renderFooterTemplate() {
|
17
38
|
return this.footerTemplate ?? this._contentFooterTemplate;
|
18
39
|
}
|
40
|
+
/**
|
41
|
+
* Retrieves the template used for rendering the column header.
|
42
|
+
* Falls back to a default template if none is provided.
|
43
|
+
*/
|
19
44
|
get renderHeaderTemplate() {
|
20
45
|
return this.headerTemplate ?? this._contentHeaderTemplate;
|
21
46
|
}
|
47
|
+
/**
|
48
|
+
* Indicates whether loading functionality is enabled.
|
49
|
+
*/
|
22
50
|
get loadingEnabled() {
|
23
51
|
return true;
|
24
52
|
}
|
53
|
+
/**
|
54
|
+
* Generates a unique name based on the `dataField` value.
|
55
|
+
*/
|
25
56
|
get name() {
|
26
57
|
return `cl-${this.dataField}`;
|
27
58
|
}
|
@@ -94,4 +125,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
94
125
|
}], formatOptions: [{
|
95
126
|
type: Input
|
96
127
|
}] } });
|
97
|
-
//# sour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