@acorex/components 18.16.0-next.8 → 19.0.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,152 +0,0 @@
|
|
1
|
-
import { MXColorComponent, MXInteractiveComponent, } from '@acorex/components/common';
|
2
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, HostListener, Input, Output, ViewEncapsulation, } from '@angular/core';
|
3
|
-
import { classes } from 'polytype';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "@acorex/components/decorators";
|
6
|
-
/**
|
7
|
-
* Represents a button item with optional content like icons, text, and dropdowns.
|
8
|
-
*
|
9
|
-
* @category Components
|
10
|
-
*/
|
11
|
-
export class AXButtonItemComponent extends classes(MXInteractiveComponent, MXColorComponent) {
|
12
|
-
constructor() {
|
13
|
-
super(...arguments);
|
14
|
-
/**
|
15
|
-
* Whether the item is visually separated from other items.
|
16
|
-
* @defaultValue false
|
17
|
-
*/
|
18
|
-
this.divided = false;
|
19
|
-
/**
|
20
|
-
* Emitted when the button item is clicked.
|
21
|
-
* @event
|
22
|
-
* The emitted value is an `AXClickEvent` object containing event details.
|
23
|
-
*/
|
24
|
-
this.onClick = new EventEmitter();
|
25
|
-
/**
|
26
|
-
* @ignore
|
27
|
-
*/
|
28
|
-
this.tabindex = '0';
|
29
|
-
}
|
30
|
-
/**
|
31
|
-
* Indicates whether the button item is selected.
|
32
|
-
*
|
33
|
-
* @param v - A boolean indicating the selected state.
|
34
|
-
* Updates the view when the value changes.
|
35
|
-
*/
|
36
|
-
get selected() {
|
37
|
-
return this._selected;
|
38
|
-
}
|
39
|
-
set selected(v) {
|
40
|
-
this._selected = v;
|
41
|
-
this.cdr.markForCheck();
|
42
|
-
}
|
43
|
-
/**
|
44
|
-
* @ignore
|
45
|
-
*/
|
46
|
-
__hostClick(e) {
|
47
|
-
if (!this.disabled) {
|
48
|
-
this.onClick.emit({
|
49
|
-
component: this,
|
50
|
-
htmlElement: this.getHostElement(),
|
51
|
-
nativeEvent: e,
|
52
|
-
});
|
53
|
-
}
|
54
|
-
}
|
55
|
-
/**
|
56
|
-
* @ignore
|
57
|
-
*/
|
58
|
-
__hostFocus(e) {
|
59
|
-
this.emitOnFocusEvent(e);
|
60
|
-
}
|
61
|
-
/**
|
62
|
-
* @ignore
|
63
|
-
*/
|
64
|
-
__hostBlur(e) {
|
65
|
-
this.emitOnBlurEvent(e);
|
66
|
-
}
|
67
|
-
/**
|
68
|
-
* @ignore
|
69
|
-
*/
|
70
|
-
get __hostClass() {
|
71
|
-
const cssClasses = {
|
72
|
-
'ax-button-icon': !this.text,
|
73
|
-
'ax-state-disabled': this.disabled,
|
74
|
-
'ax-state-selected': this.selected,
|
75
|
-
'ax-divided': this.divided,
|
76
|
-
'ax-action-item': true,
|
77
|
-
'ax-el-interactive': true,
|
78
|
-
};
|
79
|
-
cssClasses[`ax-el-${this.color}-blank`] = true;
|
80
|
-
return Object.entries(cssClasses)
|
81
|
-
.filter((c) => c[1])
|
82
|
-
.map((c) => c[0])
|
83
|
-
.join(' ');
|
84
|
-
}
|
85
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXButtonItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
86
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXButtonItemComponent, selector: "ax-button-item", inputs: { color: "color", disabled: "disabled", text: "text", selected: "selected", divided: "divided", data: "data", name: "name" }, outputs: { onClick: "onClick", onFocus: "onFocus", onBlur: "onBlur", disabledChange: "disabledChange" }, host: { listeners: { "click": "__hostClick($event)", "focus": "__hostFocus($event)", "blur": "__hostBlur($event)" }, properties: { "class": "this.__hostClass", "attr.tabindex": "this.tabindex" } }, usesInheritance: true, ngImport: i0, template: `
|
87
|
-
<div class="ax-action-item-prefix">
|
88
|
-
<ng-content select="ax-prefix"> </ng-content>
|
89
|
-
<ng-content select="ax-loading"> </ng-content>
|
90
|
-
<ng-content select="ax-icon"> </ng-content>
|
91
|
-
@if (text) {
|
92
|
-
<ax-text>{{ text }}</ax-text>
|
93
|
-
}
|
94
|
-
</div>
|
95
|
-
<div class="ax-action-item-suffix">
|
96
|
-
<ng-content select="ax-suffix"> </ng-content>
|
97
|
-
</div>
|
98
|
-
<ng-content select="ax-dropdown-panel"> </ng-content>
|
99
|
-
`, isInline: true, 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" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
100
|
-
}
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXButtonItemComponent, decorators: [{
|
102
|
-
type: Component,
|
103
|
-
args: [{
|
104
|
-
selector: 'ax-button-item',
|
105
|
-
template: `
|
106
|
-
<div class="ax-action-item-prefix">
|
107
|
-
<ng-content select="ax-prefix"> </ng-content>
|
108
|
-
<ng-content select="ax-loading"> </ng-content>
|
109
|
-
<ng-content select="ax-icon"> </ng-content>
|
110
|
-
@if (text) {
|
111
|
-
<ax-text>{{ text }}</ax-text>
|
112
|
-
}
|
113
|
-
</div>
|
114
|
-
<div class="ax-action-item-suffix">
|
115
|
-
<ng-content select="ax-suffix"> </ng-content>
|
116
|
-
</div>
|
117
|
-
<ng-content select="ax-dropdown-panel"> </ng-content>
|
118
|
-
`,
|
119
|
-
encapsulation: ViewEncapsulation.None,
|
120
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
121
|
-
inputs: ['color', 'disabled'],
|
122
|
-
outputs: ['onClick', 'onFocus', 'onBlur', 'disabledChange'],
|
123
|
-
}]
|
124
|
-
}], propDecorators: { text: [{
|
125
|
-
type: Input
|
126
|
-
}], selected: [{
|
127
|
-
type: Input
|
128
|
-
}], divided: [{
|
129
|
-
type: Input
|
130
|
-
}], data: [{
|
131
|
-
type: Input
|
132
|
-
}], name: [{
|
133
|
-
type: Input
|
134
|
-
}], onClick: [{
|
135
|
-
type: Output
|
136
|
-
}], __hostClick: [{
|
137
|
-
type: HostListener,
|
138
|
-
args: ['click', ['$event']]
|
139
|
-
}], __hostFocus: [{
|
140
|
-
type: HostListener,
|
141
|
-
args: ['focus', ['$event']]
|
142
|
-
}], __hostBlur: [{
|
143
|
-
type: HostListener,
|
144
|
-
args: ['blur', ['$event']]
|
145
|
-
}], __hostClass: [{
|
146
|
-
type: HostBinding,
|
147
|
-
args: ['class']
|
148
|
-
}], tabindex: [{
|
149
|
-
type: HostBinding,
|
150
|
-
args: ['attr.tabindex']
|
151
|
-
}] } });
|
152
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2J1dHRvbi9zcmMvbGliL2J1dHRvbi1pdGVtLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBR0wsZ0JBQWdCLEVBQ2hCLHNCQUF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ICAgIGNzc0NsYXNzZXNbYGF4LWVsLSR7dGhpcy5jb2xvcn0tYmxhbmtgXSA9IHRydWU7XG4gICAgcmV0dXJuIE9iamVjdC5lbnRyaWVzKGNzc0NsYXNzZXMpXG4gICAgICAuZmlsdGVyKChjKSA9PiBjWzFdKVxuICAgICAgLm1hcCgoYykgPT4gY1swXSlcbiAgICAgIC5qb2luKCcgJyk7XG4gIH1cblxuICAvKipcbiAgICogIEBpZ25vcmVcbiAgICovXG4gIEBIb3N0QmluZGluZygnYXR0ci50YWJpbmRleCcpIHRhYmluZGV4ID0gJzAnO1xufVxuIl19
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2J1dHRvbi9zcmMvbGliL2J1dHRvbi5jbGFzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgQVhSZXNwb25zaXZlT24gPSAneHMnIHwgJ21kJyB8ICdsZycgfCAneGwnIHwgJzJ4bCc7XG4iXX0=
|
@@ -1,116 +0,0 @@
|
|
1
|
-
import { AXComponent, AXFocusableComponent, MXButtonBaseComponent } from '@acorex/components/common';
|
2
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, ViewEncapsulation, input, model, } from '@angular/core';
|
3
|
-
import { AXButtonItemComponent } from './button-item.component';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "@acorex/components/common";
|
6
|
-
/**
|
7
|
-
* The Button is a component which detects user interaction and triggers a corresponding event
|
8
|
-
*
|
9
|
-
* @category Components
|
10
|
-
*/
|
11
|
-
export class AXButtonComponent extends MXButtonBaseComponent {
|
12
|
-
constructor() {
|
13
|
-
super(...arguments);
|
14
|
-
/**
|
15
|
-
* Fires each time the user clicks the button.
|
16
|
-
* @event
|
17
|
-
*/
|
18
|
-
this.onClick = new EventEmitter();
|
19
|
-
/**
|
20
|
-
* Specifies the type of button to be used in the action sheet.
|
21
|
-
*
|
22
|
-
* @defaultValue 'button'
|
23
|
-
*/
|
24
|
-
this.type = input('button');
|
25
|
-
/**
|
26
|
-
* convert button to just icon in specific break points.
|
27
|
-
*/
|
28
|
-
this.responsiveOn = model();
|
29
|
-
/**
|
30
|
-
* Defines the text displayed while the action sheet is loading.
|
31
|
-
*
|
32
|
-
* @defaultValue null
|
33
|
-
*/
|
34
|
-
this.loadingText = model(null);
|
35
|
-
}
|
36
|
-
/**
|
37
|
-
* @ignore
|
38
|
-
*/
|
39
|
-
ngAfterViewInit() {
|
40
|
-
this.getHostElement().removeAttribute('tabindex');
|
41
|
-
}
|
42
|
-
/**
|
43
|
-
* @ignore
|
44
|
-
*/
|
45
|
-
getButton() {
|
46
|
-
return this.getHostElement().firstElementChild;
|
47
|
-
}
|
48
|
-
/**
|
49
|
-
* @ignore
|
50
|
-
*/
|
51
|
-
_handleClick(e) {
|
52
|
-
if (this.disabled) {
|
53
|
-
e.preventDefault();
|
54
|
-
return;
|
55
|
-
}
|
56
|
-
if (this.toggleable) {
|
57
|
-
this.selected = !this.selected;
|
58
|
-
}
|
59
|
-
this.onClick.emit({
|
60
|
-
component: this,
|
61
|
-
htmlElement: this.getHostElement(),
|
62
|
-
nativeEvent: e,
|
63
|
-
});
|
64
|
-
// TODO: check keyboard event
|
65
|
-
setTimeout(() => {
|
66
|
-
this.blur();
|
67
|
-
});
|
68
|
-
}
|
69
|
-
/**
|
70
|
-
* Triggers a click event on the button element.
|
71
|
-
*/
|
72
|
-
click() {
|
73
|
-
this.getButton()?.click();
|
74
|
-
}
|
75
|
-
/**
|
76
|
-
* @ignore
|
77
|
-
*/
|
78
|
-
get __hostClass() {
|
79
|
-
return Object.entries(this.cssClasses)
|
80
|
-
.filter((c) => c[1])
|
81
|
-
.map((c) => c[0]);
|
82
|
-
}
|
83
|
-
/**
|
84
|
-
* Sets focus on the button element and adds a focus style class.
|
85
|
-
*
|
86
|
-
*/
|
87
|
-
focus() {
|
88
|
-
this.getButton()?.focus();
|
89
|
-
this.getButton().classList.add('ax-state-focus');
|
90
|
-
}
|
91
|
-
/**
|
92
|
-
* Removes the focus style class from the button element
|
93
|
-
* when the button loses focus.
|
94
|
-
*/
|
95
|
-
blur() {
|
96
|
-
this.getButton().classList.remove('ax-state-focus');
|
97
|
-
}
|
98
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
99
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: false, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: null }, toggleable: { classPropertyName: "toggleable", publicName: "toggleable", isSignal: false, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: false, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, responsiveOn: { classPropertyName: "responsiveOn", publicName: "responsiveOn", isSignal: true, isRequired: false, transformFunction: null }, loadingText: { classPropertyName: "loadingText", publicName: "loadingText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange", lookChange: "lookChange", colorChange: "colorChange", disabledChange: "disabledChange", responsiveOn: "responsiveOnChange", loadingText: "loadingTextChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
|
100
|
-
{ provide: AXComponent, useExisting: AXButtonComponent },
|
101
|
-
{ provide: AXButtonItemComponent, useExisting: AXButtonComponent },
|
102
|
-
{ provide: AXFocusableComponent, useExisting: AXButtonComponent },
|
103
|
-
], usesInheritance: true, ngImport: i0, template: "<button\n [axRipple]\n [disabled]=\"disabled\"\n [class]=\"'ax-state-responsive-' + responsiveOn()\"\n [attr.tabindex]=\"tabIndex\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [attr.type]=\"type()\"\n>\n <ng-content select=\"ax-loading, ax-loading-spinner\"> </ng-content>\n <ng-content select=\"ax-prefix,ax-icon\"> </ng-content>\n <ng-content select=\"ax-content\"> </ng-content>\n\n @if (text && !loadingText()) {\n <span class=\"ax-button-text\">{{ text }}</span>\n }\n @if (loadingText()) {\n <span class=\"ax-button-text\">{{ loadingText() }}</span>\n }\n\n <ng-content select=\"ax-suffix\"> </ng-content>\n <ng-content select=\"ax-dropdown-panel\"> </ng-content>\n <ng-content select=\".tab-content\"> </ng-content>\n</button>\n", styles: ["ax-button{position:relative;display:inline-flex;height:var(--ax-size-default);cursor:pointer;align-items:center;justify-content:center;border-radius:var(--ax-rounded-border-default);font-size:.875rem;line-height:1.25rem;outline:2px solid transparent;outline-offset:2px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-button.ax-xs{font-size:.75rem;line-height:1rem}ax-button.ax-xs>button{padding-left:.5rem;padding-right:.5rem}ax-button.ax-sm>button{padding-left:.5rem;padding-right:.5rem}ax-button.ax-sm,ax-button.ax-md{font-size:.875rem;line-height:1.25rem}ax-button.ax-lg{font-size:1rem;line-height:1.25rem}ax-button.ax-lg>button{padding-left:1.5rem;padding-right:1.5rem}ax-button.ax-xl{font-size:1.125rem;line-height:1.75rem}ax-button.ax-xl>button{padding-left:2rem;padding-right:2rem}ax-button.ax-xl.ax-button-icon{font-size:1.5rem}ax-button.ax-xs.ax-button-icon,ax-button.ax-sm.ax-button-icon{font-size:1rem}ax-button.ax-button-icon{height:var(--ax-size-default);width:var(--ax-size-default);font-size:1.25rem}ax-button.ax-state-disabled,ax-button.ax-state-loading{opacity:.5}ax-button.ax-state-disabled>button,ax-button.ax-state-loading>button{cursor:not-allowed}ax-button>button{position:relative;display:inline-flex;height:100%;width:100%;align-items:center;justify-content:center;overflow:hidden;border-radius:inherit;padding-left:1rem;padding-right:1rem;outline-color:transparent}@media screen and (max-width: 640px){ax-button>button.ax-state-responsive-xs .ax-button-text{display:none!important}}@media screen and (max-width: 768px){ax-button>button.ax-state-responsive-md .ax-button-text{display:none!important}}@media screen and (max-width: 1024px){ax-button>button.ax-state-responsive-lg .ax-button-text{display:none!important}}@media screen and (max-width: 1280px){ax-button>button.ax-state-responsive-xl .ax-button-text{display:none!important}}@media screen and (max-width: 1536px){ax-button>button.ax-state-responsive-2xl .ax-button-text{display:none!important}}ax-button>button.ax-state-focus:focus,ax-button>button:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#000;border-radius:inherit}ax-button>button .ax-button-text{white-space:nowrap;padding-left:.5rem;padding-right:.5rem;font-weight:500;line-height:1}ax-button ax-button-item.ax-divided{border-bottom-width:1px!important;border-color:rgba(var(--ax-color-border-default))!important}\n"], dependencies: [{ kind: "directive", type: i1.AXRippleDirective, selector: "[axRipple]", inputs: ["axRipple", "axRippleColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
104
|
-
}
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXButtonComponent, decorators: [{
|
106
|
-
type: Component,
|
107
|
-
args: [{ selector: 'ax-button', inputs: ['disabled', 'size', 'tabIndex', 'color', 'look', 'text', 'toggleable', 'selected'], outputs: ['onBlur', 'onFocus', 'onClick', 'selectedChange', 'toggleableChange', 'lookChange', 'colorChange', 'disabledChange'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
108
|
-
{ provide: AXComponent, useExisting: AXButtonComponent },
|
109
|
-
{ provide: AXButtonItemComponent, useExisting: AXButtonComponent },
|
110
|
-
{ provide: AXFocusableComponent, useExisting: AXButtonComponent },
|
111
|
-
], template: "<button\n [axRipple]\n [disabled]=\"disabled\"\n [class]=\"'ax-state-responsive-' + responsiveOn()\"\n [attr.tabindex]=\"tabIndex\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [attr.type]=\"type()\"\n>\n <ng-content select=\"ax-loading, ax-loading-spinner\"> </ng-content>\n <ng-content select=\"ax-prefix,ax-icon\"> </ng-content>\n <ng-content select=\"ax-content\"> </ng-content>\n\n @if (text && !loadingText()) {\n <span class=\"ax-button-text\">{{ text }}</span>\n }\n @if (loadingText()) {\n <span class=\"ax-button-text\">{{ loadingText() }}</span>\n }\n\n <ng-content select=\"ax-suffix\"> </ng-content>\n <ng-content select=\"ax-dropdown-panel\"> </ng-content>\n <ng-content select=\".tab-content\"> </ng-content>\n</button>\n", styles: ["ax-button{position:relative;display:inline-flex;height:var(--ax-size-default);cursor:pointer;align-items:center;justify-content:center;border-radius:var(--ax-rounded-border-default);font-size:.875rem;line-height:1.25rem;outline:2px solid transparent;outline-offset:2px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-button.ax-xs{font-size:.75rem;line-height:1rem}ax-button.ax-xs>button{padding-left:.5rem;padding-right:.5rem}ax-button.ax-sm>button{padding-left:.5rem;padding-right:.5rem}ax-button.ax-sm,ax-button.ax-md{font-size:.875rem;line-height:1.25rem}ax-button.ax-lg{font-size:1rem;line-height:1.25rem}ax-button.ax-lg>button{padding-left:1.5rem;padding-right:1.5rem}ax-button.ax-xl{font-size:1.125rem;line-height:1.75rem}ax-button.ax-xl>button{padding-left:2rem;padding-right:2rem}ax-button.ax-xl.ax-button-icon{font-size:1.5rem}ax-button.ax-xs.ax-button-icon,ax-button.ax-sm.ax-button-icon{font-size:1rem}ax-button.ax-button-icon{height:var(--ax-size-default);width:var(--ax-size-default);font-size:1.25rem}ax-button.ax-state-disabled,ax-button.ax-state-loading{opacity:.5}ax-button.ax-state-disabled>button,ax-button.ax-state-loading>button{cursor:not-allowed}ax-button>button{position:relative;display:inline-flex;height:100%;width:100%;align-items:center;justify-content:center;overflow:hidden;border-radius:inherit;padding-left:1rem;padding-right:1rem;outline-color:transparent}@media screen and (max-width: 640px){ax-button>button.ax-state-responsive-xs .ax-button-text{display:none!important}}@media screen and (max-width: 768px){ax-button>button.ax-state-responsive-md .ax-button-text{display:none!important}}@media screen and (max-width: 1024px){ax-button>button.ax-state-responsive-lg .ax-button-text{display:none!important}}@media screen and (max-width: 1280px){ax-button>button.ax-state-responsive-xl .ax-button-text{display:none!important}}@media screen and (max-width: 1536px){ax-button>button.ax-state-responsive-2xl .ax-button-text{display:none!important}}ax-button>button.ax-state-focus:focus,ax-button>button:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#000;border-radius:inherit}ax-button>button .ax-button-text{white-space:nowrap;padding-left:.5rem;padding-right:.5rem;font-weight:500;line-height:1}ax-button ax-button-item.ax-divided{border-bottom-width:1px!important;border-color:rgba(var(--ax-color-border-default))!important}\n"] }]
|
112
|
-
}], propDecorators: { __hostClass: [{
|
113
|
-
type: HostBinding,
|
114
|
-
args: ['class']
|
115
|
-
}] } });
|
116
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4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G9uLXRleHRcIj57eyB0ZXh0IH19PC9zcGFuPlxuICB9XG4gIEBpZiAobG9hZGluZ1RleHQoKSkge1xuICAgIDxzcGFuIGNsYXNzPVwiYXgtYnV0dG9uLXRleHRcIj57eyBsb2FkaW5nVGV4dCgpIH19PC9zcGFuPlxuICB9XG5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtc3VmZml4XCI+IDwvbmctY29udGVudD5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtZHJvcGRvd24tcGFuZWxcIj4gPC9uZy1jb250ZW50PlxuICA8bmctY29udGVudCBzZWxlY3Q9XCIudGFiLWNvbnRlbnRcIj4gPC9uZy1jb250ZW50PlxuPC9idXR0b24+XG4iXX0=
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { AXCommonModule, AXRippleDirective } from '@acorex/components/common';
|
2
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
3
|
-
import { AXLoadingModule } from '@acorex/components/loading';
|
4
|
-
import { CommonModule } from '@angular/common';
|
5
|
-
import { NgModule } from '@angular/core';
|
6
|
-
import { AXButtonItemListComponent } from './button-item-list.component';
|
7
|
-
import { AXButtonItemComponent } from './button-item.component';
|
8
|
-
import { AXButtonComponent } from './button.component';
|
9
|
-
import * as i0 from "@angular/core";
|
10
|
-
const COMPONENT = [AXButtonComponent, AXButtonItemComponent, AXButtonItemListComponent];
|
11
|
-
const MODULES = [CommonModule, AXCommonModule, AXDecoratorModule, AXLoadingModule, AXRippleDirective];
|
12
|
-
export class AXButtonModule {
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
14
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent, AXButtonItemComponent, AXButtonItemListComponent], imports: [CommonModule, AXCommonModule, AXDecoratorModule, AXLoadingModule, AXRippleDirective], exports: [AXButtonComponent, AXButtonItemComponent, AXButtonItemListComponent] }); }
|
15
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXButtonModule, imports: [CommonModule, AXCommonModule, AXDecoratorModule, AXLoadingModule] }); }
|
16
|
-
}
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXButtonModule, decorators: [{
|
18
|
-
type: NgModule,
|
19
|
-
args: [{
|
20
|
-
imports: [MODULES],
|
21
|
-
exports: [...COMPONENT],
|
22
|
-
declarations: [...COMPONENT],
|
23
|
-
providers: [],
|
24
|
-
}]
|
25
|
-
}] });
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9idXR0b24vc3JjL2xpYi9idXR0b24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUM5RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDN0QsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDekUsT0FBTyxFQUFFLHFCQUFxQixFQUF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iYWNvcmV4LWNvbXBvbmVudHMtYnV0dG9uLWdyb3VwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2J1dHRvbi1ncm91cC9zcmMvYWNvcmV4LWNvbXBvbmVudHMtYnV0dG9uLWdyb3VwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export * from './lib/button-group-item.component';
|
2
|
-
export * from './lib/button-group.component';
|
3
|
-
export * from './lib/button-group.module';
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYnV0dG9uLWdyb3VwL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL2J1dHRvbi1ncm91cC1pdGVtLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9idXR0b24tZ3JvdXAuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2J1dHRvbi1ncm91cC5tb2R1bGUnO1xuIl19
|
@@ -1,141 +0,0 @@
|
|
1
|
-
import { MXColorComponent, MXInteractiveComponent, } from '@acorex/components/common';
|
2
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, HostListener, Input, Output, ViewEncapsulation, } from '@angular/core';
|
3
|
-
import { classes } from 'polytype';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Represents a button item with optional content like icons, text, and dropdowns.
|
7
|
-
*
|
8
|
-
* @category Components
|
9
|
-
*/
|
10
|
-
export class AXButtonGroupItemComponent extends classes(MXInteractiveComponent, MXColorComponent) {
|
11
|
-
constructor() {
|
12
|
-
super(...arguments);
|
13
|
-
/**
|
14
|
-
* Whether the item is visually separated from other items.
|
15
|
-
* @defaultValue false
|
16
|
-
*/
|
17
|
-
this.divided = false;
|
18
|
-
/**
|
19
|
-
* Emitted when the button item is clicked.
|
20
|
-
* @event
|
21
|
-
* The emitted value is an `AXClickEvent` object containing event details.
|
22
|
-
*/
|
23
|
-
this.onClick = new EventEmitter();
|
24
|
-
/**
|
25
|
-
* @ignore
|
26
|
-
*/
|
27
|
-
this.tabindex = '0';
|
28
|
-
}
|
29
|
-
/**
|
30
|
-
* Indicates whether the button item is selected.
|
31
|
-
*
|
32
|
-
* @param v - A boolean indicating the selected state.
|
33
|
-
* Updates the view when the value changes.
|
34
|
-
*/
|
35
|
-
get selected() {
|
36
|
-
return this._selected;
|
37
|
-
}
|
38
|
-
set selected(v) {
|
39
|
-
this._selected = v;
|
40
|
-
this.cdr.markForCheck();
|
41
|
-
}
|
42
|
-
/**
|
43
|
-
* @ignore
|
44
|
-
*/
|
45
|
-
__hostClick(e) {
|
46
|
-
if (!this.disabled) {
|
47
|
-
this.onClick.emit({
|
48
|
-
component: this,
|
49
|
-
htmlElement: this.getHostElement(),
|
50
|
-
nativeEvent: e,
|
51
|
-
});
|
52
|
-
}
|
53
|
-
}
|
54
|
-
/**
|
55
|
-
* @ignore
|
56
|
-
*/
|
57
|
-
__hostFocus(e) {
|
58
|
-
this.emitOnFocusEvent(e);
|
59
|
-
}
|
60
|
-
/**
|
61
|
-
* @ignore
|
62
|
-
*/
|
63
|
-
__hostBlur(e) {
|
64
|
-
this.emitOnBlurEvent(e);
|
65
|
-
}
|
66
|
-
/**
|
67
|
-
* @ignore
|
68
|
-
*/
|
69
|
-
get __hostClass() {
|
70
|
-
const cssClasses = {
|
71
|
-
'ax-button-icon': !this.text,
|
72
|
-
'ax-state-disabled': this.disabled,
|
73
|
-
'ax-state-selected': this.selected,
|
74
|
-
'ax-divided': this.divided,
|
75
|
-
};
|
76
|
-
cssClasses[`ax-${this.color || 'primary'}-default`] = true;
|
77
|
-
return Object.entries(cssClasses)
|
78
|
-
.filter((c) => c[1])
|
79
|
-
.map((c) => c[0])
|
80
|
-
.join(' ');
|
81
|
-
}
|
82
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXButtonGroupItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
83
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXButtonGroupItemComponent, selector: "ax-button-group-item", inputs: { color: "color", disabled: "disabled", text: "text", selected: "selected", divided: "divided", data: "data", name: "name" }, outputs: { onClick: "onClick", onFocus: "onFocus", onBlur: "onBlur", disabledChange: "disabledChange" }, host: { listeners: { "click": "__hostClick($event)", "focus": "__hostFocus($event)", "blur": "__hostBlur($event)" }, properties: { "class": "this.__hostClass", "attr.tabindex": "this.tabindex" } }, usesInheritance: true, ngImport: i0, template: `
|
84
|
-
<ng-content select="ax-prefix"> </ng-content>
|
85
|
-
<ng-content select="ax-loading"> </ng-content>
|
86
|
-
<ng-content select="ax-icon"> </ng-content>
|
87
|
-
@if (text) {
|
88
|
-
<span class="ax-button-group-item-text">{{ text }}</span>
|
89
|
-
}
|
90
|
-
<ng-content select="ax-suffix"> </ng-content>
|
91
|
-
<ng-content select="ax-dropdown-panel"> </ng-content>
|
92
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
93
|
-
}
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXButtonGroupItemComponent, decorators: [{
|
95
|
-
type: Component,
|
96
|
-
args: [{
|
97
|
-
selector: 'ax-button-group-item',
|
98
|
-
template: `
|
99
|
-
<ng-content select="ax-prefix"> </ng-content>
|
100
|
-
<ng-content select="ax-loading"> </ng-content>
|
101
|
-
<ng-content select="ax-icon"> </ng-content>
|
102
|
-
@if (text) {
|
103
|
-
<span class="ax-button-group-item-text">{{ text }}</span>
|
104
|
-
}
|
105
|
-
<ng-content select="ax-suffix"> </ng-content>
|
106
|
-
<ng-content select="ax-dropdown-panel"> </ng-content>
|
107
|
-
`,
|
108
|
-
encapsulation: ViewEncapsulation.None,
|
109
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
110
|
-
inputs: ['color', 'disabled'],
|
111
|
-
outputs: ['onClick', 'onFocus', 'onBlur', 'disabledChange'],
|
112
|
-
}]
|
113
|
-
}], propDecorators: { text: [{
|
114
|
-
type: Input
|
115
|
-
}], selected: [{
|
116
|
-
type: Input
|
117
|
-
}], divided: [{
|
118
|
-
type: Input
|
119
|
-
}], data: [{
|
120
|
-
type: Input
|
121
|
-
}], name: [{
|
122
|
-
type: Input
|
123
|
-
}], onClick: [{
|
124
|
-
type: Output
|
125
|
-
}], __hostClick: [{
|
126
|
-
type: HostListener,
|
127
|
-
args: ['click', ['$event']]
|
128
|
-
}], __hostFocus: [{
|
129
|
-
type: HostListener,
|
130
|
-
args: ['focus', ['$event']]
|
131
|
-
}], __hostBlur: [{
|
132
|
-
type: HostListener,
|
133
|
-
args: ['blur', ['$event']]
|
134
|
-
}], __hostClass: [{
|
135
|
-
type: HostBinding,
|
136
|
-
args: ['class']
|
137
|
-
}], tabindex: [{
|
138
|
-
type: HostBinding,
|
139
|
-
args: ['attr.tabindex']
|
140
|
-
}] } });
|
141
|
-
//# sourceMappingUR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