@heartlandone/vega 2.100.0 → 2.102.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/dist/cjs/{action-color-accessibility-validator-b8a9ef0f.js → action-color-accessibility-validator-61af71ae.js} +1 -1
- package/dist/cjs/{app-globals-48d067a7.js → app-globals-49c2a999.js} +21 -12
- package/dist/cjs/{aria-dialog-focusable-trap-slimmer-62147489.js → aria-dialog-focusable-trap-slimmer-c79cc3f8.js} +1 -1
- package/dist/cjs/{child-nodes-event-prevent-slimmer-e0ac8467.js → child-nodes-event-prevent-slimmer-574a6a1a.js} +1 -1
- package/dist/cjs/{code-block-3b42c364.js → code-block-06e6591f.js} +1037 -937
- package/dist/cjs/{component-usage-runtime-metrics-389d1548.js → component-usage-runtime-metrics-77f7be9f.js} +8 -5
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-bbe3bcaf.js → component-value-history-controller-slimmer.abstract-f29908f8.js} +4 -4
- package/dist/cjs/{content-state-87a06c1a.js → content-state-8c862e5e.js} +90 -88
- package/dist/cjs/countries-a8e3812a.js +251 -0
- package/dist/cjs/{dark-mode-style-controller-f3da3342.js → dark-mode-style-controller-ec04ece9.js} +45 -45
- package/dist/cjs/{date-required-rule-45c802d3.js → date-required-rule-b672c432.js} +1 -1
- package/dist/cjs/{design-token-9d762da0.js → design-token-351ffd2c.js} +3 -3
- package/dist/cjs/{create-public-api-runtime-metrics-slimmer-91b0cbfb.js → discriminated-3b8e72d5.js} +63 -1
- package/dist/cjs/{element-appender-slimmer-f7ba5d9a.js → element-appender-slimmer-f932b166.js} +22 -3
- package/dist/cjs/{event-emit-slimmer-34aa195e.js → event-emit-slimmer-6bc675f6.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-fbaddc91.js → form-field-controller-slimmer-5adb86ae.js} +3 -3
- package/dist/cjs/{icon-manager-be358b32.js → icon-manager-7d20b0ab.js} +6 -4
- package/dist/cjs/{image-annotation-action-03d3e01a.js → image-annotation-action-25907d6b.js} +7 -6
- package/dist/cjs/image-extension-1cf84f27.js +1209 -0
- package/dist/cjs/index-58ea899e.js +4 -0
- package/dist/cjs/index.cjs.js +33 -29
- package/dist/cjs/{inject-keyboard-manager-540f0876.js → inject-keyboard-manager-84d33920.js} +1 -1
- package/dist/cjs/{internal-calendar-period-factory-b11918ee.js → internal-calendar-period-factory-3c5236be.js} +1 -1
- package/dist/cjs/{internal-icon-manager-40bcac72.js → internal-icon-manager-b9702049.js} +1 -1
- package/dist/cjs/{internal-translation-controller-27bfc8c7.js → internal-translation-controller-eae8a8de.js} +11 -0
- package/dist/cjs/{internal-vega-event-manager-7003c84a.js → internal-vega-event-manager-0c256d63.js} +11 -2
- package/dist/cjs/{keyboard-manager-16e96b62.js → keyboard-manager-baa83a61.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-0a4e556d.js → keyboard-manager-slimmer-d1974b28.js} +1 -1
- package/dist/cjs/{link-extension-71eeaa9f.js → link-extension-2a6133b7.js} +9 -8
- package/dist/cjs/loader.cjs.js +23 -21
- package/dist/cjs/{month-view-generator-0a3e04de.js → month-view-generator-a6827548.js} +1 -1
- package/dist/cjs/{public-rules-3dc5d02d.js → public-rules-7f26e0ae.js} +11 -9
- package/dist/cjs/{range-d29751e3.js → range-518b95a2.js} +1 -1
- package/dist/cjs/{responsive-format-facade-c6d7f0a1.js → responsive-format-facade-95c54444.js} +1 -1
- package/dist/cjs/{rich-text-editor-required-rule-05de7f0c.js → rich-text-editor-required-rule-5d0c76ec.js} +1 -1
- package/dist/cjs/{split-cell-operation-ef783850.js → split-cell-operation-28f6f8d9.js} +17 -21
- package/dist/cjs/{state-border-formatter-dda9109a.js → state-border-formatter-6c284859.js} +1 -1
- package/dist/cjs/{string-format-strategy.abstract-3a968a59.js → string-format-strategy.abstract-f15b6196.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-9747039f.js → string-input-formatter-slimmer-5a3f1b55.js} +3 -3
- package/dist/cjs/{string-mask-strategy-d9f85c21.js → string-mask-strategy-af6f3ba0.js} +2 -2
- package/dist/cjs/{style-formatter-d21a9784.js → style-formatter-324211fd.js} +2 -2
- package/dist/cjs/{sub-state-notify-slimmer-e264a120.js → sub-state-notify-slimmer-3b33e31c.js} +1 -1
- package/dist/cjs/{sub-state-observer-slimmer-6033b824.js → sub-state-observer-slimmer-5b68ba3f.js} +1 -1
- package/dist/cjs/{time-required-rule-580cbd3d.js → time-required-rule-9e714442.js} +1 -1
- package/dist/cjs/{token-extension-8d7bd451.js → token-extension-86723cad.js} +181 -509
- package/dist/cjs/{translation-slimmer-31cd5a57.js → translation-slimmer-0227ee24.js} +1 -1
- package/dist/cjs/{type-guard-00b8efc0.js → type-guard-29e01bd4.js} +1 -1
- package/dist/cjs/{valid-credit-card-number-rule-70885128.js → valid-credit-card-number-rule-4ec364af.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +14 -14
- package/dist/cjs/vega-app-footer.cjs.entry.js +6 -6
- package/dist/cjs/vega-app-header-button.cjs.entry.js +14 -14
- package/dist/cjs/vega-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/vega-banner.cjs.entry.js +8 -8
- package/dist/cjs/vega-bar-chart.cjs.entry.js +2 -2
- package/dist/cjs/vega-box.cjs.entry.js +8 -8
- package/dist/cjs/vega-brand-logo.cjs.entry.js +6 -6
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +6 -6
- package/dist/cjs/vega-button-circle.cjs.entry.js +13 -13
- package/dist/cjs/vega-button-group_2.cjs.entry.js +10 -10
- package/dist/cjs/vega-button-link.cjs.entry.js +7 -7
- package/dist/cjs/vega-button.cjs.entry.js +11 -11
- package/dist/cjs/vega-calendar_5.cjs.entry.js +191 -44
- package/dist/cjs/vega-card.cjs.entry.js +7 -7
- package/dist/cjs/vega-carousel.cjs.entry.js +8 -8
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +11 -11
- package/dist/cjs/vega-chip.cjs.entry.js +11 -11
- package/dist/cjs/vega-code-block.cjs.entry.js +19 -19
- package/dist/cjs/vega-color-picker.cjs.entry.js +9 -9
- package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +14 -14
- package/dist/cjs/vega-color-swatch.cjs.entry.js +7 -7
- package/dist/cjs/vega-combo-box.cjs.entry.js +16 -16
- package/dist/cjs/vega-counter-badge.cjs.entry.js +2 -2
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +27 -27
- package/dist/cjs/{vega-dialog-controller-16be85d5.js → vega-dialog-controller-efc46dba.js} +6 -4
- package/dist/cjs/vega-dialog_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-divider.cjs.entry.js +7 -7
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +21 -21
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/{vega-event-id-58afed7a.js → vega-event-id-b5abf7c9.js} +4 -0
- package/dist/cjs/vega-field-error.cjs.entry.js +2 -2
- package/dist/cjs/vega-field-label.cjs.entry.js +7 -7
- package/dist/cjs/vega-file-uploader.cjs.entry.js +13 -13
- package/dist/cjs/vega-flag-icon.cjs.entry.js +16 -16
- package/dist/cjs/vega-flex.cjs.entry.js +8 -8
- package/dist/cjs/vega-font.cjs.entry.js +7 -7
- package/dist/cjs/vega-form.cjs.entry.js +11 -11
- package/dist/cjs/vega-grid.cjs.entry.js +7 -7
- package/dist/cjs/vega-hint.cjs.entry.js +2 -2
- package/dist/cjs/vega-icon.cjs.entry.js +9 -9
- package/dist/cjs/vega-image-uploader.cjs.entry.js +16 -16
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +17 -17
- package/dist/cjs/vega-input-numeric.cjs.entry.js +14 -14
- package/dist/cjs/vega-input-passcode.cjs.entry.js +13 -13
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +21 -274
- package/dist/cjs/vega-input-range.cjs.entry.js +11 -11
- package/dist/cjs/vega-input-select.cjs.entry.js +25 -42
- package/dist/cjs/vega-input.cjs.entry.js +17 -17
- package/dist/cjs/{vega-internal-event-id-f4d33037.js → vega-internal-event-id-98d499d7.js} +6 -2
- package/dist/cjs/vega-item-toggle.cjs.entry.js +5 -5
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +23 -23
- package/dist/cjs/vega-line-chart.cjs.entry.js +2 -2
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +6 -6
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +6 -6
- package/dist/cjs/vega-pagination.cjs.entry.js +11 -11
- package/dist/cjs/vega-pie-chart.cjs.entry.js +2 -2
- package/dist/cjs/vega-popover_2.cjs.entry.js +16 -16
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-radio_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-rich-text-bookmark-editor.cjs.entry.js +445 -0
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +53 -21
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +244 -56
- package/dist/cjs/vega-rich-text-find-replace-panel.cjs.entry.js +9 -9
- package/dist/cjs/vega-rich-text-special-characters-panel.cjs.entry.js +10 -10
- package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +20 -20
- package/dist/cjs/vega-section-title.cjs.entry.js +2 -2
- package/dist/cjs/vega-segment-control.cjs.entry.js +13 -6
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +16 -16
- package/dist/cjs/vega-signature-capture.cjs.entry.js +17 -17
- package/dist/cjs/vega-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/vega-slot-container.cjs.entry.js +2 -2
- package/dist/cjs/vega-stepper.cjs.entry.js +10 -10
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +398 -108
- package/dist/cjs/vega-table_11.cjs.entry.js +639 -680
- package/dist/cjs/vega-text.cjs.entry.js +2 -2
- package/dist/cjs/vega-textarea.cjs.entry.js +10 -10
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +18 -18
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +9 -9
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +10 -10
- package/dist/cjs/vega.cjs.js +23 -21
- package/dist/cjs/{wait-for-component-did-render-44d006ee.js → wait-for-component-did-render-90edbc1a.js} +1 -1
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/vega-accordion/vega-accordion.js +1 -1
- package/dist/collection/components/vega-app-footer/vega-app-footer.js +1 -1
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +1 -1
- package/dist/collection/components/vega-backdrop/vega-backdrop.js +1 -1
- package/dist/collection/components/vega-banner/vega-banner.js +1 -1
- package/dist/collection/components/vega-box/vega-box.js +1 -1
- package/dist/collection/components/vega-brand-logo/vega-brand-logo.js +1 -1
- package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +1 -1
- package/dist/collection/components/vega-button/vega-button.css +3 -3
- package/dist/collection/components/vega-button/vega-button.js +1 -1
- package/dist/collection/components/vega-button-circle/vega-button-circle.css +3 -3
- package/dist/collection/components/vega-button-circle/vega-button-circle.js +1 -1
- package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +1 -1
- package/dist/collection/components/vega-button-group/vega-button-group.js +1 -1
- package/dist/collection/components/vega-button-link/vega-button-link.css +4 -4
- package/dist/collection/components/vega-button-link/vega-button-link.js +1 -1
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-preview-actions-controller.js +33 -11
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.js +45 -5
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-preview-popover-renderer.js +43 -1
- package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.js +23 -4
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +1 -1
- package/dist/collection/components/vega-calendar/vega-calendar-event-preview/assets/delete.js +3 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.js +5 -1
- package/dist/collection/components/vega-calendar/vega-calendar-event-preview/vega-calendar-event-preview.js +1 -1
- package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.js +1 -1
- package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/vega-calendar-period-switcher.js +1 -1
- package/dist/collection/components/vega-calendar/vega-calendar.js +158 -2
- package/dist/collection/components/vega-card/vega-card.js +1 -1
- package/dist/collection/components/vega-carousel/vega-carousel.js +1 -1
- package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.js +1 -1
- package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.js +1 -1
- package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.js +1 -1
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +1 -1
- package/dist/collection/components/vega-checkbox/vega-checkbox.js +1 -1
- package/dist/collection/components/vega-chip/vega-chip.js +1 -1
- package/dist/collection/components/vega-code-block/vega-code-block.js +1 -1
- package/dist/collection/components/vega-color-picker/vega-color-picker.js +1 -1
- package/dist/collection/components/vega-color-swatch/vega-color-swatch-picker/vega-color-swatch-picker.js +1 -1
- package/dist/collection/components/vega-color-swatch/vega-color-swatch.js +1 -1
- package/dist/collection/components/vega-combo-box/vega-combo-box.js +1 -1
- package/dist/collection/components/vega-counter-badge/vega-counter-badge.js +1 -1
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +1 -1
- package/dist/collection/components/vega-date-picker/vega-date-picker.js +1 -1
- package/dist/collection/components/vega-dialog/vega-dialog.js +1 -1
- package/dist/collection/components/vega-divider/vega-divider.js +1 -1
- package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.js +1 -1
- package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.js +1 -1
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.js +1 -1
- package/dist/collection/components/vega-dropdown/vega-dropdown.js +1 -1
- package/dist/collection/components/vega-field-error/vega-field-error.js +1 -1
- package/dist/collection/components/vega-field-label/vega-field-label.js +1 -1
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +1 -1
- package/dist/collection/components/vega-flag-icon/slimmers/controllers/vega-flag-icon-controller.js +6 -6
- package/dist/collection/components/vega-flag-icon/vega-flag-icon.js +1 -1
- package/dist/collection/components/vega-flex/vega-flex.js +1 -1
- package/dist/collection/components/vega-font/vega-font.js +1 -1
- package/dist/collection/components/vega-form/vega-form.js +1 -1
- package/dist/collection/components/vega-grid/vega-grid.js +1 -1
- package/dist/collection/components/vega-hint/vega-hint.js +1 -1
- package/dist/collection/components/vega-icon/vega-icon.js +1 -1
- package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +1 -1
- package/dist/collection/components/vega-input/vega-input.js +1 -1
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +1 -1
- package/dist/collection/components/vega-input-numeric/vega-input-numeric.js +1 -1
- package/dist/collection/components/vega-input-passcode/vega-input-passcode.js +1 -1
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +4 -8
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +1 -1
- package/dist/collection/components/vega-input-range/vega-input-range.js +1 -1
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-prefix-icon-renderer.js +8 -28
- package/dist/collection/components/vega-input-select/vega-input-select.js +4 -2
- package/dist/collection/components/vega-item-toggle/vega-item-toggle.js +1 -1
- package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.js +1 -1
- package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.js +1 -1
- package/dist/collection/components/vega-modal/vega-modal.js +1 -1
- package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +1 -1
- package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.js +1 -1
- package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.js +1 -1
- package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.js +1 -1
- package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.js +1 -1
- package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.js +1 -1
- package/dist/collection/components/vega-page-notification/vega-page-notification.js +1 -1
- package/dist/collection/components/vega-pagination/vega-pagination-page-selector-mobile/vega-pagination-page-selector-mobile.js +1 -1
- package/dist/collection/components/vega-pagination/vega-pagination-page-size-selector-mobile/vega-pagination-page-size-selector-mobile.js +1 -1
- package/dist/collection/components/vega-pagination/vega-pagination.js +1 -1
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +1 -1
- package/dist/collection/components/vega-popover/vega-popover.js +1 -1
- package/dist/collection/components/vega-progress-tracker/vega-progress-tracker-step/vega-progress-tracker-step.js +1 -1
- package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +1 -1
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +1 -1
- package/dist/collection/components/vega-radio/vega-radio.js +1 -1
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/action-handle-interceptor-registry.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/action-handle-strategy-registry.js +4 -4
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/action-handle-strategy.abstract.js +4 -2
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-delete-node-content-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-transform-selection.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-transform-to-paragraph-strategy.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/paste-content-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/actions/annotation-action.abstract.js +3 -1
- package/dist/collection/components/vega-rich-text-editor/dto/actions/bold-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/clear-formatting-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/code-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/custom-style-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/delete-node-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/horizontal-alignment-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/image-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/indent-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/italic-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/link-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/link-group-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/selection-change-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/splittable-action.abstract.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/strikethrough-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/sync-up-selection-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/text-color-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/text-style-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/underline-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/annotation.abstract.js +8 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/bold-annotation.js +6 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/code-annotation.js +6 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/italic-annotation.js +6 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-group-annotation.js +3 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/plain-text-annotation.js +6 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/selection-range-annotation.js +6 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.js +6 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-color-annotation.js +6 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/underline-annotation.js +6 -0
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +6 -8
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/code-block.js +6 -6
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/html-block.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/image-block.js +9 -9
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-block.js +7 -7
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-item-block.js +14 -14
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +33 -21
- package/dist/collection/components/vega-rich-text-editor/dto/content-state.js +14 -12
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/code-block/code-block-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-heading-item-block-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-title-item-block-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/predicate.js +4 -4
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/paragraph-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/title-heading-node-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/code-block-node.js +4 -4
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/decorator-node.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/image-node.js +5 -5
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/node.abstract.js +5 -7
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/text-node.js +30 -16
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/base-renderer.js +3 -1
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/block-renderer.abstract.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/code-block-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/html-block-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/image-block-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/link-wrapper-renderer.js +25 -5
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/list-block-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/list-item-block-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/code-block-node-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/image-node-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/node-renderer.abstract.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/setup.js +34 -34
- package/dist/collection/components/vega-rich-text-editor/extensions/base-extension-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/blockquote/blockquote-extension.js +7 -7
- package/dist/collection/components/vega-rich-text-editor/extensions/blockquote/dto/rte-blockquote-block.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/blockquote/filter-styles-strategies/blockquote-block/blockquote-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/blockquote/renderers/blockquote-block-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/action-handler-interceptors/delete-bookmark-before-text-interceptor.js +40 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/action-handler-strategies/insert-bookmark-node-strategy.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/action-handler-strategies/update-bookmark-name-strategy.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/actions/insert-bookmark-node-action.js +17 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/actions/update-bookmark-name-action.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/anchor-to-bookmark-node-strategy.js +79 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/assets/bookmark.js +5 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/bookmark-extension.js +52 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/bookmark-node.js +91 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/renderers/bookmark-node-renderer.js +316 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/renderers/bookmark-toolbar-button-renderer.js +137 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/utils.js +47 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/slimmers/controllers/bookmark-editor-controller.js +217 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/slimmers/renderers/vega-rich-text-bookmark-editor-renderer.js +116 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/vega-rich-text-bookmark-editor.css +3 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/vega-rich-text-bookmark-editor.js +261 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/copy/copy-extension.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/vega-rich-text-find-replace-panel/vega-rich-text-find-replace-panel.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/dto/function-block.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/dto/logic-control-block.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/dto/logic-control-node.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/function-extension.js +15 -15
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/function-block-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/logic-control-block-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/horizontal-line/dto/horizontal-line-block.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/horizontal-line/dto/horizontal-line-node.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/horizontal-line/filter-styles-strategies/horizontal-line-block/horizontal-line-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/horizontal-line/horizontal-line-extension.js +6 -6
- package/dist/collection/components/vega-rich-text-editor/extensions/horizontal-line/renderers/horizontal-line-block-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/line-height/actions/line-height-annotation-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/line-height/element-to-dto-strategies/line-height-annotation-handler.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/extensions/line-height/line-height-extension.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/line-height/line-height-toolbar-button-renderer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-extension.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/special-characters/vega-rich-text-special-characters-panel/vega-rich-text-special-characters-panel.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-annotations-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-cell-annotations-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-head-cell-annotations-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/update-table-properties-action.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-cell-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-head-cell-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-block.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-body-block.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.js +4 -4
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-block.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-row-block.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-block/table-block-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-caption/table-caption-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-cell/table-cell-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-body-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-caption-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-cell-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-head-cell-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-head-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-row-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/table-extension.js +38 -38
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/vega-rich-text-table-properties.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/vega-rich-text-table-selection-widget.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/vega-rich-text-table-setting.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-extension.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node.js +1 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/word-count/word-count-extension.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/public-api.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/focus-controller.js +26 -4
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/bold-annotaion-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/code-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/color-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/image-alt-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/image-size-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/indent-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/inline-html-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/italic-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/link-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/strike-through-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-align-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-style-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/underline-annotation-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/state-entity-rendering-registry.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/bold-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/clear-style-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/code-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/horizontal-alignment-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/italic-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/less-indent-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/link-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/more-indent-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/strikethrough-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/text-color-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/text-styles-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/underline-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/vega-rich-text-editor-toolbar-button.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-image-editor/vega-rich-text-image-editor.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-editor-controller.js +69 -5
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-type-config-controller.js +45 -1
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.js +61 -2
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/vega-rich-text-link-editor.js +1 -1
- package/dist/collection/components/vega-section-title/vega-section-title.js +1 -1
- package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.js +8 -1
- package/dist/collection/components/vega-segment-control/vega-segment-control.js +24 -1
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.js +1 -1
- package/dist/collection/components/vega-selection-chip/vega-selection-chip.js +1 -1
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.js +1 -1
- package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +1 -1
- package/dist/collection/components/vega-sidenav/vega-sidenav-group/vega-sidenav-group.js +1 -1
- package/dist/collection/components/vega-sidenav/vega-sidenav-link/vega-sidenav-link.js +1 -1
- package/dist/collection/components/vega-sidenav/vega-sidenav.js +1 -1
- package/dist/collection/components/vega-signature-capture/vega-signature-capture.js +1 -1
- package/dist/collection/components/vega-skeleton/vega-skeleton.js +1 -1
- package/dist/collection/components/vega-slot-container/vega-slot-container.js +1 -1
- package/dist/collection/components/vega-stepper/vega-stepper.js +1 -1
- package/dist/collection/components/vega-tab-group/helpers/vega-tab-group-width-layout-helper.js +91 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.js +90 -16
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.js +16 -1
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-constrained-tab-label-renderer.js +52 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +52 -10
- package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.js +1 -1
- package/dist/collection/components/vega-tab-group/vega-tab-group.css +51 -1
- package/dist/collection/components/vega-tab-group/vega-tab-group.js +46 -1
- package/dist/collection/components/vega-table/slimmers/controllers/dto/column-render-input-model.js +25 -8
- package/dist/collection/components/vega-table/slimmers/controllers/dto/row-render-input-model.js +41 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-head-template-structure-controller.js +1 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-input-controller.js +316 -18
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-renderer.js +6 -1
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-header-renderer.js +1 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pinned-renderer.js +33 -530
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-row-renderer.js +1 -0
- package/dist/collection/components/vega-table/vega-table-body/vega-table-body.js +1 -1
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.css +10 -0
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.js +26 -9
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.js +14 -6
- package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.css +20 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.js +8 -1
- package/dist/collection/components/vega-table/vega-table-foot/vega-table-foot.js +1 -1
- package/dist/collection/components/vega-table/vega-table-foot-cell/slimmers/renderers/vega-table-foot-cell-renderer.js +21 -2
- package/dist/collection/components/vega-table/vega-table-foot-cell/vega-table-foot-cell.css +10 -0
- package/dist/collection/components/vega-table/vega-table-foot-cell/vega-table-foot-cell.js +13 -2
- package/dist/collection/components/vega-table/vega-table-foot-row/slimmers/renderers/vega-table-foot-row-renderer.js +20 -13
- package/dist/collection/components/vega-table/vega-table-foot-row/vega-table-foot-row.css +26 -0
- package/dist/collection/components/vega-table/vega-table-foot-row/vega-table-foot-row.js +13 -1
- package/dist/collection/components/vega-table/vega-table-head/vega-table-head.js +1 -1
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +10 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +20 -7
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.js +21 -46
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.css +16 -7
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.js +10 -3
- package/dist/collection/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.js +28 -13
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.css +26 -0
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.js +12 -1
- package/dist/collection/components/vega-table/vega-table.js +1 -1
- package/dist/collection/components/vega-text/vega-text.js +1 -1
- package/dist/collection/components/vega-textarea/vega-textarea.js +1 -1
- package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.js +1 -1
- package/dist/collection/components/vega-time-picker/vega-time-picker.js +1 -1
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +1 -1
- package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.js +1 -1
- package/dist/collection/components/vega-tooltip/vega-tooltip.js +1 -1
- package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.js +1 -1
- package/dist/collection/constants/tokens/themes/v2-new-brand/dark-mode-border-tokens.js +1 -1
- package/dist/collection/constants/tokens/themes/v2-new-brand/dark-mode-color-tokens.js +20 -20
- package/dist/collection/constants/tokens/themes/v2-new-brand/dark-mode-ring-tokens.js +1 -1
- package/dist/collection/constants/tokens/themes/v2-new-brand/dark-mode-shadow-tokens.js +1 -1
- package/dist/collection/constants/tokens/themes/v2-new-brand/light-mode-border-tokens.js +1 -1
- package/dist/collection/constants/tokens/themes/v2-new-brand/light-mode-color-tokens.js +19 -19
- package/dist/collection/constants/tokens/themes/v2-new-brand/light-mode-shadow-tokens.js +1 -1
- package/dist/collection/constants/ui.js +2 -0
- package/dist/collection/global/scripts/before-vega-load.js +10 -0
- package/dist/collection/helpers/common/wait-for-vega-handler.js +5 -2
- package/dist/collection/helpers/dialog/vega-dialog-controller.js +5 -2
- package/dist/collection/helpers/discriminator/discriminated.js +77 -0
- package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +11 -2
- package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +2 -0
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +3 -1
- package/dist/collection/helpers/event-manager/vega-event-manager.js +5 -2
- package/dist/collection/helpers/icon/icon-manager.js +5 -2
- package/dist/collection/helpers/loading-indicator/vega-loader-controller.js +5 -2
- package/dist/collection/helpers/notify/vega-notify-controller.js +5 -2
- package/dist/collection/helpers/public-api.js +1 -0
- package/dist/collection/helpers/rte-manager/dto-action-strategy-manager.js +2 -2
- package/dist/collection/helpers/rte-manager/dto-renderer-manager.js +2 -4
- package/dist/collection/helpers/skeleton-loader/vega-skeleton-loader-controller.js +5 -2
- package/dist/collection/helpers/slimmers/position-calculation/position-calculation-controller.js +8 -0
- package/dist/collection/helpers/slimmers/position-calculation/screen-position-calculation-strategy.js +10 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.js +1 -1
- package/dist/collection/helpers/slimmers/vega-table-child-render-input-consumer-slimmer.js +2 -0
- package/dist/collection/helpers/theme/theme-manager.js +5 -2
- package/dist/collection/helpers/translation/locales/en.js +11 -0
- package/dist/collection/helpers/translation/translation.js +5 -2
- package/dist/collection/helpers/ui/element-appender.js +1 -0
- package/dist/collection/helpers/zindex/vega-z-index-manager.js +5 -2
- package/dist/esm/{action-color-accessibility-validator-08877515.js → action-color-accessibility-validator-3e824a59.js} +1 -1
- package/dist/esm/{app-globals-1e1371d5.js → app-globals-da5c83c2.js} +21 -12
- package/dist/esm/{aria-dialog-focusable-trap-slimmer-b2a24a45.js → aria-dialog-focusable-trap-slimmer-27a6aa19.js} +1 -1
- package/dist/esm/{child-nodes-event-prevent-slimmer-82626871.js → child-nodes-event-prevent-slimmer-3ae5c7db.js} +1 -1
- package/dist/esm/{code-block-741d6b8e.js → code-block-d8f83d85.js} +1036 -938
- package/dist/esm/{component-usage-runtime-metrics-4b1afd04.js → component-usage-runtime-metrics-adfc80c6.js} +8 -5
- package/dist/esm/{component-value-history-controller-slimmer.abstract-2bcd749e.js → component-value-history-controller-slimmer.abstract-642e7147.js} +4 -4
- package/dist/esm/{content-state-2f6f4204.js → content-state-486eae1d.js} +90 -88
- package/dist/esm/countries-50d3339b.js +249 -0
- package/dist/esm/{dark-mode-style-controller-352f15ff.js → dark-mode-style-controller-4e04a2d3.js} +45 -45
- package/dist/esm/{date-required-rule-2ea3aec8.js → date-required-rule-08695d25.js} +1 -1
- package/dist/esm/{design-token-82a4e107.js → design-token-df3331d9.js} +3 -3
- package/dist/esm/{create-public-api-runtime-metrics-slimmer-48f85199.js → discriminated-fe5bf3c8.js} +63 -2
- package/dist/esm/{element-appender-slimmer-c820c0bf.js → element-appender-slimmer-f02a227f.js} +22 -3
- package/dist/esm/{event-emit-slimmer-e8bb2292.js → event-emit-slimmer-aa7f4c6e.js} +1 -1
- package/dist/esm/{form-field-controller-slimmer-02165dbe.js → form-field-controller-slimmer-a7c0a0f8.js} +3 -3
- package/dist/esm/{icon-manager-4ef3f6dd.js → icon-manager-236d6c23.js} +5 -3
- package/dist/esm/{image-annotation-action-972c1074.js → image-annotation-action-df744ba5.js} +7 -6
- package/dist/esm/image-extension-20b39140.js +1200 -0
- package/dist/esm/index-090d31ca.js +4 -0
- package/dist/esm/index.js +28 -26
- package/dist/esm/{inject-keyboard-manager-6a10c9b7.js → inject-keyboard-manager-399ed867.js} +1 -1
- package/dist/esm/{internal-calendar-period-factory-d1a60f81.js → internal-calendar-period-factory-7b866c3b.js} +1 -1
- package/dist/esm/{internal-icon-manager-e7c57096.js → internal-icon-manager-d4d534d2.js} +1 -1
- package/dist/esm/{internal-translation-controller-fff376d2.js → internal-translation-controller-4a7ee4d5.js} +11 -0
- package/dist/esm/{internal-vega-event-manager-2ecc9186.js → internal-vega-event-manager-6eebe8f8.js} +11 -2
- package/dist/esm/{keyboard-manager-a58288df.js → keyboard-manager-f5d13a34.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-133b86cd.js → keyboard-manager-slimmer-f40dcb54.js} +1 -1
- package/dist/esm/{link-extension-e89acb5c.js → link-extension-3f93d70d.js} +9 -8
- package/dist/esm/loader.js +23 -21
- package/dist/esm/{month-view-generator-20e32b22.js → month-view-generator-0c665987.js} +1 -1
- package/dist/esm/{public-rules-c154201b.js → public-rules-470a1dac.js} +11 -9
- package/dist/esm/{range-c818a1eb.js → range-8e89fb54.js} +1 -1
- package/dist/esm/{responsive-format-facade-07843ec3.js → responsive-format-facade-55131a33.js} +1 -1
- package/dist/esm/{rich-text-editor-required-rule-878e91c6.js → rich-text-editor-required-rule-06caf383.js} +1 -1
- package/dist/esm/{split-cell-operation-cc0cdf90.js → split-cell-operation-e158366a.js} +15 -19
- package/dist/esm/{state-border-formatter-3b3dcfe8.js → state-border-formatter-2b73fa08.js} +1 -1
- package/dist/esm/{string-format-strategy.abstract-44381dcb.js → string-format-strategy.abstract-8c7937e3.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-76fe52d3.js → string-input-formatter-slimmer-681c6b71.js} +3 -3
- package/dist/esm/{string-mask-strategy-999fba4b.js → string-mask-strategy-b8cceee6.js} +2 -2
- package/dist/esm/{style-formatter-c4192c99.js → style-formatter-fcd70869.js} +2 -2
- package/dist/esm/{sub-state-notify-slimmer-e306c849.js → sub-state-notify-slimmer-ba72f30b.js} +1 -1
- package/dist/esm/{sub-state-observer-slimmer-bd85f381.js → sub-state-observer-slimmer-bee1c7fa.js} +1 -1
- package/dist/esm/{time-required-rule-0554b114.js → time-required-rule-ce50859b.js} +1 -1
- package/dist/esm/{token-extension-35c66684.js → token-extension-2401e753.js} +156 -481
- package/dist/esm/{translation-slimmer-77022f2e.js → translation-slimmer-b3f3cf65.js} +1 -1
- package/dist/esm/{type-guard-26d83e7e.js → type-guard-08c82e08.js} +1 -1
- package/dist/esm/{valid-credit-card-number-rule-f60b6904.js → valid-credit-card-number-rule-66bad519.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +14 -14
- package/dist/esm/vega-app-footer.entry.js +6 -6
- package/dist/esm/vega-app-header-button.entry.js +14 -14
- package/dist/esm/vega-backdrop.entry.js +2 -2
- package/dist/esm/vega-banner.entry.js +8 -8
- package/dist/esm/vega-bar-chart.entry.js +2 -2
- package/dist/esm/vega-box.entry.js +8 -8
- package/dist/esm/vega-brand-logo.entry.js +6 -6
- package/dist/esm/vega-breadcrumb.entry.js +6 -6
- package/dist/esm/vega-button-circle.entry.js +13 -13
- package/dist/esm/vega-button-group_2.entry.js +10 -10
- package/dist/esm/vega-button-link.entry.js +7 -7
- package/dist/esm/vega-button.entry.js +11 -11
- package/dist/esm/vega-calendar_5.entry.js +191 -44
- package/dist/esm/vega-card.entry.js +7 -7
- package/dist/esm/vega-carousel.entry.js +8 -8
- package/dist/esm/vega-checkbox_2.entry.js +11 -11
- package/dist/esm/vega-chip.entry.js +11 -11
- package/dist/esm/vega-code-block.entry.js +19 -19
- package/dist/esm/vega-color-picker.entry.js +9 -9
- package/dist/esm/vega-color-swatch-picker.entry.js +14 -14
- package/dist/esm/vega-color-swatch.entry.js +7 -7
- package/dist/esm/vega-combo-box.entry.js +16 -16
- package/dist/esm/vega-counter-badge.entry.js +2 -2
- package/dist/esm/vega-date-picker_2.entry.js +27 -27
- package/dist/esm/{vega-dialog-controller-726b74f9.js → vega-dialog-controller-f2d3b6c9.js} +5 -3
- package/dist/esm/vega-dialog_2.entry.js +12 -12
- package/dist/esm/vega-divider.entry.js +7 -7
- package/dist/esm/vega-dropdown_5.entry.js +21 -21
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/{vega-event-id-f55f6977.js → vega-event-id-6b4db259.js} +3 -1
- package/dist/esm/vega-field-error.entry.js +2 -2
- package/dist/esm/vega-field-label.entry.js +7 -7
- package/dist/esm/vega-file-uploader.entry.js +13 -13
- package/dist/esm/vega-flag-icon.entry.js +16 -16
- package/dist/esm/vega-flex.entry.js +8 -8
- package/dist/esm/vega-font.entry.js +7 -7
- package/dist/esm/vega-form.entry.js +11 -11
- package/dist/esm/vega-grid.entry.js +7 -7
- package/dist/esm/vega-hint.entry.js +2 -2
- package/dist/esm/vega-icon.entry.js +9 -9
- package/dist/esm/vega-image-uploader.entry.js +16 -16
- package/dist/esm/vega-input-credit-card.entry.js +17 -17
- package/dist/esm/vega-input-numeric.entry.js +14 -14
- package/dist/esm/vega-input-passcode.entry.js +13 -13
- package/dist/esm/vega-input-phone-number.entry.js +18 -271
- package/dist/esm/vega-input-range.entry.js +11 -11
- package/dist/esm/vega-input-select.entry.js +26 -43
- package/dist/esm/vega-input.entry.js +17 -17
- package/dist/esm/{vega-internal-event-id-86fce049.js → vega-internal-event-id-02093067.js} +4 -2
- package/dist/esm/vega-item-toggle.entry.js +5 -5
- package/dist/esm/vega-left-nav_5.entry.js +23 -23
- package/dist/esm/vega-line-chart.entry.js +2 -2
- package/dist/esm/vega-loader-wrapper_2.entry.js +6 -6
- package/dist/esm/vega-page-notification_2.entry.js +4 -4
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +6 -6
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +6 -6
- package/dist/esm/vega-pagination.entry.js +11 -11
- package/dist/esm/vega-pie-chart.entry.js +2 -2
- package/dist/esm/vega-popover_2.entry.js +16 -16
- package/dist/esm/vega-progress-tracker_2.entry.js +12 -12
- package/dist/esm/vega-radio_2.entry.js +14 -14
- package/dist/esm/vega-rich-text-bookmark-editor.entry.js +441 -0
- package/dist/esm/vega-rich-text-content.entry.js +53 -21
- package/dist/esm/vega-rich-text-editor_4.entry.js +244 -56
- package/dist/esm/vega-rich-text-find-replace-panel.entry.js +9 -9
- package/dist/esm/vega-rich-text-special-characters-panel.entry.js +10 -10
- package/dist/esm/vega-rich-text-table-properties_3.entry.js +20 -20
- package/dist/esm/vega-section-title.entry.js +2 -2
- package/dist/esm/vega-segment-control.entry.js +13 -6
- package/dist/esm/vega-selection-chip_2.entry.js +14 -14
- package/dist/esm/vega-selection-tile_2.entry.js +12 -12
- package/dist/esm/vega-sidenav_3.entry.js +16 -16
- package/dist/esm/vega-signature-capture.entry.js +17 -17
- package/dist/esm/vega-skeleton.entry.js +2 -2
- package/dist/esm/vega-slot-container.entry.js +2 -2
- package/dist/esm/vega-stepper.entry.js +10 -10
- package/dist/esm/vega-tab-group_2.entry.js +398 -108
- package/dist/esm/vega-table_11.entry.js +639 -680
- package/dist/esm/vega-text.entry.js +2 -2
- package/dist/esm/vega-textarea.entry.js +10 -10
- package/dist/esm/vega-time-picker_2.entry.js +18 -18
- package/dist/esm/vega-toggle-switch.entry.js +9 -9
- package/dist/esm/vega-tooltip_2.entry.js +10 -10
- package/dist/esm/vega.js +23 -21
- package/dist/esm/{wait-for-component-did-render-9b91a826.js → wait-for-component-did-render-9e84d92d.js} +1 -1
- package/dist/sri/vega-sri-manifest.json +432 -424
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-preview-actions-controller.d.ts +2 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.d.ts +18 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-preview-popover-renderer.d.ts +9 -0
- package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.d.ts +9 -1
- package/dist/types/components/vega-calendar/types.d.ts +28 -0
- package/dist/types/components/vega-calendar/vega-calendar-event-preview/assets/delete.d.ts +3 -0
- package/dist/types/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.d.ts +1 -0
- package/dist/types/components/vega-calendar/vega-calendar.d.ts +43 -1
- package/dist/types/components/vega-flag-icon/slimmers/controllers/vega-flag-icon-controller.d.ts +2 -2
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.d.ts +0 -1
- package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-prefix-icon-renderer.d.ts +2 -14
- package/dist/types/components/vega-input-select/vega-input-select.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/annotation-action.abstract.d.ts +3 -1
- package/dist/types/components/vega-rich-text-editor/dto/actions/bold-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/clear-formatting-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/code-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/custom-style-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/delete-node-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/horizontal-alignment-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/image-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/indent-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/italic-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/link-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/link-group-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/selection-change-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/splittable-action.abstract.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/strikethrough-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/sync-up-selection-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/text-color-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/text-style-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/underline-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/annotation.abstract.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/bold-annotation.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/code-annotation.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/italic-annotation.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/plain-text-annotation.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/selection-range-annotation.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-color-annotation.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/underline-annotation.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +3 -6
- package/dist/types/components/vega-rich-text-editor/dto/blocks/code-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/dto/blocks/html-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/dto/blocks/image-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/dto/blocks/list-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/dto/blocks/list-item-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/dto/blocks/text-block.d.ts +12 -3
- package/dist/types/components/vega-rich-text-editor/dto/content-state.d.ts +3 -3
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.d.ts +1 -1
- package/dist/types/components/vega-rich-text-editor/dto/nodes/code-block-node.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/dto/nodes/decorator-node.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/nodes/image-node.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/dto/nodes/node.abstract.d.ts +3 -6
- package/dist/types/components/vega-rich-text-editor/dto/nodes/text-node.d.ts +9 -2
- package/dist/types/components/vega-rich-text-editor/dto/renderers/base-renderer.d.ts +3 -1
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/block-renderer.abstract.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/code-block-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/html-block-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/image-block-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/link-wrapper-renderer.d.ts +2 -1
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/list-block-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/list-item-block-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/code-block-node-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/image-node-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/node-renderer.abstract.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/base-extension-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/blockquote/dto/rte-blockquote-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/blockquote/renderers/blockquote-block-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/action-handler-interceptors/delete-bookmark-before-text-interceptor.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/action-handler-strategies/insert-bookmark-node-strategy.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/action-handler-strategies/update-bookmark-name-strategy.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/actions/insert-bookmark-node-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/actions/update-bookmark-name-action.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/anchor-to-bookmark-node-strategy.d.ts +52 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/assets/bookmark.d.ts +5 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/bookmark-extension.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/bookmark-node.d.ts +62 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/renderers/bookmark-node-renderer.d.ts +128 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/renderers/bookmark-toolbar-button-renderer.d.ts +46 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/utils.d.ts +18 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/slimmers/controllers/bookmark-editor-controller.d.ts +86 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/slimmers/renderers/vega-rich-text-bookmark-editor-renderer.d.ts +28 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/types.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/vega-rich-text-bookmark-editor.d.ts +77 -0
- package/dist/types/components/vega-rich-text-editor/extensions/functions/dto/function-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/functions/dto/logic-control-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/functions/dto/logic-control-node.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/functions/renderers/function-block-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/functions/renderers/logic-control-block-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/horizontal-line/dto/horizontal-line-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/horizontal-line/dto/horizontal-line-node.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/horizontal-line/renderers/horizontal-line-block-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/line-height/actions/line-height-annotation-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-annotations-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-cell-annotations-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-head-cell-annotations-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/update-table-properties-action.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-body-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-row-block.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-body-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-caption-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-cell-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-head-cell-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-head-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-row-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-node.d.ts +1 -2
- package/dist/types/components/vega-rich-text-editor/interface.d.ts +15 -0
- package/dist/types/components/vega-rich-text-editor/public-api.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/focus-controller.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.d.ts +1 -1
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-editor-controller.d.ts +11 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-type-config-controller.d.ts +26 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.d.ts +8 -0
- package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.d.ts +1 -0
- package/dist/types/components/vega-segment-control/types.d.ts +2 -0
- package/dist/types/components/vega-segment-control/vega-segment-control.d.ts +7 -1
- package/dist/types/components/vega-tab-group/helpers/vega-tab-group-width-layout-helper.d.ts +63 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.d.ts +14 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.d.ts +3 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-constrained-tab-label-renderer.d.ts +17 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +3 -0
- package/dist/types/components/vega-tab-group/types.d.ts +10 -0
- package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +22 -0
- package/dist/types/components/vega-table/slimmers/controllers/dto/column-render-input-model.d.ts +17 -0
- package/dist/types/components/vega-table/slimmers/controllers/dto/row-render-input-model.d.ts +39 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-input-controller.d.ts +71 -7
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-renderer.d.ts +1 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-pinned-renderer.d.ts +3 -88
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.d.ts +1 -1
- package/dist/types/components/vega-table/vega-table-expand-row/vega-table-expand-row.d.ts +5 -0
- package/dist/types/components/vega-table/vega-table-foot-cell/slimmers/renderers/vega-table-foot-cell-renderer.d.ts +1 -0
- package/dist/types/components/vega-table/vega-table-foot-cell/vega-table-foot-cell.d.ts +5 -0
- package/dist/types/components/vega-table/vega-table-foot-row/slimmers/renderers/vega-table-foot-row-renderer.d.ts +1 -3
- package/dist/types/components/vega-table/vega-table-foot-row/vega-table-foot-row.d.ts +5 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.d.ts +0 -4
- package/dist/types/components/vega-table/vega-table-head-row/vega-table-head-row.d.ts +2 -2
- package/dist/types/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.d.ts +2 -3
- package/dist/types/components/vega-table/vega-table-row/vega-table-row.d.ts +4 -0
- package/dist/types/components.d.ts +143 -2
- package/dist/types/constants/ui.d.ts +1 -1
- package/dist/types/helpers/dialog/vega-dialog-controller.d.ts +3 -2
- package/dist/types/helpers/discriminator/discriminated.d.ts +75 -0
- package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +2 -0
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +3 -1
- package/dist/types/helpers/event-manager/vega-event-manager.d.ts +3 -1
- package/dist/types/helpers/icon/icon-manager.d.ts +3 -1
- package/dist/types/helpers/loading-indicator/vega-loader-controller.d.ts +3 -1
- package/dist/types/helpers/notify/vega-notify-controller.d.ts +3 -1
- package/dist/types/helpers/public-api.d.ts +1 -0
- package/dist/types/helpers/skeleton-loader/vega-skeleton-loader-controller.d.ts +3 -1
- package/dist/types/helpers/slimmers/position-calculation/position-calculation-controller.d.ts +6 -0
- package/dist/types/helpers/slimmers/position-calculation/screen-position-calculation-strategy.d.ts +6 -0
- package/dist/types/helpers/slimmers/position-calculation/screen-scroll-position-update.d.ts +2 -1
- package/dist/types/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.d.ts +1 -1
- package/dist/types/helpers/slimmers/vega-table-child-render-input-consumer-slimmer.d.ts +2 -1
- package/dist/types/helpers/theme/theme-manager.d.ts +3 -1
- package/dist/types/helpers/translation/interface.d.ts +11 -0
- package/dist/types/helpers/translation/translation.d.ts +3 -1
- package/dist/types/helpers/zindex/vega-z-index-manager.d.ts +3 -1
- package/dist/types/types/components.type.d.ts +9 -1
- package/dist/types/types/public-api.d.ts +1 -0
- package/dist/types/vega-slimmer/src/common/helpers/global-slimmer-registry.d.ts +10 -3
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-46f22f6c.entry.js → p-013939ea.entry.js} +1 -1
- package/dist/vega/p-0338f621.entry.js +1 -0
- package/dist/vega/{p-61ed7268.entry.js → p-03efc67a.entry.js} +1 -1
- package/dist/vega/p-040bd9ca.js +1 -0
- package/dist/vega/p-049e64b1.entry.js +1 -0
- package/dist/vega/p-061a76c3.entry.js +1 -0
- package/dist/vega/{p-6fd8f14b.js → p-087240db.js} +1 -1
- package/dist/vega/{p-ab253867.entry.js → p-0e0e66c9.entry.js} +1 -1
- package/dist/vega/p-109f0e33.entry.js +1 -0
- package/dist/vega/p-15052b2e.entry.js +1 -0
- package/dist/vega/{p-9e9f49f4.js → p-1836a6a5.js} +1 -1
- package/dist/vega/p-18ddc6a4.entry.js +1 -0
- package/dist/vega/p-197388a5.entry.js +1 -0
- package/dist/vega/{p-0f344e02.entry.js → p-1b97e751.entry.js} +1 -1
- package/dist/vega/{p-bfe5dff7.entry.js → p-1d8a8507.entry.js} +1 -1
- package/dist/vega/p-2256eb09.entry.js +1 -0
- package/dist/vega/{p-60a74fb7.js → p-23781e76.js} +1 -1
- package/dist/vega/p-25e51acb.js +1 -0
- package/dist/vega/{p-b2a4314a.js → p-277aab9b.js} +1 -1
- package/dist/vega/p-27c9c2a5.entry.js +1 -0
- package/dist/vega/p-28c16885.js +1 -0
- package/dist/vega/p-29584bb5.js +1 -0
- package/dist/vega/p-2f5c4b61.entry.js +1 -0
- package/dist/vega/{p-7f395622.entry.js → p-30cc31dd.entry.js} +1 -1
- package/dist/vega/{p-76999ea1.entry.js → p-325b804d.entry.js} +1 -1
- package/dist/vega/p-361f8996.js +1 -0
- package/dist/vega/p-36ee9d54.js +1 -0
- package/dist/vega/p-372436a4.entry.js +1 -0
- package/dist/vega/{p-96c090c4.js → p-381d8781.js} +1 -1
- package/dist/vega/p-38c551a9.entry.js +1 -0
- package/dist/vega/{p-8fc0a820.js → p-3b6a6f08.js} +1 -1
- package/dist/vega/p-3bb7114b.js +1 -0
- package/dist/vega/{p-493108d5.js → p-3bfb53e3.js} +1 -1
- package/dist/vega/p-3ce7521e.entry.js +1 -0
- package/dist/vega/p-3d060d2f.entry.js +1 -0
- package/dist/vega/{p-853a05eb.js → p-3ec4d710.js} +1 -1
- package/dist/vega/p-408c3ad4.entry.js +1 -0
- package/dist/vega/p-436bd1af.entry.js +1 -0
- package/dist/vega/p-43ea1e86.js +1 -0
- package/dist/vega/{p-6031bed1.js → p-44245a36.js} +1 -1
- package/dist/vega/{p-306720b8.entry.js → p-44e31581.entry.js} +1 -1
- package/dist/vega/{p-3911e760.entry.js → p-4503f5b9.entry.js} +1 -1
- package/dist/vega/{p-7cc8855d.entry.js → p-467e27af.entry.js} +1 -1
- package/dist/vega/{p-5789690b.entry.js → p-46be74fc.entry.js} +1 -1
- package/dist/vega/{p-c7d46740.entry.js → p-48100d38.entry.js} +1 -1
- package/dist/vega/{p-aaaf21eb.entry.js → p-4c6989ae.entry.js} +1 -1
- package/dist/vega/{p-941a83db.js → p-4d20a56f.js} +1 -1
- package/dist/vega/p-527c3211.entry.js +1 -0
- package/dist/vega/p-53e3f259.js +1 -0
- package/dist/vega/{p-02b5d4ac.entry.js → p-553510d8.entry.js} +1 -1
- package/dist/vega/p-557b64bd.js +1 -0
- package/dist/vega/{p-a488447f.js → p-5a347a15.js} +1 -1
- package/dist/vega/p-5c285374.js +1 -0
- package/dist/vega/p-5c6d36ef.entry.js +1 -0
- package/dist/vega/p-5c8e4e8f.js +1 -0
- package/dist/vega/p-5d427a47.entry.js +1 -0
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/p-634b138c.entry.js +1 -0
- package/dist/vega/p-6beaf1c8.entry.js +1 -0
- package/dist/vega/p-6d4f6031.entry.js +1 -0
- package/dist/vega/{p-638b6a7d.js → p-7044bb48.js} +1 -1
- package/dist/vega/p-7228088b.entry.js +1 -0
- package/dist/vega/p-741e064e.entry.js +1 -0
- package/dist/vega/p-75c7f8ea.entry.js +1 -0
- package/dist/vega/p-76135e80.entry.js +1 -0
- package/dist/vega/{p-5c3649f9.js → p-7d3419c7.js} +1 -1
- package/dist/vega/p-7d748545.entry.js +1 -0
- package/dist/vega/p-7dfb1481.entry.js +1 -0
- package/dist/vega/p-7f711049.js +1 -0
- package/dist/vega/p-7fd15dd1.js +1 -0
- package/dist/vega/p-80321148.entry.js +1 -0
- package/dist/vega/{p-b97ed9f7.entry.js → p-816064f2.entry.js} +1 -1
- package/dist/vega/p-82411b76.entry.js +1 -0
- package/dist/vega/{p-3f2a4b34.entry.js → p-83f5ef3a.entry.js} +1 -1
- package/dist/vega/{p-ab9d53e9.js → p-85695819.js} +1 -1
- package/dist/vega/p-85a940c0.entry.js +1 -0
- package/dist/vega/{p-65fee02f.entry.js → p-8a38746d.entry.js} +1 -1
- package/dist/vega/p-8a4cc7c2.entry.js +1 -0
- package/dist/vega/{p-be783294.entry.js → p-8a6e378a.entry.js} +1 -1
- package/dist/vega/{p-35d37477.entry.js → p-8bd29577.entry.js} +1 -1
- package/dist/vega/p-8e1f30ec.entry.js +1 -0
- package/dist/vega/p-916da3ce.entry.js +1 -0
- package/dist/vega/p-92efdbf0.entry.js +1 -0
- package/dist/vega/p-9680dfe6.js +1 -0
- package/dist/vega/{p-9fb3aeeb.entry.js → p-9a0e17b2.entry.js} +1 -1
- package/dist/vega/p-9fd547f3.entry.js +1 -0
- package/dist/vega/p-a0c87e88.entry.js +1 -0
- package/dist/vega/{p-efc08027.entry.js → p-a261a675.entry.js} +1 -1
- package/dist/vega/p-a2fa8c93.entry.js +1 -0
- package/dist/vega/p-a5fa260b.js +1 -0
- package/dist/vega/p-a83cef5a.js +1 -0
- package/dist/vega/{p-2c737fc8.js → p-abad8ffd.js} +1 -1
- package/dist/vega/p-ae12cc3f.js +3 -0
- package/dist/vega/p-b1557bbe.js +1 -0
- package/dist/vega/{p-e14323f3.js → p-b1e1c7d0.js} +1 -1
- package/dist/vega/p-b48caf90.entry.js +1 -0
- package/dist/vega/{p-379736e2.js → p-b68f55e2.js} +1 -1
- package/dist/vega/{p-c576e846.js → p-be0eb72f.js} +1 -1
- package/dist/vega/p-bec0e08a.entry.js +1 -0
- package/dist/vega/p-bec31ffc.entry.js +1 -0
- package/dist/vega/{p-4b35c748.js → p-bf0b46c1.js} +1 -1
- package/dist/vega/p-c0823f32.js +1 -0
- package/dist/vega/{p-f485448a.js → p-c0eb8c58.js} +1 -1
- package/dist/vega/p-c5af2ecc.entry.js +1 -0
- package/dist/vega/p-c6419eb3.entry.js +1 -0
- package/dist/vega/p-c66c6fd2.entry.js +1 -0
- package/dist/vega/p-c6b6987e.js +1 -0
- package/dist/vega/p-ca60a74b.entry.js +1 -0
- package/dist/vega/{p-c04a90d8.entry.js → p-cb68a43a.entry.js} +1 -1
- package/dist/vega/{p-c34f4cbc.js → p-cf5c5515.js} +1 -1
- package/dist/vega/p-d1d91f1a.js +1 -0
- package/dist/vega/p-d1f47512.js +1 -0
- package/dist/vega/p-d7e59f31.js +1 -0
- package/dist/vega/{p-6e9e7131.js → p-d86e0b01.js} +1 -1
- package/dist/vega/p-d8a0e3e0.entry.js +1 -0
- package/dist/vega/{p-411cadbc.entry.js → p-d8fa2f19.entry.js} +1 -1
- package/dist/vega/p-dd273d89.entry.js +1 -0
- package/dist/vega/p-dd673eb4.entry.js +1 -0
- package/dist/vega/{p-0eea1ca8.js → p-dffe47db.js} +1 -1
- package/dist/vega/p-e577dda8.entry.js +1 -0
- package/dist/vega/{p-d897acd5.js → p-e6f67a44.js} +1 -1
- package/dist/vega/p-efef0dfe.entry.js +1 -0
- package/dist/vega/p-effbfc50.entry.js +1 -0
- package/dist/vega/p-f0b49ae4.entry.js +1 -0
- package/dist/vega/{p-5006404e.entry.js → p-f0c6e9c5.entry.js} +1 -1
- package/dist/vega/p-f5874834.entry.js +1 -0
- package/dist/vega/{p-8cfdd0e8.entry.js → p-f5f26b44.entry.js} +1 -1
- package/dist/vega/p-f9f96030.entry.js +1 -0
- package/dist/vega/{p-85de755f.js → p-fa43272c.js} +1 -1
- package/dist/vega/p-ff9090af.entry.js +1 -0
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/image-extension-ccda26d3.js +0 -56
- package/dist/esm/image-extension-59484e9a.js +0 -53
- package/dist/vega/p-01ca92e6.entry.js +0 -1
- package/dist/vega/p-06a42a9f.entry.js +0 -1
- package/dist/vega/p-0cd362f3.entry.js +0 -1
- package/dist/vega/p-0e10798b.entry.js +0 -1
- package/dist/vega/p-0e298ee8.entry.js +0 -1
- package/dist/vega/p-23db0a92.entry.js +0 -1
- package/dist/vega/p-284a8828.entry.js +0 -1
- package/dist/vega/p-2b26e182.entry.js +0 -1
- package/dist/vega/p-2c8dc0d2.entry.js +0 -1
- package/dist/vega/p-3abb793c.entry.js +0 -1
- package/dist/vega/p-3d6a43df.entry.js +0 -1
- package/dist/vega/p-401c6764.js +0 -1
- package/dist/vega/p-49de5559.entry.js +0 -1
- package/dist/vega/p-4a2fe3a4.js +0 -1
- package/dist/vega/p-4d1896e0.entry.js +0 -1
- package/dist/vega/p-4e23e56c.entry.js +0 -1
- package/dist/vega/p-5447a8e8.js +0 -1
- package/dist/vega/p-594cb986.entry.js +0 -1
- package/dist/vega/p-5a086e93.js +0 -1
- package/dist/vega/p-5b3c8a56.js +0 -1
- package/dist/vega/p-5b9b1631.entry.js +0 -1
- package/dist/vega/p-5d9be870.entry.js +0 -1
- package/dist/vega/p-6336d446.entry.js +0 -1
- package/dist/vega/p-7469d0d1.entry.js +0 -1
- package/dist/vega/p-74b20563.entry.js +0 -1
- package/dist/vega/p-77bcdd35.js +0 -1
- package/dist/vega/p-79b49e8d.entry.js +0 -1
- package/dist/vega/p-7a03ef96.entry.js +0 -1
- package/dist/vega/p-7ae4cf82.entry.js +0 -1
- package/dist/vega/p-7ddc0bec.entry.js +0 -1
- package/dist/vega/p-7e22610b.entry.js +0 -1
- package/dist/vega/p-816b5fd2.entry.js +0 -1
- package/dist/vega/p-844ad6aa.entry.js +0 -1
- package/dist/vega/p-8663314e.js +0 -1
- package/dist/vega/p-86fb46d2.entry.js +0 -1
- package/dist/vega/p-8c30a60d.js +0 -1
- package/dist/vega/p-8ce9e214.js +0 -1
- package/dist/vega/p-8ebe30a8.js +0 -1
- package/dist/vega/p-8f00dfe6.js +0 -1
- package/dist/vega/p-9034f709.js +0 -1
- package/dist/vega/p-9ba2fdff.js +0 -1
- package/dist/vega/p-9efa5d76.js +0 -1
- package/dist/vega/p-a306bb39.js +0 -1
- package/dist/vega/p-a48468b5.entry.js +0 -1
- package/dist/vega/p-a647c856.entry.js +0 -1
- package/dist/vega/p-a6a89f09.entry.js +0 -1
- package/dist/vega/p-a92cd703.js +0 -1
- package/dist/vega/p-ad367b48.entry.js +0 -1
- package/dist/vega/p-adc64ff6.entry.js +0 -1
- package/dist/vega/p-af0cfea0.entry.js +0 -1
- package/dist/vega/p-afcd8f04.js +0 -1
- package/dist/vega/p-b07f587a.entry.js +0 -1
- package/dist/vega/p-b21cc390.entry.js +0 -1
- package/dist/vega/p-b52d7724.js +0 -3
- package/dist/vega/p-bc0e5598.entry.js +0 -1
- package/dist/vega/p-bc119e75.entry.js +0 -1
- package/dist/vega/p-bedb575c.entry.js +0 -1
- package/dist/vega/p-c032f626.entry.js +0 -1
- package/dist/vega/p-c422ee02.entry.js +0 -1
- package/dist/vega/p-cd04b149.entry.js +0 -1
- package/dist/vega/p-cd0a108b.entry.js +0 -1
- package/dist/vega/p-d1bb6e7a.entry.js +0 -1
- package/dist/vega/p-d340ee3d.entry.js +0 -1
- package/dist/vega/p-debf9e06.entry.js +0 -1
- package/dist/vega/p-e0a51e49.js +0 -1
- package/dist/vega/p-e11c6ec4.entry.js +0 -1
- package/dist/vega/p-e5226de6.entry.js +0 -1
- package/dist/vega/p-e5abc288.entry.js +0 -1
- package/dist/vega/p-e8f50fc5.js +0 -1
- package/dist/vega/p-ea1a0046.entry.js +0 -1
- package/dist/vega/p-edd7aa92.entry.js +0 -1
- package/dist/vega/p-ef1bbf14.js +0 -1
- package/dist/vega/p-f8b2dbb9.entry.js +0 -1
- package/dist/vega/p-f8bf379c.entry.js +0 -1
- package/dist/vega/p-f902305d.entry.js +0 -1
- package/dist/vega/p-fe985b52.js +0 -1
- package/dist/vega/p-ffdc25ec.js +0 -1
|
@@ -3,32 +3,32 @@
|
|
|
3
3
|
const misc = require('./misc-3d30df91.js');
|
|
4
4
|
const ui = require('./ui-c91c37a7.js');
|
|
5
5
|
const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
|
6
|
-
const
|
|
6
|
+
const discriminated = require('./discriminated-3b8e72d5.js');
|
|
7
7
|
const internalVegaZIndexManager = require('./internal-vega-z-index-manager-f03ddb37.js');
|
|
8
8
|
const dynamicSlimmer = require('./dynamic-slimmer-f31fdfd7.js');
|
|
9
9
|
const pageResizeObserverSlimmer = require('./page-resize-observer-slimmer-273d62ef.js');
|
|
10
|
-
const internalVegaEventManager = require('./internal-vega-event-manager-
|
|
11
|
-
const internalTranslationController = require('./internal-translation-controller-
|
|
12
|
-
const internalCalendarPeriodFactory = require('./internal-calendar-period-factory-
|
|
13
|
-
const codeBlock = require('./code-block-
|
|
14
|
-
const contentState = require('./content-state-
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
10
|
+
const internalVegaEventManager = require('./internal-vega-event-manager-0c256d63.js');
|
|
11
|
+
const internalTranslationController = require('./internal-translation-controller-eae8a8de.js');
|
|
12
|
+
const internalCalendarPeriodFactory = require('./internal-calendar-period-factory-3c5236be.js');
|
|
13
|
+
const codeBlock = require('./code-block-06e6591f.js');
|
|
14
|
+
const contentState = require('./content-state-8c862e5e.js');
|
|
15
|
+
const linkExtension = require('./link-extension-2a6133b7.js');
|
|
16
|
+
const internalIconManager = require('./internal-icon-manager-b9702049.js');
|
|
17
|
+
const typeGuard = require('./type-guard-29e01bd4.js');
|
|
18
18
|
const vegaNonceManager = require('./vega-nonce-manager-df69d3ed.js');
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const splitCellOperation = require('./split-cell-operation-ef783850.js');
|
|
19
|
+
const imageExtension = require('./image-extension-1cf84f27.js');
|
|
20
|
+
const splitCellOperation = require('./split-cell-operation-28f6f8d9.js');
|
|
22
21
|
const changeManager = require('./change-manager-a297e4d2.js');
|
|
23
|
-
const
|
|
22
|
+
const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-factory-c82df135.js');
|
|
23
|
+
const vegaInternalEventId = require('./vega-internal-event-id-98d499d7.js');
|
|
24
24
|
const remoteInvocationRegistry = require('./remote-invocation-registry-fc22fdd0.js');
|
|
25
|
-
const darkModeStyleController = require('./dark-mode-style-controller-
|
|
25
|
+
const darkModeStyleController = require('./dark-mode-style-controller-ec04ece9.js');
|
|
26
|
+
const vegaEventId = require('./vega-event-id-b5abf7c9.js');
|
|
26
27
|
const tryGetDocument = require('./try-get-document-c0ebd39a.js');
|
|
27
28
|
const pixel = require('./pixel-98f2a10c.js');
|
|
28
29
|
const object = require('./object-b53e9416.js');
|
|
29
30
|
const timer = require('./timer-5f33058b.js');
|
|
30
31
|
const string = require('./string-39438062.js');
|
|
31
|
-
const imageExtension = require('./image-extension-ccda26d3.js');
|
|
32
32
|
const copy = require('./copy-d021c780.js');
|
|
33
33
|
|
|
34
34
|
const VegaLoaderRuntimeMetricsPayloadDefinition = [
|
|
@@ -83,9 +83,10 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
83
83
|
/**
|
|
84
84
|
* Vega loader controller to control the loading indicator
|
|
85
85
|
*/
|
|
86
|
-
class VegaLoaderController {
|
|
86
|
+
class VegaLoaderController extends discriminated.Discriminated {
|
|
87
87
|
constructor() {
|
|
88
|
-
|
|
88
|
+
super(...arguments);
|
|
89
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = discriminated.createPublicAPIRuntimeMetricsSlimmer(VegaLoaderController, ['load', 'close'], VegaLoaderRuntimeMetricsPayloadDefinition, VegaLoaderController.typeName);
|
|
89
90
|
}
|
|
90
91
|
/**
|
|
91
92
|
* Create a loading indicator and append it to the container
|
|
@@ -195,9 +196,10 @@ class VegaLoaderController {
|
|
|
195
196
|
}
|
|
196
197
|
}
|
|
197
198
|
}
|
|
199
|
+
VegaLoaderController.typeName = 'VegaLoaderController';
|
|
198
200
|
VegaLoaderController.SPECIAL_ELEMENT_TO_WRAP_FULL_BODY = ['VEGA-MODAL'];
|
|
199
201
|
__decorate$6([
|
|
200
|
-
|
|
202
|
+
discriminated.InjectVegaTelemetrySlimmer()
|
|
201
203
|
], VegaLoaderController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
|
202
204
|
const VegaLoader = new VegaLoaderController();
|
|
203
205
|
|
|
@@ -273,8 +275,9 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
273
275
|
/**
|
|
274
276
|
* The page notification controller
|
|
275
277
|
*/
|
|
276
|
-
class VegaNotifyController {
|
|
278
|
+
class VegaNotifyController extends discriminated.Discriminated {
|
|
277
279
|
constructor() {
|
|
280
|
+
super(...arguments);
|
|
278
281
|
this.resizeObserverSlimmer = dynamicSlimmer.createDynamicSlimmer(VegaNotifyController, pageResizeObserverSlimmer.PageResizeObserverSlimmer, [], [{ mapFrom: 'connectResizeObserver', mapTo: 'connectResizeObserver' }], [
|
|
279
282
|
{
|
|
280
283
|
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
@@ -291,7 +294,7 @@ class VegaNotifyController {
|
|
|
291
294
|
target: () => this.container,
|
|
292
295
|
},
|
|
293
296
|
]);
|
|
294
|
-
this.vegaPublicAPIRuntimeMetricsSlimmer =
|
|
297
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = discriminated.createPublicAPIRuntimeMetricsSlimmer(VegaNotifyController, ['open', 'close', 'closeAll'], VegaNotifyRuntimeMetricsPayloadDefinition, VegaNotifyController.typeName);
|
|
295
298
|
}
|
|
296
299
|
/**
|
|
297
300
|
* It creates a new notification element, adds it to the container, and returns the notification's ID
|
|
@@ -375,11 +378,12 @@ class VegaNotifyController {
|
|
|
375
378
|
return this.container;
|
|
376
379
|
}
|
|
377
380
|
}
|
|
381
|
+
VegaNotifyController.typeName = 'VegaNotifyController';
|
|
378
382
|
__decorate$5([
|
|
379
383
|
globalSlimmerRegistry.InjectVegaSlimmer()
|
|
380
384
|
], VegaNotifyController.prototype, "resizeObserverSlimmer", void 0);
|
|
381
385
|
__decorate$5([
|
|
382
|
-
|
|
386
|
+
discriminated.InjectVegaTelemetrySlimmer()
|
|
383
387
|
], VegaNotifyController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
|
384
388
|
const VegaNotify = new VegaNotifyController();
|
|
385
389
|
|
|
@@ -607,9 +611,10 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
607
611
|
* The VegaEventManager class provides methods for setting and retrieving event semantics configuration,
|
|
608
612
|
* as well as getting the corresponding native event name for a given event.
|
|
609
613
|
*/
|
|
610
|
-
class VegaEventManager {
|
|
614
|
+
class VegaEventManager extends discriminated.Discriminated {
|
|
611
615
|
constructor() {
|
|
612
|
-
|
|
616
|
+
super(...arguments);
|
|
617
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = discriminated.createPublicAPIRuntimeMetricsSlimmer(VegaEventManager, ['setSemantics', 'getSemantics', 'getEnabledEventIdsByComponent'], VegaEventManagerRuntimeMetricsPayloadDefinition, VegaEventManager.typeName);
|
|
613
618
|
}
|
|
614
619
|
/**
|
|
615
620
|
* The function sets the semantics configuration for event management.
|
|
@@ -647,8 +652,9 @@ class VegaEventManager {
|
|
|
647
652
|
return internalVegaEventManager.internalVegaEventManager.getEnabledEventIdsByComponent(componentName);
|
|
648
653
|
}
|
|
649
654
|
}
|
|
655
|
+
VegaEventManager.typeName = 'VegaEventManager';
|
|
650
656
|
__decorate$4([
|
|
651
|
-
|
|
657
|
+
discriminated.InjectVegaTelemetrySlimmer()
|
|
652
658
|
], VegaEventManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
|
653
659
|
const VegaEventManager$1 = new VegaEventManager();
|
|
654
660
|
|
|
@@ -706,9 +712,10 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
706
712
|
* The VegaZIndexManager class calls a method in the ZIndexManager class to
|
|
707
713
|
* change z-index values based on the input.
|
|
708
714
|
*/
|
|
709
|
-
class VegaZIndexManager {
|
|
715
|
+
class VegaZIndexManager extends discriminated.Discriminated {
|
|
710
716
|
constructor() {
|
|
711
|
-
|
|
717
|
+
super(...arguments);
|
|
718
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = discriminated.createPublicAPIRuntimeMetricsSlimmer(VegaZIndexManager, ['overrideZIndexBasicValues'], ZIndexManagerRuntimeMetricsPayloadDefinition, VegaZIndexManager.typeName);
|
|
712
719
|
}
|
|
713
720
|
/**
|
|
714
721
|
* The function "overrideZIndexBasicValues" calls a method in the "ZIndexManager" class to change the
|
|
@@ -721,8 +728,9 @@ class VegaZIndexManager {
|
|
|
721
728
|
internalVegaZIndexManager.InternalVegaZIndexManager.overrideZIndexBasicValues(input);
|
|
722
729
|
}
|
|
723
730
|
}
|
|
731
|
+
VegaZIndexManager.typeName = 'VegaZIndexManager';
|
|
724
732
|
__decorate$3([
|
|
725
|
-
|
|
733
|
+
discriminated.InjectVegaTelemetrySlimmer()
|
|
726
734
|
], VegaZIndexManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
|
727
735
|
const VegaZIndexManager$1 = new VegaZIndexManager();
|
|
728
736
|
|
|
@@ -758,9 +766,10 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
758
766
|
/**
|
|
759
767
|
* WaitForVegaHandler to check whether the vega component has been loaded.
|
|
760
768
|
*/
|
|
761
|
-
class WaitForVegaHandler {
|
|
769
|
+
class WaitForVegaHandler extends discriminated.Discriminated {
|
|
762
770
|
constructor() {
|
|
763
|
-
|
|
771
|
+
super(...arguments);
|
|
772
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = discriminated.createPublicAPIRuntimeMetricsSlimmer(WaitForVegaHandler, ['handle'], WaitForVegaPayloadDefinition, WaitForVegaHandler.typeName);
|
|
764
773
|
}
|
|
765
774
|
/* istanbul ignore next */
|
|
766
775
|
/**
|
|
@@ -778,8 +787,9 @@ class WaitForVegaHandler {
|
|
|
778
787
|
.map((item) => { var _a; return (_a = item.componentOnReady) === null || _a === void 0 ? void 0 : _a.call(item); }));
|
|
779
788
|
}
|
|
780
789
|
}
|
|
790
|
+
WaitForVegaHandler.typeName = 'WaitForVegaHandler';
|
|
781
791
|
__decorate$2([
|
|
782
|
-
|
|
792
|
+
discriminated.InjectVegaTelemetrySlimmer()
|
|
783
793
|
], WaitForVegaHandler.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
|
784
794
|
const WaitForVega = new WaitForVegaHandler();
|
|
785
795
|
/* istanbul ignore next */
|
|
@@ -866,9 +876,10 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
866
876
|
/**
|
|
867
877
|
* Vega Skeleton Loader Controller to show skeletons in the target elements
|
|
868
878
|
*/
|
|
869
|
-
class VegaSkeletonLoaderController {
|
|
879
|
+
class VegaSkeletonLoaderController extends discriminated.Discriminated {
|
|
870
880
|
constructor() {
|
|
871
|
-
|
|
881
|
+
super(...arguments);
|
|
882
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = discriminated.createPublicAPIRuntimeMetricsSlimmer(VegaSkeletonLoaderController, ['load', 'unLoad', 'unLoadAll'], VegaSkeletonRuntimeMetricsPayloadDefinition, VegaSkeletonLoaderController.typeName);
|
|
872
883
|
this.loaderMap = new Map();
|
|
873
884
|
}
|
|
874
885
|
/**
|
|
@@ -955,9 +966,10 @@ class VegaSkeletonLoaderController {
|
|
|
955
966
|
return skeletonContainer;
|
|
956
967
|
}
|
|
957
968
|
}
|
|
969
|
+
VegaSkeletonLoaderController.typeName = 'VegaSkeletonLoaderController';
|
|
958
970
|
VegaSkeletonLoaderController.LOADER_DATA_SET_KEY = 'vegaSkeletonLoaderKey';
|
|
959
971
|
__decorate$1([
|
|
960
|
-
|
|
972
|
+
discriminated.InjectVegaTelemetrySlimmer()
|
|
961
973
|
], VegaSkeletonLoaderController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
|
962
974
|
const VegaSkeletonLoader = new VegaSkeletonLoaderController();
|
|
963
975
|
|
|
@@ -1015,9 +1027,10 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
1015
1027
|
*
|
|
1016
1028
|
* @vegaVersion 2.27.0
|
|
1017
1029
|
*/
|
|
1018
|
-
class TranslationController {
|
|
1030
|
+
class TranslationController extends discriminated.Discriminated {
|
|
1019
1031
|
constructor() {
|
|
1020
|
-
|
|
1032
|
+
super(...arguments);
|
|
1033
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = discriminated.createPublicAPIRuntimeMetricsSlimmer(TranslationController, ['init', 'changeLanguage'], VegaTranslationRuntimeMetricsPayloadDefinition, TranslationController.typeName);
|
|
1021
1034
|
}
|
|
1022
1035
|
/**
|
|
1023
1036
|
* Get current language
|
|
@@ -1047,8 +1060,9 @@ class TranslationController {
|
|
|
1047
1060
|
internalTranslationController.VegaInternalTranslation.changeLanguage(language);
|
|
1048
1061
|
}
|
|
1049
1062
|
}
|
|
1063
|
+
TranslationController.typeName = 'TranslationController';
|
|
1050
1064
|
__decorate([
|
|
1051
|
-
|
|
1065
|
+
discriminated.InjectVegaTelemetrySlimmer()
|
|
1052
1066
|
], TranslationController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
|
1053
1067
|
const VegaTranslation = new TranslationController();
|
|
1054
1068
|
|
|
@@ -1071,336 +1085,6 @@ class VegaCalendarPeriodFactory {
|
|
|
1071
1085
|
}
|
|
1072
1086
|
}
|
|
1073
1087
|
|
|
1074
|
-
/**
|
|
1075
|
-
* Base class for rendering extension toolbar button in the rich text editor.
|
|
1076
|
-
* The renderer provides common functionalities for rendering toolbar buttons, including:
|
|
1077
|
-
* - Rendering a button with an icon, label, and optional arrow icon.
|
|
1078
|
-
* - Rendering a dropdown with a list of items.
|
|
1079
|
-
* - Rendering dropdown items.
|
|
1080
|
-
* - Rendering template for dropdown list.
|
|
1081
|
-
* - Determining if the button should be disabled based on the editor context.
|
|
1082
|
-
* - Handling button and dropdown click events.
|
|
1083
|
-
* Override the methods to customize the rendering and behavior of the button.
|
|
1084
|
-
*/
|
|
1085
|
-
class VegaRTEToolbarButtonRenderer {
|
|
1086
|
-
constructor() {
|
|
1087
|
-
this.dropdownEl = null;
|
|
1088
|
-
this.itemsContainerEl = null;
|
|
1089
|
-
this.buttonEl = null;
|
|
1090
|
-
}
|
|
1091
|
-
/**
|
|
1092
|
-
* Checks if the button should be hidden.
|
|
1093
|
-
*
|
|
1094
|
-
* @param {VegaRTEToolbarRenderContext} editorContext The render context for the editor.
|
|
1095
|
-
* @returns {boolean} True if the button is hidden, false otherwise.
|
|
1096
|
-
*/
|
|
1097
|
-
isHidden(editorContext) {
|
|
1098
|
-
return editorContext.sourceEditMode;
|
|
1099
|
-
}
|
|
1100
|
-
/**
|
|
1101
|
-
* Get the extension context for the given rich text editor host element.
|
|
1102
|
-
*
|
|
1103
|
-
* @typedef HTMLVegaRichTextEditorElement - The type definition for the rich text editor host element.
|
|
1104
|
-
* @param {HTMLVegaRichTextEditorElement} el - The host rich text editor element.
|
|
1105
|
-
* @returns {Nullable<RTEExtensionContext>} - The extension context associated with the host.
|
|
1106
|
-
*/
|
|
1107
|
-
getExtensionContext(el) {
|
|
1108
|
-
return linkExtension.extensionContextManager.getExtensionContext(el);
|
|
1109
|
-
}
|
|
1110
|
-
/**
|
|
1111
|
-
* Renders a dropdown component with the specified properties and children.
|
|
1112
|
-
*
|
|
1113
|
-
* @param {VegaRTECreateElementFunction} h - Create element function.
|
|
1114
|
-
* @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
|
|
1115
|
-
* @param {RTEToolbarDropdownProps} dropdownProps - The properties for the dropdown.
|
|
1116
|
-
* @param {VegaRTERenderResult[]} children - The children elements for the dropdown.
|
|
1117
|
-
* @returns {VegaRTERenderResult} - The render result for the dropdown.
|
|
1118
|
-
*/
|
|
1119
|
-
renderDropdown(h, editorContext, dropdownProps, children) {
|
|
1120
|
-
return h('vega-dropdown', Object.assign({ trigger: 'click', searchable: false, maxWidth: '200', itemDisplayRule: 'ellipsis', isScreenPosition: true, role: 'presentation',
|
|
1121
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
1122
|
-
ref: (el) => {
|
|
1123
|
-
this.dropdownEl = el;
|
|
1124
|
-
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(el, vegaEventId.VegaDropdownClick, (input) => {
|
|
1125
|
-
const payload = input;
|
|
1126
|
-
this.handleDropdownClick(payload.detail, editorContext);
|
|
1127
|
-
});
|
|
1128
|
-
} }, dropdownProps), children);
|
|
1129
|
-
}
|
|
1130
|
-
/**
|
|
1131
|
-
* Renders the dropdown list template.
|
|
1132
|
-
*
|
|
1133
|
-
* @param {VegaRTECreateElementFunction} h - Create element function.
|
|
1134
|
-
* @param {(RTEDropdownListItem | RTEDropdownListGroup)[]} itemList - The list of dropdown items.
|
|
1135
|
-
* @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
|
|
1136
|
-
* @returns {VegaRTERenderResult} - The render result for the dropdown list.
|
|
1137
|
-
*/
|
|
1138
|
-
renderDropdownListTemplate(h, itemList, editorContext) {
|
|
1139
|
-
return h('div', {
|
|
1140
|
-
slot: 'items',
|
|
1141
|
-
onMouseDown: this.preventDefault,
|
|
1142
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
1143
|
-
onKeyDown: (e) => this.handleItemsKeyDown(e),
|
|
1144
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
1145
|
-
ref: (el) => {
|
|
1146
|
-
this.itemsContainerEl = el;
|
|
1147
|
-
},
|
|
1148
|
-
class: 'rte-dropdown-list',
|
|
1149
|
-
}, [
|
|
1150
|
-
h('style', { nonce: vegaNonceManager.vegaNonceManager.nonce }, '.rte-dropdown-list vega-dropdown-group vega-dropdown-group { padding-left: 4px }'),
|
|
1151
|
-
...itemList.map((item) => {
|
|
1152
|
-
return 'children' in item
|
|
1153
|
-
? this.renderDropdownGroup(h, item, editorContext)
|
|
1154
|
-
: this.renderDropdownItem(h, item, editorContext);
|
|
1155
|
-
}),
|
|
1156
|
-
]);
|
|
1157
|
-
}
|
|
1158
|
-
/**
|
|
1159
|
-
* Renders a dropdown item for the toolbar button.
|
|
1160
|
-
*
|
|
1161
|
-
* @param {VegaRTECreateElementFunction} h - Create element function.
|
|
1162
|
-
* @param {RTEDropdownListItem} item - The dropdown item.
|
|
1163
|
-
* @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
|
|
1164
|
-
* @returns {VegaRTERenderResult} - The render result for the dropdown item.
|
|
1165
|
-
*/
|
|
1166
|
-
renderDropdownItem(h, item, editorContext) {
|
|
1167
|
-
return h('vega-dropdown-item', {
|
|
1168
|
-
key: item.key,
|
|
1169
|
-
itemKey: item.key,
|
|
1170
|
-
label: editorContext.translation.t(item.label),
|
|
1171
|
-
prefixIcon: item.icon,
|
|
1172
|
-
});
|
|
1173
|
-
}
|
|
1174
|
-
/**
|
|
1175
|
-
* Renders a dropdown group for the toolbar button.
|
|
1176
|
-
*
|
|
1177
|
-
* @param {VegaRTECreateElementFunction} h - Create element function.
|
|
1178
|
-
* @param {RTEDropdownListGroup} item - The dropdown group.
|
|
1179
|
-
* @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
|
|
1180
|
-
* @returns {VegaRTERenderResult} - The render result for the dropdown group.
|
|
1181
|
-
*/
|
|
1182
|
-
renderDropdownGroup(h, item, editorContext) {
|
|
1183
|
-
return h('vega-dropdown-group', {
|
|
1184
|
-
key: item.key,
|
|
1185
|
-
label: editorContext.translation.t(item.label),
|
|
1186
|
-
divide: false,
|
|
1187
|
-
}, item.children.map((child) => {
|
|
1188
|
-
return 'children' in child
|
|
1189
|
-
? this.renderDropdownGroup(h, child, editorContext)
|
|
1190
|
-
: this.renderDropdownItem(h, child, editorContext);
|
|
1191
|
-
}));
|
|
1192
|
-
}
|
|
1193
|
-
/**
|
|
1194
|
-
* Renders a common toolbar button with optional icon, label, and arrow icon.
|
|
1195
|
-
* When a tooltip is provided via `buttonProps.tooltip`, the button is wrapped
|
|
1196
|
-
* in a `vega-tooltip` element, matching the behavior of default toolbar buttons.
|
|
1197
|
-
*
|
|
1198
|
-
* @param {VegaRTECreateElementFunction} h - Create element function.
|
|
1199
|
-
* @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
|
|
1200
|
-
* @param {RTEToolbarButtonProps} buttonProps - The properties for the button.
|
|
1201
|
-
* @returns {VegaRTERenderResult} - The render result for the button.
|
|
1202
|
-
*/
|
|
1203
|
-
renderButton(h, editorContext, buttonProps) {
|
|
1204
|
-
const { icon, label, showArrowIcon, tooltip, ariaLabel } = buttonProps;
|
|
1205
|
-
const isDisabled = this.isDisabled(editorContext);
|
|
1206
|
-
const button = h('vega-rich-text-editor-toolbar-button', {
|
|
1207
|
-
'disabled': isDisabled,
|
|
1208
|
-
'icon': icon,
|
|
1209
|
-
'data-aria-label': ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : label,
|
|
1210
|
-
'hidden': this.isHidden(editorContext),
|
|
1211
|
-
'selected': this.isSelected(editorContext),
|
|
1212
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
1213
|
-
'ref': (el) => {
|
|
1214
|
-
this.buttonEl = el;
|
|
1215
|
-
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(el, vegaEventId.VegaClick, () => this.handleButtonClick(editorContext));
|
|
1216
|
-
},
|
|
1217
|
-
'onMouseDown': this.preventDefault,
|
|
1218
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
1219
|
-
'onKeyDown': (e) => this.handleButtonKeyDown(e),
|
|
1220
|
-
}, [
|
|
1221
|
-
this.renderButtonLabel(h, editorContext, label),
|
|
1222
|
-
showArrowIcon
|
|
1223
|
-
? h('vega-icon', {
|
|
1224
|
-
'size': 'size-8',
|
|
1225
|
-
'color': isDisabled ? 'text-disabled' : 'text-secondary',
|
|
1226
|
-
'style': { marginLeft: '8px' },
|
|
1227
|
-
'aria-hidden': 'true',
|
|
1228
|
-
'icon': internalIconManager.VegaInternalIconManager.getIconKey('chevron-down'),
|
|
1229
|
-
})
|
|
1230
|
-
: null,
|
|
1231
|
-
].filter(typeGuard.isNonNullable));
|
|
1232
|
-
if (tooltip === null || tooltip === void 0 ? void 0 : tooltip.text) {
|
|
1233
|
-
return h('vega-tooltip', { text: editorContext.translation.t(tooltip.text), placement: ['bottom', 'top'] }, [button]);
|
|
1234
|
-
}
|
|
1235
|
-
return button;
|
|
1236
|
-
}
|
|
1237
|
-
/**
|
|
1238
|
-
* Renders the button label.
|
|
1239
|
-
*
|
|
1240
|
-
* @param {VegaRTECreateElementFunction} h - Create element function.
|
|
1241
|
-
* @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
|
|
1242
|
-
* @param {Nullable<string>} label - The button label if exist.
|
|
1243
|
-
* @returns {Nullable<VegaRTERenderResult>} - The render result for the button.
|
|
1244
|
-
*/
|
|
1245
|
-
renderButtonLabel(h, editorContext, label) {
|
|
1246
|
-
if (label) {
|
|
1247
|
-
const isDisabled = this.isDisabled(editorContext);
|
|
1248
|
-
return h('vega-font', {
|
|
1249
|
-
'variant': 'font-field-label-sm',
|
|
1250
|
-
'color': isDisabled ? 'text-disabled' : 'text-primary',
|
|
1251
|
-
'aria-hidden': 'true',
|
|
1252
|
-
}, editorContext.translation.t(label));
|
|
1253
|
-
}
|
|
1254
|
-
return null;
|
|
1255
|
-
}
|
|
1256
|
-
/**
|
|
1257
|
-
* Determines if the button should be disabled based on the editor context.
|
|
1258
|
-
*
|
|
1259
|
-
* @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
|
|
1260
|
-
* @returns {boolean} - True if the button should be disabled, false otherwise.
|
|
1261
|
-
*/
|
|
1262
|
-
isDisabled(editorContext) {
|
|
1263
|
-
return editorContext.host.disabled;
|
|
1264
|
-
}
|
|
1265
|
-
/**
|
|
1266
|
-
* Checks if the button should be selected.
|
|
1267
|
-
*
|
|
1268
|
-
* @param {VegaRTEToolbarRenderContext} _editorContext The render context for the editor.
|
|
1269
|
-
* @returns {boolean} True if the button is selected, false otherwise.
|
|
1270
|
-
*/
|
|
1271
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1272
|
-
isSelected(_editorContext) {
|
|
1273
|
-
return false;
|
|
1274
|
-
}
|
|
1275
|
-
/**
|
|
1276
|
-
* Prevents the default action of the click event. This is to avoid losing focus from the editor when the button is clicked.
|
|
1277
|
-
*
|
|
1278
|
-
* @param {MouseEvent} e The mouse event to prevent default action for.
|
|
1279
|
-
*/
|
|
1280
|
-
preventDefault(e) {
|
|
1281
|
-
e.preventDefault();
|
|
1282
|
-
}
|
|
1283
|
-
/**
|
|
1284
|
-
* Moves focus to the toolbar button. Targets the inner focusable `<button>`
|
|
1285
|
-
* inside the button's shadow root, falling back to the host element.
|
|
1286
|
-
*/
|
|
1287
|
-
focusToolbarButton() {
|
|
1288
|
-
var _a, _b, _c, _d;
|
|
1289
|
-
const innerButton = (_c = (_b = (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('button')) !== null && _c !== void 0 ? _c : null;
|
|
1290
|
-
(_d = (innerButton !== null && innerButton !== void 0 ? innerButton : this.buttonEl)) === null || _d === void 0 ? void 0 : _d.focus();
|
|
1291
|
-
}
|
|
1292
|
-
/**
|
|
1293
|
-
* Recursively searches for a dropdown list item by its key.
|
|
1294
|
-
*
|
|
1295
|
-
* @param {(RTEDropdownListItem | RTEDropdownListGroup)[]} itemList The list of dropdown items or groups to search through.
|
|
1296
|
-
* @param {string} key The key of the item to find.
|
|
1297
|
-
* @returns {Nullable<RTEDropdownListItem>} The dropdown list item if found, otherwise null.
|
|
1298
|
-
*/
|
|
1299
|
-
getListItemByKey(itemList, key) {
|
|
1300
|
-
for (const item of itemList) {
|
|
1301
|
-
if ('children' in item) {
|
|
1302
|
-
const foundItem = this.getListItemByKey(item.children, key);
|
|
1303
|
-
if (foundItem) {
|
|
1304
|
-
return foundItem;
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
|
-
else if (item.key === key) {
|
|
1308
|
-
return item;
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
return null;
|
|
1312
|
-
}
|
|
1313
|
-
/**
|
|
1314
|
-
* Handles keyboard events on the toolbar button to support dropdown keyboard accessibility.
|
|
1315
|
-
* - Enter / Space: Toggles the dropdown open/closed.
|
|
1316
|
-
* - ArrowDown / ArrowUp: Opens the dropdown and focuses the first/last item.
|
|
1317
|
-
*
|
|
1318
|
-
* @param {KeyboardEvent} e The keyboard event.
|
|
1319
|
-
*/
|
|
1320
|
-
handleButtonKeyDown(e) {
|
|
1321
|
-
if (!this.dropdownEl) {
|
|
1322
|
-
return;
|
|
1323
|
-
}
|
|
1324
|
-
if (e.code === 'Enter' || e.code === 'Space') {
|
|
1325
|
-
e.preventDefault();
|
|
1326
|
-
e.stopPropagation();
|
|
1327
|
-
this.dropdownEl.dispatchEvent(new MouseEvent('click', { bubbles: true }));
|
|
1328
|
-
}
|
|
1329
|
-
else if (e.code === 'ArrowDown' || e.code === 'ArrowUp') {
|
|
1330
|
-
e.preventDefault();
|
|
1331
|
-
e.stopPropagation();
|
|
1332
|
-
void this.dropdownEl.show().then(() => {
|
|
1333
|
-
this.focusDropdownItem(e.code === 'ArrowDown' ? 'first' : 'last');
|
|
1334
|
-
});
|
|
1335
|
-
}
|
|
1336
|
-
}
|
|
1337
|
-
/**
|
|
1338
|
-
* Handles keyboard navigation within the dropdown items container.
|
|
1339
|
-
* - ArrowDown/ArrowUp: Moves focus to the next/previous non-disabled item.
|
|
1340
|
-
* - Escape: Closes the dropdown and returns focus to the toolbar button.
|
|
1341
|
-
*
|
|
1342
|
-
* @param {KeyboardEvent} e The keyboard event.
|
|
1343
|
-
*/
|
|
1344
|
-
handleItemsKeyDown(e) {
|
|
1345
|
-
var _a, _b;
|
|
1346
|
-
if (e.code === 'Escape') {
|
|
1347
|
-
e.preventDefault();
|
|
1348
|
-
e.stopPropagation();
|
|
1349
|
-
if (this.dropdownEl) {
|
|
1350
|
-
void this.dropdownEl.hide();
|
|
1351
|
-
}
|
|
1352
|
-
this.focusToolbarButton();
|
|
1353
|
-
return;
|
|
1354
|
-
}
|
|
1355
|
-
if (e.code !== 'ArrowDown' && e.code !== 'ArrowUp') {
|
|
1356
|
-
return;
|
|
1357
|
-
}
|
|
1358
|
-
e.preventDefault();
|
|
1359
|
-
e.stopPropagation();
|
|
1360
|
-
const items = this.getDropdownItems();
|
|
1361
|
-
if (items.length === 0) {
|
|
1362
|
-
return;
|
|
1363
|
-
}
|
|
1364
|
-
const currentIndex = items.findIndex((item) => { var _a, _b; return ((_a = item.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('li')) === ((_b = item.shadowRoot) === null || _b === void 0 ? void 0 : _b.activeElement); });
|
|
1365
|
-
const direction = e.code === 'ArrowDown' ? 1 : -1;
|
|
1366
|
-
const startIndex = currentIndex === -1 ? (e.code === 'ArrowDown' ? 0 : items.length - 1) : currentIndex + direction;
|
|
1367
|
-
for (let offset = 0; offset < items.length; offset++) {
|
|
1368
|
-
const index = (startIndex + offset * direction + items.length) % items.length;
|
|
1369
|
-
if (!items[index].disabled) {
|
|
1370
|
-
(_b = (_a = items[index].shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('li')) === null || _b === void 0 ? void 0 : _b.focus();
|
|
1371
|
-
return;
|
|
1372
|
-
}
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
/**
|
|
1376
|
-
* Focuses the first or last non-disabled dropdown item.
|
|
1377
|
-
*
|
|
1378
|
-
* @param {'first' | 'last'} position Whether to focus the first or last item.
|
|
1379
|
-
*/
|
|
1380
|
-
focusDropdownItem(position) {
|
|
1381
|
-
var _a, _b;
|
|
1382
|
-
const items = this.getDropdownItems();
|
|
1383
|
-
const orderedItems = position === 'first' ? items : [...items].reverse();
|
|
1384
|
-
for (const item of orderedItems) {
|
|
1385
|
-
if (!item.disabled) {
|
|
1386
|
-
(_b = (_a = item.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('li')) === null || _b === void 0 ? void 0 : _b.focus();
|
|
1387
|
-
return;
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
}
|
|
1391
|
-
/**
|
|
1392
|
-
* Gets all dropdown items from the items container.
|
|
1393
|
-
*
|
|
1394
|
-
* @returns {HTMLVegaDropdownItemElement[]} Array of dropdown item elements.
|
|
1395
|
-
*/
|
|
1396
|
-
getDropdownItems() {
|
|
1397
|
-
if (!this.itemsContainerEl) {
|
|
1398
|
-
return [];
|
|
1399
|
-
}
|
|
1400
|
-
return Array.from(this.itemsContainerEl.querySelectorAll('vega-dropdown-item'));
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
1088
|
/**
|
|
1405
1089
|
* Action to insert a token node at a specified range in the Rich Text Editor.
|
|
1406
1090
|
*
|
|
@@ -1420,7 +1104,7 @@ class InsertTokenNodeAction extends codeBlock.ModifyContentAction {
|
|
|
1420
1104
|
/**
|
|
1421
1105
|
* Renderer for the token toolbar button in the Vega Rich Text Editor.
|
|
1422
1106
|
*/
|
|
1423
|
-
class RTETokenToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
1107
|
+
class RTETokenToolbarButtonRenderer extends imageExtension.VegaRTEToolbarButtonRenderer {
|
|
1424
1108
|
constructor(tokenList) {
|
|
1425
1109
|
super();
|
|
1426
1110
|
this.tokenList = [];
|
|
@@ -1508,7 +1192,6 @@ class RTETokenToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
|
1508
1192
|
class RTETokenNode extends codeBlock.RTETextNode {
|
|
1509
1193
|
constructor(id, token, text, parentBlock, annotations) {
|
|
1510
1194
|
super(id, text, parentBlock, annotations);
|
|
1511
|
-
this.dtoName = RTETokenNode.dtoName;
|
|
1512
1195
|
this.type = 'token';
|
|
1513
1196
|
this.token = token;
|
|
1514
1197
|
this.text = text;
|
|
@@ -1599,7 +1282,7 @@ class RTETokenNode extends codeBlock.RTETextNode {
|
|
|
1599
1282
|
return attrs.length > 0 ? ` ${attrs.join(' ')}` : '';
|
|
1600
1283
|
}
|
|
1601
1284
|
}
|
|
1602
|
-
RTETokenNode.
|
|
1285
|
+
RTETokenNode.typeName = 'RTETokenNode';
|
|
1603
1286
|
|
|
1604
1287
|
/**
|
|
1605
1288
|
* Token node renderer for the rich text editor.
|
|
@@ -1661,13 +1344,14 @@ class RTETokenNodeRenderer extends linkExtension.VegaRTEExtensionRenderer {
|
|
|
1661
1344
|
return result;
|
|
1662
1345
|
}
|
|
1663
1346
|
}
|
|
1347
|
+
RTETokenNodeRenderer.typeName = 'RTETokenNodeRenderer';
|
|
1664
1348
|
|
|
1665
1349
|
/**
|
|
1666
1350
|
* Toolbar button renderer for language selection in Vega Rich Text Editor.
|
|
1667
1351
|
* Each editor host gets its own instance, registered via
|
|
1668
1352
|
* {@link VegaRTEExtension#prepareBeforeLoad}, so renderer state is held in plain fields.
|
|
1669
1353
|
*/
|
|
1670
|
-
class RTELanguageToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
1354
|
+
class RTELanguageToolbarButtonRenderer extends imageExtension.VegaRTEToolbarButtonRenderer {
|
|
1671
1355
|
constructor(languageList, languageChangeCallback, selectedLanguage = '') {
|
|
1672
1356
|
super();
|
|
1673
1357
|
this.languageList = [];
|
|
@@ -1952,7 +1636,6 @@ const FUNCTION_ELEMENT_CLASSES = [
|
|
|
1952
1636
|
class RTEFunctionBlock extends codeBlock.RTEBlock {
|
|
1953
1637
|
constructor(id) {
|
|
1954
1638
|
super(id);
|
|
1955
|
-
this.dtoName = RTEFunctionBlock.dtoName;
|
|
1956
1639
|
this.type = 'function-block';
|
|
1957
1640
|
this.children = [];
|
|
1958
1641
|
}
|
|
@@ -2049,7 +1732,7 @@ class RTEFunctionBlock extends codeBlock.RTEBlock {
|
|
|
2049
1732
|
return styles ? ` style="${styles}"` : '';
|
|
2050
1733
|
}
|
|
2051
1734
|
}
|
|
2052
|
-
RTEFunctionBlock.
|
|
1735
|
+
RTEFunctionBlock.typeName = 'RTEFunctionBlock';
|
|
2053
1736
|
|
|
2054
1737
|
/**
|
|
2055
1738
|
* Strategy to handle the insertion of a function block into the rich text editor.
|
|
@@ -2151,7 +1834,6 @@ class InsertFunctionBlockStrategy extends codeBlock.ActionHandleStrategy {
|
|
|
2151
1834
|
class RTELogicControlNode extends codeBlock.RTENode {
|
|
2152
1835
|
constructor(id, text, parent) {
|
|
2153
1836
|
super(id);
|
|
2154
|
-
this.dtoName = RTELogicControlNode.dtoName;
|
|
2155
1837
|
this.type = 'logic-control-node';
|
|
2156
1838
|
this.text = '';
|
|
2157
1839
|
this.text = text;
|
|
@@ -2219,7 +1901,7 @@ class RTELogicControlNode extends codeBlock.RTENode {
|
|
|
2219
1901
|
return this.text;
|
|
2220
1902
|
}
|
|
2221
1903
|
}
|
|
2222
|
-
RTELogicControlNode.
|
|
1904
|
+
RTELogicControlNode.typeName = 'RTELogicControlNode';
|
|
2223
1905
|
|
|
2224
1906
|
/**
|
|
2225
1907
|
* Class representing a logic control block in the rich text editor.
|
|
@@ -2227,7 +1909,6 @@ RTELogicControlNode.dtoName = 'RTELogicControlNode';
|
|
|
2227
1909
|
class RTELogicControlBlock extends codeBlock.RTEBlock {
|
|
2228
1910
|
constructor(id, statementText, parent) {
|
|
2229
1911
|
super(id);
|
|
2230
|
-
this.dtoName = RTELogicControlBlock.dtoName;
|
|
2231
1912
|
this.type = 'logic-control-block';
|
|
2232
1913
|
this.children = [];
|
|
2233
1914
|
this.statementText = '';
|
|
@@ -2293,12 +1974,12 @@ class RTELogicControlBlock extends codeBlock.RTEBlock {
|
|
|
2293
1974
|
};
|
|
2294
1975
|
}
|
|
2295
1976
|
}
|
|
2296
|
-
RTELogicControlBlock.
|
|
1977
|
+
RTELogicControlBlock.typeName = 'RTELogicControlBlock';
|
|
2297
1978
|
|
|
2298
1979
|
/**
|
|
2299
1980
|
* Function toolbar button renderer class.
|
|
2300
1981
|
*/
|
|
2301
|
-
class FunctionToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
1982
|
+
class FunctionToolbarButtonRenderer extends imageExtension.VegaRTEToolbarButtonRenderer {
|
|
2302
1983
|
/**
|
|
2303
1984
|
* @inheritDoc
|
|
2304
1985
|
*/
|
|
@@ -2387,6 +2068,7 @@ class RTELogicControlBlockRenderer extends linkExtension.VegaRTEExtensionRendere
|
|
|
2387
2068
|
}, renderData.statementText));
|
|
2388
2069
|
}
|
|
2389
2070
|
}
|
|
2071
|
+
RTELogicControlBlockRenderer.typeName = 'RTELogicControlBlockRenderer';
|
|
2390
2072
|
|
|
2391
2073
|
/**
|
|
2392
2074
|
* Returns true when the element belongs to function extension blocks by semantic
|
|
@@ -2603,17 +2285,12 @@ class RTEFunctionBlockRenderer extends linkExtension.VegaRTEExtensionRenderer {
|
|
|
2603
2285
|
return classes.trim();
|
|
2604
2286
|
}
|
|
2605
2287
|
}
|
|
2606
|
-
|
|
2607
|
-
/**
|
|
2608
|
-
* Abstract class for action handler interceptors, which can intercept actions before they are handled.
|
|
2609
|
-
*/
|
|
2610
|
-
class ActionHandlerInterceptor {
|
|
2611
|
-
}
|
|
2288
|
+
RTEFunctionBlockRenderer.typeName = 'RTEFunctionBlockRenderer';
|
|
2612
2289
|
|
|
2613
2290
|
/**
|
|
2614
2291
|
* Prevent special type input in function block.
|
|
2615
2292
|
*/
|
|
2616
|
-
class PreventNewParagraphInterceptor extends ActionHandlerInterceptor {
|
|
2293
|
+
class PreventNewParagraphInterceptor extends imageExtension.ActionHandlerInterceptor {
|
|
2617
2294
|
/**
|
|
2618
2295
|
* Checks the target block parent whether is function block.
|
|
2619
2296
|
*
|
|
@@ -2780,8 +2457,8 @@ class VegaRTEFunctionExtension extends linkExtension.VegaRTEExtension {
|
|
|
2780
2457
|
constructor() {
|
|
2781
2458
|
super();
|
|
2782
2459
|
this.unregisterBlockBoundaryPredicate = null;
|
|
2783
|
-
this.registerBlockBasicStrategies(RTELogicControlBlock.
|
|
2784
|
-
this.registerBlockBasicStrategies(RTEFunctionBlock.
|
|
2460
|
+
this.registerBlockBasicStrategies(RTELogicControlBlock.typeName);
|
|
2461
|
+
this.registerBlockBasicStrategies(RTEFunctionBlock.typeName);
|
|
2785
2462
|
this.preventFunctionBlockDefaultInsertNewParagraph();
|
|
2786
2463
|
this.registerNode('logic-control-block', RTELogicControlBlock);
|
|
2787
2464
|
this.registerRenderer('logic-control-block', new RTELogicControlBlockRenderer());
|
|
@@ -2813,23 +2490,23 @@ class VegaRTEFunctionExtension extends linkExtension.VegaRTEExtension {
|
|
|
2813
2490
|
* Remove the appen children strategies to prevent default insert new paragraph logic in function block
|
|
2814
2491
|
*/
|
|
2815
2492
|
preventFunctionBlockDefaultInsertNewParagraph() {
|
|
2816
|
-
this.unRegisterStrategy(codeBlock.ModifyContentActionType.INSERT_NEW_PARAGRAPH, RTELogicControlBlock.
|
|
2817
|
-
this.unRegisterStrategy(codeBlock.ModifyContentActionType.APPEND_CHILDREN, RTEFunctionBlock.
|
|
2818
|
-
this.unRegisterStrategy(codeBlock.ModifyContentActionType.INSERT_CHILDREN_AFTER, RTEFunctionBlock.
|
|
2819
|
-
this.unRegisterStrategy(codeBlock.ModifyContentActionType.INSERT_CHILDREN_BEFORE, RTEFunctionBlock.
|
|
2820
|
-
this.unRegisterStrategy(codeBlock.ModifyContentActionType.PASTE_CONTENT, RTELogicControlBlock.
|
|
2821
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(RTEFunctionBlock.
|
|
2493
|
+
this.unRegisterStrategy(codeBlock.ModifyContentActionType.INSERT_NEW_PARAGRAPH, RTELogicControlBlock.typeName);
|
|
2494
|
+
this.unRegisterStrategy(codeBlock.ModifyContentActionType.APPEND_CHILDREN, RTEFunctionBlock.typeName);
|
|
2495
|
+
this.unRegisterStrategy(codeBlock.ModifyContentActionType.INSERT_CHILDREN_AFTER, RTEFunctionBlock.typeName);
|
|
2496
|
+
this.unRegisterStrategy(codeBlock.ModifyContentActionType.INSERT_CHILDREN_BEFORE, RTEFunctionBlock.typeName);
|
|
2497
|
+
this.unRegisterStrategy(codeBlock.ModifyContentActionType.PASTE_CONTENT, RTELogicControlBlock.typeName);
|
|
2498
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(RTEFunctionBlock.typeName, codeBlock.ModifyContentActionType.INSERT_NEW_PARAGRAPH, new FunctionBlockInsertParagraphStrategy());
|
|
2822
2499
|
}
|
|
2823
2500
|
}
|
|
2824
2501
|
(() => {
|
|
2825
2502
|
const insertFunctionBlockStrategy = new InsertFunctionBlockStrategy();
|
|
2826
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.VegaRTEContent.
|
|
2827
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.
|
|
2828
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.RTEImageBlock.
|
|
2829
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(RTELogicControlBlock.
|
|
2830
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.
|
|
2831
|
-
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(codeBlock.RTETextBlock.
|
|
2832
|
-
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(codeBlock.RTETextBlock.
|
|
2503
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.VegaRTEContent.typeName, INSERT_FUNCTION_BLOCK, insertFunctionBlockStrategy);
|
|
2504
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.typeName, INSERT_FUNCTION_BLOCK, insertFunctionBlockStrategy);
|
|
2505
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.RTEImageBlock.typeName, INSERT_FUNCTION_BLOCK, insertFunctionBlockStrategy);
|
|
2506
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(RTELogicControlBlock.typeName, INSERT_FUNCTION_BLOCK, insertFunctionBlockStrategy);
|
|
2507
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.typeName, PASTE_PLAIN_TEXT, new PastePlainTextStrategy());
|
|
2508
|
+
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(codeBlock.RTETextBlock.typeName, codeBlock.ModifyContentActionType.INSERT_NEW_PARAGRAPH, new PreventNewParagraphInterceptor());
|
|
2509
|
+
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(codeBlock.RTETextBlock.typeName, codeBlock.ModifyContentActionType.PASTE_CONTENT, new PreventPasteContentInterceptor());
|
|
2833
2510
|
})();
|
|
2834
2511
|
VegaRTEFunctionExtension.TOOLBAR_BUTTON_KEY = 'functions';
|
|
2835
2512
|
|
|
@@ -2930,7 +2607,6 @@ var __rest$3 = (undefined && undefined.__rest) || function (s, e) {
|
|
|
2930
2607
|
class RTETableCaptionBlock extends codeBlock.RTEBlock {
|
|
2931
2608
|
constructor(id, options) {
|
|
2932
2609
|
super(id);
|
|
2933
|
-
this.dtoName = RTETableCaptionBlock.dtoName;
|
|
2934
2610
|
this.type = 'table-caption';
|
|
2935
2611
|
const { autoMatchFormat } = options || { autoMatchFormat: true };
|
|
2936
2612
|
if (autoMatchFormat) {
|
|
@@ -2989,11 +2665,12 @@ class RTETableCaptionBlock extends codeBlock.RTEBlock {
|
|
|
2989
2665
|
return Object.assign(Object.assign({}, super.toJSON()), { type: this.type, children: this.children.map((child) => child.toJSON()) });
|
|
2990
2666
|
}
|
|
2991
2667
|
}
|
|
2668
|
+
RTETableCaptionBlock.typeName = 'RTETableCaptionBlock';
|
|
2669
|
+
// eslint-disable-next-line @globalpayments/vega-eslint/vega-class-member-order-rule
|
|
2992
2670
|
(() => {
|
|
2993
|
-
codeBlock.ActionHandleStrategyRegistry.register(codeBlock.ModifyContentActionType.INSERT_CHILDREN_BEFORE, RTETableCaptionBlock.
|
|
2994
|
-
codeBlock.ActionHandleStrategyRegistry.register(codeBlock.ModifyContentActionType.PASTE_CONTENT, RTETableCaptionBlock.
|
|
2671
|
+
codeBlock.ActionHandleStrategyRegistry.register(codeBlock.ModifyContentActionType.INSERT_CHILDREN_BEFORE, RTETableCaptionBlock.typeName, new contentState.InsertChildrenBeforeStrategy());
|
|
2672
|
+
codeBlock.ActionHandleStrategyRegistry.register(codeBlock.ModifyContentActionType.PASTE_CONTENT, RTETableCaptionBlock.typeName, new contentState.PasteContentStrategy());
|
|
2995
2673
|
})();
|
|
2996
|
-
RTETableCaptionBlock.dtoName = 'RTETableCaptionBlock';
|
|
2997
2674
|
|
|
2998
2675
|
const TOGGLE_TABLE_CAPTION = 'TOGGLE_TABLE_CAPTION';
|
|
2999
2676
|
/**
|
|
@@ -3166,6 +2843,7 @@ class UpdateTablePropertiesAction extends codeBlock.AnnotationAction {
|
|
|
3166
2843
|
return new splitCellOperation.RTETableAnnotation(this.tableProperties);
|
|
3167
2844
|
}
|
|
3168
2845
|
}
|
|
2846
|
+
UpdateTablePropertiesAction.typeName = 'UpdateTablePropertiesAction';
|
|
3169
2847
|
|
|
3170
2848
|
/**
|
|
3171
2849
|
* Cancel Event handler for the table properties.
|
|
@@ -3251,6 +2929,7 @@ class RTETableCellAnnotationsAction extends codeBlock.AnnotationAction {
|
|
|
3251
2929
|
});
|
|
3252
2930
|
}
|
|
3253
2931
|
}
|
|
2932
|
+
RTETableCellAnnotationsAction.typeName = 'RTETableCellAnnotationsAction';
|
|
3254
2933
|
|
|
3255
2934
|
/**
|
|
3256
2935
|
* Action to apply annotations to a table head cell.
|
|
@@ -3268,6 +2947,7 @@ class RTETableHeadCellAnnotationsAction extends RTETableCellAnnotationsAction {
|
|
|
3268
2947
|
return this.originAnnotation;
|
|
3269
2948
|
}
|
|
3270
2949
|
}
|
|
2950
|
+
RTETableHeadCellAnnotationsAction.typeName = 'RTETableHeadCellAnnotationsAction';
|
|
3271
2951
|
|
|
3272
2952
|
var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
|
|
3273
2953
|
var t = {};
|
|
@@ -4517,6 +4197,7 @@ class RTETableBlockRenderer extends linkExtension.VegaRTEExtensionRenderer {
|
|
|
4517
4197
|
this.tableToolbar = null;
|
|
4518
4198
|
}
|
|
4519
4199
|
}
|
|
4200
|
+
RTETableBlockRenderer.typeName = 'RTETableBlockRenderer';
|
|
4520
4201
|
|
|
4521
4202
|
/**
|
|
4522
4203
|
* Renders a logic control block in the rich text editor.
|
|
@@ -4532,6 +4213,7 @@ class RTETableHeadRenderer extends linkExtension.VegaRTEExtensionRenderer {
|
|
|
4532
4213
|
});
|
|
4533
4214
|
}
|
|
4534
4215
|
}
|
|
4216
|
+
RTETableHeadRenderer.typeName = 'RTETableHeadRenderer';
|
|
4535
4217
|
|
|
4536
4218
|
/**
|
|
4537
4219
|
* Renders a logic control block in the rich text editor.
|
|
@@ -4547,6 +4229,7 @@ class RTETableRowBlockRenderer extends linkExtension.VegaRTEExtensionRenderer {
|
|
|
4547
4229
|
});
|
|
4548
4230
|
}
|
|
4549
4231
|
}
|
|
4232
|
+
RTETableRowBlockRenderer.typeName = 'RTETableRowBlockRenderer';
|
|
4550
4233
|
|
|
4551
4234
|
/**
|
|
4552
4235
|
* Renders a table cell block in the rich text editor.
|
|
@@ -4618,6 +4301,7 @@ class RTETableCellRenderer extends linkExtension.VegaRTEExtensionRenderer {
|
|
|
4618
4301
|
};
|
|
4619
4302
|
}
|
|
4620
4303
|
}
|
|
4304
|
+
RTETableCellRenderer.typeName = 'RTETableCellRenderer';
|
|
4621
4305
|
|
|
4622
4306
|
/**
|
|
4623
4307
|
* Renders a table body block in the rich text editor.
|
|
@@ -4633,6 +4317,7 @@ class RTETableBodyRenderer extends linkExtension.VegaRTEExtensionRenderer {
|
|
|
4633
4317
|
});
|
|
4634
4318
|
}
|
|
4635
4319
|
}
|
|
4320
|
+
RTETableBodyRenderer.typeName = 'RTETableBodyRenderer';
|
|
4636
4321
|
|
|
4637
4322
|
/**
|
|
4638
4323
|
* Renders a head cell block in the rich text editor.
|
|
@@ -4645,6 +4330,7 @@ class RTETableHeadCellRenderer extends RTETableCellRenderer {
|
|
|
4645
4330
|
return super.renderByCellType(h, renderData, rteContext, 'th');
|
|
4646
4331
|
}
|
|
4647
4332
|
}
|
|
4333
|
+
RTETableHeadCellRenderer.typeName = 'RTETableHeadCellRenderer';
|
|
4648
4334
|
|
|
4649
4335
|
const INSERT_TABLE_BLOCK = 'INSERT_TABLE_BLOCK';
|
|
4650
4336
|
/**
|
|
@@ -4841,7 +4527,7 @@ class RTETableToolbarPopoverRenderer extends TablePopoverBaseRenderer {
|
|
|
4841
4527
|
/**
|
|
4842
4528
|
* Function toolbar button renderer class.
|
|
4843
4529
|
*/
|
|
4844
|
-
class RTETableToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
4530
|
+
class RTETableToolbarButtonRenderer extends imageExtension.VegaRTEToolbarButtonRenderer {
|
|
4845
4531
|
/**
|
|
4846
4532
|
* @inheritDoc
|
|
4847
4533
|
*/
|
|
@@ -4943,7 +4629,7 @@ class InsertTableBlockStrategy extends codeBlock.ActionHandleStrategy {
|
|
|
4943
4629
|
/**
|
|
4944
4630
|
* Interceptor to prevent deletion of a table cell if it is the cell with empty content.
|
|
4945
4631
|
*/
|
|
4946
|
-
class PreventCellContentDeleteInterceptor extends ActionHandlerInterceptor {
|
|
4632
|
+
class PreventCellContentDeleteInterceptor extends imageExtension.ActionHandlerInterceptor {
|
|
4947
4633
|
/**
|
|
4948
4634
|
* Prevent deletion if the target block is the only child of a table cell and is empty.
|
|
4949
4635
|
*
|
|
@@ -4988,7 +4674,7 @@ class DeleteTableBlockStrategy extends codeBlock.ActionHandleStrategy {
|
|
|
4988
4674
|
/**
|
|
4989
4675
|
* Interceptor to prevent removal of all children from a cell, ensuring at least one child remains.
|
|
4990
4676
|
*/
|
|
4991
|
-
class PreventCellChildrenRemoveInterceptor extends ActionHandlerInterceptor {
|
|
4677
|
+
class PreventCellChildrenRemoveInterceptor extends imageExtension.ActionHandlerInterceptor {
|
|
4992
4678
|
/**
|
|
4993
4679
|
* Prevent removal if the target cell would be left empty after the action.
|
|
4994
4680
|
*
|
|
@@ -5037,6 +4723,7 @@ class RTETableCaptionRenderer extends linkExtension.VegaRTEExtensionRenderer {
|
|
|
5037
4723
|
.join(' '), 'data-placeholder': TABLE_CAPTION_PLACEHOLDER_TEXT }));
|
|
5038
4724
|
}
|
|
5039
4725
|
}
|
|
4726
|
+
RTETableCaptionRenderer.typeName = 'RTETableCaptionRenderer';
|
|
5040
4727
|
|
|
5041
4728
|
/**
|
|
5042
4729
|
* Abstract base strategy for table row actions. Provides common utilities for row manipulations.
|
|
@@ -6677,7 +6364,7 @@ class SelectTableColumnStrategy extends splitCellOperation.TableColumnStrategy {
|
|
|
6677
6364
|
/**
|
|
6678
6365
|
* Interceptor to prevent insertion of non-cell blocks into a table row.
|
|
6679
6366
|
*/
|
|
6680
|
-
class PreventRowInsertInterceptor extends ActionHandlerInterceptor {
|
|
6367
|
+
class PreventRowInsertInterceptor extends imageExtension.ActionHandlerInterceptor {
|
|
6681
6368
|
/**
|
|
6682
6369
|
* Prevent insertion if any of the children to be inserted is not a table cell block.
|
|
6683
6370
|
*
|
|
@@ -7229,7 +6916,7 @@ class TableAnnotationHandler extends TableAnnotationHandlerBase {
|
|
|
7229
6916
|
* @inheritDoc
|
|
7230
6917
|
*/
|
|
7231
6918
|
canHandle(targetDto) {
|
|
7232
|
-
return targetDto.
|
|
6919
|
+
return targetDto.typeName === 'RTETableBlock';
|
|
7233
6920
|
}
|
|
7234
6921
|
/**
|
|
7235
6922
|
* Handle annotation extraction from table element.
|
|
@@ -7297,7 +6984,7 @@ class TableCellAnnotationHandler extends TableAnnotationHandlerBase {
|
|
|
7297
6984
|
* @inheritDoc
|
|
7298
6985
|
*/
|
|
7299
6986
|
canHandle(targetDto) {
|
|
7300
|
-
return targetDto.
|
|
6987
|
+
return targetDto.typeName === 'RTETableCellBlock';
|
|
7301
6988
|
}
|
|
7302
6989
|
/**
|
|
7303
6990
|
* Handle annotation extraction from table cell element.
|
|
@@ -7406,7 +7093,7 @@ class TableHeadCellAnnotationHandler extends TableCellAnnotationHandler {
|
|
|
7406
7093
|
* @inheritDoc
|
|
7407
7094
|
*/
|
|
7408
7095
|
canHandle(targetDto) {
|
|
7409
|
-
return targetDto.
|
|
7096
|
+
return targetDto.typeName === 'RTETableHeadCellBlock';
|
|
7410
7097
|
}
|
|
7411
7098
|
}
|
|
7412
7099
|
|
|
@@ -7825,7 +7512,7 @@ class InsertTableRowIntoSameSectionStrategy extends TableRowCommonUtilitiesStrat
|
|
|
7825
7512
|
/**
|
|
7826
7513
|
* Interceptor to insert a paragraph before or after a table block.
|
|
7827
7514
|
*/
|
|
7828
|
-
class PreventTableInsertParagraphInterceptor extends ActionHandlerInterceptor {
|
|
7515
|
+
class PreventTableInsertParagraphInterceptor extends imageExtension.ActionHandlerInterceptor {
|
|
7829
7516
|
/**
|
|
7830
7517
|
* Intercept insert paragraph action when table block has a parent.
|
|
7831
7518
|
*
|
|
@@ -7886,7 +7573,7 @@ class TableBlockFilterStylesStrategy extends codeBlock.RTEFilterStylesStrategy {
|
|
|
7886
7573
|
* @inheritDoc
|
|
7887
7574
|
*/
|
|
7888
7575
|
canFilter(blockOrNodeInstance) {
|
|
7889
|
-
return this.isTableBlock(blockOrNodeInstance.
|
|
7576
|
+
return this.isTableBlock(blockOrNodeInstance.typeName);
|
|
7890
7577
|
}
|
|
7891
7578
|
/**
|
|
7892
7579
|
* @inheritDoc
|
|
@@ -7924,7 +7611,7 @@ class TableCaptionFilterStylesStrategy extends codeBlock.RTEFilterStylesStrategy
|
|
|
7924
7611
|
* @inheritDoc
|
|
7925
7612
|
*/
|
|
7926
7613
|
canFilter(blockOrNodeInstance) {
|
|
7927
|
-
return this.isTableCaption(blockOrNodeInstance.
|
|
7614
|
+
return this.isTableCaption(blockOrNodeInstance.typeName);
|
|
7928
7615
|
}
|
|
7929
7616
|
/**
|
|
7930
7617
|
* @inheritDoc
|
|
@@ -7966,7 +7653,7 @@ class TableCellFilterStylesStrategy extends codeBlock.RTEFilterStylesStrategy {
|
|
|
7966
7653
|
* @inheritDoc
|
|
7967
7654
|
*/
|
|
7968
7655
|
canFilter(blockOrNodeInstance) {
|
|
7969
|
-
return this.isTableCell(blockOrNodeInstance.
|
|
7656
|
+
return this.isTableCell(blockOrNodeInstance.typeName);
|
|
7970
7657
|
}
|
|
7971
7658
|
/**
|
|
7972
7659
|
* The table cell border color can be represented in different formats (e.g., hex, rgb), so we need to ensure that we can handle both cases.
|
|
@@ -8030,12 +7717,12 @@ class VegaRTETableExtension extends linkExtension.VegaRTEExtension {
|
|
|
8030
7717
|
this.tableSelection = new RTETableSelection();
|
|
8031
7718
|
splitCellOperation.RTETableColorManager.setTableColors(colors);
|
|
8032
7719
|
this.registerToolbarButtonRenderer(VegaRTETableExtension.TOOLBAR_BUTTON_KEY, this.toolbarButtonRenderer);
|
|
8033
|
-
this.registerBlockBasicStrategies(splitCellOperation.RTETableBlock.
|
|
8034
|
-
this.registerBlockBasicStrategies(splitCellOperation.RTETableHeadBlock.
|
|
8035
|
-
this.registerBlockBasicStrategies(splitCellOperation.RTETableHeadCellBlock.
|
|
8036
|
-
this.registerBlockBasicStrategies(splitCellOperation.RTETableRowBlock.
|
|
8037
|
-
this.registerBlockBasicStrategies(splitCellOperation.RTETableCellBlock.
|
|
8038
|
-
this.registerBlockBasicStrategies(splitCellOperation.RTETableBodyBlock.
|
|
7720
|
+
this.registerBlockBasicStrategies(splitCellOperation.RTETableBlock.typeName);
|
|
7721
|
+
this.registerBlockBasicStrategies(splitCellOperation.RTETableHeadBlock.typeName);
|
|
7722
|
+
this.registerBlockBasicStrategies(splitCellOperation.RTETableHeadCellBlock.typeName);
|
|
7723
|
+
this.registerBlockBasicStrategies(splitCellOperation.RTETableRowBlock.typeName);
|
|
7724
|
+
this.registerBlockBasicStrategies(splitCellOperation.RTETableCellBlock.typeName);
|
|
7725
|
+
this.registerBlockBasicStrategies(splitCellOperation.RTETableBodyBlock.typeName);
|
|
8039
7726
|
this.registerRenderer('table-block', this.tableBlockRenderer);
|
|
8040
7727
|
this.registerRenderer('table-head', new RTETableHeadRenderer());
|
|
8041
7728
|
this.registerRenderer('table-head-cell', this.tableHeadCellRenderer);
|
|
@@ -8082,41 +7769,41 @@ class VegaRTETableExtension extends linkExtension.VegaRTEExtension {
|
|
|
8082
7769
|
(() => {
|
|
8083
7770
|
const insertTableBlockStrategy = new InsertTableBlockStrategy();
|
|
8084
7771
|
const deleteTableBlockStrategy = new DeleteTableBlockStrategy();
|
|
8085
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.VegaRTEContent.
|
|
7772
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.VegaRTEContent.typeName, INSERT_TABLE_BLOCK, insertTableBlockStrategy);
|
|
8086
7773
|
// Registered on the table block itself (not its parent) so a table can always be
|
|
8087
7774
|
// deleted regardless of which block type it is nested in (root content, table cell,
|
|
8088
7775
|
// blockquote, or any future container).
|
|
8089
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.
|
|
8090
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.
|
|
8091
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.RTEImageBlock.
|
|
8092
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.
|
|
8093
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.
|
|
8094
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.
|
|
8095
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.
|
|
8096
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.
|
|
8097
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.
|
|
8098
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.
|
|
8099
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableRowBlock.
|
|
8100
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableRowBlock.
|
|
8101
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableRowBlock.
|
|
8102
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableCellBlock.
|
|
8103
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableCellBlock.
|
|
8104
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableHeadCellBlock.
|
|
8105
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableHeadCellBlock.
|
|
8106
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.
|
|
8107
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.
|
|
8108
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.
|
|
8109
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableCellBlock.
|
|
8110
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableHeadCellBlock.
|
|
8111
|
-
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(codeBlock.RTETextBlock.
|
|
8112
|
-
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(splitCellOperation.RTETableRowBlock.
|
|
8113
|
-
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(splitCellOperation.RTETableCellBlock.
|
|
8114
|
-
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(splitCellOperation.RTETableHeadCellBlock.
|
|
8115
|
-
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(splitCellOperation.RTETableBlock.
|
|
8116
|
-
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(splitCellOperation.RTETableBlock.
|
|
8117
|
-
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(RTETableCaptionBlock.
|
|
8118
|
-
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(splitCellOperation.RTETableCellBlock.
|
|
8119
|
-
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(splitCellOperation.RTETableHeadCellBlock.
|
|
7776
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.typeName, DELETE_TABLE_BLOCK, deleteTableBlockStrategy);
|
|
7777
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.typeName, INSERT_TABLE_BLOCK, insertTableBlockStrategy);
|
|
7778
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.RTEImageBlock.typeName, INSERT_TABLE_BLOCK, insertTableBlockStrategy);
|
|
7779
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.typeName, splitCellOperation.INSERT_TABLE_ROW_INTO_DIFFERENT_SECTION, new InsertTableRowIntoDifferentSectionStrategy());
|
|
7780
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.typeName, splitCellOperation.INSERT_TABLE_ROW_INTO_SAME_SECTION, new InsertTableRowIntoSameSectionStrategy());
|
|
7781
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.typeName, splitCellOperation.DELETE_TABLE_ROW, new DeleteTableRowStrategy());
|
|
7782
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.typeName, splitCellOperation.TOGGLE_HEADER_ROW, new ToggleHeaderRowStrategy());
|
|
7783
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.typeName, splitCellOperation.INSERT_TABLE_COLUMN, new InsertTableColumnStrategy());
|
|
7784
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.typeName, splitCellOperation.DELETE_TABLE_COLUMN, new DeleteTableColumnStrategy());
|
|
7785
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.typeName, splitCellOperation.TOGGLE_HEADER_TABLE_COLUMN, new splitCellOperation.ToggleHeaderTableColumnStrategy());
|
|
7786
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableRowBlock.typeName, splitCellOperation.SPLIT_TABLE_CELL, new SplitTableCellStrategy());
|
|
7787
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableRowBlock.typeName, CREATE_SEGMENT_TABLE_CELL, new CreateSegmentTableCellStrategy());
|
|
7788
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableRowBlock.typeName, splitCellOperation.REPLACE_TABLE_CELL, new ReplaceTableCellStrategy());
|
|
7789
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableCellBlock.typeName, splitCellOperation.SPLIT_CELL_HORIZONTALLY, new SplitCellHorizontallyStrategy());
|
|
7790
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableCellBlock.typeName, splitCellOperation.SPLIT_CELL_VERTICALLY, new SplitCellVerticallyStrategy());
|
|
7791
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableHeadCellBlock.typeName, splitCellOperation.SPLIT_CELL_HORIZONTALLY, new SplitCellHorizontallyStrategy());
|
|
7792
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableHeadCellBlock.typeName, splitCellOperation.SPLIT_CELL_VERTICALLY, new SplitCellVerticallyStrategy());
|
|
7793
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.typeName, splitCellOperation.SELECT_TABLE_COLUMN, new SelectTableColumnStrategy());
|
|
7794
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.typeName, splitCellOperation.MERGE_CELLS, new MergeCellsStrategy());
|
|
7795
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableBlock.typeName, UpdateTablePropertiesAction.typeName, new UpdateTablePropertiesStrategy());
|
|
7796
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableCellBlock.typeName, RTETableCellAnnotationsAction.typeName, new UpdateTableCellPropertiesStrategy());
|
|
7797
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableHeadCellBlock.typeName, RTETableHeadCellAnnotationsAction.typeName, new UpdateTableCellPropertiesStrategy());
|
|
7798
|
+
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(codeBlock.RTETextBlock.typeName, codeBlock.ModifyContentActionType.DELETE_BLOCK_CONTENT, new PreventCellContentDeleteInterceptor());
|
|
7799
|
+
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(splitCellOperation.RTETableRowBlock.typeName, codeBlock.ModifyContentActionType.INSERT_CHILDREN_BEFORE, new PreventRowInsertInterceptor());
|
|
7800
|
+
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(splitCellOperation.RTETableCellBlock.typeName, codeBlock.ModifyContentActionType.DELETE_CHILDREN, new PreventCellChildrenRemoveInterceptor());
|
|
7801
|
+
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(splitCellOperation.RTETableHeadCellBlock.typeName, codeBlock.ModifyContentActionType.DELETE_CHILDREN, new PreventCellChildrenRemoveInterceptor());
|
|
7802
|
+
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(splitCellOperation.RTETableBlock.typeName, codeBlock.ModifyContentActionType.INSERT_NEW_PARAGRAPH, new PreventTableInsertParagraphInterceptor());
|
|
7803
|
+
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(splitCellOperation.RTETableBlock.typeName, new TableBlockFilterStylesStrategy());
|
|
7804
|
+
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(RTETableCaptionBlock.typeName, new TableCaptionFilterStylesStrategy());
|
|
7805
|
+
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(splitCellOperation.RTETableCellBlock.typeName, new TableCellFilterStylesStrategy());
|
|
7806
|
+
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(splitCellOperation.RTETableHeadCellBlock.typeName, new TableCellFilterStylesStrategy('th'));
|
|
8120
7807
|
})();
|
|
8121
7808
|
VegaRTETableExtension.TOOLBAR_BUTTON_KEY = 'table';
|
|
8122
7809
|
|
|
@@ -8151,6 +7838,7 @@ class RTEHorizontalLineNode extends codeBlock.RTEDecoratorNode {
|
|
|
8151
7838
|
return '<hr>';
|
|
8152
7839
|
}
|
|
8153
7840
|
}
|
|
7841
|
+
RTEHorizontalLineNode.typeName = 'RTEHorizontalLineNode';
|
|
8154
7842
|
|
|
8155
7843
|
/**
|
|
8156
7844
|
* Predicate class provides static methods to check specific conditions on HTML elements or dto instances.
|
|
@@ -8195,7 +7883,7 @@ class HorizontalLineFilterStylesStrategy extends codeBlock.RTEFilterStylesStrate
|
|
|
8195
7883
|
* @inheritDoc
|
|
8196
7884
|
*/
|
|
8197
7885
|
canFilter(blockOrNodeInstance) {
|
|
8198
|
-
return Predicate.isHorizontalLineBlock(blockOrNodeInstance.
|
|
7886
|
+
return Predicate.isHorizontalLineBlock(blockOrNodeInstance.typeName);
|
|
8199
7887
|
}
|
|
8200
7888
|
/**
|
|
8201
7889
|
* @inheritDoc
|
|
@@ -8279,7 +7967,6 @@ class HorizontalLineAnnotation extends codeBlock.BlockAnnotation {
|
|
|
8279
7967
|
class RTEHorizontalLineBlock extends codeBlock.RTEBlock {
|
|
8280
7968
|
constructor(id, options) {
|
|
8281
7969
|
super(id);
|
|
8282
|
-
this.dtoName = RTEHorizontalLineBlock.dtoName;
|
|
8283
7970
|
this.type = 'horizontal-line';
|
|
8284
7971
|
this.children = [];
|
|
8285
7972
|
const { autoMatchFormat = true } = options !== null && options !== void 0 ? options : {};
|
|
@@ -8357,7 +8044,7 @@ class RTEHorizontalLineBlock extends codeBlock.RTEBlock {
|
|
|
8357
8044
|
return clonedBlock;
|
|
8358
8045
|
}
|
|
8359
8046
|
}
|
|
8360
|
-
RTEHorizontalLineBlock.
|
|
8047
|
+
RTEHorizontalLineBlock.typeName = 'RTEHorizontalLineBlock';
|
|
8361
8048
|
|
|
8362
8049
|
const horizontalLineBlockStylesCss = ".v-rte-horizontal-line{padding:8px 0;overflow:hidden}.v-rte-horizontal-line .v-rte-horizontal-line-hr{display:inline-block;width:100%;height:4px;border-width:0px;background-color:rgb(222, 222, 222)}";
|
|
8363
8050
|
|
|
@@ -8395,6 +8082,7 @@ class RTEHorizontalLineBlockRenderer extends linkExtension.VegaRTEExtensionRende
|
|
|
8395
8082
|
return horizontalLineBlockStylesCss;
|
|
8396
8083
|
}
|
|
8397
8084
|
}
|
|
8085
|
+
RTEHorizontalLineBlockRenderer.typeName = 'RTEHorizontalLineBlockRenderer';
|
|
8398
8086
|
|
|
8399
8087
|
const HorizontalLine = {
|
|
8400
8088
|
icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M0 224H32 608h32v64H608 32 0V224z"/></svg>`,
|
|
@@ -8417,7 +8105,7 @@ class InsertHorizontalLineBlockAction extends codeBlock.ModifyContentAction {
|
|
|
8417
8105
|
/**
|
|
8418
8106
|
* Toolbar button renderer for horizontal line insertion.
|
|
8419
8107
|
*/
|
|
8420
|
-
class RTEHorizontalLineToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
8108
|
+
class RTEHorizontalLineToolbarButtonRenderer extends imageExtension.VegaRTEToolbarButtonRenderer {
|
|
8421
8109
|
/**
|
|
8422
8110
|
* Renders the horizontal line toolbar button.
|
|
8423
8111
|
*
|
|
@@ -8611,7 +8299,7 @@ class VegaRTEHorizontalLineExtension extends linkExtension.VegaRTEExtension {
|
|
|
8611
8299
|
this.blockRenderer = new RTEHorizontalLineBlockRenderer();
|
|
8612
8300
|
this.toolbarButtonRenderer = new RTEHorizontalLineToolbarButtonRenderer();
|
|
8613
8301
|
// Register basic block strategies (delete, append, paste, etc.)
|
|
8614
|
-
this.registerBlockBasicStrategies(RTEHorizontalLineBlock.
|
|
8302
|
+
this.registerBlockBasicStrategies(RTEHorizontalLineBlock.typeName);
|
|
8615
8303
|
// Register the block DTO class
|
|
8616
8304
|
this.registerNode('horizontal-line', RTEHorizontalLineBlock);
|
|
8617
8305
|
// Register the renderer
|
|
@@ -8621,16 +8309,16 @@ class VegaRTEHorizontalLineExtension extends linkExtension.VegaRTEExtension {
|
|
|
8621
8309
|
// Register HTML → DTO conversion strategy
|
|
8622
8310
|
this.registerElementToBlockDTOClassStrategy(new HrToHorizontalLineBlockStrategy());
|
|
8623
8311
|
// Register filter styles strategy for source edit round-trip
|
|
8624
|
-
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(RTEHorizontalLineBlock.
|
|
8312
|
+
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(RTEHorizontalLineBlock.typeName, new HorizontalLineFilterStylesStrategy());
|
|
8625
8313
|
}
|
|
8626
8314
|
}
|
|
8627
8315
|
(() => {
|
|
8628
8316
|
const insertStrategy = new InsertHorizontalLineBlockStrategy();
|
|
8629
8317
|
// Register insert strategy for all block types that can be a target
|
|
8630
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.VegaRTEContent.
|
|
8631
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.
|
|
8632
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.RTEImageBlock.
|
|
8633
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(RTEHorizontalLineBlock.
|
|
8318
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.VegaRTEContent.typeName, INSERT_HORIZONTAL_LINE_BLOCK, insertStrategy);
|
|
8319
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.typeName, INSERT_HORIZONTAL_LINE_BLOCK, insertStrategy);
|
|
8320
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.RTEImageBlock.typeName, INSERT_HORIZONTAL_LINE_BLOCK, insertStrategy);
|
|
8321
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(RTEHorizontalLineBlock.typeName, INSERT_HORIZONTAL_LINE_BLOCK, insertStrategy);
|
|
8634
8322
|
})();
|
|
8635
8323
|
VegaRTEHorizontalLineExtension.TOOLBAR_BUTTON_KEY = 'horizontalLine';
|
|
8636
8324
|
|
|
@@ -8715,7 +8403,6 @@ class BlockquoteAnnotation extends codeBlock.BlockAnnotation {
|
|
|
8715
8403
|
class RTEBlockquoteBlock extends codeBlock.RTEBlock {
|
|
8716
8404
|
constructor(id, options) {
|
|
8717
8405
|
super(id);
|
|
8718
|
-
this.dtoName = RTEBlockquoteBlock.dtoName;
|
|
8719
8406
|
this.type = 'blockquote';
|
|
8720
8407
|
this.children = [];
|
|
8721
8408
|
const { autoMatchFormat = true } = options !== null && options !== void 0 ? options : {};
|
|
@@ -8776,7 +8463,7 @@ class RTEBlockquoteBlock extends codeBlock.RTEBlock {
|
|
|
8776
8463
|
return Object.assign(Object.assign({}, super.toJSON()), { id: this.id, type: 'blockquote', children: this.children.map((child) => child.toJSON()) });
|
|
8777
8464
|
}
|
|
8778
8465
|
}
|
|
8779
|
-
RTEBlockquoteBlock.
|
|
8466
|
+
RTEBlockquoteBlock.typeName = 'RTEBlockquoteBlock';
|
|
8780
8467
|
|
|
8781
8468
|
/**
|
|
8782
8469
|
* Wrap the selected blocks into a new `<blockquote>` block while preserving
|
|
@@ -8840,7 +8527,7 @@ class RemoveBlockquoteStrategy extends codeBlock.ActionHandleStrategy {
|
|
|
8840
8527
|
* the quote) moves that empty paragraph out to a new paragraph after the blockquote,
|
|
8841
8528
|
* instead of stacking another empty line inside the quote.
|
|
8842
8529
|
*/
|
|
8843
|
-
class BlockquoteExitOnEnterInterceptor extends ActionHandlerInterceptor {
|
|
8530
|
+
class BlockquoteExitOnEnterInterceptor extends imageExtension.ActionHandlerInterceptor {
|
|
8844
8531
|
/**
|
|
8845
8532
|
* Intercept only when the caret sits in an empty paragraph that is the last child of a blockquote.
|
|
8846
8533
|
*
|
|
@@ -8994,6 +8681,7 @@ class RTEBlockquoteBlockRenderer extends linkExtension.VegaRTEExtensionRenderer
|
|
|
8994
8681
|
return BlockquoteAnnotation.getDefaultCssText();
|
|
8995
8682
|
}
|
|
8996
8683
|
}
|
|
8684
|
+
RTEBlockquoteBlockRenderer.typeName = 'RTEBlockquoteBlockRenderer';
|
|
8997
8685
|
const RTEBlockquoteBlockRenderer$1 = new RTEBlockquoteBlockRenderer();
|
|
8998
8686
|
|
|
8999
8687
|
// FontAwesome 7.2.0 — `quote-left` (solid).
|
|
@@ -9017,7 +8705,7 @@ const QuoteLeftIcon = {
|
|
|
9017
8705
|
* selection so it can append a new blockquote.
|
|
9018
8706
|
* - Hidden in source-edit mode (inherited from {@link VegaRTEToolbarButtonRenderer}).
|
|
9019
8707
|
*/
|
|
9020
|
-
class RTEBlockquoteToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
8708
|
+
class RTEBlockquoteToolbarButtonRenderer extends imageExtension.VegaRTEToolbarButtonRenderer {
|
|
9021
8709
|
/**
|
|
9022
8710
|
* @inheritDoc
|
|
9023
8711
|
*/
|
|
@@ -9275,7 +8963,7 @@ class BlockquoteFilterStylesStrategy extends codeBlock.RTEFilterStylesStrategy {
|
|
|
9275
8963
|
* @inheritDoc
|
|
9276
8964
|
*/
|
|
9277
8965
|
canFilter(blockOrNodeInstance) {
|
|
9278
|
-
return BlockquoteFilterStylesStrategy.isBlockquoteBlock(blockOrNodeInstance.
|
|
8966
|
+
return BlockquoteFilterStylesStrategy.isBlockquoteBlock(blockOrNodeInstance.typeName);
|
|
9279
8967
|
}
|
|
9280
8968
|
/**
|
|
9281
8969
|
* @inheritDoc
|
|
@@ -9298,28 +8986,28 @@ class VegaRTEBlockquoteExtension extends linkExtension.VegaRTEExtension {
|
|
|
9298
8986
|
constructor() {
|
|
9299
8987
|
super();
|
|
9300
8988
|
this.toolbarButtonRenderer = new RTEBlockquoteToolbarButtonRenderer();
|
|
9301
|
-
this.registerBlockBasicStrategies(RTEBlockquoteBlock.
|
|
8989
|
+
this.registerBlockBasicStrategies(RTEBlockquoteBlock.typeName);
|
|
9302
8990
|
this.registerNode('blockquote', RTEBlockquoteBlock);
|
|
9303
8991
|
this.registerRenderer('blockquote', RTEBlockquoteBlockRenderer$1);
|
|
9304
8992
|
this.registerToolbarButtonRenderer(VegaRTEBlockquoteExtension.TOOLBAR_BUTTON_KEY, this.toolbarButtonRenderer);
|
|
9305
8993
|
this.registerElementToBlockDTOClassStrategy(new BlockquoteToBlockquoteBlockStrategy());
|
|
9306
8994
|
// Register filter styles strategy for source edit round-trip.
|
|
9307
|
-
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(RTEBlockquoteBlock.
|
|
8995
|
+
linkExtension.VegaRTEExtension.registerFilterStylesStrategy(RTEBlockquoteBlock.typeName, new BlockquoteFilterStylesStrategy());
|
|
9308
8996
|
}
|
|
9309
8997
|
}
|
|
9310
8998
|
(() => {
|
|
9311
8999
|
const wrapStrategy = new BlockTransformToBlockquoteStrategy();
|
|
9312
9000
|
// Root container — wrap top-level blocks.
|
|
9313
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.VegaRTEContent.
|
|
9001
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.VegaRTEContent.typeName, TRANSFORM_TO_BLOCKQUOTE, wrapStrategy);
|
|
9314
9002
|
// Table cells (body + header) — wrap is scoped to the closest cell.
|
|
9315
9003
|
// Other container blocks (code, list item, function) are intentionally
|
|
9316
9004
|
// not registered, so the toolbar stays disabled inside them.
|
|
9317
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableCellBlock.
|
|
9318
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableHeadCellBlock.
|
|
9319
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(RTEBlockquoteBlock.
|
|
9005
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableCellBlock.typeName, TRANSFORM_TO_BLOCKQUOTE, wrapStrategy);
|
|
9006
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(splitCellOperation.RTETableHeadCellBlock.typeName, TRANSFORM_TO_BLOCKQUOTE, wrapStrategy);
|
|
9007
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(RTEBlockquoteBlock.typeName, REMOVE_BLOCKQUOTE, new RemoveBlockquoteStrategy());
|
|
9320
9008
|
// Enables exiting the blockquote via the keyboard: pressing Enter on an empty
|
|
9321
9009
|
// trailing paragraph breaks out to a new paragraph after the blockquote.
|
|
9322
|
-
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(codeBlock.RTETextBlock.
|
|
9010
|
+
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(codeBlock.RTETextBlock.typeName, codeBlock.ModifyContentActionType.INSERT_NEW_PARAGRAPH, new BlockquoteExitOnEnterInterceptor());
|
|
9323
9011
|
})();
|
|
9324
9012
|
VegaRTEBlockquoteExtension.TOOLBAR_BUTTON_KEY = 'blockquote';
|
|
9325
9013
|
|
|
@@ -9637,7 +9325,7 @@ const specialCharactersIcon = {
|
|
|
9637
9325
|
* Renders a toolbar button with an Ω icon that opens a popover panel
|
|
9638
9326
|
* with categorized character grids.
|
|
9639
9327
|
*/
|
|
9640
|
-
class RTESpecialCharactersToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
9328
|
+
class RTESpecialCharactersToolbarButtonRenderer extends imageExtension.VegaRTEToolbarButtonRenderer {
|
|
9641
9329
|
constructor(categories) {
|
|
9642
9330
|
super();
|
|
9643
9331
|
this.panelRef = null;
|
|
@@ -10858,7 +10546,7 @@ class ReplaceController extends FindReplaceControllerAbstract {
|
|
|
10858
10546
|
* Both controllers share a single {@link FindReplaceControllerContext} so they
|
|
10859
10547
|
* operate on the same search state and highlight overlays.
|
|
10860
10548
|
*/
|
|
10861
|
-
class FindReplaceToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
10549
|
+
class FindReplaceToolbarButtonRenderer extends imageExtension.VegaRTEToolbarButtonRenderer {
|
|
10862
10550
|
constructor() {
|
|
10863
10551
|
super(...arguments);
|
|
10864
10552
|
this.sharedContext = createFindReplaceControllerContext();
|
|
@@ -11202,6 +10890,7 @@ class LineHeightAnnotationAction extends codeBlock.AnnotationAction {
|
|
|
11202
10890
|
return new LineHeightAnnotation(this.lineHeight);
|
|
11203
10891
|
}
|
|
11204
10892
|
}
|
|
10893
|
+
LineHeightAnnotationAction.typeName = 'LineHeightAnnotationAction';
|
|
11205
10894
|
|
|
11206
10895
|
/**
|
|
11207
10896
|
* Update the block line height strategy.
|
|
@@ -11228,7 +10917,7 @@ const lineHeight = {
|
|
|
11228
10917
|
/**
|
|
11229
10918
|
* Renderer for the line-height toolbar button in the Vega Rich Text Editor.
|
|
11230
10919
|
*/
|
|
11231
|
-
class RTELineHeightToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
10920
|
+
class RTELineHeightToolbarButtonRenderer extends imageExtension.VegaRTEToolbarButtonRenderer {
|
|
11232
10921
|
constructor(options) {
|
|
11233
10922
|
super();
|
|
11234
10923
|
this.options = options;
|
|
@@ -11298,7 +10987,7 @@ class RTELineHeightToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
|
11298
10987
|
const selectedBlocks = this.getSelectedBlocks(editorContext);
|
|
11299
10988
|
return selectedBlocks.some((block) => block instanceof codeBlock.RTECodeBlock ||
|
|
11300
10989
|
block instanceof contentState.RTEImageBlock ||
|
|
11301
|
-
!codeBlock.ActionHandleStrategyRegistry.canHandle(LineHeightAnnotationAction.
|
|
10990
|
+
!codeBlock.ActionHandleStrategyRegistry.canHandle(LineHeightAnnotationAction.typeName, block));
|
|
11302
10991
|
}
|
|
11303
10992
|
/**
|
|
11304
10993
|
* @inheritDoc
|
|
@@ -11363,8 +11052,8 @@ class RTELineHeightToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
|
11363
11052
|
})();
|
|
11364
11053
|
|
|
11365
11054
|
const LINE_HEIGHT_AWARE_BLOCK_NAMES = new Set([
|
|
11366
|
-
codeBlock.RTETextBlock.
|
|
11367
|
-
codeBlock.RTEListItemBlock.
|
|
11055
|
+
codeBlock.RTETextBlock.typeName,
|
|
11056
|
+
codeBlock.RTEListItemBlock.typeName,
|
|
11368
11057
|
]);
|
|
11369
11058
|
/** Handle line height annotation. */
|
|
11370
11059
|
class LineHeightAnnotationHandler extends contentState.AnnotationGeneratorStrategyAbstract {
|
|
@@ -11379,7 +11068,7 @@ class LineHeightAnnotationHandler extends contentState.AnnotationGeneratorStrate
|
|
|
11379
11068
|
* @returns {boolean} Whether the target DTO supports line-height annotations.
|
|
11380
11069
|
*/
|
|
11381
11070
|
canHandle(targetDto) {
|
|
11382
|
-
return LINE_HEIGHT_AWARE_BLOCK_NAMES.has(targetDto.
|
|
11071
|
+
return LINE_HEIGHT_AWARE_BLOCK_NAMES.has(targetDto.typeName);
|
|
11383
11072
|
}
|
|
11384
11073
|
/**
|
|
11385
11074
|
* Extract inline `line-height` as a semantic `lineHeight` annotation.
|
|
@@ -11531,8 +11220,8 @@ class VegaRTELineHeightExtension extends linkExtension.VegaRTEExtension {
|
|
|
11531
11220
|
}
|
|
11532
11221
|
(() => {
|
|
11533
11222
|
[codeBlock.RTETextBlock, codeBlock.RTEListItemBlock].forEach((BlockClass) => {
|
|
11534
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(BlockClass.
|
|
11535
|
-
codeBlock.RTEFilterStylesStrategyRegistry.register(BlockClass.
|
|
11223
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(BlockClass.typeName, LineHeightAnnotationAction.typeName, new BlockUpdateLineHeightStrategy());
|
|
11224
|
+
codeBlock.RTEFilterStylesStrategyRegistry.register(BlockClass.typeName, new LineHeightFilterStylesStrategy());
|
|
11536
11225
|
attachLineHeightFromJson(BlockClass);
|
|
11537
11226
|
});
|
|
11538
11227
|
})();
|
|
@@ -11549,7 +11238,7 @@ const fullscreenExit = {
|
|
|
11549
11238
|
/**
|
|
11550
11239
|
* Toolbar button renderer for fullscreen toggle.
|
|
11551
11240
|
*/
|
|
11552
|
-
class RTEFullscreenToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
11241
|
+
class RTEFullscreenToolbarButtonRenderer extends imageExtension.VegaRTEToolbarButtonRenderer {
|
|
11553
11242
|
constructor(controller) {
|
|
11554
11243
|
super();
|
|
11555
11244
|
this.controller = controller;
|
|
@@ -15025,7 +14714,7 @@ class VegaRTEPasteExtension extends linkExtension.VegaRTEExtension {
|
|
|
15025
14714
|
}
|
|
15026
14715
|
}
|
|
15027
14716
|
(() => {
|
|
15028
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.RTEImageNode.
|
|
14717
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(contentState.RTEImageNode.typeName, REPLACE_IMAGE_SRC, new ImageReplaceSrcStrategy());
|
|
15029
14718
|
})();
|
|
15030
14719
|
|
|
15031
14720
|
/**
|
|
@@ -15053,7 +14742,7 @@ class CopySelectedContentAction extends codeBlock.ModifyContentAction {
|
|
|
15053
14742
|
* Toolbar button renderer for the Copy extension.
|
|
15054
14743
|
* Renders a toolbar button that copies the currently selected editor text to the clipboard.
|
|
15055
14744
|
*/
|
|
15056
|
-
class RTECopyToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
|
|
14745
|
+
class RTECopyToolbarButtonRenderer extends imageExtension.VegaRTEToolbarButtonRenderer {
|
|
15057
14746
|
/**
|
|
15058
14747
|
* Renders the copy toolbar button.
|
|
15059
14748
|
*
|
|
@@ -15338,7 +15027,7 @@ class VegaRTECopyExtension extends linkExtension.VegaRTEExtension {
|
|
|
15338
15027
|
}
|
|
15339
15028
|
}
|
|
15340
15029
|
(() => {
|
|
15341
|
-
codeBlock.ActionHandleStrategyRegistry.register('COPY_SELECTED_CONTENT_ACTION', contentState.VegaRTEContent.
|
|
15030
|
+
codeBlock.ActionHandleStrategyRegistry.register('COPY_SELECTED_CONTENT_ACTION', contentState.VegaRTEContent.typeName, new CopySelectedContentStrategy());
|
|
15342
15031
|
})();
|
|
15343
15032
|
// The unique key for the copy toolbar button, used for registration and retrieval.
|
|
15344
15033
|
VegaRTECopyExtension.TOOLBAR_BUTTON_KEY = 'copy';
|
|
@@ -15423,7 +15112,7 @@ VegaRTECutExtension.TOOLBAR_BUTTON_KEY = 'cut';
|
|
|
15423
15112
|
* Vetoes a commit that would push the character count past the hard limit, while
|
|
15424
15113
|
* still allowing deletions and formatting that keep or reduce the count.
|
|
15425
15114
|
*/
|
|
15426
|
-
class PreventHardLimitExceedInterceptor extends ActionHandlerInterceptor {
|
|
15115
|
+
class PreventHardLimitExceedInterceptor extends imageExtension.ActionHandlerInterceptor {
|
|
15427
15116
|
/**
|
|
15428
15117
|
* Intercept when the candidate exceeds the configured maximum. Hard-limit
|
|
15429
15118
|
* commits are vetoed only when they increase the count.
|
|
@@ -15540,23 +15229,9 @@ class VegaRTEWordCountExtension extends linkExtension.VegaRTEExtension {
|
|
|
15540
15229
|
}
|
|
15541
15230
|
(() => {
|
|
15542
15231
|
// Gate over-limit commits through the shared action-interceptor pipeline.
|
|
15543
|
-
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(contentState.VegaRTEContent.
|
|
15232
|
+
linkExtension.VegaRTEExtension.registerActionHandlerInterceptor(contentState.VegaRTEContent.typeName, contentState.COMMIT_VALUE, new PreventHardLimitExceedInterceptor());
|
|
15544
15233
|
})();
|
|
15545
15234
|
|
|
15546
|
-
/**
|
|
15547
|
-
* Insert a new children to the nearest position of the parent container
|
|
15548
|
-
*
|
|
15549
|
-
* @example parent.apply(new InsertNodeToNearestRoot(rteRange, nodeToBeInserted))
|
|
15550
|
-
*/
|
|
15551
|
-
class InsertNodeToNearestRootAction extends codeBlock.ModifyContentAction {
|
|
15552
|
-
constructor(rteRange, nodeToBeInserted) {
|
|
15553
|
-
super();
|
|
15554
|
-
this.type = codeBlock.ModifyContentActionType.INSERT_NODE_TO_NEAREST_ROOT;
|
|
15555
|
-
this.rteRange = rteRange;
|
|
15556
|
-
this.nodeToBeInserted = nodeToBeInserted;
|
|
15557
|
-
}
|
|
15558
|
-
}
|
|
15559
|
-
|
|
15560
15235
|
/**
|
|
15561
15236
|
* Strategy to handle the insertion of a token node into the nearest root block.
|
|
15562
15237
|
*/
|
|
@@ -15571,7 +15246,7 @@ class InsertTokenNodeStrategy extends codeBlock.ActionHandleStrategy {
|
|
|
15571
15246
|
const { key, label, customAttrs = { wrapped: 'true' } } = token;
|
|
15572
15247
|
const tokenNode = new RTETokenNode(misc.generateUUID(), key, label, block);
|
|
15573
15248
|
tokenNode.annotationMap.set('CUSTOM_ATTRIBUTE', new codeBlock.CustomAttributeAnnotation(customAttrs));
|
|
15574
|
-
block.apply(new InsertNodeToNearestRootAction(rteRange, tokenNode));
|
|
15249
|
+
block.apply(new imageExtension.InsertNodeToNearestRootAction(rteRange, tokenNode));
|
|
15575
15250
|
action.actionHandleResult = true;
|
|
15576
15251
|
}
|
|
15577
15252
|
}
|
|
@@ -15668,14 +15343,12 @@ class VegaRTETokenExtension extends linkExtension.VegaRTEExtension {
|
|
|
15668
15343
|
}
|
|
15669
15344
|
(() => {
|
|
15670
15345
|
const insertTokenNodeStrategy = new InsertTokenNodeStrategy();
|
|
15671
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.
|
|
15672
|
-
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTEListItemBlock.
|
|
15346
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.typeName, 'INSERT_TOKEN_NODE', insertTokenNodeStrategy);
|
|
15347
|
+
linkExtension.VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTEListItemBlock.typeName, 'INSERT_TOKEN_NODE', insertTokenNodeStrategy);
|
|
15673
15348
|
})();
|
|
15674
15349
|
VegaRTETokenExtension.TOOLBAR_BUTTON_KEY = 'token';
|
|
15675
15350
|
|
|
15676
|
-
exports.ActionHandlerInterceptor = ActionHandlerInterceptor;
|
|
15677
15351
|
exports.DeleteSelectedContentAction = DeleteSelectedContentAction;
|
|
15678
|
-
exports.InsertNodeToNearestRootAction = InsertNodeToNearestRootAction;
|
|
15679
15352
|
exports.RTEBlockquoteBlock = RTEBlockquoteBlock;
|
|
15680
15353
|
exports.RTELanguageToolbarButtonRenderer = RTELanguageToolbarButtonRenderer;
|
|
15681
15354
|
exports.RTETokenNode = RTETokenNode;
|
|
@@ -15705,7 +15378,6 @@ exports.VegaRTESpecialCharactersMathematical = VegaRTESpecialCharactersMathemati
|
|
|
15705
15378
|
exports.VegaRTESpecialCharactersText = VegaRTESpecialCharactersText;
|
|
15706
15379
|
exports.VegaRTETableExtension = VegaRTETableExtension;
|
|
15707
15380
|
exports.VegaRTETokenExtension = VegaRTETokenExtension;
|
|
15708
|
-
exports.VegaRTEToolbarButtonRenderer = VegaRTEToolbarButtonRenderer;
|
|
15709
15381
|
exports.VegaRTEWordCountExtension = VegaRTEWordCountExtension;
|
|
15710
15382
|
exports.VegaSkeletonLoader = VegaSkeletonLoader;
|
|
15711
15383
|
exports.VegaTranslation = VegaTranslation;
|