@acorex/components 22.1.8 → 22.2.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/emoji/README.md +3 -0
- package/emojipicker/README.md +3 -0
- package/fesm2022/acorex-components-accordion.mjs +10 -10
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +15 -14
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +7 -7
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-aspect-ratio.mjs +3 -3
- package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +32 -11
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +9 -8
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +10 -10
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +7 -7
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-bubble.mjs +71 -0
- package/fesm2022/acorex-components-bubble.mjs.map +1 -0
- package/fesm2022/acorex-components-button-group.mjs +10 -10
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +365 -55
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +40 -37
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +7 -7
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +7 -7
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +7 -7
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs +44 -19
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +7 -7
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +28 -28
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-combo-box.mjs +158 -31
- package/fesm2022/acorex-components-combo-box.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +11 -7
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +28 -28
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/{acorex-components-conversation-acorex-components-conversation-Cl_dlCTX.mjs → acorex-components-conversation-acorex-components-conversation-C1Lf9tAe.mjs} +2889 -1016
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-C1Lf9tAe.mjs.map +1 -0
- package/fesm2022/{acorex-components-conversation-composer-action-choice-dialog.component-COUB9zrM.mjs → acorex-components-conversation-composer-action-choice-dialog.component-F5fLD_SK.mjs} +4 -4
- package/fesm2022/{acorex-components-conversation-composer-action-choice-dialog.component-COUB9zrM.mjs.map → acorex-components-conversation-composer-action-choice-dialog.component-F5fLD_SK.mjs.map} +1 -1
- package/fesm2022/acorex-components-conversation-emoji-categories-C7Gm95V0.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-Bk3ixvt2.mjs +87 -0
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-Bk3ixvt2.mjs.map +1 -0
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-_F-fv3Ti.mjs → acorex-components-conversation-picker-rename-file-dialog.component-DyOC1WEb.mjs} +5 -5
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-_F-fv3Ti.mjs.map → acorex-components-conversation-picker-rename-file-dialog.component-DyOC1WEb.mjs.map} +1 -1
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +47 -47
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +3 -3
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +181 -183
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +777 -160
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +7 -7
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +7 -7
- 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 +59 -117
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +10 -10
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +11 -11
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +9 -8
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +19 -14
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +15 -14
- package/fesm2022/acorex-components-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-emoji.mjs +74 -0
- package/fesm2022/acorex-components-emoji.mjs.map +1 -0
- package/fesm2022/acorex-components-emojipicker.mjs +425 -0
- package/fesm2022/acorex-components-emojipicker.mjs.map +1 -0
- package/fesm2022/acorex-components-fab.mjs +6 -6
- package/fesm2022/acorex-components-fab.mjs.map +1 -1
- package/fesm2022/acorex-components-file-viewer.mjs +226 -127
- package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +16 -16
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +10 -10
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-highlight.mjs +80 -0
- package/fesm2022/acorex-components-highlight.mjs.map +1 -0
- package/fesm2022/acorex-components-image-editor.mjs +217 -79
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +7 -7
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-inline-reaction.mjs +111 -0
- package/fesm2022/acorex-components-inline-reaction.mjs.map +1 -0
- package/fesm2022/acorex-components-json-viewer.mjs +7 -7
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +3 -3
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +6 -6
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +7 -7
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +28 -9
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +10 -10
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +16 -16
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-lookup.mjs +771 -148
- package/fesm2022/acorex-components-lookup.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +20 -13
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +215 -218
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +146 -45
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-message-status.mjs +71 -0
- package/fesm2022/acorex-components-message-status.mjs.map +1 -0
- package/fesm2022/acorex-components-message-time.mjs +36 -0
- package/fesm2022/acorex-components-message-time.mjs.map +1 -0
- package/fesm2022/acorex-components-message.mjs +120 -0
- package/fesm2022/acorex-components-message.mjs.map +1 -0
- package/fesm2022/acorex-components-navbar.mjs +7 -7
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +13 -14
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +17 -10
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +7 -7
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +25 -25
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +10 -10
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +7 -7
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +13 -13
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +61 -13
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +631 -167
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +7 -7
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +7 -7
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +7 -7
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +13 -13
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +7 -7
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +7 -7
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-reaction.mjs +144 -0
- package/fesm2022/acorex-components-reaction.mjs.map +1 -0
- package/fesm2022/acorex-components-rest-api-generator.mjs +23 -23
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +7 -7
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +9 -9
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +54 -54
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +35 -35
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +7 -7
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +9 -8
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +7 -7
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +55 -42
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-sidebar.mjs +28 -28
- package/fesm2022/acorex-components-sidebar.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +7 -7
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +7 -7
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +13 -13
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +16 -18
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +10 -10
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +367 -72
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +7 -7
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +7 -7
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +7 -7
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +7 -7
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +7 -7
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +10 -10
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +14 -14
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +7 -7
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +10 -10
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +54 -14
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +13 -13
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +7 -7
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +691 -295
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/highlight/README.md +13 -0
- package/inline-reaction/README.md +3 -0
- package/lookup/README.md +1 -1
- package/message/README.md +3 -0
- package/message-status/README.md +3 -0
- package/message-time/README.md +3 -0
- package/package.json +48 -13
- package/reaction/README.md +3 -0
- package/types/acorex-components-action-sheet.d.ts +1 -1
- package/types/acorex-components-audio-wave.d.ts +8 -0
- package/types/acorex-components-bubble.d.ts +31 -0
- package/types/acorex-components-button.d.ts +74 -9
- package/types/acorex-components-calendar.d.ts +13 -4
- package/types/acorex-components-check-box.d.ts +1 -1
- package/types/acorex-components-code-editor.d.ts +4 -1
- package/types/acorex-components-color-box.d.ts +1 -1
- package/types/acorex-components-color-palette.d.ts +2 -2
- package/types/acorex-components-combo-box.d.ts +8 -2
- package/types/acorex-components-command.d.ts +3 -1
- package/types/acorex-components-conversation.d.ts +418 -119
- package/types/acorex-components-cron-job.d.ts +6 -6
- package/types/acorex-components-data-pager.d.ts +27 -9
- package/types/acorex-components-data-table.d.ts +221 -21
- package/types/acorex-components-datetime-box.d.ts +1 -1
- package/types/acorex-components-datetime-picker.d.ts +1 -1
- package/types/acorex-components-decorators.d.ts +15 -33
- package/types/acorex-components-dialog.d.ts +1 -1
- package/types/acorex-components-dropdown-button.d.ts +2 -1
- package/types/acorex-components-dropdown.d.ts +6 -1
- package/types/acorex-components-editor.d.ts +1 -1
- package/types/acorex-components-emoji.d.ts +42 -0
- package/types/acorex-components-emojipicker.d.ts +146 -0
- package/types/acorex-components-file-viewer.d.ts +13 -2
- package/types/acorex-components-highlight.d.ts +31 -0
- package/types/acorex-components-image-editor.d.ts +19 -2
- package/types/acorex-components-inline-reaction.d.ts +52 -0
- package/types/acorex-components-list.d.ts +12 -0
- package/types/acorex-components-loading-dialog.d.ts +1 -1
- package/types/acorex-components-loading.d.ts +1 -1
- package/types/acorex-components-lookup.d.ts +214 -79
- package/types/acorex-components-map.d.ts +7 -2
- package/types/acorex-components-media-viewer.d.ts +4 -3
- package/types/acorex-components-menu.d.ts +17 -5
- package/types/acorex-components-message-status.d.ts +23 -0
- package/types/acorex-components-message-time.d.ts +19 -0
- package/types/acorex-components-message.d.ts +59 -0
- package/types/acorex-components-notification.d.ts +1 -1
- package/types/acorex-components-number-box.d.ts +2 -1
- package/types/acorex-components-otp.d.ts +1 -1
- package/types/acorex-components-page.d.ts +2 -2
- package/types/acorex-components-paint.d.ts +2 -2
- package/types/acorex-components-password-box.d.ts +1 -1
- package/types/acorex-components-phone-box.d.ts +1 -1
- package/types/acorex-components-popover.d.ts +13 -1
- package/types/acorex-components-popup.d.ts +183 -50
- package/types/acorex-components-rail-navigation.d.ts +1 -1
- package/types/acorex-components-range-slider.d.ts +1 -1
- package/types/acorex-components-reaction.d.ts +85 -0
- package/types/acorex-components-rest-api-generator.d.ts +1 -1
- package/types/acorex-components-rrule.d.ts +1 -1
- package/types/acorex-components-scheduler-picker.d.ts +1 -1
- package/types/acorex-components-scheduler.d.ts +1 -1
- package/types/acorex-components-search-box.d.ts +1 -1
- package/types/acorex-components-side-menu.d.ts +6 -8
- package/types/acorex-components-slider.d.ts +1 -1
- package/types/acorex-components-step-wizard.d.ts +4 -4
- package/types/acorex-components-switch.d.ts +1 -1
- package/types/acorex-components-tabs.d.ts +106 -19
- package/types/acorex-components-tag-box.d.ts +2 -2
- package/types/acorex-components-text-area.d.ts +1 -1
- package/types/acorex-components-text-box.d.ts +1 -1
- package/types/acorex-components-time-duration.d.ts +1 -1
- package/types/acorex-components-toast.d.ts +1 -1
- package/types/acorex-components-tree-view.d.ts +23 -1
- package/types/acorex-components-wysiwyg.d.ts +426 -77
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-Cl_dlCTX.mjs.map +0 -1
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-AO1evM19.mjs +0 -85
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-AO1evM19.mjs.map +0 -1
- package/fesm2022/acorex-components-flow-chart.mjs +0 -735
- package/fesm2022/acorex-components-flow-chart.mjs.map +0 -1
- package/fesm2022/acorex-components-query-builder.mjs +0 -267
- package/fesm2022/acorex-components-query-builder.mjs.map +0 -1
- package/flow-chart/README.md +0 -3
- package/query-builder/README.md +0 -3
- package/types/acorex-components-flow-chart.d.ts +0 -187
- package/types/acorex-components-query-builder.d.ts +0 -52
|
@@ -154,7 +154,7 @@ declare class AXDialogService {
|
|
|
154
154
|
*/
|
|
155
155
|
open(config: AXDialogConfig): AXDialogRef;
|
|
156
156
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogService, never>;
|
|
157
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
157
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
export { AXDialogComponent, AXDialogModule, AXDialogService };
|
|
@@ -10,7 +10,8 @@ import * as i4 from '@acorex/components/loading';
|
|
|
10
10
|
import * as i5 from '@acorex/components/dropdown';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Combines a button and a dropdown menu. Prefer this over composing `ax-dropdown-panel` inside
|
|
14
|
+
* `ax-button`, which is deprecated.
|
|
14
15
|
*
|
|
15
16
|
* @category Components
|
|
16
17
|
*/
|
|
@@ -153,12 +153,17 @@ declare abstract class MXDropdownBoxBaseComponent extends MXInteractiveComponent
|
|
|
153
153
|
*/
|
|
154
154
|
get isOpen(): boolean;
|
|
155
155
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXDropdownBoxBaseComponent, never>;
|
|
156
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
156
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* A panel for displaying dropdown content with configurable width and positioning.
|
|
161
161
|
*
|
|
162
|
+
* Do not compose this component inside `ax-button` for menu triggers; use
|
|
163
|
+
* `AXDropdownButtonComponent` from `@acorex/components/dropdown-button` instead. That pattern is
|
|
164
|
+
* deprecated. `ax-dropdown-panel` remains supported for other hosts (for example `ax-dropdown-box`)
|
|
165
|
+
* and for internal use by `ax-dropdown-button`.
|
|
166
|
+
*
|
|
162
167
|
* @category Components
|
|
163
168
|
*/
|
|
164
169
|
declare class AXDropdownPanelComponent extends MXInteractiveComponent implements OnDestroy {
|
|
@@ -50,7 +50,7 @@ type ImageToolConfig = {
|
|
|
50
50
|
declare const AXEditorComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
51
51
|
new (): MXInputBaseValueComponent<OutputData>;
|
|
52
52
|
ɵfac: i0.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
53
|
-
ɵprov: i0.ɵɵInjectableDeclaration<
|
|
53
|
+
ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
54
54
|
}, typeof MXLookComponent]>;
|
|
55
55
|
declare class AXEditorComponent extends AXEditorComponent_base {
|
|
56
56
|
#private;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AXEmoji } from '@acorex/core/constants';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Renders a single emoji using its Unicode character from metadata.
|
|
6
|
+
*
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
9
|
+
declare class AXEmojiComponent {
|
|
10
|
+
/**
|
|
11
|
+
* Emoji metadata to render.
|
|
12
|
+
*/
|
|
13
|
+
readonly emoji: _angular_core.InputSignal<AXEmoji>;
|
|
14
|
+
/**
|
|
15
|
+
* Emoji rendering style.
|
|
16
|
+
* - `google`: Noto Color Emoji (Android/Google look) on all platforms, including Windows.
|
|
17
|
+
* - `native`: OS default fonts (Segoe UI Emoji on Windows).
|
|
18
|
+
*
|
|
19
|
+
* @defaultValue 'google'
|
|
20
|
+
*/
|
|
21
|
+
readonly appearance: _angular_core.InputSignal<"google" | "native">;
|
|
22
|
+
/**
|
|
23
|
+
* Rendered size in pixels.
|
|
24
|
+
*
|
|
25
|
+
* @defaultValue 20
|
|
26
|
+
*/
|
|
27
|
+
readonly size: _angular_core.InputSignal<number>;
|
|
28
|
+
/** Unicode glyph to display. */
|
|
29
|
+
protected readonly glyph: _angular_core.Signal<string>;
|
|
30
|
+
/** Accessible label sourced from emoji metadata. */
|
|
31
|
+
protected readonly ariaLabel: _angular_core.Signal<string>;
|
|
32
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXEmojiComponent, never>;
|
|
33
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXEmojiComponent, "ax-emoji", never, { "emoji": { "alias": "emoji"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare class AXEmojiModule {
|
|
37
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXEmojiModule, never>;
|
|
38
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXEmojiModule, never, [typeof AXEmojiComponent], [typeof AXEmojiComponent]>;
|
|
39
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXEmojiModule>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { AXEmojiComponent, AXEmojiModule };
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AXValueChangedEvent } from '@acorex/cdk/common';
|
|
3
|
+
import { AXGestureEvent } from '@acorex/cdk/gesture';
|
|
4
|
+
import { AXTabStripChangedEvent } from '@acorex/components/tabs';
|
|
5
|
+
import { AXEmoji, AXEmojiCategory, AXEmojiPickerCategoryId, AXEmojiCategoryMeta } from '@acorex/core/constants';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Telegram-style emoji picker with category tabs, search, and recent emojis.
|
|
9
|
+
*
|
|
10
|
+
* @category Components
|
|
11
|
+
*/
|
|
12
|
+
declare class AXEmojiPickerComponent {
|
|
13
|
+
private readonly hostRef;
|
|
14
|
+
private readonly destroyRef;
|
|
15
|
+
/** Emoji entries available in the picker. */
|
|
16
|
+
readonly items: _angular_core.InputSignal<readonly AXEmoji[]>;
|
|
17
|
+
/** Rendered emoji size in the grid. */
|
|
18
|
+
readonly size: _angular_core.InputSignal<number>;
|
|
19
|
+
/**
|
|
20
|
+
* Emoji rendering style passed to {@link AXEmojiComponent}.
|
|
21
|
+
* `google` uses Noto Color Emoji (Android/Google look) on Windows too.
|
|
22
|
+
*
|
|
23
|
+
* @defaultValue 'google'
|
|
24
|
+
*/
|
|
25
|
+
readonly appearance: _angular_core.InputSignal<"google" | "native">;
|
|
26
|
+
/** Whether the search box is shown. */
|
|
27
|
+
readonly showSearch: _angular_core.InputSignal<boolean>;
|
|
28
|
+
/** Whether the recent category tab is shown. */
|
|
29
|
+
readonly showRecent: _angular_core.InputSignal<boolean>;
|
|
30
|
+
/** Number of emoji columns in the virtualized grid. */
|
|
31
|
+
readonly columns: _angular_core.InputSignal<number>;
|
|
32
|
+
/** Search box placeholder text. */
|
|
33
|
+
readonly searchPlaceholder: _angular_core.InputSignal<string>;
|
|
34
|
+
/** Unicode emoji group categories to hide from tabs and results. */
|
|
35
|
+
readonly excludeCategories: _angular_core.InputSignal<readonly AXEmojiCategory[]>;
|
|
36
|
+
/** `AXEmoji.code` values to hide (e.g. `1f595`). */
|
|
37
|
+
readonly excludeCodes: _angular_core.InputSignal<readonly string[]>;
|
|
38
|
+
/** `AXEmoji.unicode` glyph values to hide (e.g. `🖕`). */
|
|
39
|
+
readonly excludeUnicode: _angular_core.InputSignal<readonly string[]>;
|
|
40
|
+
/** Emits when the user selects an emoji. */
|
|
41
|
+
readonly selected: _angular_core.OutputEmitterRef<AXEmoji>;
|
|
42
|
+
/**
|
|
43
|
+
* Recently used emojis supplied by the parent (e.g. API, LocalStorage).
|
|
44
|
+
* Rendered in the Recent tab when {@link showRecent} is enabled.
|
|
45
|
+
*/
|
|
46
|
+
readonly recentItems: _angular_core.InputSignal<readonly AXEmoji[]>;
|
|
47
|
+
/** Emits the updated recent list after the user selects an allowed emoji. */
|
|
48
|
+
readonly recentChanged: _angular_core.OutputEmitterRef<readonly AXEmoji[]>;
|
|
49
|
+
/** Current search query. */
|
|
50
|
+
protected readonly searchQuery: _angular_core.WritableSignal<string>;
|
|
51
|
+
/** Active category tab. */
|
|
52
|
+
protected readonly activeCategoryId: _angular_core.WritableSignal<AXEmojiPickerCategoryId>;
|
|
53
|
+
private readonly containerWidth;
|
|
54
|
+
protected readonly effectiveColumns: _angular_core.Signal<number>;
|
|
55
|
+
protected readonly availableWidthCss: _angular_core.Signal<string>;
|
|
56
|
+
constructor();
|
|
57
|
+
/** Items after picker exclusions are applied. */
|
|
58
|
+
protected readonly filteredItems: _angular_core.Signal<readonly AXEmoji[]>;
|
|
59
|
+
private readonly categoryIndex;
|
|
60
|
+
/** Recent items after active exclusions are applied for display. */
|
|
61
|
+
protected readonly visibleRecentItems: _angular_core.Signal<AXEmoji[]>;
|
|
62
|
+
protected onCategorySwipe(event: AXGestureEvent): void;
|
|
63
|
+
/** Visible category tabs. */
|
|
64
|
+
protected readonly categories: _angular_core.Signal<readonly AXEmojiCategoryMeta[]>;
|
|
65
|
+
/** Emojis shown in the current view (category or search results). */
|
|
66
|
+
protected readonly visibleEmojis: _angular_core.Signal<readonly AXEmoji[]>;
|
|
67
|
+
/** Rows used by the virtual scroll viewport. */
|
|
68
|
+
protected readonly emojiRows: _angular_core.Signal<readonly (readonly AXEmoji[])[]>;
|
|
69
|
+
/** Virtual scroll row height in pixels. */
|
|
70
|
+
protected readonly rowHeight: _angular_core.Signal<number>;
|
|
71
|
+
/** Whether the user is searching. */
|
|
72
|
+
protected readonly isSearching: _angular_core.Signal<boolean>;
|
|
73
|
+
/** Whether the current view has no emojis. */
|
|
74
|
+
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
75
|
+
/** Keeps the active tab valid when exclusions change. */
|
|
76
|
+
private readonly syncActiveCategory;
|
|
77
|
+
/** Selects a category tab and clears search. */
|
|
78
|
+
protected selectCategory(categoryId: AXEmojiPickerCategoryId): void;
|
|
79
|
+
/** Whether the given category tab is active. */
|
|
80
|
+
protected isCategoryActive(categoryId: AXEmojiPickerCategoryId): boolean;
|
|
81
|
+
/** Whether the category tab is the virtual recent group. */
|
|
82
|
+
protected isRecentCategory(categoryId: AXEmojiPickerCategoryId): boolean;
|
|
83
|
+
/** Syncs the active emoji category when a tab is selected. */
|
|
84
|
+
protected onCategoryTabChanged(event: AXTabStripChangedEvent): void;
|
|
85
|
+
/** Updates the search query from the search box. */
|
|
86
|
+
protected onSearchChanged(event: AXValueChangedEvent<string>): void;
|
|
87
|
+
/** Emits the selected emoji and notifies the parent of the updated recent list. */
|
|
88
|
+
protected selectEmoji(emoji: AXEmoji): void;
|
|
89
|
+
/** @ignore */
|
|
90
|
+
protected trackRow(index: number, row: readonly AXEmoji[]): string;
|
|
91
|
+
private rememberRecent;
|
|
92
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXEmojiPickerComponent, never>;
|
|
93
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXEmojiPickerComponent, "ax-emoji-picker", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "showSearch": { "alias": "showSearch"; "required": false; "isSignal": true; }; "showRecent": { "alias": "showRecent"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "excludeCategories": { "alias": "excludeCategories"; "required": false; "isSignal": true; }; "excludeCodes": { "alias": "excludeCodes"; "required": false; "isSignal": true; }; "excludeUnicode": { "alias": "excludeUnicode"; "required": false; "isSignal": true; }; "recentItems": { "alias": "recentItems"; "required": false; "isSignal": true; }; }, { "selected": "selected"; "recentChanged": "recentChanged"; }, never, never, true, never>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/** Maximum number of emojis kept in the recent list. */
|
|
97
|
+
declare const RECENT_EMOJI_LIMIT = 20;
|
|
98
|
+
/** Grid cell size in px (`--ax-comp-emoji-picker-cell-size`). */
|
|
99
|
+
declare const EMOJI_PICKER_CELL_SIZE_PX = 36;
|
|
100
|
+
/** Grid cell size in px on narrow viewports. */
|
|
101
|
+
declare const EMOJI_PICKER_CELL_SIZE_PX_COMPACT = 32;
|
|
102
|
+
/** Gap between grid cells in px (`--ax-comp-emoji-picker-cell-gap`). */
|
|
103
|
+
declare const EMOJI_PICKER_CELL_GAP_PX = 2;
|
|
104
|
+
/** Horizontal padding around the emoji grid in px. */
|
|
105
|
+
declare const EMOJI_PICKER_GRID_PADDING_PX = 24;
|
|
106
|
+
/** Minimum column count. */
|
|
107
|
+
declare const EMOJI_PICKER_MIN_COLUMNS = 1;
|
|
108
|
+
/** Nearest ancestor that participates in layout (skips `display: contents`). */
|
|
109
|
+
declare function getEmojiPickerLayoutContainer(element: HTMLElement): HTMLElement;
|
|
110
|
+
/**
|
|
111
|
+
* Available width for the picker grid.
|
|
112
|
+
* Uses the tightest ancestor content box and the visible viewport slot so an
|
|
113
|
+
* overflowing parent cannot keep an 8-column grid that is clipped off-screen.
|
|
114
|
+
*/
|
|
115
|
+
declare function resolveEmojiPickerContainerWidth(element: HTMLElement): number;
|
|
116
|
+
/** Resolves column count from container width while keeping a fixed cell size and gap. */
|
|
117
|
+
declare function resolveEmojiPickerColumns(containerWidth: number, requested: number): number;
|
|
118
|
+
/** Maximum number of emojis returned by search. */
|
|
119
|
+
declare const SEARCH_RESULT_LIMIT = 200;
|
|
120
|
+
/** User-defined exclusions for picker emoji lists. */
|
|
121
|
+
interface AXEmojiPickerFilter {
|
|
122
|
+
/** Unicode emoji group categories to hide from tabs and results. */
|
|
123
|
+
readonly excludeCategories?: readonly AXEmojiCategory[];
|
|
124
|
+
/** `AXEmoji.code` values to hide (hyphen-separated code points, e.g. `1f595`). */
|
|
125
|
+
readonly excludeCodes?: readonly string[];
|
|
126
|
+
/** `AXEmoji.unicode` glyph values to hide (e.g. `👋`). */
|
|
127
|
+
readonly excludeUnicode?: readonly string[];
|
|
128
|
+
}
|
|
129
|
+
/** Applies picker exclusions and default people-body curation. */
|
|
130
|
+
declare function filterPickerItems(items: readonly AXEmoji[], filter?: AXEmojiPickerFilter): readonly AXEmoji[];
|
|
131
|
+
/**
|
|
132
|
+
* Builds a category index for picker rendering.
|
|
133
|
+
* Expects items to be pre-filtered with {@link filterPickerItems}.
|
|
134
|
+
*/
|
|
135
|
+
declare function buildEmojiPickerIndex(items: readonly AXEmoji[]): ReadonlyMap<AXEmojiCategory, readonly AXEmoji[]>;
|
|
136
|
+
/** Searches pre-filtered emoji metadata by name and keywords. */
|
|
137
|
+
declare function searchPickerEmojis(items: readonly AXEmoji[], query: string, limit?: number): readonly AXEmoji[];
|
|
138
|
+
|
|
139
|
+
declare class AXEmojiPickerModule {
|
|
140
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXEmojiPickerModule, never>;
|
|
141
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXEmojiPickerModule, never, [typeof AXEmojiPickerComponent], [typeof AXEmojiPickerComponent]>;
|
|
142
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXEmojiPickerModule>;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export { AXEmojiPickerComponent, AXEmojiPickerModule, EMOJI_PICKER_CELL_GAP_PX, EMOJI_PICKER_CELL_SIZE_PX, EMOJI_PICKER_CELL_SIZE_PX_COMPACT, EMOJI_PICKER_GRID_PADDING_PX, EMOJI_PICKER_MIN_COLUMNS, RECENT_EMOJI_LIMIT, SEARCH_RESULT_LIMIT, buildEmojiPickerIndex, filterPickerItems, getEmojiPickerLayoutContainer, resolveEmojiPickerColumns, resolveEmojiPickerContainerWidth, searchPickerEmojis };
|
|
146
|
+
export type { AXEmojiPickerFilter };
|
|
@@ -36,7 +36,7 @@ declare class AXFileViewerService {
|
|
|
36
36
|
/** Resolve a potentially lazy URL — caches the result. */
|
|
37
37
|
resolveUrl(item: AXFileViewerItem, key: 'url' | 'thumbnailUrl'): Promise<string | undefined>;
|
|
38
38
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerService, never>;
|
|
39
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
39
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/** Infers a file-type catalog name from the item. */
|
|
@@ -80,6 +80,9 @@ declare class AXFileViewerContainerComponent implements OnDestroy {
|
|
|
80
80
|
readonly service: AXFileViewerService;
|
|
81
81
|
private readonly host;
|
|
82
82
|
private readonly fullScreenService;
|
|
83
|
+
private readonly document;
|
|
84
|
+
private readonly platformId;
|
|
85
|
+
private readonly destroyRef;
|
|
83
86
|
private readonly mainCarouselRef;
|
|
84
87
|
private readonly thumbCarouselRef;
|
|
85
88
|
private initToken;
|
|
@@ -112,6 +115,7 @@ declare class AXFileViewerContainerComponent implements OnDestroy {
|
|
|
112
115
|
formatSize(size?: number): string;
|
|
113
116
|
private readonly mainCarouselOptions;
|
|
114
117
|
private readonly thumbnailCarouselOptions;
|
|
118
|
+
constructor();
|
|
115
119
|
resolveHeaderAction(action: AXMenuItem): AXMenuItem;
|
|
116
120
|
onHeaderActionClick(action: AXMenuItem, event: AXClickEvent): void;
|
|
117
121
|
private isFullscreenAction;
|
|
@@ -120,6 +124,7 @@ declare class AXFileViewerContainerComponent implements OnDestroy {
|
|
|
120
124
|
/** @param emitGalleryClose When false, skips gallery close notification (used during service teardown). */
|
|
121
125
|
exitFullscreen(emitGalleryClose?: boolean): void;
|
|
122
126
|
closeGallery(): void;
|
|
127
|
+
private onFullscreenEscape;
|
|
123
128
|
private initCarousels;
|
|
124
129
|
private readonly onSlideChange;
|
|
125
130
|
next(): void;
|
|
@@ -183,7 +188,7 @@ declare class AXFileViewerGalleryService {
|
|
|
183
188
|
bringToFront(id: number): void;
|
|
184
189
|
private openInternal;
|
|
185
190
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerGalleryService, never>;
|
|
186
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
191
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
187
192
|
}
|
|
188
193
|
|
|
189
194
|
/** Registers file-viewer components on standard file-type catalog entries. */
|
|
@@ -259,6 +264,7 @@ declare class AXFileViewerImageComponent implements AXFileTypeViewComponent<AXFi
|
|
|
259
264
|
private readonly service;
|
|
260
265
|
readonly src: _angular_core.WritableSignal<string>;
|
|
261
266
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
267
|
+
private loadedId;
|
|
262
268
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerImageComponent, never>;
|
|
263
269
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerImageComponent, "ax-file-viewer-image", never, { "payload": { "alias": "payload"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
264
270
|
}
|
|
@@ -267,8 +273,10 @@ declare class AXFileViewerVideoComponent implements AXFileTypeViewComponent<AXFi
|
|
|
267
273
|
#private;
|
|
268
274
|
readonly payload: _angular_core.InputSignal<AXFileViewerViewPayload>;
|
|
269
275
|
private readonly service;
|
|
276
|
+
private readonly mediaEl;
|
|
270
277
|
readonly src: _angular_core.WritableSignal<string>;
|
|
271
278
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
279
|
+
private loadedId;
|
|
272
280
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerVideoComponent, never>;
|
|
273
281
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerVideoComponent, "ax-file-viewer-video", never, { "payload": { "alias": "payload"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
274
282
|
}
|
|
@@ -277,8 +285,10 @@ declare class AXFileViewerAudioComponent implements AXFileTypeViewComponent<AXFi
|
|
|
277
285
|
#private;
|
|
278
286
|
readonly payload: _angular_core.InputSignal<AXFileViewerViewPayload>;
|
|
279
287
|
private readonly service;
|
|
288
|
+
private readonly mediaEl;
|
|
280
289
|
readonly src: _angular_core.WritableSignal<string>;
|
|
281
290
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
291
|
+
private loadedId;
|
|
282
292
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerAudioComponent, never>;
|
|
283
293
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerAudioComponent, "ax-file-viewer-audio", never, { "payload": { "alias": "payload"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
284
294
|
}
|
|
@@ -290,6 +300,7 @@ declare class AXFileViewerPdfComponent implements AXFileTypeViewComponent<AXFile
|
|
|
290
300
|
private readonly sanitizer;
|
|
291
301
|
readonly safeSrc: _angular_core.WritableSignal<SafeResourceUrl>;
|
|
292
302
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
303
|
+
private loadedId;
|
|
293
304
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerPdfComponent, never>;
|
|
294
305
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerPdfComponent, "ax-file-viewer-pdf", never, { "payload": { "alias": "payload"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
295
306
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AXHighlightOptions, AXHighlightSegment } from '@acorex/core/utils';
|
|
3
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Renders text with search-term matches wrapped in `.ax-highlight` spans.
|
|
7
|
+
*
|
|
8
|
+
* Uses a single innerHTML string so Angular control-flow whitespace cannot insert
|
|
9
|
+
* gaps between highlighted and non-highlighted characters.
|
|
10
|
+
*
|
|
11
|
+
* Does not use the `ax-highlight-text` class on the host — that class is reserved for
|
|
12
|
+
* {@link AXHighlightService} DOM wrappers.
|
|
13
|
+
*/
|
|
14
|
+
declare class AXHighlightTextComponent {
|
|
15
|
+
#private;
|
|
16
|
+
private readonly sanitizer;
|
|
17
|
+
/** The full text to render. */
|
|
18
|
+
readonly text: _angular_core.InputSignal<string>;
|
|
19
|
+
/** The search term or terms to highlight within the text. */
|
|
20
|
+
readonly query: _angular_core.InputSignal<string | readonly string[]>;
|
|
21
|
+
/** When true, highlighting is disabled and plain text is shown. */
|
|
22
|
+
readonly highlightDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
/** Optional highlight behavior configuration. */
|
|
24
|
+
readonly highlightOptions: _angular_core.InputSignal<AXHighlightOptions>;
|
|
25
|
+
protected readonly segments: _angular_core.Signal<AXHighlightSegment[]>;
|
|
26
|
+
protected readonly highlightedHtml: _angular_core.Signal<SafeHtml>;
|
|
27
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXHighlightTextComponent, never>;
|
|
28
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXHighlightTextComponent, "ax-highlight-text", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; "highlightDisabled": { "alias": "highlightDisabled"; "required": false; "isSignal": true; }; "highlightOptions": { "alias": "highlightOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { AXHighlightTextComponent };
|
|
@@ -30,8 +30,10 @@ declare class AXImageEditorService {
|
|
|
30
30
|
activateTool(tool: AXImageEditorTool): void;
|
|
31
31
|
undo(): void;
|
|
32
32
|
redo(): void;
|
|
33
|
+
/** Handles Ctrl/Cmd+Z and Ctrl/Cmd+Y history shortcuts. Returns true when handled. */
|
|
34
|
+
handleHistoryShortcut(event: KeyboardEvent): boolean;
|
|
33
35
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorService, never>;
|
|
34
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
36
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
type AXImageEditorCropHandle = 'right' | 'top' | 'left' | 'bottom' | 'right-top' | 'bottom-right' | 'bottom-left' | 'left-top';
|
|
@@ -80,6 +82,8 @@ declare class AXImageEditorCropperWindowComponent implements OnDestroy {
|
|
|
80
82
|
protected clearSelector(): void;
|
|
81
83
|
private normalizeRatio;
|
|
82
84
|
private centerOnParent;
|
|
85
|
+
private getImageBounds;
|
|
86
|
+
private constrainCropBox;
|
|
83
87
|
private clampToParent;
|
|
84
88
|
private applyPosition;
|
|
85
89
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorCropperWindowComponent, never>;
|
|
@@ -149,6 +153,10 @@ declare class AXImageEditorViewComponent extends MXBaseComponent {
|
|
|
149
153
|
protected penConfigHandler(penType: 'pen' | 'highlight'): void;
|
|
150
154
|
private strokeHighlight;
|
|
151
155
|
/** @ignore */
|
|
156
|
+
protected historyKeyDown(event: KeyboardEvent): void;
|
|
157
|
+
/** @ignore */
|
|
158
|
+
protected focusCanvas(): void;
|
|
159
|
+
/** @ignore */
|
|
152
160
|
protected mouseDownHandler(event: PointerEvent): void;
|
|
153
161
|
/** @ignore */
|
|
154
162
|
protected mouseMoveHandler(event: PointerEvent): void;
|
|
@@ -168,7 +176,7 @@ declare class AXImageEditorViewComponent extends MXBaseComponent {
|
|
|
168
176
|
declare const AXImageEditorContainerComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
169
177
|
new (): MXInputBaseValueComponent<Blob[]>;
|
|
170
178
|
ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
171
|
-
ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
179
|
+
ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
172
180
|
}, typeof MXLookComponent]>;
|
|
173
181
|
/**
|
|
174
182
|
* paint container.
|
|
@@ -178,10 +186,19 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
|
|
|
178
186
|
#private;
|
|
179
187
|
/** @ignore */
|
|
180
188
|
protected service: AXImageEditorService;
|
|
189
|
+
private readonly host;
|
|
190
|
+
private readonly destroyRef;
|
|
181
191
|
imageEditorContainer: _angular_core.Signal<ElementRef<any>>;
|
|
182
192
|
view: _angular_core.Signal<AXImageEditorViewComponent>;
|
|
193
|
+
constructor();
|
|
194
|
+
/** @ignore */
|
|
195
|
+
protected focusEditor(): void;
|
|
183
196
|
/** Applies the current cropper selection. */
|
|
184
197
|
crop(): Promise<void>;
|
|
198
|
+
/** @ignore */
|
|
199
|
+
protected onEditorPointerDown(event: PointerEvent): void;
|
|
200
|
+
/** @ignore */
|
|
201
|
+
protected handleHistoryShortcut(event: KeyboardEvent): void;
|
|
185
202
|
/** Encodes the current canvas into JPEG, PNG, and WebP blobs. */
|
|
186
203
|
commitChanges(): Promise<Blob[]>;
|
|
187
204
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorContainerComponent, never>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AXEmoji } from '@acorex/core/constants';
|
|
3
|
+
|
|
4
|
+
declare class AXInlineReactionComponent {
|
|
5
|
+
private readonly elementRef;
|
|
6
|
+
private readonly document;
|
|
7
|
+
private readonly platformId;
|
|
8
|
+
readonly emojis: _angular_core.InputSignal<readonly AXEmoji[]>;
|
|
9
|
+
readonly size: _angular_core.InputSignal<number>;
|
|
10
|
+
/** Whether the reaction bar is expanded to show all emojis. */
|
|
11
|
+
readonly expanded: _angular_core.WritableSignal<boolean>;
|
|
12
|
+
/**
|
|
13
|
+
* Maximum number of emojis to display in the bar.
|
|
14
|
+
*
|
|
15
|
+
* @defaultValue 8
|
|
16
|
+
*/
|
|
17
|
+
readonly maxVisible: _angular_core.InputSignal<number>;
|
|
18
|
+
/**
|
|
19
|
+
* When true, hides the expand button and always shows the collapsed bar only.
|
|
20
|
+
*
|
|
21
|
+
* @defaultValue false
|
|
22
|
+
*/
|
|
23
|
+
readonly showExpanded: _angular_core.InputSignal<boolean>;
|
|
24
|
+
/**
|
|
25
|
+
* When true, collapses the bar when the user clicks outside the component.
|
|
26
|
+
*
|
|
27
|
+
* @defaultValue true
|
|
28
|
+
*/
|
|
29
|
+
readonly closeOnClickOutside: _angular_core.InputSignal<boolean>;
|
|
30
|
+
/**
|
|
31
|
+
* Emits when the user clicks a quick reaction.
|
|
32
|
+
*/
|
|
33
|
+
readonly selected: _angular_core.OutputEmitterRef<AXEmoji>;
|
|
34
|
+
/**
|
|
35
|
+
* Emits when the expanded state changes (expand button or click outside).
|
|
36
|
+
*/
|
|
37
|
+
readonly expandedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
38
|
+
protected readonly visibleEmojis: _angular_core.Signal<readonly AXEmoji[]>;
|
|
39
|
+
constructor();
|
|
40
|
+
protected toggleExpanded(event: Event): void;
|
|
41
|
+
private setExpanded;
|
|
42
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXInlineReactionComponent, never>;
|
|
43
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXInlineReactionComponent, "ax-inline-reaction", never, { "emojis": { "alias": "emojis"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "maxVisible": { "alias": "maxVisible"; "required": false; "isSignal": true; }; "showExpanded": { "alias": "showExpanded"; "required": false; "isSignal": true; }; "closeOnClickOutside": { "alias": "closeOnClickOutside"; "required": false; "isSignal": true; }; }, { "selected": "selected"; "expandedChange": "expandedChange"; }, never, never, true, never>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare class AXInlineReactionModule {
|
|
47
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXInlineReactionModule, never>;
|
|
48
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXInlineReactionModule, never, [typeof AXInlineReactionComponent], [typeof AXInlineReactionComponent]>;
|
|
49
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXInlineReactionModule>;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export { AXInlineReactionComponent, AXInlineReactionModule };
|
|
@@ -178,6 +178,18 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
|
178
178
|
* Sets focus to the first selectable list item. If no item is available, postpones focus.
|
|
179
179
|
*/
|
|
180
180
|
focus(): void;
|
|
181
|
+
/**
|
|
182
|
+
* Returns the CSS class string for an item icon when the item defines an `icon` property.
|
|
183
|
+
* @param item List data item.
|
|
184
|
+
* @ignore
|
|
185
|
+
*/
|
|
186
|
+
protected getItemIcon(item: unknown): string | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* Returns secondary hint text when the item defines a `hint` property.
|
|
189
|
+
* @param item List data item.
|
|
190
|
+
* @ignore
|
|
191
|
+
*/
|
|
192
|
+
protected getItemHint(item: unknown): string | undefined;
|
|
181
193
|
/**
|
|
182
194
|
* Determines whether to show the empty template based on the presence of items and loading state.
|
|
183
195
|
* @ignore
|
|
@@ -143,7 +143,7 @@ declare class AXLoadingDialogService {
|
|
|
143
143
|
*/
|
|
144
144
|
show(options: AXLoadingDialogConfig): AXLoadingDialogRef;
|
|
145
145
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLoadingDialogService, never>;
|
|
146
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
146
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
export { AXLoadingDialogComponent, AXLoadingDialogModule, AXLoadingDialogService };
|
|
@@ -178,7 +178,7 @@ declare class AXLoadingService {
|
|
|
178
178
|
protected hasLoaderLoadingState(context: LoadingContext, loaderId: LoaderId): boolean;
|
|
179
179
|
protected getLoaderId(loaderId?: LoaderId): LoaderId;
|
|
180
180
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingService, never>;
|
|
181
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
181
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
declare class AXLoadingDirective {
|