@heartlandone/vega 2.97.0 → 2.99.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 (628) hide show
  1. package/dist/cjs/{action-color-accessibility-validator-24498816.js → action-color-accessibility-validator-b8a9ef0f.js} +2 -2
  2. package/dist/cjs/{app-globals-3f57f7b9.js → app-globals-a306dce6.js} +10 -10
  3. package/dist/cjs/{aria-dialog-focusable-trap-slimmer-73b4c0cb.js → aria-dialog-focusable-trap-slimmer-62147489.js} +1 -1
  4. package/dist/cjs/{code-block-28a7732e.js → code-block-ea1f5eb3.js} +58 -14
  5. package/dist/cjs/{component-global-style-slimmer-93c5fb50.js → component-global-style-slimmer-ba588eb4.js} +1 -1
  6. package/dist/cjs/{component-value-history-controller-slimmer.abstract-50cdba6e.js → component-value-history-controller-slimmer.abstract-7071b064.js} +25 -6
  7. package/dist/cjs/constants-907d7d89.js +16 -0
  8. package/dist/cjs/{content-state-e2ab0f06.js → content-state-8d07d530.js} +61 -9
  9. package/dist/cjs/{dark-mode-style-controller-32d4054a.js → dark-mode-style-controller-f3da3342.js} +2 -2
  10. package/dist/cjs/{date-required-rule-5250f26d.js → date-required-rule-c0c498ad.js} +1 -1
  11. package/dist/cjs/{design-token-74674ee7.js → design-token-58bf7fe8.js} +3 -3
  12. package/dist/cjs/{element-appender-slimmer-ccb2e3c2.js → element-appender-slimmer-a0269315.js} +3 -3
  13. package/dist/cjs/{form-field-controller-slimmer-58621b5e.js → form-field-controller-slimmer-f73f200e.js} +4 -4
  14. package/dist/cjs/{image-annotation-action-b54dc669.js → image-annotation-action-2a28038e.js} +3 -3
  15. package/dist/cjs/{image-extension-1e3eeaa3.js → image-extension-9659708b.js} +2 -2
  16. package/dist/cjs/{index-592b4052.js → index-5d1adcd1.js} +86 -0
  17. package/dist/cjs/index.cjs.js +20 -20
  18. package/dist/cjs/{inject-keyboard-manager-6a6f5c9f.js → inject-keyboard-manager-4fa45f9c.js} +1 -1
  19. package/dist/cjs/{internal-calendar-period-factory-dfcdd3f6.js → internal-calendar-period-factory-6196bc80.js} +1 -1
  20. package/dist/cjs/{internal-translation-controller-1dac2df8.js → internal-translation-controller-51f7f865.js} +2 -0
  21. package/dist/cjs/{keyboard-manager-c56033b1.js → keyboard-manager-482fe257.js} +1 -1
  22. package/dist/cjs/{keyboard-manager-slimmer-7043a106.js → keyboard-manager-slimmer-a19430dd.js} +1 -1
  23. package/dist/cjs/{link-extension-71c27ff3.js → link-extension-11340e1c.js} +26 -7
  24. package/dist/cjs/loader.cjs.js +15 -15
  25. package/dist/cjs/{month-view-generator-7b704a80.js → month-view-generator-1a534451.js} +1 -1
  26. package/dist/cjs/{public-rules-55e34d2e.js → public-rules-6c77b545.js} +10 -10
  27. package/dist/cjs/{range-eebe0e3c.js → range-22ddd452.js} +1 -1
  28. package/dist/cjs/{responsive-format-facade-493d1763.js → responsive-format-facade-74e6d791.js} +1 -1
  29. package/dist/cjs/{rich-text-editor-required-rule-4fdee376.js → rich-text-editor-required-rule-09d1093a.js} +1 -1
  30. package/dist/cjs/{split-cell-operation-51097409.js → split-cell-operation-11bfb305.js} +14 -4
  31. package/dist/cjs/{state-border-formatter-711c7aaa.js → state-border-formatter-bf4f9f1c.js} +1 -1
  32. package/dist/cjs/{string-format-strategy.abstract-b61bdcbd.js → string-format-strategy.abstract-bf37b14c.js} +1 -1
  33. package/dist/cjs/{string-input-formatter-slimmer-18d45942.js → string-input-formatter-slimmer-ffeb18a6.js} +3 -3
  34. package/dist/cjs/{string-mask-strategy-ad3fa0ac.js → string-mask-strategy-7f394726.js} +2 -2
  35. package/dist/cjs/{style-formatter-8f711cb0.js → style-formatter-4ac63910.js} +2 -2
  36. package/dist/cjs/{sub-state-notify-slimmer-18891389.js → sub-state-notify-slimmer-e264a120.js} +1 -1
  37. package/dist/cjs/{sub-state-observer-slimmer-eee2f0ae.js → sub-state-observer-slimmer-6033b824.js} +1 -1
  38. package/dist/cjs/{time-required-rule-87417359.js → time-required-rule-e2a50003.js} +1 -1
  39. package/dist/cjs/{token-extension-608bbf7b.js → token-extension-4686cb3b.js} +2921 -158
  40. package/dist/cjs/{translation-slimmer-77c7f37d.js → translation-slimmer-e4997f8f.js} +1 -1
  41. package/dist/cjs/{type-guard-a57ef3ac.js → type-guard-b8d7bb3f.js} +1 -1
  42. package/dist/cjs/{valid-credit-card-number-rule-4c0a3040.js → valid-credit-card-number-rule-f5a6f009.js} +1 -1
  43. package/dist/cjs/vega-accordion.cjs.entry.js +6 -6
  44. package/dist/cjs/vega-app-footer.cjs.entry.js +2 -2
  45. package/dist/cjs/vega-app-header-button.cjs.entry.js +5 -5
  46. package/dist/cjs/vega-box.cjs.entry.js +7 -7
  47. package/dist/cjs/vega-brand-logo.cjs.entry.js +2 -2
  48. package/dist/cjs/vega-breadcrumb.cjs.entry.js +2 -2
  49. package/dist/cjs/vega-button-circle.cjs.entry.js +7 -7
  50. package/dist/cjs/vega-button-group_2.cjs.entry.js +3 -3
  51. package/dist/cjs/vega-button-link.cjs.entry.js +1 -1
  52. package/dist/cjs/vega-button.cjs.entry.js +5 -5
  53. package/dist/cjs/vega-calendar_5.cjs.entry.js +24 -13
  54. package/dist/cjs/vega-card.cjs.entry.js +5 -5
  55. package/dist/cjs/vega-carousel.cjs.entry.js +3 -3
  56. package/dist/cjs/vega-checkbox_2.cjs.entry.js +5 -5
  57. package/dist/cjs/vega-chip.cjs.entry.js +5 -5
  58. package/dist/cjs/vega-code-block.cjs.entry.js +16 -29
  59. package/dist/cjs/vega-color-picker.cjs.entry.js +5 -5
  60. package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +6 -6
  61. package/dist/cjs/vega-color-swatch.cjs.entry.js +2 -2
  62. package/dist/cjs/vega-combo-box.cjs.entry.js +11 -11
  63. package/dist/cjs/vega-counter-badge.cjs.entry.js +2 -2
  64. package/dist/cjs/vega-date-picker_2.cjs.entry.js +18 -18
  65. package/dist/cjs/vega-dialog_2.cjs.entry.js +7 -7
  66. package/dist/cjs/vega-divider.cjs.entry.js +5 -5
  67. package/dist/cjs/vega-dropdown_5.cjs.entry.js +46 -31
  68. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  69. package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
  70. package/dist/cjs/vega-file-uploader.cjs.entry.js +41 -8
  71. package/dist/cjs/vega-flag-icon.cjs.entry.js +5 -5
  72. package/dist/cjs/vega-flex.cjs.entry.js +6 -6
  73. package/dist/cjs/vega-font.cjs.entry.js +5 -5
  74. package/dist/cjs/vega-form.cjs.entry.js +5 -5
  75. package/dist/cjs/vega-grid.cjs.entry.js +5 -5
  76. package/dist/cjs/vega-icon.cjs.entry.js +6 -6
  77. package/dist/cjs/vega-image-uploader.cjs.entry.js +9 -9
  78. package/dist/cjs/vega-input-credit-card.cjs.entry.js +9 -9
  79. package/dist/cjs/vega-input-numeric.cjs.entry.js +9 -9
  80. package/dist/cjs/vega-input-passcode.cjs.entry.js +8 -8
  81. package/dist/cjs/vega-input-phone-number.cjs.entry.js +7 -7
  82. package/dist/cjs/vega-input-range.cjs.entry.js +6 -6
  83. package/dist/cjs/vega-input-select.cjs.entry.js +8 -8
  84. package/dist/cjs/vega-input.cjs.entry.js +17 -12
  85. package/dist/cjs/{vega-internal-event-id-ecc5b87a.js → vega-internal-event-id-f4d33037.js} +2 -0
  86. package/dist/cjs/vega-left-nav_5.cjs.entry.js +13 -13
  87. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -3
  88. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +1 -1
  89. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +3 -3
  90. package/dist/cjs/vega-pagination.cjs.entry.js +5 -5
  91. package/dist/cjs/vega-popover_2.cjs.entry.js +10 -10
  92. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +6 -6
  93. package/dist/cjs/vega-radio_2.cjs.entry.js +8 -8
  94. package/dist/cjs/vega-rich-text-content.cjs.entry.js +42 -14
  95. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +83 -26
  96. package/dist/cjs/vega-rich-text-find-replace-panel.cjs.entry.js +1 -1
  97. package/dist/cjs/vega-rich-text-special-characters-panel.cjs.entry.js +5 -5
  98. package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +11 -11
  99. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +8 -8
  100. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +6 -6
  101. package/dist/cjs/vega-sidenav_3.cjs.entry.js +6 -6
  102. package/dist/cjs/vega-signature-capture.cjs.entry.js +10 -10
  103. package/dist/cjs/vega-stepper.cjs.entry.js +5 -5
  104. package/dist/cjs/vega-tab-group_2.cjs.entry.js +21 -8
  105. package/dist/cjs/vega-table_11.cjs.entry.js +1219 -489
  106. package/dist/cjs/vega-textarea.cjs.entry.js +5 -5
  107. package/dist/cjs/vega-time-picker_2.cjs.entry.js +12 -12
  108. package/dist/cjs/vega-toggle-switch.cjs.entry.js +5 -5
  109. package/dist/cjs/vega-tooltip_2.cjs.entry.js +7 -7
  110. package/dist/cjs/vega.cjs.js +15 -15
  111. package/dist/cjs/{wait-for-component-did-render-02ca4bee.js → wait-for-component-did-render-44d006ee.js} +1 -1
  112. package/dist/collection/components/vega-accordion/vega-accordion.js +2 -0
  113. package/dist/collection/components/vega-app-footer/vega-app-footer.js +2 -0
  114. package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +2 -0
  115. package/dist/collection/components/vega-banner/vega-banner.js +2 -0
  116. package/dist/collection/components/vega-box/vega-box.js +2 -0
  117. package/dist/collection/components/vega-brand-logo/vega-brand-logo.js +2 -0
  118. package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +2 -0
  119. package/dist/collection/components/vega-button/vega-button.js +2 -0
  120. package/dist/collection/components/vega-button-circle/vega-button-circle.js +2 -0
  121. package/dist/collection/components/vega-button-group/vega-button-group.js +2 -0
  122. package/dist/collection/components/vega-button-link/vega-button-link.js +2 -0
  123. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.js +5 -2
  124. package/dist/collection/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.js +9 -1
  125. package/dist/collection/components/vega-calendar/vega-calendar.js +2 -0
  126. package/dist/collection/components/vega-card/vega-card.js +2 -0
  127. package/dist/collection/components/vega-carousel/vega-carousel.js +2 -0
  128. package/dist/collection/components/vega-checkbox/vega-checkbox.js +2 -0
  129. package/dist/collection/components/vega-chip/vega-chip.js +2 -0
  130. package/dist/collection/components/vega-code-block/slimmers/controllers/code-highlight-parser.abstract.js +4 -17
  131. package/dist/collection/components/vega-color-picker/vega-color-picker.js +2 -0
  132. package/dist/collection/components/vega-combo-box/vega-combo-box.js +2 -0
  133. package/dist/collection/components/vega-counter-badge/vega-counter-badge.js +4 -2
  134. package/dist/collection/components/vega-date-picker/vega-date-picker.js +2 -0
  135. package/dist/collection/components/vega-divider/vega-divider.js +2 -0
  136. package/dist/collection/components/vega-dropdown/constants.js +10 -0
  137. package/dist/collection/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.js +6 -4
  138. package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.js +10 -2
  139. package/dist/collection/components/vega-dropdown/vega-dropdown.js +45 -14
  140. package/dist/collection/components/vega-field-error/vega-field-error.js +2 -0
  141. package/dist/collection/components/vega-field-label/vega-field-label.css +1 -0
  142. package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.js +22 -2
  143. package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +63 -6
  144. package/dist/collection/components/vega-flag-icon/vega-flag-icon.js +2 -0
  145. package/dist/collection/components/vega-flex/vega-flex.js +2 -0
  146. package/dist/collection/components/vega-font/vega-font.js +2 -0
  147. package/dist/collection/components/vega-form/vega-form.js +2 -0
  148. package/dist/collection/components/vega-grid/vega-grid.js +2 -0
  149. package/dist/collection/components/vega-icon/vega-icon.js +2 -0
  150. package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +2 -0
  151. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-suggestions-renderer.js +7 -2
  152. package/dist/collection/components/vega-input/vega-input.js +2 -0
  153. package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +2 -0
  154. package/dist/collection/components/vega-input-numeric/vega-input-numeric.js +2 -0
  155. package/dist/collection/components/vega-input-passcode/vega-input-passcode.js +2 -0
  156. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +2 -0
  157. package/dist/collection/components/vega-input-range/vega-input-range.js +2 -0
  158. package/dist/collection/components/vega-input-select/vega-input-select.js +2 -0
  159. package/dist/collection/components/vega-item-toggle/vega-item-toggle.js +2 -0
  160. package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.js +2 -0
  161. package/dist/collection/components/vega-modal/vega-modal.js +2 -0
  162. package/dist/collection/components/vega-page-notification/vega-page-notification.js +2 -0
  163. package/dist/collection/components/vega-pagination/vega-pagination.js +2 -0
  164. package/dist/collection/components/vega-popover/vega-popover.js +2 -0
  165. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +2 -0
  166. package/dist/collection/components/vega-radio/vega-radio.js +2 -0
  167. package/dist/collection/components/vega-rich-text-editor/constants/constant.js +16 -0
  168. package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-default-styles.js +2 -1
  169. package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +11 -0
  170. package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +3 -0
  171. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.js +2 -1
  172. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.js +5 -2
  173. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/title-heading-node-filter-styles-strategy.js +36 -2
  174. package/dist/collection/components/vega-rich-text-editor/dto/nodes/code-block-node.js +2 -1
  175. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.js +20 -3
  176. package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.js +12 -0
  177. package/dist/collection/components/vega-rich-text-editor/extensions/block-boundary-registry.js +34 -0
  178. package/dist/collection/components/vega-rich-text-editor/extensions/extension.abstract.js +20 -0
  179. package/dist/collection/components/vega-rich-text-editor/extensions/functions/action-handler-strategies/insert-function-block-strategy.js +3 -2
  180. package/dist/collection/components/vega-rich-text-editor/extensions/functions/constants.js +8 -0
  181. package/dist/collection/components/vega-rich-text-editor/extensions/functions/dto/function-block.js +14 -3
  182. package/dist/collection/components/vega-rich-text-editor/extensions/functions/dto/logic-control-block.js +2 -1
  183. package/dist/collection/components/vega-rich-text-editor/extensions/functions/element-to-dto-strategies/div-containing-function-block-strategy.js +19 -0
  184. package/dist/collection/components/vega-rich-text-editor/extensions/functions/element-to-dto-strategies/div-to-function-block-strategy.js +9 -5
  185. package/dist/collection/components/vega-rich-text-editor/extensions/functions/element-to-dto-strategies/div-to-function-content-strategy.js +3 -3
  186. package/dist/collection/components/vega-rich-text-editor/extensions/functions/element-to-dto-strategies/div-to-logic-control-block-strategy.js +4 -2
  187. package/dist/collection/components/vega-rich-text-editor/extensions/functions/function-extension.js +18 -0
  188. package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/function-block-renderer.js +5 -2
  189. package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/logic-control-block-renderer.js +2 -1
  190. package/dist/collection/components/vega-rich-text-editor/extensions/functions/utils.js +36 -0
  191. package/dist/collection/components/vega-rich-text-editor/extensions/languages/language-extension.js +1 -0
  192. package/dist/collection/components/vega-rich-text-editor/extensions/paste/action-handler-strategies/image-replace-src-strategy.js +21 -0
  193. package/dist/collection/components/vega-rich-text-editor/extensions/paste/actions/image-replace-src-action.js +13 -0
  194. package/dist/collection/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/paste-image-parser.js +295 -0
  195. package/dist/collection/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/pending-image-registry.js +116 -0
  196. package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-chooser-ui.js +13 -4
  197. package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-extension.js +70 -7
  198. package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/default-paste-strategy.js +38 -0
  199. package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/paste-processing-strategy.abstract.js +55 -0
  200. package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/paste-strategy-selector.js +59 -0
  201. package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/word-paste-strategy.js +416 -0
  202. package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-code-block-transformer.js +106 -0
  203. package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-image-transformer.js +198 -0
  204. package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-list-transformer.js +591 -0
  205. package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-paragraph-transformer.js +112 -0
  206. package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-table-transformer.js +551 -0
  207. package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-transformer.js +7 -0
  208. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-block.js +10 -0
  209. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/span-to-token-node-strategy.js +4 -2
  210. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node.js +44 -0
  211. package/dist/collection/components/vega-rich-text-editor/helpers/utils.js +10 -6
  212. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/extension-controller.js +2 -0
  213. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-style-annotation-handler.js +7 -4
  214. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.js +17 -0
  215. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.js +18 -4
  216. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/selection-controller.js +21 -2
  217. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.js +7 -0
  218. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.js +5 -2
  219. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +2 -0
  220. package/dist/collection/components/vega-section-title/vega-section-title.js +2 -0
  221. package/dist/collection/components/vega-segment-control/vega-segment-control.js +2 -0
  222. package/dist/collection/components/vega-selection-chip/vega-selection-chip.js +2 -0
  223. package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +2 -0
  224. package/dist/collection/components/vega-sidenav/vega-sidenav.js +2 -0
  225. package/dist/collection/components/vega-signature-capture/vega-signature-capture.js +2 -0
  226. package/dist/collection/components/vega-skeleton/vega-skeleton.js +2 -0
  227. package/dist/collection/components/vega-stepper/vega-stepper.js +2 -0
  228. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +14 -7
  229. package/dist/collection/components/vega-tab-group/vega-tab-group.css +6 -0
  230. package/dist/collection/components/vega-tab-group/vega-tab-group.js +7 -0
  231. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-body-col-span-controller.js +31 -1
  232. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-column-structure-model-controller.js +17 -7
  233. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-head-template-structure-controller.js +440 -0
  234. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-input-controller.js +11 -3
  235. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-col-span-resolver.js +18 -11
  236. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pinned-renderer.js +207 -17
  237. package/dist/collection/components/vega-table/vega-table-foot/vega-table-foot.css +1 -0
  238. package/dist/collection/components/vega-table/vega-table-foot-cell/slimmers/renderers/vega-table-foot-cell-renderer.js +4 -1
  239. package/dist/collection/components/vega-table/vega-table-foot-cell/vega-table-foot-cell.css +15 -0
  240. package/dist/collection/components/vega-table/vega-table-foot-cell/vega-table-foot-cell.js +1 -1
  241. package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-template-structure-controller.js +28 -0
  242. package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +1 -0
  243. package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +68 -4
  244. package/dist/collection/components/vega-table/vega-table.js +15 -0
  245. package/dist/collection/components/vega-textarea/vega-textarea.js +2 -0
  246. package/dist/collection/components/vega-time-picker/vega-time-picker.js +2 -0
  247. package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +2 -0
  248. package/dist/collection/components/vega-tooltip/vega-tooltip.js +2 -0
  249. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
  250. package/dist/collection/helpers/translation/locales/en.js +2 -0
  251. package/dist/collection/utils/sanitize/index.js +3 -2
  252. package/dist/collection/utils/sanitize/strategies/index.js +1 -0
  253. package/dist/collection/utils/sanitize/strategies/label-sanitize-strategy.js +14 -0
  254. package/dist/collection/utils/sanitize/strategies/plain-text-sanitize-strategy.js +70 -0
  255. package/dist/esm/{action-color-accessibility-validator-ce55cb07.js → action-color-accessibility-validator-08877515.js} +2 -2
  256. package/dist/esm/{app-globals-d3991e53.js → app-globals-c59364c2.js} +10 -10
  257. package/dist/esm/{aria-dialog-focusable-trap-slimmer-9eae86c6.js → aria-dialog-focusable-trap-slimmer-f069f54d.js} +1 -1
  258. package/dist/esm/{code-block-8df86434.js → code-block-e6443949.js} +54 -15
  259. package/dist/esm/{component-global-style-slimmer-ac703085.js → component-global-style-slimmer-7d60a04a.js} +1 -1
  260. package/dist/esm/{component-value-history-controller-slimmer.abstract-e4b95997.js → component-value-history-controller-slimmer.abstract-ee393213.js} +25 -6
  261. package/dist/esm/constants-4725f97f.js +13 -0
  262. package/dist/esm/{content-state-c63fbeda.js → content-state-43cdacff.js} +61 -10
  263. package/dist/esm/{dark-mode-style-controller-ca5afd2d.js → dark-mode-style-controller-352f15ff.js} +2 -2
  264. package/dist/esm/{date-required-rule-85334d0c.js → date-required-rule-b5b67498.js} +1 -1
  265. package/dist/esm/{design-token-10ff79b5.js → design-token-8319bb59.js} +3 -3
  266. package/dist/esm/{element-appender-slimmer-24be8e94.js → element-appender-slimmer-c81d1fe3.js} +3 -3
  267. package/dist/esm/{form-field-controller-slimmer-d8628837.js → form-field-controller-slimmer-511b7ac5.js} +4 -4
  268. package/dist/esm/{image-annotation-action-fcceff95.js → image-annotation-action-d7cb80aa.js} +3 -3
  269. package/dist/esm/{image-extension-3280bdb0.js → image-extension-9b8abd0d.js} +2 -2
  270. package/dist/esm/{index-3b327f29.js → index-35451d12.js} +86 -1
  271. package/dist/esm/index.js +20 -20
  272. package/dist/esm/{inject-keyboard-manager-ea1aad5b.js → inject-keyboard-manager-dd368d56.js} +1 -1
  273. package/dist/esm/{internal-calendar-period-factory-7b294fb6.js → internal-calendar-period-factory-d58f35c6.js} +1 -1
  274. package/dist/esm/{internal-translation-controller-fac22598.js → internal-translation-controller-b33430c6.js} +2 -0
  275. package/dist/esm/{keyboard-manager-50da85d7.js → keyboard-manager-b4a0d97d.js} +1 -1
  276. package/dist/esm/{keyboard-manager-slimmer-1f7c8bfb.js → keyboard-manager-slimmer-0517fc70.js} +1 -1
  277. package/dist/esm/{link-extension-f92c06ef.js → link-extension-230bae8d.js} +26 -7
  278. package/dist/esm/loader.js +15 -15
  279. package/dist/esm/{month-view-generator-a1a9a4ec.js → month-view-generator-f470caac.js} +1 -1
  280. package/dist/esm/{public-rules-3695aaf7.js → public-rules-28ef32d3.js} +10 -10
  281. package/dist/esm/{range-717d552d.js → range-efad2578.js} +1 -1
  282. package/dist/esm/{responsive-format-facade-f19b601c.js → responsive-format-facade-dec87e46.js} +1 -1
  283. package/dist/esm/{rich-text-editor-required-rule-2e39264a.js → rich-text-editor-required-rule-a697e5bd.js} +1 -1
  284. package/dist/esm/{split-cell-operation-6c26af91.js → split-cell-operation-89b91a38.js} +14 -4
  285. package/dist/esm/{state-border-formatter-bfda33aa.js → state-border-formatter-1e900a2f.js} +1 -1
  286. package/dist/esm/{string-format-strategy.abstract-1f4ff1b3.js → string-format-strategy.abstract-d0ce3f65.js} +1 -1
  287. package/dist/esm/{string-input-formatter-slimmer-68b2af39.js → string-input-formatter-slimmer-6546cfc7.js} +3 -3
  288. package/dist/esm/{string-mask-strategy-bbbcdbef.js → string-mask-strategy-dd13ae21.js} +2 -2
  289. package/dist/esm/{style-formatter-e9adc8f4.js → style-formatter-057d7120.js} +2 -2
  290. package/dist/esm/{sub-state-notify-slimmer-0f72ce74.js → sub-state-notify-slimmer-23b7d0e8.js} +1 -1
  291. package/dist/esm/{sub-state-observer-slimmer-64532d94.js → sub-state-observer-slimmer-722f6b92.js} +1 -1
  292. package/dist/esm/{time-required-rule-1ce2d0a0.js → time-required-rule-73753a54.js} +1 -1
  293. package/dist/esm/{token-extension-5082a4d2.js → token-extension-74a0eeb1.js} +2919 -156
  294. package/dist/esm/{translation-slimmer-ee0f0e76.js → translation-slimmer-ef970ffc.js} +1 -1
  295. package/dist/esm/{type-guard-f2624334.js → type-guard-6fc96870.js} +1 -1
  296. package/dist/esm/{valid-credit-card-number-rule-60212b1d.js → valid-credit-card-number-rule-b54a31e7.js} +1 -1
  297. package/dist/esm/vega-accordion.entry.js +6 -6
  298. package/dist/esm/vega-app-footer.entry.js +2 -2
  299. package/dist/esm/vega-app-header-button.entry.js +5 -5
  300. package/dist/esm/vega-box.entry.js +7 -7
  301. package/dist/esm/vega-brand-logo.entry.js +2 -2
  302. package/dist/esm/vega-breadcrumb.entry.js +2 -2
  303. package/dist/esm/vega-button-circle.entry.js +7 -7
  304. package/dist/esm/vega-button-group_2.entry.js +3 -3
  305. package/dist/esm/vega-button-link.entry.js +1 -1
  306. package/dist/esm/vega-button.entry.js +5 -5
  307. package/dist/esm/vega-calendar_5.entry.js +24 -13
  308. package/dist/esm/vega-card.entry.js +5 -5
  309. package/dist/esm/vega-carousel.entry.js +3 -3
  310. package/dist/esm/vega-checkbox_2.entry.js +5 -5
  311. package/dist/esm/vega-chip.entry.js +5 -5
  312. package/dist/esm/vega-code-block.entry.js +16 -29
  313. package/dist/esm/vega-color-picker.entry.js +5 -5
  314. package/dist/esm/vega-color-swatch-picker.entry.js +6 -6
  315. package/dist/esm/vega-color-swatch.entry.js +2 -2
  316. package/dist/esm/vega-combo-box.entry.js +11 -11
  317. package/dist/esm/vega-counter-badge.entry.js +2 -2
  318. package/dist/esm/vega-date-picker_2.entry.js +18 -18
  319. package/dist/esm/vega-dialog_2.entry.js +7 -7
  320. package/dist/esm/vega-divider.entry.js +5 -5
  321. package/dist/esm/vega-dropdown_5.entry.js +42 -27
  322. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  323. package/dist/esm/vega-field-label.entry.js +3 -3
  324. package/dist/esm/vega-file-uploader.entry.js +41 -8
  325. package/dist/esm/vega-flag-icon.entry.js +5 -5
  326. package/dist/esm/vega-flex.entry.js +6 -6
  327. package/dist/esm/vega-font.entry.js +5 -5
  328. package/dist/esm/vega-form.entry.js +5 -5
  329. package/dist/esm/vega-grid.entry.js +5 -5
  330. package/dist/esm/vega-icon.entry.js +6 -6
  331. package/dist/esm/vega-image-uploader.entry.js +9 -9
  332. package/dist/esm/vega-input-credit-card.entry.js +9 -9
  333. package/dist/esm/vega-input-numeric.entry.js +9 -9
  334. package/dist/esm/vega-input-passcode.entry.js +8 -8
  335. package/dist/esm/vega-input-phone-number.entry.js +7 -7
  336. package/dist/esm/vega-input-range.entry.js +6 -6
  337. package/dist/esm/vega-input-select.entry.js +8 -8
  338. package/dist/esm/vega-input.entry.js +17 -12
  339. package/dist/esm/{vega-internal-event-id-827eb1ce.js → vega-internal-event-id-86fce049.js} +2 -1
  340. package/dist/esm/vega-left-nav_5.entry.js +13 -13
  341. package/dist/esm/vega-loader-wrapper_2.entry.js +3 -3
  342. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +1 -1
  343. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +3 -3
  344. package/dist/esm/vega-pagination.entry.js +5 -5
  345. package/dist/esm/vega-popover_2.entry.js +10 -10
  346. package/dist/esm/vega-progress-tracker_2.entry.js +6 -6
  347. package/dist/esm/vega-radio_2.entry.js +8 -8
  348. package/dist/esm/vega-rich-text-content.entry.js +42 -14
  349. package/dist/esm/vega-rich-text-editor_4.entry.js +83 -26
  350. package/dist/esm/vega-rich-text-find-replace-panel.entry.js +1 -1
  351. package/dist/esm/vega-rich-text-special-characters-panel.entry.js +5 -5
  352. package/dist/esm/vega-rich-text-table-properties_3.entry.js +11 -11
  353. package/dist/esm/vega-selection-chip_2.entry.js +8 -8
  354. package/dist/esm/vega-selection-tile_2.entry.js +6 -6
  355. package/dist/esm/vega-sidenav_3.entry.js +6 -6
  356. package/dist/esm/vega-signature-capture.entry.js +10 -10
  357. package/dist/esm/vega-stepper.entry.js +5 -5
  358. package/dist/esm/vega-tab-group_2.entry.js +21 -8
  359. package/dist/esm/vega-table_11.entry.js +1194 -464
  360. package/dist/esm/vega-textarea.entry.js +5 -5
  361. package/dist/esm/vega-time-picker_2.entry.js +12 -12
  362. package/dist/esm/vega-toggle-switch.entry.js +5 -5
  363. package/dist/esm/vega-tooltip_2.entry.js +7 -7
  364. package/dist/esm/vega.js +15 -15
  365. package/dist/esm/{wait-for-component-did-render-0c237cb8.js → wait-for-component-did-render-ff7062aa.js} +1 -1
  366. package/dist/sri/vega-sri-manifest.json +371 -367
  367. package/dist/types/components/vega-accordion/vega-accordion.d.ts +2 -0
  368. package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +2 -0
  369. package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +2 -0
  370. package/dist/types/components/vega-banner/vega-banner.d.ts +2 -0
  371. package/dist/types/components/vega-box/vega-box.d.ts +2 -0
  372. package/dist/types/components/vega-brand-logo/vega-brand-logo.d.ts +2 -0
  373. package/dist/types/components/vega-breadcrumb/vega-breadcrumb.d.ts +2 -0
  374. package/dist/types/components/vega-button/vega-button.d.ts +2 -0
  375. package/dist/types/components/vega-button-circle/vega-button-circle.d.ts +2 -0
  376. package/dist/types/components/vega-button-group/vega-button-group.d.ts +2 -0
  377. package/dist/types/components/vega-button-link/vega-button-link.d.ts +2 -0
  378. package/dist/types/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.d.ts +2 -0
  379. package/dist/types/components/vega-calendar/vega-calendar.d.ts +2 -0
  380. package/dist/types/components/vega-card/vega-card.d.ts +2 -0
  381. package/dist/types/components/vega-carousel/vega-carousel.d.ts +2 -0
  382. package/dist/types/components/vega-checkbox/vega-checkbox.d.ts +2 -0
  383. package/dist/types/components/vega-chip/vega-chip.d.ts +2 -0
  384. package/dist/types/components/vega-code-block/slimmers/controllers/code-highlight-parser.abstract.d.ts +2 -1
  385. package/dist/types/components/vega-color-picker/vega-color-picker.d.ts +2 -0
  386. package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +2 -0
  387. package/dist/types/components/vega-counter-badge/vega-counter-badge.d.ts +2 -0
  388. package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +2 -0
  389. package/dist/types/components/vega-divider/vega-divider.d.ts +2 -0
  390. package/dist/types/components/vega-dropdown/constants.d.ts +12 -0
  391. package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.d.ts +1 -0
  392. package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +9 -0
  393. package/dist/types/components/vega-field-error/vega-field-error.d.ts +2 -0
  394. package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.d.ts +10 -0
  395. package/dist/types/components/vega-file-uploader/types.d.ts +4 -0
  396. package/dist/types/components/vega-file-uploader/vega-file-uploader.d.ts +15 -0
  397. package/dist/types/components/vega-flag-icon/vega-flag-icon.d.ts +2 -0
  398. package/dist/types/components/vega-flex/vega-flex.d.ts +2 -0
  399. package/dist/types/components/vega-font/vega-font.d.ts +2 -0
  400. package/dist/types/components/vega-form/vega-form.d.ts +2 -0
  401. package/dist/types/components/vega-grid/vega-grid.d.ts +2 -0
  402. package/dist/types/components/vega-icon/vega-icon.d.ts +2 -0
  403. package/dist/types/components/vega-image-uploader/vega-image-uploader.d.ts +2 -0
  404. package/dist/types/components/vega-input/types.d.ts +11 -1
  405. package/dist/types/components/vega-input/vega-input.d.ts +2 -0
  406. package/dist/types/components/vega-input-credit-card/vega-input-credit-card.d.ts +2 -0
  407. package/dist/types/components/vega-input-numeric/vega-input-numeric.d.ts +2 -0
  408. package/dist/types/components/vega-input-passcode/vega-input-passcode.d.ts +2 -0
  409. package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +2 -0
  410. package/dist/types/components/vega-input-range/vega-input-range.d.ts +2 -0
  411. package/dist/types/components/vega-input-select/vega-input-select.d.ts +2 -0
  412. package/dist/types/components/vega-item-toggle/vega-item-toggle.d.ts +2 -0
  413. package/dist/types/components/vega-loading-indicator/vega-loading-indicator.d.ts +2 -0
  414. package/dist/types/components/vega-modal/vega-modal.d.ts +2 -0
  415. package/dist/types/components/vega-page-notification/vega-page-notification.d.ts +2 -0
  416. package/dist/types/components/vega-pagination/vega-pagination.d.ts +2 -0
  417. package/dist/types/components/vega-popover/vega-popover.d.ts +2 -0
  418. package/dist/types/components/vega-progress-tracker/vega-progress-tracker.d.ts +2 -0
  419. package/dist/types/components/vega-radio/vega-radio.d.ts +2 -0
  420. package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +16 -0
  421. package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-default-styles.d.ts +1 -0
  422. package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +9 -0
  423. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.d.ts +1 -0
  424. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.d.ts +3 -2
  425. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/title-heading-node-filter-styles-strategy.d.ts +25 -3
  426. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.d.ts +7 -0
  427. package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.d.ts +11 -0
  428. package/dist/types/components/vega-rich-text-editor/extensions/block-boundary-registry.d.ts +21 -0
  429. package/dist/types/components/vega-rich-text-editor/extensions/extension.abstract.d.ts +15 -0
  430. package/dist/types/components/vega-rich-text-editor/extensions/functions/constants.d.ts +4 -0
  431. package/dist/types/components/vega-rich-text-editor/extensions/functions/dto/function-block.d.ts +7 -0
  432. package/dist/types/components/vega-rich-text-editor/extensions/functions/element-to-dto-strategies/div-containing-function-block-strategy.d.ts +8 -0
  433. package/dist/types/components/vega-rich-text-editor/extensions/functions/function-extension.d.ts +6 -0
  434. package/dist/types/components/vega-rich-text-editor/extensions/functions/utils.d.ts +29 -0
  435. package/dist/types/components/vega-rich-text-editor/extensions/paste/action-handler-strategies/image-replace-src-strategy.d.ts +12 -0
  436. package/dist/types/components/vega-rich-text-editor/extensions/paste/actions/image-replace-src-action.d.ts +11 -0
  437. package/dist/types/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/paste-image-parser.d.ts +136 -0
  438. package/dist/types/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/pending-image-registry.d.ts +68 -0
  439. package/dist/types/components/vega-rich-text-editor/extensions/paste/paste-chooser-ui.d.ts +9 -4
  440. package/dist/types/components/vega-rich-text-editor/extensions/paste/paste-extension.d.ts +39 -2
  441. package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/default-paste-strategy.d.ts +29 -0
  442. package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/paste-processing-strategy.abstract.d.ts +61 -0
  443. package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/paste-strategy-selector.d.ts +45 -0
  444. package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/word-paste-strategy.d.ts +186 -0
  445. package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-code-block-transformer.d.ts +51 -0
  446. package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-image-transformer.d.ts +86 -0
  447. package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-list-transformer.d.ts +271 -0
  448. package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-paragraph-transformer.d.ts +25 -0
  449. package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-table-transformer.d.ts +240 -0
  450. package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-transformer.d.ts +36 -0
  451. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-block.d.ts +8 -0
  452. package/dist/types/components/vega-rich-text-editor/extensions/tokens/span-to-token-node-strategy.d.ts +2 -2
  453. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-node.d.ts +19 -1
  454. package/dist/types/components/vega-rich-text-editor/helpers/utils.d.ts +7 -0
  455. package/dist/types/components/vega-rich-text-editor/interface.d.ts +10 -0
  456. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-style-annotation-handler.d.ts +4 -1
  457. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.d.ts +8 -0
  458. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.d.ts +1 -0
  459. package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +2 -0
  460. package/dist/types/components/vega-section-title/vega-section-title.d.ts +2 -0
  461. package/dist/types/components/vega-segment-control/vega-segment-control.d.ts +2 -0
  462. package/dist/types/components/vega-selection-chip/vega-selection-chip.d.ts +2 -0
  463. package/dist/types/components/vega-selection-tile/vega-selection-tile.d.ts +2 -0
  464. package/dist/types/components/vega-sidenav/vega-sidenav.d.ts +2 -0
  465. package/dist/types/components/vega-signature-capture/vega-signature-capture.d.ts +2 -0
  466. package/dist/types/components/vega-skeleton/vega-skeleton.d.ts +2 -0
  467. package/dist/types/components/vega-stepper/vega-stepper.d.ts +2 -0
  468. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +1 -0
  469. package/dist/types/components/vega-tab-group/types.d.ts +3 -1
  470. package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +4 -0
  471. package/dist/types/components/vega-table/interface.d.ts +4 -4
  472. package/dist/types/components/vega-table/slimmers/controllers/vega-table-body-col-span-controller.d.ts +16 -0
  473. package/dist/types/components/vega-table/slimmers/controllers/vega-table-column-structure-model-controller.d.ts +8 -4
  474. package/dist/types/components/vega-table/slimmers/controllers/vega-table-head-template-structure-controller.d.ts +168 -0
  475. package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-input-controller.d.ts +8 -1
  476. package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-col-span-resolver.d.ts +8 -10
  477. package/dist/types/components/vega-table/slimmers/renderers/vega-table-pinned-renderer.d.ts +76 -0
  478. package/dist/types/components/vega-table/vega-table-foot-cell/slimmers/renderers/vega-table-foot-cell-renderer.d.ts +1 -0
  479. package/dist/types/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-template-structure-controller.d.ts +12 -0
  480. package/dist/types/components/vega-table/vega-table-head-cell/vega-table-head-cell.d.ts +19 -0
  481. package/dist/types/components/vega-table/vega-table.d.ts +6 -0
  482. package/dist/types/components/vega-textarea/vega-textarea.d.ts +2 -0
  483. package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +2 -0
  484. package/dist/types/components/vega-toggle-switch/vega-toggle-switch.d.ts +2 -0
  485. package/dist/types/components/vega-tooltip/vega-tooltip.d.ts +2 -0
  486. package/dist/types/components.d.ts +54 -0
  487. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
  488. package/dist/types/helpers/translation/interface.d.ts +3 -1
  489. package/dist/types/types/public-api.d.ts +1 -0
  490. package/dist/types/utils/sanitize/index.d.ts +3 -2
  491. package/dist/types/utils/sanitize/strategies/index.d.ts +1 -0
  492. package/dist/types/utils/sanitize/strategies/label-sanitize-strategy.d.ts +9 -0
  493. package/dist/types/utils/sanitize/strategies/plain-text-sanitize-strategy.d.ts +36 -0
  494. package/dist/vega/index.esm.js +1 -1
  495. package/dist/vega/{p-36c89520.entry.js → p-024db952.entry.js} +1 -1
  496. package/dist/vega/p-0b2c4c0b.js +1 -0
  497. package/dist/vega/{p-c2277448.entry.js → p-0ca3b4bf.entry.js} +1 -1
  498. package/dist/vega/{p-363ee8a5.entry.js → p-1a37d63c.entry.js} +1 -1
  499. package/dist/vega/{p-b622c455.js → p-1fa22fda.js} +1 -1
  500. package/dist/vega/{p-d609c3fd.js → p-2044eba9.js} +1 -1
  501. package/dist/vega/{p-e1029acc.js → p-22edd3cc.js} +1 -1
  502. package/dist/vega/{p-5f96e741.entry.js → p-23c1f378.entry.js} +1 -1
  503. package/dist/vega/{p-6c95a6a3.js → p-2529820e.js} +1 -1
  504. package/dist/vega/{p-8d96f0e8.entry.js → p-2af1d8b8.entry.js} +1 -1
  505. package/dist/vega/{p-4c3a08be.entry.js → p-2f89ee14.entry.js} +1 -1
  506. package/dist/vega/{p-2bb5a232.js → p-3091b105.js} +1 -1
  507. package/dist/vega/{p-3af5e87b.entry.js → p-328ebbdb.entry.js} +1 -1
  508. package/dist/vega/p-35628af4.js +1 -0
  509. package/dist/vega/{p-9abf7d0a.entry.js → p-35d37477.entry.js} +1 -1
  510. package/dist/vega/{p-26760c66.entry.js → p-3a230d4b.entry.js} +1 -1
  511. package/dist/vega/{p-040ea356.entry.js → p-3c152bad.entry.js} +1 -1
  512. package/dist/vega/p-3c559c8b.js +1 -0
  513. package/dist/vega/{p-e3fdb65c.entry.js → p-3c8421d5.entry.js} +1 -1
  514. package/dist/vega/{p-b594a11c.entry.js → p-4022412e.entry.js} +1 -1
  515. package/dist/vega/{p-046203cb.entry.js → p-433b1395.entry.js} +1 -1
  516. package/dist/vega/{p-b98ead05.entry.js → p-4370b954.entry.js} +1 -1
  517. package/dist/vega/p-444e24c6.js +1 -0
  518. package/dist/vega/p-4473d8b1.js +3 -0
  519. package/dist/vega/{p-a484e32d.entry.js → p-44999c88.entry.js} +1 -1
  520. package/dist/vega/{p-f29ea345.entry.js → p-47a48329.entry.js} +1 -1
  521. package/dist/vega/{p-0cf3b5c1.entry.js → p-49d7cfed.entry.js} +1 -1
  522. package/dist/vega/p-4a2fe3a4.js +1 -0
  523. package/dist/vega/{p-92528dc9.entry.js → p-4afd6715.entry.js} +1 -1
  524. package/dist/vega/{p-461100b8.entry.js → p-4f6aaac5.entry.js} +1 -1
  525. package/dist/vega/p-50eda925.js +1 -0
  526. package/dist/vega/{p-ae2abdfa.js → p-5110c84f.js} +1 -1
  527. package/dist/vega/{p-deaf037a.entry.js → p-5147c30d.entry.js} +1 -1
  528. package/dist/vega/{p-874e5624.js → p-52878ea9.js} +1 -1
  529. package/dist/vega/{p-b00ec194.entry.js → p-55dc3053.entry.js} +1 -1
  530. package/dist/vega/p-5af312f8.js +1 -0
  531. package/dist/vega/{p-3e09aeed.js → p-5b3c8a56.js} +1 -1
  532. package/dist/vega/{p-2acf9b42.entry.js → p-5e9e04f3.entry.js} +1 -1
  533. package/dist/vega/p-5f377954.js +1 -1
  534. package/dist/vega/p-6493f13a.entry.js +1 -0
  535. package/dist/vega/{p-8611465f.entry.js → p-6659c910.entry.js} +1 -1
  536. package/dist/vega/{p-9c4c474e.entry.js → p-66728dd4.entry.js} +1 -1
  537. package/dist/vega/{p-21f608e8.entry.js → p-66a785d0.entry.js} +1 -1
  538. package/dist/vega/{p-0499e65a.entry.js → p-66fe8b4e.entry.js} +1 -1
  539. package/dist/vega/p-67e88cd7.entry.js +1 -0
  540. package/dist/vega/p-67eaf77e.js +1 -0
  541. package/dist/vega/{p-456f678b.js → p-691bdc20.js} +1 -1
  542. package/dist/vega/{p-1132a74e.entry.js → p-6d6b4495.entry.js} +1 -1
  543. package/dist/vega/p-6db1b9ac.js +1 -0
  544. package/dist/vega/p-7754b10f.entry.js +1 -0
  545. package/dist/vega/{p-d2cbcf5e.entry.js → p-77fb3971.entry.js} +1 -1
  546. package/dist/vega/{p-e7e963ba.entry.js → p-7977352b.entry.js} +1 -1
  547. package/dist/vega/{p-a91927eb.entry.js → p-7b133734.entry.js} +1 -1
  548. package/dist/vega/p-7b84a943.entry.js +1 -0
  549. package/dist/vega/{p-a2bd621e.js → p-83ad8988.js} +1 -1
  550. package/dist/vega/{p-2eb8e167.entry.js → p-840444c9.entry.js} +1 -1
  551. package/dist/vega/{p-703ac992.entry.js → p-860e76f5.entry.js} +1 -1
  552. package/dist/vega/p-867cc602.entry.js +1 -0
  553. package/dist/vega/p-8d2a9012.js +1 -0
  554. package/dist/vega/{p-5e37b041.js → p-8d4be607.js} +1 -1
  555. package/dist/vega/p-8d77c7cf.js +1 -0
  556. package/dist/vega/{p-c29934ef.js → p-8f3b93db.js} +1 -1
  557. package/dist/vega/{p-56417ec5.entry.js → p-944e284d.entry.js} +1 -1
  558. package/dist/vega/{p-0809c651.js → p-94b54a95.js} +1 -1
  559. package/dist/vega/p-9c2b3279.js +1 -0
  560. package/dist/vega/{p-aeb50cad.entry.js → p-9c5289dc.entry.js} +1 -1
  561. package/dist/vega/{p-d25c1a48.js → p-9c9b0629.js} +1 -1
  562. package/dist/vega/{p-abbceebf.entry.js → p-9c9ff871.entry.js} +1 -1
  563. package/dist/vega/{p-a034dfc0.entry.js → p-9d90e271.entry.js} +1 -1
  564. package/dist/vega/{p-d319ebb5.js → p-9e9f49f4.js} +1 -1
  565. package/dist/vega/{p-dcd3e3a7.js → p-a1f220ca.js} +1 -1
  566. package/dist/vega/{p-3488a3f1.entry.js → p-a4360b7e.entry.js} +1 -1
  567. package/dist/vega/{p-2540fd1c.entry.js → p-a7517760.entry.js} +1 -1
  568. package/dist/vega/{p-8ed3b2b6.entry.js → p-aa433430.entry.js} +1 -1
  569. package/dist/vega/{p-c3646101.entry.js → p-aa914dbd.entry.js} +1 -1
  570. package/dist/vega/{p-72ab5cd5.entry.js → p-b12de1bf.entry.js} +1 -1
  571. package/dist/vega/p-b21cc390.entry.js +1 -0
  572. package/dist/vega/{p-dbb4b1d1.js → p-b3c4943b.js} +1 -1
  573. package/dist/vega/{p-98fc5821.entry.js → p-ba6881da.entry.js} +1 -1
  574. package/dist/vega/p-bd7725f7.entry.js +1 -0
  575. package/dist/vega/{p-dad7d2ac.js → p-c348eaf5.js} +1 -1
  576. package/dist/vega/{p-29e3eb12.js → p-c41a2d4a.js} +1 -1
  577. package/dist/vega/{p-ccbe3f1b.entry.js → p-c8ad7207.entry.js} +1 -1
  578. package/dist/vega/{p-b3733762.entry.js → p-c8fb3aac.entry.js} +1 -1
  579. package/dist/vega/p-cc569b54.js +1 -0
  580. package/dist/vega/{p-53fd3c41.entry.js → p-ccbed811.entry.js} +1 -1
  581. package/dist/vega/{p-8ff92914.entry.js → p-ce82d6bb.entry.js} +1 -1
  582. package/dist/vega/{p-f1078e63.js → p-cede3535.js} +1 -1
  583. package/dist/vega/{p-775ecfad.entry.js → p-cf4b3d40.entry.js} +1 -1
  584. package/dist/vega/p-d35a31a5.entry.js +1 -0
  585. package/dist/vega/{p-ac94ba1b.entry.js → p-d4d90ce2.entry.js} +1 -1
  586. package/dist/vega/{p-f5095035.entry.js → p-d6023dc0.entry.js} +1 -1
  587. package/dist/vega/{p-a8174ad8.entry.js → p-d62e618a.entry.js} +1 -1
  588. package/dist/vega/{p-3f183b52.js → p-daba4af1.js} +1 -1
  589. package/dist/vega/{p-1ea9ad9a.js → p-dd0bd78b.js} +1 -1
  590. package/dist/vega/{p-36d2df7a.entry.js → p-ded1ecc1.entry.js} +1 -1
  591. package/dist/vega/p-df63c2fb.entry.js +1 -0
  592. package/dist/vega/{p-d3413a78.entry.js → p-e1a65e06.entry.js} +1 -1
  593. package/dist/vega/{p-39c5054b.js → p-e1c82ca9.js} +1 -1
  594. package/dist/vega/{p-6b76b572.entry.js → p-e469ba27.entry.js} +1 -1
  595. package/dist/vega/{p-e9d09211.js → p-e4c5cb4f.js} +1 -1
  596. package/dist/vega/{p-ec64cc59.entry.js → p-f0a0fc77.entry.js} +1 -1
  597. package/dist/vega/{p-12e8a1b2.js → p-f13b39d8.js} +1 -1
  598. package/dist/vega/{p-21626b93.entry.js → p-f2384411.entry.js} +1 -1
  599. package/dist/vega/{p-09524fec.js → p-f9a3805d.js} +1 -1
  600. package/dist/vega/{p-1e0a8fd3.js → p-fa5cd8b1.js} +1 -1
  601. package/dist/vega/{p-56d19601.entry.js → p-fb9475ab.entry.js} +1 -1
  602. package/dist/vega/{p-2c2e8615.js → p-fcb6b499.js} +1 -1
  603. package/dist/vega/vega.esm.js +1 -1
  604. package/package.json +1 -1
  605. package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-constants.js +0 -6
  606. package/dist/types/components/vega-rich-text-editor/extensions/paste/paste-constants.d.ts +0 -6
  607. package/dist/vega/p-10d43a80.entry.js +0 -1
  608. package/dist/vega/p-1250b1ab.entry.js +0 -1
  609. package/dist/vega/p-1d5e05d9.js +0 -3
  610. package/dist/vega/p-2bb60f89.js +0 -1
  611. package/dist/vega/p-2d158cbd.js +0 -1
  612. package/dist/vega/p-2d7388c9.entry.js +0 -1
  613. package/dist/vega/p-2ff4ae1c.js +0 -1
  614. package/dist/vega/p-3980dfa8.entry.js +0 -1
  615. package/dist/vega/p-3a68b729.js +0 -1
  616. package/dist/vega/p-781b7a54.js +0 -1
  617. package/dist/vega/p-81d4dfcb.entry.js +0 -1
  618. package/dist/vega/p-88a6c89a.js +0 -1
  619. package/dist/vega/p-8e7932bc.js +0 -1
  620. package/dist/vega/p-9664e914.entry.js +0 -1
  621. package/dist/vega/p-9be02fa5.js +0 -1
  622. package/dist/vega/p-ca270da3.entry.js +0 -1
  623. package/dist/vega/p-cd69aeae.js +0 -1
  624. package/dist/vega/p-de8f0d98.js +0 -1
  625. package/dist/vega/p-e9b005df.js +0 -1
  626. package/dist/vega/p-f0e828d8.js +0 -1
  627. package/dist/vega/p-f95d8d10.entry.js +0 -1
  628. package/dist/vega/p-fa65956c.entry.js +0 -1
@@ -0,0 +1,271 @@
1
+ import { WordStructureTransformer } from './word-structure-transformer';
2
+ /**
3
+ * Rebuilds Word list paragraphs into real `<ul>` / `<ol>` / `<li>` structures.
4
+ *
5
+ * Word does not emit list elements: it emits a flat sequence of `<p>` blocks
6
+ * that each carry an `mso-list:l<id> level<depth> lfo<override>` marker plus an
7
+ * inner `mso-list:Ignore` span that renders the visible bullet or number. This
8
+ * transformer walks every container that hosts list paragraphs (so nested
9
+ * `<div>` / table cells are covered), strips the marker span, decides bullet
10
+ * vs. numbered from the marker text / font, and folds the flat items back into
11
+ * a nested list tree the RTE slimmer can parse.
12
+ *
13
+ * Runs before {@link WordParagraphRoleTransformer} so the converted `<li>`
14
+ * elements are no longer seen as paragraphs during role resolution.
15
+ */
16
+ export declare class WordListRoleTransformer implements WordStructureTransformer {
17
+ /** @inheritDoc */
18
+ apply(root: HTMLElement): void;
19
+ /** @inheritDoc */
20
+ getAllowedTags(): string[];
21
+ /** @inheritDoc */
22
+ getAllowedAttributes(): Map<string, string[]>;
23
+ /** @inheritDoc */
24
+ getAllowedStyles(): string[];
25
+ /**
26
+ * Moves any `<ol>` / `<ul>` that appears as a direct child of another
27
+ * `<ol>` / `<ul>` into the preceding `<li>` sibling, so downstream strategies
28
+ * see a well-formed nested list. Word emits this invalid shape when it uses
29
+ * real list elements (rather than flat `mso-list` paragraphs) — the browser
30
+ * parser keeps the nested list as a sibling of the `<li>` it should belong
31
+ * to, and the RTE's OL/UL block strategy would drop it because its
32
+ * `appendChildBlocks` only keeps `<li>` children.
33
+ *
34
+ * Runs bottom-up so a nested list that also has misplaced children is fixed
35
+ * before its own parent list picks it up.
36
+ *
37
+ * @param {HTMLElement} root Parsed body element.
38
+ */
39
+ private nestSiblingLists;
40
+ /**
41
+ * Converts the HTML `<ol type>` attribute into a preserved
42
+ * `list-style-type` declaration for every ordered list that carries one.
43
+ *
44
+ * Word can paste genuine `<ol>` elements (rather than flat list paragraphs)
45
+ * that encode alpha / Roman numbering via the legacy `type` attribute
46
+ * (`type=a`, `type=i`, `type=I`, …). The `type` attribute is not on the
47
+ * allowlist and would be dropped, losing the numbering style, so it is mapped
48
+ * onto `list-style-type` inside `data-style`. Decimal (`type=1`) lists are
49
+ * left untouched because a bare `<ol>` already renders as `1. 2. 3.`. An
50
+ * existing `list-style-type` declaration wins and is never overwritten.
51
+ *
52
+ * @param {HTMLElement} root Parsed body element.
53
+ */
54
+ private applyOrderedListTypeAttributes;
55
+ /**
56
+ * Walks a container, folding each contiguous run of Word list paragraphs
57
+ * into a nested list tree in place of the original paragraphs.
58
+ *
59
+ * @param {HTMLElement} container Element whose direct children may include list paragraphs.
60
+ */
61
+ private processContainer;
62
+ /**
63
+ * Determines whether an element is a Word list paragraph.
64
+ *
65
+ * A paragraph is only treated as a list when it carries a genuine Word list
66
+ * marker: either the `mso-list:l<n>` paragraph style, or the `MsoListParagraph`
67
+ * class **together with** an inner `mso-list:Ignore` marker span. The
68
+ * `MsoListParagraph` class alone is not sufficient — Word also uses that
69
+ * paragraph style for plain indented content (e.g. headings), which must not
70
+ * be folded into a `<ul>` / `<ol>`.
71
+ *
72
+ * @param {HTMLElement} element Candidate element.
73
+ * @returns {boolean} `true` when the element is a `<p>` carrying a Word list marker.
74
+ */
75
+ private isWordListParagraph;
76
+ /**
77
+ * Folds a flat run of Word list paragraphs into a nested list tree inserted
78
+ * before the run, then removes the original paragraphs.
79
+ *
80
+ * @param {HTMLElement[]} run Consecutive Word list paragraphs.
81
+ * @param {HTMLElement} container Element hosting the run.
82
+ */
83
+ private transformRun;
84
+ /**
85
+ * Reports whether a same-level item must break out into a new sibling list.
86
+ * A different Word list instance always splits (so two separate lists pasted
87
+ * back-to-back keep independent numbering). Bullet-vs-numbered switches also
88
+ * split, and numbered lists additionally split when the CSS `list-style-type`
89
+ * changes (e.g. `1.` → `a)`).
90
+ *
91
+ * @param {OpenList} top Currently open list at the same nesting depth.
92
+ * @param {boolean} ordered Whether the incoming item is numbered.
93
+ * @param {string | null} listStyleType Incoming numbered list style, if any.
94
+ * @param {string | null} listId Incoming Word list instance id, if any.
95
+ * @returns {boolean} `true` when a new sibling list should be opened.
96
+ */
97
+ private needsSiblingList;
98
+ /**
99
+ * Reads a previously-written `list-style-type` from an open list element.
100
+ *
101
+ * @param {HTMLElement} listEl List element.
102
+ * @returns {string | null} The style value, or `null` when none is set.
103
+ */
104
+ private readListStyleType;
105
+ /**
106
+ * Opens a new list nested one or more levels deeper than the current top.
107
+ * Word occasionally skips indent levels on paste (e.g. jumping from `level1`
108
+ * to `level3`); this walks the gap one level at a time, inserting placeholder
109
+ * lists so the deeper list is nested through empty `<li>` anchors instead of
110
+ * appearing as a sibling of the shallower list.
111
+ *
112
+ * @param {OpenList[]} stack Stack of currently open lists.
113
+ * @param {HTMLElement} container Host element for the top-level list.
114
+ * @param {HTMLElement} anchor Element the top-level list is inserted before.
115
+ * @param {boolean} ordered Whether the new list is numbered.
116
+ * @param {number} level Word nesting depth for the new list.
117
+ * @param {string | null} listStyleType CSS `list-style-type` for ordered lists.
118
+ * @param {string | null} listId Word list instance id for the new list.
119
+ * @returns {OpenList} The newly opened list.
120
+ */
121
+ private openNestedList;
122
+ /**
123
+ * Replaces the current top list with a sibling list at the same nesting
124
+ * depth. Used when the list flavor (bullet vs. numbered, or the ordered
125
+ * marker style) flips between two consecutive same-level items.
126
+ *
127
+ * @param {OpenList[]} stack Stack of currently open lists.
128
+ * @param {boolean} ordered Whether the sibling list is numbered.
129
+ * @param {number} level Word nesting depth for the sibling list.
130
+ * @param {string | null} listStyleType CSS `list-style-type` for ordered lists.
131
+ * @param {string | null} listId Word list instance id for the sibling list.
132
+ * @returns {OpenList} The newly opened sibling list.
133
+ */
134
+ private openSiblingList;
135
+ /**
136
+ * Attaches a freshly created list element either inside the last item of the
137
+ * parent list (for nested lists) or before the run anchor (top-level lists).
138
+ *
139
+ * @param {HTMLElement} listEl List element to attach.
140
+ * @param {OpenList | undefined} parent Currently open parent list, if any.
141
+ * @param {HTMLElement} container Host element used for top-level insertion.
142
+ * @param {HTMLElement} anchor Element the top-level list is inserted before.
143
+ */
144
+ private attachList;
145
+ /**
146
+ * Creates an empty `<ol>` or `<ul>` element, tagging ordered lists with a
147
+ * `list-style-type` when their markers are not plain decimals.
148
+ *
149
+ * @param {HTMLElement} reference Element whose document creates the list.
150
+ * @param {boolean} ordered Whether to create a numbered list.
151
+ * @param {string | null} listStyleType CSS `list-style-type` for ordered lists.
152
+ * @returns {HTMLElement} The new list element.
153
+ */
154
+ private createListElement;
155
+ /**
156
+ * Converts a Word list paragraph into an `<li>` element: the marker span is
157
+ * removed and the remaining content is moved into the list item.
158
+ *
159
+ * @param {HTMLElement} paragraph Word list paragraph.
160
+ * @param {HTMLElement | undefined} marker Pre-resolved `mso-list:Ignore` span.
161
+ * @returns {HTMLLIElement} The populated list item.
162
+ */
163
+ private buildListItem;
164
+ /**
165
+ * Moves any local (`file://`) images out of the marker span so they survive
166
+ * marker removal as list-item placeholders.
167
+ *
168
+ * Word renders a picture bullet as an `<img>` inside the `mso-list:Ignore`
169
+ * marker span. That bullet still occupies one image slot in the clipboard RTF,
170
+ * so silently dropping it here would leave its RTF blip unconsumed and shift
171
+ * every following image onto the wrong file. Keeping the bullet as a `file://`
172
+ * placeholder inside the `<li>` lets downstream preview pairing consume its RTF
173
+ * slot and then drop it (list images have no editor representation), keeping the
174
+ * remaining images aligned with their files. Non-local bullet images have no RTF
175
+ * counterpart and are left in the marker to be removed with it.
176
+ *
177
+ * @param {HTMLElement} marker Marker span holding the bullet glyph / image.
178
+ * @param {HTMLElement} paragraph Owning list paragraph (placeholder host).
179
+ */
180
+ private preserveMarkerPlaceholderImages;
181
+ /**
182
+ * Removes the `mso-list:Ignore` marker span and any wrapper elements it
183
+ * leaves empty behind.
184
+ *
185
+ * @param {HTMLElement} marker Marker span to remove.
186
+ * @param {HTMLElement} paragraph Owning list paragraph (stop boundary).
187
+ */
188
+ private removeMarker;
189
+ /**
190
+ * Finds the `mso-list:Ignore` marker span within a list paragraph.
191
+ *
192
+ * @param {HTMLElement} paragraph Word list paragraph.
193
+ * @returns {HTMLElement | undefined} The marker span, if present.
194
+ */
195
+ private findMarker;
196
+ /**
197
+ * Reports whether an element has no meaningful (non-whitespace) content left.
198
+ *
199
+ * @param {HTMLElement} element Element to inspect.
200
+ * @returns {boolean} `true` when only whitespace remains.
201
+ */
202
+ private isEmptyElement;
203
+ /**
204
+ * Resolves the Word nesting depth for a list paragraph (defaults to 1).
205
+ *
206
+ * @param {HTMLElement} paragraph Word list paragraph.
207
+ * @returns {number} One-based nesting depth.
208
+ */
209
+ private resolveLevel;
210
+ /**
211
+ * Resolves the Word list instance id for a paragraph. Prefers the list-format
212
+ * override (`lfo<n>`), which is unique per pasted list, and falls back to the
213
+ * abstract list template id (`l<n>`). Returns `null` when neither is present
214
+ * (e.g. the `MsoListParagraph` class fallback).
215
+ *
216
+ * @param {HTMLElement} paragraph Word list paragraph.
217
+ * @returns {string | null} The list instance id, or `null` when unknown.
218
+ */
219
+ private resolveListId;
220
+ /**
221
+ * Decides whether a resolved marker span represents a numbered (`<ol>`) or
222
+ * bulleted (`<ul>`) item based on its text and font.
223
+ *
224
+ * @param {HTMLElement} marker Marker span.
225
+ * @param {HTMLElement} paragraph Owning list paragraph.
226
+ * @returns {boolean} `true` for numbered items, `false` for bulleted items.
227
+ */
228
+ private isOrderedMarker;
229
+ /**
230
+ * Resolves the CSS `list-style-type` for a numbered list marker.
231
+ * Plain decimal markers ("1.", "2.") return `null` so a bare `<ol>` is used;
232
+ * alphabetic and Roman markers map to the matching CSS value so their marker
233
+ * style is preserved.
234
+ *
235
+ * A lone `i` / `I` is ambiguous: it is both Roman numeral 1 and the 9th
236
+ * letter of the alphabet. When the same-level list already open for this
237
+ * instance is alpha, the marker is kept alpha so a long `a) ... h) i) j)`
238
+ * run does not split into a Roman sibling at item 9; otherwise the lone
239
+ * marker is treated as Roman 1 (the first item of a Roman list).
240
+ *
241
+ * @param {HTMLElement} marker Marker span.
242
+ * @param {OpenList | undefined} openList Same-depth list already open, if any.
243
+ * @param {number} level Word nesting depth of the incoming item.
244
+ * @param {string | null} listId Word list instance id of the incoming item.
245
+ * @returns {string | null} The CSS `list-style-type`, or `null` for decimals.
246
+ */
247
+ private resolveListStyleType;
248
+ /**
249
+ * Reports whether a lone `i` / `I` marker continues an already-open alpha
250
+ * list rather than starting a Roman one. True only when the same-depth list
251
+ * is a matching alpha `<ol>` for the same Word list instance, so an ambiguous
252
+ * marker at item 9 stays part of the surrounding `lower-alpha` / `upper-alpha`
253
+ * run instead of opening a Roman sibling.
254
+ *
255
+ * @param {OpenList | undefined} openList Same-depth list already open, if any.
256
+ * @param {number} level Word nesting depth of the incoming item.
257
+ * @param {string | null} listId Word list instance id of the incoming item.
258
+ * @param {string} alphaStyle The alpha style the marker would continue.
259
+ * @returns {boolean} `true` when the marker should be treated as alpha.
260
+ */
261
+ private continuesAlphaList;
262
+ /**
263
+ * Resolves the effective `font-family` for a marker by walking up to the
264
+ * paragraph, so Word's `Symbol` / `Wingdings` bullet fonts can be detected.
265
+ *
266
+ * @param {HTMLElement} marker Marker span.
267
+ * @param {HTMLElement} paragraph Owning list paragraph.
268
+ * @returns {string} The resolved font family, or an empty string.
269
+ */
270
+ private resolveMarkerFont;
271
+ }
@@ -0,0 +1,25 @@
1
+ import { WordStructureTransformer } from './word-structure-transformer';
2
+ /**
3
+ * Maps Word title / subtitle / heading paragraph style class names onto RTE
4
+ * CSS text-style classes. Any pre-existing `data-type` attributes are stripped
5
+ * first so only trusted values remain. Using a class instead of a custom
6
+ * attribute prevents the value from leaking into the DTO's custom-attribute
7
+ * annotation and subsequently into the serialized HTML output.
8
+ */
9
+ export declare class WordParagraphRoleTransformer implements WordStructureTransformer {
10
+ /** @inheritDoc */
11
+ apply(root: HTMLElement): void;
12
+ /** @inheritDoc */
13
+ getAllowedTags(): string[];
14
+ /** @inheritDoc */
15
+ getAllowedAttributes(): Map<string, string[]>;
16
+ /** @inheritDoc */
17
+ getAllowedStyles(): string[];
18
+ /**
19
+ * Resolves the RTE text style for a Word paragraph class name.
20
+ *
21
+ * @param {string | null} className Raw `class` attribute value.
22
+ * @returns {WordParagraphRole | null} Matched role or `null`.
23
+ */
24
+ private resolveRole;
25
+ }
@@ -0,0 +1,240 @@
1
+ import { WordStructureTransformer } from './word-structure-transformer';
2
+ /**
3
+ * Normalizes Microsoft Word table markup into clean, RTE-friendly tables.
4
+ *
5
+ * Word emits real `<table>/<tr>/<td>` elements, so the paste allowlist already
6
+ * keeps the structure. What it cannot fix is the Word-specific decoration that
7
+ * rides along:
8
+ * - `Mso*` class names (e.g. `MsoTableGrid`) survive because `class` is globally
9
+ * allowed; they are Word artifacts and must not leak into the output.
10
+ * - Cell shading and alignment live in presentational attributes (`bgcolor`,
11
+ * `align`, `valign`) that the allowlist strips, losing the formatting; they
12
+ * are migrated into `data-style` so the RTE cell annotation can read them.
13
+ * - `colspan`/`rowspan` may carry redundant `1` values or non-numeric junk that
14
+ * is normalized so span tables map cleanly onto the RTE table model.
15
+ * - Table and cell borders/padding are written with point/centimeter units,
16
+ * system color keywords, and per-side `border-*: none` resets that the RTE
17
+ * cannot parse and that render inconsistent borders; they are stripped so the
18
+ * editor applies its uniform default border and padding.
19
+ * - Cell widths arrive both as a point-based `width` style (which the RTE cannot
20
+ * parse) and a pixel `width` attribute; the point style is dropped and the
21
+ * attribute is migrated into a clean pixel `width` declaration.
22
+ */
23
+ export declare class WordTableTransformer implements WordStructureTransformer {
24
+ /** @inheritDoc */
25
+ apply(root: HTMLElement): void;
26
+ /** @inheritDoc */
27
+ getAllowedTags(): string[];
28
+ /** @inheritDoc */
29
+ getAllowedAttributes(): Map<string, string[]>;
30
+ /** @inheritDoc */
31
+ getAllowedStyles(): string[];
32
+ /**
33
+ * Strips Word class artifacts from a table and its structural descendants,
34
+ * then normalizes every cell's span attributes and presentational styling.
35
+ *
36
+ * @param {HTMLTableElement} table Word table element to normalize in place.
37
+ */
38
+ private normalizeTable;
39
+ /**
40
+ * Removes Word's hidden `!supportMisalignedRows` placeholder cell. Word
41
+ * appends it as a zero-width trailing cell to keep legacy layout engines
42
+ * aligned, but it is not real content and should not survive paste as an
43
+ * extra visible column. Only the row's last cell is considered so an
44
+ * intentional interior zero-width cell is never dropped, and only rows that
45
+ * belong to this table (not a nested one) are touched.
46
+ *
47
+ * @param {HTMLTableElement} table Word table element.
48
+ */
49
+ private removeHiddenMisalignedCells;
50
+ /**
51
+ * Reports whether a row belongs directly to the given table rather than to a
52
+ * nested table, so the recursive `tr` query never reaches into a child table.
53
+ *
54
+ * @param {HTMLTableElement} table Table being normalized.
55
+ * @param {HTMLTableRowElement} row Row to test.
56
+ * @returns {boolean} `true` when the row's nearest ancestor table is `table`.
57
+ */
58
+ private isRowOfTable;
59
+ /**
60
+ * Detects Word's hidden misaligned-row placeholder cell.
61
+ *
62
+ * @param {HTMLTableCellElement} cell Cell to inspect.
63
+ * @returns {boolean} `true` when the cell is a hidden placeholder.
64
+ */
65
+ private isHiddenMisalignedCell;
66
+ /**
67
+ * Reports whether a cell explicitly spans rows/columns.
68
+ *
69
+ * @param {HTMLTableCellElement} cell Cell to inspect.
70
+ * @returns {boolean} `true` when colspan/rowspan is present.
71
+ */
72
+ private hasExplicitSpan;
73
+ /**
74
+ * Reports whether a cell is explicitly marked with zero width via attribute
75
+ * or preserved inline style.
76
+ *
77
+ * @param {HTMLTableCellElement} cell Cell to inspect.
78
+ * @returns {boolean} `true` when width is explicitly zero.
79
+ */
80
+ private hasZeroWidthMarker;
81
+ /**
82
+ * Reports whether a cell has meaningful text content. `trim()` already treats
83
+ * the non-breaking space Word emits as blank, so a zero-width cell holding
84
+ * only markup (including an image) is intentionally treated as empty and
85
+ * removed.
86
+ *
87
+ * @param {HTMLTableCellElement} cell Cell to inspect.
88
+ * @returns {boolean} `true` when the cell has meaningful text.
89
+ */
90
+ private hasMeaningfulCellContent;
91
+ /**
92
+ * Reads one declaration value from a style string.
93
+ *
94
+ * @param {string} style Preserved style text.
95
+ * @param {string} property CSS property name to read.
96
+ * @returns {string | null} Declaration value when present.
97
+ */
98
+ private readStyleDeclaration;
99
+ /**
100
+ * Collapses every `<tfoot>` into the table body because the RTE table model
101
+ * has no footer section. Left in place, an unsupported `<tfoot>` is unwrapped
102
+ * by the paste sanitizer into a bare `<tr>` under `<table>`, so its rows lose
103
+ * their section placement. When the table already has a `<tbody>`, the
104
+ * footer's rows are appended to the last body so they stay in document order;
105
+ * otherwise the `<tfoot>` itself is renamed to `<tbody>` so its rows survive
106
+ * as body content.
107
+ *
108
+ * @param {HTMLTableElement} table Word table element.
109
+ */
110
+ private mergeFooterIntoBody;
111
+ /**
112
+ * Promotes `<td>` cells that Word places directly inside a `<thead>` row to
113
+ * `<th>`. The RTE identifies header cells solely by the `TH` tag, so without
114
+ * this the head row would be parsed as ordinary body cells and lose its
115
+ * header annotations and rendering. Only direct `thead > tr > td` cells are
116
+ * converted so cells of a nested table are never touched.
117
+ *
118
+ * @param {HTMLTableElement} table Word table element.
119
+ */
120
+ private promoteHeadCells;
121
+ /**
122
+ * Replaces a table cell element with an equivalent cell of a different tag,
123
+ * preserving its attributes and child nodes.
124
+ *
125
+ * @param {HTMLTableCellElement} cell Cell to replace.
126
+ * @param {string} tagName Target cell tag name (`th` / `td`).
127
+ */
128
+ private renameCell;
129
+ /**
130
+ * Replaces an element with an equivalent element of a different tag,
131
+ * preserving its attributes and child nodes and its position in the tree.
132
+ *
133
+ * @param {Element} element Element to replace.
134
+ * @param {string} tagName Target tag name.
135
+ * @returns {HTMLElement} The replacement element.
136
+ */
137
+ private replaceElementTag;
138
+ /**
139
+ * Removes the `class` attribute so Word style class names cannot leak into
140
+ * the sanitized output (the global allowlist keeps `class` on every tag).
141
+ *
142
+ * @param {HTMLElement} element Table structural element.
143
+ */
144
+ private stripClass;
145
+ /**
146
+ * Drops whitespace-only text nodes that sit directly inside the table and its
147
+ * row containers. Word exports newlines/indentation between structural tags,
148
+ * which are invalid as table content and would otherwise render as stray
149
+ * spaces once the table is pasted.
150
+ *
151
+ * @param {HTMLTableElement} table Word table element.
152
+ */
153
+ private removeStructuralWhitespace;
154
+ /**
155
+ * Drops whitespace-only text nodes that sit directly inside a cell whose
156
+ * content is block-level (e.g. Word wraps every cell's text in `<p>`). Word
157
+ * indents its markup, so these text nodes are pure layout whitespace; left in
158
+ * place each one is wrapped into its own paragraph by the RTE, producing the
159
+ * stray empty lines seen above and below the real cell content. Cells that
160
+ * only hold inline content are skipped so meaningful spaces between inline
161
+ * runs are never merged.
162
+ *
163
+ * @param {HTMLTableCellElement} cell Table cell element.
164
+ */
165
+ private removeCellLayoutWhitespace;
166
+ /**
167
+ * Normalizes `colspan` / `rowspan` values: a redundant span of `1` or any
168
+ * non-numeric value is removed, and valid spans are rewritten as a clean
169
+ * integer so the RTE table model reads them consistently.
170
+ *
171
+ * @param {HTMLTableCellElement} cell Table cell element.
172
+ */
173
+ private normalizeSpanAttributes;
174
+ /**
175
+ * Migrates Word cell presentational attributes into `data-style` so the RTE
176
+ * cell annotation can read the shading and alignment, then removes the
177
+ * original attributes. An existing declaration for the same property always
178
+ * wins and is never overwritten.
179
+ *
180
+ * @param {HTMLTableCellElement} cell Table cell element.
181
+ */
182
+ private migrateCellAttributes;
183
+ /**
184
+ * Converts a cell's `width` attribute into a `width` style declaration. Word
185
+ * emits the width both as a point-based inline style (which the RTE cannot
186
+ * parse) and as a pixel `width` attribute; the point style is dropped and the
187
+ * attribute value becomes a clean pixel `width` declaration (a bare number is
188
+ * treated as pixels, any explicit unit such as `%` is kept as-is).
189
+ *
190
+ * @param {HTMLTableCellElement} cell Table cell element.
191
+ */
192
+ private migrateCellWidth;
193
+ /**
194
+ * Normalizes a cell `width` attribute value into a CSS width value. A bare
195
+ * number is treated as pixels; any value carrying an explicit unit (e.g. `%`)
196
+ * is kept as-is. An empty or missing value yields `null`.
197
+ *
198
+ * @param {string | null} value Raw `width` attribute value.
199
+ * @returns {string | null} CSS width value, or `null` when there is nothing to migrate.
200
+ */
201
+ private toCssWidth;
202
+ /**
203
+ * Appends a `property: value` declaration to the preserved style attribute
204
+ * unless the property is already declared.
205
+ *
206
+ * @param {HTMLElement} element Element receiving the declaration.
207
+ * @param {string} property CSS property name.
208
+ * @param {string} value CSS value.
209
+ */
210
+ private appendStyleDeclaration;
211
+ /**
212
+ * Removes every border box-model and padding declaration from the preserved
213
+ * style so Word's point/centimeter units, system color keywords, and per-side
214
+ * `border-*: none` resets cannot reach the RTE. Once these are gone the table
215
+ * and cell annotations fall back to the editor's default border
216
+ * (`solid 1px #ddd`) and padding (`12px`), giving every pasted cell a uniform
217
+ * border. `border-collapse` / `border-spacing` are preserved so table
218
+ * collapsing is unaffected.
219
+ *
220
+ * @param {HTMLElement} element Table or cell element to normalize.
221
+ */
222
+ private removeBorderAndPaddingStyles;
223
+ /**
224
+ * Removes every preserved-style declaration whose property name matches the
225
+ * given predicate, rewriting (or dropping) the `data-style` attribute.
226
+ *
227
+ * @param {HTMLElement} element Element whose preserved style is filtered.
228
+ * @param {(property: string) => boolean} shouldRemove Predicate that returns
229
+ * `true` for property names to drop (receives the lower-cased name).
230
+ */
231
+ private removeMatchingStyleDeclarations;
232
+ /**
233
+ * Reports whether a preserved style string already declares a property.
234
+ *
235
+ * @param {string} style Preserved style attribute value.
236
+ * @param {string} property CSS property name.
237
+ * @returns {boolean} `true` when the property is already present.
238
+ */
239
+ private styleHasProperty;
240
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Contract for Word DOM structure transformers. Each transformer is responsible
3
+ * for one structural concern (list markers, paragraph roles, tables, images…).
4
+ * Register new transformers in {@link WordPasteProcessingStrategy.STRUCTURE_TRANSFORMERS}
5
+ * to extend Word paste support without touching the core pipeline.
6
+ */
7
+ export declare const WORD_SANITIZE_ALL_TAGS_KEY: string;
8
+ export interface WordStructureTransformer {
9
+ /**
10
+ * Applies the transformation in place on the parsed body element.
11
+ *
12
+ * @param {HTMLElement} root Parsed body element of the Word fragment.
13
+ */
14
+ apply(root: HTMLElement): void;
15
+ /**
16
+ * Declares the HTML tags this transformer needs preserved through the Word
17
+ * allowlist pass.
18
+ *
19
+ * @returns {string[]} Allowed tag names (upper case).
20
+ */
21
+ getAllowedTags(): string[];
22
+ /**
23
+ * Declares the attributes this transformer needs preserved, keyed by
24
+ * upper-case tag name. Use {@link WORD_SANITIZE_ALL_TAGS_KEY} for attributes
25
+ * allowed on every allowed tag.
26
+ *
27
+ * @returns {Map<string, string[]>} Tag → allowed attribute names.
28
+ */
29
+ getAllowedAttributes(): Map<string, string[]>;
30
+ /**
31
+ * Declares the CSS property prefixes this transformer needs preserved.
32
+ *
33
+ * @returns {string[]} Allowed CSS property prefixes (lower case).
34
+ */
35
+ getAllowedStyles(): string[];
36
+ }
@@ -42,6 +42,14 @@ export declare class RTETableBlock extends RTEBlock<VegaRTEContent | RTEHtmlBloc
42
42
  * @inheritDoc
43
43
  */
44
44
  getLastNode(): RTENode;
45
+ /**
46
+ * The table is an atomic caret boundary: resolving a caret on its boundary must keep
47
+ * it anchored to the table block (so paragraph-insertion before/after works) rather
48
+ * than descending into a cell.
49
+ *
50
+ * @inheritDoc
51
+ */
52
+ allowsCaretDescend(): boolean;
45
53
  /**
46
54
  * Get the first node of the table block.
47
55
  *
@@ -1,5 +1,5 @@
1
1
  import { Nullable } from '../../../../types/general';
2
- import { VegaRTECustomNode } from '../../interface';
2
+ import { VegaRTECustomNode, VegaRTETextAnnotations, VegaRTETransformOptions } from '../../interface';
3
3
  import { ElementToDTOStrategy } from '../../slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy.abstract';
4
4
  /**
5
5
  * Strategy to convert <span class="token" token-key="...">...</span> to a token node
@@ -12,7 +12,7 @@ export declare class SpanToTokenNodeStrategy extends ElementToDTOStrategy {
12
12
  /**
13
13
  * @inheritDoc
14
14
  */
15
- handle(elementsArray: HTMLElement[]): Nullable<VegaRTECustomNode>;
15
+ handle(elementsArray: HTMLElement[], _options?: VegaRTETransformOptions, parentTextAnnotations?: VegaRTETextAnnotations): Nullable<VegaRTECustomNode>;
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -1,6 +1,6 @@
1
1
  import { RTETextBlock } from '../../dto/blocks/text-block';
2
2
  import { RTETextNode } from '../../dto/nodes/text-node';
3
- import { RTENodeAnnotationMapKey, RTENodeAnnotationMapValue, VegaRTETokenNode } from '../../interface';
3
+ import { RTENodeAnnotationMapKey, RTENodeAnnotationMapValue, VegaRTETokenNode, VegaRTETransformOptions } from '../../interface';
4
4
  /**
5
5
  * Token node for the Vega Rich Text Editor.
6
6
  */
@@ -39,4 +39,22 @@ export declare class RTETokenNode extends RTETextNode {
39
39
  * @returns {string} - The HTML representation of the token node.
40
40
  */
41
41
  toHtml(): string;
42
+ /**
43
+ * @inheritDoc
44
+ */
45
+ renderHtmlFromDepth(depth: number, options?: VegaRTETransformOptions): string;
46
+ /**
47
+ * Render token markup wrapped by inline HTML annotations, preserving token attributes.
48
+ *
49
+ * @param {InlineHtmlAnnotation} inlineHtmlNode - Current wrapper annotation.
50
+ * @returns {string} Token HTML wrapped by inline HTML annotations.
51
+ */
52
+ private renderTokenWithWrapperStr;
53
+ /**
54
+ * Build inline HTML wrapper attributes string.
55
+ *
56
+ * @param {InlineHtmlAnnotation} annotation - Inline HTML annotation.
57
+ * @returns {string} Serialized attribute string.
58
+ */
59
+ private inlineHtmlAnnotationAttrStr;
42
60
  }
@@ -18,6 +18,13 @@ export declare function createStyleMapFromElement(element: HTMLElement): Annotat
18
18
  * @returns {string[]} Array of individual CSS property strings.
19
19
  */
20
20
  export declare function splitStyleProperties(styleAttr: string): string[];
21
+ /**
22
+ * Simple escape HTML-sensitive characters so text can be rendered literally in HTML. Only escape &, <, and >.
23
+ *
24
+ * @param {string} text - Raw text content.
25
+ * @returns {string} Escaped text content.
26
+ */
27
+ export declare function simpleEscapeHtml(text: string): string;
21
28
  /**
22
29
  * Escape HTML-sensitive characters so text can be rendered literally in HTML.
23
30
  *