@acorex/components 18.16.0-next.9 → 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/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 +36 -36
- 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 +60 -60
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +53 -53
- 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 +38 -30
- 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/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 -28
- 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 -147
- 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 -161
- 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,4 +0,0 @@
|
|
1
|
-
import { AXEvent } from '@acorex/components/common';
|
2
|
-
export class AXConversationActionEvent extends AXEvent {
|
3
|
-
}
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnRzLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jbGFzc2VzL2V2ZW50cy5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBZSxNQUFNLDJCQUEyQixDQUFDO0FBS2pFLE1BQU0sT0FBTyx5QkFBMEIsU0FBUSxPQUFPO0NBRXJEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQVhFdmVudCwgQVhIdG1sRXZlbnQgfSBmcm9tICdAYWNvcmV4L2NvbXBvbmVudHMvY29tbW9uJztcblxuZXhwb3J0IGludGVyZmFjZSBBWElucHV0RmlsZUNoYW5nZSBleHRlbmRzIEFYSHRtbEV2ZW50PE1vdXNlRXZlbnQ+IHtcbiAgZGF0YT86IGFueTtcbn1cbmV4cG9ydCBjbGFzcyBBWENvbnZlcnNhdGlvbkFjdGlvbkV2ZW50IGV4dGVuZHMgQVhFdmVudCB7XG4gIGRhdGE6IGFueTtcbn1cbiJdfQ==
|
package/esm2022/conversation/lib/conversation-container/conversation-container.component.mjs
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
import { Component, ViewEncapsulation } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
/**
|
4
|
-
* A container for displaying and managing conversations.
|
5
|
-
* @category Components
|
6
|
-
*/
|
7
|
-
export class AXConversationContainerComponent {
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXConversationContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXConversationContainerComponent, selector: "ax-conversation-container", ngImport: i0, template: "<div class=\"ax-conversation-container\">\n <ng-content> </ng-content>\n</div>\n", styles: ["ax-conversation-container{width:100%}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
10
|
-
}
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXConversationContainerComponent, decorators: [{
|
12
|
-
type: Component,
|
13
|
-
args: [{ selector: 'ax-conversation-container', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-conversation-container\">\n <ng-content> </ng-content>\n</div>\n", styles: ["ax-conversation-container{width:100%}\n"] }]
|
14
|
-
}] });
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyc2F0aW9uLWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29udmVyc2F0aW9uL3NyYy9saWIvY29udmVyc2F0aW9uLWNvbnRhaW5lci9jb252ZXJzYXRpb24tY29udGFpbmVyLmNvbXBvbmVudC50cyIsIi4uL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GFzcz1cImF4LWNvbnZlcnNhdGlvbi1jb250YWluZXJcIj5cbiAgPG5nLWNvbnRlbnQ+IDwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
|
@@ -1,193 +0,0 @@
|
|
1
|
-
import { AXComponent, AXFocusableComponent, AXValuableComponent, MXInputBaseValueComponent, MXLookComponent, } from '@acorex/components/common';
|
2
|
-
import { ChangeDetectionStrategy, Component, ElementRef, ViewChild, ViewEncapsulation, computed, forwardRef, inject, input, output, signal, } from '@angular/core';
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
-
import { classes } from 'polytype';
|
5
|
-
import { AXConversationService } from '../services/conversation.service';
|
6
|
-
import { AXRecordingService } from '../services/recording.service';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
import * as i1 from "@angular/forms";
|
9
|
-
import * as i2 from "@acorex/components/button";
|
10
|
-
import * as i3 from "@acorex/components/decorators";
|
11
|
-
import * as i4 from "@acorex/components/dropdown";
|
12
|
-
import * as i5 from "@angular/common";
|
13
|
-
import * as i6 from "@acorex/core/translation";
|
14
|
-
/**
|
15
|
-
* An input component for entering conversation messages.
|
16
|
-
*
|
17
|
-
* @category Components
|
18
|
-
*/
|
19
|
-
export class AXConversationInputComponent extends classes((MXInputBaseValueComponent), MXLookComponent) {
|
20
|
-
constructor() {
|
21
|
-
super(...arguments);
|
22
|
-
/**
|
23
|
-
* @ignore
|
24
|
-
*/
|
25
|
-
this.conversationService = inject(AXConversationService);
|
26
|
-
/**
|
27
|
-
* @ignore
|
28
|
-
*/
|
29
|
-
this.chats = computed(() => {
|
30
|
-
return this.conversationService.chats();
|
31
|
-
});
|
32
|
-
/**
|
33
|
-
* @ignore
|
34
|
-
*/
|
35
|
-
this.replyChat = computed(() => {
|
36
|
-
const findMessage = this.chats().find((item) => item.id === this.conversationService.replyId());
|
37
|
-
return findMessage;
|
38
|
-
});
|
39
|
-
/** Maximum length of input text */
|
40
|
-
this.maxLength = input();
|
41
|
-
/** Indicates if an attachment is present */
|
42
|
-
this.hasAttachment = input();
|
43
|
-
/** Indicates if voice recording is enabled */
|
44
|
-
this.haVoice = input();
|
45
|
-
/** Acceptable file types for attachment */
|
46
|
-
this.acceptFileType = input('*');
|
47
|
-
/**
|
48
|
-
* Emitted when the send button is clicked.
|
49
|
-
*
|
50
|
-
* @event
|
51
|
-
*/
|
52
|
-
this.onSendClick = output();
|
53
|
-
/**
|
54
|
-
* Emitted when recording starts.
|
55
|
-
*
|
56
|
-
* @event
|
57
|
-
*/
|
58
|
-
this.onStartRecording = output();
|
59
|
-
/**
|
60
|
-
* Emitted when recording is canceled.
|
61
|
-
*
|
62
|
-
* @event
|
63
|
-
*/
|
64
|
-
this.onCancelRecording = output();
|
65
|
-
/**
|
66
|
-
* @ignore
|
67
|
-
*/
|
68
|
-
this.recording = signal(false);
|
69
|
-
/**
|
70
|
-
* @ignore
|
71
|
-
*/
|
72
|
-
this.recordingService = inject(AXRecordingService);
|
73
|
-
/**
|
74
|
-
* @ignore
|
75
|
-
*/
|
76
|
-
this._updateOn = 'change';
|
77
|
-
}
|
78
|
-
/**
|
79
|
-
* @ignore
|
80
|
-
*/
|
81
|
-
_handleModelChange(value) {
|
82
|
-
this.commitValue(value, true);
|
83
|
-
}
|
84
|
-
/**
|
85
|
-
* Initiates recording when the record button is clicked.
|
86
|
-
* Emits an event when recording starts.
|
87
|
-
* @ignore
|
88
|
-
*/
|
89
|
-
handleRecordClick() {
|
90
|
-
this.recording.set(true);
|
91
|
-
this.recordingService
|
92
|
-
?.startRecording()
|
93
|
-
.then(() => {
|
94
|
-
this.onStartRecording.emit({
|
95
|
-
component: this,
|
96
|
-
data: { recording: true },
|
97
|
-
isUserInteraction: true,
|
98
|
-
});
|
99
|
-
})
|
100
|
-
.catch((e) => {
|
101
|
-
throw e;
|
102
|
-
});
|
103
|
-
}
|
104
|
-
/**
|
105
|
-
* Cancels the recording and emits an event to indicate cancellation.
|
106
|
-
* @ignore
|
107
|
-
*/
|
108
|
-
handleCancelRecordingClick() {
|
109
|
-
this.recording.set(false);
|
110
|
-
this.onCancelRecording.emit({
|
111
|
-
component: this,
|
112
|
-
data: { value: null },
|
113
|
-
});
|
114
|
-
}
|
115
|
-
/**
|
116
|
-
* Opens the file picker for attachment.
|
117
|
-
* @ignore
|
118
|
-
*/
|
119
|
-
handleAttachClick() {
|
120
|
-
this.inputFile.nativeElement.click();
|
121
|
-
}
|
122
|
-
/**
|
123
|
-
* Emits the selected files when the file input changes.
|
124
|
-
* @ignore
|
125
|
-
*/
|
126
|
-
handleChangeFile(event) {
|
127
|
-
this.onSendClick.emit({
|
128
|
-
component: this,
|
129
|
-
data: { value: event.target.files, type: 'file' },
|
130
|
-
});
|
131
|
-
}
|
132
|
-
/**
|
133
|
-
* Emits the text value and optional replyChat when the send button is clicked.
|
134
|
-
* @ignore
|
135
|
-
*/
|
136
|
-
handleSendClick() {
|
137
|
-
this.onSendClick.emit({
|
138
|
-
component: this,
|
139
|
-
data: { value: this.value, replyChat: this.replyChat() || null, type: 'text' },
|
140
|
-
isUserInteraction: true,
|
141
|
-
});
|
142
|
-
this.conversationService.replyId.set('');
|
143
|
-
}
|
144
|
-
/**
|
145
|
-
* Ends recording and emits the recorded voice data when the send voice button is clicked.
|
146
|
-
* @ignore
|
147
|
-
*/
|
148
|
-
handleSendVoiceClick() {
|
149
|
-
this.recordingService.endRecording().then((c) => {
|
150
|
-
this.recording.set(false);
|
151
|
-
this.onSendClick.emit({
|
152
|
-
component: this,
|
153
|
-
data: { value: c, type: 'voice' },
|
154
|
-
isUserInteraction: true,
|
155
|
-
});
|
156
|
-
});
|
157
|
-
}
|
158
|
-
/**
|
159
|
-
* Clears the reply ID when closing a reply.
|
160
|
-
* @ignore
|
161
|
-
*/
|
162
|
-
closeReplyHandler() {
|
163
|
-
this.conversationService.replyId.set('');
|
164
|
-
}
|
165
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXConversationInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
166
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXConversationInputComponent, selector: "ax-conversation-input", inputs: { look: { classPropertyName: "look", publicName: "look", isSignal: false, isRequired: false, transformFunction: null }, maxLength: { classPropertyName: "maxLength", publicName: "maxLength", isSignal: true, isRequired: false, transformFunction: null }, hasAttachment: { classPropertyName: "hasAttachment", publicName: "hasAttachment", isSignal: true, isRequired: false, transformFunction: null }, haVoice: { classPropertyName: "haVoice", publicName: "haVoice", isSignal: true, isRequired: false, transformFunction: null }, acceptFileType: { classPropertyName: "acceptFileType", publicName: "acceptFileType", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSendClick: "onSendClick", onStartRecording: "onStartRecording", onCancelRecording: "onCancelRecording" }, providers: [
|
167
|
-
{ provide: AXComponent, useExisting: AXConversationInputComponent },
|
168
|
-
{ provide: AXFocusableComponent, useExisting: AXConversationInputComponent },
|
169
|
-
{ provide: AXValuableComponent, useExisting: AXConversationInputComponent },
|
170
|
-
{
|
171
|
-
provide: NG_VALUE_ACCESSOR,
|
172
|
-
useExisting: forwardRef(() => AXConversationInputComponent),
|
173
|
-
multi: true,
|
174
|
-
},
|
175
|
-
], viewQueries: [{ propertyName: "inputFile", first: true, predicate: ["inputFile"], descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (replyChat()) {\n <div class=\"ax-editor-reply-container ax-editor-container ax-look-{{ look }}\">\n <div class=\"ax-reply-start\">\n <i class=\"fa-solid fa-reply\"></i>\n @switch (replyChat().type) {\n @case ('text') {\n <p>\n {{ replyChat().content }}\n </p>\n }\n @case ('image') {\n <div class=\"ax-reply-types\">\n <img src=\"{{ replyChat().content }}\" alt=\"\" />\n {{ replyChat().type }}\n </div>\n }\n @case ('video') {\n <div class=\"ax-reply-types\">\n <video src=\"{{ replyChat().content }}\" alt=\"\"></video>\n {{ replyChat().type }}\n </div>\n }\n @case ('file') {\n <div class=\"ax-reply-types\">\n <i class=\"fa-regular fa-folder-open\"></i>\n {{ replyChat().name }}\n </div>\n }\n @default {\n <p>\n {{ replyChat().type }}\n </p>\n }\n }\n </div>\n <i (click)=\"closeReplyHandler()\" class=\"fa-solid fa-xmark ax-cursor-pointer\"></i>\n </div>\n}\n\n<div class=\"ax-conversation-input ax-editor-container ax-look-{{ look }}\" [class.ax-state-recording]=\"recording()\">\n @if (recording()) {\n <div class=\"ax-conversation-input-start-side\">\n <span class=\"ax-record-dot\"></span>\n <span>{{ recordingService.timer() }}</span>\n </div>\n <div class=\"ax-conversation-input-main-side\">\n <ax-button\n class=\"ax-sm\"\n look=\"blank\"\n color=\"primary\"\n [text]=\"'cancel' | translate | async\"\n (onClick)=\"handleCancelRecordingClick()\"\n ></ax-button>\n </div>\n <div class=\"ax-conversation-input-end-side\">\n <ax-button look=\"solid\" color=\"danger\" class=\"ax-blob ax-sm\" (onClick)=\"handleSendVoiceClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-send\"></i>\n </ax-icon>\n </ax-button>\n </div>\n } @else {\n <div class=\"ax-conversation-input-start-side\">\n <ax-button look=\"blank\" class=\"ax-sm\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-emoji\"></i>\n </ax-icon>\n <ax-dropdown-panel>\n <ng-container>\n <div class=\"ax-emoji-container\">\n <div>\u26A0\uFE0F</div>\n <div>\u27A1\uFE0F</div>\n <div>\uD83D\uDD03</div>\n <div>\uD83D\uDD37</div>\n <div>\uD83E\uDD1A</div>\n <div>\uD83D\uDE02</div>\n <div>\uD83D\uDE0A</div>\n </div>\n </ng-container>\n </ax-dropdown-panel>\n </ax-button>\n </div>\n\n <textarea\n class=\"ax-conversation-input-main-side\"\n oninput='this.style.height = \"\";this.style.height = this.scrollHeight + \"px\"'\n type=\"text\"\n rows=\"1\"\n [id]=\"id\"\n [name]=\"name\"\n [attr.placeholder]=\"placeholder\"\n [attr.maxlength]=\"maxLength()\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n [ngModelOptions]=\"{ updateOn: _updateOn }\"\n (keydown)=\"emitOnKeydownEvent($event)\"\n (keyup)=\"emitOnKeyupEvent($event)\"\n (keypress)=\"emitOnKeypressEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n >\n </textarea>\n\n <div class=\"ax-conversation-input-end-side\">\n @if (!value) {\n <ax-button look=\"blank\" class=\"ax-sm\" (onClick)=\"handleAttachClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-attach\"></i>\n </ax-icon>\n </ax-button>\n <ax-button look=\"blank\" class=\"ax-sm\" (onClick)=\"handleRecordClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-mic\"></i>\n </ax-icon>\n </ax-button>\n <input multiple #inputFile [accept]=\"acceptFileType()\" type=\"file\" class=\"ax-attach-input\" (change)=\"handleChangeFile($event)\" />\n } @else {\n <ax-button look=\"solid\" color=\"primary\" class=\"ax-sm\" (onClick)=\"handleSendClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-send\"></i>\n </ax-icon>\n </ax-button>\n }\n </div>\n }\n</div>\n", styles: [".ax-dark .ax-conversation-input:focus-within{box-shadow:0 0 0 1px rgba(var(--ax-color-primary-200));border-color:rgba(var(--ax-color-primary-200))}ax-conversation-input{width:100%}ax-conversation-input .ax-conversation-input{display:flex;align-items:flex-end;position:relative;resize:vertical;height:auto;padding:.5rem;font-size:.875rem}ax-conversation-input .ax-conversation-input.ax-state-recording{align-items:center;display:grid;grid-template-columns:repeat(3,1fr)}ax-conversation-input .ax-conversation-input.ax-state-recording .ax-conversation-input-start-side{justify-content:flex-start}ax-conversation-input .ax-conversation-input.ax-state-recording .ax-conversation-input-end-side{justify-content:flex-end}ax-conversation-input .ax-conversation-input>textarea{font-size:.875rem;background-color:transparent;max-height:10rem;min-height:1.5rem;line-height:2rem;flex:1 1 auto;height:auto;resize:none}ax-conversation-input .ax-conversation-input>textarea:focus,ax-conversation-input .ax-conversation-input>textarea:focus-visible{outline:unset}ax-conversation-input .ax-conversation-input .ax-conversation-input-start-side,ax-conversation-input .ax-conversation-input .ax-conversation-input-end-side{display:flex;align-items:center;justify-content:center}ax-conversation-input .ax-conversation-input .ax-conversation-input-start-side{padding-inline-end:.75rem}ax-conversation-input .ax-conversation-input .ax-conversation-input-main-side{flex:1 1 auto;display:flex;align-items:center;justify-content:center}ax-conversation-input .ax-conversation-input .ax-conversation-input-end-side{padding-inline-start:.75rem;gap:.5rem}ax-conversation-input .ax-conversation-input .ax-record-dot{display:inline-flex;width:.5rem;height:.5rem;background-color:rgba(var(--ax-color-danger-500));border-radius:999rem;margin-inline-end:.5rem}ax-conversation-input .ax-conversation-input .ax-blob{animation:pulse .75s infinite}@keyframes pulse{0%{transform:scale(1);box-shadow:0 0 rgba(var(--ax-color-danger-500),.7)}70%{transform:scale(1);box-shadow:0 0 0 10px rgba(var(--ax-color-danger-500),0)}to{transform:scale(1);box-shadow:0 0 rgba(var(--ax-color-danger-500),0)}}ax-conversation-input .ax-conversation-input .ax-attach-input{opacity:0;width:0;height:0;position:absolute}ax-conversation-input .ax-emoji-container{padding:.75rem;gap:.5rem;display:grid;grid-template-columns:repeat(7,1fr)}ax-conversation-input .ax-emoji-container>div{padding:.25rem;cursor:pointer;border-radius:var(--ax-rounded-border-default)}ax-conversation-input .ax-emoji-container>div:hover{background-color:rgba(var(--ax-color-on-surface))}ax-conversation-input .ax-editor-reply-container{display:flex;padding:.75rem;justify-content:space-between}ax-conversation-input .ax-reply-start{display:flex;align-items:center}ax-conversation-input .ax-cursor-pointer{cursor:pointer}ax-conversation-input .ax-reply-types{display:flex;align-items:center}ax-conversation-input .ax-reply-start i{margin-inline-end:1rem}ax-conversation-input .ax-reply-start img,ax-conversation-input .ax-reply-start video{margin-inline-end:.5rem;height:1.75rem;width:1.75rem}\n"], dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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"] }, { kind: "component", type: i4.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
176
|
-
}
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXConversationInputComponent, decorators: [{
|
178
|
-
type: Component,
|
179
|
-
args: [{ selector: 'ax-conversation-input', inputs: ['look'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
180
|
-
{ provide: AXComponent, useExisting: AXConversationInputComponent },
|
181
|
-
{ provide: AXFocusableComponent, useExisting: AXConversationInputComponent },
|
182
|
-
{ provide: AXValuableComponent, useExisting: AXConversationInputComponent },
|
183
|
-
{
|
184
|
-
provide: NG_VALUE_ACCESSOR,
|
185
|
-
useExisting: forwardRef(() => AXConversationInputComponent),
|
186
|
-
multi: true,
|
187
|
-
},
|
188
|
-
], template: "@if (replyChat()) {\n <div class=\"ax-editor-reply-container ax-editor-container ax-look-{{ look }}\">\n <div class=\"ax-reply-start\">\n <i class=\"fa-solid fa-reply\"></i>\n @switch (replyChat().type) {\n @case ('text') {\n <p>\n {{ replyChat().content }}\n </p>\n }\n @case ('image') {\n <div class=\"ax-reply-types\">\n <img src=\"{{ replyChat().content }}\" alt=\"\" />\n {{ replyChat().type }}\n </div>\n }\n @case ('video') {\n <div class=\"ax-reply-types\">\n <video src=\"{{ replyChat().content }}\" alt=\"\"></video>\n {{ replyChat().type }}\n </div>\n }\n @case ('file') {\n <div class=\"ax-reply-types\">\n <i class=\"fa-regular fa-folder-open\"></i>\n {{ replyChat().name }}\n </div>\n }\n @default {\n <p>\n {{ replyChat().type }}\n </p>\n }\n }\n </div>\n <i (click)=\"closeReplyHandler()\" class=\"fa-solid fa-xmark ax-cursor-pointer\"></i>\n </div>\n}\n\n<div class=\"ax-conversation-input ax-editor-container ax-look-{{ look }}\" [class.ax-state-recording]=\"recording()\">\n @if (recording()) {\n <div class=\"ax-conversation-input-start-side\">\n <span class=\"ax-record-dot\"></span>\n <span>{{ recordingService.timer() }}</span>\n </div>\n <div class=\"ax-conversation-input-main-side\">\n <ax-button\n class=\"ax-sm\"\n look=\"blank\"\n color=\"primary\"\n [text]=\"'cancel' | translate | async\"\n (onClick)=\"handleCancelRecordingClick()\"\n ></ax-button>\n </div>\n <div class=\"ax-conversation-input-end-side\">\n <ax-button look=\"solid\" color=\"danger\" class=\"ax-blob ax-sm\" (onClick)=\"handleSendVoiceClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-send\"></i>\n </ax-icon>\n </ax-button>\n </div>\n } @else {\n <div class=\"ax-conversation-input-start-side\">\n <ax-button look=\"blank\" class=\"ax-sm\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-emoji\"></i>\n </ax-icon>\n <ax-dropdown-panel>\n <ng-container>\n <div class=\"ax-emoji-container\">\n <div>\u26A0\uFE0F</div>\n <div>\u27A1\uFE0F</div>\n <div>\uD83D\uDD03</div>\n <div>\uD83D\uDD37</div>\n <div>\uD83E\uDD1A</div>\n <div>\uD83D\uDE02</div>\n <div>\uD83D\uDE0A</div>\n </div>\n </ng-container>\n </ax-dropdown-panel>\n </ax-button>\n </div>\n\n <textarea\n class=\"ax-conversation-input-main-side\"\n oninput='this.style.height = \"\";this.style.height = this.scrollHeight + \"px\"'\n type=\"text\"\n rows=\"1\"\n [id]=\"id\"\n [name]=\"name\"\n [attr.placeholder]=\"placeholder\"\n [attr.maxlength]=\"maxLength()\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n [ngModelOptions]=\"{ updateOn: _updateOn }\"\n (keydown)=\"emitOnKeydownEvent($event)\"\n (keyup)=\"emitOnKeyupEvent($event)\"\n (keypress)=\"emitOnKeypressEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n >\n </textarea>\n\n <div class=\"ax-conversation-input-end-side\">\n @if (!value) {\n <ax-button look=\"blank\" class=\"ax-sm\" (onClick)=\"handleAttachClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-attach\"></i>\n </ax-icon>\n </ax-button>\n <ax-button look=\"blank\" class=\"ax-sm\" (onClick)=\"handleRecordClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-mic\"></i>\n </ax-icon>\n </ax-button>\n <input multiple #inputFile [accept]=\"acceptFileType()\" type=\"file\" class=\"ax-attach-input\" (change)=\"handleChangeFile($event)\" />\n } @else {\n <ax-button look=\"solid\" color=\"primary\" class=\"ax-sm\" (onClick)=\"handleSendClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-send\"></i>\n </ax-icon>\n </ax-button>\n }\n </div>\n }\n</div>\n", styles: [".ax-dark .ax-conversation-input:focus-within{box-shadow:0 0 0 1px rgba(var(--ax-color-primary-200));border-color:rgba(var(--ax-color-primary-200))}ax-conversation-input{width:100%}ax-conversation-input .ax-conversation-input{display:flex;align-items:flex-end;position:relative;resize:vertical;height:auto;padding:.5rem;font-size:.875rem}ax-conversation-input .ax-conversation-input.ax-state-recording{align-items:center;display:grid;grid-template-columns:repeat(3,1fr)}ax-conversation-input .ax-conversation-input.ax-state-recording .ax-conversation-input-start-side{justify-content:flex-start}ax-conversation-input .ax-conversation-input.ax-state-recording .ax-conversation-input-end-side{justify-content:flex-end}ax-conversation-input .ax-conversation-input>textarea{font-size:.875rem;background-color:transparent;max-height:10rem;min-height:1.5rem;line-height:2rem;flex:1 1 auto;height:auto;resize:none}ax-conversation-input .ax-conversation-input>textarea:focus,ax-conversation-input .ax-conversation-input>textarea:focus-visible{outline:unset}ax-conversation-input .ax-conversation-input .ax-conversation-input-start-side,ax-conversation-input .ax-conversation-input .ax-conversation-input-end-side{display:flex;align-items:center;justify-content:center}ax-conversation-input .ax-conversation-input .ax-conversation-input-start-side{padding-inline-end:.75rem}ax-conversation-input .ax-conversation-input .ax-conversation-input-main-side{flex:1 1 auto;display:flex;align-items:center;justify-content:center}ax-conversation-input .ax-conversation-input .ax-conversation-input-end-side{padding-inline-start:.75rem;gap:.5rem}ax-conversation-input .ax-conversation-input .ax-record-dot{display:inline-flex;width:.5rem;height:.5rem;background-color:rgba(var(--ax-color-danger-500));border-radius:999rem;margin-inline-end:.5rem}ax-conversation-input .ax-conversation-input .ax-blob{animation:pulse .75s infinite}@keyframes pulse{0%{transform:scale(1);box-shadow:0 0 rgba(var(--ax-color-danger-500),.7)}70%{transform:scale(1);box-shadow:0 0 0 10px rgba(var(--ax-color-danger-500),0)}to{transform:scale(1);box-shadow:0 0 rgba(var(--ax-color-danger-500),0)}}ax-conversation-input .ax-conversation-input .ax-attach-input{opacity:0;width:0;height:0;position:absolute}ax-conversation-input .ax-emoji-container{padding:.75rem;gap:.5rem;display:grid;grid-template-columns:repeat(7,1fr)}ax-conversation-input .ax-emoji-container>div{padding:.25rem;cursor:pointer;border-radius:var(--ax-rounded-border-default)}ax-conversation-input .ax-emoji-container>div:hover{background-color:rgba(var(--ax-color-on-surface))}ax-conversation-input .ax-editor-reply-container{display:flex;padding:.75rem;justify-content:space-between}ax-conversation-input .ax-reply-start{display:flex;align-items:center}ax-conversation-input .ax-cursor-pointer{cursor:pointer}ax-conversation-input .ax-reply-types{display:flex;align-items:center}ax-conversation-input .ax-reply-start i{margin-inline-end:1rem}ax-conversation-input .ax-reply-start img,ax-conversation-input .ax-reply-start video{margin-inline-end:.5rem;height:1.75rem;width:1.75rem}\n"] }]
|
189
|
-
}], propDecorators: { inputFile: [{
|
190
|
-
type: ViewChild,
|
191
|
-
args: ['inputFile']
|
192
|
-
}] } });
|
193
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyc2F0aW9uLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jb252ZXJzYXRpb24taW5wdXQvY29udmVyc2F0aW9uLWlucHV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jb252ZXJzYXRpb24taW5wdXQvY29udmVyc2F0aW9uLWlucHV0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCxXQUFXLEVBQ1gsb0JBQW9CLEVBQ3BCLG1CQUFtQixFQUNuQix5QkFBeUIsRUFDekIsZUFBZSxHQUNoQixNQUFNLDJCQUEyQixDQUFDO0FBQ25DLE9BQU8s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WFkb25seVwiXG4gICAgICBbdGFiaW5kZXhdPVwidGFiSW5kZXhcIlxuICAgICAgW25nTW9kZWxdPVwidmFsdWVcIlxuICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwiX2hhbmRsZU1vZGVsQ2hhbmdlKCRldmVudClcIlxuICAgICAgW25nTW9kZWxPcHRpb25zXT1cInsgdXBkYXRlT246IF91cGRhdGVPbiB9XCJcbiAgICAgIChrZXlkb3duKT1cImVtaXRPbktleWRvd25FdmVudCgkZXZlbnQpXCJcbiAgICAgIChrZXl1cCk9XCJlbWl0T25LZXl1cEV2ZW50KCRldmVudClcIlxuICAgICAgKGtleXByZXNzKT1cImVtaXRPbktleXByZXNzRXZlbnQoJGV2ZW50KVwiXG4gICAgICAoZm9jdXMpPVwiZW1pdE9uRm9jdXNFdmVudCgkZXZlbnQpXCJcbiAgICAgIChibHVyKT1cImVtaXRPbkJsdXJFdmVudCgkZXZlbnQpXCJcbiAgICA+XG4gICAgPC90ZXh0YXJlYT5cblxuICAgIDxkaXYgY2xhc3M9XCJheC1jb252ZXJzYXRpb24taW5wdXQtZW5kLXNpZGVcIj5cbiAgICAgIEBpZiAoIXZhbHVlKSB7XG4gICAgICAgIDxheC1idXR0b24gbG9vaz1cImJsYW5rXCIgY2xhc3M9XCJheC1zbVwiIChvbkNsaWNrKT1cImhhbmRsZUF0dGFjaENsaWNrKClcIj5cbiAgICAgICAgICA8YXgtaWNvbj5cbiAgICAgICAgICAgIDxpIGNsYXNzPVwiYXgtaWNvbiBheC1pY29uLWF0dGFjaFwiPjwvaT5cbiAgICAgICAgICA8L2F4LWljb24+XG4gICAgICAgIDwvYXgtYnV0dG9uPlxuICAgICAgICA8YXgtYnV0dG9uIGxvb2s9XCJibGFua1wiIGNsYXNzPVwiYXgtc21cIiAob25DbGljayk9XCJoYW5kbGVSZWNvcmRDbGljaygpXCI+XG4gICAgICAgICAgPGF4LWljb24+XG4gICAgICAgICAgICA8aSBjbGFzcz1cImF4LWljb24gYXgtaWNvbi1taWNcIj48L2k+XG4gICAgICAgICAgPC9heC1pY29uPlxuICAgICAgICA8L2F4LWJ1dHRvbj5cbiAgICAgICAgPGlucHV0IG11bHRpcGxlICNpbnB1dEZpbGUgW2FjY2VwdF09XCJhY2NlcHRGaWxlVHlwZSgpXCIgdHlwZT1cImZpbGVcIiBjbGFzcz1cImF4LWF0dGFjaC1pbnB1dFwiIChjaGFuZ2UpPVwiaGFuZGxlQ2hhbmdlRmlsZSgkZXZlbnQpXCIgLz5cbiAgICAgIH0gQGVsc2Uge1xuICAgICAgICA8YXgtYnV0dG9uIGxvb2s9XCJzb2xpZFwiIGNvbG9yPVwicHJpbWFyeVwiIGNsYXNzPVwiYXgtc21cIiAob25DbGljayk9XCJoYW5kbGVTZW5kQ2xpY2soKVwiPlxuICAgICAgICAgIDxheC1pY29uPlxuICAgICAgICAgICAgPGkgY2xhc3M9XCJheC1pY29uIGF4LWljb24tc2VuZFwiPjwvaT5cbiAgICAgICAgICA8L2F4LWljb24+XG4gICAgICAgIDwvYXgtYnV0dG9uPlxuICAgICAgfVxuICAgIDwvZGl2PlxuICB9XG48L2Rpdj5cbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyc2F0aW9uLWlucHV0LmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jb252ZXJzYXRpb24taW5wdXQvY29udmVyc2F0aW9uLWlucHV0LmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBBWEF1ZGlvUmVjb3JkZXIge1xuICBhdWRpb0Jsb2JzOiBhbnlbXTtcbiAgbWVkaWFSZWNvcmRlcjogYW55O1xuICBzdHJlYW1CZWluZ0NhcHR1cmVkOiBhbnk7XG4gIHN0YXJ0PygpOiBhbnk7XG4gIHN0b3A/KCk6IGFueTtcbiAgY2FuY2VsPygpOiBhbnk7XG4gIHN0b3BTdHJlYW0/KCk6IGFueTtcbiAgcmVzZXRSZWNvcmRpbmdQcm9wZXJ0aWVzPygpOiBhbnk7XG59XG4iXX0=
|
@@ -1,110 +0,0 @@
|
|
1
|
-
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
-
import { isBrowser } from '@acorex/core/platform';
|
3
|
-
import { ComponentPortal } from '@angular/cdk/portal';
|
4
|
-
import { Component, HostBinding, ViewEncapsulation, inject, input, viewChild, } from '@angular/core';
|
5
|
-
import { AXConversationMessageTypeRegistryService } from '../services/conversation-message-type-registry.service';
|
6
|
-
import { AXConversationService } from '../services/conversation.service';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
import * as i1 from "@acorex/components/button";
|
9
|
-
import * as i2 from "@acorex/components/decorators";
|
10
|
-
import * as i3 from "@angular/cdk/portal";
|
11
|
-
import * as i4 from "@acorex/components/avatar";
|
12
|
-
import * as i5 from "@acorex/components/popover";
|
13
|
-
import * as i6 from "@angular/common";
|
14
|
-
import * as i7 from "@acorex/core/format";
|
15
|
-
/**
|
16
|
-
* A component for displaying individual conversation messages.
|
17
|
-
*
|
18
|
-
* @category Components
|
19
|
-
*/
|
20
|
-
export class AXConversationMessageComponent extends MXBaseComponent {
|
21
|
-
constructor() {
|
22
|
-
super(...arguments);
|
23
|
-
/**
|
24
|
-
* @ignore
|
25
|
-
*/
|
26
|
-
this.popover = viewChild('popover');
|
27
|
-
/**
|
28
|
-
* @ignore
|
29
|
-
*/
|
30
|
-
this.conversationService = inject(AXConversationService);
|
31
|
-
/**
|
32
|
-
* The message data to display in the conversation.
|
33
|
-
*/
|
34
|
-
this.chatMessage = input();
|
35
|
-
/**
|
36
|
-
* @ignore
|
37
|
-
*/
|
38
|
-
this.registryService = inject(AXConversationMessageTypeRegistryService);
|
39
|
-
}
|
40
|
-
/**
|
41
|
-
* @ignore
|
42
|
-
*/
|
43
|
-
get isOwn() {
|
44
|
-
return !this.chatMessage().fromId;
|
45
|
-
}
|
46
|
-
/**
|
47
|
-
* @ignore
|
48
|
-
*/
|
49
|
-
get __hostClass() {
|
50
|
-
return `${this.isOwn ? 'ax-state-own' : ''} ${!this.isOwn ? 'ax-state-other' : ''}`;
|
51
|
-
}
|
52
|
-
/**
|
53
|
-
* @ignore
|
54
|
-
*/
|
55
|
-
ngOnInit() {
|
56
|
-
this._portal = new ComponentPortal(this.registryService.resolve(this.chatMessage().type).component);
|
57
|
-
}
|
58
|
-
/**
|
59
|
-
* @ignore
|
60
|
-
*/
|
61
|
-
_handleAttached(ref) {
|
62
|
-
ref = ref;
|
63
|
-
if (ref.instance && isBrowser()) {
|
64
|
-
Object.assign(ref.instance, { message: this.chatMessage() });
|
65
|
-
this.cdr.markForCheck();
|
66
|
-
const prefix = this.getHostElement().querySelector('ax-prefix');
|
67
|
-
const suffix = this.getHostElement().querySelector('ax-suffix');
|
68
|
-
const prefixContainer = this.getHostElement().querySelector('.ax-message-prefix');
|
69
|
-
const suffixContainer = this.getHostElement().querySelector('.ax-message-suffix');
|
70
|
-
if (prefix && prefixContainer) {
|
71
|
-
prefix.style.display = 'flex';
|
72
|
-
prefixContainer.append(prefix);
|
73
|
-
}
|
74
|
-
if (suffix && suffixContainer) {
|
75
|
-
suffix.style.display = 'flex';
|
76
|
-
suffixContainer.append(suffix);
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
/**
|
81
|
-
* @ignore
|
82
|
-
*/
|
83
|
-
handleResendClick() {
|
84
|
-
this.popover()?.close();
|
85
|
-
this.chatMessage().onResendClick();
|
86
|
-
}
|
87
|
-
/**
|
88
|
-
* @ignore
|
89
|
-
*/
|
90
|
-
handleDeleteClick() {
|
91
|
-
this.popover()?.close();
|
92
|
-
this.chatMessage().onDeleteClick();
|
93
|
-
}
|
94
|
-
/**
|
95
|
-
* @ignore
|
96
|
-
*/
|
97
|
-
replyHandler(e) {
|
98
|
-
this.conversationService.replyId.set(e);
|
99
|
-
}
|
100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXConversationMessageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
101
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXConversationMessageComponent, selector: "ax-conversation-message", inputs: { chatMessage: { classPropertyName: "chatMessage", publicName: "chatMessage", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.__hostClass" } }, viewQueries: [{ propertyName: "popover", first: true, predicate: ["popover"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@if (chatMessage().fromId) {\n <ax-avatar [size]=\"36\"></ax-avatar>\n}\n\n@if (isOwn) {\n <i (click)=\"replyHandler(chatMessage().id)\" class=\"fa-solid fa-reply ax-cursor-pointer\"></i>\n}\n\n<div class=\"ax-message-content\" [class.ax-state-own]=\"!chatMessage().fromId\" [class.ax-state-other]=\"chatMessage().fromId\">\n <ng-template [cdkPortalOutlet]=\"_portal\" (attached)=\"_handleAttached($event)\"></ng-template>\n\n <div class=\"ax-chat-message-status\">\n <div class=\"ax-message-prefix\"></div>\n <div>\n <div class=\"ax-message-suffix\"></div>\n <span>\n {{ chatMessage().sendTime | format: 'datetime' : 'HH:mm' | async }}\n </span>\n <span>\n @if (isOwn) {\n @if (chatMessage().deliverTime && chatMessage().sendTime) {\n <i class=\"ax-icon ax-icon-check ax-message-status\"></i>\n }\n @if (chatMessage().readTime && chatMessage().sendTime) {\n <i class=\"ax-icon ax-icon-dobble-check ax-message-status\"></i>\n }\n }\n </span>\n </div>\n </div>\n</div>\n\n@if (!chatMessage().sendTime) {\n <ax-button class=\"ax-resend-button ax-xs\" color=\"danger\" #b>\n <ax-icon class=\"ax-icon ax-icon-error\"></ax-icon>\n\n <ax-popover [target]=\"b\" placement=\"bottom-end\" #popover>\n <div class=\"ax-overlay-pane\">\n <ax-content> </ax-content>\n <ax-button-item-list>\n @if (chatMessage().onResendClick) {\n <ax-button-item text=\"Resend\" (onClick)=\"handleResendClick()\">\n <ax-icon class=\"ax-icon ax-icon-reload ax-bold\"></ax-icon>\n </ax-button-item>\n }\n @if (chatMessage().onDeleteClick) {\n <ax-button-item text=\"Delete\" color=\"danger\" (onClick)=\"handleDeleteClick()\">\n <ax-icon class=\"ax-icon ax-icon-clear ax-bold\"></ax-icon>\n </ax-button-item>\n }\n </ax-button-item-list>\n </div>\n </ax-popover>\n </ax-button>\n}\n", styles: [":root{--ax-message-other-color: rgba(var(--ax-color-primary-500));--ax-message-other-color-fore: rgba(var(--ax-color-primary-fore));--ax-message-status-color: rgba(var(--ax-color-primary-700));--ax-message-other-bar-color: rgba(var(--ax-color-primary-400));--ax-message-other-progress-color: rgba(var(--ax-color-primary-fore));--ax-message-own-color: rgba(var(--ax-color-primary-100));--ax-message-own-color-fore: rgba(var(--ax-color-primary-700));--ax-message-own-reply-color: rgba(var(--ax-color-primary-200));--ax-message-own-reply-color-fore: rgba(var(--ax-color-primary-800));--ax-message-other-reply-color: rgba(var(--ax-color-primary-700));--ax-message-other-reply-color-fore: white;--ax-message-border-color: rgba(var(--ax-color-primary-800));--ax-message-own-bar-color: rgba(var(--ax-color-primary-200));--ax-message-own-progress-color: rgba(var(--ax-color-primary-700))}ax-conversation-message{display:flex;gap:.5rem;align-items:flex-end}ax-conversation-message .ax-message-reply-container{border-left:.3rem solid var(--ax-message-border-color);border-radius:.75rem;padding:.75rem;margin-bottom:.25rem}ax-conversation-message .ax-message-reply-container .file{display:flex;align-items:center}ax-conversation-message .ax-message-reply-container .file i{margin-inline-end:.5rem}ax-conversation-message .ax-message-reply-container img,ax-conversation-message .ax-message-reply-container video{width:6rem}ax-conversation-message.ax-state-own{justify-content:flex-end}ax-conversation-message.ax-state-own .ax-conversation-controller button{background-color:var(--ax-message-own-color-fore);color:var(--ax-message-own-color)}ax-conversation-message.ax-state-own .ax-message-reply-container{background-color:var(--ax-message-own-reply-color);color:var(--ax-message-own-reply-color-fore)}ax-conversation-message.ax-state-other .ax-conversation-controller button{background-color:var(--ax-message-other-color-fore);color:var(--ax-message-other-color)}ax-conversation-message.ax-state-other .ax-message-reply-container{background-color:var(--ax-message-other-reply-color);color:var(--ax-message-other-reply-color-fore)}ax-conversation-message .ax-conversation-controller button{width:2.5rem;height:2.5rem;border-radius:999rem;display:flex;align-items:center;justify-content:center}ax-conversation-message .ax-conversation-controller button ax-loading-spinner{display:flex}ax-conversation-message .ax-conversation-controller button.ax-state-error{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-conversation-message .ax-conversation-controller button>i{width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700}ax-conversation-message .ax-message-content{display:block;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;border-radius:1rem;width:fit-content;max-width:50%}ax-conversation-message .ax-message-content.ax-state-own{border-end-end-radius:0!important;background-color:var(--ax-message-own-color);color:var(--ax-message-own-color-fore);justify-content:flex-end}ax-conversation-message .ax-message-content.ax-state-own .ax-chat-message-status{color:var(--ax-message-own-color-fore)}ax-conversation-message .ax-message-content.ax-state-other{border-end-start-radius:0!important;background-color:var(--ax-message-other-color);color:var(--ax-message-other-color-fore)}ax-conversation-message .ax-message-content.ax-state-other .ax-chat-message-status{color:var(--ax-message-other-color-fore)}ax-conversation-message .ax-message-content .ax-chat-message-status{display:flex;justify-content:space-between;align-items:center;font-size:.75rem}ax-conversation-message .ax-message-content .ax-chat-message-status>div{display:flex;gap:.125rem;align-items:center}ax-conversation-message .ax-message-content .ax-chat-message-status .ax-message-status{color:var(--ax-message-status-color)}ax-conversation-message .ax-message-content .ax-chat-message-status .ax-icon{font-weight:700;font-size:.875rem}ax-conversation-message .ax-message-content .ax-chat-message-status .ax-icon-error{color:rgba(var(--ax-color-danger-500))}ax-conversation-message .ax-message-content ax-prefix,ax-conversation-message .ax-message-content ax-suffix{display:none}ax-conversation-message .ax-resend-button{border-radius:999rem}ax-conversation-message .ax-cursor-pointer{cursor:pointer}ax-conversation-message .ax-rounded{border-radius:.75rem}ax-conversation-message .ax-message-content p{padding:.75rem;color:rgba(var(--ax-color-primary-fore))}@media (min-width: 320px) and (max-width: 640px){ax-conversation-message ax-avatar{display:none!important}ax-conversation-message .ax-message-content{max-width:100%}}\n"], 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.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: "directive", type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i4.AXAvatarComponent, selector: "ax-avatar", inputs: ["color", "size", "look"], outputs: ["sizeChange"] }, { kind: "component", type: i5.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.AXFormatPipe, name: "format" }], encapsulation: i0.ViewEncapsulation.None }); }
|
102
|
-
}
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXConversationMessageComponent, decorators: [{
|
104
|
-
type: Component,
|
105
|
-
args: [{ selector: 'ax-conversation-message', encapsulation: ViewEncapsulation.None, template: "@if (chatMessage().fromId) {\n <ax-avatar [size]=\"36\"></ax-avatar>\n}\n\n@if (isOwn) {\n <i (click)=\"replyHandler(chatMessage().id)\" class=\"fa-solid fa-reply ax-cursor-pointer\"></i>\n}\n\n<div class=\"ax-message-content\" [class.ax-state-own]=\"!chatMessage().fromId\" [class.ax-state-other]=\"chatMessage().fromId\">\n <ng-template [cdkPortalOutlet]=\"_portal\" (attached)=\"_handleAttached($event)\"></ng-template>\n\n <div class=\"ax-chat-message-status\">\n <div class=\"ax-message-prefix\"></div>\n <div>\n <div class=\"ax-message-suffix\"></div>\n <span>\n {{ chatMessage().sendTime | format: 'datetime' : 'HH:mm' | async }}\n </span>\n <span>\n @if (isOwn) {\n @if (chatMessage().deliverTime && chatMessage().sendTime) {\n <i class=\"ax-icon ax-icon-check ax-message-status\"></i>\n }\n @if (chatMessage().readTime && chatMessage().sendTime) {\n <i class=\"ax-icon ax-icon-dobble-check ax-message-status\"></i>\n }\n }\n </span>\n </div>\n </div>\n</div>\n\n@if (!chatMessage().sendTime) {\n <ax-button class=\"ax-resend-button ax-xs\" color=\"danger\" #b>\n <ax-icon class=\"ax-icon ax-icon-error\"></ax-icon>\n\n <ax-popover [target]=\"b\" placement=\"bottom-end\" #popover>\n <div class=\"ax-overlay-pane\">\n <ax-content> </ax-content>\n <ax-button-item-list>\n @if (chatMessage().onResendClick) {\n <ax-button-item text=\"Resend\" (onClick)=\"handleResendClick()\">\n <ax-icon class=\"ax-icon ax-icon-reload ax-bold\"></ax-icon>\n </ax-button-item>\n }\n @if (chatMessage().onDeleteClick) {\n <ax-button-item text=\"Delete\" color=\"danger\" (onClick)=\"handleDeleteClick()\">\n <ax-icon class=\"ax-icon ax-icon-clear ax-bold\"></ax-icon>\n </ax-button-item>\n }\n </ax-button-item-list>\n </div>\n </ax-popover>\n </ax-button>\n}\n", styles: [":root{--ax-message-other-color: rgba(var(--ax-color-primary-500));--ax-message-other-color-fore: rgba(var(--ax-color-primary-fore));--ax-message-status-color: rgba(var(--ax-color-primary-700));--ax-message-other-bar-color: rgba(var(--ax-color-primary-400));--ax-message-other-progress-color: rgba(var(--ax-color-primary-fore));--ax-message-own-color: rgba(var(--ax-color-primary-100));--ax-message-own-color-fore: rgba(var(--ax-color-primary-700));--ax-message-own-reply-color: rgba(var(--ax-color-primary-200));--ax-message-own-reply-color-fore: rgba(var(--ax-color-primary-800));--ax-message-other-reply-color: rgba(var(--ax-color-primary-700));--ax-message-other-reply-color-fore: white;--ax-message-border-color: rgba(var(--ax-color-primary-800));--ax-message-own-bar-color: rgba(var(--ax-color-primary-200));--ax-message-own-progress-color: rgba(var(--ax-color-primary-700))}ax-conversation-message{display:flex;gap:.5rem;align-items:flex-end}ax-conversation-message .ax-message-reply-container{border-left:.3rem solid var(--ax-message-border-color);border-radius:.75rem;padding:.75rem;margin-bottom:.25rem}ax-conversation-message .ax-message-reply-container .file{display:flex;align-items:center}ax-conversation-message .ax-message-reply-container .file i{margin-inline-end:.5rem}ax-conversation-message .ax-message-reply-container img,ax-conversation-message .ax-message-reply-container video{width:6rem}ax-conversation-message.ax-state-own{justify-content:flex-end}ax-conversation-message.ax-state-own .ax-conversation-controller button{background-color:var(--ax-message-own-color-fore);color:var(--ax-message-own-color)}ax-conversation-message.ax-state-own .ax-message-reply-container{background-color:var(--ax-message-own-reply-color);color:var(--ax-message-own-reply-color-fore)}ax-conversation-message.ax-state-other .ax-conversation-controller button{background-color:var(--ax-message-other-color-fore);color:var(--ax-message-other-color)}ax-conversation-message.ax-state-other .ax-message-reply-container{background-color:var(--ax-message-other-reply-color);color:var(--ax-message-other-reply-color-fore)}ax-conversation-message .ax-conversation-controller button{width:2.5rem;height:2.5rem;border-radius:999rem;display:flex;align-items:center;justify-content:center}ax-conversation-message .ax-conversation-controller button ax-loading-spinner{display:flex}ax-conversation-message .ax-conversation-controller button.ax-state-error{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-conversation-message .ax-conversation-controller button>i{width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700}ax-conversation-message .ax-message-content{display:block;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;border-radius:1rem;width:fit-content;max-width:50%}ax-conversation-message .ax-message-content.ax-state-own{border-end-end-radius:0!important;background-color:var(--ax-message-own-color);color:var(--ax-message-own-color-fore);justify-content:flex-end}ax-conversation-message .ax-message-content.ax-state-own .ax-chat-message-status{color:var(--ax-message-own-color-fore)}ax-conversation-message .ax-message-content.ax-state-other{border-end-start-radius:0!important;background-color:var(--ax-message-other-color);color:var(--ax-message-other-color-fore)}ax-conversation-message .ax-message-content.ax-state-other .ax-chat-message-status{color:var(--ax-message-other-color-fore)}ax-conversation-message .ax-message-content .ax-chat-message-status{display:flex;justify-content:space-between;align-items:center;font-size:.75rem}ax-conversation-message .ax-message-content .ax-chat-message-status>div{display:flex;gap:.125rem;align-items:center}ax-conversation-message .ax-message-content .ax-chat-message-status .ax-message-status{color:var(--ax-message-status-color)}ax-conversation-message .ax-message-content .ax-chat-message-status .ax-icon{font-weight:700;font-size:.875rem}ax-conversation-message .ax-message-content .ax-chat-message-status .ax-icon-error{color:rgba(var(--ax-color-danger-500))}ax-conversation-message .ax-message-content ax-prefix,ax-conversation-message .ax-message-content ax-suffix{display:none}ax-conversation-message .ax-resend-button{border-radius:999rem}ax-conversation-message .ax-cursor-pointer{cursor:pointer}ax-conversation-message .ax-rounded{border-radius:.75rem}ax-conversation-message .ax-message-content p{padding:.75rem;color:rgba(var(--ax-color-primary-fore))}@media (min-width: 320px) and (max-width: 640px){ax-conversation-message ax-avatar{display:none!important}ax-conversation-message .ax-message-content{max-width:100%}}\n"] }]
|
106
|
-
}], propDecorators: { __hostClass: [{
|
107
|
-
type: HostBinding,
|
108
|
-
args: ['class']
|
109
|
-
}] } });
|
110
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyc2F0aW9uLW1lc3NhZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbnZlcnNhdGlvbi9zcmMvbGliL2NvbnZlcnNhdGlvbi1tZXNzYWdlL2NvbnZlcnNhdGlvbi1tZXNzYWdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jb252ZXJzYXRpb24tbWVzc2FnZS9jb252ZXJzYXRpb24tbWVzc2FnZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFFNUQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ2xELE9BQU8sRUFBOEIsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDbEYsT0FBTyxFQUNMLFNBQVMsRUFFVCxXQUFXLEVBQ1gsaUJBQWlCLEVBQ2pCLE1BQU0sRUFDTixLQUFLLEVBQ0wsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSx3Q0FBd0MsRUFBRSxNQUFNLHdEQUF3RCxDQUFDO0FBQ2xILE9BQU8sRUFBRSxxQkFBcUIsR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