@heartlandone/vega 2.101.0 → 2.103.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.
Files changed (989) hide show
  1. package/dist/cjs/{app-globals-275ea7c7.js → app-globals-85986306.js} +13 -12
  2. package/dist/cjs/{child-nodes-event-prevent-slimmer-d720d7e9.js → child-nodes-event-prevent-slimmer-574a6a1a.js} +1 -1
  3. package/dist/cjs/{code-block-c598832d.js → code-block-72de6c4d.js} +270 -103
  4. package/dist/cjs/{component-usage-runtime-metrics-389d1548.js → component-usage-runtime-metrics-77f7be9f.js} +8 -5
  5. package/dist/cjs/{component-value-history-controller-slimmer.abstract-4bd47aa1.js → component-value-history-controller-slimmer.abstract-23d2b3d8.js} +3 -3
  6. package/dist/cjs/{content-state-da23e822.js → content-state-ff40bdc6.js} +125 -90
  7. package/dist/cjs/{date-required-rule-45c802d3.js → date-required-rule-608e704b.js} +1 -1
  8. package/dist/cjs/{design-token-9d762da0.js → design-token-a101a8d0.js} +3 -3
  9. package/dist/cjs/{create-public-api-runtime-metrics-slimmer-91b0cbfb.js → discriminated-3b8e72d5.js} +63 -1
  10. package/dist/cjs/{element-appender-slimmer-2aaf8e24.js → element-appender-slimmer-b93cc564.js} +2 -2
  11. package/dist/cjs/{event-emit-slimmer-67b5c186.js → event-emit-slimmer-6bc675f6.js} +1 -1
  12. package/dist/cjs/{form-field-controller-slimmer-ac9337f4.js → form-field-controller-slimmer-124d54ea.js} +1 -1
  13. package/dist/cjs/{icon-manager-be358b32.js → icon-manager-7d20b0ab.js} +6 -4
  14. package/dist/cjs/{image-annotation-action-378838c2.js → image-annotation-action-1ee41bc7.js} +6 -5
  15. package/dist/cjs/image-extension-6a92c524.js +1451 -0
  16. package/dist/cjs/index-58ea899e.js +4 -0
  17. package/dist/cjs/index.cjs.js +29 -27
  18. package/dist/cjs/{inject-keyboard-manager-540f0876.js → inject-keyboard-manager-32d7dd0e.js} +1 -1
  19. package/dist/cjs/{internal-calendar-period-factory-b11918ee.js → internal-calendar-period-factory-c3198ea7.js} +1 -1
  20. package/dist/cjs/{internal-icon-manager-40bcac72.js → internal-icon-manager-b9702049.js} +1 -1
  21. package/dist/cjs/{internal-translation-controller-27bfc8c7.js → internal-translation-controller-0d67ca4d.js} +12 -0
  22. package/dist/cjs/{internal-vega-event-manager-976b9526.js → internal-vega-event-manager-0c256d63.js} +2 -1
  23. package/dist/cjs/{keyboard-manager-16e96b62.js → keyboard-manager-332eec89.js} +1 -1
  24. package/dist/cjs/{keyboard-manager-slimmer-0a4e556d.js → keyboard-manager-slimmer-a2872981.js} +1 -1
  25. package/dist/cjs/{link-extension-f493e432.js → link-extension-1b4ed437.js} +9 -8
  26. package/dist/cjs/loader.cjs.js +20 -19
  27. package/dist/cjs/{month-view-generator-0a3e04de.js → month-view-generator-b6a2b8be.js} +1 -1
  28. package/dist/cjs/{public-rules-bae12c47.js → public-rules-2066613c.js} +9 -7
  29. package/dist/cjs/{range-9f42fb40.js → range-712fe703.js} +1 -1
  30. package/dist/cjs/{responsive-format-facade-c6d7f0a1.js → responsive-format-facade-44d33457.js} +1 -1
  31. package/dist/cjs/{rich-text-editor-required-rule-bb232741.js → rich-text-editor-required-rule-1aa75d22.js} +1 -1
  32. package/dist/cjs/{split-cell-operation-0d33123e.js → split-cell-operation-afc82323.js} +16 -20
  33. package/dist/cjs/{state-border-formatter-dda9109a.js → state-border-formatter-49984fd6.js} +1 -1
  34. package/dist/cjs/{string-format-strategy.abstract-3a968a59.js → string-format-strategy.abstract-bd563c01.js} +1 -1
  35. package/dist/cjs/{string-input-formatter-slimmer-2e0a838e.js → string-input-formatter-slimmer-4faebac9.js} +1 -1
  36. package/dist/cjs/{string-mask-strategy-d9f85c21.js → string-mask-strategy-624c4398.js} +2 -2
  37. package/dist/cjs/{style-formatter-d21a9784.js → style-formatter-151d89a3.js} +2 -2
  38. package/dist/cjs/{time-required-rule-580cbd3d.js → time-required-rule-8cd8f9b9.js} +1 -1
  39. package/dist/cjs/{token-extension-4badb962.js → token-extension-72d0cb08.js} +1196 -1280
  40. package/dist/cjs/{translation-slimmer-31cd5a57.js → translation-slimmer-1771d01f.js} +1 -1
  41. package/dist/cjs/{type-guard-00b8efc0.js → type-guard-cce6fe1f.js} +1 -1
  42. package/dist/cjs/{valid-credit-card-number-rule-70885128.js → valid-credit-card-number-rule-b13c2fc4.js} +1 -1
  43. package/dist/cjs/vega-accordion.cjs.entry.js +14 -14
  44. package/dist/cjs/vega-app-footer.cjs.entry.js +5 -5
  45. package/dist/cjs/vega-app-header-button.cjs.entry.js +14 -14
  46. package/dist/cjs/vega-backdrop.cjs.entry.js +2 -2
  47. package/dist/cjs/vega-banner.cjs.entry.js +8 -8
  48. package/dist/cjs/vega-bar-chart.cjs.entry.js +2 -2
  49. package/dist/cjs/vega-box.cjs.entry.js +8 -8
  50. package/dist/cjs/vega-brand-logo.cjs.entry.js +5 -5
  51. package/dist/cjs/vega-breadcrumb.cjs.entry.js +6 -6
  52. package/dist/cjs/vega-button-circle.cjs.entry.js +11 -11
  53. package/dist/cjs/vega-button-group_2.cjs.entry.js +7 -7
  54. package/dist/cjs/vega-button-link.cjs.entry.js +6 -6
  55. package/dist/cjs/vega-button.cjs.entry.js +9 -9
  56. package/dist/cjs/vega-calendar_5.cjs.entry.js +73 -32
  57. package/dist/cjs/vega-card.cjs.entry.js +7 -7
  58. package/dist/cjs/vega-carousel.cjs.entry.js +8 -8
  59. package/dist/cjs/vega-checkbox_2.cjs.entry.js +9 -9
  60. package/dist/cjs/vega-chip.cjs.entry.js +11 -11
  61. package/dist/cjs/vega-code-block.cjs.entry.js +17 -17
  62. package/dist/cjs/vega-color-picker.cjs.entry.js +7 -7
  63. package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +12 -12
  64. package/dist/cjs/vega-color-swatch.cjs.entry.js +7 -7
  65. package/dist/cjs/vega-combo-box.cjs.entry.js +14 -14
  66. package/dist/cjs/vega-counter-badge.cjs.entry.js +2 -2
  67. package/dist/cjs/vega-date-picker_2.cjs.entry.js +23 -23
  68. package/dist/cjs/{vega-dialog-controller-16be85d5.js → vega-dialog-controller-efc46dba.js} +6 -4
  69. package/dist/cjs/vega-dialog_2.cjs.entry.js +10 -10
  70. package/dist/cjs/vega-divider.cjs.entry.js +7 -7
  71. package/dist/cjs/vega-dropdown_5.cjs.entry.js +17 -17
  72. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  73. package/dist/cjs/{vega-event-id-987a170c.js → vega-event-id-b5abf7c9.js} +2 -0
  74. package/dist/cjs/vega-field-error.cjs.entry.js +2 -2
  75. package/dist/cjs/vega-field-label.cjs.entry.js +7 -7
  76. package/dist/cjs/vega-file-uploader.cjs.entry.js +11 -11
  77. package/dist/cjs/vega-flag-icon.cjs.entry.js +10 -10
  78. package/dist/cjs/vega-flex.cjs.entry.js +8 -8
  79. package/dist/cjs/vega-font.cjs.entry.js +7 -7
  80. package/dist/cjs/vega-form.cjs.entry.js +8 -8
  81. package/dist/cjs/vega-grid.cjs.entry.js +7 -7
  82. package/dist/cjs/vega-hint.cjs.entry.js +2 -2
  83. package/dist/cjs/vega-icon.cjs.entry.js +9 -9
  84. package/dist/cjs/vega-image-uploader.cjs.entry.js +13 -13
  85. package/dist/cjs/vega-input-credit-card.cjs.entry.js +15 -15
  86. package/dist/cjs/vega-input-numeric.cjs.entry.js +18 -20
  87. package/dist/cjs/vega-input-passcode.cjs.entry.js +11 -11
  88. package/dist/cjs/vega-input-phone-number.cjs.entry.js +10 -10
  89. package/dist/cjs/vega-input-range.cjs.entry.js +9 -9
  90. package/dist/cjs/vega-input-select.cjs.entry.js +14 -14
  91. package/dist/cjs/vega-input.cjs.entry.js +39 -35
  92. package/dist/cjs/vega-item-toggle.cjs.entry.js +5 -5
  93. package/dist/cjs/vega-left-nav_5.cjs.entry.js +19 -19
  94. package/dist/cjs/vega-line-chart.cjs.entry.js +2 -2
  95. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +6 -6
  96. package/dist/cjs/vega-page-notification_2.cjs.entry.js +4 -4
  97. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +5 -5
  98. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +5 -5
  99. package/dist/cjs/vega-pagination.cjs.entry.js +10 -10
  100. package/dist/cjs/vega-pie-chart.cjs.entry.js +2 -2
  101. package/dist/cjs/vega-popover_2.cjs.entry.js +14 -14
  102. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +9 -9
  103. package/dist/cjs/vega-radio_2.cjs.entry.js +12 -12
  104. package/dist/cjs/vega-rich-text-bookmark-editor.cjs.entry.js +445 -0
  105. package/dist/cjs/vega-rich-text-content.cjs.entry.js +49 -17
  106. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +699 -244
  107. package/dist/cjs/vega-rich-text-find-replace-panel.cjs.entry.js +9 -9
  108. package/dist/cjs/vega-rich-text-special-characters-panel.cjs.entry.js +10 -10
  109. package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +18 -18
  110. package/dist/cjs/vega-section-title.cjs.entry.js +2 -2
  111. package/dist/cjs/vega-segment-control.cjs.entry.js +5 -5
  112. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +11 -11
  113. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +9 -9
  114. package/dist/cjs/vega-sidenav_3.cjs.entry.js +13 -13
  115. package/dist/cjs/vega-signature-capture.cjs.entry.js +15 -15
  116. package/dist/cjs/vega-skeleton.cjs.entry.js +2 -2
  117. package/dist/cjs/vega-slot-container.cjs.entry.js +2 -2
  118. package/dist/cjs/vega-stepper.cjs.entry.js +8 -8
  119. package/dist/cjs/vega-tab-group_2.cjs.entry.js +398 -108
  120. package/dist/cjs/vega-table_11.cjs.entry.js +23 -23
  121. package/dist/cjs/vega-text.cjs.entry.js +2 -2
  122. package/dist/cjs/vega-textarea.cjs.entry.js +8 -8
  123. package/dist/cjs/vega-time-picker_2.cjs.entry.js +16 -16
  124. package/dist/cjs/vega-toggle-switch.cjs.entry.js +7 -7
  125. package/dist/cjs/vega-tooltip_2.cjs.entry.js +9 -9
  126. package/dist/cjs/vega.cjs.js +20 -19
  127. package/dist/collection/collection-manifest.json +6 -0
  128. package/dist/collection/components/vega-accordion/vega-accordion.js +1 -1
  129. package/dist/collection/components/vega-app-footer/vega-app-footer.js +1 -1
  130. package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +1 -1
  131. package/dist/collection/components/vega-backdrop/vega-backdrop.js +1 -1
  132. package/dist/collection/components/vega-banner/vega-banner.js +1 -1
  133. package/dist/collection/components/vega-box/vega-box.js +1 -1
  134. package/dist/collection/components/vega-brand-logo/vega-brand-logo.js +1 -1
  135. package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +1 -1
  136. package/dist/collection/components/vega-button/vega-button.js +1 -1
  137. package/dist/collection/components/vega-button-circle/vega-button-circle.js +1 -1
  138. package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +1 -1
  139. package/dist/collection/components/vega-button-group/vega-button-group.js +1 -1
  140. package/dist/collection/components/vega-button-link/vega-button-link.js +1 -1
  141. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-preview-actions-controller.js +33 -11
  142. package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +1 -1
  143. package/dist/collection/components/vega-calendar/vega-calendar-event-preview/assets/delete.js +3 -0
  144. package/dist/collection/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.js +5 -1
  145. package/dist/collection/components/vega-calendar/vega-calendar-event-preview/vega-calendar-event-preview.js +1 -1
  146. package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.js +1 -1
  147. package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/vega-calendar-period-switcher.js +1 -1
  148. package/dist/collection/components/vega-calendar/vega-calendar.js +82 -2
  149. package/dist/collection/components/vega-card/vega-card.js +1 -1
  150. package/dist/collection/components/vega-carousel/vega-carousel.js +1 -1
  151. package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.js +1 -1
  152. package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.js +1 -1
  153. package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.js +1 -1
  154. package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +1 -1
  155. package/dist/collection/components/vega-checkbox/vega-checkbox.js +1 -1
  156. package/dist/collection/components/vega-chip/vega-chip.js +1 -1
  157. package/dist/collection/components/vega-code-block/vega-code-block.js +1 -1
  158. package/dist/collection/components/vega-color-picker/vega-color-picker.js +1 -1
  159. package/dist/collection/components/vega-color-swatch/vega-color-swatch-picker/vega-color-swatch-picker.js +1 -1
  160. package/dist/collection/components/vega-color-swatch/vega-color-swatch.js +1 -1
  161. package/dist/collection/components/vega-combo-box/vega-combo-box.js +1 -1
  162. package/dist/collection/components/vega-counter-badge/vega-counter-badge.js +1 -1
  163. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +1 -1
  164. package/dist/collection/components/vega-date-picker/vega-date-picker.js +1 -1
  165. package/dist/collection/components/vega-dialog/vega-dialog.js +1 -1
  166. package/dist/collection/components/vega-divider/vega-divider.js +1 -1
  167. package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.js +1 -1
  168. package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.js +1 -1
  169. package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.js +1 -1
  170. package/dist/collection/components/vega-dropdown/vega-dropdown.js +1 -1
  171. package/dist/collection/components/vega-field-error/vega-field-error.js +1 -1
  172. package/dist/collection/components/vega-field-label/vega-field-label.js +1 -1
  173. package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +1 -1
  174. package/dist/collection/components/vega-flag-icon/vega-flag-icon.js +1 -1
  175. package/dist/collection/components/vega-flex/vega-flex.js +1 -1
  176. package/dist/collection/components/vega-font/vega-font.js +1 -1
  177. package/dist/collection/components/vega-form/vega-form.js +1 -1
  178. package/dist/collection/components/vega-grid/vega-grid.js +1 -1
  179. package/dist/collection/components/vega-hint/vega-hint.js +1 -1
  180. package/dist/collection/components/vega-icon/vega-icon.js +1 -1
  181. package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +1 -1
  182. package/dist/collection/components/vega-input/slimmers/controllers/vega-input-state-controller.js +0 -14
  183. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-container-renderer.js +11 -2
  184. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-renderer.js +11 -1
  185. package/dist/collection/components/vega-input/vega-input.js +53 -9
  186. package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +1 -1
  187. package/dist/collection/components/vega-input-numeric/slimmers/renderers/vega-input-numeric-renderer.js +7 -1
  188. package/dist/collection/components/vega-input-numeric/vega-input-numeric.js +1 -9
  189. package/dist/collection/components/vega-input-passcode/vega-input-passcode.js +1 -1
  190. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +1 -1
  191. package/dist/collection/components/vega-input-range/vega-input-range.js +1 -1
  192. package/dist/collection/components/vega-input-select/vega-input-select.js +1 -1
  193. package/dist/collection/components/vega-item-toggle/vega-item-toggle.js +1 -1
  194. package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.js +1 -1
  195. package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.js +1 -1
  196. package/dist/collection/components/vega-modal/vega-modal.js +1 -1
  197. package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +1 -1
  198. package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.js +1 -1
  199. package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.js +1 -1
  200. package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.js +1 -1
  201. package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.js +1 -1
  202. package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.js +1 -1
  203. package/dist/collection/components/vega-page-notification/vega-page-notification.js +1 -1
  204. package/dist/collection/components/vega-pagination/vega-pagination-page-selector-mobile/vega-pagination-page-selector-mobile.js +1 -1
  205. package/dist/collection/components/vega-pagination/vega-pagination-page-size-selector-mobile/vega-pagination-page-size-selector-mobile.js +1 -1
  206. package/dist/collection/components/vega-pagination/vega-pagination.js +1 -1
  207. package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +1 -1
  208. package/dist/collection/components/vega-popover/vega-popover.js +1 -1
  209. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker-step/vega-progress-tracker-step.js +1 -1
  210. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +1 -1
  211. package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +1 -1
  212. package/dist/collection/components/vega-radio/vega-radio.js +1 -1
  213. package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.js +1 -1
  214. package/dist/collection/components/vega-rich-text-editor/constants/constant.js +4 -0
  215. package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/action-handle-interceptor-registry.js +2 -2
  216. package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/action-handle-strategy-registry.js +4 -4
  217. package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/action-handle-strategy.abstract.js +4 -2
  218. package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-delete-node-content-strategy.js +1 -1
  219. package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-transform-selection.js +3 -3
  220. package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-transform-to-paragraph-strategy.js +2 -2
  221. package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/paste-content-strategy.js +1 -1
  222. package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/sequential-composition-strategy.js +31 -0
  223. package/dist/collection/components/vega-rich-text-editor/dto/actions/annotation-action.abstract.js +3 -1
  224. package/dist/collection/components/vega-rich-text-editor/dto/actions/bold-annotation-action.js +1 -0
  225. package/dist/collection/components/vega-rich-text-editor/dto/actions/clear-formatting-annotation-action.js +1 -0
  226. package/dist/collection/components/vega-rich-text-editor/dto/actions/code-annotation-action.js +1 -0
  227. package/dist/collection/components/vega-rich-text-editor/dto/actions/custom-style-annotation-action.js +1 -0
  228. package/dist/collection/components/vega-rich-text-editor/dto/actions/delete-node-annotation-action.js +1 -0
  229. package/dist/collection/components/vega-rich-text-editor/dto/actions/horizontal-alignment-annotation-action.js +1 -0
  230. package/dist/collection/components/vega-rich-text-editor/dto/actions/image-annotation-action.js +1 -0
  231. package/dist/collection/components/vega-rich-text-editor/dto/actions/indent-annotation-action.js +1 -0
  232. package/dist/collection/components/vega-rich-text-editor/dto/actions/italic-annotation-action.js +1 -0
  233. package/dist/collection/components/vega-rich-text-editor/dto/actions/link-annotation-action.js +1 -0
  234. package/dist/collection/components/vega-rich-text-editor/dto/actions/link-group-annotation-action.js +1 -0
  235. package/dist/collection/components/vega-rich-text-editor/dto/actions/modify-content-action.abstract.js +1 -0
  236. package/dist/collection/components/vega-rich-text-editor/dto/actions/selection-change-action.js +1 -0
  237. package/dist/collection/components/vega-rich-text-editor/dto/actions/sequential-composition-action.js +14 -0
  238. package/dist/collection/components/vega-rich-text-editor/dto/actions/splittable-action.abstract.js +1 -0
  239. package/dist/collection/components/vega-rich-text-editor/dto/actions/strikethrough-annotation-action.js +1 -0
  240. package/dist/collection/components/vega-rich-text-editor/dto/actions/sync-up-selection-action.js +1 -0
  241. package/dist/collection/components/vega-rich-text-editor/dto/actions/text-color-annotation-action.js +1 -0
  242. package/dist/collection/components/vega-rich-text-editor/dto/actions/text-style-annotation-action.js +1 -0
  243. package/dist/collection/components/vega-rich-text-editor/dto/actions/underline-annotation-action.js +1 -0
  244. package/dist/collection/components/vega-rich-text-editor/dto/annotations/annotation.abstract.js +8 -0
  245. package/dist/collection/components/vega-rich-text-editor/dto/annotations/bold-annotation.js +6 -0
  246. package/dist/collection/components/vega-rich-text-editor/dto/annotations/code-annotation.js +6 -0
  247. package/dist/collection/components/vega-rich-text-editor/dto/annotations/italic-annotation.js +6 -0
  248. package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-group-annotation.js +3 -1
  249. package/dist/collection/components/vega-rich-text-editor/dto/annotations/plain-text-annotation.js +6 -0
  250. package/dist/collection/components/vega-rich-text-editor/dto/annotations/selection-range-annotation.js +6 -0
  251. package/dist/collection/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.js +6 -0
  252. package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-color-annotation.js +6 -0
  253. package/dist/collection/components/vega-rich-text-editor/dto/annotations/underline-annotation.js +6 -0
  254. package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +6 -8
  255. package/dist/collection/components/vega-rich-text-editor/dto/blocks/code-block.js +6 -6
  256. package/dist/collection/components/vega-rich-text-editor/dto/blocks/html-block.js +1 -2
  257. package/dist/collection/components/vega-rich-text-editor/dto/blocks/image-block.js +9 -9
  258. package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-block.js +7 -7
  259. package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-item-block.js +13 -12
  260. package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +16 -16
  261. package/dist/collection/components/vega-rich-text-editor/dto/content-state.js +18 -13
  262. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/code-block/code-block-filter-styles-strategy.js +1 -1
  263. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.js +2 -2
  264. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.js +1 -1
  265. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-heading-item-block-filter-styles-strategy.js +1 -1
  266. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.js +1 -1
  267. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-title-item-block-filter-styles-strategy.js +1 -1
  268. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/predicate.js +4 -4
  269. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/paragraph-filter-styles-strategy.js +1 -1
  270. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/title-heading-node-filter-styles-strategy.js +1 -1
  271. package/dist/collection/components/vega-rich-text-editor/dto/flush-changes-payload.js +1 -0
  272. package/dist/collection/components/vega-rich-text-editor/dto/nodes/code-block-node.js +4 -4
  273. package/dist/collection/components/vega-rich-text-editor/dto/nodes/decorator-node.js +1 -0
  274. package/dist/collection/components/vega-rich-text-editor/dto/nodes/image-node.js +8 -7
  275. package/dist/collection/components/vega-rich-text-editor/dto/nodes/node.abstract.js +5 -7
  276. package/dist/collection/components/vega-rich-text-editor/dto/nodes/text-node.js +30 -16
  277. package/dist/collection/components/vega-rich-text-editor/dto/renderers/base-renderer.js +3 -1
  278. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/block-renderer.abstract.js +1 -0
  279. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.js +1 -0
  280. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/code-block-renderer.js +1 -0
  281. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/html-block-renderer.js +1 -0
  282. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/image-block-renderer.js +1 -0
  283. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/link-wrapper-renderer.js +25 -5
  284. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/list-block-renderer.js +1 -0
  285. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/list-item-block-renderer.js +1 -0
  286. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.js +1 -0
  287. package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/code-block-node-renderer.js +1 -0
  288. package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/image-node-renderer.js +1 -0
  289. package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/node-renderer.abstract.js +1 -0
  290. package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.js +1 -0
  291. package/dist/collection/components/vega-rich-text-editor/dto/setup.js +34 -34
  292. package/dist/collection/components/vega-rich-text-editor/extensions/base-extension-renderer.js +1 -0
  293. package/dist/collection/components/vega-rich-text-editor/extensions/blockquote/blockquote-extension.js +7 -7
  294. package/dist/collection/components/vega-rich-text-editor/extensions/blockquote/dto/rte-blockquote-block.js +1 -2
  295. package/dist/collection/components/vega-rich-text-editor/extensions/blockquote/filter-styles-strategies/blockquote-block/blockquote-filter-styles-strategy.js +1 -1
  296. package/dist/collection/components/vega-rich-text-editor/extensions/blockquote/renderers/blockquote-block-renderer.js +1 -0
  297. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/action-handler-interceptors/delete-bookmark-before-text-interceptor.js +40 -0
  298. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/action-handler-strategies/insert-bookmark-node-strategy.js +20 -0
  299. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/action-handler-strategies/update-bookmark-name-strategy.js +12 -0
  300. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/actions/insert-bookmark-node-action.js +17 -0
  301. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/actions/update-bookmark-name-action.js +14 -0
  302. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/anchor-to-bookmark-node-strategy.js +79 -0
  303. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/assets/bookmark.js +5 -0
  304. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/bookmark-extension.js +52 -0
  305. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/bookmark-node.js +91 -0
  306. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/renderers/bookmark-node-renderer.js +316 -0
  307. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/renderers/bookmark-toolbar-button-renderer.js +137 -0
  308. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/utils.js +47 -0
  309. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/slimmers/controllers/bookmark-editor-controller.js +217 -0
  310. 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
  311. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/vega-rich-text-bookmark-editor.css +3 -0
  312. package/dist/collection/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/vega-rich-text-bookmark-editor.js +261 -0
  313. package/dist/collection/components/vega-rich-text-editor/extensions/copy/copy-extension.js +1 -1
  314. 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
  315. package/dist/collection/components/vega-rich-text-editor/extensions/functions/dto/function-block.js +31 -2
  316. package/dist/collection/components/vega-rich-text-editor/extensions/functions/dto/logic-control-block.js +1 -2
  317. package/dist/collection/components/vega-rich-text-editor/extensions/functions/dto/logic-control-node.js +1 -2
  318. package/dist/collection/components/vega-rich-text-editor/extensions/functions/element-to-dto-strategies/div-to-function-block-strategy.js +1 -0
  319. package/dist/collection/components/vega-rich-text-editor/extensions/functions/function-extension.js +15 -15
  320. package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/function-block-renderer.js +1 -0
  321. package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/logic-control-block-renderer.js +1 -0
  322. package/dist/collection/components/vega-rich-text-editor/extensions/horizontal-line/dto/horizontal-line-block.js +1 -2
  323. package/dist/collection/components/vega-rich-text-editor/extensions/horizontal-line/dto/horizontal-line-node.js +1 -0
  324. 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
  325. package/dist/collection/components/vega-rich-text-editor/extensions/horizontal-line/horizontal-line-extension.js +6 -6
  326. package/dist/collection/components/vega-rich-text-editor/extensions/horizontal-line/renderers/horizontal-line-block-renderer.js +1 -0
  327. package/dist/collection/components/vega-rich-text-editor/extensions/line-height/actions/line-height-annotation-action.js +1 -0
  328. package/dist/collection/components/vega-rich-text-editor/extensions/line-height/element-to-dto-strategies/line-height-annotation-handler.js +3 -3
  329. package/dist/collection/components/vega-rich-text-editor/extensions/line-height/line-height-extension.js +2 -2
  330. package/dist/collection/components/vega-rich-text-editor/extensions/line-height/line-height-toolbar-button-renderer.js +1 -1
  331. package/dist/collection/components/vega-rich-text-editor/extensions/paste/controllers/chooser-positioner.js +107 -0
  332. package/dist/collection/components/vega-rich-text-editor/extensions/paste/controllers/paste-chooser-controller.js +91 -0
  333. package/dist/collection/components/vega-rich-text-editor/extensions/paste/controllers/paste-event-interceptor.js +47 -0
  334. package/dist/collection/components/vega-rich-text-editor/extensions/paste/controllers/selection-snapshot-service.js +54 -0
  335. package/dist/collection/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/image-extractor.js +17 -0
  336. package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-chooser-ui.js +3 -1
  337. package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-extension.js +42 -355
  338. package/dist/collection/components/vega-rich-text-editor/extensions/paste/pipeline/data-transfer-builder.js +36 -0
  339. package/dist/collection/components/vega-rich-text-editor/extensions/paste/pipeline/paste-dispatcher.js +23 -0
  340. package/dist/collection/components/vega-rich-text-editor/extensions/paste/pipeline/paste-processing-pipeline.js +30 -0
  341. package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/paste-processing-strategy.abstract.js +34 -0
  342. package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/paste-strategy-selector.js +19 -0
  343. package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/plain-paste-strategy.js +74 -0
  344. package/dist/collection/components/vega-rich-text-editor/extensions/paste/type.js +1 -0
  345. 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
  346. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-annotations-action.js +1 -0
  347. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-cell-annotations-action.js +1 -0
  348. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-head-cell-annotations-action.js +1 -0
  349. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/update-table-properties-action.js +1 -0
  350. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-annotation-handler.js +1 -1
  351. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-cell-annotation-handler.js +1 -1
  352. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-head-cell-annotation-handler.js +1 -1
  353. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-block.js +1 -2
  354. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-body-block.js +1 -2
  355. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.js +4 -4
  356. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.js +1 -2
  357. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-block.js +1 -2
  358. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.js +1 -2
  359. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-row-block.js +1 -2
  360. package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-block/table-block-filter-styles-strategy.js +1 -1
  361. package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-caption/table-caption-filter-styles-strategy.js +1 -1
  362. package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-cell/table-cell-filter-styles-strategy.js +1 -1
  363. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-body-renderer.js +1 -0
  364. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-caption-renderer.js +1 -0
  365. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-cell-renderer.js +1 -0
  366. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-head-cell-renderer.js +1 -0
  367. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-head-renderer.js +1 -0
  368. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.js +1 -0
  369. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-row-renderer.js +1 -0
  370. package/dist/collection/components/vega-rich-text-editor/extensions/table/table-extension.js +38 -38
  371. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/vega-rich-text-table-properties.js +1 -1
  372. 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
  373. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/vega-rich-text-table-setting.js +1 -1
  374. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-extension.js +2 -2
  375. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.js +1 -0
  376. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node.js +1 -2
  377. package/dist/collection/components/vega-rich-text-editor/extensions/word-count/word-count-extension.js +1 -1
  378. package/dist/collection/components/vega-rich-text-editor/helpers/utils.js +67 -0
  379. package/dist/collection/components/vega-rich-text-editor/public-api.js +1 -0
  380. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/focus-controller.js +26 -4
  381. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/bold-annotaion-handler.js +1 -1
  382. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/code-annotation-handler.js +1 -1
  383. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/color-annotation-handler.js +1 -1
  384. 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
  385. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/image-alt-annotation-handler.js +1 -1
  386. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/image-size-annotation-handler.js +1 -1
  387. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/indent-annotation-handler.js +1 -1
  388. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/inline-html-annotation-handler.js +1 -1
  389. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/italic-annotation-handler.js +1 -1
  390. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/link-annotation-handler.js +1 -1
  391. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/strike-through-annotation-handler.js +1 -1
  392. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-align-annotation-handler.js +1 -1
  393. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-style-annotation-handler.js +1 -1
  394. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/underline-annotation-handler.js +1 -1
  395. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/abstract-delete-content-handler.js +67 -11
  396. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/backward-delete-content-handler.js +4 -17
  397. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/base-handler.js +34 -1
  398. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/forward-delete-content-handler.js +13 -32
  399. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-line-break-handler.js +60 -25
  400. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paragraph-handler.js +55 -19
  401. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.js +165 -59
  402. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-text-handler.js +55 -21
  403. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/state-entity-rendering-registry.js +1 -1
  404. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.js +2 -16
  405. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/value-controller.js +11 -1
  406. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/bold-toolbar-button-slimmer.js +1 -1
  407. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/clear-style-toolbar-button-slimmer.js +1 -1
  408. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/code-toolbar-button-slimmer.js +1 -1
  409. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/horizontal-alignment-toolbar-button-slimmer.js +1 -1
  410. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/italic-toolbar-button-slimmer.js +1 -1
  411. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/less-indent-toolbar-button-slimmer.js +1 -1
  412. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/link-toolbar-button-slimmer.js +1 -1
  413. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/more-indent-toolbar-button-slimmer.js +1 -1
  414. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.js +3 -0
  415. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/strikethrough-toolbar-button-slimmer.js +1 -1
  416. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/text-color-toolbar-button-slimmer.js +1 -1
  417. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/text-styles-toolbar-button-slimmer.js +1 -1
  418. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/underline-toolbar-button-slimmer.js +1 -1
  419. package/dist/collection/components/vega-rich-text-editor/utils/html-to-plain-text-utils.js +240 -0
  420. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/vega-rich-text-editor-toolbar-button.js +1 -1
  421. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +1 -1
  422. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-image-editor/vega-rich-text-image-editor.js +1 -1
  423. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-editor-controller.js +69 -5
  424. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-type-config-controller.js +45 -1
  425. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.js +61 -2
  426. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/vega-rich-text-link-editor.js +1 -1
  427. package/dist/collection/components/vega-section-title/vega-section-title.js +1 -1
  428. package/dist/collection/components/vega-segment-control/vega-segment-control.js +1 -1
  429. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.js +1 -1
  430. package/dist/collection/components/vega-selection-chip/vega-selection-chip.js +1 -1
  431. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.js +1 -1
  432. package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +1 -1
  433. package/dist/collection/components/vega-sidenav/vega-sidenav-group/vega-sidenav-group.js +1 -1
  434. package/dist/collection/components/vega-sidenav/vega-sidenav-link/vega-sidenav-link.js +1 -1
  435. package/dist/collection/components/vega-sidenav/vega-sidenav.js +1 -1
  436. package/dist/collection/components/vega-signature-capture/vega-signature-capture.js +1 -1
  437. package/dist/collection/components/vega-skeleton/vega-skeleton.js +1 -1
  438. package/dist/collection/components/vega-slot-container/vega-slot-container.js +1 -1
  439. package/dist/collection/components/vega-stepper/vega-stepper.js +1 -1
  440. package/dist/collection/components/vega-tab-group/helpers/vega-tab-group-width-layout-helper.js +91 -0
  441. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.js +90 -16
  442. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.js +16 -1
  443. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-constrained-tab-label-renderer.js +52 -0
  444. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +52 -10
  445. package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.js +1 -1
  446. package/dist/collection/components/vega-tab-group/vega-tab-group.css +51 -1
  447. package/dist/collection/components/vega-tab-group/vega-tab-group.js +46 -1
  448. package/dist/collection/components/vega-table/vega-table-body/vega-table-body.js +1 -1
  449. package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.js +1 -1
  450. package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.js +1 -1
  451. package/dist/collection/components/vega-table/vega-table-foot/vega-table-foot.js +1 -1
  452. package/dist/collection/components/vega-table/vega-table-foot-cell/vega-table-foot-cell.js +1 -1
  453. package/dist/collection/components/vega-table/vega-table-foot-row/vega-table-foot-row.js +1 -1
  454. package/dist/collection/components/vega-table/vega-table-head/vega-table-head.js +1 -1
  455. package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +1 -1
  456. package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.js +1 -1
  457. package/dist/collection/components/vega-table/vega-table-row/vega-table-row.js +1 -1
  458. package/dist/collection/components/vega-table/vega-table.js +1 -1
  459. package/dist/collection/components/vega-text/vega-text.js +1 -1
  460. package/dist/collection/components/vega-textarea/vega-textarea.js +1 -1
  461. package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.js +1 -1
  462. package/dist/collection/components/vega-time-picker/vega-time-picker.js +1 -1
  463. package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +1 -1
  464. package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.js +1 -1
  465. package/dist/collection/components/vega-tooltip/vega-tooltip.js +1 -1
  466. package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.js +1 -1
  467. package/dist/collection/constants/ui.js +1 -0
  468. package/dist/collection/global/scripts/before-vega-load.js +2 -0
  469. package/dist/collection/helpers/common/wait-for-vega-handler.js +5 -2
  470. package/dist/collection/helpers/dialog/vega-dialog-controller.js +5 -2
  471. package/dist/collection/helpers/discriminator/discriminated.js +77 -0
  472. package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +2 -1
  473. package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -0
  474. package/dist/collection/helpers/event-manager/vega-event-manager.js +5 -2
  475. package/dist/collection/helpers/icon/icon-manager.js +5 -2
  476. package/dist/collection/helpers/loading-indicator/vega-loader-controller.js +5 -2
  477. package/dist/collection/helpers/notify/vega-notify-controller.js +5 -2
  478. package/dist/collection/helpers/rte-manager/dto-action-strategy-manager.js +2 -2
  479. package/dist/collection/helpers/rte-manager/dto-renderer-manager.js +2 -4
  480. package/dist/collection/helpers/skeleton-loader/vega-skeleton-loader-controller.js +5 -2
  481. package/dist/collection/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.js +1 -1
  482. package/dist/collection/helpers/theme/theme-manager.js +5 -2
  483. package/dist/collection/helpers/translation/locales/en.js +12 -0
  484. package/dist/collection/helpers/translation/translation.js +5 -2
  485. package/dist/collection/helpers/zindex/vega-z-index-manager.js +5 -2
  486. package/dist/esm/{app-globals-ad3c7cea.js → app-globals-8cdfc5c9.js} +13 -12
  487. package/dist/esm/{child-nodes-event-prevent-slimmer-0ebcbf47.js → child-nodes-event-prevent-slimmer-3ae5c7db.js} +1 -1
  488. package/dist/esm/{code-block-1cdf7a51.js → code-block-9360c331.js} +262 -104
  489. package/dist/esm/{component-usage-runtime-metrics-4b1afd04.js → component-usage-runtime-metrics-adfc80c6.js} +8 -5
  490. package/dist/esm/{component-value-history-controller-slimmer.abstract-bdeeb43f.js → component-value-history-controller-slimmer.abstract-9ea58806.js} +3 -3
  491. package/dist/esm/{content-state-6eb610b8.js → content-state-67a12e74.js} +125 -90
  492. package/dist/esm/{date-required-rule-2ea3aec8.js → date-required-rule-66b5bf02.js} +1 -1
  493. package/dist/esm/{design-token-82a4e107.js → design-token-acd1efeb.js} +3 -3
  494. package/dist/esm/{create-public-api-runtime-metrics-slimmer-48f85199.js → discriminated-fe5bf3c8.js} +63 -2
  495. package/dist/esm/{element-appender-slimmer-dd4e2908.js → element-appender-slimmer-7e5bc1e9.js} +2 -2
  496. package/dist/esm/{event-emit-slimmer-12ee1593.js → event-emit-slimmer-aa7f4c6e.js} +1 -1
  497. package/dist/esm/{form-field-controller-slimmer-5c794b4d.js → form-field-controller-slimmer-d653c494.js} +1 -1
  498. package/dist/esm/{icon-manager-4ef3f6dd.js → icon-manager-236d6c23.js} +5 -3
  499. package/dist/esm/{image-annotation-action-cdd50dcc.js → image-annotation-action-9525be48.js} +6 -5
  500. package/dist/esm/image-extension-aea75132.js +1440 -0
  501. package/dist/esm/index-090d31ca.js +4 -0
  502. package/dist/esm/index.js +25 -24
  503. package/dist/esm/{inject-keyboard-manager-6a10c9b7.js → inject-keyboard-manager-f6522d2f.js} +1 -1
  504. package/dist/esm/{internal-calendar-period-factory-d1a60f81.js → internal-calendar-period-factory-261df2f2.js} +1 -1
  505. package/dist/esm/{internal-icon-manager-e7c57096.js → internal-icon-manager-d4d534d2.js} +1 -1
  506. package/dist/esm/{internal-translation-controller-fff376d2.js → internal-translation-controller-3637e47e.js} +12 -0
  507. package/dist/esm/{internal-vega-event-manager-0c381f3b.js → internal-vega-event-manager-6eebe8f8.js} +2 -1
  508. package/dist/esm/{keyboard-manager-a58288df.js → keyboard-manager-53e8d8d0.js} +1 -1
  509. package/dist/esm/{keyboard-manager-slimmer-133b86cd.js → keyboard-manager-slimmer-b3de042d.js} +1 -1
  510. package/dist/esm/{link-extension-bc234cf7.js → link-extension-57ba9520.js} +9 -8
  511. package/dist/esm/loader.js +20 -19
  512. package/dist/esm/{month-view-generator-20e32b22.js → month-view-generator-15215a09.js} +1 -1
  513. package/dist/esm/{public-rules-8dc3fb00.js → public-rules-c77a1550.js} +9 -7
  514. package/dist/esm/{range-d2439ba7.js → range-3c74e1c8.js} +1 -1
  515. package/dist/esm/{responsive-format-facade-07843ec3.js → responsive-format-facade-1b325d06.js} +1 -1
  516. package/dist/esm/{rich-text-editor-required-rule-a0663a84.js → rich-text-editor-required-rule-cfd32ba2.js} +1 -1
  517. package/dist/esm/{split-cell-operation-1a889fa0.js → split-cell-operation-85a036f9.js} +14 -18
  518. package/dist/esm/{state-border-formatter-3b3dcfe8.js → state-border-formatter-ce3495b0.js} +1 -1
  519. package/dist/esm/{string-format-strategy.abstract-44381dcb.js → string-format-strategy.abstract-8ce04558.js} +1 -1
  520. package/dist/esm/{string-input-formatter-slimmer-69887c40.js → string-input-formatter-slimmer-0d60ba7d.js} +1 -1
  521. package/dist/esm/{string-mask-strategy-999fba4b.js → string-mask-strategy-cabc1d50.js} +2 -2
  522. package/dist/esm/{style-formatter-c4192c99.js → style-formatter-00fe4f1c.js} +2 -2
  523. package/dist/esm/{time-required-rule-0554b114.js → time-required-rule-57ceeae9.js} +1 -1
  524. package/dist/esm/{token-extension-530d9bde.js → token-extension-645a9520.js} +1172 -1253
  525. package/dist/esm/{translation-slimmer-77022f2e.js → translation-slimmer-b69057eb.js} +1 -1
  526. package/dist/esm/{type-guard-26d83e7e.js → type-guard-204094c6.js} +1 -1
  527. package/dist/esm/{valid-credit-card-number-rule-f60b6904.js → valid-credit-card-number-rule-0874e19f.js} +1 -1
  528. package/dist/esm/vega-accordion.entry.js +14 -14
  529. package/dist/esm/vega-app-footer.entry.js +5 -5
  530. package/dist/esm/vega-app-header-button.entry.js +14 -14
  531. package/dist/esm/vega-backdrop.entry.js +2 -2
  532. package/dist/esm/vega-banner.entry.js +8 -8
  533. package/dist/esm/vega-bar-chart.entry.js +2 -2
  534. package/dist/esm/vega-box.entry.js +8 -8
  535. package/dist/esm/vega-brand-logo.entry.js +5 -5
  536. package/dist/esm/vega-breadcrumb.entry.js +6 -6
  537. package/dist/esm/vega-button-circle.entry.js +11 -11
  538. package/dist/esm/vega-button-group_2.entry.js +7 -7
  539. package/dist/esm/vega-button-link.entry.js +6 -6
  540. package/dist/esm/vega-button.entry.js +9 -9
  541. package/dist/esm/vega-calendar_5.entry.js +73 -32
  542. package/dist/esm/vega-card.entry.js +7 -7
  543. package/dist/esm/vega-carousel.entry.js +8 -8
  544. package/dist/esm/vega-checkbox_2.entry.js +9 -9
  545. package/dist/esm/vega-chip.entry.js +11 -11
  546. package/dist/esm/vega-code-block.entry.js +17 -17
  547. package/dist/esm/vega-color-picker.entry.js +7 -7
  548. package/dist/esm/vega-color-swatch-picker.entry.js +12 -12
  549. package/dist/esm/vega-color-swatch.entry.js +7 -7
  550. package/dist/esm/vega-combo-box.entry.js +14 -14
  551. package/dist/esm/vega-counter-badge.entry.js +2 -2
  552. package/dist/esm/vega-date-picker_2.entry.js +23 -23
  553. package/dist/esm/{vega-dialog-controller-726b74f9.js → vega-dialog-controller-f2d3b6c9.js} +5 -3
  554. package/dist/esm/vega-dialog_2.entry.js +10 -10
  555. package/dist/esm/vega-divider.entry.js +7 -7
  556. package/dist/esm/vega-dropdown_5.entry.js +17 -17
  557. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  558. package/dist/esm/{vega-event-id-59cd9297.js → vega-event-id-6b4db259.js} +2 -1
  559. package/dist/esm/vega-field-error.entry.js +2 -2
  560. package/dist/esm/vega-field-label.entry.js +7 -7
  561. package/dist/esm/vega-file-uploader.entry.js +11 -11
  562. package/dist/esm/vega-flag-icon.entry.js +10 -10
  563. package/dist/esm/vega-flex.entry.js +8 -8
  564. package/dist/esm/vega-font.entry.js +7 -7
  565. package/dist/esm/vega-form.entry.js +8 -8
  566. package/dist/esm/vega-grid.entry.js +7 -7
  567. package/dist/esm/vega-hint.entry.js +2 -2
  568. package/dist/esm/vega-icon.entry.js +9 -9
  569. package/dist/esm/vega-image-uploader.entry.js +13 -13
  570. package/dist/esm/vega-input-credit-card.entry.js +15 -15
  571. package/dist/esm/vega-input-numeric.entry.js +18 -20
  572. package/dist/esm/vega-input-passcode.entry.js +11 -11
  573. package/dist/esm/vega-input-phone-number.entry.js +10 -10
  574. package/dist/esm/vega-input-range.entry.js +9 -9
  575. package/dist/esm/vega-input-select.entry.js +14 -14
  576. package/dist/esm/vega-input.entry.js +39 -35
  577. package/dist/esm/vega-item-toggle.entry.js +5 -5
  578. package/dist/esm/vega-left-nav_5.entry.js +19 -19
  579. package/dist/esm/vega-line-chart.entry.js +2 -2
  580. package/dist/esm/vega-loader-wrapper_2.entry.js +6 -6
  581. package/dist/esm/vega-page-notification_2.entry.js +4 -4
  582. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +5 -5
  583. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +5 -5
  584. package/dist/esm/vega-pagination.entry.js +10 -10
  585. package/dist/esm/vega-pie-chart.entry.js +2 -2
  586. package/dist/esm/vega-popover_2.entry.js +14 -14
  587. package/dist/esm/vega-progress-tracker_2.entry.js +9 -9
  588. package/dist/esm/vega-radio_2.entry.js +12 -12
  589. package/dist/esm/vega-rich-text-bookmark-editor.entry.js +441 -0
  590. package/dist/esm/vega-rich-text-content.entry.js +49 -17
  591. package/dist/esm/vega-rich-text-editor_4.entry.js +699 -244
  592. package/dist/esm/vega-rich-text-find-replace-panel.entry.js +9 -9
  593. package/dist/esm/vega-rich-text-special-characters-panel.entry.js +10 -10
  594. package/dist/esm/vega-rich-text-table-properties_3.entry.js +18 -18
  595. package/dist/esm/vega-section-title.entry.js +2 -2
  596. package/dist/esm/vega-segment-control.entry.js +5 -5
  597. package/dist/esm/vega-selection-chip_2.entry.js +11 -11
  598. package/dist/esm/vega-selection-tile_2.entry.js +9 -9
  599. package/dist/esm/vega-sidenav_3.entry.js +13 -13
  600. package/dist/esm/vega-signature-capture.entry.js +15 -15
  601. package/dist/esm/vega-skeleton.entry.js +2 -2
  602. package/dist/esm/vega-slot-container.entry.js +2 -2
  603. package/dist/esm/vega-stepper.entry.js +8 -8
  604. package/dist/esm/vega-tab-group_2.entry.js +398 -108
  605. package/dist/esm/vega-table_11.entry.js +23 -23
  606. package/dist/esm/vega-text.entry.js +2 -2
  607. package/dist/esm/vega-textarea.entry.js +8 -8
  608. package/dist/esm/vega-time-picker_2.entry.js +16 -16
  609. package/dist/esm/vega-toggle-switch.entry.js +7 -7
  610. package/dist/esm/vega-tooltip_2.entry.js +9 -9
  611. package/dist/esm/vega.js +20 -19
  612. package/dist/sri/vega-sri-manifest.json +417 -413
  613. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-preview-actions-controller.d.ts +2 -0
  614. package/dist/types/components/vega-calendar/types.d.ts +6 -0
  615. package/dist/types/components/vega-calendar/vega-calendar-event-preview/assets/delete.d.ts +3 -0
  616. package/dist/types/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.d.ts +1 -0
  617. package/dist/types/components/vega-calendar/vega-calendar.d.ts +21 -1
  618. package/dist/types/components/vega-input/slimmers/controllers/vega-input-state-controller.d.ts +0 -2
  619. package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-container-renderer.d.ts +4 -0
  620. package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-renderer.d.ts +2 -0
  621. package/dist/types/components/vega-input/vega-input.d.ts +15 -3
  622. package/dist/types/components/vega-input-numeric/slimmers/renderers/vega-input-numeric-renderer.d.ts +2 -0
  623. package/dist/types/components/vega-input-numeric/vega-input-numeric.d.ts +0 -2
  624. package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +4 -0
  625. package/dist/types/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/sequential-composition-strategy.d.ts +14 -0
  626. package/dist/types/components/vega-rich-text-editor/dto/actions/annotation-action.abstract.d.ts +3 -1
  627. package/dist/types/components/vega-rich-text-editor/dto/actions/bold-annotation-action.d.ts +1 -0
  628. package/dist/types/components/vega-rich-text-editor/dto/actions/clear-formatting-annotation-action.d.ts +1 -0
  629. package/dist/types/components/vega-rich-text-editor/dto/actions/code-annotation-action.d.ts +1 -0
  630. package/dist/types/components/vega-rich-text-editor/dto/actions/custom-style-annotation-action.d.ts +1 -0
  631. package/dist/types/components/vega-rich-text-editor/dto/actions/delete-node-annotation-action.d.ts +1 -0
  632. package/dist/types/components/vega-rich-text-editor/dto/actions/horizontal-alignment-annotation-action.d.ts +1 -0
  633. package/dist/types/components/vega-rich-text-editor/dto/actions/image-annotation-action.d.ts +1 -0
  634. package/dist/types/components/vega-rich-text-editor/dto/actions/indent-annotation-action.d.ts +1 -0
  635. package/dist/types/components/vega-rich-text-editor/dto/actions/italic-annotation-action.d.ts +1 -0
  636. package/dist/types/components/vega-rich-text-editor/dto/actions/link-annotation-action.d.ts +1 -0
  637. package/dist/types/components/vega-rich-text-editor/dto/actions/link-group-annotation-action.d.ts +1 -0
  638. package/dist/types/components/vega-rich-text-editor/dto/actions/modify-content-action.abstract.d.ts +4 -1
  639. package/dist/types/components/vega-rich-text-editor/dto/actions/selection-change-action.d.ts +1 -0
  640. package/dist/types/components/vega-rich-text-editor/dto/actions/sequential-composition-action.d.ts +30 -0
  641. package/dist/types/components/vega-rich-text-editor/dto/actions/splittable-action.abstract.d.ts +1 -0
  642. package/dist/types/components/vega-rich-text-editor/dto/actions/strikethrough-annotation-action.d.ts +1 -0
  643. package/dist/types/components/vega-rich-text-editor/dto/actions/sync-up-selection-action.d.ts +1 -0
  644. package/dist/types/components/vega-rich-text-editor/dto/actions/text-color-annotation-action.d.ts +1 -0
  645. package/dist/types/components/vega-rich-text-editor/dto/actions/text-style-annotation-action.d.ts +1 -0
  646. package/dist/types/components/vega-rich-text-editor/dto/actions/underline-annotation-action.d.ts +1 -0
  647. package/dist/types/components/vega-rich-text-editor/dto/annotations/annotation.abstract.d.ts +6 -0
  648. package/dist/types/components/vega-rich-text-editor/dto/annotations/bold-annotation.d.ts +4 -0
  649. package/dist/types/components/vega-rich-text-editor/dto/annotations/code-annotation.d.ts +4 -0
  650. package/dist/types/components/vega-rich-text-editor/dto/annotations/italic-annotation.d.ts +4 -0
  651. package/dist/types/components/vega-rich-text-editor/dto/annotations/plain-text-annotation.d.ts +4 -0
  652. package/dist/types/components/vega-rich-text-editor/dto/annotations/selection-range-annotation.d.ts +4 -0
  653. package/dist/types/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.d.ts +4 -0
  654. package/dist/types/components/vega-rich-text-editor/dto/annotations/text-color-annotation.d.ts +4 -0
  655. package/dist/types/components/vega-rich-text-editor/dto/annotations/underline-annotation.d.ts +4 -0
  656. package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +3 -6
  657. package/dist/types/components/vega-rich-text-editor/dto/blocks/code-block.d.ts +1 -2
  658. package/dist/types/components/vega-rich-text-editor/dto/blocks/html-block.d.ts +1 -2
  659. package/dist/types/components/vega-rich-text-editor/dto/blocks/image-block.d.ts +1 -2
  660. package/dist/types/components/vega-rich-text-editor/dto/blocks/list-block.d.ts +1 -2
  661. package/dist/types/components/vega-rich-text-editor/dto/blocks/list-item-block.d.ts +1 -2
  662. package/dist/types/components/vega-rich-text-editor/dto/blocks/text-block.d.ts +2 -3
  663. package/dist/types/components/vega-rich-text-editor/dto/content-state.d.ts +3 -3
  664. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.d.ts +1 -1
  665. package/dist/types/components/vega-rich-text-editor/dto/flush-changes-payload.d.ts +16 -0
  666. package/dist/types/components/vega-rich-text-editor/dto/nodes/code-block-node.d.ts +1 -2
  667. package/dist/types/components/vega-rich-text-editor/dto/nodes/decorator-node.d.ts +1 -0
  668. package/dist/types/components/vega-rich-text-editor/dto/nodes/image-node.d.ts +1 -2
  669. package/dist/types/components/vega-rich-text-editor/dto/nodes/node.abstract.d.ts +3 -6
  670. package/dist/types/components/vega-rich-text-editor/dto/nodes/text-node.d.ts +9 -2
  671. package/dist/types/components/vega-rich-text-editor/dto/renderers/base-renderer.d.ts +3 -1
  672. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/block-renderer.abstract.d.ts +1 -0
  673. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.d.ts +1 -0
  674. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/code-block-renderer.d.ts +1 -0
  675. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/html-block-renderer.d.ts +1 -0
  676. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/image-block-renderer.d.ts +1 -0
  677. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/link-wrapper-renderer.d.ts +2 -1
  678. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/list-block-renderer.d.ts +1 -0
  679. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/list-item-block-renderer.d.ts +1 -0
  680. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.d.ts +1 -0
  681. package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/code-block-node-renderer.d.ts +1 -0
  682. package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/image-node-renderer.d.ts +1 -0
  683. package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/node-renderer.abstract.d.ts +1 -0
  684. package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.d.ts +1 -0
  685. package/dist/types/components/vega-rich-text-editor/extensions/base-extension-renderer.d.ts +1 -0
  686. package/dist/types/components/vega-rich-text-editor/extensions/blockquote/dto/rte-blockquote-block.d.ts +1 -2
  687. package/dist/types/components/vega-rich-text-editor/extensions/blockquote/renderers/blockquote-block-renderer.d.ts +1 -0
  688. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/action-handler-interceptors/delete-bookmark-before-text-interceptor.d.ts +16 -0
  689. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/action-handler-strategies/insert-bookmark-node-strategy.d.ts +12 -0
  690. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/action-handler-strategies/update-bookmark-name-strategy.d.ts +12 -0
  691. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/actions/insert-bookmark-node-action.d.ts +16 -0
  692. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/actions/update-bookmark-name-action.d.ts +12 -0
  693. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/anchor-to-bookmark-node-strategy.d.ts +52 -0
  694. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/assets/bookmark.d.ts +5 -0
  695. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/bookmark-extension.d.ts +16 -0
  696. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/bookmark-node.d.ts +62 -0
  697. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/renderers/bookmark-node-renderer.d.ts +128 -0
  698. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/renderers/bookmark-toolbar-button-renderer.d.ts +46 -0
  699. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/utils.d.ts +18 -0
  700. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/slimmers/controllers/bookmark-editor-controller.d.ts +86 -0
  701. 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
  702. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/types.d.ts +7 -0
  703. package/dist/types/components/vega-rich-text-editor/extensions/bookmark/vega-rich-text-bookmark-editor/vega-rich-text-bookmark-editor.d.ts +77 -0
  704. package/dist/types/components/vega-rich-text-editor/extensions/functions/dto/function-block.d.ts +8 -2
  705. package/dist/types/components/vega-rich-text-editor/extensions/functions/dto/logic-control-block.d.ts +1 -2
  706. package/dist/types/components/vega-rich-text-editor/extensions/functions/dto/logic-control-node.d.ts +1 -2
  707. package/dist/types/components/vega-rich-text-editor/extensions/functions/renderers/function-block-renderer.d.ts +1 -0
  708. package/dist/types/components/vega-rich-text-editor/extensions/functions/renderers/logic-control-block-renderer.d.ts +1 -0
  709. package/dist/types/components/vega-rich-text-editor/extensions/horizontal-line/dto/horizontal-line-block.d.ts +1 -2
  710. package/dist/types/components/vega-rich-text-editor/extensions/horizontal-line/dto/horizontal-line-node.d.ts +1 -0
  711. package/dist/types/components/vega-rich-text-editor/extensions/horizontal-line/renderers/horizontal-line-block-renderer.d.ts +1 -0
  712. package/dist/types/components/vega-rich-text-editor/extensions/line-height/actions/line-height-annotation-action.d.ts +1 -0
  713. package/dist/types/components/vega-rich-text-editor/extensions/paste/controllers/chooser-positioner.d.ts +33 -0
  714. package/dist/types/components/vega-rich-text-editor/extensions/paste/controllers/paste-chooser-controller.d.ts +43 -0
  715. package/dist/types/components/vega-rich-text-editor/extensions/paste/controllers/paste-event-interceptor.d.ts +22 -0
  716. package/dist/types/components/vega-rich-text-editor/extensions/paste/controllers/selection-snapshot-service.d.ts +29 -0
  717. package/dist/types/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/image-extractor.d.ts +13 -0
  718. package/dist/types/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/paste-image-parser.d.ts +1 -1
  719. package/dist/types/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/pending-image-registry.d.ts +1 -1
  720. package/dist/types/components/vega-rich-text-editor/extensions/paste/paste-chooser-ui.d.ts +1 -0
  721. package/dist/types/components/vega-rich-text-editor/extensions/paste/paste-extension.d.ts +28 -93
  722. package/dist/types/components/vega-rich-text-editor/extensions/paste/pipeline/data-transfer-builder.d.ts +10 -0
  723. package/dist/types/components/vega-rich-text-editor/extensions/paste/pipeline/paste-dispatcher.d.ts +8 -0
  724. package/dist/types/components/vega-rich-text-editor/extensions/paste/pipeline/paste-processing-pipeline.d.ts +18 -0
  725. package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/paste-processing-strategy.abstract.d.ts +28 -6
  726. package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/paste-strategy-selector.d.ts +13 -0
  727. package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/plain-paste-strategy.d.ts +29 -0
  728. package/dist/types/components/vega-rich-text-editor/extensions/paste/type.d.ts +35 -0
  729. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-annotations-action.d.ts +1 -0
  730. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-cell-annotations-action.d.ts +1 -0
  731. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-head-cell-annotations-action.d.ts +1 -0
  732. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/update-table-properties-action.d.ts +1 -0
  733. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-block.d.ts +1 -2
  734. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-body-block.d.ts +1 -2
  735. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.d.ts +1 -2
  736. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.d.ts +1 -2
  737. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-block.d.ts +1 -2
  738. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.d.ts +1 -2
  739. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-row-block.d.ts +1 -2
  740. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-body-renderer.d.ts +1 -0
  741. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-caption-renderer.d.ts +1 -0
  742. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-cell-renderer.d.ts +1 -0
  743. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-head-cell-renderer.d.ts +1 -0
  744. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-head-renderer.d.ts +1 -0
  745. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.d.ts +1 -0
  746. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-row-renderer.d.ts +1 -0
  747. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.d.ts +1 -0
  748. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-node.d.ts +1 -2
  749. package/dist/types/components/vega-rich-text-editor/helpers/utils.d.ts +47 -0
  750. package/dist/types/components/vega-rich-text-editor/interface.d.ts +15 -0
  751. package/dist/types/components/vega-rich-text-editor/public-api.d.ts +1 -0
  752. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/focus-controller.d.ts +12 -0
  753. 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
  754. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/abstract-delete-content-handler.d.ts +17 -6
  755. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/backward-delete-content-handler.d.ts +5 -1
  756. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/base-handler.d.ts +30 -1
  757. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/forward-delete-content-handler.d.ts +5 -1
  758. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-line-break-handler.d.ts +21 -4
  759. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paragraph-handler.d.ts +12 -4
  760. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.d.ts +38 -5
  761. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-text-handler.d.ts +7 -2
  762. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.d.ts +2 -0
  763. package/dist/types/components/vega-rich-text-editor/utils/html-to-plain-text-utils.d.ts +31 -0
  764. package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-editor-controller.d.ts +11 -0
  765. package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-type-config-controller.d.ts +26 -0
  766. 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
  767. package/dist/types/components/vega-tab-group/helpers/vega-tab-group-width-layout-helper.d.ts +63 -0
  768. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.d.ts +14 -0
  769. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.d.ts +3 -0
  770. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-constrained-tab-label-renderer.d.ts +17 -0
  771. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +3 -0
  772. package/dist/types/components/vega-tab-group/types.d.ts +10 -0
  773. package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +22 -0
  774. package/dist/types/components.d.ts +135 -1
  775. package/dist/types/constants/ui.d.ts +1 -1
  776. package/dist/types/helpers/dialog/vega-dialog-controller.d.ts +3 -2
  777. package/dist/types/helpers/discriminator/discriminated.d.ts +75 -0
  778. package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +1 -0
  779. package/dist/types/helpers/event-manager/vega-event-manager.d.ts +3 -1
  780. package/dist/types/helpers/icon/icon-manager.d.ts +3 -1
  781. package/dist/types/helpers/loading-indicator/vega-loader-controller.d.ts +3 -1
  782. package/dist/types/helpers/notify/vega-notify-controller.d.ts +3 -1
  783. package/dist/types/helpers/skeleton-loader/vega-skeleton-loader-controller.d.ts +3 -1
  784. package/dist/types/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.d.ts +1 -1
  785. package/dist/types/helpers/theme/theme-manager.d.ts +3 -1
  786. package/dist/types/helpers/translation/interface.d.ts +12 -0
  787. package/dist/types/helpers/translation/translation.d.ts +3 -1
  788. package/dist/types/helpers/zindex/vega-z-index-manager.d.ts +3 -1
  789. package/dist/types/types/components.type.d.ts +2 -0
  790. package/dist/types/types/public-api.d.ts +2 -1
  791. package/dist/types/vega-slimmer/src/common/helpers/global-slimmer-registry.d.ts +10 -3
  792. package/dist/vega/index.esm.js +1 -1
  793. package/dist/vega/{p-68ca8d3c.entry.js → p-013939ea.entry.js} +1 -1
  794. package/dist/vega/p-0169f71c.entry.js +1 -0
  795. package/dist/vega/p-018bb83b.entry.js +1 -0
  796. package/dist/vega/p-08bf08d2.js +1 -0
  797. package/dist/vega/p-0b33753f.entry.js +1 -0
  798. package/dist/vega/p-1537b1e4.js +1 -0
  799. package/dist/vega/{p-cb1cd15f.entry.js → p-17f6dc94.entry.js} +1 -1
  800. package/dist/vega/p-1a4d1991.entry.js +1 -0
  801. package/dist/vega/{p-178634f3.js → p-1b2e5898.js} +1 -1
  802. package/dist/vega/p-1f1f93bf.entry.js +1 -0
  803. package/dist/vega/{p-6e9e7131.js → p-1fb953f8.js} +1 -1
  804. package/dist/vega/{p-6ae93679.entry.js → p-2171b571.entry.js} +1 -1
  805. package/dist/vega/p-255fe20b.js +1 -0
  806. package/dist/vega/{p-c34f4cbc.js → p-261cf764.js} +1 -1
  807. package/dist/vega/p-27e77ea1.entry.js +1 -0
  808. package/dist/vega/p-28acbe42.entry.js +1 -0
  809. package/dist/vega/p-29584bb5.js +1 -0
  810. package/dist/vega/p-2acc600a.entry.js +1 -0
  811. package/dist/vega/p-2fc2299f.js +1 -0
  812. package/dist/vega/p-2ff659a1.entry.js +1 -0
  813. package/dist/vega/p-322da1eb.entry.js +1 -0
  814. package/dist/vega/{p-0eea1ca8.js → p-3283fa2f.js} +1 -1
  815. package/dist/vega/p-3567dc55.entry.js +1 -0
  816. package/dist/vega/p-36b795c6.entry.js +1 -0
  817. package/dist/vega/p-372436a4.entry.js +1 -0
  818. package/dist/vega/{p-8ebe30a8.js → p-37714a3a.js} +1 -1
  819. package/dist/vega/p-38c551a9.entry.js +1 -0
  820. package/dist/vega/p-3b4e2ba0.js +1 -0
  821. package/dist/vega/{p-4ea477d5.js → p-3b6a6f08.js} +1 -1
  822. package/dist/vega/p-3b911043.entry.js +1 -0
  823. package/dist/vega/p-3bb7114b.js +1 -0
  824. package/dist/vega/p-3e270b65.entry.js +1 -0
  825. package/dist/vega/{p-58c8a4ac.js → p-4043508a.js} +1 -1
  826. package/dist/vega/p-4151d4a8.js +1 -0
  827. package/dist/vega/p-436bd1af.entry.js +1 -0
  828. package/dist/vega/{p-6031bed1.js → p-44245a36.js} +1 -1
  829. package/dist/vega/{p-306720b8.entry.js → p-44e31581.entry.js} +1 -1
  830. package/dist/vega/{p-3911e760.entry.js → p-4503f5b9.entry.js} +1 -1
  831. package/dist/vega/{p-f01bc6a2.js → p-45af801f.js} +1 -1
  832. package/dist/vega/{p-d6bd3ce4.entry.js → p-467e27af.entry.js} +1 -1
  833. package/dist/vega/p-48c2150b.entry.js +1 -0
  834. package/dist/vega/p-4b253f74.entry.js +1 -0
  835. package/dist/vega/p-4cdc064d.entry.js +1 -0
  836. package/dist/vega/{p-764b4e51.entry.js → p-4e4b50f3.entry.js} +1 -1
  837. package/dist/vega/{p-cab890be.entry.js → p-564110ba.entry.js} +1 -1
  838. package/dist/vega/p-5c285374.js +1 -0
  839. package/dist/vega/p-5c8e4e8f.js +1 -0
  840. package/dist/vega/p-5d427a47.entry.js +1 -0
  841. package/dist/vega/p-5f377954.js +1 -1
  842. package/dist/vega/p-608d3559.entry.js +1 -0
  843. package/dist/vega/p-64eb05d3.entry.js +1 -0
  844. package/dist/vega/p-66bf209b.entry.js +1 -0
  845. package/dist/vega/{p-45ad2d90.entry.js → p-69eadbd8.entry.js} +1 -1
  846. package/dist/vega/p-6c4edee8.entry.js +1 -0
  847. package/dist/vega/p-6d4f6031.entry.js +1 -0
  848. package/dist/vega/p-6e16bb3a.js +1 -0
  849. package/dist/vega/p-76f4fdba.entry.js +1 -0
  850. package/dist/vega/p-7874055b.entry.js +1 -0
  851. package/dist/vega/p-7d3d24f6.entry.js +1 -0
  852. package/dist/vega/{p-f48519d2.js → p-7f9ad7bc.js} +1 -1
  853. package/dist/vega/p-80321148.entry.js +1 -0
  854. package/dist/vega/p-8193f4ef.entry.js +1 -0
  855. package/dist/vega/{p-b97ed9f7.entry.js → p-8197d172.entry.js} +1 -1
  856. package/dist/vega/{p-60010f14.entry.js → p-82411b76.entry.js} +1 -1
  857. package/dist/vega/{p-65fee02f.entry.js → p-8a38746d.entry.js} +1 -1
  858. package/dist/vega/{p-be783294.entry.js → p-8a6e378a.entry.js} +1 -1
  859. package/dist/vega/p-8ac0b1b2.entry.js +1 -0
  860. package/dist/vega/{p-f8d13d01.entry.js → p-8bd29577.entry.js} +1 -1
  861. package/dist/vega/{p-942f9ea6.entry.js → p-8c61db9d.entry.js} +1 -1
  862. package/dist/vega/{p-5c9c0c0d.entry.js → p-8de29082.entry.js} +1 -1
  863. package/dist/vega/{p-d3e99d4a.entry.js → p-8e59606f.entry.js} +1 -1
  864. package/dist/vega/p-8ea41806.js +1 -0
  865. package/dist/vega/p-9153c2f5.entry.js +1 -0
  866. package/dist/vega/p-916da3ce.entry.js +1 -0
  867. package/dist/vega/p-92411f56.entry.js +1 -0
  868. package/dist/vega/p-94d65dcf.entry.js +1 -0
  869. package/dist/vega/{p-9fb3aeeb.entry.js → p-9a0e17b2.entry.js} +1 -1
  870. package/dist/vega/{p-e48b7a8a.entry.js → p-9a96fb05.entry.js} +1 -1
  871. package/dist/vega/{p-638b6a7d.js → p-9fcfd738.js} +1 -1
  872. package/dist/vega/p-9fd547f3.entry.js +1 -0
  873. package/dist/vega/{p-e14323f3.js → p-a2c7a3bc.js} +1 -1
  874. package/dist/vega/p-a2dcde12.js +1 -0
  875. package/dist/vega/p-a2fa8c93.entry.js +1 -0
  876. package/dist/vega/{p-c576e846.js → p-a60d75d9.js} +1 -1
  877. package/dist/vega/{p-6a6c1279.js → p-a83cef5a.js} +1 -1
  878. package/dist/vega/{p-069bbb4a.js → p-a9fc4043.js} +1 -1
  879. package/dist/vega/{p-5536146c.js → p-abad8ffd.js} +1 -1
  880. package/dist/vega/p-abe5f7f0.entry.js +1 -0
  881. package/dist/vega/p-ac98c189.entry.js +1 -0
  882. package/dist/vega/{p-32f5a6dd.entry.js → p-ade903b3.entry.js} +1 -1
  883. package/dist/vega/{p-f485448a.js → p-affb40e8.js} +1 -1
  884. package/dist/vega/{p-b2a4314a.js → p-b3a1cd22.js} +1 -1
  885. package/dist/vega/p-b63a90b3.entry.js +1 -0
  886. package/dist/vega/p-ba050d63.entry.js +1 -0
  887. package/dist/vega/{p-4b35c748.js → p-ba67eb96.js} +1 -1
  888. package/dist/vega/p-bec0e08a.entry.js +1 -0
  889. package/dist/vega/p-c08ac33f.entry.js +1 -0
  890. package/dist/vega/{p-55c2c0df.entry.js → p-c7ec97d1.entry.js} +1 -1
  891. package/dist/vega/p-ca1fe571.entry.js +1 -0
  892. package/dist/vega/{p-c04a90d8.entry.js → p-cb68a43a.entry.js} +1 -1
  893. package/dist/vega/p-cc9fc36a.entry.js +1 -0
  894. package/dist/vega/p-d044d54f.entry.js +1 -0
  895. package/dist/vega/p-d1d91f1a.js +1 -0
  896. package/dist/vega/{p-a54ed341.entry.js → p-d3a9355c.entry.js} +1 -1
  897. package/dist/vega/p-d5a75228.js +1 -0
  898. package/dist/vega/p-dc83fa6b.entry.js +1 -0
  899. package/dist/vega/p-dcfce26e.entry.js +1 -0
  900. package/dist/vega/p-df9585f6.js +3 -0
  901. package/dist/vega/{p-71813a9e.entry.js → p-e2c8a470.entry.js} +1 -1
  902. package/dist/vega/{p-60a74fb7.js → p-e33a954f.js} +1 -1
  903. package/dist/vega/p-e5fc6583.entry.js +1 -0
  904. package/dist/vega/p-e668cf11.js +1 -0
  905. package/dist/vega/{p-2dda5c65.entry.js → p-e6b0a292.entry.js} +1 -1
  906. package/dist/vega/{p-96c090c4.js → p-e84c2589.js} +1 -1
  907. package/dist/vega/{p-a8a246e8.entry.js → p-eb945d34.entry.js} +1 -1
  908. package/dist/vega/p-ebe1dd2b.entry.js +1 -0
  909. package/dist/vega/p-f5874834.entry.js +1 -0
  910. package/dist/vega/p-f818bb20.entry.js +1 -0
  911. package/dist/vega/p-f981cf2c.js +1 -0
  912. package/dist/vega/p-f9d09b0c.js +1 -0
  913. package/dist/vega/{p-941a83db.js → p-fdbdf12f.js} +1 -1
  914. package/dist/vega/{p-6d90d28d.entry.js → p-fee080b9.entry.js} +1 -1
  915. package/dist/vega/vega.esm.js +1 -1
  916. package/package.json +2 -2
  917. package/dist/cjs/image-extension-673ebe7f.js +0 -56
  918. package/dist/esm/image-extension-f6dbd70c.js +0 -53
  919. package/dist/vega/p-022cbf8a.js +0 -1
  920. package/dist/vega/p-02c1284e.entry.js +0 -1
  921. package/dist/vega/p-08fd229c.js +0 -1
  922. package/dist/vega/p-0e298ee8.entry.js +0 -1
  923. package/dist/vega/p-131ce9df.entry.js +0 -1
  924. package/dist/vega/p-143ee395.entry.js +0 -1
  925. package/dist/vega/p-1dbf8d1f.js +0 -1
  926. package/dist/vega/p-2b26e182.entry.js +0 -1
  927. package/dist/vega/p-30010c41.entry.js +0 -1
  928. package/dist/vega/p-3460a1c5.entry.js +0 -1
  929. package/dist/vega/p-34b523da.entry.js +0 -1
  930. package/dist/vega/p-357c0226.entry.js +0 -1
  931. package/dist/vega/p-37d5c37e.entry.js +0 -1
  932. package/dist/vega/p-3d6a43df.entry.js +0 -1
  933. package/dist/vega/p-4b117bfd.entry.js +0 -1
  934. package/dist/vega/p-4e23e56c.entry.js +0 -1
  935. package/dist/vega/p-4e70836a.entry.js +0 -1
  936. package/dist/vega/p-50e8e24f.entry.js +0 -1
  937. package/dist/vega/p-522a6eec.entry.js +0 -1
  938. package/dist/vega/p-587130f6.entry.js +0 -1
  939. package/dist/vega/p-594cb986.entry.js +0 -1
  940. package/dist/vega/p-5c17ddda.entry.js +0 -1
  941. package/dist/vega/p-6098c4bb.js +0 -1
  942. package/dist/vega/p-61e63c0e.entry.js +0 -1
  943. package/dist/vega/p-62254dc7.entry.js +0 -1
  944. package/dist/vega/p-62ae9327.entry.js +0 -1
  945. package/dist/vega/p-66245bc0.entry.js +0 -1
  946. package/dist/vega/p-6fae6768.js +0 -1
  947. package/dist/vega/p-729529d6.entry.js +0 -1
  948. package/dist/vega/p-75bfbffe.entry.js +0 -1
  949. package/dist/vega/p-77bcdd35.js +0 -1
  950. package/dist/vega/p-853a05eb.js +0 -1
  951. package/dist/vega/p-8ce9e214.js +0 -1
  952. package/dist/vega/p-8e8b5790.entry.js +0 -1
  953. package/dist/vega/p-8f00dfe6.js +0 -1
  954. package/dist/vega/p-9236b8d9.entry.js +0 -1
  955. package/dist/vega/p-9402f32f.js +0 -1
  956. package/dist/vega/p-9fdf66a8.entry.js +0 -1
  957. package/dist/vega/p-a2c45173.entry.js +0 -1
  958. package/dist/vega/p-a6a89f09.entry.js +0 -1
  959. package/dist/vega/p-ab9d53e9.js +0 -1
  960. package/dist/vega/p-adc64ff6.entry.js +0 -1
  961. package/dist/vega/p-af0cfea0.entry.js +0 -1
  962. package/dist/vega/p-af0e9bd5.entry.js +0 -1
  963. package/dist/vega/p-afcd8f04.js +0 -1
  964. package/dist/vega/p-b21cc390.entry.js +0 -1
  965. package/dist/vega/p-b94f164a.entry.js +0 -1
  966. package/dist/vega/p-bbfffe6b.entry.js +0 -1
  967. package/dist/vega/p-beccc38c.entry.js +0 -1
  968. package/dist/vega/p-c51de680.js +0 -3
  969. package/dist/vega/p-c601eea6.js +0 -1
  970. package/dist/vega/p-c6d2513c.entry.js +0 -1
  971. package/dist/vega/p-ca6bd3a0.entry.js +0 -1
  972. package/dist/vega/p-d37d2ea4.entry.js +0 -1
  973. package/dist/vega/p-d7838f6e.entry.js +0 -1
  974. package/dist/vega/p-d8c9ea46.entry.js +0 -1
  975. package/dist/vega/p-d9588b3f.entry.js +0 -1
  976. package/dist/vega/p-db69a5c9.entry.js +0 -1
  977. package/dist/vega/p-de1d0284.js +0 -1
  978. package/dist/vega/p-de6fc52c.js +0 -1
  979. package/dist/vega/p-e5226de6.entry.js +0 -1
  980. package/dist/vega/p-e8e3bf74.entry.js +0 -1
  981. package/dist/vega/p-e8f50fc5.js +0 -1
  982. package/dist/vega/p-eadc10bc.entry.js +0 -1
  983. package/dist/vega/p-ee329596.entry.js +0 -1
  984. package/dist/vega/p-f324e90e.js +0 -1
  985. package/dist/vega/p-f8b2dbb9.entry.js +0 -1
  986. package/dist/vega/p-f902305d.entry.js +0 -1
  987. package/dist/vega/p-f99f054c.entry.js +0 -1
  988. package/dist/vega/p-fe41e3b6.entry.js +0 -1
  989. package/dist/vega/p-ffdc25ec.js +0 -1
@@ -5,8 +5,9 @@ const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-facto
5
5
  const vegaInternalEventId = require('./vega-internal-event-id-98d499d7.js');
6
6
  const string = require('./string-39438062.js');
7
7
  const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
8
- const typeGuard = require('./type-guard-00b8efc0.js');
8
+ const typeGuard = require('./type-guard-cce6fe1f.js');
9
9
  const typography = require('./typography-3ea4fe41.js');
10
+ const discriminated = require('./discriminated-3b8e72d5.js');
10
11
  const misc = require('./misc-3d30df91.js');
11
12
  const darkModeStyleController = require('./dark-mode-style-controller-ec04ece9.js');
12
13
  const object = require('./object-b53e9416.js');
@@ -22,6 +23,14 @@ exports.InternalAnnotationTypeEnum = void 0;
22
23
  * Abstract class for all annotations
23
24
  */
24
25
  class Annotation {
26
+ /**
27
+ * Whether the annotation only represents transient formatting state.
28
+ *
29
+ * @returns {boolean} True when the annotation should be treated as formatting-only.
30
+ */
31
+ get isFormattingOnly() {
32
+ return false;
33
+ }
25
34
  }
26
35
 
27
36
  exports.BlockAnnotationTypeEnum = void 0;
@@ -116,7 +125,7 @@ class StateEntityRenderingRegistry {
116
125
  * @returns {entity is VegaRTEContent} - True if the entity is a VegaRTEContent instance, false otherwise.
117
126
  */
118
127
  isVegaRTEContent(entity) {
119
- return entity && entity.dtoName === 'VegaRTEContent';
128
+ return entity && entity.typeName === 'VegaRTEContent';
120
129
  }
121
130
  }
122
131
  const stateEntityRenderingRegistry = new StateEntityRenderingRegistry();
@@ -156,6 +165,7 @@ exports.ModifyContentActionType = void 0;
156
165
  ModifyContentActionType["INSERT_NODE_TO_NEAREST_ROOT"] = "INSERT_NODE_TO_NEAREST_ROOT";
157
166
  ModifyContentActionType["PASTE_CONTENT"] = "PASTE_CONTENT";
158
167
  ModifyContentActionType["DELETE_SELECTED_CONTENT"] = "DELETE_SELECTED_CONTENT";
168
+ ModifyContentActionType["SEQUENTIAL_COMPOSITION"] = "SEQUENTIAL_COMPOSITION";
159
169
  })(exports.ModifyContentActionType || (exports.ModifyContentActionType = {}));
160
170
  /**
161
171
  * Abstract class for update node content, delete node, insert node
@@ -263,6 +273,73 @@ function escapeHtmlAttribute(value) {
263
273
  .replace(/>/g, '>')
264
274
  .replace(/"/g, '"'));
265
275
  }
276
+ /**
277
+ * Normalizes clipboard line endings and splits into lines. Low-level primitive behind
278
+ * `toPlainPasteLines`, which layers boundary-whitespace handling on top and is the single
279
+ * conversion source used by plain-mode paste.
280
+ *
281
+ * @param {string} text Raw clipboard plain text.
282
+ * @returns {string[]} Lines with `\r\n`/`\r` normalized to `\n` and split on `\n`.
283
+ */
284
+ function normalizePlainTextLines(text) {
285
+ return text.replace(/\r\n?/g, '\n').split('\n');
286
+ }
287
+ /**
288
+ * Sentinels for whitespace that must survive plain-mode boundary collapsing (e.g. code-block
289
+ * indentation derived from HTML). `htmlToPlainText` can emit these in place of real spaces/tabs so
290
+ * that `toPlainPasteLines` leaves them untouched — they are not matched by `\s` — and decodes them
291
+ * back to real characters after collapsing the paste's insignificant leading/trailing whitespace.
292
+ */
293
+ const PRESERVED_SPACE = '\u0001';
294
+ const PRESERVED_TAB = '\u0002';
295
+ /**
296
+ * Restores {@link PRESERVED_SPACE}/{@link PRESERVED_TAB} sentinels back to real spaces/tabs.
297
+ *
298
+ * @param {string} text Text that may contain preserved-whitespace sentinels.
299
+ * @returns {string} Text with sentinels decoded to real whitespace.
300
+ */
301
+ function decodePreservedWhitespace(text) {
302
+ return text.split(PRESERVED_SPACE).join(' ').split(PRESERVED_TAB).join('\t');
303
+ }
304
+ /**
305
+ * Single source of truth for plain-mode paste conversion: turns raw clipboard text into
306
+ * the canonical list of lines used by both representations of the pasted content — the
307
+ * `text/html` payload emitted by `PlainPasteProcessingStrategy` and the RTE text/newline
308
+ * nodes built by `InsertPasteHandler`. Both must derive from this helper so whitespace and
309
+ * boundary handling cannot drift apart.
310
+ *
311
+ * Per-paragraph handling: lines carrying {@link PRESERVED_SPACE}/{@link PRESERVED_TAB}
312
+ * sentinels come from code-block sources (via the preservation branch of
313
+ * `extractBlockAwareText`) and are kept verbatim so significant indentation survives;
314
+ * all other lines get a normal `String.prototype.trim()` (including NBSP) so
315
+ * paragraph-boundary whitespace from non-code sources is treated as noise.
316
+ * When `decodeEncodedWhitespace` is enabled, sentinels are decoded back to real
317
+ * space/tab characters after the per-line pass.
318
+ *
319
+ * @param {string} text Raw clipboard plain text.
320
+ * @param {boolean} decodeEncodedWhitespace Whether HTML-derived sentinels should be decoded.
321
+ * @returns {string[]} Canonical plain-mode lines.
322
+ */
323
+ function toPlainPasteLines(text, decodeEncodedWhitespace = false) {
324
+ const lines = normalizePlainTextLines(text);
325
+ return lines.map((line) => {
326
+ const hasSentinel = line.includes(PRESERVED_SPACE) || line.includes(PRESERVED_TAB);
327
+ const normalized = hasSentinel ? line : line.trim();
328
+ return decodeEncodedWhitespace ? decodePreservedWhitespace(normalized) : normalized;
329
+ });
330
+ }
331
+ /**
332
+ * Serializes canonical plain-mode lines into paragraph-per-line HTML.
333
+ *
334
+ * Built as a string rather than via DOM `outerHTML` serialization, which collapses
335
+ * consecutive spaces in non-`<pre>` text nodes and would lose intentional whitespace.
336
+ *
337
+ * @param {string[]} lines Canonical plain-mode lines from {@link toPlainPasteLines}.
338
+ * @returns {string} Paragraph HTML where each line is an individual paragraph.
339
+ */
340
+ function plainPasteLinesToHtml(lines) {
341
+ return lines.map((line) => `<p>${escapeHtml(line)}</p>`).join('');
342
+ }
266
343
 
267
344
  /**
268
345
  * Abstract strategy class for filtering default styles in the rich text editor.
@@ -537,7 +614,7 @@ class Predicate {
537
614
  * @returns {boolean} True if the block or node instance is a text node and has a link annotation, false otherwise.
538
615
  */
539
616
  static isLinkNode(blockOrNodeInstance) {
540
- return (this.isTextNode(blockOrNodeInstance.dtoName) &&
617
+ return (this.isTextNode(blockOrNodeInstance.typeName) &&
541
618
  !!blockOrNodeInstance.getAnnotationByType(exports.NodeAnnotationTypeEnum.LINK));
542
619
  }
543
620
  /**
@@ -547,7 +624,7 @@ class Predicate {
547
624
  * @returns {boolean} True if the block or node instance is a code node, false otherwise.
548
625
  */
549
626
  static isCodeNode(blockOrNodeInstance) {
550
- if (this.isTextNode(blockOrNodeInstance.dtoName)) {
627
+ if (this.isTextNode(blockOrNodeInstance.typeName)) {
551
628
  const codeAnnotation = blockOrNodeInstance.getAnnotationByType(exports.NodeAnnotationTypeEnum.CODE);
552
629
  return !!codeAnnotation && codeAnnotation.code;
553
630
  }
@@ -560,7 +637,7 @@ class Predicate {
560
637
  * @returns {boolean} True if the block or node instance is an image node, false otherwise.
561
638
  */
562
639
  static isImageNode(blockOrNodeInstance) {
563
- return blockOrNodeInstance.dtoName === 'RTEImageNode';
640
+ return blockOrNodeInstance.typeName === 'RTEImageNode';
564
641
  }
565
642
  /**
566
643
  * Check if the given block or node instance is a code block node, which is defined as an instance of RTECodeBlockNode.
@@ -569,7 +646,7 @@ class Predicate {
569
646
  * @returns {boolean} True if the block or node instance is a code block node, false otherwise.
570
647
  */
571
648
  static isCodeBlockNode(blockOrNodeInstance) {
572
- return blockOrNodeInstance.dtoName === 'RTECodeBlockNode';
649
+ return blockOrNodeInstance.typeName === 'RTECodeBlockNode';
573
650
  }
574
651
  }
575
652
  Predicate.RTE_TEXT_NODE_CLASS_NAME = 'RTETextNode';
@@ -749,7 +826,9 @@ class LinkGroupAnnotation extends Annotation {
749
826
  getAttribute(linkAnnotation) {
750
827
  const { href, customAttribute = {} } = linkAnnotation.link;
751
828
  const useInternalStyle = linkAnnotation.useInternalStyle;
752
- const target = customAttribute.target || (useInternalStyle ? '_blank' : '');
829
+ const target = (href === null || href === void 0 ? void 0 : href.startsWith('#'))
830
+ ? '_self'
831
+ : customAttribute.target || (useInternalStyle ? '_blank' : '');
753
832
  return Object.assign(Object.assign(Object.assign({}, customAttribute), (href ? { href } : useInternalStyle ? { href } : {})), (target ? { target } : {}));
754
833
  }
755
834
  /**
@@ -939,8 +1018,8 @@ class ActionHandlerInterceptorRegistry {
939
1018
  * @returns {Nullable<ActionHandlerInterceptor<T, target>>} - The action handler interceptor instance or null if not found.
940
1019
  */
941
1020
  static get(action, targetClass) {
942
- const targetClassName = targetClass.constructor.name;
943
- const actionType = action instanceof ModifyContentAction ? action.type : action.constructor.name;
1021
+ const targetClassName = targetClass.typeName;
1022
+ const actionType = action instanceof ModifyContentAction ? action.type : action.typeName;
944
1023
  const strategyMap = this.registry.get(targetClassName);
945
1024
  if (strategyMap) {
946
1025
  const set = strategyMap.get(actionType);
@@ -1010,14 +1089,14 @@ class ActionHandleStrategyRegistry {
1010
1089
  const interceptor = ActionHandlerInterceptorRegistry.get(action, RTEInstance);
1011
1090
  // eslint-disable-next-line jsdoc/require-jsdoc
1012
1091
  const executeStrategy = () => {
1013
- const actionType = action instanceof ModifyContentAction ? action.type : action.constructor.name;
1014
- const strategy = ActionHandleStrategyRegistry.get(actionType, RTEInstance.constructor.name);
1092
+ const actionType = action instanceof ModifyContentAction ? action.type : action.typeName;
1093
+ const strategy = ActionHandleStrategyRegistry.get(actionType, RTEInstance.typeName);
1015
1094
  if (strategy) {
1016
1095
  action['executedFlag'] = true;
1017
1096
  return strategy.execute(action, RTEInstance);
1018
1097
  }
1019
1098
  else {
1020
- globalSlimmerRegistry.LogUtility.warn(`Type ${actionType} action handle strategy is not registered in class ${RTEInstance.constructor.name}`);
1099
+ globalSlimmerRegistry.LogUtility.warn(`Type ${actionType} action handle strategy is not registered in class ${RTEInstance.typeName}`);
1021
1100
  }
1022
1101
  };
1023
1102
  if (interceptor) {
@@ -1035,7 +1114,7 @@ class ActionHandleStrategyRegistry {
1035
1114
  * @returns {boolean} - Whether the action type can be handled by the strategy.
1036
1115
  */
1037
1116
  static canHandle(actionType, RTEInstance) {
1038
- const strategy = ActionHandleStrategyRegistry.get(actionType, RTEInstance.constructor.name);
1117
+ const strategy = ActionHandleStrategyRegistry.get(actionType, RTEInstance.typeName);
1039
1118
  return strategy ? true : false;
1040
1119
  }
1041
1120
  }
@@ -1390,7 +1469,7 @@ class RTEFilterStylesStrategyRegistry {
1390
1469
  * Registers a filter styles strategy for a specific DTO class name.
1391
1470
  * Duplicate strategy instances are ignored.
1392
1471
  *
1393
- * @param {string} dtoClassName - The DTO class name (e.g. `RTEListBlock.name`).
1472
+ * @param {string} dtoClassName - The DTO class name (e.g. `RTEListBlock.typeName`).
1394
1473
  * @param {RTEFilterStylesStrategy} strategy - The strategy instance to register.
1395
1474
  */
1396
1475
  static register(dtoClassName, strategy) {
@@ -1419,7 +1498,7 @@ class RTEFilterStylesStrategyRegistry {
1419
1498
  * The instance is also passed to matched strategies so they can make decisions from DTO annotations.
1420
1499
  */
1421
1500
  static executeTheStrategyFilterAction(blockOrNodeInstance, styles, classNames) {
1422
- const dtoClassName = blockOrNodeInstance.dtoName;
1501
+ const dtoClassName = blockOrNodeInstance.typeName;
1423
1502
  const strategies = this.getStrategies(dtoClassName);
1424
1503
  const matchedStrategies = strategies.filter((strategy) => {
1425
1504
  return strategy.canFilter(blockOrNodeInstance);
@@ -1485,14 +1564,10 @@ exports.NodeTypeEnum = void 0;
1485
1564
  /**
1486
1565
  * Abstract class for all nodes
1487
1566
  */
1488
- class RTENode {
1567
+ class RTENode extends discriminated.Discriminated {
1489
1568
  constructor(id, annotationMap) {
1569
+ super();
1490
1570
  this.annotationMap = new Map();
1491
- /**
1492
- * Minimize-safe type discriminator. Each concrete sub-class declares its own
1493
- * `static readonly dtoName = 'ClassName'`.
1494
- */
1495
- this.dtoName = this.constructor.name;
1496
1571
  this.id = id;
1497
1572
  if (annotationMap) {
1498
1573
  this.annotationMap = annotationMap;
@@ -1506,7 +1581,7 @@ class RTENode {
1506
1581
  * @param {VegaRTETransformOptions} options - Options for transforming the node.
1507
1582
  */
1508
1583
  static from(json, parentBlock, options) {
1509
- throw new Error(`[Vega] ${this.constructor.name}.from(${JSON.stringify(json)}, ${parentBlock}, ${options}) is not implemented. Please implement this method in the subclass.`);
1584
+ throw new Error(`[Vega] ${this.typeName}.from(${JSON.stringify(json)}, ${parentBlock}, ${options}) is not implemented. Please implement this method in the subclass.`);
1510
1585
  }
1511
1586
  /**
1512
1587
  * Creates different types of text annotations based on the provided type and value.
@@ -1695,6 +1770,7 @@ class RTENode {
1695
1770
  doModifyActionApply(action) {
1696
1771
  }
1697
1772
  }
1773
+ RTENode.typeName = 'RTENode';
1698
1774
 
1699
1775
  /**
1700
1776
  * RTEDTOClassManager is a singleton class that manages the registration and retrieval of RTE DTO classes.
@@ -1749,14 +1825,10 @@ const RTEDTOClassManager$1 = new RTEDTOClassManager();
1749
1825
  /**
1750
1826
  * Abstract class for block
1751
1827
  */
1752
- class RTEBlock {
1828
+ class RTEBlock extends discriminated.Discriminated {
1753
1829
  constructor(id) {
1830
+ super();
1754
1831
  this.annotationMap = new Map();
1755
- /**
1756
- * Minimize-safe type discriminator. Each concrete sub-class declares its own
1757
- * `static readonly dtoName = 'ClassName'`.
1758
- */
1759
- this.dtoName = this.constructor.name;
1760
1832
  this.id = id;
1761
1833
  }
1762
1834
  /**
@@ -1766,7 +1838,7 @@ class RTEBlock {
1766
1838
  * @param {VegaRTETransformOptions} options - Options for transforming the block.
1767
1839
  */
1768
1840
  static from(json, options) {
1769
- throw new Error(`[Vega] ${this.constructor.name}.from(${JSON.stringify(json)}, ${options}) is not implemented. Please implement this method in the subclass.`);
1841
+ throw new Error(`[Vega] ${this.typeName}.from(${JSON.stringify(json)}, ${options}) is not implemented. Please implement this method in the subclass.`);
1770
1842
  }
1771
1843
  /**
1772
1844
  * Generates block children from an array of VegaRTEContentBlock.
@@ -2019,7 +2091,7 @@ class RTEBlock {
2019
2091
  this.doAnnotationActionApply(action);
2020
2092
  }
2021
2093
  else {
2022
- const strategy = ActionHandleStrategyRegistry.get(action.constructor.name, this.constructor.name);
2094
+ const strategy = ActionHandleStrategyRegistry.get(action.typeName, this.typeName);
2023
2095
  if (strategy) {
2024
2096
  strategy.execute(action, this);
2025
2097
  }
@@ -2034,6 +2106,7 @@ class RTEBlock {
2034
2106
  return new Map(Array.from(this.annotationMap.entries()).map(([key, value]) => [key, value.clone()]));
2035
2107
  }
2036
2108
  }
2109
+ RTEBlock.typeName = 'RTEBlock';
2037
2110
 
2038
2111
  /**
2039
2112
  * Append children to a block or rte content
@@ -2133,8 +2206,9 @@ class TextStyleAnnotation extends BlockAnnotation {
2133
2206
  /**
2134
2207
  * Abstract class for annotation actions
2135
2208
  */
2136
- class AnnotationAction {
2209
+ class AnnotationAction extends discriminated.Discriminated {
2137
2210
  }
2211
+ AnnotationAction.typeName = 'AnnotationAction';
2138
2212
 
2139
2213
  /**
2140
2214
  * Action to change the text style of a block
@@ -2155,6 +2229,7 @@ class TextStyleAnnotationAction extends AnnotationAction {
2155
2229
  return new TextStyleAnnotation(this.textStyle);
2156
2230
  }
2157
2231
  }
2232
+ TextStyleAnnotationAction.typeName = 'TextStyleAnnotationAction';
2158
2233
 
2159
2234
  /**
2160
2235
  * Annotation to make text a link
@@ -2227,6 +2302,7 @@ class TextSplittableAction extends AnnotationAction {
2227
2302
  this.doSplit = true;
2228
2303
  }
2229
2304
  }
2305
+ TextSplittableAction.typeName = 'TextSplittableAction';
2230
2306
 
2231
2307
  /**
2232
2308
  * Action to toggle link annotation
@@ -2252,6 +2328,7 @@ class LinkAnnotationAction extends TextSplittableAction {
2252
2328
  return new LinkAnnotation(this.link);
2253
2329
  }
2254
2330
  }
2331
+ LinkAnnotationAction.typeName = 'LinkAnnotationAction';
2255
2332
 
2256
2333
  /**
2257
2334
  * Action to link a group of nodes
@@ -2273,6 +2350,7 @@ class LinkGroupAnnotationAction extends AnnotationAction {
2273
2350
  return new LinkGroupAnnotation(this.groupKey);
2274
2351
  }
2275
2352
  }
2353
+ LinkGroupAnnotationAction.typeName = 'LinkGroupAnnotationAction';
2276
2354
 
2277
2355
  /**
2278
2356
  * Default CSS style values produced by inline text-formatting annotations.
@@ -2315,6 +2393,12 @@ class BoldAnnotation extends NodeAnnotation {
2315
2393
  static from(bold) {
2316
2394
  return [exports.NodeAnnotationTypeEnum.BOLD, new BoldAnnotation(bold)];
2317
2395
  }
2396
+ /**
2397
+ * @inheritDoc
2398
+ */
2399
+ get isFormattingOnly() {
2400
+ return true;
2401
+ }
2318
2402
  /**
2319
2403
  * Generate the JSON representation of the annotation
2320
2404
  *
@@ -2367,6 +2451,7 @@ class BoldAnnotationAction extends TextSplittableAction {
2367
2451
  return new BoldAnnotation(this.bold);
2368
2452
  }
2369
2453
  }
2454
+ BoldAnnotationAction.typeName = 'BoldAnnotationAction';
2370
2455
 
2371
2456
  /**
2372
2457
  * Delete the node annotation by type
@@ -2386,6 +2471,7 @@ class DeleteNodeAnnotationAction extends AnnotationAction {
2386
2471
  return undefined;
2387
2472
  }
2388
2473
  }
2474
+ DeleteNodeAnnotationAction.typeName = 'DeleteNodeAnnotationAction';
2389
2475
 
2390
2476
  /**
2391
2477
  * The base action handle strategy class, use to modify the rich text node content or modify the annotation.
@@ -2400,7 +2486,8 @@ class ActionHandleStrategy {
2400
2486
  * @returns {R} - The invoke result in special strategy.
2401
2487
  */
2402
2488
  execute(action, target) {
2403
- globalSlimmerRegistry.LogUtility.log(`Executing action ${action.constructor.name} on ${target.constructor.name} ${target['id']}`);
2489
+ const actionType = action instanceof ModifyContentAction ? action.type : action.typeName;
2490
+ globalSlimmerRegistry.LogUtility.log(`Executing action ${actionType} on ${target.typeName} ${target['id']}`);
2404
2491
  return this.handleAction(action, target);
2405
2492
  }
2406
2493
  /**
@@ -2441,7 +2528,7 @@ class ActionHandleStrategy {
2441
2528
  getRootContent(child) {
2442
2529
  const parent = child.parent;
2443
2530
  if (parent) {
2444
- if (parent.dtoName === 'VegaRTEContent') {
2531
+ if (parent.typeName === 'VegaRTEContent') {
2445
2532
  return parent;
2446
2533
  }
2447
2534
  else {
@@ -2695,6 +2782,12 @@ class SelectionRangeAnnotation extends Annotation {
2695
2782
  this.type = exports.InternalAnnotationTypeEnum.SELECTION_RANGE;
2696
2783
  this.range = range;
2697
2784
  }
2785
+ /**
2786
+ * @inheritDoc
2787
+ */
2788
+ get isFormattingOnly() {
2789
+ return true;
2790
+ }
2698
2791
  /**
2699
2792
  * Clone the selection range annotation
2700
2793
  *
@@ -2723,6 +2816,12 @@ class StrikethroughAnnotation extends NodeAnnotation {
2723
2816
  static from(strikethrough) {
2724
2817
  return [exports.NodeAnnotationTypeEnum.STRIKETHROUGH, new StrikethroughAnnotation(strikethrough)];
2725
2818
  }
2819
+ /**
2820
+ * @inheritDoc
2821
+ */
2822
+ get isFormattingOnly() {
2823
+ return true;
2824
+ }
2726
2825
  /**
2727
2826
  * Generate the JSON representation of the annotation
2728
2827
  *
@@ -2775,6 +2874,12 @@ class UnderlineAnnotation extends NodeAnnotation {
2775
2874
  static from(underline) {
2776
2875
  return [exports.NodeAnnotationTypeEnum.UNDERLINE, new UnderlineAnnotation(underline)];
2777
2876
  }
2877
+ /**
2878
+ * @inheritDoc
2879
+ */
2880
+ get isFormattingOnly() {
2881
+ return true;
2882
+ }
2778
2883
  /**
2779
2884
  * Generate the JSON representation of the annotation
2780
2885
  *
@@ -2827,6 +2932,12 @@ class ItalicAnnotation extends NodeAnnotation {
2827
2932
  static from(italic) {
2828
2933
  return [exports.NodeAnnotationTypeEnum.ITALIC, new ItalicAnnotation(italic)];
2829
2934
  }
2935
+ /**
2936
+ * @inheritDoc
2937
+ */
2938
+ get isFormattingOnly() {
2939
+ return true;
2940
+ }
2830
2941
  /**
2831
2942
  * Generate the JSON representation of the annotation
2832
2943
  *
@@ -2892,6 +3003,12 @@ class CodeAnnotation extends NodeAnnotation {
2892
3003
  whiteSpace: CODE_WHITE_SPACE,
2893
3004
  };
2894
3005
  }
3006
+ /**
3007
+ * @inheritDoc
3008
+ */
3009
+ get isFormattingOnly() {
3010
+ return true;
3011
+ }
2895
3012
  /**
2896
3013
  * Generate the JSON representation of the annotation
2897
3014
  *
@@ -3025,12 +3142,16 @@ const RTE_BLOCK_BOUNDARY_ATTRIBUTE = 'data-vega-rte-block-boundary';
3025
3142
  * whether to preserve the original inline styles.
3026
3143
  */
3027
3144
  const RTE_PASTE_MODE_DATA_TYPE = 'application/x-vega-rte-paste-mode';
3145
+ /** Marks synthetic plain-paste text whose preserved-whitespace sentinels require decoding. */
3146
+ const RTE_PRESERVED_WHITESPACE_DATA_TYPE = 'application/x-vega-rte-preserved-whitespace';
3028
3147
  /**
3029
3148
  * Custom DataTransfer MIME type value used to indicate that the paste content
3030
3149
  * originated from Microsoft Word.
3031
3150
  */
3032
3151
  const RTE_PASTE_MODE_WORD = 'word';
3033
3152
  const RTE_WORD_COUNT_KEY = 'rte-word-count';
3153
+ /** Custom paste mode value used to insert clipboard content without formatting. */
3154
+ const RTE_PASTE_MODE_PLAIN = 'plain';
3034
3155
 
3035
3156
  /**
3036
3157
  * Annotation to make text with text color
@@ -3050,6 +3171,12 @@ class TextColorAnnotation extends NodeAnnotation {
3050
3171
  static from(textColor) {
3051
3172
  return [exports.NodeAnnotationTypeEnum.TEXT_COLOR, new TextColorAnnotation(textColor)];
3052
3173
  }
3174
+ /**
3175
+ * @inheritDoc
3176
+ */
3177
+ get isFormattingOnly() {
3178
+ return true;
3179
+ }
3053
3180
  /**
3054
3181
  * Generate the JSON representation of the annotation
3055
3182
  *
@@ -3108,6 +3235,7 @@ class SyncUpSelectionAction extends AnnotationAction {
3108
3235
  return null;
3109
3236
  }
3110
3237
  }
3238
+ SyncUpSelectionAction.typeName = 'SyncUpSelectionAction';
3111
3239
 
3112
3240
  /**
3113
3241
  * Split the corresponding link group nodes *
@@ -3294,6 +3422,7 @@ class ClearFormattingAnnotationAction extends TextSplittableAction {
3294
3422
  return new ClearFormattingAnnotation();
3295
3423
  }
3296
3424
  }
3425
+ ClearFormattingAnnotationAction.typeName = 'ClearFormattingAnnotationAction';
3297
3426
 
3298
3427
  /**
3299
3428
  * Action to toggle code annotation
@@ -3313,6 +3442,7 @@ class CodeAnnotationAction extends TextSplittableAction {
3313
3442
  return new CodeAnnotation(this.code);
3314
3443
  }
3315
3444
  }
3445
+ CodeAnnotationAction.typeName = 'CodeAnnotationAction';
3316
3446
 
3317
3447
  /**
3318
3448
  * Action to toggle the italic annotation
@@ -3332,6 +3462,7 @@ class ItalicAnnotationAction extends TextSplittableAction {
3332
3462
  return new ItalicAnnotation(this.italic);
3333
3463
  }
3334
3464
  }
3465
+ ItalicAnnotationAction.typeName = 'ItalicAnnotationAction';
3335
3466
 
3336
3467
  /**
3337
3468
  * Action to toggle the strikethrough annotation
@@ -3351,6 +3482,7 @@ class StrikethroughAnnotationAction extends TextSplittableAction {
3351
3482
  return new StrikethroughAnnotation(this.strikethrough);
3352
3483
  }
3353
3484
  }
3485
+ StrikethroughAnnotationAction.typeName = 'StrikethroughAnnotationAction';
3354
3486
 
3355
3487
  /**
3356
3488
  * Action to toggle the underline annotation
@@ -3370,6 +3502,7 @@ class UnderlineAnnotationAction extends TextSplittableAction {
3370
3502
  return new UnderlineAnnotation(this.underline);
3371
3503
  }
3372
3504
  }
3505
+ UnderlineAnnotationAction.typeName = 'UnderlineAnnotationAction';
3373
3506
 
3374
3507
  /**
3375
3508
  * The current strategy used to modify the text node annotation map.
@@ -3659,6 +3792,12 @@ class PlainTextAnnotation extends NodeAnnotation {
3659
3792
  static from(plainText) {
3660
3793
  return [exports.NodeAnnotationTypeEnum.PLAIN_TEXT, new PlainTextAnnotation(plainText)];
3661
3794
  }
3795
+ /**
3796
+ * @inheritDoc
3797
+ */
3798
+ get isFormattingOnly() {
3799
+ return true;
3800
+ }
3662
3801
  /**
3663
3802
  * @inheritDoc
3664
3803
  */
@@ -3703,6 +3842,7 @@ class TextColorAnnotationAction extends TextSplittableAction {
3703
3842
  return new TextColorAnnotation(this.textColor);
3704
3843
  }
3705
3844
  }
3845
+ TextColorAnnotationAction.typeName = 'TextColorAnnotationAction';
3706
3846
 
3707
3847
  /**
3708
3848
  * Text node
@@ -3710,7 +3850,6 @@ class TextColorAnnotationAction extends TextSplittableAction {
3710
3850
  class RTETextNode extends RTENode {
3711
3851
  constructor(id, text, parentBlock, annotationMap) {
3712
3852
  super(id, annotationMap);
3713
- this.dtoName = RTETextNode.dtoName;
3714
3853
  this.type = exports.NodeTypeEnum.TEXT;
3715
3854
  this.parent = parentBlock;
3716
3855
  this.text = text;
@@ -3946,24 +4085,24 @@ class RTETextNode extends RTENode {
3946
4085
  * Registers the action strategies for the RTETextNode.
3947
4086
  */
3948
4087
  registerModifyStrategy() {
3949
- const dtoClassName = this.constructor.name;
4088
+ const dtoClassName = this.typeName;
3950
4089
  if (!RTETextNode.registerActionStrategyStatus[dtoClassName]) {
3951
4090
  if (this.isContentEditable()) {
3952
4091
  ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.UPDATE_TEXT, dtoClassName, new NodeUpdateTextStrategy());
3953
4092
  ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.REPLACE_SELECTED_TEXT, dtoClassName, new NodeReplaceSelectedTextStrategy());
3954
4093
  ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.LINK_GROUP_NODE_SPLIT, dtoClassName, new LinkGroupNodeSplitStrategy());
3955
- ActionHandleStrategyRegistry.register(LinkAnnotationAction.name, dtoClassName, new NodeUpdateAnnotationMapStrategy());
4094
+ ActionHandleStrategyRegistry.register(LinkAnnotationAction.typeName, dtoClassName, new NodeUpdateAnnotationMapStrategy());
3956
4095
  }
3957
- ActionHandleStrategyRegistry.register(TextSplittableAction.name, dtoClassName, new NodeSplitTextStrategy());
4096
+ ActionHandleStrategyRegistry.register(TextSplittableAction.typeName, dtoClassName, new NodeSplitTextStrategy());
3958
4097
  ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.DELETE_LINK_GROUP, dtoClassName, new DeleteLinkGroupStrategy());
3959
- ActionHandleStrategyRegistry.register(BoldAnnotationAction.name, dtoClassName, new NodeUpdateAnnotationMapStrategy());
3960
- ActionHandleStrategyRegistry.register(ClearFormattingAnnotationAction.name, dtoClassName, new NodeUpdateAnnotationMapStrategy());
3961
- ActionHandleStrategyRegistry.register(ItalicAnnotationAction.name, dtoClassName, new NodeUpdateAnnotationMapStrategy());
3962
- ActionHandleStrategyRegistry.register(UnderlineAnnotationAction.name, dtoClassName, new NodeUpdateAnnotationMapStrategy());
3963
- ActionHandleStrategyRegistry.register(TextColorAnnotationAction.name, dtoClassName, new NodeUpdateAnnotationMapStrategy());
3964
- ActionHandleStrategyRegistry.register(StrikethroughAnnotationAction.name, dtoClassName, new NodeUpdateAnnotationMapStrategy());
3965
- ActionHandleStrategyRegistry.register(CodeAnnotationAction.name, dtoClassName, new NodeUpdateAnnotationMapStrategy());
3966
- ActionHandleStrategyRegistry.register(AnnotationAction.name, dtoClassName, new NodeUpdateAnnotationMapStrategy());
4098
+ ActionHandleStrategyRegistry.register(BoldAnnotationAction.typeName, dtoClassName, new NodeUpdateAnnotationMapStrategy());
4099
+ ActionHandleStrategyRegistry.register(ClearFormattingAnnotationAction.typeName, dtoClassName, new NodeUpdateAnnotationMapStrategy());
4100
+ ActionHandleStrategyRegistry.register(ItalicAnnotationAction.typeName, dtoClassName, new NodeUpdateAnnotationMapStrategy());
4101
+ ActionHandleStrategyRegistry.register(UnderlineAnnotationAction.typeName, dtoClassName, new NodeUpdateAnnotationMapStrategy());
4102
+ ActionHandleStrategyRegistry.register(TextColorAnnotationAction.typeName, dtoClassName, new NodeUpdateAnnotationMapStrategy());
4103
+ ActionHandleStrategyRegistry.register(StrikethroughAnnotationAction.typeName, dtoClassName, new NodeUpdateAnnotationMapStrategy());
4104
+ ActionHandleStrategyRegistry.register(CodeAnnotationAction.typeName, dtoClassName, new NodeUpdateAnnotationMapStrategy());
4105
+ ActionHandleStrategyRegistry.register(AnnotationAction.typeName, dtoClassName, new NodeUpdateAnnotationMapStrategy());
3967
4106
  RTETextNode.registerActionStrategyStatus[dtoClassName] = true;
3968
4107
  }
3969
4108
  }
@@ -3973,7 +4112,7 @@ class RTETextNode extends RTENode {
3973
4112
  doAnnotationActionApply(action) {
3974
4113
  const selectionRangeAnnotation = this.getAnnotationByType(exports.InternalAnnotationTypeEnum.SELECTION_RANGE);
3975
4114
  if (action instanceof TextSplittableAction && action.doSplit && selectionRangeAnnotation) {
3976
- const splitStrategy = ActionHandleStrategyRegistry.get(TextSplittableAction.name, this.constructor.name);
4115
+ const splitStrategy = ActionHandleStrategyRegistry.get(TextSplittableAction.typeName, this.typeName);
3977
4116
  if (splitStrategy) {
3978
4117
  const newNode = splitStrategy.execute(action, this);
3979
4118
  if (newNode) {
@@ -4014,12 +4153,12 @@ class RTETextNode extends RTENode {
4014
4153
  * 1. Try to get the specific strategy for the action and node type first (e.g., LinkAnnotationAction on RTETextNode).
4015
4154
  * 2. If no specific strategy found, try to get the generic NodeUpdateAnnotationMapStrategy for AnnotationAction on RTETextNode.
4016
4155
  */
4017
- const strategy = ActionHandleStrategyRegistry.get(action.constructor.name, node.constructor.name);
4156
+ const strategy = ActionHandleStrategyRegistry.get(action.typeName, node.typeName);
4018
4157
  if (strategy) {
4019
4158
  strategy.execute(action, node);
4020
4159
  return;
4021
4160
  }
4022
- const updateAnnotationMapStrategy = ActionHandleStrategyRegistry.get(AnnotationAction.name, RTETextNode.name);
4161
+ const updateAnnotationMapStrategy = ActionHandleStrategyRegistry.get(AnnotationAction.typeName, RTETextNode.typeName);
4023
4162
  if (updateAnnotationMapStrategy) {
4024
4163
  updateAnnotationMapStrategy.execute(action, node);
4025
4164
  return;
@@ -4089,12 +4228,27 @@ class RTETextNode extends RTENode {
4089
4228
  if (this.text === '\n') {
4090
4229
  return `<br>`;
4091
4230
  }
4231
+ if (this.shouldSkipEmptyFormattingMarker()) {
4232
+ return '';
4233
+ }
4092
4234
  if (this.shouldRenderAsPlainText()) {
4093
4235
  return this.text;
4094
4236
  }
4095
4237
  const content = NodeTag === 'code' ? escapeHtml(this.text) : this.text;
4096
4238
  return `<${NodeTag}${attrStr}>${content}</${NodeTag}>`;
4097
4239
  }
4240
+ /**
4241
+ * Formatting toggles at a collapsed caret intentionally keep empty marker
4242
+ * nodes in the live model so future typing inherits the pending style. Those
4243
+ * nodes are not semantic content and should not appear in serialized HTML.
4244
+ *
4245
+ * @returns {boolean} True when the node is an empty formatting-only marker that should be omitted from serialized HTML.
4246
+ */
4247
+ shouldSkipEmptyFormattingMarker() {
4248
+ return (this.text === '' &&
4249
+ this.annotationMap.size > 0 &&
4250
+ Array.from(this.annotationMap.values()).every((annotation) => annotation.isFormattingOnly));
4251
+ }
4098
4252
  /**
4099
4253
  * Determines if the text node should be rendered as plain text.
4100
4254
  *
@@ -4116,7 +4270,7 @@ class RTETextNode extends RTENode {
4116
4270
  }
4117
4271
  RTETextNode.registerActionStrategyStatus = {};
4118
4272
  RTETextNode.htmlTag = 'span';
4119
- RTETextNode.dtoName = 'RTETextNode';
4273
+ RTETextNode.typeName = 'RTETextNode';
4120
4274
 
4121
4275
  /**
4122
4276
  * Append the second block child nodes to the first block child nodes and remove the second block strategy.
@@ -4349,13 +4503,13 @@ class BlockInsertImageIntoTextStrategy extends ActionHandleStrategy {
4349
4503
  * @returns {RTEBlock[]} Top-level selected blocks to emit into the rebuilt list.
4350
4504
  */
4351
4505
  function normalizeMixedListSelection(selectedBlocks, listType) {
4352
- const selectedListItems = new Set(selectedBlocks.filter((block) => block.dtoName === 'RTEListItemBlock'));
4506
+ const selectedListItems = new Set(selectedBlocks.filter((block) => block.typeName === 'RTEListItemBlock'));
4353
4507
  return selectedBlocks.filter((block) => {
4354
- if (!(block.dtoName === 'RTEListItemBlock')) {
4508
+ if (!(block.typeName === 'RTEListItemBlock')) {
4355
4509
  return true;
4356
4510
  }
4357
4511
  let parentList = block.parent;
4358
- while (parentList.parent && parentList.parent.dtoName === 'RTEListItemBlock') {
4512
+ while (parentList.parent && parentList.parent.typeName === 'RTEListItemBlock') {
4359
4513
  const ownerItem = parentList.parent;
4360
4514
  if (selectedListItems.has(ownerItem)) {
4361
4515
  block.parent.type = listType;
@@ -4412,6 +4566,7 @@ class HorizontalAlignmentAnnotationAction extends AnnotationAction {
4412
4566
  return new HorizontalAlignmentAnnotation(this.textAlign);
4413
4567
  }
4414
4568
  }
4569
+ HorizontalAlignmentAnnotationAction.typeName = 'HorizontalAlignmentAnnotationAction';
4415
4570
 
4416
4571
  /**
4417
4572
  * Update the text block and image block horizontal alignment strategy.
@@ -4461,6 +4616,7 @@ class IndentAnnotationAction extends AnnotationAction {
4461
4616
  return new IndentAnnotation(this.indent);
4462
4617
  }
4463
4618
  }
4619
+ IndentAnnotationAction.typeName = 'IndentAnnotationAction';
4464
4620
 
4465
4621
  /**
4466
4622
  * Unlink the text block link group annotation strategy.
@@ -4491,7 +4647,6 @@ class BlockUnlinkLinkGroupStrategy extends ActionHandleStrategy {
4491
4647
  class RTETextBlock extends RTEBlock {
4492
4648
  constructor(id, type, options) {
4493
4649
  super(id);
4494
- this.dtoName = RTETextBlock.dtoName;
4495
4650
  this.children = [];
4496
4651
  this.type = type;
4497
4652
  const { autoMatchFormat } = options || { autoMatchFormat: true };
@@ -4524,7 +4679,7 @@ class RTETextBlock extends RTEBlock {
4524
4679
  }
4525
4680
  /**
4526
4681
  * Convert raw node payloads to their registered `RTENode` subclasses via
4527
- * `RTEDTOClassManager`, preserving custom types (e.g. `RTETokenNode`).
4682
+ * `RTEDTOClassManager`, preserving custom types (e.g. `RTETokenNode`, `RTEBookmarkNode`).
4528
4683
  *
4529
4684
  * @param {VegaRTETextNode[]} nodes - Raw node payloads.
4530
4685
  * @param {RTETextBlock} parent - Parent block for the converted nodes.
@@ -4700,7 +4855,7 @@ class RTETextBlock extends RTEBlock {
4700
4855
  * @inheritDoc
4701
4856
  */
4702
4857
  doAnnotationActionApply(action) {
4703
- const strategy = ActionHandleStrategyRegistry.get(action.constructor.name, RTETextBlock.name);
4858
+ const strategy = ActionHandleStrategyRegistry.get(action.typeName, RTETextBlock.typeName);
4704
4859
  if (strategy) {
4705
4860
  strategy.execute(action, this);
4706
4861
  }
@@ -4782,21 +4937,22 @@ class RTETextBlock extends RTEBlock {
4782
4937
  return nodesHtml;
4783
4938
  }
4784
4939
  }
4940
+ RTETextBlock.typeName = 'RTETextBlock';
4941
+ // eslint-disable-next-line @globalpayments/vega-eslint/vega-class-member-order-rule
4785
4942
  (() => {
4786
- ActionHandleStrategyRegistry.register(TextStyleAnnotationAction.name, RTETextBlock.name, new BlockUpdateTextStyleStrategy());
4787
- ActionHandleStrategyRegistry.register(HorizontalAlignmentAnnotationAction.name, RTETextBlock.name, new BlockUpdateHorizontalAlignmentStrategy());
4788
- ActionHandleStrategyRegistry.register(IndentAnnotationAction.name, RTETextBlock.name, new BlockUpdateIndentStrategy());
4789
- ActionHandleStrategyRegistry.register(LinkGroupAnnotationAction.name, RTETextBlock.name, new BlockUpdateLinkGroupStrategy());
4790
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.UNLINK_LINK_GROUP, RTETextBlock.name, new BlockUnlinkLinkGroupStrategy());
4791
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.SPLIT_BLOCK_WITH_NODE, RTETextBlock.name, new BlockSplitWithTextNodeStrategy());
4792
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.REPLACE_CHILD_NODES, RTETextBlock.name, new BlockReplaceNodesStrategy());
4793
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.MERGE_TWO_BLOCKS_NODES, RTETextBlock.name, new BlockMergeNodesStrategy());
4794
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.LINE_BREAK_SINGLE_BLOCK, RTETextBlock.name, new BlockInsertLineBreakStrategy());
4795
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.LINE_BREAK_MULTIPLE_BLOCKS, RTETextBlock.name, new BlockInsertLineBreakWithBlocksStrategy());
4796
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.INSERT_IMAGE_TO_BLOCK, RTETextBlock.name, new BlockInsertImageIntoTextStrategy());
4797
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.TRANSFORM_LIST_BLOCK, RTETextBlock.name, new BlockTransformToListStrategy());
4943
+ ActionHandleStrategyRegistry.register(TextStyleAnnotationAction.typeName, RTETextBlock.typeName, new BlockUpdateTextStyleStrategy());
4944
+ ActionHandleStrategyRegistry.register(HorizontalAlignmentAnnotationAction.typeName, RTETextBlock.typeName, new BlockUpdateHorizontalAlignmentStrategy());
4945
+ ActionHandleStrategyRegistry.register(IndentAnnotationAction.typeName, RTETextBlock.typeName, new BlockUpdateIndentStrategy());
4946
+ ActionHandleStrategyRegistry.register(LinkGroupAnnotationAction.typeName, RTETextBlock.typeName, new BlockUpdateLinkGroupStrategy());
4947
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.UNLINK_LINK_GROUP, RTETextBlock.typeName, new BlockUnlinkLinkGroupStrategy());
4948
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.SPLIT_BLOCK_WITH_NODE, RTETextBlock.typeName, new BlockSplitWithTextNodeStrategy());
4949
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.REPLACE_CHILD_NODES, RTETextBlock.typeName, new BlockReplaceNodesStrategy());
4950
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.MERGE_TWO_BLOCKS_NODES, RTETextBlock.typeName, new BlockMergeNodesStrategy());
4951
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.LINE_BREAK_SINGLE_BLOCK, RTETextBlock.typeName, new BlockInsertLineBreakStrategy());
4952
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.LINE_BREAK_MULTIPLE_BLOCKS, RTETextBlock.typeName, new BlockInsertLineBreakWithBlocksStrategy());
4953
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.INSERT_IMAGE_TO_BLOCK, RTETextBlock.typeName, new BlockInsertImageIntoTextStrategy());
4954
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.TRANSFORM_LIST_BLOCK, RTETextBlock.typeName, new BlockTransformToListStrategy());
4798
4955
  })();
4799
- RTETextBlock.dtoName = 'RTETextBlock';
4800
4956
 
4801
4957
  /**
4802
4958
  * Remove list item nest list block strategy.
@@ -4952,7 +5108,6 @@ class ListItemInsertImageStrategy extends ActionHandleStrategy {
4952
5108
  class RTEListItemBlock extends RTETextBlock {
4953
5109
  constructor(id, nestList, options) {
4954
5110
  super(id, 'list-item', options);
4955
- this.dtoName = RTEListItemBlock.dtoName;
4956
5111
  /**
4957
5112
  * TODO: Refactor the list item properties children and nestList, merge two properties together.
4958
5113
  *
@@ -4971,6 +5126,7 @@ class RTEListItemBlock extends RTETextBlock {
4971
5126
  */
4972
5127
  static from(block, options = { autoMatchFormat: true }) {
4973
5128
  const listItemBlock = new RTEListItemBlock(block.id, undefined, options);
5129
+ // Do not coerce list nodes to text; bookmarks, tokens and other extension nodes are polymorphic text nodes.
4974
5130
  listItemBlock.children = RTEListItemBlock.convertNodes(block.nodes, listItemBlock, options);
4975
5131
  if (block.children) {
4976
5132
  listItemBlock.nestList = block.children.map((child) => {
@@ -5058,19 +5214,20 @@ class RTEListItemBlock extends RTETextBlock {
5058
5214
  return block;
5059
5215
  }
5060
5216
  }
5217
+ RTEListItemBlock.typeName = 'RTEListItemBlock';
5218
+ // eslint-disable-next-line @globalpayments/vega-eslint/vega-class-member-order-rule
5061
5219
  (() => {
5062
- ActionHandleStrategyRegistry.register(TextStyleAnnotationAction.name, RTEListItemBlock.name, new BlockUpdateTextStyleStrategy());
5063
- ActionHandleStrategyRegistry.register(HorizontalAlignmentAnnotationAction.name, RTEListItemBlock.name, new BlockUpdateHorizontalAlignmentStrategy());
5064
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.LINE_BREAK_SINGLE_BLOCK, RTEListItemBlock.name, new BlockInsertLineBreakStrategy());
5065
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.LINE_BREAK_MULTIPLE_BLOCKS, RTEListItemBlock.name, new BlockInsertLineBreakWithBlocksStrategy());
5066
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.DELETE_NEST_LIST, RTEListItemBlock.name, new ListItemRemoveNestListStrategy());
5067
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.SPLIT_BLOCK_WITH_NODE, RTEListItemBlock.name, new BlockSplitWithTextNodeStrategy());
5068
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.REPLACE_CHILD_NODES, RTEListItemBlock.name, new BlockReplaceNodesStrategy());
5069
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.REPLACE_NEST_LIST, RTEListItemBlock.name, new ListItemReplaceNestListStrategy());
5070
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.MERGE_TWO_BLOCKS_NODES, RTEListItemBlock.name, new BlockMergeNodesStrategy());
5071
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.INSERT_IMAGE_TO_BLOCK, RTEListItemBlock.name, new ListItemInsertImageStrategy());
5220
+ ActionHandleStrategyRegistry.register(TextStyleAnnotationAction.typeName, RTEListItemBlock.typeName, new BlockUpdateTextStyleStrategy());
5221
+ ActionHandleStrategyRegistry.register(HorizontalAlignmentAnnotationAction.typeName, RTEListItemBlock.typeName, new BlockUpdateHorizontalAlignmentStrategy());
5222
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.LINE_BREAK_SINGLE_BLOCK, RTEListItemBlock.typeName, new BlockInsertLineBreakStrategy());
5223
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.LINE_BREAK_MULTIPLE_BLOCKS, RTEListItemBlock.typeName, new BlockInsertLineBreakWithBlocksStrategy());
5224
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.DELETE_NEST_LIST, RTEListItemBlock.typeName, new ListItemRemoveNestListStrategy());
5225
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.SPLIT_BLOCK_WITH_NODE, RTEListItemBlock.typeName, new BlockSplitWithTextNodeStrategy());
5226
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.REPLACE_CHILD_NODES, RTEListItemBlock.typeName, new BlockReplaceNodesStrategy());
5227
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.REPLACE_NEST_LIST, RTEListItemBlock.typeName, new ListItemReplaceNestListStrategy());
5228
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.MERGE_TWO_BLOCKS_NODES, RTEListItemBlock.typeName, new BlockMergeNodesStrategy());
5229
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.INSERT_IMAGE_TO_BLOCK, RTEListItemBlock.typeName, new ListItemInsertImageStrategy());
5072
5230
  })();
5073
- RTEListItemBlock.dtoName = 'RTEListItemBlock';
5074
5231
 
5075
5232
  /**
5076
5233
  * Replace the nest list with new list array
@@ -5282,7 +5439,6 @@ class TransformParagraphAction extends ModifyContentAction {
5282
5439
  class RTEHtmlBlock extends RTEBlock {
5283
5440
  constructor(id, htmlTag) {
5284
5441
  super(id);
5285
- this.dtoName = RTEHtmlBlock.dtoName;
5286
5442
  this.type = 'html-block';
5287
5443
  this.children = [];
5288
5444
  this.htmlTag = htmlTag;
@@ -5353,7 +5509,7 @@ class RTEHtmlBlock extends RTEBlock {
5353
5509
  return Object.assign(Object.assign({}, super.toJSON()), { id: this.id, type: this.type, htmlTag: this.htmlTag, children: this.children.map((child) => child.toJSON()) });
5354
5510
  }
5355
5511
  }
5356
- RTEHtmlBlock.dtoName = 'RTEHtmlBlock';
5512
+ RTEHtmlBlock.typeName = 'RTEHtmlBlock';
5357
5513
 
5358
5514
  /**
5359
5515
  * Convert the selected list block to paragraph strategy.
@@ -5661,8 +5817,8 @@ class ListTransformToParagraphStrategy extends ListAnnotationStrategy {
5661
5817
  return null;
5662
5818
  }
5663
5819
  path.unshift(itemIndex);
5664
- if (currentList.parent.dtoName === 'VegaRTEContent' ||
5665
- currentList.parent.dtoName === 'RTEHtmlBlock') {
5820
+ if (currentList.parent.typeName === 'VegaRTEContent' ||
5821
+ currentList.parent.typeName === 'RTEHtmlBlock') {
5666
5822
  const containerPath = this.getContainerPath(currentList);
5667
5823
  return containerPath ? [...containerPath, ...path] : null;
5668
5824
  }
@@ -6073,7 +6229,6 @@ class ListAnnotation extends BlockAnnotation {
6073
6229
  class RTEListBlock extends RTEBlock {
6074
6230
  constructor(id, type, options) {
6075
6231
  super(id);
6076
- this.dtoName = RTEListBlock.dtoName;
6077
6232
  this.type = 'bullet-list';
6078
6233
  this.children = [];
6079
6234
  this.type = type;
@@ -6178,14 +6333,15 @@ class RTEListBlock extends RTEBlock {
6178
6333
  return this.type === 'number-list' ? 'ol' : 'ul';
6179
6334
  }
6180
6335
  }
6336
+ RTEListBlock.typeName = 'RTEListBlock';
6337
+ // eslint-disable-next-line @globalpayments/vega-eslint/vega-class-member-order-rule
6181
6338
  (() => {
6182
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.TRANSFORM_LIST_BLOCK, RTEListBlock.name, new ListTransformToListStrategy());
6183
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.TRANSFORM_PARAGRAPH_BLOCK, RTEListBlock.name, new ListTransformToParagraphStrategy());
6184
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.INSERT_IMAGE_TO_BLOCK, RTEListBlock.name, new ListInsertImageStrategy());
6185
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.NEST_LIST_ITEMS, RTEListBlock.name, new ListNestItemsStrategy());
6186
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.UNNEST_LIST_ITEMS, RTEListBlock.name, new ListUnnestItemsStrategy());
6339
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.TRANSFORM_LIST_BLOCK, RTEListBlock.typeName, new ListTransformToListStrategy());
6340
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.TRANSFORM_PARAGRAPH_BLOCK, RTEListBlock.typeName, new ListTransformToParagraphStrategy());
6341
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.INSERT_IMAGE_TO_BLOCK, RTEListBlock.typeName, new ListInsertImageStrategy());
6342
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.NEST_LIST_ITEMS, RTEListBlock.typeName, new ListNestItemsStrategy());
6343
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.UNNEST_LIST_ITEMS, RTEListBlock.typeName, new ListUnnestItemsStrategy());
6187
6344
  })();
6188
- RTEListBlock.dtoName = 'RTEListBlock';
6189
6345
 
6190
6346
  /**
6191
6347
  * The delete node content contains some common functions that used for image block delete the image node or text block delete text node.
@@ -6351,7 +6507,7 @@ class BlockDeleteNodeContentStrategy extends ActionHandleStrategy {
6351
6507
  * @returns {boolean} True if the block is not the root content block, false otherwise.
6352
6508
  */
6353
6509
  isRTEBlock(block) {
6354
- return block && block.dtoName !== 'VegaRTEContent';
6510
+ return block && block.typeName !== 'VegaRTEContent';
6355
6511
  }
6356
6512
  }
6357
6513
 
@@ -6501,6 +6657,7 @@ class SelectionChangeAction extends AnnotationAction {
6501
6657
  return new SelectionRangeAnnotation(this.range);
6502
6658
  }
6503
6659
  }
6660
+ SelectionChangeAction.typeName = 'SelectionChangeAction';
6504
6661
 
6505
6662
  /**
6506
6663
  * Update the code block node annotation map strategy.
@@ -6565,6 +6722,7 @@ class RTEDecoratorNode extends RTENode {
6565
6722
  return false;
6566
6723
  }
6567
6724
  }
6725
+ RTEDecoratorNode.typeName = 'RTEDecoratorNode';
6568
6726
  // CSS class names for the decorator node parent element
6569
6727
  RTEDecoratorNode.DECORATOR_CONTAINER_CLASS = 'v-internal-decorator-container';
6570
6728
  // CSS class names for the decorator node element
@@ -6622,7 +6780,6 @@ CodeBlockNodeFilterStylesStrategy.STYLES = {
6622
6780
  class RTECodeBlockNode extends RTEDecoratorNode {
6623
6781
  constructor(id, content, language, parentBlock) {
6624
6782
  super(id);
6625
- this.dtoName = RTECodeBlockNode.dtoName;
6626
6783
  this.type = exports.NodeTypeEnum.CODE_BLOCK_NODE;
6627
6784
  this.text = '';
6628
6785
  this.annotationMap = new Map();
@@ -6672,11 +6829,12 @@ class RTECodeBlockNode extends RTEDecoratorNode {
6672
6829
  ActionHandleStrategyRegistry.executeTheStrategy(action, this);
6673
6830
  }
6674
6831
  }
6832
+ RTECodeBlockNode.typeName = 'RTECodeBlockNode';
6833
+ // eslint-disable-next-line @globalpayments/vega-eslint/vega-class-member-order-rule
6675
6834
  (() => {
6676
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.UPDATE_CODE_BLOCK, RTECodeBlockNode.name, new UpdateCodeBlockStrategy());
6677
- ActionHandleStrategyRegistry.register(SelectionChangeAction.name, RTECodeBlockNode.name, new CodeNodeSetSelectionRangeAnnotationStrategy());
6835
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.UPDATE_CODE_BLOCK, RTECodeBlockNode.typeName, new UpdateCodeBlockStrategy());
6836
+ ActionHandleStrategyRegistry.register(SelectionChangeAction.typeName, RTECodeBlockNode.typeName, new CodeNodeSetSelectionRangeAnnotationStrategy());
6678
6837
  })();
6679
- RTECodeBlockNode.dtoName = 'RTECodeBlockNode';
6680
6838
 
6681
6839
  /**
6682
6840
  * Insert image behind after code block strategy.
@@ -6743,7 +6901,7 @@ class CodeBlockFilterStylesStrategy extends RTEFilterStylesStrategy {
6743
6901
  * @inheritDoc
6744
6902
  */
6745
6903
  canFilter(blockOrNodeInstance) {
6746
- return Predicate.isCodeBlock(blockOrNodeInstance.dtoName);
6904
+ return Predicate.isCodeBlock(blockOrNodeInstance.typeName);
6747
6905
  }
6748
6906
  /**
6749
6907
  * The code block styles is preset and will convert to vega-code-block element so we don't need to to refill styles back to element.
@@ -6774,7 +6932,6 @@ CodeBlockFilterStylesStrategy.STYLES = {
6774
6932
  class RTECodeBlock extends RTEBlock {
6775
6933
  constructor(id, content, language) {
6776
6934
  super(id);
6777
- this.dtoName = RTECodeBlock.dtoName;
6778
6935
  this.type = 'code-block';
6779
6936
  this.annotationMap = new Map([CustomStyleAnnotation.from(CodeBlockFilterStylesStrategy.STYLES)]);
6780
6937
  this.children = [new RTECodeBlockNode(`${id}-1`, content, language, this)];
@@ -6856,14 +7013,15 @@ class RTECodeBlock extends RTEBlock {
6856
7013
  return this.children[0].annotationMap.has(exports.InternalAnnotationTypeEnum.SELECTION_RANGE);
6857
7014
  }
6858
7015
  }
7016
+ RTECodeBlock.typeName = 'RTECodeBlock';
7017
+ // eslint-disable-next-line @globalpayments/vega-eslint/vega-class-member-order-rule
6859
7018
  (() => {
6860
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.DELETE_CODE_BLOCK, RTECodeBlock.name, new CodeBlockRemoveSelfStrategy());
6861
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.DELETE_CHILDREN, RTECodeBlock.name, new RemoveChildrenStrategy());
6862
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.SWITCH_OUT_FROM_CODE_BLOCK, RTECodeBlock.name, new SwitchOutFromCodeBlockStrategy());
6863
- ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.INSERT_IMAGE_TO_BLOCK, RTECodeBlock.name, new CodeBlockInsertImageStrategy());
7019
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.DELETE_CODE_BLOCK, RTECodeBlock.typeName, new CodeBlockRemoveSelfStrategy());
7020
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.DELETE_CHILDREN, RTECodeBlock.typeName, new RemoveChildrenStrategy());
7021
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.SWITCH_OUT_FROM_CODE_BLOCK, RTECodeBlock.typeName, new SwitchOutFromCodeBlockStrategy());
7022
+ ActionHandleStrategyRegistry.register(exports.ModifyContentActionType.INSERT_IMAGE_TO_BLOCK, RTECodeBlock.typeName, new CodeBlockInsertImageStrategy());
6864
7023
  })();
6865
7024
  RTECodeBlock.CODE_BLOCK_PLACEHOLDER_CLASS_NAME = 'code-block-placeholder-element';
6866
- RTECodeBlock.dtoName = 'RTECodeBlock';
6867
7025
 
6868
7026
  exports.ActionHandleStrategy = ActionHandleStrategy;
6869
7027
  exports.ActionHandleStrategyRegistry = ActionHandleStrategyRegistry;
@@ -6888,6 +7046,7 @@ exports.CommonAnnotation = CommonAnnotation;
6888
7046
  exports.CustomAttributeAnnotation = CustomAttributeAnnotation;
6889
7047
  exports.CustomClassAnnotation = CustomClassAnnotation;
6890
7048
  exports.CustomStyleAnnotation = CustomStyleAnnotation;
7049
+ exports.DeleteNodeAnnotationAction = DeleteNodeAnnotationAction;
6891
7050
  exports.HTML_VOID_TAGS = HTML_VOID_TAGS;
6892
7051
  exports.HorizontalAlignmentAnnotation = HorizontalAlignmentAnnotation;
6893
7052
  exports.HorizontalAlignmentAnnotationAction = HorizontalAlignmentAnnotationAction;
@@ -6901,6 +7060,8 @@ exports.LinkFilterStylesStrategy = LinkFilterStylesStrategy;
6901
7060
  exports.ListAnnotation = ListAnnotation;
6902
7061
  exports.ModifyContentAction = ModifyContentAction;
6903
7062
  exports.NodeAnnotation = NodeAnnotation;
7063
+ exports.PRESERVED_SPACE = PRESERVED_SPACE;
7064
+ exports.PRESERVED_TAB = PRESERVED_TAB;
6904
7065
  exports.Predicate = Predicate;
6905
7066
  exports.RTEAnnotationStyle = RTEAnnotationStyle;
6906
7067
  exports.RTEBlock = RTEBlock;
@@ -6921,7 +7082,9 @@ exports.RTE_DEFAULT_LINK_TYPE_KEY = RTE_DEFAULT_LINK_TYPE_KEY;
6921
7082
  exports.RTE_DEFAULT_TEXT_COLOR = RTE_DEFAULT_TEXT_COLOR;
6922
7083
  exports.RTE_EMAIL_LINK_TYPE_KEY = RTE_EMAIL_LINK_TYPE_KEY;
6923
7084
  exports.RTE_PASTE_MODE_DATA_TYPE = RTE_PASTE_MODE_DATA_TYPE;
7085
+ exports.RTE_PASTE_MODE_PLAIN = RTE_PASTE_MODE_PLAIN;
6924
7086
  exports.RTE_PASTE_MODE_WORD = RTE_PASTE_MODE_WORD;
7087
+ exports.RTE_PRESERVED_WHITESPACE_DATA_TYPE = RTE_PRESERVED_WHITESPACE_DATA_TYPE;
6925
7088
  exports.RTE_SUPPORTED_LINK_TYPE_KEYS = RTE_SUPPORTED_LINK_TYPE_KEYS;
6926
7089
  exports.RTE_TEXT_COLORS = RTE_TEXT_COLORS;
6927
7090
  exports.RTE_UPDATE_SOURCE_KEY = RTE_UPDATE_SOURCE_KEY;
@@ -6951,4 +7114,8 @@ exports.VegaRTEPresetToolbarItems = VegaRTEPresetToolbarItems;
6951
7114
  exports.ZERO_WIDTH_SPACE = ZERO_WIDTH_SPACE;
6952
7115
  exports.createStyleMapFromElement = createStyleMapFromElement;
6953
7116
  exports.escapeHtml = escapeHtml;
7117
+ exports.escapeHtmlAttribute = escapeHtmlAttribute;
7118
+ exports.normalizePlainTextLines = normalizePlainTextLines;
7119
+ exports.plainPasteLinesToHtml = plainPasteLinesToHtml;
6954
7120
  exports.stateEntityRenderingRegistry = stateEntityRenderingRegistry;
7121
+ exports.toPlainPasteLines = toPlainPasteLines;