@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
|
@@ -1,47 +1,56 @@
|
|
|
1
1
|
import * as polytype from 'polytype';
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
-
import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
|
|
5
|
-
import * as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { ElementRef } from '@angular/core';
|
|
4
|
+
import { AXStyleColorType, MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
|
|
5
|
+
import * as _acorex_cdk_wysiwyg from '@acorex/cdk/wysiwyg';
|
|
6
|
+
import { AXWysiwyg, AXWysiwygTextAlign, AXWysiwygHeadingLevel } from '@acorex/cdk/wysiwyg';
|
|
7
|
+
import { AXComboBoxItem, AXComboBoxValue } from '@acorex/components/combo-box';
|
|
8
|
+
|
|
9
|
+
type AXWysiwygMode = 'compact' | 'normal';
|
|
10
|
+
interface AXWysiwygButtonConfig {
|
|
11
|
+
text?: string;
|
|
12
|
+
icon?: string;
|
|
13
|
+
tooltip?: string;
|
|
14
|
+
look?: 'solid' | 'fill' | 'outline' | 'flat' | 'blank' | 'none';
|
|
15
|
+
color?: AXStyleColorType;
|
|
16
|
+
}
|
|
12
17
|
|
|
13
18
|
declare const AXWysiwygContainerComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
14
19
|
new (): MXInputBaseValueComponent<string>;
|
|
15
|
-
ɵfac:
|
|
16
|
-
ɵprov:
|
|
20
|
+
ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
21
|
+
ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
17
22
|
}, typeof MXLookComponent]>;
|
|
18
23
|
/**
|
|
19
24
|
* A container component for WYSIWYG (What You See Is What You Get) editor functionality.
|
|
20
25
|
* @category Components
|
|
21
26
|
*/
|
|
22
|
-
declare class AXWysiwygContainerComponent extends AXWysiwygContainerComponent_base
|
|
27
|
+
declare class AXWysiwygContainerComponent extends AXWysiwygContainerComponent_base {
|
|
23
28
|
#private;
|
|
24
29
|
/**
|
|
25
30
|
* Specifies the placeholder text.
|
|
26
31
|
*
|
|
27
32
|
*/
|
|
28
|
-
placeHolder:
|
|
33
|
+
placeHolder: _angular_core.InputSignal<string>;
|
|
29
34
|
/**
|
|
30
35
|
* Specifies the initial editor height in number of text lines.
|
|
31
36
|
*
|
|
32
37
|
*/
|
|
33
|
-
initialLine:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
private
|
|
39
|
-
private
|
|
40
|
-
private platformId;
|
|
38
|
+
initialLine: _angular_core.InputSignal<number>;
|
|
39
|
+
/**
|
|
40
|
+
* Toolbar layout: `compact` groups block types and insert actions in a dropdown; `normal` shows all tools inline.
|
|
41
|
+
*/
|
|
42
|
+
mode: _angular_core.InputSignal<AXWysiwygMode>;
|
|
43
|
+
private readonly wysiwyg;
|
|
44
|
+
private readonly context;
|
|
45
|
+
private readonly platformId;
|
|
46
|
+
private readonly destroyRef;
|
|
47
|
+
private readonly translation;
|
|
48
|
+
private readonly view;
|
|
49
|
+
private readonly toolbar;
|
|
50
|
+
private lastCommittedHtml;
|
|
51
|
+
private alive;
|
|
41
52
|
private changeHandlerTimer;
|
|
42
|
-
|
|
43
|
-
/** @ignore */
|
|
44
|
-
ngOnDestroy(): void;
|
|
53
|
+
private readonly syncToolbarMode;
|
|
45
54
|
/**
|
|
46
55
|
* Focuses the component.
|
|
47
56
|
*
|
|
@@ -55,110 +64,450 @@ declare class AXWysiwygContainerComponent extends AXWysiwygContainerComponent_ba
|
|
|
55
64
|
*/
|
|
56
65
|
blur(): void;
|
|
57
66
|
/**
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* @returns boolean - True if the component has focus.
|
|
61
|
-
*/
|
|
62
|
-
hasFocus(): boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Sets the disabled state of the component.
|
|
65
|
-
*
|
|
66
|
-
* @param isDisabled - Whether the component should be disabled.
|
|
67
|
-
* @returns void - No return value.
|
|
67
|
+
* Replaces the editor document. External value updates go through the form binding;
|
|
68
|
+
* this method does not emit a user change.
|
|
68
69
|
*/
|
|
69
70
|
setWysiwygContent(value: string): void;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
/** @ignore */
|
|
72
|
+
protected internalValueChanged(value: string): void;
|
|
73
|
+
private initEditor;
|
|
74
|
+
private scheduleCommit;
|
|
75
|
+
private publishHtml;
|
|
76
|
+
private syncEditorFromValue;
|
|
77
|
+
private syncEditable;
|
|
78
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygContainerComponent, never>;
|
|
79
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygContainerComponent, "ax-wysiwyg-container", never, { "look": { "alias": "look"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; "isSignal": true; }; "initialLine": { "alias": "initialLine"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, ["view", "toolbar"], ["*", "ax-validation-rule"], true, never>;
|
|
74
80
|
}
|
|
75
81
|
|
|
76
82
|
/**
|
|
83
|
+
* Toolbar for the WYSIWYG editor.
|
|
84
|
+
* Formatting controls belong in `ax-prefix`. Actions such as submit belong in `ax-suffix`.
|
|
77
85
|
* @category Components
|
|
78
|
-
* A component for viewing WYSIWYG content.
|
|
79
86
|
*/
|
|
80
87
|
declare class AXWysiwygToolbarComponent {
|
|
81
|
-
toolbar:
|
|
82
|
-
|
|
83
|
-
|
|
88
|
+
toolbar: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
|
89
|
+
private readonly host;
|
|
90
|
+
private readonly renderer;
|
|
91
|
+
private readonly platformId;
|
|
92
|
+
private readonly destroyRef;
|
|
93
|
+
private readonly zIndexService;
|
|
94
|
+
private observer;
|
|
95
|
+
private overlayState;
|
|
96
|
+
private unlistenClick;
|
|
97
|
+
private clampFrame;
|
|
98
|
+
constructor();
|
|
99
|
+
private setupPickerOverlay;
|
|
100
|
+
private syncPickerOverlay;
|
|
101
|
+
private openPickerOverlay;
|
|
102
|
+
private closePickerOverlay;
|
|
103
|
+
private queueClamp;
|
|
104
|
+
/**
|
|
105
|
+
* Keep expanded picker menus inside the viewport horizontally.
|
|
106
|
+
* Vertical direction is handled by CSS (open upward when the toolbar is below the editor).
|
|
107
|
+
*/
|
|
108
|
+
private keepPickerInViewport;
|
|
109
|
+
private clearPickerOffset;
|
|
110
|
+
private teardownPickerOverlay;
|
|
111
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygToolbarComponent, never>;
|
|
112
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygToolbarComponent, "ax-wysiwyg-toolbar", never, {}, {}, never, ["ax-prefix", "*", "ax-suffix"], true, never>;
|
|
84
113
|
}
|
|
85
114
|
|
|
115
|
+
declare class AXWysiwygContext {
|
|
116
|
+
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
117
|
+
readonly readonly: _angular_core.WritableSignal<boolean>;
|
|
118
|
+
readonly mode: _angular_core.WritableSignal<AXWysiwygMode>;
|
|
119
|
+
readonly compact: _angular_core.Signal<boolean>;
|
|
120
|
+
readonly interactionDisabled: _angular_core.Signal<boolean>;
|
|
121
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygContext, never>;
|
|
122
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
type AXWysiwygAlignmentButtonKey = 'left' | 'center' | 'right' | 'justify';
|
|
86
126
|
/**
|
|
87
|
-
*
|
|
127
|
+
* Text alignment controls for the WYSIWYG toolbar.
|
|
88
128
|
* @category Components
|
|
89
129
|
*/
|
|
90
130
|
declare class AXWysiwygAlignmentComponent {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
131
|
+
buttons: _angular_core.InputSignal<Partial<Record<AXWysiwygAlignmentButtonKey, false | AXWysiwygButtonConfig>>>;
|
|
132
|
+
protected readonly wysiwyg: AXWysiwyg;
|
|
133
|
+
protected readonly context: AXWysiwygContext;
|
|
134
|
+
protected readonly state: _angular_core.WritableSignal<_acorex_cdk_wysiwyg.AXWysiwygState>;
|
|
135
|
+
protected readonly i18n: {
|
|
136
|
+
readonly placeholder: "@acorex:wysiwyg.placeholder";
|
|
137
|
+
readonly menu: {
|
|
138
|
+
readonly blockType: "@acorex:wysiwyg.menu.block-type";
|
|
139
|
+
readonly insert: "@acorex:wysiwyg.menu.insert";
|
|
140
|
+
readonly align: "@acorex:wysiwyg.menu.align";
|
|
141
|
+
};
|
|
142
|
+
readonly tools: {
|
|
143
|
+
readonly undo: "@acorex:wysiwyg.tools.undo";
|
|
144
|
+
readonly redo: "@acorex:wysiwyg.tools.redo";
|
|
145
|
+
readonly bold: "@acorex:wysiwyg.tools.bold";
|
|
146
|
+
readonly italic: "@acorex:wysiwyg.tools.italic";
|
|
147
|
+
readonly underline: "@acorex:wysiwyg.tools.underline";
|
|
148
|
+
readonly strike: "@acorex:wysiwyg.tools.strike";
|
|
149
|
+
readonly code: "@acorex:wysiwyg.tools.code";
|
|
150
|
+
readonly codeBlock: "@acorex:wysiwyg.tools.code-block";
|
|
151
|
+
readonly link: "@acorex:wysiwyg.tools.link";
|
|
152
|
+
readonly image: "@acorex:wysiwyg.tools.image";
|
|
153
|
+
readonly video: "@acorex:wysiwyg.tools.video";
|
|
154
|
+
readonly bulletList: "@acorex:wysiwyg.tools.bullet-list";
|
|
155
|
+
readonly orderedList: "@acorex:wysiwyg.tools.ordered-list";
|
|
156
|
+
readonly rtl: "@acorex:wysiwyg.tools.rtl";
|
|
157
|
+
readonly textColor: "@acorex:wysiwyg.tools.text-color";
|
|
158
|
+
readonly highlight: "@acorex:wysiwyg.tools.highlight";
|
|
159
|
+
readonly paragraph: "@acorex:wysiwyg.tools.paragraph";
|
|
160
|
+
readonly alignLeft: "@acorex:wysiwyg.tools.align-left";
|
|
161
|
+
readonly alignCenter: "@acorex:wysiwyg.tools.align-center";
|
|
162
|
+
readonly alignRight: "@acorex:wysiwyg.tools.align-right";
|
|
163
|
+
readonly alignJustify: "@acorex:wysiwyg.tools.align-justify";
|
|
164
|
+
};
|
|
165
|
+
readonly blocks: {
|
|
166
|
+
readonly paragraph: "@acorex:wysiwyg.blocks.paragraph";
|
|
167
|
+
readonly blockquote: "@acorex:wysiwyg.blocks.blockquote";
|
|
168
|
+
readonly codeBlock: "@acorex:wysiwyg.blocks.code-block";
|
|
169
|
+
readonly bulletList: "@acorex:wysiwyg.blocks.bullet-list";
|
|
170
|
+
readonly orderedList: "@acorex:wysiwyg.blocks.ordered-list";
|
|
171
|
+
readonly image: "@acorex:wysiwyg.blocks.image";
|
|
172
|
+
readonly video: "@acorex:wysiwyg.blocks.video";
|
|
173
|
+
readonly heading: (level: number) => string;
|
|
174
|
+
};
|
|
175
|
+
readonly fontSize: {
|
|
176
|
+
readonly placeholder: "@acorex:wysiwyg.font-size.placeholder";
|
|
177
|
+
readonly small: "@acorex:wysiwyg.font-size.small";
|
|
178
|
+
readonly normal: "@acorex:wysiwyg.font-size.normal";
|
|
179
|
+
readonly large: "@acorex:wysiwyg.font-size.large";
|
|
180
|
+
readonly huge: "@acorex:wysiwyg.font-size.huge";
|
|
181
|
+
};
|
|
182
|
+
readonly insert: {
|
|
183
|
+
readonly linkUrl: "@acorex:wysiwyg.insert.link-url";
|
|
184
|
+
readonly imageUrl: "@acorex:wysiwyg.insert.image-url";
|
|
185
|
+
readonly videoUrl: "@acorex:wysiwyg.insert.video-url";
|
|
186
|
+
readonly apply: "@acorex:wysiwyg.insert.apply";
|
|
187
|
+
readonly remove: "@acorex:wysiwyg.insert.remove";
|
|
188
|
+
readonly insert: "@acorex:wysiwyg.insert.insert";
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
protected readonly alignButtons: _angular_core.Signal<{
|
|
192
|
+
align: AXWysiwygTextAlign;
|
|
193
|
+
config: AXWysiwygButtonConfig;
|
|
194
|
+
}[]>;
|
|
195
|
+
protected readonly activeAlignIcon: _angular_core.Signal<string>;
|
|
196
|
+
protected isAlignActive(align: AXWysiwygTextAlign): boolean;
|
|
197
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygAlignmentComponent, never>;
|
|
198
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygAlignmentComponent, "ax-wysiwyg-alignment", never, { "buttons": { "alias": "buttons"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
100
199
|
}
|
|
101
200
|
|
|
201
|
+
type AXWysiwygColorsButtonKey = 'textColor' | 'highlight';
|
|
102
202
|
/**
|
|
103
|
-
*
|
|
203
|
+
* Text and highlight color controls for the WYSIWYG toolbar.
|
|
104
204
|
* @category Components
|
|
105
205
|
*/
|
|
106
206
|
declare class AXWysiwygColorsComponent {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
207
|
+
buttons: _angular_core.InputSignal<Partial<Record<AXWysiwygColorsButtonKey, false | AXWysiwygButtonConfig>>>;
|
|
208
|
+
protected readonly clearLabel = "@acorex:common.general.clear";
|
|
209
|
+
protected readonly wysiwyg: AXWysiwyg;
|
|
210
|
+
protected readonly context: AXWysiwygContext;
|
|
211
|
+
protected readonly state: _angular_core.WritableSignal<_acorex_cdk_wysiwyg.AXWysiwygState>;
|
|
212
|
+
protected readonly textColorButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
213
|
+
protected readonly highlightButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
214
|
+
protected readonly draftTextColor: _angular_core.WritableSignal<string>;
|
|
215
|
+
protected readonly draftHighlightColor: _angular_core.WritableSignal<string>;
|
|
216
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygColorsComponent, never>;
|
|
217
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygColorsComponent, "ax-wysiwyg-colors", never, { "buttons": { "alias": "buttons"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
110
218
|
}
|
|
111
219
|
|
|
220
|
+
type AXWysiwygFontStyleButtonKey = 'bold' | 'italic' | 'underline' | 'strike' | 'code' | 'codeBlock';
|
|
221
|
+
type AXWysiwygBlockMenuItemKey = 'paragraph' | 'blockquote' | 'codeBlock' | 'bulletList' | 'orderedList' | 'image' | 'video' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6';
|
|
112
222
|
/**
|
|
113
|
-
*
|
|
223
|
+
* Font style, size, and heading controls for the WYSIWYG toolbar.
|
|
114
224
|
* @category Components
|
|
115
225
|
*/
|
|
116
226
|
declare class AXWysiwygFontStyleComponent {
|
|
117
|
-
|
|
118
|
-
|
|
227
|
+
headingLevels: _angular_core.InputSignal<AXWysiwygHeadingLevel[]>;
|
|
228
|
+
buttons: _angular_core.InputSignal<Partial<Record<AXWysiwygFontStyleButtonKey, false | AXWysiwygButtonConfig>>>;
|
|
229
|
+
menuItems: _angular_core.InputSignal<Partial<Record<AXWysiwygBlockMenuItemKey, false | AXWysiwygButtonConfig>>>;
|
|
230
|
+
protected readonly wysiwyg: AXWysiwyg;
|
|
231
|
+
protected readonly context: AXWysiwygContext;
|
|
232
|
+
protected readonly state: _angular_core.WritableSignal<_acorex_cdk_wysiwyg.AXWysiwygState>;
|
|
233
|
+
protected readonly i18n: {
|
|
234
|
+
readonly placeholder: "@acorex:wysiwyg.placeholder";
|
|
235
|
+
readonly menu: {
|
|
236
|
+
readonly blockType: "@acorex:wysiwyg.menu.block-type";
|
|
237
|
+
readonly insert: "@acorex:wysiwyg.menu.insert";
|
|
238
|
+
readonly align: "@acorex:wysiwyg.menu.align";
|
|
239
|
+
};
|
|
240
|
+
readonly tools: {
|
|
241
|
+
readonly undo: "@acorex:wysiwyg.tools.undo";
|
|
242
|
+
readonly redo: "@acorex:wysiwyg.tools.redo";
|
|
243
|
+
readonly bold: "@acorex:wysiwyg.tools.bold";
|
|
244
|
+
readonly italic: "@acorex:wysiwyg.tools.italic";
|
|
245
|
+
readonly underline: "@acorex:wysiwyg.tools.underline";
|
|
246
|
+
readonly strike: "@acorex:wysiwyg.tools.strike";
|
|
247
|
+
readonly code: "@acorex:wysiwyg.tools.code";
|
|
248
|
+
readonly codeBlock: "@acorex:wysiwyg.tools.code-block";
|
|
249
|
+
readonly link: "@acorex:wysiwyg.tools.link";
|
|
250
|
+
readonly image: "@acorex:wysiwyg.tools.image";
|
|
251
|
+
readonly video: "@acorex:wysiwyg.tools.video";
|
|
252
|
+
readonly bulletList: "@acorex:wysiwyg.tools.bullet-list";
|
|
253
|
+
readonly orderedList: "@acorex:wysiwyg.tools.ordered-list";
|
|
254
|
+
readonly rtl: "@acorex:wysiwyg.tools.rtl";
|
|
255
|
+
readonly textColor: "@acorex:wysiwyg.tools.text-color";
|
|
256
|
+
readonly highlight: "@acorex:wysiwyg.tools.highlight";
|
|
257
|
+
readonly paragraph: "@acorex:wysiwyg.tools.paragraph";
|
|
258
|
+
readonly alignLeft: "@acorex:wysiwyg.tools.align-left";
|
|
259
|
+
readonly alignCenter: "@acorex:wysiwyg.tools.align-center";
|
|
260
|
+
readonly alignRight: "@acorex:wysiwyg.tools.align-right";
|
|
261
|
+
readonly alignJustify: "@acorex:wysiwyg.tools.align-justify";
|
|
262
|
+
};
|
|
263
|
+
readonly blocks: {
|
|
264
|
+
readonly paragraph: "@acorex:wysiwyg.blocks.paragraph";
|
|
265
|
+
readonly blockquote: "@acorex:wysiwyg.blocks.blockquote";
|
|
266
|
+
readonly codeBlock: "@acorex:wysiwyg.blocks.code-block";
|
|
267
|
+
readonly bulletList: "@acorex:wysiwyg.blocks.bullet-list";
|
|
268
|
+
readonly orderedList: "@acorex:wysiwyg.blocks.ordered-list";
|
|
269
|
+
readonly image: "@acorex:wysiwyg.blocks.image";
|
|
270
|
+
readonly video: "@acorex:wysiwyg.blocks.video";
|
|
271
|
+
readonly heading: (level: number) => string;
|
|
272
|
+
};
|
|
273
|
+
readonly fontSize: {
|
|
274
|
+
readonly placeholder: "@acorex:wysiwyg.font-size.placeholder";
|
|
275
|
+
readonly small: "@acorex:wysiwyg.font-size.small";
|
|
276
|
+
readonly normal: "@acorex:wysiwyg.font-size.normal";
|
|
277
|
+
readonly large: "@acorex:wysiwyg.font-size.large";
|
|
278
|
+
readonly huge: "@acorex:wysiwyg.font-size.huge";
|
|
279
|
+
};
|
|
280
|
+
readonly insert: {
|
|
281
|
+
readonly linkUrl: "@acorex:wysiwyg.insert.link-url";
|
|
282
|
+
readonly imageUrl: "@acorex:wysiwyg.insert.image-url";
|
|
283
|
+
readonly videoUrl: "@acorex:wysiwyg.insert.video-url";
|
|
284
|
+
readonly apply: "@acorex:wysiwyg.insert.apply";
|
|
285
|
+
readonly remove: "@acorex:wysiwyg.insert.remove";
|
|
286
|
+
readonly insert: "@acorex:wysiwyg.insert.insert";
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
private readonly insertPopover;
|
|
290
|
+
protected readonly insertUrl: _angular_core.WritableSignal<string>;
|
|
291
|
+
protected readonly insertKind: _angular_core.WritableSignal<"video" | "image">;
|
|
292
|
+
protected readonly boldButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
293
|
+
protected readonly italicButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
294
|
+
protected readonly underlineButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
295
|
+
protected readonly strikeButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
296
|
+
protected readonly codeButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
297
|
+
protected readonly codeBlockButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
298
|
+
protected readonly paragraphMenuItem: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
299
|
+
protected readonly blockquoteMenuItem: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
300
|
+
protected readonly codeBlockMenuItem: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
301
|
+
protected readonly bulletListMenuItem: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
302
|
+
protected readonly orderedListMenuItem: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
303
|
+
protected readonly imageMenuItem: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
304
|
+
protected readonly videoMenuItem: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
305
|
+
protected readonly headingButtons: _angular_core.Signal<{
|
|
306
|
+
level: AXWysiwygHeadingLevel;
|
|
307
|
+
label: string;
|
|
308
|
+
menuKey: AXWysiwygBlockMenuItemKey;
|
|
309
|
+
config: AXWysiwygButtonConfig;
|
|
310
|
+
}[]>;
|
|
311
|
+
protected readonly fontSizeItems: _angular_core.Signal<AXComboBoxItem[]>;
|
|
312
|
+
protected readonly fontSizeComboValue: _angular_core.Signal<"normal" | _acorex_cdk_wysiwyg.AXWysiwygFontSizeToken>;
|
|
313
|
+
protected readonly blockLabelSource: _angular_core.Signal<string>;
|
|
314
|
+
protected readonly blockLabel: _angular_core.Signal<string>;
|
|
315
|
+
protected readonly insertPlaceholderSource: _angular_core.Signal<"@acorex:wysiwyg.insert.image-url" | "@acorex:wysiwyg.insert.video-url">;
|
|
316
|
+
protected readonly insertPlaceholder: _angular_core.Signal<string>;
|
|
317
|
+
protected isHeadingActive(level: AXWysiwygHeadingLevel): boolean;
|
|
318
|
+
protected isParagraphActive(): boolean;
|
|
319
|
+
protected onFontSizeComboChange(value: AXComboBoxValue): void;
|
|
320
|
+
protected beginInsert(kind: 'image' | 'video'): void;
|
|
321
|
+
protected applyInsert(): void;
|
|
322
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygFontStyleComponent, never>;
|
|
323
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygFontStyleComponent, "ax-wysiwyg-font-style", never, { "headingLevels": { "alias": "headingLevels"; "required": false; "isSignal": true; }; "buttons": { "alias": "buttons"; "required": false; "isSignal": true; }; "menuItems": { "alias": "menuItems"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
119
324
|
}
|
|
120
325
|
|
|
326
|
+
type AXWysiwygHistoryButtonKey = 'undo' | 'redo';
|
|
121
327
|
/**
|
|
122
|
-
*
|
|
328
|
+
* Undo and redo controls for the WYSIWYG toolbar.
|
|
123
329
|
* @category Components
|
|
124
330
|
*/
|
|
125
331
|
declare class AXWysiwygHistoryComponent {
|
|
126
|
-
|
|
127
|
-
|
|
332
|
+
buttons: _angular_core.InputSignal<Partial<Record<AXWysiwygHistoryButtonKey, false | AXWysiwygButtonConfig>>>;
|
|
333
|
+
protected readonly wysiwyg: AXWysiwyg;
|
|
334
|
+
protected readonly context: AXWysiwygContext;
|
|
335
|
+
protected readonly state: _angular_core.WritableSignal<_acorex_cdk_wysiwyg.AXWysiwygState>;
|
|
336
|
+
protected readonly undoButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
337
|
+
protected readonly redoButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
338
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygHistoryComponent, never>;
|
|
339
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygHistoryComponent, "ax-wysiwyg-history", never, { "buttons": { "alias": "buttons"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
128
340
|
}
|
|
129
341
|
|
|
342
|
+
type AXWysiwygInsertButtonKey = 'link' | 'image' | 'video';
|
|
130
343
|
/**
|
|
131
|
-
*
|
|
344
|
+
* Link, image, and video insertion controls for the WYSIWYG toolbar.
|
|
132
345
|
* @category Components
|
|
133
346
|
*/
|
|
134
347
|
declare class AXWysiwygInsertComponent {
|
|
135
|
-
|
|
136
|
-
|
|
348
|
+
buttons: _angular_core.InputSignal<Partial<Record<AXWysiwygInsertButtonKey, false | AXWysiwygButtonConfig>>>;
|
|
349
|
+
protected readonly i18n: {
|
|
350
|
+
readonly placeholder: "@acorex:wysiwyg.placeholder";
|
|
351
|
+
readonly menu: {
|
|
352
|
+
readonly blockType: "@acorex:wysiwyg.menu.block-type";
|
|
353
|
+
readonly insert: "@acorex:wysiwyg.menu.insert";
|
|
354
|
+
readonly align: "@acorex:wysiwyg.menu.align";
|
|
355
|
+
};
|
|
356
|
+
readonly tools: {
|
|
357
|
+
readonly undo: "@acorex:wysiwyg.tools.undo";
|
|
358
|
+
readonly redo: "@acorex:wysiwyg.tools.redo";
|
|
359
|
+
readonly bold: "@acorex:wysiwyg.tools.bold";
|
|
360
|
+
readonly italic: "@acorex:wysiwyg.tools.italic";
|
|
361
|
+
readonly underline: "@acorex:wysiwyg.tools.underline";
|
|
362
|
+
readonly strike: "@acorex:wysiwyg.tools.strike";
|
|
363
|
+
readonly code: "@acorex:wysiwyg.tools.code";
|
|
364
|
+
readonly codeBlock: "@acorex:wysiwyg.tools.code-block";
|
|
365
|
+
readonly link: "@acorex:wysiwyg.tools.link";
|
|
366
|
+
readonly image: "@acorex:wysiwyg.tools.image";
|
|
367
|
+
readonly video: "@acorex:wysiwyg.tools.video";
|
|
368
|
+
readonly bulletList: "@acorex:wysiwyg.tools.bullet-list";
|
|
369
|
+
readonly orderedList: "@acorex:wysiwyg.tools.ordered-list";
|
|
370
|
+
readonly rtl: "@acorex:wysiwyg.tools.rtl";
|
|
371
|
+
readonly textColor: "@acorex:wysiwyg.tools.text-color";
|
|
372
|
+
readonly highlight: "@acorex:wysiwyg.tools.highlight";
|
|
373
|
+
readonly paragraph: "@acorex:wysiwyg.tools.paragraph";
|
|
374
|
+
readonly alignLeft: "@acorex:wysiwyg.tools.align-left";
|
|
375
|
+
readonly alignCenter: "@acorex:wysiwyg.tools.align-center";
|
|
376
|
+
readonly alignRight: "@acorex:wysiwyg.tools.align-right";
|
|
377
|
+
readonly alignJustify: "@acorex:wysiwyg.tools.align-justify";
|
|
378
|
+
};
|
|
379
|
+
readonly blocks: {
|
|
380
|
+
readonly paragraph: "@acorex:wysiwyg.blocks.paragraph";
|
|
381
|
+
readonly blockquote: "@acorex:wysiwyg.blocks.blockquote";
|
|
382
|
+
readonly codeBlock: "@acorex:wysiwyg.blocks.code-block";
|
|
383
|
+
readonly bulletList: "@acorex:wysiwyg.blocks.bullet-list";
|
|
384
|
+
readonly orderedList: "@acorex:wysiwyg.blocks.ordered-list";
|
|
385
|
+
readonly image: "@acorex:wysiwyg.blocks.image";
|
|
386
|
+
readonly video: "@acorex:wysiwyg.blocks.video";
|
|
387
|
+
readonly heading: (level: number) => string;
|
|
388
|
+
};
|
|
389
|
+
readonly fontSize: {
|
|
390
|
+
readonly placeholder: "@acorex:wysiwyg.font-size.placeholder";
|
|
391
|
+
readonly small: "@acorex:wysiwyg.font-size.small";
|
|
392
|
+
readonly normal: "@acorex:wysiwyg.font-size.normal";
|
|
393
|
+
readonly large: "@acorex:wysiwyg.font-size.large";
|
|
394
|
+
readonly huge: "@acorex:wysiwyg.font-size.huge";
|
|
395
|
+
};
|
|
396
|
+
readonly insert: {
|
|
397
|
+
readonly linkUrl: "@acorex:wysiwyg.insert.link-url";
|
|
398
|
+
readonly imageUrl: "@acorex:wysiwyg.insert.image-url";
|
|
399
|
+
readonly videoUrl: "@acorex:wysiwyg.insert.video-url";
|
|
400
|
+
readonly apply: "@acorex:wysiwyg.insert.apply";
|
|
401
|
+
readonly remove: "@acorex:wysiwyg.insert.remove";
|
|
402
|
+
readonly insert: "@acorex:wysiwyg.insert.insert";
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
protected readonly wysiwyg: AXWysiwyg;
|
|
406
|
+
protected readonly context: AXWysiwygContext;
|
|
407
|
+
protected readonly state: _angular_core.WritableSignal<_acorex_cdk_wysiwyg.AXWysiwygState>;
|
|
408
|
+
protected readonly linkButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
409
|
+
protected readonly imageButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
410
|
+
protected readonly videoButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
411
|
+
protected readonly linkUrl: _angular_core.WritableSignal<string>;
|
|
412
|
+
protected readonly imageUrl: _angular_core.WritableSignal<string>;
|
|
413
|
+
protected readonly videoUrl: _angular_core.WritableSignal<string>;
|
|
414
|
+
protected applyLink(): void;
|
|
415
|
+
protected removeLink(): void;
|
|
416
|
+
protected applyImage(): void;
|
|
417
|
+
protected applyVideo(): void;
|
|
418
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygInsertComponent, never>;
|
|
419
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygInsertComponent, "ax-wysiwyg-insert", never, { "buttons": { "alias": "buttons"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
137
420
|
}
|
|
138
421
|
|
|
422
|
+
type AXWysiwygListButtonKey = 'bulletList' | 'orderedList' | 'rtl';
|
|
139
423
|
/**
|
|
140
|
-
*
|
|
424
|
+
* List and text-direction controls for the WYSIWYG toolbar.
|
|
141
425
|
* @category Components
|
|
142
426
|
*/
|
|
143
427
|
declare class AXWysiwygListComponent {
|
|
144
|
-
|
|
145
|
-
|
|
428
|
+
buttons: _angular_core.InputSignal<Partial<Record<AXWysiwygListButtonKey, false | AXWysiwygButtonConfig>>>;
|
|
429
|
+
protected readonly wysiwyg: AXWysiwyg;
|
|
430
|
+
protected readonly context: AXWysiwygContext;
|
|
431
|
+
protected readonly state: _angular_core.WritableSignal<_acorex_cdk_wysiwyg.AXWysiwygState>;
|
|
432
|
+
protected readonly bulletButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
433
|
+
protected readonly orderedButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
434
|
+
protected readonly rtlButton: _angular_core.Signal<AXWysiwygButtonConfig>;
|
|
435
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygListComponent, never>;
|
|
436
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygListComponent, "ax-wysiwyg-list", never, { "buttons": { "alias": "buttons"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
146
437
|
}
|
|
147
438
|
|
|
148
439
|
/**
|
|
440
|
+
* Editing surface for the WYSIWYG editor.
|
|
149
441
|
* @category Components
|
|
150
|
-
* A component for viewing WYSIWYG content.
|
|
151
442
|
*/
|
|
152
443
|
declare class AXWysiwygViewComponent {
|
|
153
|
-
editor:
|
|
154
|
-
static ɵfac:
|
|
155
|
-
static ɵcmp:
|
|
444
|
+
editor: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
|
445
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygViewComponent, never>;
|
|
446
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygViewComponent, "ax-wysiwyg-view", never, {}, {}, never, never, true, never>;
|
|
156
447
|
}
|
|
157
448
|
|
|
158
449
|
declare class AXWysiwygModule {
|
|
159
|
-
static ɵfac:
|
|
160
|
-
static ɵmod:
|
|
161
|
-
static ɵinj:
|
|
450
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygModule, never>;
|
|
451
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXWysiwygModule, never, [typeof AXWysiwygContainerComponent, typeof AXWysiwygViewComponent, typeof AXWysiwygAlignmentComponent, typeof AXWysiwygColorsComponent, typeof AXWysiwygFontStyleComponent, typeof AXWysiwygHistoryComponent, typeof AXWysiwygInsertComponent, typeof AXWysiwygListComponent, typeof AXWysiwygToolbarComponent], [typeof AXWysiwygContainerComponent, typeof AXWysiwygViewComponent, typeof AXWysiwygAlignmentComponent, typeof AXWysiwygColorsComponent, typeof AXWysiwygFontStyleComponent, typeof AXWysiwygHistoryComponent, typeof AXWysiwygInsertComponent, typeof AXWysiwygListComponent, typeof AXWysiwygToolbarComponent]>;
|
|
452
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXWysiwygModule>;
|
|
162
453
|
}
|
|
163
454
|
|
|
164
|
-
|
|
455
|
+
declare const AX_WYSIWYG_I18N: {
|
|
456
|
+
readonly placeholder: "@acorex:wysiwyg.placeholder";
|
|
457
|
+
readonly menu: {
|
|
458
|
+
readonly blockType: "@acorex:wysiwyg.menu.block-type";
|
|
459
|
+
readonly insert: "@acorex:wysiwyg.menu.insert";
|
|
460
|
+
readonly align: "@acorex:wysiwyg.menu.align";
|
|
461
|
+
};
|
|
462
|
+
readonly tools: {
|
|
463
|
+
readonly undo: "@acorex:wysiwyg.tools.undo";
|
|
464
|
+
readonly redo: "@acorex:wysiwyg.tools.redo";
|
|
465
|
+
readonly bold: "@acorex:wysiwyg.tools.bold";
|
|
466
|
+
readonly italic: "@acorex:wysiwyg.tools.italic";
|
|
467
|
+
readonly underline: "@acorex:wysiwyg.tools.underline";
|
|
468
|
+
readonly strike: "@acorex:wysiwyg.tools.strike";
|
|
469
|
+
readonly code: "@acorex:wysiwyg.tools.code";
|
|
470
|
+
readonly codeBlock: "@acorex:wysiwyg.tools.code-block";
|
|
471
|
+
readonly link: "@acorex:wysiwyg.tools.link";
|
|
472
|
+
readonly image: "@acorex:wysiwyg.tools.image";
|
|
473
|
+
readonly video: "@acorex:wysiwyg.tools.video";
|
|
474
|
+
readonly bulletList: "@acorex:wysiwyg.tools.bullet-list";
|
|
475
|
+
readonly orderedList: "@acorex:wysiwyg.tools.ordered-list";
|
|
476
|
+
readonly rtl: "@acorex:wysiwyg.tools.rtl";
|
|
477
|
+
readonly textColor: "@acorex:wysiwyg.tools.text-color";
|
|
478
|
+
readonly highlight: "@acorex:wysiwyg.tools.highlight";
|
|
479
|
+
readonly paragraph: "@acorex:wysiwyg.tools.paragraph";
|
|
480
|
+
readonly alignLeft: "@acorex:wysiwyg.tools.align-left";
|
|
481
|
+
readonly alignCenter: "@acorex:wysiwyg.tools.align-center";
|
|
482
|
+
readonly alignRight: "@acorex:wysiwyg.tools.align-right";
|
|
483
|
+
readonly alignJustify: "@acorex:wysiwyg.tools.align-justify";
|
|
484
|
+
};
|
|
485
|
+
readonly blocks: {
|
|
486
|
+
readonly paragraph: "@acorex:wysiwyg.blocks.paragraph";
|
|
487
|
+
readonly blockquote: "@acorex:wysiwyg.blocks.blockquote";
|
|
488
|
+
readonly codeBlock: "@acorex:wysiwyg.blocks.code-block";
|
|
489
|
+
readonly bulletList: "@acorex:wysiwyg.blocks.bullet-list";
|
|
490
|
+
readonly orderedList: "@acorex:wysiwyg.blocks.ordered-list";
|
|
491
|
+
readonly image: "@acorex:wysiwyg.blocks.image";
|
|
492
|
+
readonly video: "@acorex:wysiwyg.blocks.video";
|
|
493
|
+
readonly heading: (level: number) => string;
|
|
494
|
+
};
|
|
495
|
+
readonly fontSize: {
|
|
496
|
+
readonly placeholder: "@acorex:wysiwyg.font-size.placeholder";
|
|
497
|
+
readonly small: "@acorex:wysiwyg.font-size.small";
|
|
498
|
+
readonly normal: "@acorex:wysiwyg.font-size.normal";
|
|
499
|
+
readonly large: "@acorex:wysiwyg.font-size.large";
|
|
500
|
+
readonly huge: "@acorex:wysiwyg.font-size.huge";
|
|
501
|
+
};
|
|
502
|
+
readonly insert: {
|
|
503
|
+
readonly linkUrl: "@acorex:wysiwyg.insert.link-url";
|
|
504
|
+
readonly imageUrl: "@acorex:wysiwyg.insert.image-url";
|
|
505
|
+
readonly videoUrl: "@acorex:wysiwyg.insert.video-url";
|
|
506
|
+
readonly apply: "@acorex:wysiwyg.insert.apply";
|
|
507
|
+
readonly remove: "@acorex:wysiwyg.insert.remove";
|
|
508
|
+
readonly insert: "@acorex:wysiwyg.insert.insert";
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
|
|
512
|
+
export { AXWysiwygAlignmentComponent, AXWysiwygColorsComponent, AXWysiwygContainerComponent, AXWysiwygFontStyleComponent, AXWysiwygHistoryComponent, AXWysiwygInsertComponent, AXWysiwygListComponent, AXWysiwygModule, AXWysiwygToolbarComponent, AXWysiwygViewComponent, AX_WYSIWYG_I18N };
|
|
513
|
+
export type { AXWysiwygAlignmentButtonKey, AXWysiwygBlockMenuItemKey, AXWysiwygColorsButtonKey, AXWysiwygFontStyleButtonKey, AXWysiwygHistoryButtonKey, AXWysiwygInsertButtonKey, AXWysiwygListButtonKey, AXWysiwygMode };
|