@heartlandone/vega 2.80.0 → 2.81.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 (564) hide show
  1. package/dist/cjs/{app-globals-7a48292d.js → app-globals-25e1bfac.js} +6 -6
  2. package/dist/cjs/{aria-dialog-focusable-trap-slimmer-5a0a78fe.js → aria-dialog-focusable-trap-slimmer-ced9566d.js} +14 -69
  3. package/dist/cjs/{child-nodes-notify-observer-slimmer-a8d13f4c.js → child-nodes-notify-observer-slimmer-2631c381.js} +1 -1
  4. package/dist/cjs/{code-block-71a330a1.js → code-block-24b3d0e7.js} +802 -61
  5. package/dist/cjs/{component-value-history-controller-slimmer.abstract-fd077a6c.js → component-value-history-controller-slimmer.abstract-bd662b32.js} +5 -5
  6. package/dist/cjs/{content-state-afa26456.js → content-state-0f26036c.js} +969 -466
  7. package/dist/cjs/{date-required-rule-9f0e3e99.js → date-required-rule-4377217a.js} +1 -1
  8. package/dist/cjs/{design-token-3f9589eb.js → design-token-40276b11.js} +2 -2
  9. package/dist/cjs/{dom-node-subject-observer-factory-a3a60da4.js → dom-node-subject-observer-factory-9110cb94.js} +1 -1
  10. package/dist/cjs/{element-appender-slimmer-7a66229b.js → element-appender-slimmer-be1b4d57.js} +4 -4
  11. package/dist/cjs/{event-emit-slimmer-024e26bb.js → event-emit-slimmer-bee6b676.js} +1 -1
  12. package/dist/cjs/{form-field-controller-slimmer-c487cf2b.js → form-field-controller-slimmer-982dbfe4.js} +3 -3
  13. package/dist/cjs/{image-annotation-action-4e72af4b.js → image-annotation-action-e0df5a20.js} +3 -3
  14. package/dist/cjs/index.cjs.js +15 -14
  15. package/dist/cjs/{inject-keyboard-manager-d1a82089.js → inject-keyboard-manager-12b65e98.js} +1 -1
  16. package/dist/cjs/{keyboard-manager-9dbbb0d4.js → keyboard-manager-c89a66d3.js} +2 -2
  17. package/dist/cjs/{keyboard-manager-slimmer-68cff676.js → keyboard-manager-slimmer-93fcbf46.js} +1 -1
  18. package/dist/cjs/loader.cjs.js +10 -10
  19. package/dist/cjs/{month-view-generator-65a2f883.js → month-view-generator-0d25e950.js} +1 -1
  20. package/dist/cjs/page-size-option-utils-d038dd3a.js +68 -0
  21. package/dist/cjs/{public-rules-36f202b3.js → public-rules-652ec269.js} +8 -8
  22. package/dist/cjs/{range-fa15d524.js → range-cdd61881.js} +2 -2
  23. package/dist/cjs/{responsive-format-facade-4419b4ae.js → responsive-format-facade-9cae7f27.js} +3 -3
  24. package/dist/cjs/{rich-text-editor-required-rule-7d4c2973.js → rich-text-editor-required-rule-4b919054.js} +1 -1
  25. package/dist/cjs/{split-cell-operation-19f98afb.js → split-cell-operation-3596f738.js} +58 -23
  26. package/dist/cjs/{string-format-strategy.abstract-c65d9861.js → string-format-strategy.abstract-ebdb2573.js} +1 -1
  27. package/dist/cjs/{string-input-formatter-slimmer-c2e04acc.js → string-input-formatter-slimmer-9b6a8399.js} +3 -3
  28. package/dist/cjs/{string-mask-strategy-418fc0b8.js → string-mask-strategy-6cc9f391.js} +2 -2
  29. package/dist/cjs/{style-formatter-3c9ce0e5.js → style-formatter-18289c4d.js} +2 -2
  30. package/dist/cjs/{sub-state-notify-slimmer-7a4c6061.js → sub-state-notify-slimmer-39bfcfe3.js} +1 -1
  31. package/dist/cjs/{sub-state-observer-slimmer-f728e068.js → sub-state-observer-slimmer-e5b50cbf.js} +2 -2
  32. package/dist/cjs/{time-required-rule-ad091302.js → time-required-rule-3517beff.js} +1 -1
  33. package/dist/cjs/{token-extension-90396de7.js → token-extension-addc97c1.js} +208 -34
  34. package/dist/cjs/{type-guard-d760850a.js → type-guard-362d7da3.js} +23 -0
  35. package/dist/cjs/{ui-9e8c9732.js → ui-ae4ee13d.js} +69 -0
  36. package/dist/cjs/{valid-credit-card-number-rule-5ce8e973.js → valid-credit-card-number-rule-1d8bf49c.js} +1 -1
  37. package/dist/cjs/vega-accordion.cjs.entry.js +6 -6
  38. package/dist/cjs/vega-app-header-button.cjs.entry.js +6 -6
  39. package/dist/cjs/vega-backdrop.cjs.entry.js +1 -1
  40. package/dist/cjs/vega-banner.cjs.entry.js +5 -4
  41. package/dist/cjs/vega-box.cjs.entry.js +5 -5
  42. package/dist/cjs/vega-breadcrumb.cjs.entry.js +27 -10
  43. package/dist/cjs/vega-button-circle.cjs.entry.js +6 -6
  44. package/dist/cjs/vega-button-group_2.cjs.entry.js +5 -5
  45. package/dist/cjs/vega-button-link.cjs.entry.js +3 -3
  46. package/dist/cjs/vega-button.cjs.entry.js +5 -5
  47. package/dist/cjs/vega-calendar_4.cjs.entry.js +7 -7
  48. package/dist/cjs/vega-card.cjs.entry.js +5 -5
  49. package/dist/cjs/vega-carousel.cjs.entry.js +5 -5
  50. package/dist/cjs/vega-checkbox_2.cjs.entry.js +6 -6
  51. package/dist/cjs/vega-chip.cjs.entry.js +7 -7
  52. package/dist/cjs/vega-code-block.cjs.entry.js +9 -9
  53. package/dist/cjs/vega-color-picker.cjs.entry.js +5 -5
  54. package/dist/cjs/vega-combo-box.cjs.entry.js +8 -8
  55. package/dist/cjs/vega-date-picker_2.cjs.entry.js +337 -279
  56. package/dist/cjs/vega-dialog_2.cjs.entry.js +73 -10
  57. package/dist/cjs/vega-divider.cjs.entry.js +5 -5
  58. package/dist/cjs/vega-dropdown_5.cjs.entry.js +51 -13
  59. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  60. package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
  61. package/dist/cjs/vega-file-uploader.cjs.entry.js +5 -5
  62. package/dist/cjs/vega-flag-icon.cjs.entry.js +3 -3
  63. package/dist/cjs/vega-flex.cjs.entry.js +6 -6
  64. package/dist/cjs/vega-font.cjs.entry.js +4 -4
  65. package/dist/cjs/vega-form.cjs.entry.js +8 -8
  66. package/dist/cjs/vega-grid.cjs.entry.js +4 -4
  67. package/dist/cjs/vega-icon.cjs.entry.js +4 -4
  68. package/dist/cjs/vega-image-uploader.cjs.entry.js +7 -7
  69. package/dist/cjs/vega-input-credit-card.cjs.entry.js +9 -9
  70. package/dist/cjs/vega-input-numeric.cjs.entry.js +9 -9
  71. package/dist/cjs/vega-input-passcode.cjs.entry.js +8 -8
  72. package/dist/cjs/vega-input-phone-number.cjs.entry.js +7 -7
  73. package/dist/cjs/vega-input-range.cjs.entry.js +5 -5
  74. package/dist/cjs/vega-input-select.cjs.entry.js +7 -7
  75. package/dist/cjs/vega-input.cjs.entry.js +14 -11
  76. package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
  77. package/dist/cjs/vega-left-nav_5.cjs.entry.js +117 -12
  78. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -3
  79. package/dist/cjs/vega-page-notification_2.cjs.entry.js +2 -2
  80. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +2 -2
  81. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +23 -7
  82. package/dist/cjs/vega-pagination.cjs.entry.js +43 -19
  83. package/dist/cjs/vega-popover_2.cjs.entry.js +10 -10
  84. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +42 -11
  85. package/dist/cjs/vega-radio_2.cjs.entry.js +9 -9
  86. package/dist/cjs/vega-rich-text-content.cjs.entry.js +100 -19
  87. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +29 -18
  88. package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +8 -8
  89. package/dist/cjs/vega-section-title.cjs.entry.js +21 -3
  90. package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
  91. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +8 -8
  92. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +7 -7
  93. package/dist/cjs/vega-sidenav_3.cjs.entry.js +7 -7
  94. package/dist/cjs/vega-signature-capture.cjs.entry.js +8 -8
  95. package/dist/cjs/vega-stepper.cjs.entry.js +6 -6
  96. package/dist/cjs/vega-tab-group_2.cjs.entry.js +3 -3
  97. package/dist/cjs/vega-table_11.cjs.entry.js +7 -7
  98. package/dist/cjs/vega-text.cjs.entry.js +1 -1
  99. package/dist/cjs/vega-textarea.cjs.entry.js +5 -5
  100. package/dist/cjs/vega-time-picker_2.cjs.entry.js +11 -11
  101. package/dist/cjs/vega-toggle-switch.cjs.entry.js +5 -5
  102. package/dist/cjs/vega-tooltip_2.cjs.entry.js +7 -7
  103. package/dist/cjs/vega.cjs.js +10 -10
  104. package/dist/cjs/{wait-for-component-did-render-b6aba2de.js → wait-for-component-did-render-b6d12d51.js} +1 -1
  105. package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-renderer.js +1 -0
  106. package/dist/collection/components/vega-banner/vega-banner.css +36 -0
  107. package/dist/collection/components/vega-box/vega-box.js +1 -1
  108. package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.js +9 -6
  109. package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.js +4 -0
  110. package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.css +6 -0
  111. package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +31 -0
  112. package/dist/collection/components/vega-card/vega-card.css +157 -0
  113. package/dist/collection/components/vega-card/vega-card.js +1 -1
  114. package/dist/collection/components/vega-chip/vega-chip.js +26 -1
  115. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-current-period-controller.js +5 -10
  116. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-is-dual-months-controller.js +64 -0
  117. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-header-render.js +3 -6
  118. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.js +3 -11
  119. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.js +2 -2
  120. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +4 -5
  121. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +13 -15
  122. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +41 -2
  123. package/dist/collection/components/vega-dialog/vega-dialog.js +1 -1
  124. package/dist/collection/components/vega-divider/slimmers/controllers/vega-divider-size-controller.js +1 -1
  125. package/dist/collection/components/vega-divider/vega-divider.css +157 -0
  126. package/dist/collection/components/vega-divider/vega-divider.js +1 -1
  127. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +37 -1
  128. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.js +4 -1
  129. package/dist/collection/components/vega-flex/vega-flex.css +157 -0
  130. package/dist/collection/components/vega-flex/vega-flex.js +1 -1
  131. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-renderer.js +4 -1
  132. package/dist/collection/components/vega-input/vega-input.js +25 -0
  133. package/dist/collection/components/vega-modal/slimmers/controllers/vega-modal-layout-controller.js +37 -1
  134. package/dist/collection/components/vega-modal/slimmers/renderers/vega-modal-renderer.js +11 -1
  135. package/dist/collection/components/vega-modal/vega-modal.css +2683 -7
  136. package/dist/collection/components/vega-modal/vega-modal.js +75 -0
  137. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.js +85 -2
  138. package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +23 -0
  139. package/dist/collection/components/vega-pagination/constants/page-size.js +2 -0
  140. package/dist/collection/components/vega-pagination/internal/vega-pagination-page-size-selector.js +11 -7
  141. package/dist/collection/components/vega-pagination/slimmers/controllers/vega-pagination-page-size-observer-controller.js +11 -1
  142. package/dist/collection/components/vega-pagination/utils/page-size-option-utils.js +57 -0
  143. package/dist/collection/components/vega-pagination/vega-pagination-page-size-selector-mobile/slimmers/renderers/page-size-selector-mobile-dropdown-renderer.js +15 -5
  144. package/dist/collection/components/vega-pagination/vega-pagination-page-size-selector-mobile/vega-pagination-page-size-selector-mobile.js +39 -3
  145. package/dist/collection/components/vega-pagination/vega-pagination.js +32 -11
  146. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-direction-controller.js +34 -3
  147. package/dist/collection/components/vega-progress-tracker/slimmers/renderers/vega-progress-tracker-renderer.js +3 -2
  148. package/dist/collection/components/vega-rich-text-editor/constants/constant.js +20 -0
  149. package/dist/collection/components/vega-rich-text-editor/dto/annotations/image-annotation.js +1 -0
  150. package/dist/collection/components/vega-rich-text-editor/dto/annotations/inline-html-annotation.js +12 -0
  151. package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-group-annotation.js +8 -2
  152. package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +15 -4
  153. package/dist/collection/components/vega-rich-text-editor/dto/blocks/code-block.js +6 -2
  154. package/dist/collection/components/vega-rich-text-editor/dto/blocks/html-block.js +9 -15
  155. package/dist/collection/components/vega-rich-text-editor/dto/blocks/image-block.js +3 -3
  156. package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-block.js +3 -3
  157. package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-item-block.js +3 -7
  158. package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +50 -9
  159. package/dist/collection/components/vega-rich-text-editor/dto/content-state.js +25 -6
  160. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/code-block/code-block-filter-styles-strategy.js +39 -0
  161. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/code-block/code-node-filter-styles-strategy.js +47 -0
  162. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.js +64 -0
  163. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.js +147 -14
  164. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/image-node/image-filter-styles-strategy.js +26 -3
  165. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.js +24 -0
  166. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-heading-item-block-filter-styles-strategy.js +29 -0
  167. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.js +39 -1
  168. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-title-item-block-filter-styles-strategy.js +29 -0
  169. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/predicate.js +94 -0
  170. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/heading-filter-styles-strategy.js +15 -0
  171. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/paragraph-filter-styles-strategy.js +48 -0
  172. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/title-filter-styles-strategy.js +16 -0
  173. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/code-filter-styles-strategy.js +32 -3
  174. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/link-filter-styles-strategy.js +42 -3
  175. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/title-heading-node-filter-styles-strategy.js +108 -0
  176. package/dist/collection/components/vega-rich-text-editor/dto/nodes/code-block-node.js +7 -2
  177. package/dist/collection/components/vega-rich-text-editor/dto/nodes/image-node.js +2 -2
  178. package/dist/collection/components/vega-rich-text-editor/dto/nodes/node.abstract.js +15 -4
  179. package/dist/collection/components/vega-rich-text-editor/dto/nodes/text-node.js +84 -14
  180. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.js +61 -6
  181. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.js +16 -0
  182. package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.js +14 -3
  183. package/dist/collection/components/vega-rich-text-editor/dto/setup.js +36 -6
  184. package/dist/collection/components/vega-rich-text-editor/extensions/extension.abstract.js +10 -0
  185. package/dist/collection/components/vega-rich-text-editor/extensions/languages/language-extension.js +9 -3
  186. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-annotation.js +17 -1
  187. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-caption-annotation.js +17 -18
  188. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-cell-annotation.js +19 -0
  189. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-block.js +3 -3
  190. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-body-block.js +3 -3
  191. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.js +21 -4
  192. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.js +3 -3
  193. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-block.js +3 -3
  194. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.js +3 -3
  195. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-row-block.js +3 -3
  196. package/dist/collection/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/caption-to-caption-block-strategy.js +2 -1
  197. package/dist/collection/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/td-to-table-cell-block-strategy.js +2 -2
  198. package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-block/table-block-filter-styles-strategy.js +39 -0
  199. package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-caption/table-caption-filter-styles-strategy.js +39 -0
  200. package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-cell/table-cell-filter-styles-strategy.js +63 -0
  201. package/dist/collection/components/vega-rich-text-editor/extensions/table/table-extension.js +7 -0
  202. package/dist/collection/components/vega-rich-text-editor/helpers/utils.js +24 -0
  203. package/dist/collection/components/vega-rich-text-editor/public-api.js +2 -0
  204. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/custom-style-annotation-handler.js +2 -25
  205. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.js +8 -2
  206. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/inline-html-annotation-handler.js +30 -53
  207. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/link-annotation-handler.js +2 -1
  208. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-style-annotation-handler.js +2 -1
  209. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.js +85 -17
  210. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy-processor.js +12 -5
  211. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/html-block-strategy.js +95 -43
  212. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/inline-element-to-text-node-strategy.js +1 -2
  213. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/predicate.js +29 -0
  214. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/strategy-tags.js +142 -0
  215. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.js +1 -0
  216. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.js +12 -2
  217. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +1 -1
  218. package/dist/collection/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.js +8 -2
  219. package/dist/collection/components/vega-section-title/vega-section-title.css +35 -0
  220. package/dist/collection/components/vega-section-title/vega-section-title.js +64 -0
  221. package/dist/collection/components/vega-stepper/vega-stepper.css +3 -0
  222. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.js +3 -3
  223. package/dist/collection/helpers/slimmers/aria-dialog-focusable-trap-slimmer.js +13 -68
  224. package/dist/collection/types/type-guard.js +21 -0
  225. package/dist/collection/utils/ui.js +68 -0
  226. package/dist/esm/{app-globals-e77015e3.js → app-globals-80a7d395.js} +6 -6
  227. package/dist/esm/{aria-dialog-focusable-trap-slimmer-5a2f92be.js → aria-dialog-focusable-trap-slimmer-cc6a8c3e.js} +14 -69
  228. package/dist/esm/{child-nodes-notify-observer-slimmer-b7f0e419.js → child-nodes-notify-observer-slimmer-a8cb19cf.js} +1 -1
  229. package/dist/esm/{code-block-7d6f231b.js → code-block-cd913077.js} +796 -62
  230. package/dist/esm/{component-value-history-controller-slimmer.abstract-acf65b17.js → component-value-history-controller-slimmer.abstract-e595761d.js} +5 -5
  231. package/dist/esm/{content-state-084cd705.js → content-state-89f8eecb.js} +958 -455
  232. package/dist/esm/{date-required-rule-29608215.js → date-required-rule-2b08f32c.js} +1 -1
  233. package/dist/esm/{design-token-edcd787b.js → design-token-7566d54c.js} +2 -2
  234. package/dist/esm/{dom-node-subject-observer-factory-cea9248d.js → dom-node-subject-observer-factory-aca0116e.js} +1 -1
  235. package/dist/esm/{element-appender-slimmer-08ec429b.js → element-appender-slimmer-df2a2da2.js} +4 -4
  236. package/dist/esm/{event-emit-slimmer-4fba1b35.js → event-emit-slimmer-9abc9241.js} +1 -1
  237. package/dist/esm/{form-field-controller-slimmer-8dd39707.js → form-field-controller-slimmer-40fcb5c2.js} +3 -3
  238. package/dist/esm/{image-annotation-action-a6b33a81.js → image-annotation-action-6048d32e.js} +3 -3
  239. package/dist/esm/index.js +14 -14
  240. package/dist/esm/{inject-keyboard-manager-7557816f.js → inject-keyboard-manager-c6557f50.js} +1 -1
  241. package/dist/esm/{keyboard-manager-1846c6a5.js → keyboard-manager-c7b125d7.js} +2 -2
  242. package/dist/esm/{keyboard-manager-slimmer-1ae0aa4d.js → keyboard-manager-slimmer-6109039b.js} +1 -1
  243. package/dist/esm/loader.js +10 -10
  244. package/dist/esm/{month-view-generator-b700ed08.js → month-view-generator-139ace5a.js} +1 -1
  245. package/dist/esm/page-size-option-utils-50afc81a.js +61 -0
  246. package/dist/esm/{public-rules-fe2c7934.js → public-rules-e42bce9d.js} +8 -8
  247. package/dist/esm/{range-00afe462.js → range-b76edec7.js} +2 -2
  248. package/dist/esm/{responsive-format-facade-37d4d850.js → responsive-format-facade-151dbd10.js} +3 -3
  249. package/dist/esm/{rich-text-editor-required-rule-6487ec94.js → rich-text-editor-required-rule-1fc7c040.js} +1 -1
  250. package/dist/esm/{split-cell-operation-9445e642.js → split-cell-operation-548ea374.js} +58 -23
  251. package/dist/esm/{string-format-strategy.abstract-ec6d627b.js → string-format-strategy.abstract-6488031a.js} +1 -1
  252. package/dist/esm/{string-input-formatter-slimmer-959dff7a.js → string-input-formatter-slimmer-625e17a2.js} +3 -3
  253. package/dist/esm/{string-mask-strategy-49be41f0.js → string-mask-strategy-a165d316.js} +2 -2
  254. package/dist/esm/{style-formatter-ad0b2bac.js → style-formatter-280757ae.js} +2 -2
  255. package/dist/esm/{sub-state-notify-slimmer-ee8c417b.js → sub-state-notify-slimmer-6c972bb4.js} +1 -1
  256. package/dist/esm/{sub-state-observer-slimmer-4d30fa5c.js → sub-state-observer-slimmer-53643b5c.js} +2 -2
  257. package/dist/esm/{time-required-rule-414b1590.js → time-required-rule-3f5a8822.js} +1 -1
  258. package/dist/esm/{token-extension-600b1c88.js → token-extension-5ee7a3f1.js} +208 -34
  259. package/dist/esm/{type-guard-23a08026.js → type-guard-f6c9c89d.js} +22 -1
  260. package/dist/esm/{ui-ba5a4758.js → ui-b7600a48.js} +69 -1
  261. package/dist/esm/{valid-credit-card-number-rule-60abddac.js → valid-credit-card-number-rule-3bf19ad6.js} +1 -1
  262. package/dist/esm/vega-accordion.entry.js +6 -6
  263. package/dist/esm/vega-app-header-button.entry.js +6 -6
  264. package/dist/esm/vega-backdrop.entry.js +1 -1
  265. package/dist/esm/vega-banner.entry.js +5 -4
  266. package/dist/esm/vega-box.entry.js +5 -5
  267. package/dist/esm/vega-breadcrumb.entry.js +27 -10
  268. package/dist/esm/vega-button-circle.entry.js +6 -6
  269. package/dist/esm/vega-button-group_2.entry.js +5 -5
  270. package/dist/esm/vega-button-link.entry.js +3 -3
  271. package/dist/esm/vega-button.entry.js +5 -5
  272. package/dist/esm/vega-calendar_4.entry.js +7 -7
  273. package/dist/esm/vega-card.entry.js +5 -5
  274. package/dist/esm/vega-carousel.entry.js +5 -5
  275. package/dist/esm/vega-checkbox_2.entry.js +6 -6
  276. package/dist/esm/vega-chip.entry.js +7 -7
  277. package/dist/esm/vega-code-block.entry.js +9 -9
  278. package/dist/esm/vega-color-picker.entry.js +5 -5
  279. package/dist/esm/vega-combo-box.entry.js +8 -8
  280. package/dist/esm/vega-date-picker_2.entry.js +337 -279
  281. package/dist/esm/vega-dialog_2.entry.js +73 -10
  282. package/dist/esm/vega-divider.entry.js +5 -5
  283. package/dist/esm/vega-dropdown_5.entry.js +52 -14
  284. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  285. package/dist/esm/vega-field-label.entry.js +3 -3
  286. package/dist/esm/vega-file-uploader.entry.js +5 -5
  287. package/dist/esm/vega-flag-icon.entry.js +3 -3
  288. package/dist/esm/vega-flex.entry.js +6 -6
  289. package/dist/esm/vega-font.entry.js +4 -4
  290. package/dist/esm/vega-form.entry.js +8 -8
  291. package/dist/esm/vega-grid.entry.js +4 -4
  292. package/dist/esm/vega-icon.entry.js +4 -4
  293. package/dist/esm/vega-image-uploader.entry.js +7 -7
  294. package/dist/esm/vega-input-credit-card.entry.js +9 -9
  295. package/dist/esm/vega-input-numeric.entry.js +9 -9
  296. package/dist/esm/vega-input-passcode.entry.js +8 -8
  297. package/dist/esm/vega-input-phone-number.entry.js +7 -7
  298. package/dist/esm/vega-input-range.entry.js +5 -5
  299. package/dist/esm/vega-input-select.entry.js +7 -7
  300. package/dist/esm/vega-input.entry.js +14 -11
  301. package/dist/esm/vega-item-toggle.entry.js +3 -3
  302. package/dist/esm/vega-left-nav_5.entry.js +117 -12
  303. package/dist/esm/vega-loader-wrapper_2.entry.js +3 -3
  304. package/dist/esm/vega-page-notification_2.entry.js +2 -2
  305. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +2 -2
  306. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +23 -7
  307. package/dist/esm/vega-pagination.entry.js +43 -19
  308. package/dist/esm/vega-popover_2.entry.js +10 -10
  309. package/dist/esm/vega-progress-tracker_2.entry.js +42 -11
  310. package/dist/esm/vega-radio_2.entry.js +9 -9
  311. package/dist/esm/vega-rich-text-content.entry.js +100 -19
  312. package/dist/esm/vega-rich-text-editor_4.entry.js +29 -18
  313. package/dist/esm/vega-rich-text-table-properties_3.entry.js +8 -8
  314. package/dist/esm/vega-section-title.entry.js +21 -3
  315. package/dist/esm/vega-segment-control.entry.js +3 -3
  316. package/dist/esm/vega-selection-chip_2.entry.js +8 -8
  317. package/dist/esm/vega-selection-tile_2.entry.js +7 -7
  318. package/dist/esm/vega-sidenav_3.entry.js +7 -7
  319. package/dist/esm/vega-signature-capture.entry.js +8 -8
  320. package/dist/esm/vega-stepper.entry.js +6 -6
  321. package/dist/esm/vega-tab-group_2.entry.js +3 -3
  322. package/dist/esm/vega-table_11.entry.js +7 -7
  323. package/dist/esm/vega-text.entry.js +1 -1
  324. package/dist/esm/vega-textarea.entry.js +5 -5
  325. package/dist/esm/vega-time-picker_2.entry.js +11 -11
  326. package/dist/esm/vega-toggle-switch.entry.js +5 -5
  327. package/dist/esm/vega-tooltip_2.entry.js +7 -7
  328. package/dist/esm/vega.js +10 -10
  329. package/dist/esm/{wait-for-component-did-render-03e7ccb2.js → wait-for-component-did-render-6980a1a6.js} +1 -1
  330. package/dist/sri/vega-sri-manifest.json +345 -341
  331. package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.d.ts +1 -0
  332. package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.d.ts +1 -0
  333. package/dist/types/components/vega-breadcrumb/vega-breadcrumb.d.ts +10 -0
  334. package/dist/types/components/vega-chip/vega-chip.d.ts +9 -0
  335. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-current-period-controller.d.ts +1 -6
  336. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-is-dual-months-controller.d.ts +28 -0
  337. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-header-render.d.ts +1 -2
  338. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +1 -2
  339. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.d.ts +1 -1
  340. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.d.ts +1 -1
  341. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +12 -0
  342. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +12 -0
  343. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.d.ts +1 -0
  344. package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-renderer.d.ts +1 -0
  345. package/dist/types/components/vega-input/types.d.ts +5 -0
  346. package/dist/types/components/vega-input/vega-input.d.ts +17 -1
  347. package/dist/types/components/vega-modal/slimmers/controllers/vega-modal-layout-controller.d.ts +9 -0
  348. package/dist/types/components/vega-modal/slimmers/renderers/vega-modal-renderer.d.ts +3 -0
  349. package/dist/types/components/vega-modal/vega-modal.d.ts +24 -1
  350. package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.d.ts +17 -0
  351. package/dist/types/components/vega-pagination/constants/page-size.d.ts +2 -0
  352. package/dist/types/components/vega-pagination/internal/vega-pagination-page-size-selector.d.ts +3 -2
  353. package/dist/types/components/vega-pagination/slimmers/controllers/vega-pagination-page-size-observer-controller.d.ts +2 -0
  354. package/dist/types/components/vega-pagination/types.d.ts +9 -0
  355. package/dist/types/components/vega-pagination/utils/page-size-option-utils.d.ts +42 -0
  356. package/dist/types/components/vega-pagination/vega-pagination-page-size-selector-mobile/slimmers/renderers/page-size-selector-mobile-dropdown-renderer.d.ts +2 -0
  357. package/dist/types/components/vega-pagination/vega-pagination-page-size-selector-mobile/vega-pagination-page-size-selector-mobile.d.ts +9 -2
  358. package/dist/types/components/vega-pagination/vega-pagination.d.ts +8 -3
  359. package/dist/types/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-direction-controller.d.ts +14 -2
  360. package/dist/types/components/vega-progress-tracker/slimmers/renderers/vega-progress-tracker-renderer.d.ts +1 -1
  361. package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +5 -0
  362. package/dist/types/components/vega-rich-text-editor/dto/annotations/image-annotation.d.ts +1 -0
  363. package/dist/types/components/vega-rich-text-editor/dto/annotations/inline-html-annotation.d.ts +14 -0
  364. package/dist/types/components/vega-rich-text-editor/dto/annotations/link-group-annotation.d.ts +8 -2
  365. package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +4 -2
  366. package/dist/types/components/vega-rich-text-editor/dto/blocks/code-block.d.ts +2 -2
  367. package/dist/types/components/vega-rich-text-editor/dto/blocks/html-block.d.ts +1 -11
  368. package/dist/types/components/vega-rich-text-editor/dto/blocks/image-block.d.ts +1 -1
  369. package/dist/types/components/vega-rich-text-editor/dto/blocks/list-block.d.ts +1 -1
  370. package/dist/types/components/vega-rich-text-editor/dto/blocks/list-item-block.d.ts +1 -1
  371. package/dist/types/components/vega-rich-text-editor/dto/blocks/text-block.d.ts +15 -2
  372. package/dist/types/components/vega-rich-text-editor/dto/content-state.d.ts +9 -3
  373. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/code-block/code-block-filter-styles-strategy.d.ts +27 -0
  374. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/code-block/code-node-filter-styles-strategy.d.ts +27 -0
  375. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.d.ts +27 -1
  376. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.d.ts +92 -8
  377. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/image-node/image-filter-styles-strategy.d.ts +21 -3
  378. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.d.ts +15 -0
  379. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-heading-item-block-filter-styles-strategy.d.ts +19 -0
  380. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.d.ts +25 -0
  381. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-title-item-block-filter-styles-strategy.d.ts +19 -0
  382. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/predicate.d.ts +72 -0
  383. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/heading-filter-styles-strategy.d.ts +10 -0
  384. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/paragraph-filter-styles-strategy.d.ts +34 -0
  385. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/title-filter-styles-strategy.d.ts +11 -0
  386. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/code-filter-styles-strategy.d.ts +25 -2
  387. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/link-filter-styles-strategy.d.ts +24 -4
  388. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/title-heading-node-filter-styles-strategy.d.ts +62 -0
  389. package/dist/types/components/vega-rich-text-editor/dto/nodes/code-block-node.d.ts +7 -3
  390. package/dist/types/components/vega-rich-text-editor/dto/nodes/image-node.d.ts +1 -1
  391. package/dist/types/components/vega-rich-text-editor/dto/nodes/node.abstract.d.ts +5 -3
  392. package/dist/types/components/vega-rich-text-editor/dto/nodes/text-node.d.ts +43 -4
  393. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.d.ts +25 -0
  394. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.d.ts +5 -0
  395. package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.d.ts +12 -0
  396. package/dist/types/components/vega-rich-text-editor/extensions/extension.abstract.d.ts +8 -0
  397. package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-annotation.d.ts +8 -0
  398. package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-caption-annotation.d.ts +7 -1
  399. package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-cell-annotation.d.ts +9 -1
  400. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-block.d.ts +1 -1
  401. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-body-block.d.ts +1 -1
  402. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.d.ts +5 -2
  403. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.d.ts +1 -1
  404. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-block.d.ts +1 -1
  405. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.d.ts +1 -1
  406. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-row-block.d.ts +1 -1
  407. package/dist/types/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-block/table-block-filter-styles-strategy.d.ts +29 -0
  408. package/dist/types/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-caption/table-caption-filter-styles-strategy.d.ts +29 -0
  409. package/dist/types/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-cell/table-cell-filter-styles-strategy.d.ts +46 -0
  410. package/dist/types/components/vega-rich-text-editor/helpers/utils.d.ts +8 -0
  411. package/dist/types/components/vega-rich-text-editor/interface.d.ts +27 -5
  412. package/dist/types/components/vega-rich-text-editor/public-api.d.ts +1 -0
  413. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/custom-style-annotation-handler.d.ts +0 -7
  414. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.d.ts +1 -1
  415. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/inline-html-annotation-handler.d.ts +11 -1
  416. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.d.ts +43 -7
  417. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy-processor.d.ts +8 -3
  418. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/html-block-strategy.d.ts +34 -1
  419. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/predicate.d.ts +21 -0
  420. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/strategy-tags.d.ts +83 -0
  421. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.d.ts +6 -0
  422. package/dist/types/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.d.ts +2 -0
  423. package/dist/types/components/vega-section-title/types.d.ts +1 -0
  424. package/dist/types/components/vega-section-title/vega-section-title.d.ts +14 -0
  425. package/dist/types/components.d.ts +93 -8
  426. package/dist/types/helpers/slimmers/aria-dialog-focusable-trap-slimmer.d.ts +4 -12
  427. package/dist/types/types/components.type.d.ts +3 -0
  428. package/dist/types/types/type-guard.d.ts +15 -1
  429. package/dist/types/types/ui.type.d.ts +11 -1
  430. package/dist/types/utils/ui.d.ts +14 -0
  431. package/dist/vega/index.esm.js +1 -1
  432. package/dist/vega/{p-1c45565d.js → p-001d36af.js} +1 -1
  433. package/dist/vega/{p-7c2fecfd.entry.js → p-01541820.entry.js} +1 -1
  434. package/dist/vega/p-0304c3a7.js +1 -0
  435. package/dist/vega/{p-2d917e2d.entry.js → p-08f03a52.entry.js} +1 -1
  436. package/dist/vega/{p-9390a94b.entry.js → p-0a145766.entry.js} +1 -1
  437. package/dist/vega/p-0d205fbf.js +1 -0
  438. package/dist/vega/p-0fc2ccc4.entry.js +1 -0
  439. package/dist/vega/p-118aeed1.entry.js +1 -0
  440. package/dist/vega/{p-ea21462f.js → p-1a4e8d8a.js} +1 -1
  441. package/dist/vega/{p-5ae4ea20.entry.js → p-23dc4064.entry.js} +1 -1
  442. package/dist/vega/{p-2c2df248.js → p-24b45c85.js} +1 -1
  443. package/dist/vega/{p-010b5e74.js → p-262a27d0.js} +1 -1
  444. package/dist/vega/{p-9dc23325.entry.js → p-27dc6562.entry.js} +1 -1
  445. package/dist/vega/p-295326ca.entry.js +1 -0
  446. package/dist/vega/{p-6af55f1c.entry.js → p-2beace1c.entry.js} +1 -1
  447. package/dist/vega/p-2ce2972f.js +1 -0
  448. package/dist/vega/p-2e7d5e28.entry.js +1 -0
  449. package/dist/vega/{p-7618dde4.js → p-2f99c511.js} +1 -1
  450. package/dist/vega/p-32592497.entry.js +1 -0
  451. package/dist/vega/{p-65900dbf.entry.js → p-37a9f4b4.entry.js} +1 -1
  452. package/dist/vega/{p-a99e75a1.entry.js → p-4013d954.entry.js} +1 -1
  453. package/dist/vega/{p-19ad4f15.entry.js → p-42da45e3.entry.js} +1 -1
  454. package/dist/vega/p-42e246e4.entry.js +1 -0
  455. package/dist/vega/p-479a169c.entry.js +1 -0
  456. package/dist/vega/{p-35386999.entry.js → p-47a2eec1.entry.js} +1 -1
  457. package/dist/vega/{p-b696a861.js → p-49ae8c79.js} +1 -1
  458. package/dist/vega/p-4ed416e7.js +1 -0
  459. package/dist/vega/{p-dc9b5063.entry.js → p-53ba1adb.entry.js} +1 -1
  460. package/dist/vega/{p-d1494c7c.entry.js → p-55019e55.entry.js} +1 -1
  461. package/dist/vega/{p-434fc427.entry.js → p-565aac6e.entry.js} +1 -1
  462. package/dist/vega/{p-cc055723.entry.js → p-574586c9.entry.js} +1 -1
  463. package/dist/vega/{p-cca5042b.entry.js → p-5781b9f4.entry.js} +1 -1
  464. package/dist/vega/{p-1feb4f2a.entry.js → p-57827342.entry.js} +1 -1
  465. package/dist/vega/p-59c6f795.js +1 -0
  466. package/dist/vega/{p-f48c43f4.entry.js → p-5a8be21c.entry.js} +1 -1
  467. package/dist/vega/p-5baff397.js +1 -0
  468. package/dist/vega/{p-ffa2e3a6.entry.js → p-5e9f6fb6.entry.js} +1 -1
  469. package/dist/vega/p-5f377954.js +1 -1
  470. package/dist/vega/{p-44c5cbb7.js → p-5f95a2fa.js} +1 -1
  471. package/dist/vega/{p-576fe408.js → p-6216c30e.js} +1 -1
  472. package/dist/vega/{p-367d44d9.entry.js → p-62e80151.entry.js} +1 -1
  473. package/dist/vega/{p-ec1d76c6.entry.js → p-63d73fa0.entry.js} +1 -1
  474. package/dist/vega/{p-612e3ded.js → p-64e22fe5.js} +1 -1
  475. package/dist/vega/{p-0313393d.entry.js → p-679b1f00.entry.js} +1 -1
  476. package/dist/vega/p-6e70d3cc.js +1 -0
  477. package/dist/vega/{p-70f1cf4e.entry.js → p-757bfca2.entry.js} +1 -1
  478. package/dist/vega/{p-c9201bf4.js → p-76063dcb.js} +1 -1
  479. package/dist/vega/{p-8adf9732.entry.js → p-76daa632.entry.js} +1 -1
  480. package/dist/vega/{p-1a2f92a3.entry.js → p-77c6f14a.entry.js} +1 -1
  481. package/dist/vega/{p-382b71a3.entry.js → p-7ac9e8ff.entry.js} +1 -1
  482. package/dist/vega/p-83863463.js +1 -0
  483. package/dist/vega/{p-e84b95d4.js → p-88e6618d.js} +1 -1
  484. package/dist/vega/p-90a0b9f3.entry.js +1 -0
  485. package/dist/vega/{p-1557ed92.entry.js → p-9324dd2c.entry.js} +1 -1
  486. package/dist/vega/{p-cf70c57d.js → p-98c44c03.js} +1 -1
  487. package/dist/vega/p-9aa1c66a.entry.js +1 -0
  488. package/dist/vega/p-9b01a28a.entry.js +1 -0
  489. package/dist/vega/{p-4eb282ef.entry.js → p-9b14ac66.entry.js} +1 -1
  490. package/dist/vega/p-9dcecdd3.js +1 -0
  491. package/dist/vega/p-a1d51bc2.js +1 -0
  492. package/dist/vega/{p-04e56b0c.entry.js → p-ab4b06c9.entry.js} +1 -1
  493. package/dist/vega/{p-b5c2fff3.entry.js → p-ac43be09.entry.js} +1 -1
  494. package/dist/vega/{p-7ceab8c7.entry.js → p-add63fe0.entry.js} +1 -1
  495. package/dist/vega/{p-89e56502.js → p-ae0f03c1.js} +1 -1
  496. package/dist/vega/{p-21c9e1ca.entry.js → p-b525c800.entry.js} +1 -1
  497. package/dist/vega/p-be651266.entry.js +1 -0
  498. package/dist/vega/{p-c045e4c1.entry.js → p-c0d45f77.entry.js} +1 -1
  499. package/dist/vega/{p-204c7d41.js → p-c2e7992b.js} +1 -1
  500. package/dist/vega/{p-b5a6bd0f.entry.js → p-c56aa01c.entry.js} +1 -1
  501. package/dist/vega/{p-2e73582d.entry.js → p-cc3c661c.entry.js} +1 -1
  502. package/dist/vega/{p-cda45d2a.entry.js → p-cda09e99.entry.js} +1 -1
  503. package/dist/vega/{p-d1ca70a1.js → p-d0ac7af8.js} +1 -1
  504. package/dist/vega/p-d289a6af.js +3 -0
  505. package/dist/vega/p-d29e8972.entry.js +1 -0
  506. package/dist/vega/{p-76b80a0c.js → p-d47aa28f.js} +1 -1
  507. package/dist/vega/p-d90eee9a.entry.js +1 -0
  508. package/dist/vega/{p-be3517be.entry.js → p-da742a7f.entry.js} +1 -1
  509. package/dist/vega/p-dc6e7a77.js +1 -0
  510. package/dist/vega/{p-c61279a7.entry.js → p-dcf8f58f.entry.js} +1 -1
  511. package/dist/vega/{p-ab21fdf6.entry.js → p-dff66a67.entry.js} +1 -1
  512. package/dist/vega/{p-90137c68.entry.js → p-e1117034.entry.js} +1 -1
  513. package/dist/vega/p-e223e0dc.entry.js +1 -0
  514. package/dist/vega/p-e22e5aa1.js +1 -0
  515. package/dist/vega/{p-df5bfbc4.entry.js → p-e753fac2.entry.js} +1 -1
  516. package/dist/vega/{p-7912741f.entry.js → p-e7a4b760.entry.js} +1 -1
  517. package/dist/vega/{p-ba415db6.entry.js → p-e8fc8495.entry.js} +1 -1
  518. package/dist/vega/{p-18619467.js → p-ea2b5dbb.js} +1 -1
  519. package/dist/vega/{p-f3456993.entry.js → p-eccabba7.entry.js} +1 -1
  520. package/dist/vega/{p-517434d4.entry.js → p-f0d605e9.entry.js} +1 -1
  521. package/dist/vega/{p-878851f6.js → p-f28a6074.js} +1 -1
  522. package/dist/vega/{p-840ad046.entry.js → p-f2c65579.entry.js} +1 -1
  523. package/dist/vega/{p-07a2b42a.js → p-f2cef51a.js} +1 -1
  524. package/dist/vega/{p-47ca1f69.entry.js → p-f40d479d.entry.js} +1 -1
  525. package/dist/vega/p-f5013494.entry.js +1 -0
  526. package/dist/vega/{p-60cf2a68.js → p-f509b439.js} +1 -1
  527. package/dist/vega/p-f5d3ce94.js +1 -0
  528. package/dist/vega/{p-9551da9c.entry.js → p-f69e2801.entry.js} +1 -1
  529. package/dist/vega/p-fa654762.entry.js +1 -0
  530. package/dist/vega/{p-365d21ac.entry.js → p-fbc5a7f6.entry.js} +1 -1
  531. package/dist/vega/{p-b3e40faf.js → p-fd5ddc55.js} +1 -1
  532. package/dist/vega/p-ff47aeee.entry.js +1 -0
  533. package/dist/vega/vega.esm.js +1 -1
  534. package/package.json +1 -1
  535. package/dist/vega/p-01883ffc.entry.js +0 -1
  536. package/dist/vega/p-02578a59.js +0 -1
  537. package/dist/vega/p-043e685a.entry.js +0 -1
  538. package/dist/vega/p-08780df0.entry.js +0 -1
  539. package/dist/vega/p-10fa4eac.js +0 -1
  540. package/dist/vega/p-203bc4db.entry.js +0 -1
  541. package/dist/vega/p-22336063.js +0 -1
  542. package/dist/vega/p-224b67ff.entry.js +0 -1
  543. package/dist/vega/p-334e3b02.entry.js +0 -1
  544. package/dist/vega/p-559197f8.js +0 -1
  545. package/dist/vega/p-68124bc5.js +0 -1
  546. package/dist/vega/p-6c5250b3.js +0 -1
  547. package/dist/vega/p-6f2e5bc6.js +0 -1
  548. package/dist/vega/p-716c71e6.js +0 -1
  549. package/dist/vega/p-7362723e.entry.js +0 -1
  550. package/dist/vega/p-7942c042.entry.js +0 -1
  551. package/dist/vega/p-8327635d.js +0 -1
  552. package/dist/vega/p-8b891f36.entry.js +0 -1
  553. package/dist/vega/p-9341c1a9.js +0 -1
  554. package/dist/vega/p-9862d1a8.entry.js +0 -1
  555. package/dist/vega/p-a4dbf2cc.js +0 -1
  556. package/dist/vega/p-c4e32125.entry.js +0 -1
  557. package/dist/vega/p-c5b698f6.entry.js +0 -1
  558. package/dist/vega/p-c6d62f0d.js +0 -1
  559. package/dist/vega/p-cdf5b2f0.entry.js +0 -1
  560. package/dist/vega/p-d202e69d.entry.js +0 -1
  561. package/dist/vega/p-dcd18ab1.js +0 -1
  562. package/dist/vega/p-e4726dcd.entry.js +0 -1
  563. package/dist/vega/p-f4190826.entry.js +0 -1
  564. package/dist/vega/p-fdac91c4.entry.js +0 -1
@@ -0,0 +1,72 @@
1
+ import { RTEBlock } from '../blocks/block.abstract';
2
+ import { RTENode } from '../nodes/node.abstract';
3
+ /**
4
+ * Predicate class provides static methods to check specific conditions on HTML elements or dto instances.
5
+ */
6
+ export declare class Predicate {
7
+ static RTE_TEXT_NODE_CLASS_NAME: string;
8
+ static RTE_TEXT_BLOCK_CLASS_NAME: string;
9
+ /**
10
+ * Checks if the given class name corresponds to a text block.
11
+ *
12
+ * @param {string} className The class name to check.
13
+ * @returns {boolean} True if the class name corresponds to a text block, false otherwise.
14
+ */
15
+ static isTextBlock(className: string): boolean;
16
+ /**
17
+ * Checks if the given class name corresponds to a code block.
18
+ *
19
+ * @param {string} className The class name to check.
20
+ * @returns {boolean} True if the class name corresponds to a code block, false otherwise.
21
+ */
22
+ static isCodeBlock(className: string): boolean;
23
+ /**
24
+ * Checks if the given class name corresponds to a list block.
25
+ *
26
+ * @param {string} className The class name to check.
27
+ * @returns {boolean} True if the class name corresponds to a list block, false otherwise.
28
+ */
29
+ static isListBlock(className: string): boolean;
30
+ /**
31
+ * Checks if the given class name corresponds to a list item block.
32
+ *
33
+ * @param {string} className The class name to check.
34
+ * @returns {boolean} True if the class name corresponds to a list item block, false otherwise.
35
+ */
36
+ static isListItemBlock(className: string): boolean;
37
+ /**
38
+ * Checks if the given class name corresponds to a text node.
39
+ *
40
+ * @param {string} className The class name to check.
41
+ * @returns {boolean} True if the class name corresponds to a text node, false otherwise.
42
+ */
43
+ static isTextNode(className: string): boolean;
44
+ /**
45
+ * Checks if the given block or node instance is a text node and has a link annotation.
46
+ *
47
+ * @param {RTEBlock | RTENode} blockOrNodeInstance The block or node instance to check.
48
+ * @returns {boolean} True if the block or node instance is a text node and has a link annotation, false otherwise.
49
+ */
50
+ static isLinkNode(blockOrNodeInstance: RTEBlock | RTENode): boolean;
51
+ /**
52
+ * Checks if the given block or node instance is a code node, which is defined as a text node that has a code annotation.
53
+ *
54
+ * @param {RTEBlock | RTENode} blockOrNodeInstance The block or node instance to check.
55
+ * @returns {boolean} True if the block or node instance is a code node, false otherwise.
56
+ */
57
+ static isCodeNode(blockOrNodeInstance: RTEBlock | RTENode): boolean;
58
+ /**
59
+ * Check if the given block or node instance is an image node, which is defined as an instance of RTEImageNode.
60
+ *
61
+ * @param {RTEBlock | RTENode} blockOrNodeInstance The block or node instance to check.
62
+ * @returns {boolean} True if the block or node instance is an image node, false otherwise.
63
+ */
64
+ static isImageNode(blockOrNodeInstance: RTEBlock | RTENode): boolean;
65
+ /**
66
+ * Check if the given block or node instance is a code block node, which is defined as an instance of RTECodeBlockNode.
67
+ *
68
+ * @param {RTEBlock | RTENode} blockOrNodeInstance The block or node instance to check.
69
+ * @returns {boolean} True if the block or node instance is a code block node, false otherwise.
70
+ */
71
+ static isCodeBlockNode(blockOrNodeInstance: RTEBlock | RTENode): boolean;
72
+ }
@@ -0,0 +1,10 @@
1
+ import { VegaRTETextStyleType } from '../../../interface';
2
+ import { ParagraphFilterStylesStrategy } from './paragraph-filter-styles-strategy';
3
+ /**
4
+ * The HeadingFilterStylesStrategy class is responsible for filtering and refilling styles for heading text blocks (h1 to h6) in the rich text editor.
5
+ */
6
+ export declare class HeadingFilterStylesStrategy extends ParagraphFilterStylesStrategy {
7
+ protected type: VegaRTETextStyleType;
8
+ protected elementTagName: string;
9
+ constructor(level: 1 | 2 | 3 | 4 | 5 | 6);
10
+ }
@@ -0,0 +1,34 @@
1
+ import { VegaRTEAnnotations, VegaRTETextStyleType } from '../../../interface';
2
+ import type { RTEBlock } from '../../blocks/block.abstract';
3
+ import type { RTENode } from '../../nodes/node.abstract';
4
+ import { RTEFilterStyles, RTEFilterStylesStrategy } from '../filter-styles-strategy.abstract';
5
+ /**
6
+ *
7
+ */
8
+ export declare class ParagraphFilterStylesStrategy extends RTEFilterStylesStrategy {
9
+ protected stylesToBeFiltered: RTEFilterStyles;
10
+ protected type: VegaRTETextStyleType;
11
+ protected elementTagName: string;
12
+ /**
13
+ * Don't run the filterAnnotations for paragraph heading, title, subtitle, list heading item, list title item, list subtitle item.
14
+ * Already handle it in html-element-to-annotation-generator.ts#removeTextStyleDefaultsFromCustomStyle
15
+ *
16
+ * @inheritDoc
17
+ */
18
+ filterAnnotations(annotations: VegaRTEAnnotations): VegaRTEAnnotations;
19
+ /**
20
+ * Determines whether the dto instance is text block and has the same type as the strategy's configured type.
21
+ *
22
+ * @param {RTEBlock | RTENode} blockOrNodeInstance - The block or node instance to check.
23
+ * @returns {boolean} - True if the instance is a text block with the same type as the strategy, false otherwise.
24
+ */
25
+ canFilter(blockOrNodeInstance: RTEBlock | RTENode): boolean;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ canRefill(blockOrNodeClassName: string, element: HTMLElement): boolean;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ toCssText(): string;
34
+ }
@@ -0,0 +1,11 @@
1
+ import { VegaRTETextStyleType } from '../../../interface';
2
+ import { ParagraphFilterStylesStrategy } from './paragraph-filter-styles-strategy';
3
+ /**
4
+ * The TitleFilterStylesStrategy class is responsible for filtering and refilling styles for title and subtitle text blocks in the rich text editor.
5
+ */
6
+ export declare class TitleFilterStylesStrategy extends ParagraphFilterStylesStrategy {
7
+ protected type: VegaRTETextStyleType;
8
+ protected elementTagName: string;
9
+ protected classNameToBeAdded: string;
10
+ constructor(titleType: 'title' | 'subtitle');
11
+ }
@@ -1,11 +1,13 @@
1
1
  import { VegaRTEAnnotations } from '../../../interface';
2
+ import type { RTEBlock } from '../../blocks/block.abstract';
3
+ import type { RTENode } from '../../nodes/node.abstract';
2
4
  import { RTEFilterStyles, RTEFilterStylesStrategy } from '../filter-styles-strategy.abstract';
3
5
  /**
4
- * Filters the default CodeAnnotation styles (fontFamily, whiteSpace) from
5
- * customStyle when parsing an RTETextNode that has a `code` annotation.
6
+ * The CodeFilterStylesStrategy is responsible for filtering code styles from text nodes that are annotated as code.
6
7
  */
7
8
  export declare class CodeFilterStylesStrategy extends RTEFilterStylesStrategy {
8
9
  protected stylesToBeFiltered: RTEFilterStyles;
10
+ protected elementTagName: string;
9
11
  /**
10
12
  * Only strips code-default styles when the `code` annotation is present,
11
13
  * so that a user-applied `fontFamily: 'Roboto Mono'` without code is preserved.
@@ -14,4 +16,25 @@ export declare class CodeFilterStylesStrategy extends RTEFilterStylesStrategy {
14
16
  * @returns {VegaRTEAnnotations} The same annotations reference.
15
17
  */
16
18
  filterAnnotations(annotations: VegaRTEAnnotations): VegaRTEAnnotations;
19
+ /**
20
+ * Determines whether the dto instance is a code text node.
21
+ *
22
+ * @param {RTEBlock | RTENode} blockOrNodeInstance - The block or node instance to check.
23
+ * @returns {boolean} - True if the instance is a code text node, false otherwise.
24
+ */
25
+ canFilter(blockOrNodeInstance: RTEBlock | RTENode): boolean;
26
+ /**
27
+ * Check if the node is a text node and it is a code node.
28
+ *
29
+ * @param {string} blockOrNodeClassName - The class name of the block or node instance to check.
30
+ * @param {HTMLElement} element - The HTML element of the node instance.
31
+ * @returns {boolean} True if the node is a text node it a code element.
32
+ */
33
+ canRefill(blockOrNodeClassName: string, element: HTMLElement): boolean;
34
+ /**
35
+ * The code style in title and heading no need to be bold in default.
36
+ *
37
+ * @returns {string} The CSS text string for code styles.
38
+ */
39
+ toCssText(): string;
17
40
  }
@@ -1,12 +1,13 @@
1
- import { VegaRTEAnnotations } from '../../../interface';
1
+ import { AnnotationStyle, VegaRTEAnnotations } from '../../../interface';
2
+ import type { RTEBlock } from '../../blocks/block.abstract';
3
+ import type { RTENode } from '../../nodes/node.abstract';
2
4
  import { RTEFilterStyles, RTEFilterStylesStrategy } from '../filter-styles-strategy.abstract';
3
5
  /**
4
- * Filters the default internal link styles (color) from `link.customStyle` when
5
- * parsing an RTETextNode. Vega applies these styles during standalone rendering;
6
- * they are redundant when parsed back and must not be persisted as custom overrides.
6
+ * The LinkFilterStylesStrategy is responsible for filtering link styles from text nodes that are annotated as links.
7
7
  */
8
8
  export declare class LinkFilterStylesStrategy extends RTEFilterStylesStrategy {
9
9
  protected stylesToBeFiltered: RTEFilterStyles;
10
+ protected elementTagName: string;
10
11
  /**
11
12
  * Filter default link styles from `link.customStyle` in annotations.
12
13
  *
@@ -14,4 +15,23 @@ export declare class LinkFilterStylesStrategy extends RTEFilterStylesStrategy {
14
15
  * @returns {VegaRTEAnnotations} The same annotations reference with link.customStyle cleaned up.
15
16
  */
16
17
  filterAnnotations(annotations: VegaRTEAnnotations): VegaRTEAnnotations;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ canFilter(blockOrNodeInstance: RTEBlock | RTENode): boolean;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ canRefill(blockOrNodeClassName: string, element: HTMLElement): boolean;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ toCssText(): string;
30
+ /**
31
+ * Filters the inline styles for a link group annotation and updates the attributes accordingly.
32
+ *
33
+ * @param {Record<string, string | AnnotationStyle>} attributes The attributes of the link group annotation.
34
+ * @returns {Record<string, string | AnnotationStyle>} The updated attributes after filtering.
35
+ */
36
+ filterLinkGroupInlineStyles(attributes: Record<string, string | AnnotationStyle>): Record<string, string | AnnotationStyle>;
17
37
  }
@@ -0,0 +1,62 @@
1
+ import { VegaRTEAnnotations } from '../../../interface';
2
+ import type { RTEBlock } from '../../blocks/block.abstract';
3
+ import type { RTENode } from '../../nodes/node.abstract';
4
+ import { RTEFilterStyles, RTEFilterStylesStrategy } from '../filter-styles-strategy.abstract';
5
+ /**
6
+ * The TitleHeadingNodeFilterStylesStrategy is responsible for filtering styles from text nodes that are children of title and heading blocks.
7
+ * In title and heading blocks, the text nodes will have a default bold style.
8
+ */
9
+ export declare class TitleHeadingNodeFilterStylesStrategy extends RTEFilterStylesStrategy {
10
+ static BOLD_STYLES: RTEFilterStyles;
11
+ static NON_HEADING_TITLE_ELEMENT_TAGS: string[];
12
+ protected stylesToBeFiltered: RTEFilterStyles;
13
+ protected elementTagName: string;
14
+ private parentBlockTypes;
15
+ private parentElementSelectors;
16
+ private toBeCheckedSelector;
17
+ /**
18
+ * Don't run filterAnnotations method, because already handle it in text format filter strategy.
19
+ *
20
+ * @inheritDoc
21
+ */
22
+ filterAnnotations(annotations: VegaRTEAnnotations): VegaRTEAnnotations;
23
+ /**
24
+ * Determines whether the dto instance is text node and its parent block is a heading or title.
25
+ *
26
+ * @param {RTEBlock | RTENode} blockOrNodeInstance - The block or node instance to check.
27
+ * @returns {boolean} - True if the instance is a text node and its parent block is a heading or title, false otherwise.
28
+ */
29
+ canFilter(blockOrNodeInstance: RTEBlock | RTENode): boolean;
30
+ /**
31
+ * Check if the node is a text node and its parent block is a heading or title.
32
+ *
33
+ * @param {string} blockOrNodeClassName - The class name of the block or node instance to check.
34
+ * @param {HTMLElement} element - The HTML element of the node instance.
35
+ * @returns {boolean} True if the node is a text node and its parent block is a heading or title, false otherwise.
36
+ */
37
+ canRefill(blockOrNodeClassName: string, element: HTMLElement): boolean;
38
+ /**
39
+ * @inheritDoc
40
+ */
41
+ toCssText(): string;
42
+ /**
43
+ * Checks if the parent block of the given node instance is a heading or title.
44
+ *
45
+ * @param {RTENode | RTEBlock} blockOrNodeInstance - The node instance to check.
46
+ * @returns {boolean} True if the parent block is a heading or title, false otherwise.
47
+ */
48
+ private parentBlockIsHeadingOrTitle;
49
+ /**
50
+ * Check if the element is a descendant of a heading or title element.
51
+ * Traverses upward through the DOM, stopping at the block element or body element
52
+ * to avoid unbounded traversal to the document root.
53
+ *
54
+ * <h1><span>bold text</span></h1>
55
+ * <h1><a><span>link text</span></a></h1>
56
+ * <h1><a><b><span>nested text</span></b></a></h1>
57
+ *
58
+ * @param {HTMLElement} element - The element to check.
59
+ * @returns {boolean} True if the element is a descendant of a heading or title, false otherwise.
60
+ */
61
+ private isHeadingOrTitleChild;
62
+ }
@@ -1,4 +1,4 @@
1
- import { VegaRTEBaseNode, VegaRTECodeBlock } from '../../interface';
1
+ import { VegaRTEBaseNode, VegaRTECodeBlock, VegaRTETransformOptions } from '../../interface';
2
2
  import { AnnotationAction } from '../actions/annotation-action.abstract';
3
3
  import { ModifyContentAction } from '../actions/modify-content-action.abstract';
4
4
  import { RTECodeBlock } from '../blocks/code-block';
@@ -6,10 +6,14 @@ import { NodeTypeEnum } from './node.abstract';
6
6
  import { InternalAnnotationTypeEnum } from '../annotations/annotation.abstract';
7
7
  import { SelectionRangeAnnotation } from '../annotations/selection-range-annotation';
8
8
  import { RTEDecoratorNode } from './decorator-node';
9
+ import { CustomStyleAnnotation } from '../annotations/custom-style-annotation';
10
+ import { CommonAnnotationTypeEnum } from '../annotations/common-annotation.abstract';
9
11
  declare type VegaRTECodeNode = VegaRTEBaseNode & {
10
12
  text: string;
11
13
  language?: VegaRTECodeBlock['language'];
12
14
  };
15
+ declare type CodeBlockNodeAnnotationKey = InternalAnnotationTypeEnum.SELECTION_RANGE | CommonAnnotationTypeEnum.CUSTOM_STYLE;
16
+ declare type CodeBlockNodeAnnotationValue = SelectionRangeAnnotation | CustomStyleAnnotation;
13
17
  /**
14
18
  * RTE code node DTO class.
15
19
  */
@@ -18,7 +22,7 @@ export declare class RTECodeBlockNode extends RTEDecoratorNode<RTECodeBlock> {
18
22
  parent: RTECodeBlock;
19
23
  text: string;
20
24
  language?: VegaRTECodeBlock['language'];
21
- annotationMap: Map<InternalAnnotationTypeEnum.SELECTION_RANGE, SelectionRangeAnnotation>;
25
+ annotationMap: Map<CodeBlockNodeAnnotationKey, CodeBlockNodeAnnotationValue>;
22
26
  constructor(id: string, content: string, language: VegaRTECodeBlock['language'], parentBlock: RTECodeBlock);
23
27
  /**
24
28
  * The code node toJSON method will called internal.
@@ -29,7 +33,7 @@ export declare class RTECodeBlockNode extends RTEDecoratorNode<RTECodeBlock> {
29
33
  /**
30
34
  * @inheritDoc
31
35
  */
32
- toHtml(): string;
36
+ toHtml(options?: VegaRTETransformOptions): string;
33
37
  /**
34
38
  * @inheritDoc
35
39
  */
@@ -32,7 +32,7 @@ export declare class RTEImageNode extends RTEDecoratorNode<RTEImageBlock> {
32
32
  /**
33
33
  * @inheritDoc
34
34
  */
35
- toHtml(): string;
35
+ toHtml(options?: VegaRTETransformOptions): string;
36
36
  /**
37
37
  * @inheritDoc
38
38
  */
@@ -1,4 +1,4 @@
1
- import { AnnotationStyle, RTENodeAnnotationMapKey, RTENodeAnnotationMapValue, RTERenderContext, VegaRTEImageAnnotations, VegaRTETextAnnotations, VegaRTETransformOptions } from '../../interface';
1
+ import { AnnotationStyle, RTENodeAnnotationMapKey, RTENodeAnnotationMapValue, RTERenderContext, VegaRTETransformOptions, VegaRTEImageAnnotations, VegaRTETextAnnotations } from '../../interface';
2
2
  import { AnnotationAction } from '../actions/annotation-action.abstract';
3
3
  import { RTEBlock } from '../blocks/block.abstract';
4
4
  import { Nullable } from '../../../../types/general';
@@ -94,10 +94,11 @@ export declare abstract class RTENode<P extends RTEBlock = RTEBlock> {
94
94
  /**
95
95
  * Generate attributes as string
96
96
  *
97
+ * @param {VegaRTETransformOptions} [options] - Options for converting the node to HTML.
97
98
  * @param {...string} attrs - Additional attributes to include
98
99
  * @returns {string} - Attributes as string
99
100
  */
100
- protected generateAttributeString(...attrs: string[]): string;
101
+ protected generateAttributeString(options?: VegaRTETransformOptions, ...attrs: string[]): string;
101
102
  /**
102
103
  * apply annotation action or modify content action
103
104
  *
@@ -136,9 +137,10 @@ export declare abstract class RTENode<P extends RTEBlock = RTEBlock> {
136
137
  /**
137
138
  * Convert the node to HTML.
138
139
  *
140
+ * @param {VegaRTETransformOptions} [options] - Options for converting the node to HTML.
139
141
  * @returns {string} The HTML string representing the node.
140
142
  */
141
- abstract toHtml(): string;
143
+ abstract toHtml(options?: VegaRTETransformOptions): string;
142
144
  /**
143
145
  * Convert the node to a JSON object.
144
146
  *
@@ -4,9 +4,16 @@ import { AnnotationAction } from '../actions/annotation-action.abstract';
4
4
  import { Nullable } from '../../../../types/general';
5
5
  import { RTETextBlock } from '../blocks/text-block';
6
6
  import { ModifyContentAction } from '../actions/modify-content-action.abstract';
7
+ import { InlineHtmlAnnotation } from '../annotations/inline-html-annotation';
7
8
  export declare type Link = {
8
9
  href?: string;
9
10
  };
11
+ export declare type InlineHtmlTagDescriptor = {
12
+ htmlTag: string;
13
+ attrStr: string;
14
+ groupId?: string;
15
+ annotation: InlineHtmlAnnotation;
16
+ };
10
17
  /**
11
18
  * Text node
12
19
  */
@@ -60,7 +67,7 @@ export declare class RTETextNode extends RTENode<RTETextBlock> {
60
67
  /**
61
68
  * @inheritDoc
62
69
  */
63
- toHtml(): string;
70
+ toHtml(options?: VegaRTETransformOptions): string;
64
71
  /**
65
72
  * Creates a new RTETextNode with the specified text and copies the parent block and annotation map from the original node.
66
73
  *
@@ -94,6 +101,31 @@ export declare class RTETextNode extends RTENode<RTETextBlock> {
94
101
  * @inheritDoc
95
102
  */
96
103
  isContentEditable(): boolean;
104
+ /**
105
+ * Returns the inline HTML wrapper descriptor at the given depth in the
106
+ * annotation chain. Depth 0 is the outermost wrapper, depth 1 is its child, etc.
107
+ *
108
+ * @param {number} depth - Zero-based depth in the inline HTML chain.
109
+ * @returns {InlineHtmlTagDescriptor | null} The wrapper descriptor at that depth, or `null`.
110
+ */
111
+ getInlineHtmlTagAtDepth(depth: number): InlineHtmlTagDescriptor | null;
112
+ /**
113
+ * Renders the node starting from the given depth in the inline HTML chain.
114
+ * Depth 0 renders the full chain (equivalent to {@link toHtml} for inline HTML nodes).
115
+ *
116
+ * @param {number} depth - Zero-based depth to start rendering from.
117
+ * @param {VegaRTETransformOptions} [options] - Optional conversion options that may affect how the text node is rendered as HTML.
118
+ * @returns {string} HTML string from that depth onward.
119
+ */
120
+ renderHtmlFromDepth(depth: number, options?: VegaRTETransformOptions): string;
121
+ /**
122
+ * Traverses the inline HTML annotation chain to the given depth and returns
123
+ * the annotation at that level, or `null` if the chain is shorter.
124
+ *
125
+ * @param {number} depth - Zero-based depth (0 = outermost annotation).
126
+ * @returns {Nullable<InlineHtmlAnnotation>} The annotation at that depth, or `null`.
127
+ */
128
+ getInlineHtmlAnnotationAtDepth(depth: number): Nullable<InlineHtmlAnnotation>;
97
129
  /**
98
130
  * Registers the action strategies for the RTETextNode.
99
131
  */
@@ -120,15 +152,22 @@ export declare class RTETextNode extends RTENode<RTETextBlock> {
120
152
  */
121
153
  private syncUpSelectedNodes;
122
154
  /**
123
- * Render the text node with the inline HTML wrapper.
124
- *
125
- * @param {VegaInlineHtmlSchema} inlineHtmlNode - The inline HTML schema to wrap the text node.
155
+ * @param {InlineHtmlAnnotation} inlineHtmlNode - The inline HTML annotation to wrap the text node.
156
+ * @param {VegaRTETransformOptions} [options] - Optional conversion options that may affect how the text node is rendered as HTML.
126
157
  * @returns {string} The HTML string representation of the text node wrapped with the inline HTML.
127
158
  */
128
159
  private renderWithWrapperStr;
160
+ /**
161
+ * Generate the attribute string for the inline HTML annotation
162
+ *
163
+ * @param {InlineHtmlAnnotation} annotation - The inline HTML annotation
164
+ * @returns {string} The attribute string for the inline HTML annotation
165
+ */
166
+ private annotationAttrStr;
129
167
  /**
130
168
  * Generates the HTML representation of the text node.
131
169
  *
170
+ * @param {VegaRTETransformOptions} [options] - Optional conversion options that may affect how the text node is rendered as HTML.
132
171
  * @returns {string} The HTML string representation of the text node.
133
172
  */
134
173
  private renderTextStr;
@@ -1,6 +1,7 @@
1
1
  import { VNode } from '../../../../../stencil-public-runtime';
2
2
  import { RTERenderContext } from '../../../interface';
3
3
  import { RTETextBlock } from '../../blocks/text-block';
4
+ import { RTETextNode } from '../../nodes/text-node';
4
5
  import { RTEBlockRenderer } from './block-renderer.abstract';
5
6
  /**
6
7
  * Abstract class for rendering blocks that contain text nodes with support for rendering text with link styles.
@@ -14,4 +15,28 @@ export declare abstract class RTEBlockTextNodesRenderer extends RTEBlockRenderer
14
15
  * @returns {(HTMLElement | VNode)[]} An array of rendered HTMLElements.
15
16
  */
16
17
  protected renderNodes(block: RTETextBlock, renderContext: RTERenderContext): (HTMLElement | VNode)[];
18
+ /**
19
+ * Recursively groups `nodes` by their inline HTML wrapper `groupId` at the given
20
+ * `depth`, emitting a single shared wrapper element for adjacent siblings and
21
+ * descending into the next depth for each group. Nodes without a `groupId` at
22
+ * the current depth are rendered individually (same as the non-grouped path).
23
+ *
24
+ * @param {RTETextNode[]} nodes - The nodes to render.
25
+ * @param {number} depth - Current depth in the inline HTML chain (0 = outermost).
26
+ * @param {RTERenderContext} renderContext - The render context.
27
+ * @returns {(HTMLElement | VNode)[]} Rendered nodes/elements at this depth.
28
+ */
29
+ protected renderGroupedNodesAtDepth(nodes: RTETextNode[], depth: number, renderContext: RTERenderContext): (HTMLElement | VNode)[];
30
+ /**
31
+ * Renders a single node starting from the given inline HTML depth.
32
+ * At depth 0 the full annotation chain is rendered normally.
33
+ * At depth > 0 the chain begins at that depth (the outer wrappers have
34
+ * already been emitted by the grouping logic above).
35
+ *
36
+ * @param {RTETextNode} node - The node to render.
37
+ * @param {number} depth - Depth in the inline HTML chain to start from.
38
+ * @param {RTERenderContext} renderContext - The render context.
39
+ * @returns {HTMLElement | VNode} The rendered node.
40
+ */
41
+ private renderNodeFromDepth;
17
42
  }
@@ -3,6 +3,11 @@ import { RTETextBlock } from '../../blocks/text-block';
3
3
  import { RTEBlockTextNodesRenderer } from './block-text-nodes-renderer.abstract';
4
4
  declare class RTETextBlockRenderer extends RTEBlockTextNodesRenderer {
5
5
  render(block: RTETextBlock, renderContext: RTERenderContext): HTMLElement;
6
+ /**
7
+ * Returns the promotable inline HTML tag when the block wraps exactly one
8
+ * inline-HTML element (e.g. `<summary>`, `<section>`), or `null` otherwise.
9
+ */
10
+ private getOuterInlineTag;
6
11
  }
7
12
  declare const _default: RTETextBlockRenderer;
8
13
  export default _default;
@@ -1,6 +1,18 @@
1
1
  import { RTENodeRenderer } from './node-renderer.abstract';
2
2
  import { RTETextNode } from '../../nodes/text-node';
3
+ import { Nullable } from '../../../../../types/general';
4
+ import { InlineHtmlAnnotation } from '../../annotations/inline-html-annotation';
3
5
  declare class RTETextNodeRenderer extends RTENodeRenderer {
6
+ /**
7
+ * Renders the text node wrapped in the given annotation chain starting from the
8
+ * provided annotation level. Used by the grouped node renderer to render a node
9
+ * inside an already-emitted outer wrapper.
10
+ *
11
+ * @param {RTETextNode} node - The text node to render.
12
+ * @param {Nullable<InlineHtmlAnnotation>} annotation - Starting annotation, or null for text-only.
13
+ * @returns {HTMLElement} The rendered element.
14
+ */
15
+ renderFromAnnotation(node: RTETextNode, annotation: Nullable<InlineHtmlAnnotation>): HTMLElement;
4
16
  render(node: RTETextNode): HTMLElement;
5
17
  private renderWithWrapper;
6
18
  private renderText;
@@ -12,6 +12,7 @@ import type { VegaRTEContent } from '../dto/content-state';
12
12
  import { ActionHandlerInterceptor } from '../dto/action-handle-strategies/action-handle-interceptor.abstract';
13
13
  import { AnnotationGeneratorStrategyAbstract } from '../slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/annotation-generator-strategy.abstract';
14
14
  import { AnnotationAction } from '../dto/actions/annotation-action.abstract';
15
+ import { RTEFilterStylesStrategy } from '../dto/filter-styles-strategies/filter-styles-strategy.abstract';
15
16
  /**
16
17
  * Abstract class for Vega Rich Text Editor extensions.
17
18
  */
@@ -37,6 +38,13 @@ export declare abstract class VegaRTEExtension {
37
38
  * @param {ActionHandlerInterceptor<ModifyContentAction, RTENode | RTEBlock | VegaRTEContent>} strategy - The interceptor to register.
38
39
  */
39
40
  static registerActionHandlerInterceptor(nodeOrBlockClassName: string, actionType: string, strategy: ActionHandlerInterceptor<ModifyContentAction, RTENode | RTEBlock | VegaRTEContent>): void;
41
+ /**
42
+ * Registers a filter styles strategy for a specific block or node class.
43
+ *
44
+ * @param {string} blockOrNodeClassName - The name of the block or node class.
45
+ * @param {RTEFilterStylesStrategy} strategy - The filter styles strategy to register.
46
+ */
47
+ static registerFilterStylesStrategy(blockOrNodeClassName: string, strategy: RTEFilterStylesStrategy): void;
40
48
  /**
41
49
  * Initializes the RTE extension with the provided context.
42
50
  *
@@ -1,5 +1,6 @@
1
1
  import { Nullable } from '../../../../../types/general';
2
2
  import { BlockAnnotation } from '../../../dto/annotations/block-annotation.abstract';
3
+ import { AnnotationStyle } from '../../../interface';
3
4
  import { RTETableColorAnnotation } from './table-color-annotation';
4
5
  export declare type VegaRTETableAnnotation = {
5
6
  backgroundColor?: Nullable<string>;
@@ -27,6 +28,7 @@ export declare type VegaRTETableAlignment = 'left' | 'center' | 'right';
27
28
  export declare class RTETableAnnotation extends BlockAnnotation<RTETableExtensionAnnotationTypeEnum.TABLE> {
28
29
  static readonly DEFAULT_BORDER_COLLAPSE: string;
29
30
  static readonly DEFAULT_ALIGNMENT: VegaRTETableAlignment;
31
+ static readonly DEFAULT_ALIGNMENT_STYLE_VALUE: string;
30
32
  readonly type: RTETableExtensionAnnotationTypeEnum.TABLE;
31
33
  backgroundColor?: Nullable<string>;
32
34
  border?: Nullable<VegaRTETableBorderType>;
@@ -42,6 +44,12 @@ export declare class RTETableAnnotation extends BlockAnnotation<RTETableExtensio
42
44
  * @inheritDoc
43
45
  */
44
46
  static from(value: VegaRTETableAnnotation, useInternalStyle?: boolean): [RTETableExtensionAnnotationTypeEnum.TABLE, RTETableAnnotation];
47
+ /**
48
+ * Get the default styles for the table annotation.
49
+ *
50
+ * @returns {AnnotationStyle} The default styles for the table annotation.
51
+ */
52
+ static getDefaultStyles(): AnnotationStyle;
45
53
  /**
46
54
  * Generates the CSS border string from the border properties.
47
55
  *
@@ -7,6 +7,12 @@ import { Nullable } from '../../../../../types/general';
7
7
  */
8
8
  export declare class RTETableCaptionAnnotation extends BlockAnnotation<RTETableExtensionAnnotationTypeEnum.CAPTION> {
9
9
  readonly type: RTETableExtensionAnnotationTypeEnum.CAPTION;
10
+ /**
11
+ * Get the default styles for the table caption annotation.
12
+ *
13
+ * @returns {AnnotationStyle} The default styles for the table caption annotation.
14
+ */
15
+ static getDefaultStyles(): AnnotationStyle;
10
16
  /**
11
17
  * @inheritDoc
12
18
  */
@@ -22,7 +28,7 @@ export declare class RTETableCaptionAnnotation extends BlockAnnotation<RTETableE
22
28
  /**
23
29
  * @inheritDoc
24
30
  */
25
- toJSON(): Nullable<Record<'caption', unknown>>;
31
+ toJSON(): Nullable<Record<'caption', boolean>>;
26
32
  /**
27
33
  * Get the background color for the caption based on the current theme mode.
28
34
  *
@@ -1,7 +1,7 @@
1
1
  import { Nullable } from '../../../../../types/general';
2
2
  import { RTETableExtensionAnnotationTypeEnum, VegaRTETableBorderType } from './table-annotation';
3
3
  import { BlockAnnotation } from '../../../dto/annotations/block-annotation.abstract';
4
- import { RTERenderContext } from '../../../interface';
4
+ import { AnnotationStyle, RTERenderContext } from '../../../interface';
5
5
  import { RTETableColorAnnotation } from './table-color-annotation';
6
6
  export declare type VegaRTETableCellAnnotation = {
7
7
  backgroundColor?: Nullable<string>;
@@ -22,6 +22,7 @@ export declare type VegaRTETableVerticalAlignType = 'top' | 'middle' | 'bottom';
22
22
  export declare class RTETableCellAnnotation extends BlockAnnotation<RTETableExtensionAnnotationTypeEnum.CELL> {
23
23
  static readonly DEFAULT_PADDING: string;
24
24
  static readonly DEFAULT_BORDER: VegaRTETableBorderType;
25
+ static readonly DEFAULT_BORDER_RGB_COLOR: string;
25
26
  static readonly DEFAULT_HORIZONTAL_TEXT_ALIGN: VegaRTETableTextAlignType;
26
27
  static readonly DEFAULT_VERTICAL_TEXT_ALIGN: VegaRTETableVerticalAlignType;
27
28
  static readonly DEFAULT_CELL_MIN_WIDTH: string;
@@ -44,6 +45,13 @@ export declare class RTETableCellAnnotation extends BlockAnnotation<RTETableExte
44
45
  * @inheritDoc
45
46
  */
46
47
  static from(cellAnnotation: VegaRTETableCellAnnotation, useInternalStyle?: boolean): [RTETableExtensionAnnotationTypeEnum.CELL, RTETableCellAnnotation];
48
+ /**
49
+ * Get the default styles for the table annotation.
50
+ *
51
+ * @param {boolean} isHexColor - Whether to return color values as hex codes.
52
+ * @returns {AnnotationStyle} The default styles for the table annotation.
53
+ */
54
+ static getDefaultStyles(isHexColor?: boolean): AnnotationStyle;
47
55
  /**
48
56
  * Generates the CSS border string from the border properties.
49
57
  *
@@ -53,7 +53,7 @@ export declare class RTETableBlock extends RTEBlock<VegaRTEContent | RTEHtmlBloc
53
53
  /**
54
54
  * @inheritDoc
55
55
  */
56
- toHtml(): string;
56
+ toHtml(options?: VegaRTETransformOptions): string;
57
57
  /**
58
58
  * @inheritDoc
59
59
  */
@@ -34,7 +34,7 @@ export declare class RTETableBodyBlock extends RTEBlock<RTETableBlock, RTETableR
34
34
  /**
35
35
  * @inheritDoc
36
36
  */
37
- toHtml(): string;
37
+ toHtml(options?: VegaRTETransformOptions): string;
38
38
  /**
39
39
  * @inheritDoc
40
40
  */