@acorex/components 18.16.0-next.8 → 18.16.0
Sign up to get free protection for your applications and to get access to all the features.
- package/color-palette/lib/color-palette-picker.component.d.ts +1 -5
- package/comment/lib/comment-tools/comment-like/comment-like.component.d.ts +4 -2
- package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +31 -1
- package/fesm2022/acorex-components-action-sheet.mjs +11 -11
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +8 -8
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +8 -8
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +12 -11
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +8 -8
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +12 -12
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +12 -12
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +12 -11
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +16 -15
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +15 -15
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +8 -8
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +8 -8
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +8 -8
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +12 -11
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +8 -8
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +53 -63
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +43 -38
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +100 -89
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +104 -77
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +54 -54
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +38 -32
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +42 -36
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +8 -8
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +8 -8
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +8 -8
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +20 -19
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +11 -11
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +16 -16
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +8 -8
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +15 -15
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +21 -18
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +46 -43
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +8 -8
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +9 -9
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +8 -8
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +8 -8
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +11 -11
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +19 -18
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +268 -11
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +51 -51
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +19 -19
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-nav.mjs +12 -12
- package/fesm2022/acorex-components-nav.mjs.map +1 -1
- package/fesm2022/acorex-components-navbar.mjs +8 -8
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +11 -11
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +8 -8
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +9 -9
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-paint.mjs +46 -35
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +12 -12
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +8 -8
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +12 -11
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +8 -8
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +11 -11
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +8 -8
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +8 -8
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +8 -8
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +18 -11
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +8 -8
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +8 -8
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +8 -8
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +16 -16
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-search-box.mjs +8 -8
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +8 -8
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +8 -8
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +12 -12
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +8 -8
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +8 -8
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +16 -15
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +12 -11
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +44 -46
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +8 -8
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +8 -8
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +12 -11
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +14 -14
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +11 -11
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +12 -11
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +13 -13
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +27 -25
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +47 -47
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +1 -0
- package/map/index.d.ts +2 -1
- package/map/lib/map.component.d.ts +1 -1
- package/map/lib/map.config.d.ts +13 -0
- package/map/lib/map.service.d.ts +37 -0
- package/package.json +4 -166
- package/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.d.ts +5 -2
- package/paint/lib/paint/paint-view/paint-view.component.d.ts +6 -1
- package/range-slider/lib/range-slider.component.d.ts +1 -0
- package/esm2022/acorex-components.mjs +0 -5
- package/esm2022/action-sheet/acorex-components-action-sheet.mjs +0 -5
- package/esm2022/action-sheet/index.mjs +0 -5
- package/esm2022/action-sheet/lib/action-sheet.class.mjs +0 -2
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +0 -109
- package/esm2022/action-sheet/lib/action-sheet.module.mjs +0 -54
- package/esm2022/action-sheet/lib/action-sheet.service.mjs +0 -60
- package/esm2022/alert/acorex-components-alert.mjs +0 -5
- package/esm2022/alert/index.mjs +0 -3
- package/esm2022/alert/lib/alert.component.mjs +0 -142
- package/esm2022/alert/lib/alert.module.mjs +0 -22
- package/esm2022/audio-wave/acorex-components-audio-wave.mjs +0 -5
- package/esm2022/audio-wave/index.mjs +0 -4
- package/esm2022/audio-wave/lib/audio-wave.component.mjs +0 -347
- package/esm2022/audio-wave/lib/audio-wave.module.mjs +0 -22
- package/esm2022/audio-wave/lib/interfaces/audio-wave.interface.mjs +0 -2
- package/esm2022/avatar/acorex-components-avatar.mjs +0 -5
- package/esm2022/avatar/index.mjs +0 -4
- package/esm2022/avatar/lib/avatar-group.component.mjs +0 -14
- package/esm2022/avatar/lib/avatar.component.mjs +0 -54
- package/esm2022/avatar/lib/avatar.module.mjs +0 -22
- package/esm2022/badge/acorex-components-badge.mjs +0 -5
- package/esm2022/badge/index.mjs +0 -3
- package/esm2022/badge/lib/badge.component.mjs +0 -30
- package/esm2022/badge/lib/badge.module.mjs +0 -19
- package/esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs +0 -5
- package/esm2022/bottom-navigation/index.mjs +0 -4
- package/esm2022/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.mjs +0 -46
- package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +0 -67
- package/esm2022/bottom-navigation/lib/bottom-navigation.module.mjs +0 -22
- package/esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs +0 -5
- package/esm2022/breadcrumbs/index.mjs +0 -5
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.class.mjs +0 -2
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +0 -41
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +0 -31
- package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +0 -21
- package/esm2022/button/acorex-components-button.mjs +0 -5
- package/esm2022/button/index.mjs +0 -7
- package/esm2022/button/lib/button-item-list.component.mjs +0 -153
- package/esm2022/button/lib/button-item.class.mjs +0 -2
- package/esm2022/button/lib/button-item.component.mjs +0 -152
- package/esm2022/button/lib/button.class.mjs +0 -2
- package/esm2022/button/lib/button.component.mjs +0 -116
- package/esm2022/button/lib/button.module.mjs +0 -26
- package/esm2022/button-group/acorex-components-button-group.mjs +0 -5
- package/esm2022/button-group/index.mjs +0 -4
- package/esm2022/button-group/lib/button-group-item.component.mjs +0 -141
- package/esm2022/button-group/lib/button-group.component.mjs +0 -170
- package/esm2022/button-group/lib/button-group.module.mjs +0 -23
- package/esm2022/calendar/acorex-components-calendar.mjs +0 -5
- package/esm2022/calendar/index.mjs +0 -5
- package/esm2022/calendar/lib/calendar-range.component.mjs +0 -248
- package/esm2022/calendar/lib/calendar.class.mjs +0 -163
- package/esm2022/calendar/lib/calendar.component.mjs +0 -631
- package/esm2022/calendar/lib/calendar.module.mjs +0 -26
- package/esm2022/check-box/acorex-components-check-box.mjs +0 -5
- package/esm2022/check-box/index.mjs +0 -3
- package/esm2022/check-box/lib/check-box.component.mjs +0 -138
- package/esm2022/check-box/lib/check-box.module.mjs +0 -21
- package/esm2022/chips/acorex-components-chips.mjs +0 -5
- package/esm2022/chips/index.mjs +0 -3
- package/esm2022/chips/lib/chips.component.mjs +0 -36
- package/esm2022/chips/lib/chips.module.mjs +0 -19
- package/esm2022/circular-progress/acorex-components-circular-progress.mjs +0 -5
- package/esm2022/circular-progress/index.mjs +0 -3
- package/esm2022/circular-progress/lib/circular-progress.component.mjs +0 -95
- package/esm2022/circular-progress/lib/circular-progress.module.mjs +0 -17
- package/esm2022/collapse/acorex-components-collapse.mjs +0 -5
- package/esm2022/collapse/index.mjs +0 -4
- package/esm2022/collapse/lib/collapse-group.component.mjs +0 -171
- package/esm2022/collapse/lib/collapse.component.mjs +0 -198
- package/esm2022/collapse/lib/collapse.module.mjs +0 -21
- package/esm2022/color-box/acorex-components-color-box.mjs +0 -5
- package/esm2022/color-box/index.mjs +0 -3
- package/esm2022/color-box/lib/color-box.component.mjs +0 -92
- package/esm2022/color-box/lib/color-box.module.mjs +0 -24
- package/esm2022/color-palette/acorex-components-color-palette.mjs +0 -5
- package/esm2022/color-palette/index.mjs +0 -8
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +0 -157
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +0 -277
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +0 -80
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +0 -121
- package/esm2022/color-palette/lib/color-palette.class.mjs +0 -238
- package/esm2022/color-palette/lib/color-palette.component.mjs +0 -58
- package/esm2022/color-palette/lib/color-palette.module.mjs +0 -66
- package/esm2022/comment/acorex-components-comment.mjs +0 -5
- package/esm2022/comment/index.mjs +0 -10
- package/esm2022/comment/lib/comment-container/comment-container.component.mjs +0 -37
- package/esm2022/comment/lib/comment-item/comment-item.component.mjs +0 -37
- package/esm2022/comment/lib/comment-tools/comment-date/comment-date.component.mjs +0 -16
- package/esm2022/comment/lib/comment-tools/comment-like/comment-like.component.mjs +0 -23
- package/esm2022/comment/lib/comment-tools/comment-menu-options/comment-menu-options.component.mjs +0 -16
- package/esm2022/comment/lib/comment-tools/comment-reply-more/comment-reply-more.component.mjs +0 -12
- package/esm2022/comment/lib/comment-tools/comment-reply-text/comment-reply-text.component.mjs +0 -12
- package/esm2022/comment/lib/comment-view/comment-view.component.mjs +0 -15
- package/esm2022/comment/lib/comment.module.mjs +0 -71
- package/esm2022/common/acorex-components-common.mjs +0 -5
- package/esm2022/common/index.mjs +0 -31
- package/esm2022/common/lib/classes/components.class.mjs +0 -76
- package/esm2022/common/lib/classes/datalist.class.mjs +0 -50
- package/esm2022/common/lib/classes/datasource.class.mjs +0 -134
- package/esm2022/common/lib/classes/events.class.mjs +0 -79
- package/esm2022/common/lib/classes/styles.class.mjs +0 -13
- package/esm2022/common/lib/common.module.mjs +0 -22
- package/esm2022/common/lib/components/base-component.class.mjs +0 -74
- package/esm2022/common/lib/components/button-base-component.class.mjs +0 -88
- package/esm2022/common/lib/components/color-component.class.mjs +0 -25
- package/esm2022/common/lib/components/colorlook-component.class.mjs +0 -6
- package/esm2022/common/lib/components/input-base-value-component.class.mjs +0 -54
- package/esm2022/common/lib/components/interactive-component.class.mjs +0 -129
- package/esm2022/common/lib/components/look-component.class.mjs +0 -33
- package/esm2022/common/lib/components/selection-base.component.class.mjs +0 -233
- package/esm2022/common/lib/components/value-component.class.mjs +0 -232
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +0 -63
- package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +0 -51
- package/esm2022/common/lib/directives/hotkey.directive.mjs +0 -80
- package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +0 -60
- package/esm2022/common/lib/directives/inverted-color.directive.mjs +0 -52
- package/esm2022/common/lib/directives/responsive.directive.mjs +0 -37
- package/esm2022/common/lib/directives/ripple.directive.mjs +0 -65
- package/esm2022/common/lib/services/dom.service.mjs +0 -16
- package/esm2022/common/lib/services/hotkey.service.mjs +0 -52
- package/esm2022/common/lib/types/base/button.type.mjs +0 -18
- package/esm2022/common/lib/types/base/color.type.mjs +0 -16
- package/esm2022/common/lib/types/base/component.types.mjs +0 -27
- package/esm2022/common/lib/types/base/events.types.mjs +0 -19
- package/esm2022/common/lib/types/base/index.mjs +0 -8
- package/esm2022/common/lib/types/base/interactive.type.mjs +0 -31
- package/esm2022/common/lib/types/base/look.type.mjs +0 -16
- package/esm2022/common/lib/types/base/value.type.mjs +0 -19
- package/esm2022/common/lib/types/direction.mjs +0 -2
- package/esm2022/common/lib/types/orientation.mjs +0 -2
- package/esm2022/common/lib/types/placement.mjs +0 -166
- package/esm2022/common/lib/types/range.mjs +0 -2
- package/esm2022/common/lib/types/selection-mode.mjs +0 -5
- package/esm2022/conversation/acorex-components-conversation.mjs +0 -5
- package/esm2022/conversation/index.mjs +0 -19
- package/esm2022/conversation/lib/classes/events.interface.mjs +0 -4
- package/esm2022/conversation/lib/conversation-container/conversation-container.component.mjs +0 -15
- package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +0 -193
- package/esm2022/conversation/lib/conversation-input/conversation-input.interface.mjs +0 -2
- package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +0 -110
- package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +0 -120
- package/esm2022/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.mjs +0 -79
- package/esm2022/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.mjs +0 -69
- package/esm2022/conversation/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.mjs +0 -24
- package/esm2022/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.mjs +0 -130
- package/esm2022/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.mjs +0 -31
- package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +0 -190
- package/esm2022/conversation/lib/conversation-view/conversation-view.component.mjs +0 -52
- package/esm2022/conversation/lib/conversation.module.mjs +0 -200
- package/esm2022/conversation/lib/conversation.types.mjs +0 -10
- package/esm2022/conversation/lib/services/conversation-message-type-registry.service.mjs +0 -20
- package/esm2022/conversation/lib/services/conversation.service.mjs +0 -14
- package/esm2022/conversation/lib/services/recording.service.mjs +0 -76
- package/esm2022/cron-job/acorex-components-cron-job.mjs +0 -5
- package/esm2022/cron-job/index.mjs +0 -9
- package/esm2022/cron-job/lib/cron-job-container/cron-job-container.component.mjs +0 -107
- package/esm2022/cron-job/lib/cron-job.module.mjs +0 -80
- package/esm2022/cron-job/lib/cron-job.service.mjs +0 -60
- package/esm2022/cron-job/lib/day/day.component.mjs +0 -66
- package/esm2022/cron-job/lib/day/day.model.mjs +0 -88
- package/esm2022/cron-job/lib/day/day.service.mjs +0 -196
- package/esm2022/cron-job/lib/hours/hours.component.mjs +0 -43
- package/esm2022/cron-job/lib/hours/hours.model.mjs +0 -8
- package/esm2022/cron-job/lib/hours/hours.service.mjs +0 -82
- package/esm2022/cron-job/lib/minutes/minutes.component.mjs +0 -43
- package/esm2022/cron-job/lib/minutes/minutes.model.mjs +0 -8
- package/esm2022/cron-job/lib/minutes/minutes.service.mjs +0 -82
- package/esm2022/cron-job/lib/month/month.component.mjs +0 -52
- package/esm2022/cron-job/lib/month/month.model.mjs +0 -8
- package/esm2022/cron-job/lib/month/month.service.mjs +0 -96
- package/esm2022/cron-job/lib/seconds/seconds.component.mjs +0 -43
- package/esm2022/cron-job/lib/seconds/seconds.model.mjs +0 -8
- package/esm2022/cron-job/lib/seconds/seconds.service.mjs +0 -82
- package/esm2022/cron-job/lib/types/iexpression.mjs +0 -2
- package/esm2022/cron-job/lib/types/shared.model.mjs +0 -49
- package/esm2022/cron-job/lib/year/year.component.mjs +0 -50
- package/esm2022/cron-job/lib/year/year.model.mjs +0 -28
- package/esm2022/cron-job/lib/year/year.service.mjs +0 -82
- package/esm2022/data-pager/acorex-components-data-pager.mjs +0 -5
- package/esm2022/data-pager/index.mjs +0 -10
- package/esm2022/data-pager/lib/data-pager-base.component.mjs +0 -52
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +0 -50
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +0 -90
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +0 -113
- package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +0 -166
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +0 -105
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +0 -112
- package/esm2022/data-pager/lib/data-pager.component.mjs +0 -298
- package/esm2022/data-pager/lib/data-pager.module.mjs +0 -73
- package/esm2022/data-table/acorex-components-data-table.mjs +0 -5
- package/esm2022/data-table/index.mjs +0 -11
- package/esm2022/data-table/lib/base-data-table.class.mjs +0 -46
- package/esm2022/data-table/lib/columns/data-table-column-resizable.directive.mjs +0 -61
- package/esm2022/data-table/lib/columns/data-table-column.mjs +0 -34
- package/esm2022/data-table/lib/columns/data-text-column.component.mjs +0 -128
- package/esm2022/data-table/lib/columns/row-command-column.component.mjs +0 -343
- package/esm2022/data-table/lib/columns/row-index-column.component.mjs +0 -128
- package/esm2022/data-table/lib/columns/row-select-column.component.mjs +0 -168
- package/esm2022/data-table/lib/data-table/data-table.component.mjs +0 -513
- package/esm2022/data-table/lib/data-table.module.mjs +0 -107
- package/esm2022/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.mjs +0 -438
- package/esm2022/datetime-box/acorex-components-datetime-box.mjs +0 -5
- package/esm2022/datetime-box/index.mjs +0 -3
- package/esm2022/datetime-box/lib/datetime-box.component.mjs +0 -186
- package/esm2022/datetime-box/lib/datetime-box.module.mjs +0 -26
- package/esm2022/datetime-input/acorex-components-datetime-input.mjs +0 -5
- package/esm2022/datetime-input/index.mjs +0 -3
- package/esm2022/datetime-input/lib/datetime-input.component.mjs +0 -673
- package/esm2022/datetime-input/lib/datetime-input.module.mjs +0 -23
- package/esm2022/datetime-picker/acorex-components-datetime-picker.mjs +0 -5
- package/esm2022/datetime-picker/index.mjs +0 -4
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +0 -389
- package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +0 -22
- package/esm2022/datetime-picker/lib/datetime-picker.module.mjs +0 -44
- package/esm2022/decorators/acorex-components-decorators.mjs +0 -5
- package/esm2022/decorators/index.mjs +0 -6
- package/esm2022/decorators/lib/components/clear-button.component.mjs +0 -80
- package/esm2022/decorators/lib/components/close-button.component.mjs +0 -65
- package/esm2022/decorators/lib/components/generic-content.component.mjs +0 -42
- package/esm2022/decorators/lib/components/icon.component.mjs +0 -37
- package/esm2022/decorators/lib/decorators.module.mjs +0 -24
- package/esm2022/dialog/acorex-components-dialog.mjs +0 -5
- package/esm2022/dialog/index.mjs +0 -5
- package/esm2022/dialog/lib/dialog.class.mjs +0 -2
- package/esm2022/dialog/lib/dialog.component.mjs +0 -77
- package/esm2022/dialog/lib/dialog.module.mjs +0 -48
- package/esm2022/dialog/lib/dialog.service.mjs +0 -168
- package/esm2022/drawer/acorex-components-drawer.mjs +0 -5
- package/esm2022/drawer/index.mjs +0 -4
- package/esm2022/drawer/lib/drawer/drawer-container/drawer-container.component.mjs +0 -32
- package/esm2022/drawer/lib/drawer/drawer-item/drawer.component.mjs +0 -157
- package/esm2022/drawer/lib/drawer.module.mjs +0 -22
- package/esm2022/drawer/lib/drawer.service.mjs +0 -13
- package/esm2022/dropdown/acorex-components-dropdown.mjs +0 -5
- package/esm2022/dropdown/index.mjs +0 -5
- package/esm2022/dropdown/lib/dropdown-box.class.mjs +0 -50
- package/esm2022/dropdown/lib/dropdown-box.component.mjs +0 -160
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +0 -221
- package/esm2022/dropdown/lib/dropdown.module.mjs +0 -25
- package/esm2022/dropdown-button/acorex-components-dropdown-button.mjs +0 -5
- package/esm2022/dropdown-button/index.mjs +0 -3
- package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +0 -124
- package/esm2022/dropdown-button/lib/dropdown-button.module.mjs +0 -26
- package/esm2022/form/acorex-components-form.mjs +0 -5
- package/esm2022/form/index.mjs +0 -7
- package/esm2022/form/lib/form-field.component.mjs +0 -142
- package/esm2022/form/lib/form.component.mjs +0 -205
- package/esm2022/form/lib/form.config.mjs +0 -16
- package/esm2022/form/lib/form.module.mjs +0 -27
- package/esm2022/form/lib/validation-rule.directive.mjs +0 -36
- package/esm2022/form/lib/validation-summary.component.mjs +0 -157
- package/esm2022/image/acorex-components-image.mjs +0 -5
- package/esm2022/image/index.mjs +0 -3
- package/esm2022/image/lib/image.component.mjs +0 -118
- package/esm2022/image/lib/image.module.mjs +0 -19
- package/esm2022/image-editor/acorex-components-image-editor.mjs +0 -5
- package/esm2022/image-editor/index.mjs +0 -8
- package/esm2022/image-editor/lib/image-editor-container/image-editor-container.component.mjs +0 -24
- package/esm2022/image-editor/lib/image-editor-toolbar/image-editor-toolbar.component.mjs +0 -69
- package/esm2022/image-editor/lib/image-editor-tools/image-editor-color-picker/image-editor-color-picker.component.mjs +0 -36
- package/esm2022/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.mjs +0 -37
- package/esm2022/image-editor/lib/image-editor-tools/image-editor-pen-mode-changer/image-editor-pen-mode-changer.component.mjs +0 -57
- package/esm2022/image-editor/lib/image-editor-view/image-editor-view.component.mjs +0 -359
- package/esm2022/image-editor/lib/image-editor.module.mjs +0 -72
- package/esm2022/image-editor/lib/image-editor.service.mjs +0 -23
- package/esm2022/index.mjs +0 -2
- package/esm2022/json-viewer/acorex-components-json-viewer.mjs +0 -5
- package/esm2022/json-viewer/index.mjs +0 -3
- package/esm2022/json-viewer/lib/json-viewer/json-viewer.component.mjs +0 -43
- package/esm2022/json-viewer/lib/json-viewer.module.mjs +0 -23
- package/esm2022/label/acorex-components-label.mjs +0 -5
- package/esm2022/label/index.mjs +0 -3
- package/esm2022/label/lib/label.component.mjs +0 -78
- package/esm2022/label/lib/label.module.mjs +0 -21
- package/esm2022/list/acorex-components-list.mjs +0 -5
- package/esm2022/list/index.mjs +0 -3
- package/esm2022/list/lib/list.component.mjs +0 -295
- package/esm2022/list/lib/list.module.mjs +0 -23
- package/esm2022/loading/acorex-components-loading.mjs +0 -5
- package/esm2022/loading/index.mjs +0 -7
- package/esm2022/loading/lib/loading-spinner.component.mjs +0 -62
- package/esm2022/loading/lib/loading.component.mjs +0 -80
- package/esm2022/loading/lib/loading.config.mjs +0 -17
- package/esm2022/loading/lib/loading.directive.mjs +0 -39
- package/esm2022/loading/lib/loading.module.mjs +0 -27
- package/esm2022/loading/lib/loading.service.mjs +0 -123
- package/esm2022/loading-dialog/acorex-components-loading-dialog.mjs +0 -5
- package/esm2022/loading-dialog/index.mjs +0 -5
- package/esm2022/loading-dialog/lib/loading-dialog.class.mjs +0 -2
- package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +0 -98
- package/esm2022/loading-dialog/lib/loading-dialog.module.mjs +0 -27
- package/esm2022/loading-dialog/lib/loading-dialog.service.mjs +0 -37
- package/esm2022/map/acorex-components-map.mjs +0 -5
- package/esm2022/map/index.mjs +0 -3
- package/esm2022/map/lib/map.component.mjs +0 -182
- package/esm2022/map/lib/map.module.mjs +0 -18
- package/esm2022/media-viewer/acorex-components-media-viewer.mjs +0 -5
- package/esm2022/media-viewer/index.mjs +0 -12
- package/esm2022/media-viewer/lib/media-viewer-container/media-viewer-container.component.mjs +0 -52
- package/esm2022/media-viewer/lib/media-viewer-slider/media-viewer-slider.component.mjs +0 -37
- package/esm2022/media-viewer/lib/media-viewer-thumbnail/media-viewer-thumbnail.component.mjs +0 -24
- package/esm2022/media-viewer/lib/media-viewer-tools/audio-player/audio-player.component.mjs +0 -19
- package/esm2022/media-viewer/lib/media-viewer-tools/file-info/file-info.component.mjs +0 -21
- package/esm2022/media-viewer/lib/media-viewer-tools/full-screen/full-screen.component.mjs +0 -20
- package/esm2022/media-viewer/lib/media-viewer-tools/image-viewer/image-viewer.component.mjs +0 -15
- package/esm2022/media-viewer/lib/media-viewer-tools/pdf-reader/pdf-reader.component.mjs +0 -17
- package/esm2022/media-viewer/lib/media-viewer-tools/video-player/video-player.component.mjs +0 -19
- package/esm2022/media-viewer/lib/media-viewer-type-registry.service.mjs +0 -20
- package/esm2022/media-viewer/lib/media-viewer-types.mjs +0 -10
- package/esm2022/media-viewer/lib/media-viewer.module.mjs +0 -140
- package/esm2022/media-viewer/lib/media-viewer.service.mjs +0 -15
- package/esm2022/menu/acorex-components-menu.mjs +0 -5
- package/esm2022/menu/index.mjs +0 -7
- package/esm2022/menu/lib/context-menu.component.mjs +0 -251
- package/esm2022/menu/lib/menu-item.component.mjs +0 -310
- package/esm2022/menu/lib/menu.component.mjs +0 -58
- package/esm2022/menu/lib/menu.module.mjs +0 -28
- package/esm2022/menu/lib/menu.service.mjs +0 -19
- package/esm2022/menu/lib/menu.types.mjs +0 -14
- package/esm2022/nav/acorex-components-nav.mjs +0 -5
- package/esm2022/nav/index.mjs +0 -4
- package/esm2022/nav/lib/nav-item/nav-item.component.mjs +0 -63
- package/esm2022/nav/lib/nav.component.mjs +0 -16
- package/esm2022/nav/lib/nav.module.mjs +0 -23
- package/esm2022/navbar/acorex-components-navbar.mjs +0 -5
- package/esm2022/navbar/index.mjs +0 -3
- package/esm2022/navbar/lib/navbar.component.mjs +0 -23
- package/esm2022/navbar/lib/navbar.module.mjs +0 -18
- package/esm2022/notification/acorex-components-notification.mjs +0 -5
- package/esm2022/notification/index.mjs +0 -6
- package/esm2022/notification/lib/notification.class.mjs +0 -2
- package/esm2022/notification/lib/notification.component.mjs +0 -110
- package/esm2022/notification/lib/notification.config.mjs +0 -21
- package/esm2022/notification/lib/notification.module.mjs +0 -28
- package/esm2022/notification/lib/notification.service.mjs +0 -195
- package/esm2022/number-box/acorex-components-number-box.mjs +0 -5
- package/esm2022/number-box/index.mjs +0 -3
- package/esm2022/number-box/lib/number-box.component.mjs +0 -378
- package/esm2022/number-box/lib/number-box.module.mjs +0 -25
- package/esm2022/otp/acorex-components-otp.mjs +0 -5
- package/esm2022/otp/index.mjs +0 -4
- package/esm2022/otp/lib/otp.class.mjs +0 -4
- package/esm2022/otp/lib/otp.component.mjs +0 -195
- package/esm2022/otp/lib/otp.module.mjs +0 -22
- package/esm2022/page/acorex-components-page.mjs +0 -5
- package/esm2022/page/index.mjs +0 -4
- package/esm2022/page/lib/base-page.class.mjs +0 -62
- package/esm2022/page/lib/page.component.mjs +0 -58
- package/esm2022/page/lib/page.module.mjs +0 -18
- package/esm2022/paint/acorex-components-paint.mjs +0 -5
- package/esm2022/paint/index.mjs +0 -7
- package/esm2022/paint/lib/paint/paint-container/paint-container.component.mjs +0 -41
- package/esm2022/paint/lib/paint/paint-toolbar/paint-toolbar.component.mjs +0 -15
- package/esm2022/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.mjs +0 -36
- package/esm2022/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.mjs +0 -56
- package/esm2022/paint/lib/paint/paint-view/paint-view.component.mjs +0 -158
- package/esm2022/paint/lib/paint/paint.service.mjs +0 -16
- package/esm2022/paint/lib/paint.module.mjs +0 -62
- package/esm2022/password-box/acorex-components-password-box.mjs +0 -5
- package/esm2022/password-box/index.mjs +0 -4
- package/esm2022/password-box/lib/password-box.component.mjs +0 -93
- package/esm2022/password-box/lib/password-box.module.mjs +0 -42
- package/esm2022/password-box/lib/password-strength-validation/password-strength-validation.component.mjs +0 -71
- package/esm2022/phone-box/acorex-components-phone-box.mjs +0 -5
- package/esm2022/phone-box/index.mjs +0 -3
- package/esm2022/phone-box/lib/phone-box.component.mjs +0 -207
- package/esm2022/phone-box/lib/phone-box.module.mjs +0 -44
- package/esm2022/picker/acorex-components-picker.mjs +0 -5
- package/esm2022/picker/index.mjs +0 -4
- package/esm2022/picker/lib/picker-column.directive.mjs +0 -66
- package/esm2022/picker/lib/picker.component.mjs +0 -193
- package/esm2022/picker/lib/picker.module.mjs +0 -22
- package/esm2022/popover/acorex-components-popover.mjs +0 -5
- package/esm2022/popover/index.mjs +0 -3
- package/esm2022/popover/lib/popover.component.mjs +0 -525
- package/esm2022/popover/lib/popover.module.mjs +0 -19
- package/esm2022/popup/acorex-components-popup.mjs +0 -5
- package/esm2022/popup/index.mjs +0 -5
- package/esm2022/popup/lib/popup.component.mjs +0 -178
- package/esm2022/popup/lib/popup.interface.mjs +0 -2
- package/esm2022/popup/lib/popup.module.mjs +0 -45
- package/esm2022/popup/lib/popup.service.mjs +0 -69
- package/esm2022/progress-bar/acorex-components-progress-bar.mjs +0 -5
- package/esm2022/progress-bar/index.mjs +0 -3
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +0 -86
- package/esm2022/progress-bar/lib/progress-bar.module.mjs +0 -19
- package/esm2022/qrcode/acorex-components-qrcode.mjs +0 -5
- package/esm2022/qrcode/index.mjs +0 -4
- package/esm2022/qrcode/lib/qrcode.class.mjs +0 -12
- package/esm2022/qrcode/lib/qrcode.component.mjs +0 -93
- package/esm2022/qrcode/lib/qrcode.module.mjs +0 -18
- package/esm2022/radio/acorex-components-radio.mjs +0 -5
- package/esm2022/radio/index.mjs +0 -3
- package/esm2022/radio/lib/radio.component.mjs +0 -57
- package/esm2022/radio/lib/radio.module.mjs +0 -22
- package/esm2022/range-slider/acorex-components-range-slider.mjs +0 -5
- package/esm2022/range-slider/index.mjs +0 -4
- package/esm2022/range-slider/lib/range-slider.class.mjs +0 -3
- package/esm2022/range-slider/lib/range-slider.component.mjs +0 -650
- package/esm2022/range-slider/lib/range-slider.module.mjs +0 -18
- package/esm2022/rate-picker/acorex-components-rate-picker.mjs +0 -5
- package/esm2022/rate-picker/index.mjs +0 -3
- package/esm2022/rate-picker/lib/calculatePercentage.mjs +0 -45
- package/esm2022/rate-picker/lib/rate-picker.component.mjs +0 -253
- package/esm2022/rate-picker/lib/rate-picker.module.mjs +0 -18
- package/esm2022/result/acorex-components-result.mjs +0 -5
- package/esm2022/result/index.mjs +0 -3
- package/esm2022/result/lib/result.component.mjs +0 -41
- package/esm2022/result/lib/result.module.mjs +0 -19
- package/esm2022/routing-progress/acorex-components-routing-progress.mjs +0 -5
- package/esm2022/routing-progress/index.mjs +0 -3
- package/esm2022/routing-progress/lib/routing-progress.component.mjs +0 -72
- package/esm2022/routing-progress/lib/routing-progress.module.mjs +0 -21
- package/esm2022/scheduler/acorex-components-scheduler.mjs +0 -5
- package/esm2022/scheduler/index.mjs +0 -5
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +0 -72
- package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +0 -16
- package/esm2022/scheduler/lib/scheduler.component.mjs +0 -54
- package/esm2022/scheduler/lib/scheduler.module.mjs +0 -27
- package/esm2022/scss/acorex-components-scss.mjs +0 -5
- package/esm2022/scss/index.mjs +0 -2
- package/esm2022/scss/lib/scss.module.mjs +0 -15
- package/esm2022/search-box/acorex-components-search-box.mjs +0 -5
- package/esm2022/search-box/index.mjs +0 -3
- package/esm2022/search-box/lib/search-box.component.mjs +0 -90
- package/esm2022/search-box/lib/search-box.module.mjs +0 -46
- package/esm2022/select-box/acorex-components-select-box.mjs +0 -5
- package/esm2022/select-box/index.mjs +0 -3
- package/esm2022/select-box/lib/select-box.component.mjs +0 -368
- package/esm2022/select-box/lib/select-box.module.mjs +0 -69
- package/esm2022/selection-list/acorex-components-selection-list.mjs +0 -5
- package/esm2022/selection-list/index.mjs +0 -3
- package/esm2022/selection-list/lib/selection-list.component.mjs +0 -173
- package/esm2022/selection-list/lib/selection-list.module.mjs +0 -24
- package/esm2022/side-menu/acorex-components-side-menu.mjs +0 -5
- package/esm2022/side-menu/index.mjs +0 -4
- package/esm2022/side-menu/lib/side-menu-item/side-menu-item.component.mjs +0 -87
- package/esm2022/side-menu/lib/side-menu.component.mjs +0 -16
- package/esm2022/side-menu/lib/side-menu.module.mjs +0 -43
- package/esm2022/skeleton/acorex-components-skeleton.mjs +0 -5
- package/esm2022/skeleton/index.mjs +0 -3
- package/esm2022/skeleton/lib/skeleton.component.mjs +0 -34
- package/esm2022/skeleton/lib/skeleton.module.mjs +0 -18
- package/esm2022/slider/acorex-components-slider.mjs +0 -5
- package/esm2022/slider/index.mjs +0 -3
- package/esm2022/slider/lib/slider.component.mjs +0 -163
- package/esm2022/slider/lib/slider.module.mjs +0 -23
- package/esm2022/step-wizard/acorex-components-step-wizard.mjs +0 -5
- package/esm2022/step-wizard/index.mjs +0 -6
- package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +0 -70
- package/esm2022/step-wizard/lib/step-wizard.class.mjs +0 -2
- package/esm2022/step-wizard/lib/step-wizard.component.mjs +0 -151
- package/esm2022/step-wizard/lib/step-wizard.directive.mjs +0 -28
- package/esm2022/step-wizard/lib/step-wizard.module.mjs +0 -25
- package/esm2022/switch/acorex-components-switch.mjs +0 -5
- package/esm2022/switch/index.mjs +0 -4
- package/esm2022/switch/lib/switch-content.component.mjs +0 -19
- package/esm2022/switch/lib/switch.component.mjs +0 -54
- package/esm2022/switch/lib/switch.module.mjs +0 -21
- package/esm2022/tabs/acorex-components-tabs.mjs +0 -5
- package/esm2022/tabs/index.mjs +0 -6
- package/esm2022/tabs/lib/tab-content.directive.mjs +0 -28
- package/esm2022/tabs/lib/tab-item.component.mjs +0 -149
- package/esm2022/tabs/lib/tabs.class.mjs +0 -4
- package/esm2022/tabs/lib/tabs.component.mjs +0 -183
- package/esm2022/tabs/lib/tabs.module.mjs +0 -25
- package/esm2022/tag/acorex-components-tag.mjs +0 -5
- package/esm2022/tag/index.mjs +0 -3
- package/esm2022/tag/lib/tag.component.mjs +0 -25
- package/esm2022/tag/lib/tag.module.mjs +0 -19
- package/esm2022/text-area/acorex-components-text-area.mjs +0 -5
- package/esm2022/text-area/index.mjs +0 -3
- package/esm2022/text-area/lib/text-area.component.mjs +0 -76
- package/esm2022/text-area/lib/text-area.module.mjs +0 -19
- package/esm2022/text-box/acorex-components-text-box.mjs +0 -5
- package/esm2022/text-box/index.mjs +0 -4
- package/esm2022/text-box/lib/mask-options.directive.mjs +0 -29
- package/esm2022/text-box/lib/text-box.component.mjs +0 -153
- package/esm2022/text-box/lib/text-box.module.mjs +0 -24
- package/esm2022/time-line/acorex-components-time-line.mjs +0 -5
- package/esm2022/time-line/index.mjs +0 -4
- package/esm2022/time-line/lib/time-line-item.component.mjs +0 -47
- package/esm2022/time-line/lib/time-line.component.mjs +0 -28
- package/esm2022/time-line/lib/time-line.module.mjs +0 -19
- package/esm2022/toast/acorex-components-toast.mjs +0 -5
- package/esm2022/toast/index.mjs +0 -6
- package/esm2022/toast/lib/toast.class.mjs +0 -2
- package/esm2022/toast/lib/toast.component.mjs +0 -86
- package/esm2022/toast/lib/toast.config.mjs +0 -26
- package/esm2022/toast/lib/toast.module.mjs +0 -27
- package/esm2022/toast/lib/toast.service.mjs +0 -235
- package/esm2022/tooltip/acorex-components-tooltip.mjs +0 -5
- package/esm2022/tooltip/index.mjs +0 -4
- package/esm2022/tooltip/lib/tooltip.component.mjs +0 -20
- package/esm2022/tooltip/lib/tooltip.directive.mjs +0 -80
- package/esm2022/tooltip/lib/tooltip.module.mjs +0 -22
- package/esm2022/tree-view/acorex-components-tree-view.mjs +0 -5
- package/esm2022/tree-view/index.mjs +0 -4
- package/esm2022/tree-view/lib/tree-view-item.component.mjs +0 -86
- package/esm2022/tree-view/lib/tree-view.class.mjs +0 -4
- package/esm2022/tree-view/lib/tree-view.component.mjs +0 -338
- package/esm2022/tree-view/lib/tree-view.component.module.mjs +0 -50
- package/esm2022/uploader/acorex-components-uploader.mjs +0 -5
- package/esm2022/uploader/index.mjs +0 -9
- package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +0 -27
- package/esm2022/uploader/lib/uploader-dialog-container/uploader-dialog-container.component.mjs +0 -55
- package/esm2022/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.mjs +0 -27
- package/esm2022/uploader/lib/uploader-list/uploader-list.component.mjs +0 -24
- package/esm2022/uploader/lib/uploader-zone.directive.mjs +0 -121
- package/esm2022/uploader/lib/uploader.models.mjs +0 -100
- package/esm2022/uploader/lib/uploader.module.mjs +0 -76
- package/esm2022/uploader/lib/uploader.service.mjs +0 -125
- package/esm2022/wysiwyg/acorex-components-wysiwyg.mjs +0 -5
- package/esm2022/wysiwyg/index.mjs +0 -11
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +0 -137
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +0 -21
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.mjs +0 -56
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.mjs +0 -76
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.mjs +0 -129
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component.mjs +0 -30
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.mjs +0 -43
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.mjs +0 -64
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +0 -49
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +0 -17
- package/esm2022/wysiwyg/lib/wysiwyg.module.mjs +0 -75
@@ -1,105 +0,0 @@
|
|
1
|
-
import { AXUnsubscriber } from '@acorex/core/utils';
|
2
|
-
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';
|
3
|
-
import { AXDataPagerChild } from './data-pager-base.component';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "@acorex/components/button";
|
6
|
-
import * as i2 from "@acorex/components/dropdown";
|
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
|
-
*/
|
13
|
-
export class AXDataPagerPageSizesComponent extends AXDataPagerChild {
|
14
|
-
constructor() {
|
15
|
-
super(...arguments);
|
16
|
-
/**
|
17
|
-
* @ignore
|
18
|
-
*/
|
19
|
-
//TODO: AXButtonItems type error
|
20
|
-
this._items = [];
|
21
|
-
}
|
22
|
-
/**
|
23
|
-
* Gets the list of page sizes available for selection.
|
24
|
-
*/
|
25
|
-
get sizes() {
|
26
|
-
return this._sizes || [5, 10, 20, 50, 100];
|
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
|
-
*/
|
33
|
-
set sizes(v) {
|
34
|
-
this._sizes = v;
|
35
|
-
this.applyParent();
|
36
|
-
}
|
37
|
-
/**
|
38
|
-
* @ignore
|
39
|
-
*/
|
40
|
-
applyParent() {
|
41
|
-
this._size = this._parent.displayInfo.take;
|
42
|
-
this._items = this.sizes.map((s) => ({
|
43
|
-
text: s.toString(),
|
44
|
-
selected: s == this._size,
|
45
|
-
data: {
|
46
|
-
size: s,
|
47
|
-
},
|
48
|
-
}));
|
49
|
-
this.cdr.detectChanges();
|
50
|
-
}
|
51
|
-
/**
|
52
|
-
* @ignore
|
53
|
-
*/
|
54
|
-
_emitOnItemClick(e) {
|
55
|
-
if (this._parent.readonly || this._parent.disabled)
|
56
|
-
return;
|
57
|
-
this._size = this._parent.size = Number(e.data.size);
|
58
|
-
}
|
59
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDataPagerPageSizesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
60
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXDataPagerPageSizesComponent, selector: "ax-data-pager-page-sizes", inputs: { sizes: "sizes" }, providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPageSizesComponent }, AXUnsubscriber], usesInheritance: true, ngImport: i0, template: `
|
61
|
-
<ax-button [text]="_size" color="'default'" [look]="'blank'" [disabled]="_parent.disabled">
|
62
|
-
<ax-dropdown-panel>
|
63
|
-
<ax-button-item-list (onItemClick)="_emitOnItemClick($event)">
|
64
|
-
@for (item of _items; track $index) {
|
65
|
-
<ax-button-item [text]="item.text" [data]="item.data" [selected]="item.selected">
|
66
|
-
</ax-button-item>
|
67
|
-
}
|
68
|
-
</ax-button-item-list>
|
69
|
-
</ax-dropdown-panel>
|
70
|
-
<ax-suffix>
|
71
|
-
<ax-icon icon="ax-icon ax-icon-solid ax-icon-arrow-down"></ax-icon>
|
72
|
-
</ax-suffix>
|
73
|
-
</ax-button>
|
74
|
-
<!-- <span >items per page</span> -->
|
75
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: i1.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i1.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "component", type: i2.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
76
|
-
}
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDataPagerPageSizesComponent, decorators: [{
|
78
|
-
type: Component,
|
79
|
-
args: [{
|
80
|
-
selector: 'ax-data-pager-page-sizes',
|
81
|
-
template: `
|
82
|
-
<ax-button [text]="_size" color="'default'" [look]="'blank'" [disabled]="_parent.disabled">
|
83
|
-
<ax-dropdown-panel>
|
84
|
-
<ax-button-item-list (onItemClick)="_emitOnItemClick($event)">
|
85
|
-
@for (item of _items; track $index) {
|
86
|
-
<ax-button-item [text]="item.text" [data]="item.data" [selected]="item.selected">
|
87
|
-
</ax-button-item>
|
88
|
-
}
|
89
|
-
</ax-button-item-list>
|
90
|
-
</ax-dropdown-panel>
|
91
|
-
<ax-suffix>
|
92
|
-
<ax-icon icon="ax-icon ax-icon-solid ax-icon-arrow-down"></ax-icon>
|
93
|
-
</ax-suffix>
|
94
|
-
</ax-button>
|
95
|
-
<!-- <span >items per page</span> -->
|
96
|
-
`,
|
97
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
98
|
-
encapsulation: ViewEncapsulation.None,
|
99
|
-
outputs: [],
|
100
|
-
providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPageSizesComponent }, AXUnsubscriber],
|
101
|
-
}]
|
102
|
-
}], propDecorators: { sizes: [{
|
103
|
-
type: Input
|
104
|
-
}] } });
|
105
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci1wYWdlc2l6ZS1kcm9wZG93bi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZGF0YS1wYWdlci9zcmMvbGliL2RhdGEtcGFnZXItcGFnZXNpemUtZHJvcGRvd24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNwRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7Ozs7QUFFL0Q7Ozs7R0FJRztBQXdCSCxNQUFNLE9BQU8sNkJBQThCLFNBQVEsZ0JBQWdCO0lBdkJ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BvZiBudW1iZXJzIHJlcHJlc2VudGluZyB0aGUgcGFnZSBzaXplcyB0byBiZSBzZXQuXG4gICAqL1xuICBwdWJsaWMgc2V0IHNpemVzKHY6IG51bWJlcltdKSB7XG4gICAgdGhpcy5fc2l6ZXMgPSB2O1xuICAgIHRoaXMuYXBwbHlQYXJlbnQoKTtcbiAgfVxuXG4gIC8qKlxuICAgKiAgQGlnbm9yZVxuICAgKi9cbiAgcHJvdGVjdGVkIG92ZXJyaWRlIGFwcGx5UGFyZW50KCk6IHZvaWQge1xuICAgIHRoaXMuX3NpemUgPSB0aGlzLl9wYXJlbnQuZGlzcGxheUluZm8udGFrZTtcbiAgICB0aGlzLl9pdGVtcyA9IHRoaXMuc2l6ZXMubWFwKChzOiBhbnkpID0+ICh7XG4gICAgICB0ZXh0OiBzLnRvU3RyaW5nKCksXG4gICAgICBzZWxlY3RlZDogcyA9PSB0aGlzLl9zaXplLFxuICAgICAgZGF0YToge1xuICAgICAgICBzaXplOiBzLFxuICAgICAgfSxcbiAgICB9KSk7XG4gICAgdGhpcy5jZHIuZGV0ZWN0Q2hhbmdlcygpO1xuICB9XG5cbiAgLyoqXG4gICAqICBAaWdub3JlXG4gICAqL1xuICBfZW1pdE9uSXRlbUNsaWNrKGU6IEFYQ2xpY2tFdmVudCkge1xuICAgIGlmICh0aGlzLl9wYXJlbnQucmVhZG9ubHkgfHwgdGhpcy5fcGFyZW50LmRpc2FibGVkKSByZXR1cm47XG4gICAgdGhpcy5fc2l6ZSA9IHRoaXMuX3BhcmVudC5zaXplID0gTnVtYmVyKGUuZGF0YS5zaXplKTtcbiAgfVxufVxuIl19
|
@@ -1,112 +0,0 @@
|
|
1
|
-
import { AXHtmlUtil, AXUnsubscriber } from '@acorex/core/utils';
|
2
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
3
|
-
import { AXDataPagerChild } from './data-pager-base.component';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "@angular/common";
|
6
|
-
import * as i2 from "@acorex/components/button";
|
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
|
-
*/
|
13
|
-
export class AXDataPagerPrevButtonsComponent extends AXDataPagerChild {
|
14
|
-
/**
|
15
|
-
* @ignore
|
16
|
-
*/
|
17
|
-
ngOnInit() {
|
18
|
-
super.ngOnInit;
|
19
|
-
this.rtl = AXHtmlUtil.isRtl(this.getHostElement());
|
20
|
-
}
|
21
|
-
/**
|
22
|
-
* @ignore
|
23
|
-
*/
|
24
|
-
applyParent() {
|
25
|
-
this.disabled = this._parent.displayInfo.page == 1 || this._parent.disabled;
|
26
|
-
}
|
27
|
-
/**
|
28
|
-
* @ignore
|
29
|
-
*/
|
30
|
-
_emitOnFirstPageClick(e) {
|
31
|
-
if (this._parent.readonly || this._parent.disabled)
|
32
|
-
return;
|
33
|
-
this._parent.goFirstPage();
|
34
|
-
}
|
35
|
-
/**
|
36
|
-
* @ignore
|
37
|
-
*/
|
38
|
-
_emitOnPrevPageClick(e) {
|
39
|
-
if (this._parent.readonly || this._parent.disabled)
|
40
|
-
return;
|
41
|
-
this._parent.goPrevPage();
|
42
|
-
}
|
43
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDataPagerPrevButtonsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
44
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXDataPagerPrevButtonsComponent, selector: "ax-data-pager-prev-buttons", providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPrevButtonsComponent }, AXUnsubscriber], usesInheritance: true, ngImport: i0, template: `
|
45
|
-
<ax-button
|
46
|
-
[disabled]="disabled"
|
47
|
-
look="blank"
|
48
|
-
class="ax-sm"
|
49
|
-
title="Go to the last page"
|
50
|
-
(onClick)="_emitOnFirstPageClick($event)"
|
51
|
-
>
|
52
|
-
<ax-icon
|
53
|
-
class="ax-icon ax-text-xl"
|
54
|
-
[ngClass]="{ 'ax-icon-chevron-double-right': rtl, 'ax-icon-chevron-double-left': !rtl }"
|
55
|
-
></ax-icon>
|
56
|
-
</ax-button>
|
57
|
-
<ax-button
|
58
|
-
[disabled]="disabled"
|
59
|
-
look="blank"
|
60
|
-
class="ax-sm"
|
61
|
-
title="Go to the next page"
|
62
|
-
(onClick)="_emitOnPrevPageClick($event)"
|
63
|
-
>
|
64
|
-
<ax-icon
|
65
|
-
class="ax-icon ax-text-xl"
|
66
|
-
[ngClass]="{
|
67
|
-
'ax-icon-chevron-left': !rtl,
|
68
|
-
'ax-icon-chevron-right': rtl,
|
69
|
-
}"
|
70
|
-
></ax-icon>
|
71
|
-
</ax-button>
|
72
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
73
|
-
}
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDataPagerPrevButtonsComponent, decorators: [{
|
75
|
-
type: Component,
|
76
|
-
args: [{
|
77
|
-
selector: 'ax-data-pager-prev-buttons',
|
78
|
-
template: `
|
79
|
-
<ax-button
|
80
|
-
[disabled]="disabled"
|
81
|
-
look="blank"
|
82
|
-
class="ax-sm"
|
83
|
-
title="Go to the last page"
|
84
|
-
(onClick)="_emitOnFirstPageClick($event)"
|
85
|
-
>
|
86
|
-
<ax-icon
|
87
|
-
class="ax-icon ax-text-xl"
|
88
|
-
[ngClass]="{ 'ax-icon-chevron-double-right': rtl, 'ax-icon-chevron-double-left': !rtl }"
|
89
|
-
></ax-icon>
|
90
|
-
</ax-button>
|
91
|
-
<ax-button
|
92
|
-
[disabled]="disabled"
|
93
|
-
look="blank"
|
94
|
-
class="ax-sm"
|
95
|
-
title="Go to the next page"
|
96
|
-
(onClick)="_emitOnPrevPageClick($event)"
|
97
|
-
>
|
98
|
-
<ax-icon
|
99
|
-
class="ax-icon ax-text-xl"
|
100
|
-
[ngClass]="{
|
101
|
-
'ax-icon-chevron-left': !rtl,
|
102
|
-
'ax-icon-chevron-right': rtl,
|
103
|
-
}"
|
104
|
-
></ax-icon>
|
105
|
-
</ax-button>
|
106
|
-
`,
|
107
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
108
|
-
encapsulation: ViewEncapsulation.None,
|
109
|
-
providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPrevButtonsComponent }, AXUnsubscriber],
|
110
|
-
}]
|
111
|
-
}] });
|
112
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci1wcmV2LWJ1dHRvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2RhdGEtcGFnZXIvc3JjL2xpYi9kYXRhLXBhZ2VyLXByZXYtYnV0dG9ucy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLFVBQVUsRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNoRSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUF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FBhZ2UoKTtcbiAgfVxuXG4gIC8qKlxuICAgKiAgQGlnbm9yZVxuICAgKi9cbiAgX2VtaXRPblByZXZQYWdlQ2xpY2soZTogQVhDbGlja0V2ZW50KSB7XG4gICAgaWYgKHRoaXMuX3BhcmVudC5yZWFkb25seSB8fCB0aGlzLl9wYXJlbnQuZGlzYWJsZWQpIHJldHVybjtcbiAgICB0aGlzLl9wYXJlbnQuZ29QcmV2UGFnZSgpO1xuICB9XG59XG4iXX0=
|
@@ -1,298 +0,0 @@
|
|
1
|
-
import { AXPagedComponent, MXValueComponent } from '@acorex/components/common';
|
2
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Inject, Input, Optional, Output, ViewEncapsulation, forwardRef, signal, } from '@angular/core';
|
3
|
-
import { cloneDeep, isEqual, isNumber } from 'lodash-es';
|
4
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
5
|
-
import { AXDataPagerParentComponent, } from './data-pager-base.component';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
import * as i1 from "@acorex/components/decorators";
|
8
|
-
import * as i2 from "./data-pager-next-buttons.components";
|
9
|
-
import * as i3 from "./data-pager-prev-buttons.component";
|
10
|
-
import * as i4 from "./data-pager-pagesize-dropdown.component";
|
11
|
-
import * as i5 from "./data-pager-numeric-selector.component";
|
12
|
-
import * as i6 from "./data-pager-input-selector.component";
|
13
|
-
import * as i7 from "./data-pager-info.component";
|
14
|
-
import * as i8 from "@acorex/components/common";
|
15
|
-
/**
|
16
|
-
* Component for managing and displaying data pagination controls.
|
17
|
-
*
|
18
|
-
* @category Components
|
19
|
-
*/
|
20
|
-
export class AXDataPagerComponent extends MXValueComponent {
|
21
|
-
/**
|
22
|
-
* Indicates whether the component is currently loading.
|
23
|
-
*
|
24
|
-
*/
|
25
|
-
get isLoading() {
|
26
|
-
return this._isLoading();
|
27
|
-
}
|
28
|
-
/**
|
29
|
-
* Sets the loading state of the component.
|
30
|
-
*
|
31
|
-
* @param v - The loading state to be set.
|
32
|
-
*/
|
33
|
-
set isLoading(v) {
|
34
|
-
this._isLoading.set(v);
|
35
|
-
}
|
36
|
-
/**
|
37
|
-
* Gets the number of items per page in the data pager.
|
38
|
-
*/
|
39
|
-
get size() {
|
40
|
-
return this._size || 10;
|
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
|
-
*/
|
47
|
-
set size(v) {
|
48
|
-
if (v != this._size) {
|
49
|
-
const prevSize = this._size;
|
50
|
-
this._size = v;
|
51
|
-
if (this._parent) {
|
52
|
-
this._parent.pageSize = v;
|
53
|
-
}
|
54
|
-
const newPage = Math.ceil(this.displayInfo.range.from / this._size) || 1;
|
55
|
-
this.commitValue(newPage);
|
56
|
-
this._emitChangedEvent(prevSize != null ? true : false);
|
57
|
-
}
|
58
|
-
}
|
59
|
-
/**
|
60
|
-
* Gets the total number of items.
|
61
|
-
*/
|
62
|
-
get total() {
|
63
|
-
return this._total;
|
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
|
-
*/
|
71
|
-
set total(v) {
|
72
|
-
const t = v && v > 0 ? v : 0;
|
73
|
-
if (t != this._total) {
|
74
|
-
this._total = t;
|
75
|
-
this._emitChangedEvent();
|
76
|
-
}
|
77
|
-
}
|
78
|
-
/**
|
79
|
-
* Gets the total number of pages.
|
80
|
-
*/
|
81
|
-
get totalPages() {
|
82
|
-
return this._totalPages;
|
83
|
-
}
|
84
|
-
/**
|
85
|
-
* Sets the total number of pages.
|
86
|
-
*
|
87
|
-
* @param value - The total number of pages to set.
|
88
|
-
*/
|
89
|
-
set totalPages(value) {
|
90
|
-
this._totalPages = value;
|
91
|
-
}
|
92
|
-
/**
|
93
|
-
* Gets the current display mode of the data pager.
|
94
|
-
*/
|
95
|
-
get displayMode() {
|
96
|
-
return this._displayMode;
|
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
|
-
*/
|
103
|
-
set displayMode(v) {
|
104
|
-
this.setOption({
|
105
|
-
name: 'displayMode',
|
106
|
-
value: v,
|
107
|
-
afterCallback: () => {
|
108
|
-
this._emitChangedEvent();
|
109
|
-
},
|
110
|
-
});
|
111
|
-
}
|
112
|
-
/**
|
113
|
-
* @ignore
|
114
|
-
*/
|
115
|
-
constructor(_parent) {
|
116
|
-
super();
|
117
|
-
this._parent = _parent;
|
118
|
-
/**
|
119
|
-
* @ignore
|
120
|
-
*/
|
121
|
-
this._isLoading = signal(false);
|
122
|
-
/**
|
123
|
-
* @ignore
|
124
|
-
*/
|
125
|
-
this._size = null;
|
126
|
-
/**
|
127
|
-
* @ignore
|
128
|
-
*/
|
129
|
-
this._total = 0;
|
130
|
-
/**
|
131
|
-
* @ignore
|
132
|
-
*/
|
133
|
-
this._totalPages = 0;
|
134
|
-
/**
|
135
|
-
* Emitted when the display mode changes.
|
136
|
-
* @event
|
137
|
-
* An event containing the new display mode.
|
138
|
-
*/
|
139
|
-
this.displayModeChange = new EventEmitter();
|
140
|
-
/**
|
141
|
-
* @ignore
|
142
|
-
*/
|
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
|
-
*/
|
149
|
-
this.onChanged = new EventEmitter();
|
150
|
-
//
|
151
|
-
if (this._parent) {
|
152
|
-
this._parent.onPageChanged.subscribe((c) => {
|
153
|
-
this.size = this._parent.pageSize;
|
154
|
-
this.total = this._parent.totalCount;
|
155
|
-
this.value = c.value;
|
156
|
-
});
|
157
|
-
this.size = this._parent.pageSize;
|
158
|
-
this.total = this._parent.totalCount;
|
159
|
-
}
|
160
|
-
}
|
161
|
-
/**
|
162
|
-
* @ignore
|
163
|
-
*/
|
164
|
-
ngAfterViewInit() {
|
165
|
-
this._emitChangedEvent();
|
166
|
-
}
|
167
|
-
/**
|
168
|
-
* @ignore
|
169
|
-
*/
|
170
|
-
internalValueChanged(value) {
|
171
|
-
this._emitChangedEvent(true);
|
172
|
-
}
|
173
|
-
/**
|
174
|
-
* @ignore
|
175
|
-
*/
|
176
|
-
internalGetValue(value) {
|
177
|
-
if (!isNumber(value) || !value || this.totalPages == 0)
|
178
|
-
return 1;
|
179
|
-
return value > this.totalPages ? this.totalPages : value;
|
180
|
-
}
|
181
|
-
get displayInfo() {
|
182
|
-
const skip = Math.max(0, (this.value - 1) * this.size);
|
183
|
-
const result = {
|
184
|
-
page: this.value,
|
185
|
-
totalItems: this.total,
|
186
|
-
totalPages: this.totalPages,
|
187
|
-
range: {
|
188
|
-
from: skip + 1,
|
189
|
-
to: Math.min(this.value * this.size, this.total),
|
190
|
-
},
|
191
|
-
skip,
|
192
|
-
take: this.size,
|
193
|
-
};
|
194
|
-
return result;
|
195
|
-
}
|
196
|
-
/**
|
197
|
-
* @ignore
|
198
|
-
*/
|
199
|
-
_emitChangedEvent(u = false) {
|
200
|
-
this.totalPages = Math.ceil(this._total / this.size);
|
201
|
-
//
|
202
|
-
if (!isEqual(this.previousDisplayInfo, this.displayInfo)) {
|
203
|
-
this.onChanged.emit(Object.assign({
|
204
|
-
component: this,
|
205
|
-
isUserInteraction: u,
|
206
|
-
htmlElement: this.getHostElement(),
|
207
|
-
}, this.displayInfo));
|
208
|
-
if (this.totalPages > 0)
|
209
|
-
this._parent?.goToPage(this.value);
|
210
|
-
//
|
211
|
-
this.previousDisplayInfo = cloneDeep(this.displayInfo);
|
212
|
-
//
|
213
|
-
this.cdr.markForCheck();
|
214
|
-
}
|
215
|
-
}
|
216
|
-
/**
|
217
|
-
* Navigates to the next page, or to the last page if on the final page.
|
218
|
-
* @ignore
|
219
|
-
*/
|
220
|
-
goNextPage() {
|
221
|
-
this.goToPage(Math.min(this.value + 1, this.totalPages));
|
222
|
-
}
|
223
|
-
/**
|
224
|
-
* Navigates to the last page.
|
225
|
-
* @ignore
|
226
|
-
*/
|
227
|
-
goLastPage() {
|
228
|
-
this.goToPage(this.totalPages);
|
229
|
-
}
|
230
|
-
/**
|
231
|
-
* Navigates to the first page.
|
232
|
-
* @ignore
|
233
|
-
*/
|
234
|
-
goFirstPage() {
|
235
|
-
this.goToPage(1);
|
236
|
-
}
|
237
|
-
/**
|
238
|
-
* Navigates to the previous page, or to the first page if on the initial page.
|
239
|
-
* @ignore
|
240
|
-
*/
|
241
|
-
goPrevPage() {
|
242
|
-
this.goToPage(Math.max(this.value - 1, 1));
|
243
|
-
}
|
244
|
-
/**
|
245
|
-
* Navigates to a specified page.
|
246
|
-
* @param page - The page number to navigate to.
|
247
|
-
* @ignore
|
248
|
-
*/
|
249
|
-
goToPage(page) {
|
250
|
-
if (page != this.value) {
|
251
|
-
this.commitValue(page, true);
|
252
|
-
}
|
253
|
-
}
|
254
|
-
get __hostClass() {
|
255
|
-
return `ax-sm`;
|
256
|
-
}
|
257
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDataPagerComponent, deps: [{ token: AXPagedComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
258
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXDataPagerComponent, selector: "ax-data-pager", inputs: { value: "value", name: "name", disabled: "disabled", readonly: "readonly", isLoading: "isLoading", size: "size", total: "total", displayMode: "displayMode" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", disabledChange: "disabledChange", readonlyChange: "readonlyChange", displayModeChange: "displayModeChange", onChanged: "onChanged" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
|
259
|
-
{ provide: AXDataPagerParentComponent, useExisting: AXDataPagerComponent },
|
260
|
-
{
|
261
|
-
provide: NG_VALUE_ACCESSOR,
|
262
|
-
useExisting: forwardRef(() => AXDataPagerComponent),
|
263
|
-
multi: true,
|
264
|
-
},
|
265
|
-
], usesInheritance: true, ngImport: i0, template: "@switch (displayMode) {\n @case ('full') {\n <ax-prefix class=\"ax-full-prefix\">\n <ax-data-pager-numeric-selector> </ax-data-pager-numeric-selector>\n <ax-data-pager-page-sizes> </ax-data-pager-page-sizes>\n </ax-prefix>\n <ax-suffix class=\"ax-full-suffix\">\n <ax-data-pager-info> </ax-data-pager-info>\n </ax-suffix>\n }\n @case ('compact') {\n <ax-prefix class=\"ax-compact-prefix\">\n <ax-data-pager-prev-buttons> </ax-data-pager-prev-buttons>\n <ax-data-pager-input-selector> </ax-data-pager-input-selector>\n <ax-data-pager-next-buttons> </ax-data-pager-next-buttons>\n </ax-prefix>\n <ax-suffix class=\"ax-compact-suffix\">\n <ax-data-pager-info> </ax-data-pager-info>\n </ax-suffix>\n }\n @default {\n <ng-content select=\"ax-prefix\"></ng-content>\n <ng-content select=\"ax-suffix\"></ng-content>\n }\n}\n", styles: ["html[dir=rtl] ax-data-pager ax-data-pager-numeric-selector .ax-icon-first-page,html[dir=rtl] ax-data-pager ax-data-pager-numeric-selector .ax-icon-last-page{rotate:180deg}ax-data-pager{display:flex;flex-wrap:nowrap;width:100%;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem 0;font-size:.875rem;line-height:1.25rem;overflow-x:auto}ax-data-pager ax-button-group{display:flex!important;gap:1rem!important;border-radius:0!important;border-width:0px!important}ax-data-pager ax-button-group ax-button-item{border-radius:0!important;border-width:0px!important;padding:0!important}ax-data-pager ax-button-group ax-button-item.ax-state-selected{border-width:1px!important}ax-data-pager ax-data-pager-input-selector .ax-input{width:4rem!important;max-width:10rem!important;text-align:center!important}ax-data-pager ax-data-pager-next-buttons,ax-data-pager ax-data-pager-prev-buttons,ax-data-pager ax-data-pager-numeric-selector{margin-inline-end:.5rem}ax-data-pager ax-data-pager-next-buttons ax-skeleton,ax-data-pager ax-data-pager-prev-buttons ax-skeleton,ax-data-pager ax-data-pager-numeric-selector ax-skeleton{width:100%;min-width:14rem;border-radius:var(--ax-rounded-border-default)}ax-data-pager ax-data-pager-numeric-selector{display:flex;flex-wrap:nowrap}ax-data-pager ax-data-pager-page-sizes ax-button{border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-data-pager .ax-full-prefix,ax-data-pager .ax-full-suffix{display:flex}ax-data-pager .ax-compact-prefix{display:flex}ax-data-pager .ax-compact-prefix ax-data-pager-next-buttons,ax-data-pager .ax-compact-prefix ax-data-pager-prev-buttons{display:flex;flex-wrap:nowrap}ax-data-pager ax-data-pager-info ax-text{color:rgb(var(--ax-color-neutral-400));white-space:nowrap}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "component", type: i2.AXDataPagerNextButtonsComponent, selector: "ax-data-pager-next-buttons" }, { kind: "component", type: i3.AXDataPagerPrevButtonsComponent, selector: "ax-data-pager-prev-buttons" }, { kind: "component", type: i4.AXDataPagerPageSizesComponent, selector: "ax-data-pager-page-sizes", inputs: ["sizes"] }, { kind: "component", type: i5.AXDataPagerNumericSelectorComponent, selector: "ax-data-pager-numeric-selector" }, { kind: "component", type: i6.AXDataPagerInputSelectorComponent, selector: "ax-data-pager-input-selector" }, { kind: "component", type: i7.AXDataPagerInfoComponent, selector: "ax-data-pager-info", inputs: ["text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
266
|
-
}
|
267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDataPagerComponent, decorators: [{
|
268
|
-
type: Component,
|
269
|
-
args: [{ selector: 'ax-data-pager', inputs: ['value', 'name', 'disabled', 'readonly'], outputs: ['valueChange', 'onValueChanged', 'disabledChange', 'readonlyChange'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
270
|
-
{ provide: AXDataPagerParentComponent, useExisting: AXDataPagerComponent },
|
271
|
-
{
|
272
|
-
provide: NG_VALUE_ACCESSOR,
|
273
|
-
useExisting: forwardRef(() => AXDataPagerComponent),
|
274
|
-
multi: true,
|
275
|
-
},
|
276
|
-
], template: "@switch (displayMode) {\n @case ('full') {\n <ax-prefix class=\"ax-full-prefix\">\n <ax-data-pager-numeric-selector> </ax-data-pager-numeric-selector>\n <ax-data-pager-page-sizes> </ax-data-pager-page-sizes>\n </ax-prefix>\n <ax-suffix class=\"ax-full-suffix\">\n <ax-data-pager-info> </ax-data-pager-info>\n </ax-suffix>\n }\n @case ('compact') {\n <ax-prefix class=\"ax-compact-prefix\">\n <ax-data-pager-prev-buttons> </ax-data-pager-prev-buttons>\n <ax-data-pager-input-selector> </ax-data-pager-input-selector>\n <ax-data-pager-next-buttons> </ax-data-pager-next-buttons>\n </ax-prefix>\n <ax-suffix class=\"ax-compact-suffix\">\n <ax-data-pager-info> </ax-data-pager-info>\n </ax-suffix>\n }\n @default {\n <ng-content select=\"ax-prefix\"></ng-content>\n <ng-content select=\"ax-suffix\"></ng-content>\n }\n}\n", styles: ["html[dir=rtl] ax-data-pager ax-data-pager-numeric-selector .ax-icon-first-page,html[dir=rtl] ax-data-pager ax-data-pager-numeric-selector .ax-icon-last-page{rotate:180deg}ax-data-pager{display:flex;flex-wrap:nowrap;width:100%;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem 0;font-size:.875rem;line-height:1.25rem;overflow-x:auto}ax-data-pager ax-button-group{display:flex!important;gap:1rem!important;border-radius:0!important;border-width:0px!important}ax-data-pager ax-button-group ax-button-item{border-radius:0!important;border-width:0px!important;padding:0!important}ax-data-pager ax-button-group ax-button-item.ax-state-selected{border-width:1px!important}ax-data-pager ax-data-pager-input-selector .ax-input{width:4rem!important;max-width:10rem!important;text-align:center!important}ax-data-pager ax-data-pager-next-buttons,ax-data-pager ax-data-pager-prev-buttons,ax-data-pager ax-data-pager-numeric-selector{margin-inline-end:.5rem}ax-data-pager ax-data-pager-next-buttons ax-skeleton,ax-data-pager ax-data-pager-prev-buttons ax-skeleton,ax-data-pager ax-data-pager-numeric-selector ax-skeleton{width:100%;min-width:14rem;border-radius:var(--ax-rounded-border-default)}ax-data-pager ax-data-pager-numeric-selector{display:flex;flex-wrap:nowrap}ax-data-pager ax-data-pager-page-sizes ax-button{border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-data-pager .ax-full-prefix,ax-data-pager .ax-full-suffix{display:flex}ax-data-pager .ax-compact-prefix{display:flex}ax-data-pager .ax-compact-prefix ax-data-pager-next-buttons,ax-data-pager .ax-compact-prefix ax-data-pager-prev-buttons{display:flex;flex-wrap:nowrap}ax-data-pager ax-data-pager-info ax-text{color:rgb(var(--ax-color-neutral-400));white-space:nowrap}\n"] }]
|
277
|
-
}], ctorParameters: () => [{ type: i8.AXPagedComponent, decorators: [{
|
278
|
-
type: Optional
|
279
|
-
}, {
|
280
|
-
type: Inject,
|
281
|
-
args: [AXPagedComponent]
|
282
|
-
}] }], propDecorators: { isLoading: [{
|
283
|
-
type: Input
|
284
|
-
}], size: [{
|
285
|
-
type: Input
|
286
|
-
}], total: [{
|
287
|
-
type: Input
|
288
|
-
}], displayModeChange: [{
|
289
|
-
type: Output
|
290
|
-
}], displayMode: [{
|
291
|
-
type: Input
|
292
|
-
}], onChanged: [{
|
293
|
-
type: Output
|
294
|
-
}], __hostClass: [{
|
295
|
-
type: HostBinding,
|
296
|
-
args: ['class']
|
297
|
-
}] } });
|
298
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wYWdlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uL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