@globalpayments/vega 2.91.0 → 2.92.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 (476) hide show
  1. package/dist/cjs/{app-globals-7bb10088.js → app-globals-2f326662.js} +13 -10
  2. package/dist/cjs/{child-nodes-event-prevent-slimmer-76d19d56.js → child-nodes-event-prevent-slimmer-b9a5b3e2.js} +1 -1
  3. package/dist/cjs/{code-block-c1039791.js → code-block-6435d641.js} +24 -1
  4. package/dist/cjs/{component-value-history-controller-slimmer.abstract-1d36641d.js → component-value-history-controller-slimmer.abstract-e4c9a5ba.js} +3 -3
  5. package/dist/cjs/{content-state-a6105949.js → content-state-96ec9114.js} +32 -3
  6. package/dist/cjs/copy-d021c780.js +7 -0
  7. package/dist/cjs/{date-required-rule-c4997459.js → date-required-rule-8c9e312b.js} +1 -1
  8. package/dist/cjs/{design-token-f65eab4a.js → design-token-3548af29.js} +3 -3
  9. package/dist/cjs/{element-appender-slimmer-316668d0.js → element-appender-slimmer-3bf69990.js} +3 -3
  10. package/dist/cjs/{file-uploader-required-rule-cc51d4ab.js → file-uploader-required-rule-5520bbec.js} +1 -1
  11. package/dist/cjs/{form-field-controller-slimmer-b0c35330.js → form-field-controller-slimmer-e0efac05.js} +1 -1
  12. package/dist/cjs/{image-annotation-action-e4596726.js → image-annotation-action-853f72c8.js} +2 -2
  13. package/dist/cjs/index-58ea899e.js +4 -0
  14. package/dist/cjs/index.cjs.js +25 -20
  15. package/dist/cjs/{inject-keyboard-manager-1f5bbb19.js → inject-keyboard-manager-0dccff1a.js} +1 -1
  16. package/dist/cjs/{internal-calendar-period-factory-9c66cf36.js → internal-calendar-period-factory-6187ec4c.js} +1 -1
  17. package/dist/cjs/{internal-translation-controller-5905469e.js → internal-translation-controller-48ebfd0f.js} +14 -0
  18. package/dist/cjs/{keyboard-manager-61e8ce38.js → keyboard-manager-dfe8d924.js} +1 -1
  19. package/dist/cjs/{keyboard-manager-slimmer-079a7e87.js → keyboard-manager-slimmer-4a2560a1.js} +1 -1
  20. package/dist/cjs/{link-extension-a7ac28f3.js → link-extension-28d95849.js} +3 -3
  21. package/dist/cjs/loader.cjs.js +14 -13
  22. package/dist/cjs/{month-view-generator-48215a05.js → month-view-generator-2e59b188.js} +1 -1
  23. package/dist/cjs/{public-rules-66540638.js → public-rules-8727c42c.js} +10 -10
  24. package/dist/cjs/{range-dea19a90.js → range-5cb3d1e4.js} +25 -3
  25. package/dist/cjs/{replace-selected-text-action-6d1ebbf9.js → replace-selected-text-action-a31563ed.js} +1 -1
  26. package/dist/cjs/{required-field-rule-b12a29e1.js → required-field-rule-400690c3.js} +1 -1
  27. package/dist/cjs/{responsive-format-facade-10ff730e.js → responsive-format-facade-98b89142.js} +2 -2
  28. package/dist/cjs/{rich-text-editor-required-rule-63492ca3.js → rich-text-editor-required-rule-8e4d577d.js} +1 -1
  29. package/dist/cjs/{split-cell-operation-30e5dd4a.js → split-cell-operation-9e3ab88d.js} +3 -3
  30. package/dist/cjs/{state-border-formatter-e7779964.js → state-border-formatter-626b0a14.js} +1 -1
  31. package/dist/cjs/{string-format-strategy.abstract-a22f0cb1.js → string-format-strategy.abstract-981f43e1.js} +1 -1
  32. package/dist/cjs/{string-input-formatter-slimmer-8179eb40.js → string-input-formatter-slimmer-fc4a0ba5.js} +1 -1
  33. package/dist/cjs/{string-mask-strategy-8b9bb0c1.js → string-mask-strategy-b47fa159.js} +2 -2
  34. package/dist/cjs/{style-formatter-380b9a86.js → style-formatter-baf18624.js} +2 -2
  35. package/dist/cjs/{time-required-rule-080d975b.js → time-required-rule-e77d174f.js} +1 -1
  36. package/dist/cjs/{token-extension-619379a3.js → token-extension-3aec039f.js} +1609 -15
  37. package/dist/cjs/{translation-slimmer-2af6f141.js → translation-slimmer-1e05769e.js} +1 -1
  38. package/dist/cjs/{type-guard-0171e779.js → type-guard-7ab48d6c.js} +1 -1
  39. package/dist/cjs/{valid-credit-card-number-rule-fdfca83e.js → valid-credit-card-number-rule-52ba9c67.js} +1 -1
  40. package/dist/cjs/vega-accordion.cjs.entry.js +18 -10
  41. package/dist/cjs/vega-app-header-button.cjs.entry.js +7 -7
  42. package/dist/cjs/vega-banner.cjs.entry.js +3 -6
  43. package/dist/cjs/vega-box.cjs.entry.js +7 -7
  44. package/dist/cjs/vega-breadcrumb.cjs.entry.js +2 -2
  45. package/dist/cjs/vega-button-circle.cjs.entry.js +7 -7
  46. package/dist/cjs/vega-button-group_2.cjs.entry.js +2 -2
  47. package/dist/cjs/vega-button-link.cjs.entry.js +2 -2
  48. package/dist/cjs/vega-button.cjs.entry.js +5 -5
  49. package/dist/cjs/vega-calendar_5.cjs.entry.js +9 -9
  50. package/dist/cjs/vega-card.cjs.entry.js +6 -6
  51. package/dist/cjs/vega-carousel.cjs.entry.js +4 -4
  52. package/dist/cjs/vega-checkbox_2.cjs.entry.js +5 -5
  53. package/dist/cjs/vega-chip.cjs.entry.js +7 -7
  54. package/dist/cjs/vega-code-block.cjs.entry.js +12 -15
  55. package/dist/cjs/vega-color-picker.cjs.entry.js +4 -4
  56. package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +6 -6
  57. package/dist/cjs/vega-color-swatch.cjs.entry.js +2 -2
  58. package/dist/cjs/vega-combo-box.cjs.entry.js +11 -11
  59. package/dist/cjs/vega-date-picker_2.cjs.entry.js +15 -15
  60. package/dist/cjs/vega-dialog_2.cjs.entry.js +5 -5
  61. package/dist/cjs/vega-divider.cjs.entry.js +6 -6
  62. package/dist/cjs/vega-dropdown_5.cjs.entry.js +9 -9
  63. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  64. package/dist/cjs/vega-field-label.cjs.entry.js +13 -9
  65. package/dist/cjs/vega-file-uploader.cjs.entry.js +6 -6
  66. package/dist/cjs/vega-flag-icon.cjs.entry.js +6 -6
  67. package/dist/cjs/vega-flex.cjs.entry.js +7 -7
  68. package/dist/cjs/vega-font.cjs.entry.js +6 -6
  69. package/dist/cjs/vega-form.cjs.entry.js +5 -5
  70. package/dist/cjs/vega-grid.cjs.entry.js +6 -6
  71. package/dist/cjs/vega-icon.cjs.entry.js +6 -6
  72. package/dist/cjs/vega-image-uploader.cjs.entry.js +8 -8
  73. package/dist/cjs/vega-input-credit-card.cjs.entry.js +9 -9
  74. package/dist/cjs/vega-input-numeric.cjs.entry.js +8 -8
  75. package/dist/cjs/vega-input-passcode.cjs.entry.js +8 -8
  76. package/dist/cjs/vega-input-phone-number.cjs.entry.js +6 -6
  77. package/dist/cjs/vega-input-range.cjs.entry.js +5 -5
  78. package/dist/cjs/vega-input-select.cjs.entry.js +8 -8
  79. package/dist/cjs/vega-input.cjs.entry.js +9 -9
  80. package/dist/cjs/vega-left-nav_5.cjs.entry.js +8 -8
  81. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +4 -4
  82. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +2 -2
  83. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +2 -2
  84. package/dist/cjs/vega-pagination.cjs.entry.js +6 -6
  85. package/dist/cjs/vega-popover_2.cjs.entry.js +9 -9
  86. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +4 -4
  87. package/dist/cjs/vega-radio_2.cjs.entry.js +8 -8
  88. package/dist/cjs/vega-rich-text-content.cjs.entry.js +6 -6
  89. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +220 -48
  90. package/dist/cjs/vega-rich-text-find-replace-panel.cjs.entry.js +233 -0
  91. package/dist/cjs/vega-rich-text-special-characters-panel.cjs.entry.js +5 -5
  92. package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +11 -11
  93. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +7 -7
  94. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +5 -5
  95. package/dist/cjs/vega-sidenav_3.cjs.entry.js +4 -4
  96. package/dist/cjs/vega-signature-capture.cjs.entry.js +9 -9
  97. package/dist/cjs/vega-stepper.cjs.entry.js +4 -4
  98. package/dist/cjs/vega-tab-group_2.cjs.entry.js +2 -2
  99. package/dist/cjs/vega-table_11.cjs.entry.js +6 -6
  100. package/dist/cjs/vega-textarea.cjs.entry.js +5 -5
  101. package/dist/cjs/vega-time-picker_2.cjs.entry.js +11 -11
  102. package/dist/cjs/vega-toggle-switch.cjs.entry.js +2 -2
  103. package/dist/cjs/vega-tooltip_2.cjs.entry.js +7 -7
  104. package/dist/cjs/vega.cjs.js +14 -13
  105. package/dist/cjs/xmark-large-faae5a80.js +7 -0
  106. package/dist/collection/collection-manifest.json +6 -0
  107. package/dist/collection/components/vega-accordion/slimmers/vega-accordion-renderer.js +11 -3
  108. package/dist/collection/components/vega-box/vega-box.js +3 -3
  109. package/dist/collection/components/vega-code-block/slimmers/renderers/vega-code-block-copy-button-renderer.js +1 -1
  110. package/dist/collection/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.js +5 -4
  111. package/dist/collection/components/vega-field-label/vega-field-label.css +20 -0
  112. package/dist/collection/components/vega-field-label/vega-field-label.js +6 -3
  113. package/dist/collection/components/vega-input/vega-input.css +1 -0
  114. package/dist/collection/components/vega-input/vega-input.js +1 -1
  115. package/dist/collection/components/vega-input-select/vega-input-select.js +1 -1
  116. package/dist/collection/components/vega-rich-text-editor/assets/cut.js +3 -0
  117. package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-delete-text-or-decorator-node-strategy.js +16 -1
  118. package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-merge-nodes-strategy.js +25 -0
  119. package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/delete-selected-content-strategy.js +16 -0
  120. package/dist/collection/components/vega-rich-text-editor/dto/actions/delete-selected-content-action.js +17 -0
  121. package/dist/collection/components/vega-rich-text-editor/dto/actions/modify-content-action.abstract.js +1 -0
  122. package/dist/collection/components/vega-rich-text-editor/dto/content-state.js +2 -0
  123. package/dist/collection/components/vega-rich-text-editor/dto/range.js +24 -2
  124. package/dist/collection/components/vega-rich-text-editor/extensions/copy/action-handler-strategies/copy-selected-content-strategy.js +226 -0
  125. package/dist/collection/components/vega-rich-text-editor/extensions/copy/actions/copy-selected-content-action.js +21 -0
  126. package/dist/collection/components/vega-rich-text-editor/extensions/copy/copy-extension.js +20 -0
  127. package/dist/collection/components/vega-rich-text-editor/extensions/copy/copy-toolbar-button-renderer.js +58 -0
  128. package/dist/collection/components/vega-rich-text-editor/extensions/cut/cut-extension.js +15 -0
  129. package/dist/collection/components/vega-rich-text-editor/extensions/cut/cut-toolbar-button-renderer.js +44 -0
  130. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/assets/find-and-replace.js +3 -0
  131. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/find-replace-extension.js +18 -0
  132. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/find-controller.js +105 -0
  133. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/find-replace-controller.abstract.js +68 -0
  134. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/block-search-strategies/block-search-strategy.abstract.js +8 -0
  135. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/block-search-strategies/code-block-search-strategy.js +19 -0
  136. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/block-search-strategies/container-block-search-strategy.js +23 -0
  137. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/block-search-strategies/list-item-block-search-strategy.js +30 -0
  138. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/block-search-strategies/text-block-search-strategy.js +20 -0
  139. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/find-replace-highlight-manager.js +266 -0
  140. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/find-replace-state.js +346 -0
  141. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/replace-controller.js +113 -0
  142. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/renderers/find-replace-toolbar-button-renderer.js +194 -0
  143. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/vega-rich-text-find-replace-panel/slimmers/renderers/find-replace-panel-renderer.js +153 -0
  144. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/vega-rich-text-find-replace-panel/vega-rich-text-find-replace-panel.css +50 -0
  145. package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/vega-rich-text-find-replace-panel/vega-rich-text-find-replace-panel.js +156 -0
  146. package/dist/collection/components/vega-rich-text-editor/extensions/functions/function-extension.js +2 -1
  147. package/dist/collection/components/vega-rich-text-editor/extensions/horizontal-line/horizontal-line-extension.js +2 -1
  148. package/dist/collection/components/vega-rich-text-editor/extensions/languages/language-extension.js +2 -1
  149. package/dist/collection/components/vega-rich-text-editor/extensions/line-height/line-height-extension.js +2 -1
  150. package/dist/collection/components/vega-rich-text-editor/extensions/special-characters/special-characters-extension.js +2 -1
  151. package/dist/collection/components/vega-rich-text-editor/extensions/table/table-extension.js +2 -1
  152. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/slimmers/controllers/selection-widget-keyboard-controller.js +1 -1
  153. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-extension.js +2 -1
  154. package/dist/collection/components/vega-rich-text-editor/public-api.js +4 -0
  155. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/abstract-delete-content-handler.js +133 -0
  156. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/backward-delete-content-handler.js +35 -0
  157. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/forward-delete-content-handler.js +93 -0
  158. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.js +9 -3
  159. package/dist/collection/components/vega-textarea/vega-textarea.js +1 -1
  160. package/dist/collection/global/scripts/before-vega-load.js +6 -0
  161. package/dist/collection/helpers/translation/locales/en.js +14 -0
  162. package/dist/esm/{app-globals-6041f52f.js → app-globals-5e0d319a.js} +13 -10
  163. package/dist/esm/{aria-dialog-focusable-trap-slimmer-1332c071.js → aria-dialog-focusable-trap-slimmer-9eae86c6.js} +1 -1
  164. package/dist/esm/{child-nodes-event-prevent-slimmer-50022584.js → child-nodes-event-prevent-slimmer-f24618c5.js} +2 -2
  165. package/dist/esm/{code-block-37294847.js → code-block-b71b2aa4.js} +26 -3
  166. package/dist/esm/{component-value-history-controller-slimmer.abstract-45ccddc9.js → component-value-history-controller-slimmer.abstract-282df6e5.js} +4 -4
  167. package/dist/esm/{content-state-67950b80.js → content-state-909099f8.js} +33 -4
  168. package/dist/esm/copy-54e45e2d.js +5 -0
  169. package/dist/esm/{date-required-rule-958cf380.js → date-required-rule-15edb04a.js} +1 -1
  170. package/dist/esm/{design-token-e7e78f18.js → design-token-cb5ed6b9.js} +3 -3
  171. package/dist/esm/{element-appender-slimmer-ebda526d.js → element-appender-slimmer-e41120ee.js} +4 -4
  172. package/dist/esm/{event-emit-slimmer-b94cec83.js → event-emit-slimmer-03deba18.js} +1 -1
  173. package/dist/esm/{file-uploader-required-rule-82188a61.js → file-uploader-required-rule-96952e1a.js} +1 -1
  174. package/dist/esm/{form-field-controller-slimmer-0a2ba886.js → form-field-controller-slimmer-cfe1d8a7.js} +3 -3
  175. package/dist/esm/{image-annotation-action-7f7a5678.js → image-annotation-action-98232dc4.js} +3 -3
  176. package/dist/esm/index-090d31ca.js +4 -0
  177. package/dist/esm/index.js +24 -23
  178. package/dist/esm/{inject-keyboard-manager-2b19c121.js → inject-keyboard-manager-13cc77ab.js} +1 -1
  179. package/dist/esm/{internal-calendar-period-factory-fff8aaee.js → internal-calendar-period-factory-c3d70f3b.js} +1 -1
  180. package/dist/esm/{internal-translation-controller-aa09ca87.js → internal-translation-controller-8e8a514a.js} +14 -0
  181. package/dist/esm/{internal-vega-event-manager-956cf128.js → internal-vega-event-manager-75e5e3bb.js} +1 -1
  182. package/dist/esm/{keyboard-manager-3e5b157f.js → keyboard-manager-fe885db1.js} +1 -1
  183. package/dist/esm/{keyboard-manager-slimmer-ba5cc767.js → keyboard-manager-slimmer-61d4c79b.js} +1 -1
  184. package/dist/esm/{link-extension-afb404fb.js → link-extension-f1a3bea7.js} +3 -3
  185. package/dist/esm/loader.js +17 -16
  186. package/dist/esm/{month-view-generator-7a0c869c.js → month-view-generator-85eecb95.js} +1 -1
  187. package/dist/esm/{public-rules-f64b0b78.js → public-rules-323bea4b.js} +11 -11
  188. package/dist/esm/{range-4d09a305.js → range-e63068d1.js} +25 -3
  189. package/dist/esm/{replace-selected-text-action-12bc8b82.js → replace-selected-text-action-c0817b2b.js} +1 -1
  190. package/dist/esm/{required-field-rule-a4634842.js → required-field-rule-897fe8d1.js} +1 -1
  191. package/dist/esm/{responsive-format-facade-844c5e09.js → responsive-format-facade-fb424f5b.js} +2 -2
  192. package/dist/esm/{rich-text-editor-required-rule-d62d418e.js → rich-text-editor-required-rule-0edb8ba7.js} +1 -1
  193. package/dist/esm/{split-cell-operation-c515669e.js → split-cell-operation-93b4d775.js} +3 -3
  194. package/dist/esm/{state-border-formatter-f53847a5.js → state-border-formatter-1a528ca4.js} +1 -1
  195. package/dist/esm/{string-format-strategy.abstract-a0327405.js → string-format-strategy.abstract-72fc98aa.js} +1 -1
  196. package/dist/esm/{string-input-formatter-slimmer-12de4a25.js → string-input-formatter-slimmer-b0c480d8.js} +3 -3
  197. package/dist/esm/{string-mask-strategy-3bb03155.js → string-mask-strategy-4e00c173.js} +2 -2
  198. package/dist/esm/{style-formatter-df7bf8ec.js → style-formatter-5c1bea8d.js} +2 -2
  199. package/dist/esm/{sub-state-notify-slimmer-7ef94141.js → sub-state-notify-slimmer-0f72ce74.js} +1 -1
  200. package/dist/esm/{sub-state-observer-slimmer-d9ad2bdd.js → sub-state-observer-slimmer-64532d94.js} +1 -1
  201. package/dist/esm/{time-required-rule-db0dee53.js → time-required-rule-df500b14.js} +1 -1
  202. package/dist/esm/{token-extension-8ff92d14.js → token-extension-32d1fa56.js} +1610 -20
  203. package/dist/esm/{translation-slimmer-4904e7fe.js → translation-slimmer-60408f13.js} +1 -1
  204. package/dist/esm/{type-guard-a2cbaae9.js → type-guard-91087018.js} +1 -1
  205. package/dist/esm/{valid-credit-card-number-rule-a3f9858d.js → valid-credit-card-number-rule-681ecb75.js} +1 -1
  206. package/dist/esm/vega-accordion.entry.js +21 -13
  207. package/dist/esm/vega-app-footer.entry.js +3 -3
  208. package/dist/esm/vega-app-header-button.entry.js +10 -10
  209. package/dist/esm/vega-banner.entry.js +5 -8
  210. package/dist/esm/vega-box.entry.js +7 -7
  211. package/dist/esm/vega-breadcrumb.entry.js +5 -5
  212. package/dist/esm/vega-button-circle.entry.js +11 -11
  213. package/dist/esm/vega-button-group_2.entry.js +8 -8
  214. package/dist/esm/vega-button-link.entry.js +5 -5
  215. package/dist/esm/vega-button.entry.js +9 -9
  216. package/dist/esm/vega-calendar_5.entry.js +15 -15
  217. package/dist/esm/vega-card.entry.js +6 -6
  218. package/dist/esm/vega-carousel.entry.js +7 -7
  219. package/dist/esm/vega-checkbox_2.entry.js +10 -10
  220. package/dist/esm/vega-chip.entry.js +10 -10
  221. package/dist/esm/vega-code-block.entry.js +15 -18
  222. package/dist/esm/vega-color-picker.entry.js +9 -9
  223. package/dist/esm/vega-color-swatch-picker.entry.js +11 -11
  224. package/dist/esm/vega-color-swatch.entry.js +5 -5
  225. package/dist/esm/vega-combo-box.entry.js +16 -16
  226. package/dist/esm/vega-date-picker_2.entry.js +22 -22
  227. package/dist/esm/vega-dialog_2.entry.js +10 -10
  228. package/dist/esm/vega-divider.entry.js +6 -6
  229. package/dist/esm/vega-dropdown_5.entry.js +16 -16
  230. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  231. package/dist/esm/{vega-event-id-268f8def.js → vega-event-id-d3017041.js} +1 -1
  232. package/dist/esm/vega-field-label.entry.js +16 -12
  233. package/dist/esm/vega-file-uploader.entry.js +11 -11
  234. package/dist/esm/vega-flag-icon.entry.js +6 -6
  235. package/dist/esm/vega-flex.entry.js +7 -7
  236. package/dist/esm/vega-font.entry.js +6 -6
  237. package/dist/esm/vega-form.entry.js +11 -11
  238. package/dist/esm/vega-grid.entry.js +6 -6
  239. package/dist/esm/vega-icon.entry.js +6 -6
  240. package/dist/esm/vega-image-uploader.entry.js +13 -13
  241. package/dist/esm/vega-input-credit-card.entry.js +14 -14
  242. package/dist/esm/vega-input-numeric.entry.js +14 -14
  243. package/dist/esm/vega-input-passcode.entry.js +13 -13
  244. package/dist/esm/vega-input-phone-number.entry.js +11 -11
  245. package/dist/esm/vega-input-range.entry.js +10 -10
  246. package/dist/esm/vega-input-select.entry.js +13 -13
  247. package/dist/esm/vega-input.entry.js +15 -15
  248. package/dist/esm/{vega-internal-event-id-22151a4d.js → vega-internal-event-id-827eb1ce.js} +1 -1
  249. package/dist/esm/vega-item-toggle.entry.js +3 -3
  250. package/dist/esm/vega-left-nav_5.entry.js +14 -14
  251. package/dist/esm/vega-loader-wrapper_2.entry.js +4 -4
  252. package/dist/esm/vega-page-notification_2.entry.js +1 -1
  253. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +5 -5
  254. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +4 -4
  255. package/dist/esm/vega-pagination.entry.js +10 -10
  256. package/dist/esm/vega-popover_2.entry.js +14 -14
  257. package/dist/esm/vega-progress-tracker_2.entry.js +10 -10
  258. package/dist/esm/vega-radio_2.entry.js +13 -13
  259. package/dist/esm/vega-rich-text-content.entry.js +10 -10
  260. package/dist/esm/vega-rich-text-editor_4.entry.js +227 -55
  261. package/dist/esm/vega-rich-text-find-replace-panel.entry.js +229 -0
  262. package/dist/esm/vega-rich-text-special-characters-panel.entry.js +8 -8
  263. package/dist/esm/vega-rich-text-table-properties_3.entry.js +14 -14
  264. package/dist/esm/vega-segment-control.entry.js +3 -3
  265. package/dist/esm/vega-selection-chip_2.entry.js +13 -13
  266. package/dist/esm/vega-selection-tile_2.entry.js +11 -11
  267. package/dist/esm/vega-sidenav_3.entry.js +10 -10
  268. package/dist/esm/vega-signature-capture.entry.js +14 -14
  269. package/dist/esm/vega-stepper.entry.js +9 -9
  270. package/dist/esm/vega-tab-group_2.entry.js +5 -5
  271. package/dist/esm/vega-table_11.entry.js +12 -12
  272. package/dist/esm/vega-textarea.entry.js +10 -10
  273. package/dist/esm/vega-time-picker_2.entry.js +16 -16
  274. package/dist/esm/vega-toggle-switch.entry.js +7 -7
  275. package/dist/esm/vega-tooltip_2.entry.js +8 -8
  276. package/dist/esm/vega.js +17 -16
  277. package/dist/esm/{wait-for-component-did-render-0488922a.js → wait-for-component-did-render-0c237cb8.js} +1 -1
  278. package/dist/esm/xmark-large-c5ae7944.js +5 -0
  279. package/dist/sri/vega-sri-manifest.json +387 -375
  280. package/dist/types/components/vega-accordion/slimmers/vega-accordion-renderer.d.ts +2 -0
  281. package/dist/types/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.d.ts +1 -0
  282. package/dist/types/components/vega-field-label/types.d.ts +12 -0
  283. package/dist/types/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-merge-nodes-strategy.d.ts +9 -0
  284. package/dist/types/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/delete-selected-content-strategy.d.ts +13 -0
  285. package/dist/types/components/vega-rich-text-editor/dto/actions/delete-selected-content-action.d.ts +12 -0
  286. package/dist/types/components/vega-rich-text-editor/dto/actions/modify-content-action.abstract.d.ts +2 -1
  287. package/dist/types/components/vega-rich-text-editor/dto/range.d.ts +16 -0
  288. package/dist/types/components/vega-rich-text-editor/extensions/copy/action-handler-strategies/copy-selected-content-strategy.d.ts +79 -0
  289. package/dist/types/components/vega-rich-text-editor/extensions/copy/actions/copy-selected-content-action.d.ts +18 -0
  290. package/dist/types/components/vega-rich-text-editor/extensions/copy/copy-extension.d.ts +10 -0
  291. package/dist/types/components/vega-rich-text-editor/extensions/copy/copy-toolbar-button-renderer.d.ts +36 -0
  292. package/dist/types/components/vega-rich-text-editor/extensions/cut/cut-extension.d.ts +11 -0
  293. package/dist/types/components/vega-rich-text-editor/extensions/cut/cut-toolbar-button-renderer.d.ts +24 -0
  294. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/assets/find-and-replace.d.ts +3 -0
  295. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/find-replace-extension.d.ts +15 -0
  296. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/find-controller.d.ts +65 -0
  297. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/find-replace-controller.abstract.d.ts +65 -0
  298. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/block-search-strategies/block-search-strategy.abstract.d.ts +29 -0
  299. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/block-search-strategies/code-block-search-strategy.d.ts +17 -0
  300. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/block-search-strategies/container-block-search-strategy.d.ts +21 -0
  301. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/block-search-strategies/list-item-block-search-strategy.d.ts +21 -0
  302. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/block-search-strategies/text-block-search-strategy.d.ts +18 -0
  303. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/find-replace-highlight-manager.d.ts +88 -0
  304. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/find-replace-state.d.ts +200 -0
  305. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/replace-controller.d.ts +73 -0
  306. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/renderers/find-replace-toolbar-button-renderer.d.ts +64 -0
  307. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/vega-rich-text-find-replace-panel/slimmers/renderers/find-replace-panel-renderer.d.ts +28 -0
  308. package/dist/types/components/vega-rich-text-editor/extensions/find-replace/vega-rich-text-find-replace-panel/vega-rich-text-find-replace-panel.d.ts +56 -0
  309. package/dist/types/components/vega-rich-text-editor/extensions/functions/function-extension.d.ts +1 -0
  310. package/dist/types/components/vega-rich-text-editor/extensions/horizontal-line/horizontal-line-extension.d.ts +1 -0
  311. package/dist/types/components/vega-rich-text-editor/extensions/languages/language-extension.d.ts +1 -0
  312. package/dist/types/components/vega-rich-text-editor/extensions/line-height/line-height-extension.d.ts +1 -0
  313. package/dist/types/components/vega-rich-text-editor/extensions/special-characters/special-characters-extension.d.ts +1 -0
  314. package/dist/types/components/vega-rich-text-editor/extensions/table/table-extension.d.ts +1 -0
  315. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-extension.d.ts +1 -0
  316. package/dist/types/components/vega-rich-text-editor/public-api.d.ts +4 -0
  317. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/abstract-delete-content-handler.d.ts +60 -0
  318. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/backward-delete-content-handler.d.ts +8 -0
  319. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/forward-delete-content-handler.d.ts +8 -0
  320. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.d.ts +2 -1
  321. package/dist/types/components.d.ts +34 -0
  322. package/dist/types/global/icons/copy.d.ts +3 -0
  323. package/dist/types/helpers/translation/interface.d.ts +15 -1
  324. package/dist/types/types/ui.type.d.ts +1 -1
  325. package/dist/vega/index.esm.js +1 -1
  326. package/dist/vega/{p-cb4033ef.js → p-0179f55d.js} +1 -1
  327. package/dist/vega/{p-8bc23bcf.entry.js → p-06c2ce2c.entry.js} +1 -1
  328. package/dist/vega/{p-fb1ef3e6.entry.js → p-07b56f2b.entry.js} +1 -1
  329. package/dist/vega/{p-141f74ff.js → p-136226f8.js} +1 -1
  330. package/dist/vega/{p-e9a82603.entry.js → p-18413b62.entry.js} +1 -1
  331. package/dist/vega/p-209e0166.js +1 -0
  332. package/dist/vega/{p-014e2cf9.js → p-228c5de8.js} +1 -1
  333. package/dist/vega/{p-cc8bf6e7.entry.js → p-22f73e6e.entry.js} +1 -1
  334. package/dist/vega/p-2314494a.entry.js +1 -0
  335. package/dist/vega/p-2353b64f.entry.js +1 -0
  336. package/dist/vega/p-29e3eb12.js +1 -0
  337. package/dist/vega/p-2da12975.entry.js +1 -0
  338. package/dist/vega/{p-8019c156.js → p-2def8e3e.js} +1 -1
  339. package/dist/vega/{p-5bed3fd2.entry.js → p-2e58d99e.entry.js} +1 -1
  340. package/dist/vega/{p-bb0040d4.entry.js → p-30561e1d.entry.js} +1 -1
  341. package/dist/vega/{p-fc103347.entry.js → p-35df0f0a.entry.js} +1 -1
  342. package/dist/vega/{p-15da9d58.entry.js → p-37dffdf6.entry.js} +1 -1
  343. package/dist/vega/{p-5ffc7cb8.js → p-3a68b729.js} +1 -1
  344. package/dist/vega/{p-507612f6.entry.js → p-3cf4339a.entry.js} +1 -1
  345. package/dist/vega/{p-4cef4812.js → p-3f183b52.js} +1 -1
  346. package/dist/vega/{p-42ed76ee.entry.js → p-40501057.entry.js} +1 -1
  347. package/dist/vega/{p-12b5c5e3.entry.js → p-438b7404.entry.js} +1 -1
  348. package/dist/vega/{p-8982796b.entry.js → p-43c3848f.entry.js} +1 -1
  349. package/dist/vega/{p-9756c6b9.entry.js → p-450bf94d.entry.js} +1 -1
  350. package/dist/vega/{p-0e03daa6.js → p-45ab490c.js} +1 -1
  351. package/dist/vega/{p-94845302.entry.js → p-481601c0.entry.js} +1 -1
  352. package/dist/vega/{p-0707aa21.js → p-4953bb1a.js} +1 -1
  353. package/dist/vega/{p-2b22091e.js → p-4d9061fb.js} +1 -1
  354. package/dist/vega/{p-b2f9698a.entry.js → p-4e39adf5.entry.js} +1 -1
  355. package/dist/vega/{p-316a1e5c.entry.js → p-5038b6d7.entry.js} +1 -1
  356. package/dist/vega/{p-3cf298a4.entry.js → p-5319da71.entry.js} +1 -1
  357. package/dist/vega/p-53c76d9d.entry.js +1 -0
  358. package/dist/vega/{p-64b5fe2a.entry.js → p-5545a235.entry.js} +1 -1
  359. package/dist/vega/{p-c75872a4.entry.js → p-56cf1a65.entry.js} +1 -1
  360. package/dist/vega/{p-216ef41e.entry.js → p-5829a66d.entry.js} +1 -1
  361. package/dist/vega/p-590c8720.entry.js +1 -0
  362. package/dist/vega/{p-5e282e41.js → p-5946fadf.js} +1 -1
  363. package/dist/vega/{p-822f70b0.js → p-5beec481.js} +1 -1
  364. package/dist/vega/p-5de1acdb.js +1 -0
  365. package/dist/vega/p-5df9047c.js +1 -0
  366. package/dist/vega/p-5f377954.js +1 -1
  367. package/dist/vega/{p-aaa6e976.entry.js → p-625351a3.entry.js} +1 -1
  368. package/dist/vega/p-683cfe24.js +1 -0
  369. package/dist/vega/p-68e16c70.entry.js +1 -0
  370. package/dist/vega/{p-ef44d516.js → p-70817cf5.js} +1 -1
  371. package/dist/vega/{p-a14d8767.js → p-71e2a3ec.js} +1 -1
  372. package/dist/vega/{p-a4826f3f.entry.js → p-7798254d.entry.js} +1 -1
  373. package/dist/vega/p-7be548a7.js +1 -0
  374. package/dist/vega/{p-4037126d.js → p-802bf369.js} +1 -1
  375. package/dist/vega/{p-b77e85e0.entry.js → p-82279b03.entry.js} +1 -1
  376. package/dist/vega/{p-f362c07b.entry.js → p-8509c140.entry.js} +1 -1
  377. package/dist/vega/p-88a6c89a.js +1 -0
  378. package/dist/vega/p-890a5254.js +1 -0
  379. package/dist/vega/p-8aa07ed0.js +1 -0
  380. package/dist/vega/{p-da2b1fd0.entry.js → p-8b9a8603.entry.js} +1 -1
  381. package/dist/vega/{p-14bfc113.js → p-8bc15ed0.js} +1 -1
  382. package/dist/vega/{p-aea912ac.js → p-8d69b201.js} +1 -1
  383. package/dist/vega/p-8da860f6.js +1 -0
  384. package/dist/vega/{p-329c808e.entry.js → p-8f078d0d.entry.js} +1 -1
  385. package/dist/vega/p-916dfa7e.entry.js +1 -0
  386. package/dist/vega/{p-42a1d300.entry.js → p-9219201a.entry.js} +1 -1
  387. package/dist/vega/{p-cd2a1ffb.js → p-92823583.js} +1 -1
  388. package/dist/vega/{p-cec8ffdc.js → p-93dfab05.js} +1 -1
  389. package/dist/vega/{p-7f086e54.entry.js → p-9440a8a5.entry.js} +1 -1
  390. package/dist/vega/p-970115d6.js +1 -0
  391. package/dist/vega/{p-da067259.entry.js → p-9b1d718c.entry.js} +1 -1
  392. package/dist/vega/{p-c65a5778.entry.js → p-9cdedcfb.entry.js} +1 -1
  393. package/dist/vega/{p-6e7c1b19.entry.js → p-9fafc956.entry.js} +1 -1
  394. package/dist/vega/{p-70352240.entry.js → p-a268a4fb.entry.js} +1 -1
  395. package/dist/vega/{p-cd21adb8.js → p-a2bd621e.js} +1 -1
  396. package/dist/vega/p-a361456d.js +1 -0
  397. package/dist/vega/{p-73b9868f.js → p-aa32f2f3.js} +1 -1
  398. package/dist/vega/p-b6225d01.js +1 -0
  399. package/dist/vega/{p-58a00869.entry.js → p-b6ebfd5c.entry.js} +1 -1
  400. package/dist/vega/{p-fea33425.js → p-b730bf6e.js} +1 -1
  401. package/dist/vega/{p-81591449.entry.js → p-b799fc1f.entry.js} +1 -1
  402. package/dist/vega/{p-4644ccf9.entry.js → p-c0629528.entry.js} +1 -1
  403. package/dist/vega/{p-50d7a1c4.entry.js → p-c2e0f8b7.entry.js} +1 -1
  404. package/dist/vega/{p-522dd15f.entry.js → p-c67ce78c.entry.js} +1 -1
  405. package/dist/vega/{p-6ecb3c7d.entry.js → p-c78aeaf3.entry.js} +1 -1
  406. package/dist/vega/{p-5df53125.entry.js → p-c78e8081.entry.js} +1 -1
  407. package/dist/vega/{p-1acd5f04.entry.js → p-c8eaf91c.entry.js} +1 -1
  408. package/dist/vega/p-ca9852bb.js +1 -0
  409. package/dist/vega/{p-ce27c273.entry.js → p-cd1844ad.entry.js} +1 -1
  410. package/dist/vega/{p-a04b95aa.entry.js → p-cd9fb2ca.entry.js} +1 -1
  411. package/dist/vega/p-ce7e9515.entry.js +1 -0
  412. package/dist/vega/p-d0ce752f.entry.js +1 -0
  413. package/dist/vega/{p-044496e0.entry.js → p-d20587b4.entry.js} +1 -1
  414. package/dist/vega/{p-ae728041.entry.js → p-d3c8b871.entry.js} +1 -1
  415. package/dist/vega/{p-c87c7ef4.js → p-d7369441.js} +1 -1
  416. package/dist/vega/p-de885ef2.js +1 -0
  417. package/dist/vega/{p-b7b0930a.entry.js → p-dee38163.entry.js} +1 -1
  418. package/dist/vega/{p-6820b488.entry.js → p-e160a727.entry.js} +1 -1
  419. package/dist/vega/{p-49b4ab2b.js → p-e371738b.js} +1 -1
  420. package/dist/vega/{p-4979fd7d.js → p-e3803943.js} +1 -1
  421. package/dist/vega/p-e41d9d0e.entry.js +1 -0
  422. package/dist/vega/p-e5502873.entry.js +1 -0
  423. package/dist/vega/{p-5fcb825c.entry.js → p-e9cee498.entry.js} +1 -1
  424. package/dist/vega/p-ea22cba0.js +1 -0
  425. package/dist/vega/p-ea54ce0a.js +3 -0
  426. package/dist/vega/p-ee3155bd.js +1 -0
  427. package/dist/vega/{p-0605c656.entry.js → p-eee01ba7.entry.js} +1 -1
  428. package/dist/vega/{p-3fe43f7a.entry.js → p-ef2b9846.entry.js} +1 -1
  429. package/dist/vega/p-f0bc2bbb.js +1 -0
  430. package/dist/vega/{p-3863187f.entry.js → p-f365601c.entry.js} +1 -1
  431. package/dist/vega/p-f4a01959.js +1 -0
  432. package/dist/vega/{p-9e327397.entry.js → p-f515d189.entry.js} +1 -1
  433. package/dist/vega/{p-b504a8b4.entry.js → p-f5aefb2f.entry.js} +1 -1
  434. package/dist/vega/{p-2f48162f.entry.js → p-f6bccb06.entry.js} +1 -1
  435. package/dist/vega/{p-e75e75c9.entry.js → p-f70f7ad8.entry.js} +1 -1
  436. package/dist/vega/{p-42f3c0b1.entry.js → p-f7739cbb.entry.js} +1 -1
  437. package/dist/vega/{p-335e3237.entry.js → p-fc5dfb52.entry.js} +1 -1
  438. package/dist/vega/p-fd70418f.js +1 -0
  439. package/dist/vega/vega.esm.js +1 -1
  440. package/package.json +1 -1
  441. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/delete-content-handler.js +0 -92
  442. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/delete-content-handler.d.ts +0 -26
  443. package/dist/vega/p-144d4b30.js +0 -1
  444. package/dist/vega/p-21775cc7.js +0 -1
  445. package/dist/vega/p-2944c76e.entry.js +0 -1
  446. package/dist/vega/p-3372f34a.entry.js +0 -1
  447. package/dist/vega/p-53ed3b1f.js +0 -1
  448. package/dist/vega/p-57f7c257.js +0 -1
  449. package/dist/vega/p-5a4e598f.js +0 -1
  450. package/dist/vega/p-5e1cd1cc.js +0 -1
  451. package/dist/vega/p-5e1ec2b8.entry.js +0 -1
  452. package/dist/vega/p-61d42e9b.entry.js +0 -1
  453. package/dist/vega/p-63ae5ada.entry.js +0 -1
  454. package/dist/vega/p-66905cbf.js +0 -1
  455. package/dist/vega/p-689070f9.entry.js +0 -1
  456. package/dist/vega/p-74fa0f5b.entry.js +0 -1
  457. package/dist/vega/p-7bb39b97.js +0 -1
  458. package/dist/vega/p-7f139b74.js +0 -1
  459. package/dist/vega/p-85d78ac1.js +0 -1
  460. package/dist/vega/p-92a144bc.js +0 -1
  461. package/dist/vega/p-9f608b97.js +0 -1
  462. package/dist/vega/p-aca134a3.entry.js +0 -1
  463. package/dist/vega/p-b2f89dbd.js +0 -1
  464. package/dist/vega/p-bd94b904.entry.js +0 -1
  465. package/dist/vega/p-c0c2a917.js +0 -3
  466. package/dist/vega/p-c40555c4.entry.js +0 -1
  467. package/dist/vega/p-d0060bdb.js +0 -1
  468. package/dist/vega/p-d00b3910.js +0 -1
  469. package/dist/vega/p-d14ddf80.js +0 -1
  470. package/dist/vega/p-dc78e8d6.js +0 -1
  471. package/dist/vega/p-ddc2d219.js +0 -1
  472. /package/dist/cjs/{feature-flag-controller-438a1510.js → feature-flag-controller-c19d0b58.js} +0 -0
  473. /package/dist/collection/{components/vega-code-block/assets → global/icons}/copy.js +0 -0
  474. /package/dist/esm/{feature-flag-controller-2a89f20c.js → feature-flag-controller-3fd04ea9.js} +0 -0
  475. /package/dist/types/components/{vega-code-block/assets/copy.d.ts → vega-rich-text-editor/assets/cut.d.ts} +0 -0
  476. /package/dist/vega/{p-bc73ce30.js → p-87a4d75f.js} +0 -0
@@ -0,0 +1,35 @@
1
+ import { DeleteBlockContentAction } from '../../../../dto/actions/delete-block-content-action';
2
+ import { AbstractDeleteContentHandler } from './abstract-delete-content-handler';
3
+ /** Handles a backspace (leftward) deletion of content within a VegaRTE editor. User press backspace will trigger this method */
4
+ export class BackwardDeleteContentHandler extends AbstractDeleteContentHandler {
5
+ /**
6
+ * Handles a backspace (leftward) deletion of content within a single block in an RTE editor.
7
+ */
8
+ deleteContentWithSingleBlock() {
9
+ const range = this.selectionController.getCurrentRange();
10
+ const { startOffset, endOffset, startContainer, endContainer } = range;
11
+ if (startOffset !== endOffset || startContainer !== endContainer) {
12
+ this.deleteContentWithMultipleNodes();
13
+ return;
14
+ }
15
+ const targetNode = this.selectionController.getSelectedNodes()[0];
16
+ if (!targetNode) {
17
+ return;
18
+ }
19
+ const deleteAction = new DeleteBlockContentAction(targetNode, startOffset);
20
+ targetNode.parent.apply(deleteAction);
21
+ if (deleteAction.previousNode) {
22
+ const nextOffset = deleteAction.previousNode === targetNode
23
+ ? Math.max(0, startOffset - 1)
24
+ : deleteAction.previousNode.getRangeEndOffset();
25
+ this.selectionController.enqueueSelectionRangeFutureState(deleteAction.previousNode, nextOffset);
26
+ }
27
+ else if (deleteAction.nextNode) {
28
+ this.selectionController.enqueueSelectionRangeFutureState(deleteAction.nextNode, 0);
29
+ }
30
+ else if (this.currentState.children.length === 0) {
31
+ // Add a empty paragraph if delete all content to make sure the caret position
32
+ this.insertDefaultParagraph();
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,93 @@
1
+ import { DeleteBlockContentAction } from '../../../../dto/actions/delete-block-content-action';
2
+ import { AbstractDeleteContentHandler } from './abstract-delete-content-handler';
3
+ /** Handles a delete (rightward) deletion of content within a VegaRTE editor. User press delete will trigger this method */
4
+ export class ForwardDeleteContentHandler extends AbstractDeleteContentHandler {
5
+ /**
6
+ * Handles a delete (rightward) deletion of content within a single block in an RTE editor.
7
+ */
8
+ deleteContentWithSingleBlock() {
9
+ const range = this.selectionController.getCurrentRange();
10
+ const { startOffset, endOffset, startContainer, endContainer } = range;
11
+ if (startOffset !== endOffset || startContainer !== endContainer) {
12
+ this.deleteContentWithMultipleNodes();
13
+ return;
14
+ }
15
+ const targetNode = this.selectionController.getSelectedNodes()[0];
16
+ // The node that should hold the caret after a forward delete removes a non-editable
17
+ // leading node (e.g. a function keyword or a token), so the caret stays put instead of
18
+ // jumping backward to the previous block. Captured before the deletion detaches it.
19
+ let forwardCaretAnchor = null;
20
+ let resolvedNode = targetNode;
21
+ let resolvedOffset = startOffset;
22
+ // A forward delete on an empty node (e.g. an emptied function-block input box) mirrors
23
+ // a backspace: the empty node itself is removed instead of shifting the caret into the
24
+ // following block. Without this, the forward delete falls into the heterogeneous block
25
+ // boundary branch below and only moves the caret, so an emptied input box could never
26
+ // be removed with Delete even though Backspace removes it. The caret then lands on the
27
+ // following content that shifts up into the emptied node's place.
28
+ if (targetNode && targetNode.isTextNode() && targetNode.isEmpty()) {
29
+ forwardCaretAnchor = this.getNextNode(targetNode);
30
+ }
31
+ else {
32
+ // A forward delete is equivalent to moving the caret one step to the right and
33
+ // then performing a backspace, so we can reuse the existing backspace logic.
34
+ const forwardPosition = this.getForwardDeletePosition(targetNode, startOffset);
35
+ // The caret is at the very end of the content, there is nothing to delete forward.
36
+ if (!forwardPosition) {
37
+ return;
38
+ }
39
+ // Mirror backspace at heterogeneous block boundaries: a forward delete that crosses
40
+ // into a following block of a different type (e.g. paragraph → list-item, or into an
41
+ // image block) only moves the caret onto that block first; the next forward delete then
42
+ // removes it, keeping Delete and Backspace consistent. When the following block is the
43
+ // same type (e.g. a token at the start of the next paragraph) we let the deletion
44
+ // proceed so the two blocks merge, mirroring a backspace at the start of that block.
45
+ if (targetNode &&
46
+ forwardPosition.node.parent !== targetNode.parent &&
47
+ forwardPosition.node.parent.type !== targetNode.parent.type) {
48
+ this.selectionController.enqueueSelectionRangeFutureState(forwardPosition.node, 0);
49
+ return;
50
+ }
51
+ // When the caret sits at the start of a non-editable leading node (e.g. a function
52
+ // keyword or a token), a forward delete removes that node. Visually the caret stays
53
+ // put while the following content shifts up into its place, so the caret should land
54
+ // on that next node rather than following the backspace's leftward move to the
55
+ // previous block.
56
+ if (targetNode && !targetNode.isContentEditable() && startOffset === 0) {
57
+ forwardCaretAnchor = this.getNextNode(targetNode);
58
+ }
59
+ resolvedNode = forwardPosition.node;
60
+ resolvedOffset = forwardPosition.offset;
61
+ }
62
+ /* istanbul ignore next */
63
+ if (!resolvedNode) {
64
+ return;
65
+ }
66
+ const deleteAction = new DeleteBlockContentAction(resolvedNode, resolvedOffset);
67
+ resolvedNode.parent.apply(deleteAction);
68
+ if (forwardCaretAnchor) {
69
+ // A non-editable anchor (e.g. a token) expresses its caret position at the
70
+ // parent-block level: its range container is the parent element, so an offset of
71
+ // 0 would put the caret at the very start of the block (jumping to the far left)
72
+ // instead of just before the anchor. Use the anchor's index within its parent so
73
+ // the caret lands right before it, on the spot the deleted node used to occupy.
74
+ const forwardCaretOffset = forwardCaretAnchor.isContentEditable()
75
+ ? 0
76
+ : forwardCaretAnchor.parent.children.indexOf(forwardCaretAnchor);
77
+ this.selectionController.enqueueSelectionRangeFutureState(forwardCaretAnchor, forwardCaretOffset);
78
+ }
79
+ else if (deleteAction.previousNode) {
80
+ const nextOffset = deleteAction.previousNode === resolvedNode
81
+ ? Math.max(0, resolvedOffset - 1)
82
+ : deleteAction.previousNode.getRangeEndOffset();
83
+ this.selectionController.enqueueSelectionRangeFutureState(deleteAction.previousNode, nextOffset);
84
+ }
85
+ else if (deleteAction.nextNode) {
86
+ this.selectionController.enqueueSelectionRangeFutureState(deleteAction.nextNode, 0);
87
+ }
88
+ else if (this.currentState.children.length === 0) {
89
+ // Add a empty paragraph if delete all content to make sure the caret position
90
+ this.insertDefaultParagraph();
91
+ }
92
+ }
93
+ }
@@ -8,7 +8,8 @@ import { MapToComponentField, MapToComponentMethod, VegaSlimmer } from 'vega-sli
8
8
  import { InsertTextHandler } from './helper/input-event-handler/insert-text-handler';
9
9
  import { InsertParagraphHandler } from './helper/input-event-handler/insert-paragraph-handler';
10
10
  import { InsertLineBreakHandler } from './helper/input-event-handler/insert-line-break-handler';
11
- import { DeleteContentHandler } from './helper/input-event-handler/delete-content-handler';
11
+ import { ForwardDeleteContentHandler } from './helper/input-event-handler/forward-delete-content-handler';
12
+ import { BackwardDeleteContentHandler } from './helper/input-event-handler/backward-delete-content-handler';
12
13
  import { VegaRTEContent } from '../../dto/content-state';
13
14
  import { InsertPasteHandler } from './helper/input-event-handler/insert-paste-handler';
14
15
  import { generateUUID } from '../../../../utils/misc';
@@ -20,7 +21,8 @@ export class UserInputController extends VegaSlimmer {
20
21
  this.insertTextHandler = new InsertTextHandler();
21
22
  this.insertParagraphHandler = new InsertParagraphHandler();
22
23
  this.insertLineBreakHandler = new InsertLineBreakHandler();
23
- this.deleteContentHandler = new DeleteContentHandler();
24
+ this.forwardDeleteContentHandler = new ForwardDeleteContentHandler();
25
+ this.backwardDeleteContentHandler = new BackwardDeleteContentHandler();
24
26
  this.insertPasteHandler = new InsertPasteHandler();
25
27
  /**
26
28
  * When a user performs an input action within the editable element, this function is triggered.
@@ -51,9 +53,13 @@ export class UserInputController extends VegaSlimmer {
51
53
  updateFlag = true;
52
54
  this.insertLineBreakHandler.execute(this.value, this.selectionController, this.host, e);
53
55
  break;
56
+ case 'deleteContentForward':
57
+ updateFlag = true;
58
+ this.forwardDeleteContentHandler.execute(this.value, this.selectionController, this.host, e);
59
+ break;
54
60
  case 'deleteContentBackward':
55
61
  updateFlag = true;
56
- this.deleteContentHandler.execute(this.value, this.selectionController, this.host, e);
62
+ this.backwardDeleteContentHandler.execute(this.value, this.selectionController, this.host, e);
57
63
  break;
58
64
  case 'insertFromPaste':
59
65
  updateFlag = true;
@@ -436,7 +436,7 @@ export class VegaTextarea {
436
436
  "mutable": false,
437
437
  "complexType": {
438
438
  "original": "Nullable<LabelSuffixButtonConfig>",
439
- "resolved": "{ icon: string; } & Partial<Pick<HTMLVegaTooltipElement, \"size\" | \"trigger\" | \"minWidth\" | \"maxWidth\" | \"text\" | \"placement\" | \"alignment\">>",
439
+ "resolved": "{ icon: string; buttonSize?: VegaButtonCircleSize; centerAlign?: boolean; } & Partial<Pick<HTMLVegaTooltipElement, \"size\" | \"trigger\" | \"minWidth\" | \"maxWidth\" | \"text\" | \"placement\" | \"alignment\">>",
440
440
  "references": {
441
441
  "Nullable": {
442
442
  "location": "import",
@@ -27,11 +27,14 @@ import { VegaRTEFunctionExtension } from '../../components/vega-rich-text-editor
27
27
  import { VegaRTETableExtension } from '../../components/vega-rich-text-editor/extensions/table/table-extension';
28
28
  import { VegaRTEHorizontalLineExtension } from '../../components/vega-rich-text-editor/extensions/horizontal-line/horizontal-line-extension';
29
29
  import { VegaRTESpecialCharactersExtension } from '../../components/vega-rich-text-editor/extensions/special-characters/special-characters-extension';
30
+ import { VegaRTEFindReplaceExtension } from '../../components/vega-rich-text-editor/extensions/find-replace/find-replace-extension';
30
31
  import { VegaRTESpecialCharactersEssentials, VegaRTESpecialCharactersLatin, VegaRTESpecialCharactersMathematical, VegaRTESpecialCharactersArrows, VegaRTESpecialCharactersCurrency, VegaRTESpecialCharactersText, } from '../../components/vega-rich-text-editor/extensions/special-characters/constants/default-categories';
31
32
  import { VegaRTELineHeightExtension } from '../../components/vega-rich-text-editor/extensions/line-height/line-height-extension';
32
33
  import { VegaRTEDefaultLineHeightOptions } from '../../components/vega-rich-text-editor/extensions/line-height/constants';
33
34
  import { VegaRTELinkExtension } from '../../components/vega-rich-text-editor/extensions/link/link-extension';
34
35
  import { VegaCalendarPeriodFactory } from '../../helpers/calendar';
36
+ import { VegaRTECopyExtension } from '../../components/vega-rich-text-editor/extensions/copy/copy-extension';
37
+ import { VegaRTECutExtension } from '../../components/vega-rich-text-editor/extensions/cut/cut-extension';
35
38
  /**
36
39
  * Default export function that will be used by stencil global script,
37
40
  * which will be invoked before library loaded.
@@ -209,6 +212,7 @@ function injectVegaRichTextEditorClassIntoGlobal() {
209
212
  globalThis.VegaRTETableExtension = VegaRTETableExtension;
210
213
  globalThis.VegaRTEHorizontalLineExtension = VegaRTEHorizontalLineExtension;
211
214
  globalThis.VegaRTESpecialCharactersExtension = VegaRTESpecialCharactersExtension;
215
+ globalThis.VegaRTEFindReplaceExtension = VegaRTEFindReplaceExtension;
212
216
  globalThis.VegaRTESpecialCharactersEssentials = VegaRTESpecialCharactersEssentials;
213
217
  globalThis.VegaRTESpecialCharactersLatin = VegaRTESpecialCharactersLatin;
214
218
  globalThis.VegaRTESpecialCharactersMathematical = VegaRTESpecialCharactersMathematical;
@@ -217,6 +221,8 @@ function injectVegaRichTextEditorClassIntoGlobal() {
217
221
  globalThis.VegaRTESpecialCharactersText = VegaRTESpecialCharactersText;
218
222
  globalThis.VegaRTELineHeightExtension = VegaRTELineHeightExtension;
219
223
  globalThis.VegaRTELinkExtension = VegaRTELinkExtension;
224
+ globalThis.VegaRTECopyExtension = VegaRTECopyExtension;
225
+ globalThis.VegaRTECutExtension = VegaRTECutExtension;
220
226
  }
221
227
  /**
222
228
  * Inject VegaCalendarPeriodFactory to global as a public api.
@@ -118,6 +118,18 @@ export const staticTranslations = {
118
118
  'Image via URL': 'Image via URL',
119
119
  'Insert': 'Insert',
120
120
  'Clear Style': 'Clear Style',
121
+ 'Find and replace': 'Find and replace',
122
+ 'Find in text': 'Find in text',
123
+ 'Previous match': 'Previous match',
124
+ 'Next match': 'Next match',
125
+ 'Find': 'Find',
126
+ 'Close': 'Close',
127
+ 'Replace with': 'Replace with',
128
+ 'Replace': 'Replace',
129
+ 'Replace All': 'Replace All',
130
+ 'Whole words': 'Whole words',
131
+ 'Match case': 'Match case',
132
+ 'Advanced options': 'Advanced options',
121
133
  'URL': 'URL',
122
134
  'Text': 'Text',
123
135
  'Edit': 'Edit',
@@ -193,5 +205,7 @@ export const staticTranslations = {
193
205
  'Optional': 'Optional',
194
206
  'Previous': 'Previous',
195
207
  'Next': 'Next',
208
+ 'Copy': 'Copy',
209
+ 'Cut': 'Cut',
196
210
  };
197
211
  export default staticTranslations;
@@ -1,22 +1,22 @@
1
- import { F as FeatureFlag } from './feature-flag-controller-2a89f20c.js';
2
- import { V as VegaLoader, a as VegaNotify, b as VegaEventManager, c as VegaZIndexManager, w as waitForVega, d as VegaSkeletonLoader, e as VegaTranslation, f as VegaRTETokenExtension, g as VegaRTELanguageExtension, h as VegaRTEDefaultLineHeightOptions, i as VegaRTEFunctionExtension, j as VegaRTETableExtension, k as VegaRTEHorizontalLineExtension, l as VegaRTESpecialCharactersExtension, m as VegaRTESpecialCharactersEssentials, n as VegaRTESpecialCharactersLatin, o as VegaRTESpecialCharactersMathematical, p as VegaRTESpecialCharactersArrows, q as VegaRTESpecialCharactersCurrency, r as VegaRTESpecialCharactersText, s as VegaRTELineHeightExtension, t as VegaCalendarPeriodFactory } from './token-extension-8ff92d14.js';
3
- import { V as VegaThemeManager } from './split-cell-operation-c515669e.js';
1
+ import { F as FeatureFlag } from './feature-flag-controller-3fd04ea9.js';
2
+ import { V as VegaLoader, a as VegaNotify, b as VegaEventManager, c as VegaZIndexManager, w as waitForVega, d as VegaSkeletonLoader, e as VegaTranslation, f as VegaRTETokenExtension, g as VegaRTELanguageExtension, h as VegaRTEDefaultLineHeightOptions, i as VegaRTEFunctionExtension, j as VegaRTETableExtension, k as VegaRTEHorizontalLineExtension, l as VegaRTESpecialCharactersExtension, m as VegaRTEFindReplaceExtension, n as VegaRTESpecialCharactersEssentials, o as VegaRTESpecialCharactersLatin, p as VegaRTESpecialCharactersMathematical, q as VegaRTESpecialCharactersArrows, r as VegaRTESpecialCharactersCurrency, s as VegaRTESpecialCharactersText, t as VegaRTELineHeightExtension, u as VegaRTECopyExtension, v as VegaRTECutExtension, x as VegaCalendarPeriodFactory } from './token-extension-32d1fa56.js';
3
+ import { V as VegaThemeManager } from './split-cell-operation-93b4d775.js';
4
4
  import { M as MapToComponentMethod, V as VegaSlimmer, s as setVegaLogLevel, G as GlobalSlimmersRegistry } from './global-slimmer-registry-17c4efd4.js';
5
5
  import { V as VegaDialog } from './vega-dialog-controller-726b74f9.js';
6
6
  import { T as TypographyUrls } from './typography-19c3b9be.js';
7
7
  import { V as VegaIconManager } from './icon-manager-4ef3f6dd.js';
8
- import { V as VegaInternalTranslation, s as staticTranslations } from './internal-translation-controller-aa09ca87.js';
9
- import { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-a3f9858d.js';
8
+ import { V as VegaInternalTranslation, s as staticTranslations } from './internal-translation-controller-8e8a514a.js';
9
+ import { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-681ecb75.js';
10
10
  import { v as vegaEnvManager } from './vega-env-manager-8f8dc473.js';
11
11
  import { U as UPDATE_TRANSLATION } from './static-subject-title-1c86e974.js';
12
12
  import { C as ChangeManager } from './change-manager-6a7eb88c.js';
13
13
  import { O as Observer } from './observer-3959f9dd.js';
14
14
  import { f as forceUpdate } from './index-090d31ca.js';
15
- import { V as VegaRTEContent } from './content-state-67950b80.js';
15
+ import { V as VegaRTEContent } from './content-state-909099f8.js';
16
16
  import { v as vegaNonceManager, s as setVegaNonce } from './vega-nonce-manager-497e5eb5.js';
17
- import { V as VegaRTEPresetToolbarItems } from './code-block-37294847.js';
18
- import { V as VegaRTELinkExtension } from './link-extension-afb404fb.js';
19
- import './type-guard-a2cbaae9.js';
17
+ import { V as VegaRTEPresetToolbarItems } from './code-block-b71b2aa4.js';
18
+ import { V as VegaRTELinkExtension } from './link-extension-f1a3bea7.js';
19
+ import './type-guard-91087018.js';
20
20
 
21
21
  var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
22
22
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -397,6 +397,7 @@ function injectVegaRichTextEditorClassIntoGlobal() {
397
397
  globalThis.VegaRTETableExtension = VegaRTETableExtension;
398
398
  globalThis.VegaRTEHorizontalLineExtension = VegaRTEHorizontalLineExtension;
399
399
  globalThis.VegaRTESpecialCharactersExtension = VegaRTESpecialCharactersExtension;
400
+ globalThis.VegaRTEFindReplaceExtension = VegaRTEFindReplaceExtension;
400
401
  globalThis.VegaRTESpecialCharactersEssentials = VegaRTESpecialCharactersEssentials;
401
402
  globalThis.VegaRTESpecialCharactersLatin = VegaRTESpecialCharactersLatin;
402
403
  globalThis.VegaRTESpecialCharactersMathematical = VegaRTESpecialCharactersMathematical;
@@ -405,6 +406,8 @@ function injectVegaRichTextEditorClassIntoGlobal() {
405
406
  globalThis.VegaRTESpecialCharactersText = VegaRTESpecialCharactersText;
406
407
  globalThis.VegaRTELineHeightExtension = VegaRTELineHeightExtension;
407
408
  globalThis.VegaRTELinkExtension = VegaRTELinkExtension;
409
+ globalThis.VegaRTECopyExtension = VegaRTECopyExtension;
410
+ globalThis.VegaRTECutExtension = VegaRTECutExtension;
408
411
  }
409
412
  /**
410
413
  * Inject VegaCalendarPeriodFactory to global as a public api.
@@ -416,7 +419,7 @@ function injectVegaCalendarPeriodFactoryIntoGlobal() {
416
419
  * Inject VegaPublicValidationRules to global as a public api
417
420
  */
418
421
  function injectVegaPublicValidationRules() {
419
- void import('./public-rules-f64b0b78.js').then((module) => {
422
+ void import('./public-rules-323bea4b.js').then((module) => {
420
423
  Object.entries(module).forEach(([name, value]) => {
421
424
  globalThis[name] = value;
422
425
  });
@@ -3,7 +3,7 @@ import { j as checkIsVoiceOverClick, k as getFirstFocusableElement, e as getDeep
3
3
  import { S as SynchronizeTaskQueue } from './synchronize-task-queue-ac8acc3b.js';
4
4
  import { O as Observer } from './observer-3959f9dd.js';
5
5
  import { C as ChangeManager } from './change-manager-6a7eb88c.js';
6
- import { C as VegaInternalDialogContentReady } from './vega-internal-event-id-22151a4d.js';
6
+ import { D as VegaInternalDialogContentReady } from './vega-internal-event-id-827eb1ce.js';
7
7
  import { d as domNodeSubjectFactory } from './dom-node-subject-observer-factory-ddff8662.js';
8
8
 
9
9
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
@@ -1,7 +1,7 @@
1
1
  import { c as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
2
- import { i as internalVegaEventManager, j as jqueryDelegatedStrategyController } from './internal-vega-event-manager-956cf128.js';
2
+ import { i as internalVegaEventManager, j as jqueryDelegatedStrategyController } from './internal-vega-event-manager-75e5e3bb.js';
3
3
  import { v as vegaEnvManager } from './vega-env-manager-8f8dc473.js';
4
- import { F as FeatureFlag } from './feature-flag-controller-2a89f20c.js';
4
+ import { F as FeatureFlag } from './feature-flag-controller-3fd04ea9.js';
5
5
 
6
6
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7
7
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -1,9 +1,9 @@
1
1
  import { C as ChangeManager } from './change-manager-6a7eb88c.js';
2
2
  import { d as domNodeSubjectFactory } from './dom-node-subject-observer-factory-ddff8662.js';
3
- import { d as VegaInternalRichTextEditorFlushChanges, e as VegaInternalRichTextEditorSelectionRangeChange } from './vega-internal-event-id-22151a4d.js';
3
+ import { e as VegaInternalRichTextEditorFlushChanges, f as VegaInternalRichTextEditorSelectionRangeChange } from './vega-internal-event-id-827eb1ce.js';
4
4
  import { d as dashCaseToCamel, c as camelToDashCase } from './string-a953eafc.js';
5
5
  import { L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
6
- import { i as isNonNullable } from './type-guard-a2cbaae9.js';
6
+ import { i as isNonNullable } from './type-guard-91087018.js';
7
7
  import { T as TypographyUrls } from './typography-19c3b9be.js';
8
8
  import { g as generateUUID } from './misc-9fdbcfbb.js';
9
9
  import { V as VegaInternalThemeManager } from './dark-mode-style-controller-ca5afd2d.js';
@@ -151,6 +151,7 @@ var ModifyContentActionType;
151
151
  ModifyContentActionType["INSERT_TEXT_TO_DECORATOR_NODE"] = "INSERT_TEXT_TO_DECORATOR_NODE";
152
152
  ModifyContentActionType["INSERT_NODE_TO_NEAREST_ROOT"] = "INSERT_NODE_TO_NEAREST_ROOT";
153
153
  ModifyContentActionType["PASTE_CONTENT"] = "PASTE_CONTENT";
154
+ ModifyContentActionType["DELETE_SELECTED_CONTENT"] = "DELETE_SELECTED_CONTENT";
154
155
  })(ModifyContentActionType || (ModifyContentActionType = {}));
155
156
  /**
156
157
  * Abstract class for update node content, delete node, insert node
@@ -3979,9 +3980,31 @@ class BlockMergeNodesStrategy extends ActionHandleStrategy {
3979
3980
  shouldMergeNodes = anotherBlock.children.filter((node) => node.text);
3980
3981
  }
3981
3982
  target.apply(new AppendChildrenAction(shouldMergeNodes));
3983
+ if (target.type !== 'image') {
3984
+ this.transferLinkGroups(shouldMergeNodes, target);
3985
+ }
3982
3986
  anotherBlock.parent.apply(new RemoveChildrenAction(anotherBlock));
3983
3987
  }
3984
3988
  }
3989
+ /**
3990
+ * Re-registers the link group annotation on the target block for any merged nodes that carry a
3991
+ * link. The link group annotation lives on the block being removed, so without this the merged
3992
+ * link nodes would lose their hyperlink rendering.
3993
+ *
3994
+ * @param {RTENode[]} mergedNodes - The nodes that were appended to the target block.
3995
+ * @param {RTETextBlock} target - The text block that received the merged nodes.
3996
+ */
3997
+ transferLinkGroups(mergedNodes, target) {
3998
+ mergedNodes.forEach((node) => {
3999
+ if (!(node instanceof RTETextNode)) {
4000
+ return;
4001
+ }
4002
+ const linkAnnotation = node.getAnnotationByType(NodeAnnotationTypeEnum.LINK);
4003
+ if (linkAnnotation) {
4004
+ target.apply(new LinkGroupAnnotationAction(linkAnnotation.link.groupKey, [node], 'link'));
4005
+ }
4006
+ });
4007
+ }
3985
4008
  }
3986
4009
 
3987
4010
  /**
@@ -5207,4 +5230,4 @@ class RTECodeBlock extends RTEBlock {
5207
5230
  RTECodeBlock.CODE_BLOCK_PLACEHOLDER_CLASS_NAME = 'code-block-placeholder-element';
5208
5231
  RTECodeBlock.dtoName = 'RTECodeBlock';
5209
5232
 
5210
- export { ITALIC_FONT_STYLE as $, ActionHandleStrategyRegistry as A, BlockAnnotation as B, CommonAnnotationTypeEnum as C, SyncUpSelectionAction as D, BlockAnnotationTypeEnum as E, CustomClassAnnotation as F, NodeAnnotation as G, HorizontalAlignmentAnnotationAction as H, InsertChildrenAfterAction as I, NodeTypeEnum as J, CommonAnnotation as K, ReplaceChildNodesAction as L, ModifyContentAction as M, NodeAnnotationTypeEnum as N, HTML_VOID_TAGS as O, BlockDeleteNodeContentStrategy as P, RemoveChildrenStrategy as Q, RTETextNode as R, SplitBlockWithNodeAction as S, TextStyleAnnotationAction as T, UpdateTextAction as U, VegaRTEPresetToolbarItems as V, BOLD_FONT_WEIGHT_KEYWORD as W, BOLD_FONT_WEIGHT as X, createStyleMapFromElement as Y, RTE_TEXT_COLORS as Z, RTE_DEFAULT_TEXT_COLOR as _, RTEBlock as a, STRIKETHROUGH_TEXT_DECORATION as a0, UNDERLINE_TEXT_DECORATION as a1, TextStyleAnnotation as a2, Predicate as a3, HorizontalAlignmentAnnotation as a4, CodeAnnotation as a5, LinkFilterStylesStrategy as a6, CodeBlockFilterStylesStrategy as a7, RTECodeBlockNode as a8, CodeBlockNodeFilterStylesStrategy as a9, ActionHandlerInterceptorRegistry as aa, CodeLanguage as ab, VegaRTEDefaultTextStyleItems as ac, ZERO_WIDTH_SPACE as ad, LinkAnnotationAction as ae, UpdateCodeBlockAction as af, SelectionChangeAction as ag, TextColorAnnotationAction as ah, VegaRTEOneRowHeightPx as ai, BoldAnnotationAction as aj, ItalicAnnotationAction as ak, UnderlineAnnotationAction as al, BoldAnnotation as am, ClearFormattingAnnotationAction as an, CodeAnnotationAction as ao, StrikethroughAnnotationAction as ap, IndentAnnotationAction as aq, RTETextBlock as b, RTEAnnotationStyle as c, ActionHandleStrategy as d, AppendChildrenAction as e, RTENode as f, InsertChildrenBeforeAction as g, InternalAnnotationTypeEnum as h, ModifyContentActionType as i, AnnotationAction as j, RemoveChildrenAction as k, CustomAttributeAnnotation as l, RTEDTOClassManager$1 as m, RTEFilterStylesStrategy as n, RTEDecoratorNode as o, RTECodeBlock as p, CustomStyleAnnotation as q, RTEFilterStylesStrategyRegistry as r, stateEntityRenderingRegistry as s, BlockUpdateTextStyleStrategy as t, BlockUpdateHorizontalAlignmentStrategy as u, BlockInsertLineBreakStrategy as v, BlockInsertLineBreakWithBlocksStrategy as w, BlockSplitWithTextNodeStrategy as x, BlockReplaceNodesStrategy as y, BlockMergeNodesStrategy as z };
5233
+ export { RTE_DEFAULT_TEXT_COLOR as $, ActionHandleStrategyRegistry as A, BlockAnnotation as B, CommonAnnotationTypeEnum as C, BlockMergeNodesStrategy as D, SyncUpSelectionAction as E, BlockAnnotationTypeEnum as F, CustomClassAnnotation as G, HorizontalAlignmentAnnotationAction as H, InsertChildrenAfterAction as I, NodeAnnotation as J, NodeTypeEnum as K, CommonAnnotation as L, ModifyContentAction as M, NodeAnnotationTypeEnum as N, ReplaceChildNodesAction as O, HTML_VOID_TAGS as P, BlockDeleteNodeContentStrategy as Q, RTETextNode as R, SplitBlockWithNodeAction as S, TextStyleAnnotationAction as T, UpdateTextAction as U, VegaRTEPresetToolbarItems as V, RemoveChildrenStrategy as W, BOLD_FONT_WEIGHT_KEYWORD as X, BOLD_FONT_WEIGHT as Y, createStyleMapFromElement as Z, RTE_TEXT_COLORS as _, RTEBlock as a, ITALIC_FONT_STYLE as a0, STRIKETHROUGH_TEXT_DECORATION as a1, UNDERLINE_TEXT_DECORATION as a2, TextStyleAnnotation as a3, Predicate as a4, HorizontalAlignmentAnnotation as a5, CodeAnnotation as a6, LinkFilterStylesStrategy as a7, CodeBlockFilterStylesStrategy as a8, CodeBlockNodeFilterStylesStrategy as a9, ActionHandlerInterceptorRegistry as aa, CodeLanguage as ab, VegaRTEDefaultTextStyleItems as ac, ZERO_WIDTH_SPACE as ad, LinkAnnotationAction as ae, UpdateCodeBlockAction as af, SelectionChangeAction as ag, TextColorAnnotationAction as ah, VegaRTEOneRowHeightPx as ai, BoldAnnotationAction as aj, ItalicAnnotationAction as ak, UnderlineAnnotationAction as al, BoldAnnotation as am, ClearFormattingAnnotationAction as an, CodeAnnotationAction as ao, StrikethroughAnnotationAction as ap, IndentAnnotationAction as aq, RTETextBlock as b, RTEAnnotationStyle as c, ActionHandleStrategy as d, AppendChildrenAction as e, RTENode as f, InsertChildrenBeforeAction as g, InternalAnnotationTypeEnum as h, ModifyContentActionType as i, AnnotationAction as j, RemoveChildrenAction as k, CustomAttributeAnnotation as l, RTEDTOClassManager$1 as m, RTEFilterStylesStrategy as n, RTEDecoratorNode as o, RTECodeBlock as p, RTECodeBlockNode as q, CustomStyleAnnotation as r, stateEntityRenderingRegistry as s, RTEFilterStylesStrategyRegistry as t, BlockUpdateTextStyleStrategy as u, BlockUpdateHorizontalAlignmentStrategy as v, BlockInsertLineBreakStrategy as w, BlockInsertLineBreakWithBlocksStrategy as x, BlockSplitWithTextNodeStrategy as y, BlockReplaceNodesStrategy as z };
@@ -1,15 +1,15 @@
1
1
  import { c as MapToComponentField, M as MapToComponentMethod } from './global-slimmer-registry-17c4efd4.js';
2
- import { a8 as RTECodeBlockNode, R as RTETextNode, ad as ZERO_WIDTH_SPACE, ag as SelectionChangeAction, h as InternalAnnotationTypeEnum, s as stateEntityRenderingRegistry, a as RTEBlock, f as RTENode, o as RTEDecoratorNode, p as RTECodeBlock } from './code-block-37294847.js';
2
+ import { q as RTECodeBlockNode, R as RTETextNode, ad as ZERO_WIDTH_SPACE, ag as SelectionChangeAction, h as InternalAnnotationTypeEnum, s as stateEntityRenderingRegistry, a as RTEBlock, f as RTENode, o as RTEDecoratorNode, p as RTECodeBlock } from './code-block-b71b2aa4.js';
3
3
  import { d as debounce } from './timer-9321173b.js';
4
4
  import { g as getActiveElement } from './component-7d906393.js';
5
5
  import { C as ChangeManager } from './change-manager-6a7eb88c.js';
6
6
  import { d as domNodeSubjectFactory, D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-ddff8662.js';
7
- import { e as VegaInternalRichTextEditorSelectionRangeChange, c as VegaInternalUpdateRTECursorPosition } from './vega-internal-event-id-22151a4d.js';
7
+ import { f as VegaInternalRichTextEditorSelectionRangeChange, c as VegaInternalUpdateRTECursorPosition } from './vega-internal-event-id-827eb1ce.js';
8
8
  import { O as Observer } from './observer-3959f9dd.js';
9
- import { R as RTERange } from './range-4d09a305.js';
9
+ import { R as RTERange } from './range-e63068d1.js';
10
10
  import { A as AutoRunWhenReRenderTaskQueueSlimmer } from './auto-run-when-re-render-task-queue-slimmer.abstract-27820d4c.js';
11
11
  import { i as isHTMLElement } from './ui-d73f756a.js';
12
- import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-ba5cc767.js';
12
+ import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-61d4c79b.js';
13
13
 
14
14
  let processing = false;
15
15
  /**
@@ -1,9 +1,9 @@
1
- import { d as ActionHandleStrategy, b as RTETextBlock, R as RTETextNode, e as AppendChildrenAction, A as ActionHandleStrategyRegistry, T as TextStyleAnnotationAction, t as BlockUpdateTextStyleStrategy, H as HorizontalAlignmentAnnotationAction, u as BlockUpdateHorizontalAlignmentStrategy, i as ModifyContentActionType, v as BlockInsertLineBreakStrategy, w as BlockInsertLineBreakWithBlocksStrategy, x as BlockSplitWithTextNodeStrategy, y as BlockReplaceNodesStrategy, z as BlockMergeNodesStrategy, I as InsertChildrenAfterAction, k as RemoveChildrenAction, D as SyncUpSelectionAction, g as InsertChildrenBeforeAction, B as BlockAnnotation, E as BlockAnnotationTypeEnum, a as RTEBlock, q as CustomStyleAnnotation, F as CustomClassAnnotation, l as CustomAttributeAnnotation, p as RTECodeBlock, s as stateEntityRenderingRegistry, G as NodeAnnotation, N as NodeAnnotationTypeEnum, o as RTEDecoratorNode, J as NodeTypeEnum, K as CommonAnnotation, j as AnnotationAction, L as ReplaceChildNodesAction, M as ModifyContentAction, S as SplitBlockWithNodeAction, O as HTML_VOID_TAGS, P as BlockDeleteNodeContentStrategy, U as UpdateTextAction, Q as RemoveChildrenStrategy, W as BOLD_FONT_WEIGHT_KEYWORD, X as BOLD_FONT_WEIGHT, Y as createStyleMapFromElement, Z as RTE_TEXT_COLORS, _ as RTE_DEFAULT_TEXT_COLOR, $ as ITALIC_FONT_STYLE, a0 as STRIKETHROUGH_TEXT_DECORATION, a1 as UNDERLINE_TEXT_DECORATION, r as RTEFilterStylesStrategyRegistry, a2 as TextStyleAnnotation, n as RTEFilterStylesStrategy, a3 as Predicate$1, a4 as HorizontalAlignmentAnnotation, a5 as CodeAnnotation, m as RTEDTOClassManager, a6 as LinkFilterStylesStrategy, a7 as CodeBlockFilterStylesStrategy, a8 as RTECodeBlockNode, a9 as CodeBlockNodeFilterStylesStrategy } from './code-block-37294847.js';
1
+ import { d as ActionHandleStrategy, b as RTETextBlock, R as RTETextNode, e as AppendChildrenAction, A as ActionHandleStrategyRegistry, T as TextStyleAnnotationAction, u as BlockUpdateTextStyleStrategy, H as HorizontalAlignmentAnnotationAction, v as BlockUpdateHorizontalAlignmentStrategy, i as ModifyContentActionType, w as BlockInsertLineBreakStrategy, x as BlockInsertLineBreakWithBlocksStrategy, y as BlockSplitWithTextNodeStrategy, z as BlockReplaceNodesStrategy, D as BlockMergeNodesStrategy, I as InsertChildrenAfterAction, k as RemoveChildrenAction, E as SyncUpSelectionAction, g as InsertChildrenBeforeAction, B as BlockAnnotation, F as BlockAnnotationTypeEnum, a as RTEBlock, r as CustomStyleAnnotation, G as CustomClassAnnotation, l as CustomAttributeAnnotation, p as RTECodeBlock, s as stateEntityRenderingRegistry, J as NodeAnnotation, N as NodeAnnotationTypeEnum, o as RTEDecoratorNode, K as NodeTypeEnum, L as CommonAnnotation, j as AnnotationAction, O as ReplaceChildNodesAction, M as ModifyContentAction, S as SplitBlockWithNodeAction, P as HTML_VOID_TAGS, Q as BlockDeleteNodeContentStrategy, U as UpdateTextAction, W as RemoveChildrenStrategy, X as BOLD_FONT_WEIGHT_KEYWORD, Y as BOLD_FONT_WEIGHT, Z as createStyleMapFromElement, _ as RTE_TEXT_COLORS, $ as RTE_DEFAULT_TEXT_COLOR, a0 as ITALIC_FONT_STYLE, a1 as STRIKETHROUGH_TEXT_DECORATION, a2 as UNDERLINE_TEXT_DECORATION, t as RTEFilterStylesStrategyRegistry, a3 as TextStyleAnnotation, n as RTEFilterStylesStrategy, a4 as Predicate$1, a5 as HorizontalAlignmentAnnotation, a6 as CodeAnnotation, m as RTEDTOClassManager, a7 as LinkFilterStylesStrategy, a8 as CodeBlockFilterStylesStrategy, q as RTECodeBlockNode, a9 as CodeBlockNodeFilterStylesStrategy } from './code-block-b71b2aa4.js';
2
2
  import { g as generateUUID } from './misc-9fdbcfbb.js';
3
- import { i as isNonNullable } from './type-guard-a2cbaae9.js';
3
+ import { i as isNonNullable } from './type-guard-91087018.js';
4
4
  import { C as ChangeManager } from './change-manager-6a7eb88c.js';
5
5
  import { d as domNodeSubjectFactory } from './dom-node-subject-observer-factory-ddff8662.js';
6
- import { c as VegaInternalUpdateRTECursorPosition, d as VegaInternalRichTextEditorFlushChanges } from './vega-internal-event-id-22151a4d.js';
6
+ import { c as VegaInternalUpdateRTECursorPosition, d as VegaInternalRichTextEditDeleteSelectedNodes, e as VegaInternalRichTextEditorFlushChanges } from './vega-internal-event-id-827eb1ce.js';
7
7
  import { r as rgbToHex, i as isHTMLElement } from './ui-d73f756a.js';
8
8
  import { c as cleanObject } from './object-0c277f57.js';
9
9
  import { L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
@@ -1423,13 +1423,28 @@ class BlockDeleteTextOrDecoratorNodeStrategy extends BlockDeleteNodeContentStrat
1423
1423
  }
1424
1424
  else {
1425
1425
  const shouldRemoveNode = previousNode;
1426
- if (shouldRemoveNode && !shouldRemoveNode.isContentEditable()) {
1426
+ if (shouldRemoveNode &&
1427
+ !shouldRemoveNode.isContentEditable() &&
1428
+ shouldRemoveNode.parent === target) {
1427
1429
  previousNode = this.getPreviousNode(shouldRemoveNode);
1428
1430
  shouldRemoveNode.parent.apply(new RemoveChildrenAction(shouldRemoveNode));
1429
1431
  if (!previousNode) {
1430
1432
  action.nextNode = startContainerNode;
1431
1433
  }
1432
1434
  }
1435
+ else if (previousNode &&
1436
+ previousNode.parent !== target &&
1437
+ target.type === previousNode.parent.type) {
1438
+ // The caret sits at the start of a block whose first node is a non-editable node
1439
+ // (e.g. a token). Merge this block into the previous one, mirroring the text-node
1440
+ // behavior so Backspace/Delete join the two blocks instead of doing nothing.
1441
+ //
1442
+ // This also covers the case where the previous block ENDS with a non-editable node
1443
+ // (e.g. another token): the previous node is non-editable but lives in a different
1444
+ // block, so it must not be removed here — the blocks merge instead, keeping that
1445
+ // trailing token intact.
1446
+ previousNode.parent.apply(new MergeTwoBlocksNodesAction(target));
1447
+ }
1433
1448
  }
1434
1449
  if (previousNode) {
1435
1450
  action.previousNode = previousNode;
@@ -4736,6 +4751,19 @@ class HTMLContentCleaner {
4736
4751
  }
4737
4752
  }
4738
4753
 
4754
+ /**
4755
+ * DeleteSelectedContentStrategy is responsible for handling the deletion of selected content within the rich text editor.
4756
+ */
4757
+ class DeleteSelectedContentStrategy extends ActionHandleStrategy {
4758
+ /**
4759
+ * @inheritDoc
4760
+ */
4761
+ handleAction(action) {
4762
+ const { host, mergeFlag } = action;
4763
+ ChangeManager.notify(domNodeSubjectFactory.getSubject(host, VegaInternalRichTextEditDeleteSelectedNodes), { host, detail: mergeFlag });
4764
+ }
4765
+ }
4766
+
4739
4767
  /**
4740
4768
  * Class representing the content state of the rich text editor.
4741
4769
  */
@@ -4972,6 +5000,7 @@ class VegaRTEContent {
4972
5000
  ActionHandleStrategyRegistry.register(ModifyContentActionType.INSERT_CHILDREN_AFTER, VegaRTEContent.name, new InsertChildrenAfterStrategy());
4973
5001
  ActionHandleStrategyRegistry.register(ModifyContentActionType.TRANSFORM_TO_CODE_BLOCK, VegaRTEContent.name, new BlockTransformToCodeBlockStrategy());
4974
5002
  ActionHandleStrategyRegistry.register(ModifyContentActionType.UPDATE_CURSOR_POSITION, VegaRTEContent.name, new UpdateCursorPositionStrategy());
5003
+ ActionHandleStrategyRegistry.register(ModifyContentActionType.DELETE_SELECTED_CONTENT, VegaRTEContent.name, new DeleteSelectedContentStrategy());
4975
5004
  })();
4976
5005
  /** Minimize-safe type discriminator for VegaRTEContent. */
4977
5006
  VegaRTEContent.dtoName = 'VegaRTEContent';
@@ -0,0 +1,5 @@
1
+ const copy = {
2
+ icon: `<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><g clip-path="url(#clip0_70002_574)"><path fill="currentColor" d="M11.7794 1.65539L10.3439 0.219844C10.2044 0.0790078 10.0122 0 9.81303 0H5.97865C5.15014 0 4.47865 0.671719 4.47865 1.5L4.47911 7.5C4.49975 8.32969 5.1724 9 5.99975 9H10.4997C11.3247 9 11.9997 8.325 11.9997 7.5V2.18555C11.9997 1.9868 11.9201 1.79602 11.7794 1.65539ZM10.8747 7.5C10.8747 7.70709 10.7068 7.875 10.4997 7.875H5.97865C5.77151 7.875 5.60365 7.70709 5.60365 7.5V1.50305C5.60365 1.29595 5.77156 1.12805 5.97865 1.12805H8.97865L8.99975 2.25C8.99975 2.66414 9.33561 3 9.74975 3H10.8537V7.5H10.8747ZM6.37475 10.5C6.37475 10.7071 6.20684 10.875 5.99975 10.875H1.47865C1.27151 10.875 1.10365 10.7071 1.10365 10.5L1.12428 4.50234C1.12428 4.29525 1.29218 4.12734 1.49928 4.12734H3.74975V3H1.49951C0.670996 3 -0.000488281 3.67148 -0.000488281 4.5L-0.000258594 10.5C-0.000207031 11.3273 0.671465 12 1.49975 12H5.99975C6.82475 12 7.49975 11.325 7.49975 10.5V9.75H6.39584L6.37475 10.5Z"/></g><defs><clipPath id="clip0_70002_574"><rect width="12" height="12" fill="currentColor"/></clipPath></defs></svg>`,
3
+ };
4
+
5
+ export { copy as c };
@@ -1,4 +1,4 @@
1
- import { U as isDateStr } from './type-guard-a2cbaae9.js';
1
+ import { U as isDateStr } from './type-guard-91087018.js';
2
2
  import { I as InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
3
3
 
4
4
  /**
@@ -1,9 +1,9 @@
1
- import { m as StateBackgroundColorFormatter, n as isSpacingTokenType, o as isBorderRadiusTokenType, p as isBorderColorTokenType, q as isBackgroundColorTokenType, r as isTextColorTokenType, s as isBreakpointsTokenType, t as isShadowsTokenType, l as Spacing, u as isBorderStyleType, B as BorderRadius, c as Colors, j as Shadows, v as isTypographyTokenType } from './type-guard-a2cbaae9.js';
1
+ import { m as StateBackgroundColorFormatter, n as isSpacingTokenType, o as isBorderRadiusTokenType, p as isBorderColorTokenType, q as isBackgroundColorTokenType, r as isTextColorTokenType, s as isBreakpointsTokenType, t as isShadowsTokenType, l as Spacing, u as isBorderStyleType, B as BorderRadius, c as Colors, j as Shadows, v as isTypographyTokenType } from './type-guard-91087018.js';
2
2
  import { B as Breakpoints } from './breakpoints-d9faf11c.js';
3
3
  import { L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
4
- import { R as ResponsiveFormatFacade } from './responsive-format-facade-844c5e09.js';
4
+ import { R as ResponsiveFormatFacade } from './responsive-format-facade-fb424f5b.js';
5
5
  import { a as TypographyKeys } from './typography-19c3b9be.js';
6
- import { S as StateBorderFormatter, a as StateShadowFormatter, b as StateBorderColorFormatter } from './state-border-formatter-f53847a5.js';
6
+ import { S as StateBorderFormatter, a as StateShadowFormatter, b as StateBorderColorFormatter } from './state-border-formatter-1a528ca4.js';
7
7
  import { B as BorderStyle } from './ui-93922c59.js';
8
8
 
9
9
  /**
@@ -4,15 +4,15 @@ import { I as InternalVegaZIndexManager } from './internal-vega-z-index-manager-
4
4
  import { c as createDynamicSlimmer } from './dynamic-slimmer-90b8af32.js';
5
5
  import { P as PageResizeObserverSlimmer } from './page-resize-observer-slimmer-e24d36c5.js';
6
6
  import { A as Alignments, P as Placements } from './ui-93922c59.js';
7
- import { J as isTranslocationType, i as isNonNullable, a9 as isEATriggerStrategy } from './type-guard-a2cbaae9.js';
8
- import { R as ResponsiveFormatFacade } from './responsive-format-facade-844c5e09.js';
7
+ import { J as isTranslocationType, i as isNonNullable, a9 as isEATriggerStrategy } from './type-guard-91087018.js';
8
+ import { R as ResponsiveFormatFacade } from './responsive-format-facade-fb424f5b.js';
9
9
  import { t as tryGetDocument } from './try-get-document-bef0f526.js';
10
- import { F as FeatureFlag } from './feature-flag-controller-2a89f20c.js';
10
+ import { F as FeatureFlag } from './feature-flag-controller-3fd04ea9.js';
11
11
  import { C as ChangeManager } from './change-manager-6a7eb88c.js';
12
12
  import { S as SHADOW_ROOT_ELEMENT_SCROLLING } from './static-subject-title-1c86e974.js';
13
13
  import { O as Observer } from './observer-3959f9dd.js';
14
14
  import { d as domNodeSubjectFactory, D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-ddff8662.js';
15
- import { B as VegaInternalNestEAHierarchyTreeChange } from './vega-internal-event-id-22151a4d.js';
15
+ import { C as VegaInternalNestEAHierarchyTreeChange } from './vega-internal-event-id-827eb1ce.js';
16
16
 
17
17
  var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
18
18
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -2,7 +2,7 @@ import { c as MapToComponentField, V as VegaSlimmer, I as InjectVegaSlimmer } fr
2
2
  import { c as createDynamicSlimmer } from './dynamic-slimmer-90b8af32.js';
3
3
  import { C as ChangeManager } from './change-manager-6a7eb88c.js';
4
4
  import { d as domNodeSubjectFactory, D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-ddff8662.js';
5
- import { j as jqueryDelegatedStrategyController, i as internalVegaEventManager } from './internal-vega-event-manager-956cf128.js';
5
+ import { j as jqueryDelegatedStrategyController, i as internalVegaEventManager } from './internal-vega-event-manager-75e5e3bb.js';
6
6
  import { t as tryGetDocument } from './try-get-document-bef0f526.js';
7
7
 
8
8
  var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
@@ -1,4 +1,4 @@
1
- import { R as RequiredFieldRule } from './required-field-rule-a4634842.js';
1
+ import { R as RequiredFieldRule } from './required-field-rule-897fe8d1.js';
2
2
 
3
3
  /**
4
4
  * A rule that checks the value is empty or not which value type is object array
@@ -7,15 +7,15 @@ import { f as findParent, d as isElementVisible } from './ui-d73f756a.js';
7
7
  import { a as isAsyncFunction, g as generateUUID } from './misc-9fdbcfbb.js';
8
8
  import { c as createDynamicSlimmer } from './dynamic-slimmer-90b8af32.js';
9
9
  import { d as domNodeSubjectFactory, D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-ddff8662.js';
10
- import { h as VegaInternalFieldErrorStateChange, f as VegaInternalFormSubmit, i as VegaInternalValid } from './vega-internal-event-id-22151a4d.js';
11
- import { V as VegaInternalTranslation } from './internal-translation-controller-aa09ca87.js';
10
+ import { i as VegaInternalFieldErrorStateChange, g as VegaInternalFormSubmit, j as VegaInternalValid } from './vega-internal-event-id-827eb1ce.js';
11
+ import { V as VegaInternalTranslation } from './internal-translation-controller-8e8a514a.js';
12
12
  import { h as htmlSanitizer, l as labelSanitizeStrategy } from './index-3b327f29.js';
13
13
  import { P as PageResizeObserverSlimmer } from './page-resize-observer-slimmer-e24d36c5.js';
14
14
  import { I as InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
15
15
  import { M as MutationObserverSlimmer } from './mutation-observer-slimmer-58ebc13c.js';
16
16
  import { A as AttributeOldValueMutationFilter } from './mutation-observer-filters-1a054fb0.js';
17
17
  import { i as isArrayEqual } from './array-7888f339.js';
18
- import { S as SubStateObserverSlimmer } from './sub-state-observer-slimmer-d9ad2bdd.js';
18
+ import { S as SubStateObserverSlimmer } from './sub-state-observer-slimmer-64532d94.js';
19
19
 
20
20
  /** The `FormFieldValidationRuleHandler` class is responsible for handling the validation rules for a form field. */
21
21
  class FormFieldValidationRuleHandler {
@@ -1,11 +1,11 @@
1
1
  import { h } from './index-090d31ca.js';
2
2
  import { V as VegaInternalIconManager } from './internal-icon-manager-e7c57096.js';
3
3
  import { c as MapToComponentField, V as VegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
4
- import { A as ActionHandleStrategyRegistry, Z as RTE_TEXT_COLORS, R as RTETextNode, ah as TextColorAnnotationAction, N as NodeAnnotationTypeEnum, j as AnnotationAction } from './code-block-37294847.js';
4
+ import { A as ActionHandleStrategyRegistry, _ as RTE_TEXT_COLORS, R as RTETextNode, ah as TextColorAnnotationAction, N as NodeAnnotationTypeEnum, j as AnnotationAction } from './code-block-b71b2aa4.js';
5
5
  import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-ddff8662.js';
6
- import { a as VegaClick, c as VegaPopoverShow, b as VegaPopoverHide, j as VegaChange } from './vega-event-id-268f8def.js';
6
+ import { a as VegaClick, c as VegaPopoverShow, b as VegaPopoverHide, d as VegaChange } from './vega-event-id-d3017041.js';
7
7
  import { a as VegaDarkModeStyleController } from './dark-mode-style-controller-ca5afd2d.js';
8
- import { g as ImageAnnotation } from './content-state-67950b80.js';
8
+ import { g as ImageAnnotation } from './content-state-909099f8.js';
9
9
 
10
10
  const text = {
11
11
  icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M64 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V80C0 53.5 21.5 32 48 32H224 400c26.5 0 48 21.5 48 48v48c0 17.7-14.3 32-32 32s-32-14.3-32-32V96H256l0 320h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H144c-17.7 0-32-14.3-32-32s14.3-32 32-32h48l0-320H64z"/></svg>`,
@@ -1637,6 +1637,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1637
1637
  return import(
1638
1638
  /* webpackMode: "lazy" */
1639
1639
  './vega-rich-text-special-characters-panel.entry.js').then(processMod, consoleError);
1640
+ case 'vega-rich-text-find-replace-panel':
1641
+ return import(
1642
+ /* webpackMode: "lazy" */
1643
+ './vega-rich-text-find-replace-panel.entry.js').then(processMod, consoleError);
1640
1644
  case 'vega-rich-text-content':
1641
1645
  return import(
1642
1646
  /* webpackMode: "lazy" */