@heartlandone/vega 2.79.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 (1373) hide show
  1. package/dist/cjs/app-globals-25e1bfac.js +430 -0
  2. package/dist/cjs/aria-dialog-focusable-trap-slimmer-ced9566d.js +217 -0
  3. package/dist/cjs/child-nodes-notify-observer-slimmer-2631c381.js +90 -0
  4. package/dist/cjs/code-block-24b3d0e7.js +5262 -0
  5. package/dist/cjs/component-value-history-controller-slimmer.abstract-bd662b32.js +714 -0
  6. package/dist/cjs/content-state-0f26036c.js +4962 -0
  7. package/dist/cjs/date-required-rule-4377217a.js +92 -0
  8. package/dist/cjs/design-token-40276b11.js +402 -0
  9. package/dist/cjs/dom-node-subject-observer-factory-9110cb94.js +141 -0
  10. package/dist/cjs/element-appender-slimmer-be1b4d57.js +1974 -0
  11. package/dist/cjs/event-emit-slimmer-bee6b676.js +267 -0
  12. package/dist/cjs/form-field-controller-slimmer-982dbfe4.js +1266 -0
  13. package/dist/cjs/image-annotation-action-e0df5a20.js +285 -0
  14. package/dist/cjs/index.cjs.js +16 -15
  15. package/dist/cjs/inject-keyboard-manager-12b65e98.js +37 -0
  16. package/dist/cjs/keyboard-manager-c89a66d3.js +148 -0
  17. package/dist/cjs/keyboard-manager-slimmer-93fcbf46.js +39 -0
  18. package/dist/cjs/loader.cjs.js +11 -11
  19. package/dist/cjs/month-view-generator-0d25e950.js +101 -0
  20. package/dist/cjs/page-size-option-utils-d038dd3a.js +68 -0
  21. package/dist/cjs/public-rules-652ec269.js +46 -0
  22. package/dist/cjs/range-cdd61881.js +178 -0
  23. package/dist/cjs/responsive-format-facade-9cae7f27.js +944 -0
  24. package/dist/cjs/rich-text-editor-required-rule-4b919054.js +64 -0
  25. package/dist/cjs/split-cell-operation-3596f738.js +2446 -0
  26. package/dist/cjs/string-format-strategy.abstract-ebdb2573.js +63 -0
  27. package/dist/cjs/string-input-formatter-slimmer-9b6a8399.js +230 -0
  28. package/dist/cjs/string-mask-strategy-6cc9f391.js +203 -0
  29. package/dist/cjs/style-formatter-18289c4d.js +34 -0
  30. package/dist/cjs/sub-state-notify-slimmer-39bfcfe3.js +81 -0
  31. package/dist/cjs/sub-state-observer-slimmer-e5b50cbf.js +134 -0
  32. package/dist/cjs/time-required-rule-3517beff.js +141 -0
  33. package/dist/cjs/token-extension-addc97c1.js +7612 -0
  34. package/dist/cjs/type-guard-362d7da3.js +2056 -0
  35. package/dist/cjs/ui-ae4ee13d.js +352 -0
  36. package/dist/cjs/valid-credit-card-number-rule-1d8bf49c.js +173 -0
  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 +7 -7
  44. package/dist/cjs/vega-button-group_2.cjs.entry.js +6 -6
  45. package/dist/cjs/vega-button-link.cjs.entry.js +3 -3
  46. package/dist/cjs/vega-button.cjs.entry.js +6 -6
  47. package/dist/cjs/vega-calendar_4.cjs.entry.js +30 -17
  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 +7 -7
  51. package/dist/cjs/vega-chip.cjs.entry.js +7 -7
  52. package/dist/cjs/vega-code-block.cjs.entry.js +10 -10
  53. package/dist/cjs/vega-color-picker.cjs.entry.js +6 -6
  54. package/dist/cjs/vega-combo-box.cjs.entry.js +9 -9
  55. package/dist/cjs/vega-date-picker_2.cjs.entry.js +343 -285
  56. package/dist/cjs/vega-dialog_2.cjs.entry.js +74 -10
  57. package/dist/cjs/vega-divider.cjs.entry.js +5 -5
  58. package/dist/cjs/vega-dropdown_5.cjs.entry.js +52 -14
  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 +6 -6
  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 +9 -9
  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 +8 -8
  69. package/dist/cjs/vega-input-credit-card.cjs.entry.js +10 -10
  70. package/dist/cjs/vega-input-numeric.cjs.entry.js +10 -10
  71. package/dist/cjs/vega-input-passcode.cjs.entry.js +9 -9
  72. package/dist/cjs/vega-input-phone-number.cjs.entry.js +8 -8
  73. package/dist/cjs/vega-input-range.cjs.entry.js +6 -6
  74. package/dist/cjs/vega-input-select.cjs.entry.js +8 -8
  75. package/dist/cjs/vega-input.cjs.entry.js +41 -28
  76. package/dist/cjs/vega-internal-event-id-a1837fa2.js +126 -0
  77. package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
  78. package/dist/cjs/vega-left-nav_5.cjs.entry.js +118 -13
  79. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -3
  80. package/dist/cjs/vega-page-notification_2.cjs.entry.js +2 -2
  81. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +3 -3
  82. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +24 -8
  83. package/dist/cjs/vega-pagination.cjs.entry.js +44 -20
  84. package/dist/cjs/vega-popover_2.cjs.entry.js +48 -12
  85. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +43 -12
  86. package/dist/cjs/vega-radio_2.cjs.entry.js +10 -10
  87. package/dist/cjs/vega-rich-text-content.cjs.entry.js +101 -20
  88. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +30 -19
  89. package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +9 -9
  90. package/dist/cjs/vega-section-title.cjs.entry.js +21 -3
  91. package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
  92. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +9 -9
  93. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +8 -8
  94. package/dist/cjs/vega-sidenav_3.cjs.entry.js +8 -8
  95. package/dist/cjs/vega-signature-capture.cjs.entry.js +9 -9
  96. package/dist/cjs/vega-stepper.cjs.entry.js +7 -7
  97. package/dist/cjs/vega-tab-group_2.cjs.entry.js +3 -3
  98. package/dist/cjs/vega-table_11.cjs.entry.js +8 -8
  99. package/dist/cjs/vega-text.cjs.entry.js +1 -1
  100. package/dist/cjs/vega-textarea.cjs.entry.js +6 -6
  101. package/dist/cjs/vega-time-picker_2.cjs.entry.js +12 -12
  102. package/dist/cjs/vega-toggle-switch.cjs.entry.js +6 -6
  103. package/dist/cjs/vega-tooltip_2.cjs.entry.js +8 -8
  104. package/dist/cjs/vega.cjs.js +11 -11
  105. package/dist/cjs/wait-for-component-did-render-b6d12d51.js +32 -0
  106. package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-renderer.js +1 -0
  107. package/dist/collection/components/vega-banner/vega-banner.css +36 -0
  108. package/dist/collection/components/vega-box/vega-box.js +1 -1
  109. package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.js +9 -6
  110. package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.js +4 -0
  111. package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.css +6 -0
  112. package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +31 -0
  113. package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +4 -4
  114. package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.css +15 -12
  115. package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +1 -1
  116. package/dist/collection/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.js +17 -3
  117. package/dist/collection/components/vega-calendar/vega-calendar.css +1 -1
  118. package/dist/collection/components/vega-card/vega-card.css +157 -0
  119. package/dist/collection/components/vega-card/vega-card.js +1 -1
  120. package/dist/collection/components/vega-chip/vega-chip.js +26 -1
  121. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-current-period-controller.js +5 -10
  122. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-is-dual-months-controller.js +64 -0
  123. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-header-render.js +3 -6
  124. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.js +3 -11
  125. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.js +2 -2
  126. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +9 -10
  127. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +13 -15
  128. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +41 -2
  129. package/dist/collection/components/vega-dialog/vega-dialog.js +1 -1
  130. package/dist/collection/components/vega-divider/slimmers/controllers/vega-divider-size-controller.js +1 -1
  131. package/dist/collection/components/vega-divider/vega-divider.css +157 -0
  132. package/dist/collection/components/vega-divider/vega-divider.js +1 -1
  133. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +37 -1
  134. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.js +4 -1
  135. package/dist/collection/components/vega-flex/vega-flex.css +157 -0
  136. package/dist/collection/components/vega-flex/vega-flex.js +1 -1
  137. package/dist/collection/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.js +13 -12
  138. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-renderer.js +4 -1
  139. package/dist/collection/components/vega-input/vega-input.js +26 -1
  140. package/dist/collection/components/vega-modal/slimmers/controllers/vega-modal-layout-controller.js +37 -1
  141. package/dist/collection/components/vega-modal/slimmers/renderers/vega-modal-renderer.js +11 -1
  142. package/dist/collection/components/vega-modal/vega-modal.css +2683 -7
  143. package/dist/collection/components/vega-modal/vega-modal.js +75 -0
  144. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.js +85 -2
  145. package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +23 -0
  146. package/dist/collection/components/vega-pagination/constants/page-size.js +2 -0
  147. package/dist/collection/components/vega-pagination/internal/vega-pagination-page-size-selector.js +11 -7
  148. package/dist/collection/components/vega-pagination/slimmers/controllers/vega-pagination-page-size-observer-controller.js +11 -1
  149. package/dist/collection/components/vega-pagination/utils/page-size-option-utils.js +57 -0
  150. package/dist/collection/components/vega-pagination/vega-pagination-page-size-selector-mobile/slimmers/renderers/page-size-selector-mobile-dropdown-renderer.js +15 -5
  151. package/dist/collection/components/vega-pagination/vega-pagination-page-size-selector-mobile/vega-pagination-page-size-selector-mobile.js +39 -3
  152. package/dist/collection/components/vega-pagination/vega-pagination.js +32 -11
  153. package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +25 -1
  154. package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +6 -1
  155. package/dist/collection/components/vega-popover/vega-popover.js +7 -0
  156. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-direction-controller.js +34 -3
  157. package/dist/collection/components/vega-progress-tracker/slimmers/renderers/vega-progress-tracker-renderer.js +3 -2
  158. package/dist/collection/components/vega-rich-text-editor/constants/constant.js +20 -0
  159. package/dist/collection/components/vega-rich-text-editor/dto/annotations/bold-annotation.js +2 -1
  160. package/dist/collection/components/vega-rich-text-editor/dto/annotations/code-annotation.js +13 -6
  161. package/dist/collection/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.js +18 -9
  162. package/dist/collection/components/vega-rich-text-editor/dto/annotations/image-annotation.js +12 -1
  163. package/dist/collection/components/vega-rich-text-editor/dto/annotations/inline-html-annotation.js +12 -0
  164. package/dist/collection/components/vega-rich-text-editor/dto/annotations/italic-annotation.js +2 -1
  165. package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-group-annotation.js +20 -3
  166. package/dist/collection/components/vega-rich-text-editor/dto/annotations/list-annotation.js +12 -4
  167. package/dist/collection/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.js +2 -1
  168. package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-format-default-styles.js +22 -0
  169. package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +43 -32
  170. package/dist/collection/components/vega-rich-text-editor/dto/annotations/underline-annotation.js +2 -1
  171. package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +15 -4
  172. package/dist/collection/components/vega-rich-text-editor/dto/blocks/code-block.js +6 -2
  173. package/dist/collection/components/vega-rich-text-editor/dto/blocks/html-block.js +9 -15
  174. package/dist/collection/components/vega-rich-text-editor/dto/blocks/image-block.js +3 -3
  175. package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-block.js +3 -3
  176. package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-item-block.js +3 -7
  177. package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +50 -9
  178. package/dist/collection/components/vega-rich-text-editor/dto/content-state.js +25 -6
  179. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/code-block/code-block-filter-styles-strategy.js +39 -0
  180. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/code-block/code-node-filter-styles-strategy.js +47 -0
  181. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.js +64 -0
  182. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.js +166 -2
  183. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/image-node/image-filter-styles-strategy.js +39 -0
  184. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.js +36 -0
  185. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-heading-item-block-filter-styles-strategy.js +29 -0
  186. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.js +51 -0
  187. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-title-item-block-filter-styles-strategy.js +29 -0
  188. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/predicate.js +94 -0
  189. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/alignment-filter-styles-strategy.js +39 -0
  190. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/heading-filter-styles-strategy.js +15 -0
  191. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/paragraph-filter-styles-strategy.js +48 -0
  192. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/title-filter-styles-strategy.js +16 -0
  193. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/code-filter-styles-strategy.js +55 -0
  194. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/link-filter-styles-strategy.js +69 -0
  195. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/text-format-filter-styles-strategy.js +89 -0
  196. package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/title-heading-node-filter-styles-strategy.js +108 -0
  197. package/dist/collection/components/vega-rich-text-editor/dto/nodes/code-block-node.js +7 -2
  198. package/dist/collection/components/vega-rich-text-editor/dto/nodes/image-node.js +2 -2
  199. package/dist/collection/components/vega-rich-text-editor/dto/nodes/node.abstract.js +15 -4
  200. package/dist/collection/components/vega-rich-text-editor/dto/nodes/text-node.js +84 -14
  201. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.js +61 -6
  202. package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.js +16 -0
  203. package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.js +14 -3
  204. package/dist/collection/components/vega-rich-text-editor/dto/setup.js +50 -2
  205. package/dist/collection/components/vega-rich-text-editor/extensions/extension.abstract.js +10 -0
  206. package/dist/collection/components/vega-rich-text-editor/extensions/languages/language-extension.js +9 -3
  207. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-annotation.js +17 -1
  208. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-caption-annotation.js +17 -18
  209. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-cell-annotation.js +19 -0
  210. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-block.js +3 -3
  211. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-body-block.js +3 -3
  212. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.js +21 -4
  213. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.js +3 -3
  214. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-block.js +3 -3
  215. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.js +3 -3
  216. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-row-block.js +3 -3
  217. package/dist/collection/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/caption-to-caption-block-strategy.js +2 -1
  218. package/dist/collection/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/td-to-table-cell-block-strategy.js +2 -2
  219. package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-block/table-block-filter-styles-strategy.js +39 -0
  220. package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-caption/table-caption-filter-styles-strategy.js +39 -0
  221. package/dist/collection/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-cell/table-cell-filter-styles-strategy.js +63 -0
  222. package/dist/collection/components/vega-rich-text-editor/extensions/table/table-extension.js +7 -0
  223. package/dist/collection/components/vega-rich-text-editor/helpers/utils.js +24 -0
  224. package/dist/collection/components/vega-rich-text-editor/public-api.js +2 -0
  225. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/bold-annotaion-handler.js +3 -2
  226. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/custom-style-annotation-handler.js +2 -25
  227. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.js +47 -3
  228. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/inline-html-annotation-handler.js +30 -53
  229. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/italic-annotation-handler.js +2 -1
  230. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/link-annotation-handler.js +2 -1
  231. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/strike-through-annotation-handler.js +2 -1
  232. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-style-annotation-handler.js +4 -1
  233. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/underline-annotation-handler.js +2 -1
  234. 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
  235. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy-processor.js +12 -5
  236. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/html-block-strategy.js +95 -43
  237. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/inline-element-to-text-node-strategy.js +1 -2
  238. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/predicate.js +29 -0
  239. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/strategy-tags.js +142 -0
  240. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.js +1 -0
  241. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.js +12 -2
  242. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +1 -1
  243. package/dist/collection/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.js +8 -2
  244. package/dist/collection/components/vega-section-title/vega-section-title.css +35 -0
  245. package/dist/collection/components/vega-section-title/vega-section-title.js +64 -0
  246. package/dist/collection/components/vega-stepper/vega-stepper.css +3 -0
  247. package/dist/collection/helpers/calendar/calendar-date.js +10 -0
  248. package/dist/collection/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.js +2 -2
  249. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
  250. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.js +3 -3
  251. package/dist/collection/helpers/formatter/string-formatter/custom-formatter-strategy.js +3 -1
  252. package/dist/collection/helpers/formatter/string-formatter/number-mask-strategy.js +3 -1
  253. package/dist/collection/helpers/formatter/string-formatter/number-thousand-comma-strategy.js +3 -2
  254. package/dist/collection/helpers/formatter/string-formatter/string-format-strategy.abstract.js +4 -1
  255. package/dist/collection/helpers/formatter/string-formatter/string-mask-strategy.js +38 -7
  256. package/dist/collection/helpers/formatter/string-formatter/thousand-comma-strategy.js +4 -0
  257. package/dist/collection/helpers/keyboard/keyboard-manager.js +11 -3
  258. package/dist/collection/helpers/slimmers/aria-dialog-focusable-trap-slimmer.js +67 -68
  259. package/dist/collection/types/type-guard.js +21 -0
  260. package/dist/collection/utils/ui.js +76 -2
  261. package/dist/esm/app-globals-80a7d395.js +428 -0
  262. package/dist/esm/aria-dialog-focusable-trap-slimmer-cc6a8c3e.js +215 -0
  263. package/dist/esm/child-nodes-notify-observer-slimmer-a8cb19cf.js +88 -0
  264. package/dist/esm/code-block-cd913077.js +5189 -0
  265. package/dist/esm/component-value-history-controller-slimmer.abstract-e595761d.js +709 -0
  266. package/dist/esm/content-state-89f8eecb.js +4942 -0
  267. package/dist/esm/date-required-rule-2b08f32c.js +90 -0
  268. package/dist/esm/design-token-7566d54c.js +388 -0
  269. package/dist/esm/dom-node-subject-observer-factory-aca0116e.js +138 -0
  270. package/dist/esm/element-appender-slimmer-df2a2da2.js +1972 -0
  271. package/dist/esm/event-emit-slimmer-9abc9241.js +265 -0
  272. package/dist/esm/form-field-controller-slimmer-40fcb5c2.js +1264 -0
  273. package/dist/esm/image-annotation-action-6048d32e.js +280 -0
  274. package/dist/esm/index.js +15 -15
  275. package/dist/esm/inject-keyboard-manager-c6557f50.js +35 -0
  276. package/dist/esm/keyboard-manager-c7b125d7.js +146 -0
  277. package/dist/esm/keyboard-manager-slimmer-6109039b.js +37 -0
  278. package/dist/esm/loader.js +11 -11
  279. package/dist/esm/month-view-generator-139ace5a.js +97 -0
  280. package/dist/esm/page-size-option-utils-50afc81a.js +61 -0
  281. package/dist/esm/public-rules-e42bce9d.js +31 -0
  282. package/dist/esm/range-b76edec7.js +176 -0
  283. package/dist/esm/responsive-format-facade-151dbd10.js +940 -0
  284. package/dist/esm/rich-text-editor-required-rule-1fc7c040.js +62 -0
  285. package/dist/esm/split-cell-operation-548ea374.js +2395 -0
  286. package/dist/esm/string-format-strategy.abstract-6488031a.js +61 -0
  287. package/dist/esm/string-input-formatter-slimmer-625e17a2.js +228 -0
  288. package/dist/esm/string-mask-strategy-a165d316.js +201 -0
  289. package/dist/esm/style-formatter-280757ae.js +32 -0
  290. package/dist/esm/sub-state-notify-slimmer-6c972bb4.js +79 -0
  291. package/dist/esm/sub-state-observer-slimmer-53643b5c.js +132 -0
  292. package/dist/esm/time-required-rule-3f5a8822.js +138 -0
  293. package/dist/esm/token-extension-5ee7a3f1.js +7591 -0
  294. package/dist/esm/type-guard-f6c9c89d.js +1979 -0
  295. package/dist/esm/ui-b7600a48.js +335 -0
  296. package/dist/esm/valid-credit-card-number-rule-3bf19ad6.js +171 -0
  297. package/dist/esm/vega-accordion.entry.js +6 -6
  298. package/dist/esm/vega-app-header-button.entry.js +6 -6
  299. package/dist/esm/vega-backdrop.entry.js +1 -1
  300. package/dist/esm/vega-banner.entry.js +5 -4
  301. package/dist/esm/vega-box.entry.js +5 -5
  302. package/dist/esm/vega-breadcrumb.entry.js +27 -10
  303. package/dist/esm/vega-button-circle.entry.js +7 -7
  304. package/dist/esm/vega-button-group_2.entry.js +6 -6
  305. package/dist/esm/vega-button-link.entry.js +3 -3
  306. package/dist/esm/vega-button.entry.js +6 -6
  307. package/dist/esm/vega-calendar_4.entry.js +30 -17
  308. package/dist/esm/vega-card.entry.js +5 -5
  309. package/dist/esm/vega-carousel.entry.js +5 -5
  310. package/dist/esm/vega-checkbox_2.entry.js +7 -7
  311. package/dist/esm/vega-chip.entry.js +7 -7
  312. package/dist/esm/vega-code-block.entry.js +10 -10
  313. package/dist/esm/vega-color-picker.entry.js +6 -6
  314. package/dist/esm/vega-combo-box.entry.js +9 -9
  315. package/dist/esm/vega-date-picker_2.entry.js +343 -285
  316. package/dist/esm/vega-dialog_2.entry.js +74 -10
  317. package/dist/esm/vega-divider.entry.js +5 -5
  318. package/dist/esm/vega-dropdown_5.entry.js +53 -15
  319. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  320. package/dist/esm/vega-field-label.entry.js +3 -3
  321. package/dist/esm/vega-file-uploader.entry.js +6 -6
  322. package/dist/esm/vega-flag-icon.entry.js +3 -3
  323. package/dist/esm/vega-flex.entry.js +6 -6
  324. package/dist/esm/vega-font.entry.js +4 -4
  325. package/dist/esm/vega-form.entry.js +9 -9
  326. package/dist/esm/vega-grid.entry.js +4 -4
  327. package/dist/esm/vega-icon.entry.js +4 -4
  328. package/dist/esm/vega-image-uploader.entry.js +8 -8
  329. package/dist/esm/vega-input-credit-card.entry.js +10 -10
  330. package/dist/esm/vega-input-numeric.entry.js +10 -10
  331. package/dist/esm/vega-input-passcode.entry.js +9 -9
  332. package/dist/esm/vega-input-phone-number.entry.js +8 -8
  333. package/dist/esm/vega-input-range.entry.js +6 -6
  334. package/dist/esm/vega-input-select.entry.js +8 -8
  335. package/dist/esm/vega-input.entry.js +41 -28
  336. package/dist/esm/vega-internal-event-id-70bd893d.js +73 -0
  337. package/dist/esm/vega-item-toggle.entry.js +3 -3
  338. package/dist/esm/vega-left-nav_5.entry.js +118 -13
  339. package/dist/esm/vega-loader-wrapper_2.entry.js +3 -3
  340. package/dist/esm/vega-page-notification_2.entry.js +2 -2
  341. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +3 -3
  342. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +24 -8
  343. package/dist/esm/vega-pagination.entry.js +44 -20
  344. package/dist/esm/vega-popover_2.entry.js +48 -12
  345. package/dist/esm/vega-progress-tracker_2.entry.js +43 -12
  346. package/dist/esm/vega-radio_2.entry.js +10 -10
  347. package/dist/esm/vega-rich-text-content.entry.js +101 -20
  348. package/dist/esm/vega-rich-text-editor_4.entry.js +30 -19
  349. package/dist/esm/vega-rich-text-table-properties_3.entry.js +9 -9
  350. package/dist/esm/vega-section-title.entry.js +21 -3
  351. package/dist/esm/vega-segment-control.entry.js +3 -3
  352. package/dist/esm/vega-selection-chip_2.entry.js +9 -9
  353. package/dist/esm/vega-selection-tile_2.entry.js +8 -8
  354. package/dist/esm/vega-sidenav_3.entry.js +8 -8
  355. package/dist/esm/vega-signature-capture.entry.js +9 -9
  356. package/dist/esm/vega-stepper.entry.js +7 -7
  357. package/dist/esm/vega-tab-group_2.entry.js +3 -3
  358. package/dist/esm/vega-table_11.entry.js +8 -8
  359. package/dist/esm/vega-text.entry.js +1 -1
  360. package/dist/esm/vega-textarea.entry.js +6 -6
  361. package/dist/esm/vega-time-picker_2.entry.js +12 -12
  362. package/dist/esm/vega-toggle-switch.entry.js +6 -6
  363. package/dist/esm/vega-tooltip_2.entry.js +8 -8
  364. package/dist/esm/vega.js +11 -11
  365. package/dist/esm/wait-for-component-did-render-6980a1a6.js +30 -0
  366. package/dist/sri/vega-sri-manifest.json +343 -339
  367. package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.d.ts +1 -0
  368. package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.d.ts +1 -0
  369. package/dist/types/components/vega-breadcrumb/vega-breadcrumb.d.ts +10 -0
  370. package/dist/types/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.d.ts +5 -0
  371. package/dist/types/components/vega-chip/vega-chip.d.ts +9 -0
  372. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-current-period-controller.d.ts +1 -6
  373. 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
  374. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-header-render.d.ts +1 -2
  375. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +1 -2
  376. 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
  377. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.d.ts +1 -1
  378. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +12 -0
  379. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +12 -0
  380. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.d.ts +1 -0
  381. package/dist/types/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.d.ts +1 -0
  382. package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-renderer.d.ts +1 -0
  383. package/dist/types/components/vega-input/types.d.ts +35 -1
  384. package/dist/types/components/vega-input/vega-input.d.ts +17 -1
  385. package/dist/types/components/vega-modal/slimmers/controllers/vega-modal-layout-controller.d.ts +9 -0
  386. package/dist/types/components/vega-modal/slimmers/renderers/vega-modal-renderer.d.ts +3 -0
  387. package/dist/types/components/vega-modal/vega-modal.d.ts +24 -1
  388. package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.d.ts +17 -0
  389. package/dist/types/components/vega-pagination/constants/page-size.d.ts +2 -0
  390. package/dist/types/components/vega-pagination/internal/vega-pagination-page-size-selector.d.ts +3 -2
  391. package/dist/types/components/vega-pagination/slimmers/controllers/vega-pagination-page-size-observer-controller.d.ts +2 -0
  392. package/dist/types/components/vega-pagination/types.d.ts +9 -0
  393. package/dist/types/components/vega-pagination/utils/page-size-option-utils.d.ts +42 -0
  394. package/dist/types/components/vega-pagination/vega-pagination-page-size-selector-mobile/slimmers/renderers/page-size-selector-mobile-dropdown-renderer.d.ts +2 -0
  395. package/dist/types/components/vega-pagination/vega-pagination-page-size-selector-mobile/vega-pagination-page-size-selector-mobile.d.ts +9 -2
  396. package/dist/types/components/vega-pagination/vega-pagination.d.ts +8 -3
  397. package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +6 -0
  398. package/dist/types/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-direction-controller.d.ts +14 -2
  399. package/dist/types/components/vega-progress-tracker/slimmers/renderers/vega-progress-tracker-renderer.d.ts +1 -1
  400. package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +5 -0
  401. package/dist/types/components/vega-rich-text-editor/dto/annotations/code-annotation.d.ts +6 -0
  402. package/dist/types/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.d.ts +7 -0
  403. package/dist/types/components/vega-rich-text-editor/dto/annotations/image-annotation.d.ts +7 -0
  404. package/dist/types/components/vega-rich-text-editor/dto/annotations/inline-html-annotation.d.ts +14 -0
  405. package/dist/types/components/vega-rich-text-editor/dto/annotations/link-group-annotation.d.ts +15 -2
  406. package/dist/types/components/vega-rich-text-editor/dto/annotations/list-annotation.d.ts +6 -0
  407. package/dist/types/components/vega-rich-text-editor/dto/annotations/text-format-default-styles.d.ts +22 -0
  408. package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts +7 -0
  409. package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +4 -2
  410. package/dist/types/components/vega-rich-text-editor/dto/blocks/code-block.d.ts +2 -2
  411. package/dist/types/components/vega-rich-text-editor/dto/blocks/html-block.d.ts +1 -11
  412. package/dist/types/components/vega-rich-text-editor/dto/blocks/image-block.d.ts +1 -1
  413. package/dist/types/components/vega-rich-text-editor/dto/blocks/list-block.d.ts +1 -1
  414. package/dist/types/components/vega-rich-text-editor/dto/blocks/list-item-block.d.ts +1 -1
  415. package/dist/types/components/vega-rich-text-editor/dto/blocks/text-block.d.ts +15 -2
  416. package/dist/types/components/vega-rich-text-editor/dto/content-state.d.ts +9 -3
  417. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/code-block/code-block-filter-styles-strategy.d.ts +27 -0
  418. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/code-block/code-node-filter-styles-strategy.d.ts +27 -0
  419. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.d.ts +27 -1
  420. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.d.ts +104 -0
  421. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/image-node/image-filter-styles-strategy.d.ts +28 -0
  422. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.d.ts +23 -0
  423. 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
  424. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.d.ts +34 -0
  425. 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
  426. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/predicate.d.ts +72 -0
  427. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/alignment-filter-styles-strategy.d.ts +27 -0
  428. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/heading-filter-styles-strategy.d.ts +10 -0
  429. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/paragraph-filter-styles-strategy.d.ts +34 -0
  430. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/title-filter-styles-strategy.d.ts +11 -0
  431. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/code-filter-styles-strategy.d.ts +40 -0
  432. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/link-filter-styles-strategy.d.ts +37 -0
  433. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/text-format-filter-styles-strategy.d.ts +41 -0
  434. package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/title-heading-node-filter-styles-strategy.d.ts +62 -0
  435. package/dist/types/components/vega-rich-text-editor/dto/nodes/code-block-node.d.ts +7 -3
  436. package/dist/types/components/vega-rich-text-editor/dto/nodes/image-node.d.ts +1 -1
  437. package/dist/types/components/vega-rich-text-editor/dto/nodes/node.abstract.d.ts +5 -3
  438. package/dist/types/components/vega-rich-text-editor/dto/nodes/text-node.d.ts +43 -4
  439. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.d.ts +25 -0
  440. package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.d.ts +5 -0
  441. package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.d.ts +12 -0
  442. package/dist/types/components/vega-rich-text-editor/extensions/extension.abstract.d.ts +8 -0
  443. package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-annotation.d.ts +8 -0
  444. package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-caption-annotation.d.ts +7 -1
  445. package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-cell-annotation.d.ts +9 -1
  446. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-block.d.ts +1 -1
  447. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-body-block.d.ts +1 -1
  448. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.d.ts +5 -2
  449. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.d.ts +1 -1
  450. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-block.d.ts +1 -1
  451. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.d.ts +1 -1
  452. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-row-block.d.ts +1 -1
  453. package/dist/types/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-block/table-block-filter-styles-strategy.d.ts +29 -0
  454. package/dist/types/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-caption/table-caption-filter-styles-strategy.d.ts +29 -0
  455. package/dist/types/components/vega-rich-text-editor/extensions/table/filter-styles-strategies/table-cell/table-cell-filter-styles-strategy.d.ts +46 -0
  456. package/dist/types/components/vega-rich-text-editor/helpers/utils.d.ts +8 -0
  457. package/dist/types/components/vega-rich-text-editor/interface.d.ts +27 -5
  458. package/dist/types/components/vega-rich-text-editor/public-api.d.ts +1 -0
  459. 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
  460. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.d.ts +11 -1
  461. 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
  462. 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
  463. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy-processor.d.ts +8 -3
  464. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/html-block-strategy.d.ts +34 -1
  465. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/predicate.d.ts +21 -0
  466. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/strategy-tags.d.ts +83 -0
  467. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.d.ts +6 -0
  468. package/dist/types/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.d.ts +2 -0
  469. package/dist/types/components/vega-section-title/types.d.ts +1 -0
  470. package/dist/types/components/vega-section-title/vega-section-title.d.ts +14 -0
  471. package/dist/types/components.d.ts +93 -8
  472. package/dist/types/helpers/calendar/calendar-date.d.ts +7 -0
  473. package/dist/types/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.d.ts +0 -1
  474. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
  475. package/dist/types/helpers/formatter/string-formatter/custom-formatter-strategy.d.ts +2 -1
  476. package/dist/types/helpers/formatter/string-formatter/number-mask-strategy.d.ts +2 -1
  477. package/dist/types/helpers/formatter/string-formatter/number-thousand-comma-strategy.d.ts +2 -1
  478. package/dist/types/helpers/formatter/string-formatter/string-format-strategy.abstract.d.ts +1 -0
  479. package/dist/types/helpers/formatter/string-formatter/string-mask-strategy.d.ts +32 -4
  480. package/dist/types/helpers/formatter/string-formatter/thousand-comma-strategy.d.ts +1 -0
  481. package/dist/types/helpers/keyboard/keyboard-manager.d.ts +1 -0
  482. package/dist/types/helpers/slimmers/aria-dialog-focusable-trap-slimmer.d.ts +20 -9
  483. package/dist/types/types/components.type.d.ts +3 -0
  484. package/dist/types/types/type-guard.d.ts +15 -1
  485. package/dist/types/types/ui.type.d.ts +11 -1
  486. package/dist/types/utils/ui.d.ts +17 -1
  487. package/dist/vega/index.esm.js +1 -1
  488. package/dist/vega/p-001d36af.js +1 -0
  489. package/dist/vega/p-01541820.entry.js +1 -0
  490. package/dist/vega/p-0304c3a7.js +1 -0
  491. package/dist/vega/p-08f03a52.entry.js +1 -0
  492. package/dist/vega/p-0a145766.entry.js +1 -0
  493. package/dist/vega/p-0d205fbf.js +1 -0
  494. package/dist/vega/p-0fc2ccc4.entry.js +1 -0
  495. package/dist/vega/p-118aeed1.entry.js +1 -0
  496. package/dist/vega/p-1a4e8d8a.js +1 -0
  497. package/dist/vega/p-23dc4064.entry.js +1 -0
  498. package/dist/vega/p-24b45c85.js +1 -0
  499. package/dist/vega/p-262a27d0.js +1 -0
  500. package/dist/vega/p-27dc6562.entry.js +1 -0
  501. package/dist/vega/p-295326ca.entry.js +1 -0
  502. package/dist/vega/p-2beace1c.entry.js +1 -0
  503. package/dist/vega/p-2ce2972f.js +1 -0
  504. package/dist/vega/p-2e7d5e28.entry.js +1 -0
  505. package/dist/vega/p-2f99c511.js +1 -0
  506. package/dist/vega/p-32592497.entry.js +1 -0
  507. package/dist/vega/p-33860e54.js +1 -0
  508. package/dist/vega/p-37a9f4b4.entry.js +1 -0
  509. package/dist/vega/p-4013d954.entry.js +1 -0
  510. package/dist/vega/p-42da45e3.entry.js +1 -0
  511. package/dist/vega/p-42e246e4.entry.js +1 -0
  512. package/dist/vega/p-479a169c.entry.js +1 -0
  513. package/dist/vega/p-47a2eec1.entry.js +1 -0
  514. package/dist/vega/p-49ae8c79.js +1 -0
  515. package/dist/vega/p-4ed416e7.js +1 -0
  516. package/dist/vega/p-53ba1adb.entry.js +1 -0
  517. package/dist/vega/p-55019e55.entry.js +1 -0
  518. package/dist/vega/p-565aac6e.entry.js +1 -0
  519. package/dist/vega/p-574586c9.entry.js +1 -0
  520. package/dist/vega/p-5781b9f4.entry.js +1 -0
  521. package/dist/vega/p-57827342.entry.js +1 -0
  522. package/dist/vega/p-59c6f795.js +1 -0
  523. package/dist/vega/p-5a8be21c.entry.js +1 -0
  524. package/dist/vega/p-5baff397.js +1 -0
  525. package/dist/vega/p-5e9f6fb6.entry.js +1 -0
  526. package/dist/vega/p-5f377954.js +1 -1
  527. package/dist/vega/p-5f95a2fa.js +1 -0
  528. package/dist/vega/p-6216c30e.js +1 -0
  529. package/dist/vega/p-62e80151.entry.js +1 -0
  530. package/dist/vega/p-63d73fa0.entry.js +1 -0
  531. package/dist/vega/p-64e22fe5.js +1 -0
  532. package/dist/vega/p-679b1f00.entry.js +1 -0
  533. package/dist/vega/p-6e70d3cc.js +1 -0
  534. package/dist/vega/p-757bfca2.entry.js +1 -0
  535. package/dist/vega/p-76063dcb.js +1 -0
  536. package/dist/vega/p-76daa632.entry.js +1 -0
  537. package/dist/vega/p-77c6f14a.entry.js +1 -0
  538. package/dist/vega/p-7ac9e8ff.entry.js +1 -0
  539. package/dist/vega/p-83863463.js +1 -0
  540. package/dist/vega/p-88e6618d.js +1 -0
  541. package/dist/vega/p-90a0b9f3.entry.js +1 -0
  542. package/dist/vega/p-9324dd2c.entry.js +1 -0
  543. package/dist/vega/p-98c44c03.js +1 -0
  544. package/dist/vega/p-9aa1c66a.entry.js +1 -0
  545. package/dist/vega/p-9b01a28a.entry.js +1 -0
  546. package/dist/vega/p-9b14ac66.entry.js +1 -0
  547. package/dist/vega/p-9dcecdd3.js +1 -0
  548. package/dist/vega/p-a1d51bc2.js +1 -0
  549. package/dist/vega/p-ab4b06c9.entry.js +1 -0
  550. package/dist/vega/p-ac43be09.entry.js +1 -0
  551. package/dist/vega/p-add63fe0.entry.js +1 -0
  552. package/dist/vega/p-ae0f03c1.js +1 -0
  553. package/dist/vega/p-b525c800.entry.js +1 -0
  554. package/dist/vega/p-be651266.entry.js +1 -0
  555. package/dist/vega/p-c0d45f77.entry.js +1 -0
  556. package/dist/vega/p-c2e7992b.js +1 -0
  557. package/dist/vega/p-c56aa01c.entry.js +1 -0
  558. package/dist/vega/p-cc3c661c.entry.js +1 -0
  559. package/dist/vega/p-cda09e99.entry.js +1 -0
  560. package/dist/vega/p-d0ac7af8.js +1 -0
  561. package/dist/vega/p-d289a6af.js +3 -0
  562. package/dist/vega/p-d29e8972.entry.js +1 -0
  563. package/dist/vega/p-d47aa28f.js +1 -0
  564. package/dist/vega/p-d90eee9a.entry.js +1 -0
  565. package/dist/vega/p-da742a7f.entry.js +1 -0
  566. package/dist/vega/p-dc6e7a77.js +1 -0
  567. package/dist/vega/p-dcf8f58f.entry.js +1 -0
  568. package/dist/vega/p-dff66a67.entry.js +1 -0
  569. package/dist/vega/p-e1117034.entry.js +1 -0
  570. package/dist/vega/p-e223e0dc.entry.js +1 -0
  571. package/dist/vega/p-e22e5aa1.js +1 -0
  572. package/dist/vega/p-e753fac2.entry.js +1 -0
  573. package/dist/vega/p-e7a4b760.entry.js +1 -0
  574. package/dist/vega/p-e8fc8495.entry.js +1 -0
  575. package/dist/vega/p-ea2b5dbb.js +1 -0
  576. package/dist/vega/p-eccabba7.entry.js +1 -0
  577. package/dist/vega/p-f0d605e9.entry.js +1 -0
  578. package/dist/vega/p-f28a6074.js +1 -0
  579. package/dist/vega/p-f2c65579.entry.js +1 -0
  580. package/dist/vega/p-f2cef51a.js +1 -0
  581. package/dist/vega/p-f40d479d.entry.js +1 -0
  582. package/dist/vega/p-f5013494.entry.js +1 -0
  583. package/dist/vega/p-f509b439.js +1 -0
  584. package/dist/vega/p-f5d3ce94.js +1 -0
  585. package/dist/vega/p-f69e2801.entry.js +1 -0
  586. package/dist/vega/p-fa654762.entry.js +1 -0
  587. package/dist/vega/p-fbc5a7f6.entry.js +1 -0
  588. package/dist/vega/p-fd5ddc55.js +1 -0
  589. package/dist/vega/p-ff47aeee.entry.js +1 -0
  590. package/dist/vega/vega.esm.js +1 -1
  591. package/package.json +3 -2
  592. package/dist/cjs/app-globals-e9fdfbf9.js +0 -430
  593. package/dist/cjs/aria-dialog-focusable-trap-slimmer-6faafc3e.js +0 -218
  594. package/dist/cjs/child-nodes-notify-observer-slimmer-06c78f97.js +0 -90
  595. package/dist/cjs/code-block-847534e3.js +0 -4453
  596. package/dist/cjs/component-value-history-controller-slimmer.abstract-d7f9812a.js +0 -714
  597. package/dist/cjs/content-state-99be18a3.js +0 -4076
  598. package/dist/cjs/date-required-rule-3823d506.js +0 -92
  599. package/dist/cjs/design-token-b497bb6e.js +0 -402
  600. package/dist/cjs/dom-node-subject-observer-factory-f7ed3bdc.js +0 -141
  601. package/dist/cjs/element-appender-slimmer-eba4f3a2.js +0 -1974
  602. package/dist/cjs/event-emit-slimmer-83f8e2bd.js +0 -267
  603. package/dist/cjs/form-field-controller-slimmer-93ca7239.js +0 -1266
  604. package/dist/cjs/image-annotation-action-9d6af380.js +0 -285
  605. package/dist/cjs/inject-keyboard-manager-23d07d87.js +0 -37
  606. package/dist/cjs/keyboard-manager-3923e29b.js +0 -140
  607. package/dist/cjs/keyboard-manager-slimmer-f602725d.js +0 -39
  608. package/dist/cjs/month-view-generator-aa8e8e74.js +0 -102
  609. package/dist/cjs/public-rules-1dbda124.js +0 -46
  610. package/dist/cjs/range-60fb9dd2.js +0 -178
  611. package/dist/cjs/responsive-format-facade-a32cdb67.js +0 -944
  612. package/dist/cjs/rich-text-editor-required-rule-b4aab68d.js +0 -64
  613. package/dist/cjs/split-cell-operation-190d4a87.js +0 -2411
  614. package/dist/cjs/string-format-strategy.abstract-730088ee.js +0 -60
  615. package/dist/cjs/string-input-formatter-slimmer-9d6df58b.js +0 -230
  616. package/dist/cjs/string-mask-strategy-b69e3b9e.js +0 -172
  617. package/dist/cjs/style-formatter-9d8a4ad2.js +0 -34
  618. package/dist/cjs/sub-state-notify-slimmer-c80b9d21.js +0 -81
  619. package/dist/cjs/sub-state-observer-slimmer-15740c97.js +0 -134
  620. package/dist/cjs/time-required-rule-6524b650.js +0 -141
  621. package/dist/cjs/token-extension-b7c4ea17.js +0 -7438
  622. package/dist/cjs/type-guard-2a46bca5.js +0 -2022
  623. package/dist/cjs/ui-b3db0122.js +0 -277
  624. package/dist/cjs/valid-credit-card-number-rule-8eb02ea7.js +0 -173
  625. package/dist/cjs/vega-internal-event-id-67bb91c1.js +0 -124
  626. package/dist/cjs/wait-for-component-did-render-9e41b39e.js +0 -32
  627. package/dist/collection/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.js +0 -195
  628. package/dist/collection/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.js +0 -94
  629. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.js +0 -72
  630. package/dist/collection/components/vega-code-block/test/code-block-range.test.js +0 -81
  631. package/dist/collection/components/vega-dropdown/test/share.js +0 -13
  632. package/dist/collection/components/vega-input-credit-card/test/share.js +0 -21
  633. package/dist/collection/components/vega-nav/vega-left-nav/test/vega-left-nav-mock-data.js +0 -147
  634. package/dist/collection/components/vega-rich-text-editor/helpers/extension-context-manager.test.js +0 -21
  635. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/action-handle-strategy-registry.test.js +0 -71
  636. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-delete-node-content-strategy.test.js +0 -69
  637. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-insert-line-break-with-blocks-strategy.test.js +0 -24
  638. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/code-block-strategy-registry.test.js +0 -20
  639. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/content-state-strategy-registry.test.js +0 -15
  640. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-block-strategy-register.test.js +0 -32
  641. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-set-annotation-map-strategy.test.js +0 -11
  642. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-update-url-strategy.test.js +0 -16
  643. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-block-strategy-register.test.js +0 -20
  644. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-item-strategy-register.test.js +0 -87
  645. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-split-text-strategy.test.js +0 -32
  646. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-update-annotation-map-strategy.test.js +0 -17
  647. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/text-block-strategy-register.test.js +0 -77
  648. package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/update-selected-text-strategy.test.js +0 -23
  649. package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-actions.test.js +0 -39
  650. package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-style.test.js +0 -71
  651. package/dist/collection/components/vega-rich-text-editor/test/dto/annotations.test.js +0 -381
  652. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/code-block.test.js +0 -54
  653. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/html-block.test.js +0 -167
  654. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/image-block.test.js +0 -90
  655. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-block.test.js +0 -176
  656. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-item.test.js +0 -188
  657. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/text-block.test.js +0 -193
  658. package/dist/collection/components/vega-rich-text-editor/test/dto/content-state.test.js +0 -3375
  659. package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/image-node.test.js +0 -108
  660. package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/text-node.test.js +0 -510
  661. package/dist/collection/components/vega-rich-text-editor/test/dto/range.test.js +0 -53
  662. package/dist/collection/components/vega-rich-text-editor/test/e2e-utils.js +0 -182
  663. package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/custom-attribute-annotation-handler.test.js +0 -49
  664. package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/element-to-text-node-strategy.test.js +0 -38
  665. package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/html-element-to-annotation-generator.test.js +0 -26
  666. package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/jira-code-to-rte-code-block-strategy.test.js +0 -32
  667. package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/vega-code-block-to-rte-code-block-strategy.test.js +0 -61
  668. package/dist/collection/components/vega-rich-text-editor/test/extensions/extension-test-utils.js +0 -43
  669. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/annotation-handler-registration.test.js +0 -164
  670. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-annotation-handler.test.js +0 -298
  671. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-cell-annotation-handler.test.js +0 -316
  672. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-head-cell-annotation-handler.test.js +0 -411
  673. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/caption-operation.test.js +0 -99
  674. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-annotation.test.js +0 -181
  675. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-caption-annotations.test.js +0 -84
  676. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-cell-annotation.test.js +0 -331
  677. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-color-annotation.test.js +0 -32
  678. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-dto.test.js +0 -1094
  679. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-element-to-dto-strategies.test.js +0 -1590
  680. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-test-utils.js +0 -172
  681. package/dist/collection/components/vega-rich-text-editor/test/filter-styles-strategies/filter-styles-strategy.test.js +0 -129
  682. package/dist/collection/components/vega-rich-text-editor/test/fixture.js +0 -257
  683. package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/html-content-cleaner.test.js +0 -186
  684. package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-after-opening-tag-processor.test.js +0 -22
  685. package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-before-closing-tag-processor.test.js +0 -22
  686. package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-between-tags-processor.test.js +0 -26
  687. package/dist/collection/components/vega-rich-text-editor/test/spec-utils.js +0 -35
  688. package/dist/collection/components/vega-sidenav/test/test.helper.js +0 -68
  689. package/dist/collection/components/vega-table/slimmers/controllers/dto/test/column-render-input-model.test.js +0 -83
  690. package/dist/collection/components/vega-table/slimmers/controllers/dto/test/column-structure-model.test.js +0 -147
  691. package/dist/collection/components/vega-table/test/utils.js +0 -22
  692. package/dist/collection/components/vega-table/test/vega-table-sorter.test.js +0 -508
  693. package/dist/collection/constants/tests/validator.test.js +0 -24
  694. package/dist/collection/decorators/method-decorators/tests/component-load-required.test.js +0 -114
  695. package/dist/collection/decorators/property-decorators/tests/inject-element-appender-proxy.test.js +0 -237
  696. package/dist/collection/decorators/property-decorators/tests/inject-keyboard-manager.test.js +0 -91
  697. package/dist/collection/global/tests/before-vega-load.test.js +0 -62
  698. package/dist/collection/helpers/calendar/test/calendar-date-time.test.js +0 -27
  699. package/dist/collection/helpers/calendar/test/calendar-date.test.js +0 -172
  700. package/dist/collection/helpers/calendar/test/calendar-event.test.js +0 -263
  701. package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +0 -118
  702. package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +0 -144
  703. package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +0 -114
  704. package/dist/collection/helpers/calendar/test/calendar-time.test.js +0 -45
  705. package/dist/collection/helpers/calendar/test/calendar-view-generator/day-view-generator.test.js +0 -19
  706. package/dist/collection/helpers/calendar/test/calendar-view-generator/month-view-generator.test.js +0 -123
  707. package/dist/collection/helpers/calendar/test/calendar-view-generator/week-view-generator.test.js +0 -43
  708. package/dist/collection/helpers/calendar/test/calendar-view.test.js +0 -9
  709. package/dist/collection/helpers/calendar/test/index.test.js +0 -13
  710. package/dist/collection/helpers/calendar/test/utils.test.js +0 -62
  711. package/dist/collection/helpers/change-manager/test/change-manager.test.js +0 -30
  712. package/dist/collection/helpers/change-manager/test/dom-node-subject-factory.test.js +0 -38
  713. package/dist/collection/helpers/chart/test/controllers/chart-dimension-controller.test.js +0 -63
  714. package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +0 -55
  715. package/dist/collection/helpers/chart/test/drawers/legend-drawer.test.js +0 -94
  716. package/dist/collection/helpers/chart/test/drawers/line-drawer.test.js +0 -25
  717. package/dist/collection/helpers/chart/test/drawers/path-drawer.test.js +0 -21
  718. package/dist/collection/helpers/chart/test/drawers/rect-drawer.test.js +0 -78
  719. package/dist/collection/helpers/chart/test/drawers/text-drawer.test.js +0 -25
  720. package/dist/collection/helpers/chart/test/drawers/x-axis-drawer.test.js +0 -38
  721. package/dist/collection/helpers/chart/test/drawers/y-axis-drawer.test.js +0 -44
  722. package/dist/collection/helpers/chart/test/graph-context-factory.test.js +0 -17
  723. package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +0 -62
  724. package/dist/collection/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.js +0 -45
  725. package/dist/collection/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.js +0 -80
  726. package/dist/collection/helpers/chart/test/input-processors/layout-input-processor.test.js +0 -40
  727. package/dist/collection/helpers/chart/test/input-processors/line-path-input-processor.test.js +0 -16
  728. package/dist/collection/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.js +0 -20
  729. package/dist/collection/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.js +0 -48
  730. package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +0 -53
  731. package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +0 -78
  732. package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +0 -109
  733. package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.js +0 -39
  734. package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +0 -55
  735. package/dist/collection/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.js +0 -11
  736. package/dist/collection/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.js +0 -25
  737. package/dist/collection/helpers/chart/test/interactors/interactor-factory.test.js +0 -19
  738. package/dist/collection/helpers/chart/test/interactors/svg-interactor.test.js +0 -48
  739. package/dist/collection/helpers/chart/test/line-chart.test.js +0 -96
  740. package/dist/collection/helpers/chart/test/pie-chart.test.js +0 -38
  741. package/dist/collection/helpers/chart/test/renderers/canvas-renderer.test.js +0 -31
  742. package/dist/collection/helpers/chart/test/renderers/renderer-factory.test.js +0 -19
  743. package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +0 -99
  744. package/dist/collection/helpers/code-format/test/code-formatter.test.js +0 -410
  745. package/dist/collection/helpers/common/test/common.test.js +0 -7
  746. package/dist/collection/helpers/common/test/wait-for-component-did-render.test.js +0 -67
  747. package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +0 -17
  748. package/dist/collection/helpers/csp/test/styles-preservator.test.js +0 -207
  749. package/dist/collection/helpers/csp/test/vega-nonce-manager.test.js +0 -177
  750. package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +0 -114
  751. package/dist/collection/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.js +0 -209
  752. package/dist/collection/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.js +0 -81
  753. package/dist/collection/helpers/event-manager/test/component-event-id-map.test.js +0 -16
  754. package/dist/collection/helpers/event-manager/test/event-emit-slimmer.test.js +0 -144
  755. package/dist/collection/helpers/event-manager/test/internal-vega-event-manager.test.js +0 -70
  756. package/dist/collection/helpers/event-manager/test/jquery-delegated-strategy-controller.test.js +0 -131
  757. package/dist/collection/helpers/event-manager/test/vega-event-id.test.js +0 -16
  758. package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +0 -97
  759. package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +0 -69
  760. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.js +0 -64
  761. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-style-formatter.test.js +0 -32
  762. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.js +0 -31
  763. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.js +0 -17
  764. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.js +0 -23
  765. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.js +0 -19
  766. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.js +0 -19
  767. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.js +0 -43
  768. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.js +0 -29
  769. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.js +0 -23
  770. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-justify-items-formatter.test.js +0 -19
  771. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.js +0 -27
  772. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.js +0 -43
  773. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-style-formatter.test.js +0 -28
  774. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.js +0 -43
  775. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-style-formatter.test.js +0 -28
  776. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.js +0 -27
  777. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.js +0 -19
  778. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.js +0 -51
  779. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.js +0 -20
  780. package/dist/collection/helpers/formatter/test/state-formatter/state-background-color-formatter.test.js +0 -18
  781. package/dist/collection/helpers/formatter/test/state-formatter/state-border-color-formatter.test.js +0 -13
  782. package/dist/collection/helpers/formatter/test/state-formatter/state-border-formatter.test.js +0 -13
  783. package/dist/collection/helpers/formatter/test/state-formatter/state-format-facade.test.js +0 -27
  784. package/dist/collection/helpers/formatter/test/state-formatter/state-shadow-formatter.test.js +0 -13
  785. package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +0 -13
  786. package/dist/collection/helpers/formatter/test/string-formatter/number-mask-strategy.test.js +0 -101
  787. package/dist/collection/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.js +0 -40
  788. package/dist/collection/helpers/formatter/test/string-formatter/string-mask-strategy.test.js +0 -147
  789. package/dist/collection/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.js +0 -21
  790. package/dist/collection/helpers/formatter/test/string-formatter/vega-phone-number-input-strategy.test.js +0 -43
  791. package/dist/collection/helpers/formatter/test/style-formatter.test.js +0 -16
  792. package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +0 -101
  793. package/dist/collection/helpers/icon/test/internal-icon-manager.test.js +0 -18
  794. package/dist/collection/helpers/immutable/test/immutable-array.test.js +0 -78
  795. package/dist/collection/helpers/immutable/test/immutable-map.test.js +0 -83
  796. package/dist/collection/helpers/immutable/test/immutable-set.test.js +0 -87
  797. package/dist/collection/helpers/keyboard/test/keyboard-manager.test.js +0 -241
  798. package/dist/collection/helpers/level-tracker/test/nested-level-tracker.test.js +0 -33
  799. package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +0 -192
  800. package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +0 -165
  801. package/dist/collection/helpers/paginator/test/value-paginator.test.js +0 -15
  802. package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +0 -76
  803. package/dist/collection/helpers/remote-invocation/remote-invocation-registry.test.js +0 -17
  804. package/dist/collection/helpers/rte-manager/rte.manager.test.js +0 -94
  805. package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +0 -194
  806. package/dist/collection/helpers/slimmers/element-appender/body-positioned-wrapper/test/vega-popover-wrapper.test.js +0 -66
  807. package/dist/collection/helpers/slimmers/element-appender/test/element-appender-slimmer.test.js +0 -621
  808. package/dist/collection/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.js +0 -248
  809. package/dist/collection/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.js +0 -120
  810. package/dist/collection/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.js +0 -182
  811. package/dist/collection/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.js +0 -399
  812. package/dist/collection/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.js +0 -383
  813. package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +0 -96
  814. package/dist/collection/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.js +0 -228
  815. package/dist/collection/helpers/slimmers/test/aria-dialog-focusable-trap-slimmer.test.js +0 -375
  816. package/dist/collection/helpers/slimmers/test/auto-run-when-re-render-task-queue-slimmer.test.js +0 -46
  817. package/dist/collection/helpers/slimmers/test/brand-switch-state-controller-slimmer.test.js +0 -75
  818. package/dist/collection/helpers/slimmers/test/component-global-style-slimmer.test.js +0 -104
  819. package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +0 -72
  820. package/dist/collection/helpers/slimmers/test/dark-mode-state-controller.test.js +0 -65
  821. package/dist/collection/helpers/slimmers/test/deprecated-property-slimmer.test.js +0 -36
  822. package/dist/collection/helpers/slimmers/test/field-error-controller-slimmer.test.js +0 -55
  823. package/dist/collection/helpers/slimmers/test/form-field-controller-slimmer.test.js +0 -278
  824. package/dist/collection/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.js +0 -106
  825. package/dist/collection/helpers/slimmers/test/global/vega-nonce-injector-slimmer.test.js +0 -64
  826. package/dist/collection/helpers/slimmers/test/global/vega-translate-observer-slimmer.test.js +0 -89
  827. package/dist/collection/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.js +0 -101
  828. package/dist/collection/helpers/slimmers/test/keyboard-manager-slimmer.test.js +0 -90
  829. package/dist/collection/helpers/slimmers/test/page-resize-observer-slimmer.test.js +0 -278
  830. package/dist/collection/helpers/slimmers/test/string-input-formatter-slimmer.test.js +0 -220
  831. package/dist/collection/helpers/slimmers/test/translation-slimmer.test.js +0 -89
  832. package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +0 -614
  833. package/dist/collection/helpers/touch-helper/test/touch-listener.test.js +0 -122
  834. package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +0 -288
  835. package/dist/collection/helpers/translation/tests/translation.test.js +0 -46
  836. package/dist/collection/helpers/ui/test/element-appender.test.js +0 -530
  837. package/dist/collection/helpers/validator/test/rules/check-box-required-rule.test.js +0 -88
  838. package/dist/collection/helpers/validator/test/rules/custom-validation-rule.test.js +0 -56
  839. package/dist/collection/helpers/validator/test/rules/date-range-rule.test.js +0 -67
  840. package/dist/collection/helpers/validator/test/rules/date-required-rule.test.js +0 -120
  841. package/dist/collection/helpers/validator/test/rules/email-field-rule.test.js +0 -69
  842. package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +0 -7
  843. package/dist/collection/helpers/validator/test/rules/input-phone-number-required-rule.test.js +0 -105
  844. package/dist/collection/helpers/validator/test/rules/input-range-min-and-max-rule.test.js +0 -146
  845. package/dist/collection/helpers/validator/test/rules/input-range-required-rule.test.js +0 -82
  846. package/dist/collection/helpers/validator/test/rules/input-select-value-in-source-rule.test.js +0 -99
  847. package/dist/collection/helpers/validator/test/rules/max-number-rule.test.js +0 -97
  848. package/dist/collection/helpers/validator/test/rules/max-string-length-rule.test.js +0 -85
  849. package/dist/collection/helpers/validator/test/rules/min-and-max-date-rule.test.js +0 -174
  850. package/dist/collection/helpers/validator/test/rules/min-number-rule.test.js +0 -97
  851. package/dist/collection/helpers/validator/test/rules/min-string-length-rule.test.js +0 -85
  852. package/dist/collection/helpers/validator/test/rules/public-rules.test.js +0 -80
  853. package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +0 -126
  854. package/dist/collection/helpers/validator/test/rules/rich-text-editor-required-rule.test.js +0 -360
  855. package/dist/collection/helpers/validator/test/rules/time-range-required-rule.test.js +0 -82
  856. package/dist/collection/helpers/validator/test/rules/time-range-rule.test.js +0 -67
  857. package/dist/collection/helpers/validator/test/rules/time-required-rule.test.js +0 -116
  858. package/dist/collection/helpers/validator/test/rules/toggle-switch-required-rule.test.js +0 -72
  859. package/dist/collection/helpers/validator/test/rules/valid-credit-card-number-rule.test.js +0 -135
  860. package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +0 -95
  861. package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.js +0 -65
  862. package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.js +0 -82
  863. package/dist/collection/helpers/validator/test/validator/form-field-controller.test.js +0 -205
  864. package/dist/collection/helpers/vega-telemetry-helper/test/vega-env-manager.test.js +0 -14
  865. package/dist/collection/helpers/zindex/test/internal-vega-z-index-manager.test.js +0 -176
  866. package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +0 -46
  867. package/dist/collection/polyfill/d3/test/d3-array-polyfill.test.js +0 -72
  868. package/dist/collection/polyfill/d3/test/d3-axis-polyfill.test.js +0 -171
  869. package/dist/collection/polyfill/d3/test/d3-integration.test.js +0 -137
  870. package/dist/collection/polyfill/d3/test/d3-scale-polyfill.test.js +0 -382
  871. package/dist/collection/polyfill/d3/test/d3-selection-polyfill.test.js +0 -239
  872. package/dist/collection/polyfill/d3/test/d3-shape-polyfill.test.js +0 -225
  873. package/dist/collection/polyfill/d3/test/d3-time-format-polyfill.test.js +0 -162
  874. package/dist/collection/polyfill/d3/test/d3-time-polyfill.test.js +0 -76
  875. package/dist/collection/polyfill/d3/test/index.test.js +0 -78
  876. package/dist/collection/polyfill/libphonenumber/test/as-you-type.test.js +0 -309
  877. package/dist/collection/polyfill/libphonenumber/test/format-helpers.test.js +0 -192
  878. package/dist/collection/polyfill/libphonenumber/test/index.test.js +0 -16
  879. package/dist/collection/polyfill/libphonenumber/test/metadata.test.js +0 -196
  880. package/dist/collection/polyfill/libphonenumber/test/parse-phone-number.test.js +0 -218
  881. package/dist/collection/polyfill/libphonenumber/test/phone-number.test.js +0 -56
  882. package/dist/collection/polyfill/prism/test/css.test.js +0 -61
  883. package/dist/collection/polyfill/prism/test/javascript.test.js +0 -113
  884. package/dist/collection/polyfill/prism/test/jsx.test.js +0 -48
  885. package/dist/collection/polyfill/prism/test/language-registry.test.js +0 -77
  886. package/dist/collection/polyfill/prism/test/markup.test.js +0 -57
  887. package/dist/collection/polyfill/prism/test/test-utils.js +0 -22
  888. package/dist/collection/polyfill/prism/test/tokenizer.test.js +0 -180
  889. package/dist/collection/polyfill/prism/test/tsx.test.js +0 -87
  890. package/dist/collection/polyfill/prism/test/typescript.test.js +0 -86
  891. package/dist/collection/polyfill/shadow-selection/test/shadow-selection-polyfill.test.js +0 -234
  892. package/dist/collection/polyfill/test-polyfill/e2e/retry.js +0 -42
  893. package/dist/collection/polyfill/test-polyfill/unit/create-touch-event.js +0 -31
  894. package/dist/collection/polyfill/test-polyfill/unit/events.js +0 -100
  895. package/dist/collection/polyfill/test-polyfill/unit/index.js +0 -3
  896. package/dist/collection/polyfill/test-polyfill/unit/methods.js +0 -47
  897. package/dist/collection/polyfill/test-polyfill/unit/range.js +0 -15
  898. package/dist/collection/polyfill/test-polyfill/unit/shadow-selection.js +0 -17
  899. package/dist/collection/polyfill/tinycolor/tinycolor-polyfill.test.js +0 -361
  900. package/dist/collection/test-assets/test-icons.js +0 -5
  901. package/dist/collection/types/test/type-guard.test.js +0 -46
  902. package/dist/collection/utils/e2e-utils.js +0 -389
  903. package/dist/collection/utils/sanitize/test/empty-strategy.test.js +0 -12
  904. package/dist/collection/utils/sanitize/test/html-sanitizer.test.js +0 -57
  905. package/dist/collection/utils/sanitize/test/label-strategy.test.js +0 -56
  906. package/dist/collection/utils/sanitize/test/sanitize-strategy.test.js +0 -85
  907. package/dist/collection/utils/sanitize/test/sanitize.test.js +0 -22
  908. package/dist/collection/utils/sanitize/test/serialize-fragment.test.js +0 -25
  909. package/dist/collection/utils/sanitize/test/style-strategy.test.js +0 -45
  910. package/dist/collection/utils/spec-utils.js +0 -226
  911. package/dist/collection/utils/test/accessibility.test.js +0 -40
  912. package/dist/collection/utils/test/api.test.js +0 -34
  913. package/dist/collection/utils/test/array.test.js +0 -260
  914. package/dist/collection/utils/test/breakpoint.test.js +0 -37
  915. package/dist/collection/utils/test/component.test.js +0 -59
  916. package/dist/collection/utils/test/date.test.js +0 -104
  917. package/dist/collection/utils/test/design-token.test.js +0 -91
  918. package/dist/collection/utils/test/effect.test.js +0 -64
  919. package/dist/collection/utils/test/local-storage.test.js +0 -38
  920. package/dist/collection/utils/test/log.test.js +0 -49
  921. package/dist/collection/utils/test/misc.test.js +0 -40
  922. package/dist/collection/utils/test/number.test.js +0 -18
  923. package/dist/collection/utils/test/object.test.js +0 -77
  924. package/dist/collection/utils/test/pagination.test.js +0 -40
  925. package/dist/collection/utils/test/pixel.test.js +0 -29
  926. package/dist/collection/utils/test/safe-document.test.js +0 -13
  927. package/dist/collection/utils/test/spec-utils.test.js +0 -73
  928. package/dist/collection/utils/test/string.test.js +0 -8
  929. package/dist/collection/utils/test/test-utils.test.js +0 -70
  930. package/dist/collection/utils/test/timer.test.js +0 -16
  931. package/dist/collection/utils/test/ui.test.js +0 -301
  932. package/dist/collection/utils/test-utils.js +0 -156
  933. package/dist/esm/app-globals-776ccaa3.js +0 -428
  934. package/dist/esm/aria-dialog-focusable-trap-slimmer-cc98a7a4.js +0 -216
  935. package/dist/esm/child-nodes-notify-observer-slimmer-c7297b9f.js +0 -88
  936. package/dist/esm/code-block-58d1dbe5.js +0 -4395
  937. package/dist/esm/component-value-history-controller-slimmer.abstract-5beb8acb.js +0 -709
  938. package/dist/esm/content-state-dad1fd71.js +0 -4056
  939. package/dist/esm/date-required-rule-4c40a4eb.js +0 -90
  940. package/dist/esm/design-token-9c4eb6b1.js +0 -388
  941. package/dist/esm/dom-node-subject-observer-factory-94b2e2c3.js +0 -138
  942. package/dist/esm/element-appender-slimmer-fde815dc.js +0 -1972
  943. package/dist/esm/event-emit-slimmer-b236945b.js +0 -265
  944. package/dist/esm/form-field-controller-slimmer-00fa3678.js +0 -1264
  945. package/dist/esm/image-annotation-action-1ec7b461.js +0 -280
  946. package/dist/esm/inject-keyboard-manager-784b1364.js +0 -35
  947. package/dist/esm/keyboard-manager-e020039f.js +0 -138
  948. package/dist/esm/keyboard-manager-slimmer-4722d20c.js +0 -37
  949. package/dist/esm/month-view-generator-6fe1f491.js +0 -98
  950. package/dist/esm/public-rules-1626fb0d.js +0 -31
  951. package/dist/esm/range-4f9bf69d.js +0 -176
  952. package/dist/esm/responsive-format-facade-e8534e59.js +0 -940
  953. package/dist/esm/rich-text-editor-required-rule-c391aeb6.js +0 -62
  954. package/dist/esm/split-cell-operation-55cd9fae.js +0 -2360
  955. package/dist/esm/string-format-strategy.abstract-8c48e515.js +0 -58
  956. package/dist/esm/string-input-formatter-slimmer-519480ce.js +0 -228
  957. package/dist/esm/string-mask-strategy-8070817e.js +0 -170
  958. package/dist/esm/style-formatter-7afd0680.js +0 -32
  959. package/dist/esm/sub-state-notify-slimmer-54531808.js +0 -79
  960. package/dist/esm/sub-state-observer-slimmer-b3a773c5.js +0 -132
  961. package/dist/esm/time-required-rule-2569e5ad.js +0 -138
  962. package/dist/esm/token-extension-612575cb.js +0 -7417
  963. package/dist/esm/type-guard-c20cbbff.js +0 -1948
  964. package/dist/esm/ui-ac244bf0.js +0 -261
  965. package/dist/esm/valid-credit-card-number-rule-b9c3c2f8.js +0 -171
  966. package/dist/esm/vega-internal-event-id-8002b179.js +0 -72
  967. package/dist/esm/wait-for-component-did-render-1e62d6f7.js +0 -30
  968. package/dist/types/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.d.ts +0 -1
  969. package/dist/types/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.d.ts +0 -1
  970. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.d.ts +0 -1
  971. package/dist/types/components/vega-code-block/test/code-block-range.test.d.ts +0 -1
  972. package/dist/types/components/vega-dropdown/test/share.d.ts +0 -12
  973. package/dist/types/components/vega-input-credit-card/test/share.d.ts +0 -18
  974. package/dist/types/components/vega-nav/vega-left-nav/test/vega-left-nav-mock-data.d.ts +0 -4
  975. package/dist/types/components/vega-rich-text-editor/helpers/extension-context-manager.test.d.ts +0 -1
  976. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/action-handle-strategy-registry.test.d.ts +0 -1
  977. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-delete-node-content-strategy.test.d.ts +0 -1
  978. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-insert-line-break-with-blocks-strategy.test.d.ts +0 -1
  979. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/code-block-strategy-registry.test.d.ts +0 -1
  980. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/content-state-strategy-registry.test.d.ts +0 -1
  981. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-block-strategy-register.test.d.ts +0 -1
  982. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-set-annotation-map-strategy.test.d.ts +0 -1
  983. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-update-url-strategy.test.d.ts +0 -1
  984. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-block-strategy-register.test.d.ts +0 -1
  985. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-item-strategy-register.test.d.ts +0 -1
  986. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-split-text-strategy.test.d.ts +0 -1
  987. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-update-annotation-map-strategy.test.d.ts +0 -1
  988. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/text-block-strategy-register.test.d.ts +0 -1
  989. package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/update-selected-text-strategy.test.d.ts +0 -1
  990. package/dist/types/components/vega-rich-text-editor/test/dto/annotation-actions.test.d.ts +0 -1
  991. package/dist/types/components/vega-rich-text-editor/test/dto/annotation-style.test.d.ts +0 -1
  992. package/dist/types/components/vega-rich-text-editor/test/dto/annotations.test.d.ts +0 -1
  993. package/dist/types/components/vega-rich-text-editor/test/dto/blocks/code-block.test.d.ts +0 -1
  994. package/dist/types/components/vega-rich-text-editor/test/dto/blocks/html-block.test.d.ts +0 -1
  995. package/dist/types/components/vega-rich-text-editor/test/dto/blocks/image-block.test.d.ts +0 -1
  996. package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-block.test.d.ts +0 -1
  997. package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-item.test.d.ts +0 -1
  998. package/dist/types/components/vega-rich-text-editor/test/dto/blocks/text-block.test.d.ts +0 -1
  999. package/dist/types/components/vega-rich-text-editor/test/dto/content-state.test.d.ts +0 -1
  1000. package/dist/types/components/vega-rich-text-editor/test/dto/nodes/image-node.test.d.ts +0 -1
  1001. package/dist/types/components/vega-rich-text-editor/test/dto/nodes/text-node.test.d.ts +0 -1
  1002. package/dist/types/components/vega-rich-text-editor/test/dto/range.test.d.ts +0 -1
  1003. package/dist/types/components/vega-rich-text-editor/test/e2e-utils.d.ts +0 -67
  1004. package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/custom-attribute-annotation-handler.test.d.ts +0 -1
  1005. package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/element-to-text-node-strategy.test.d.ts +0 -1
  1006. package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/html-element-to-annotation-generator.test.d.ts +0 -1
  1007. package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/jira-code-to-rte-code-block-strategy.test.d.ts +0 -1
  1008. package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/vega-code-block-to-rte-code-block-strategy.test.d.ts +0 -1
  1009. package/dist/types/components/vega-rich-text-editor/test/extensions/extension-test-utils.d.ts +0 -21
  1010. package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/annotation-handler-registration.test.d.ts +0 -1
  1011. package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-annotation-handler.test.d.ts +0 -1
  1012. package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-cell-annotation-handler.test.d.ts +0 -8
  1013. package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-head-cell-annotation-handler.test.d.ts +0 -1
  1014. package/dist/types/components/vega-rich-text-editor/test/extensions/table/caption-operation.test.d.ts +0 -1
  1015. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-annotation.test.d.ts +0 -1
  1016. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-caption-annotations.test.d.ts +0 -1
  1017. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-cell-annotation.test.d.ts +0 -1
  1018. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-color-annotation.test.d.ts +0 -1
  1019. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-dto.test.d.ts +0 -1
  1020. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-element-to-dto-strategies.test.d.ts +0 -1
  1021. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-test-utils.d.ts +0 -11
  1022. package/dist/types/components/vega-rich-text-editor/test/filter-styles-strategies/filter-styles-strategy.test.d.ts +0 -1
  1023. package/dist/types/components/vega-rich-text-editor/test/fixture.d.ts +0 -19
  1024. package/dist/types/components/vega-rich-text-editor/test/html-cleaner/html-content-cleaner.test.d.ts +0 -1
  1025. package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-after-opening-tag-processor.test.d.ts +0 -1
  1026. package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-before-closing-tag-processor.test.d.ts +0 -1
  1027. package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-between-tags-processor.test.d.ts +0 -1
  1028. package/dist/types/components/vega-rich-text-editor/test/spec-utils.d.ts +0 -19
  1029. package/dist/types/components/vega-sidenav/test/test.helper.d.ts +0 -6
  1030. package/dist/types/components/vega-table/slimmers/controllers/dto/test/column-render-input-model.test.d.ts +0 -1
  1031. package/dist/types/components/vega-table/slimmers/controllers/dto/test/column-structure-model.test.d.ts +0 -1
  1032. package/dist/types/components/vega-table/test/utils.d.ts +0 -9
  1033. package/dist/types/components/vega-table/test/vega-table-sorter.test.d.ts +0 -1
  1034. package/dist/types/constants/tests/validator.test.d.ts +0 -1
  1035. package/dist/types/decorators/method-decorators/tests/component-load-required.test.d.ts +0 -1
  1036. package/dist/types/decorators/property-decorators/tests/inject-element-appender-proxy.test.d.ts +0 -1
  1037. package/dist/types/decorators/property-decorators/tests/inject-keyboard-manager.test.d.ts +0 -1
  1038. package/dist/types/global/tests/before-vega-load.test.d.ts +0 -1
  1039. package/dist/types/helpers/calendar/test/calendar-date-time.test.d.ts +0 -1
  1040. package/dist/types/helpers/calendar/test/calendar-date.test.d.ts +0 -1
  1041. package/dist/types/helpers/calendar/test/calendar-event.test.d.ts +0 -1
  1042. package/dist/types/helpers/calendar/test/calendar-period/day-period.test.d.ts +0 -1
  1043. package/dist/types/helpers/calendar/test/calendar-period/month-period.test.d.ts +0 -1
  1044. package/dist/types/helpers/calendar/test/calendar-period/week-period.test.d.ts +0 -1
  1045. package/dist/types/helpers/calendar/test/calendar-time.test.d.ts +0 -1
  1046. package/dist/types/helpers/calendar/test/calendar-view-generator/day-view-generator.test.d.ts +0 -1
  1047. package/dist/types/helpers/calendar/test/calendar-view-generator/month-view-generator.test.d.ts +0 -1
  1048. package/dist/types/helpers/calendar/test/calendar-view-generator/week-view-generator.test.d.ts +0 -1
  1049. package/dist/types/helpers/calendar/test/calendar-view.test.d.ts +0 -1
  1050. package/dist/types/helpers/calendar/test/index.test.d.ts +0 -1
  1051. package/dist/types/helpers/calendar/test/utils.test.d.ts +0 -1
  1052. package/dist/types/helpers/change-manager/test/change-manager.test.d.ts +0 -1
  1053. package/dist/types/helpers/change-manager/test/dom-node-subject-factory.test.d.ts +0 -1
  1054. package/dist/types/helpers/chart/test/controllers/chart-dimension-controller.test.d.ts +0 -1
  1055. package/dist/types/helpers/chart/test/drawers/arc-path-drawer.test.d.ts +0 -1
  1056. package/dist/types/helpers/chart/test/drawers/legend-drawer.test.d.ts +0 -1
  1057. package/dist/types/helpers/chart/test/drawers/line-drawer.test.d.ts +0 -1
  1058. package/dist/types/helpers/chart/test/drawers/path-drawer.test.d.ts +0 -1
  1059. package/dist/types/helpers/chart/test/drawers/rect-drawer.test.d.ts +0 -1
  1060. package/dist/types/helpers/chart/test/drawers/text-drawer.test.d.ts +0 -1
  1061. package/dist/types/helpers/chart/test/drawers/x-axis-drawer.test.d.ts +0 -1
  1062. package/dist/types/helpers/chart/test/drawers/y-axis-drawer.test.d.ts +0 -1
  1063. package/dist/types/helpers/chart/test/graph-context-factory.test.d.ts +0 -1
  1064. package/dist/types/helpers/chart/test/input-processors/format-time-positions-input-processor.test.d.ts +0 -1
  1065. package/dist/types/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.d.ts +0 -1
  1066. package/dist/types/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.d.ts +0 -1
  1067. package/dist/types/helpers/chart/test/input-processors/layout-input-processor.test.d.ts +0 -1
  1068. package/dist/types/helpers/chart/test/input-processors/line-path-input-processor.test.d.ts +0 -1
  1069. package/dist/types/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.d.ts +0 -1
  1070. package/dist/types/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.d.ts +0 -1
  1071. package/dist/types/helpers/chart/test/input-processors/sort-positions-input-processor.test.d.ts +0 -1
  1072. package/dist/types/helpers/chart/test/input-processors/x-axis-input-processor.test.d.ts +0 -1
  1073. package/dist/types/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.d.ts +0 -1
  1074. package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.d.ts +0 -1
  1075. package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.test.d.ts +0 -1
  1076. package/dist/types/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.d.ts +0 -1
  1077. package/dist/types/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.d.ts +0 -1
  1078. package/dist/types/helpers/chart/test/interactors/interactor-factory.test.d.ts +0 -1
  1079. package/dist/types/helpers/chart/test/interactors/svg-interactor.test.d.ts +0 -1
  1080. package/dist/types/helpers/chart/test/line-chart.test.d.ts +0 -1
  1081. package/dist/types/helpers/chart/test/pie-chart.test.d.ts +0 -1
  1082. package/dist/types/helpers/chart/test/renderers/canvas-renderer.test.d.ts +0 -1
  1083. package/dist/types/helpers/chart/test/renderers/renderer-factory.test.d.ts +0 -1
  1084. package/dist/types/helpers/chart/test/renderers/svg-renderer.test.d.ts +0 -1
  1085. package/dist/types/helpers/code-format/test/code-formatter.test.d.ts +0 -1
  1086. package/dist/types/helpers/common/test/common.test.d.ts +0 -1
  1087. package/dist/types/helpers/common/test/wait-for-component-did-render.test.d.ts +0 -1
  1088. package/dist/types/helpers/common/test/wait-for-vega-handler.test.d.ts +0 -1
  1089. package/dist/types/helpers/csp/test/styles-preservator.test.d.ts +0 -1
  1090. package/dist/types/helpers/csp/test/vega-nonce-manager.test.d.ts +0 -1
  1091. package/dist/types/helpers/dialog/test/vega-dialog-controller.test.d.ts +0 -1
  1092. package/dist/types/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.d.ts +0 -1
  1093. package/dist/types/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.d.ts +0 -1
  1094. package/dist/types/helpers/event-manager/test/component-event-id-map.test.d.ts +0 -1
  1095. package/dist/types/helpers/event-manager/test/event-emit-slimmer.test.d.ts +0 -1
  1096. package/dist/types/helpers/event-manager/test/internal-vega-event-manager.test.d.ts +0 -1
  1097. package/dist/types/helpers/event-manager/test/jquery-delegated-strategy-controller.test.d.ts +0 -1
  1098. package/dist/types/helpers/event-manager/test/vega-event-id.test.d.ts +0 -1
  1099. package/dist/types/helpers/event-manager/test/vega-event-manager.test.d.ts +0 -1
  1100. package/dist/types/helpers/feature-control/tests/feature-flag-controller.test.d.ts +0 -1
  1101. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.d.ts +0 -1
  1102. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-style-formatter.test.d.ts +0 -1
  1103. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.d.ts +0 -1
  1104. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.d.ts +0 -1
  1105. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.d.ts +0 -1
  1106. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.d.ts +0 -1
  1107. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.d.ts +0 -1
  1108. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.d.ts +0 -1
  1109. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.d.ts +0 -1
  1110. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.d.ts +0 -1
  1111. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-justify-items-formatter.test.d.ts +0 -1
  1112. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.d.ts +0 -1
  1113. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.d.ts +0 -1
  1114. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-style-formatter.test.d.ts +0 -1
  1115. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.d.ts +0 -1
  1116. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-style-formatter.test.d.ts +0 -1
  1117. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.d.ts +0 -1
  1118. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.d.ts +0 -1
  1119. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.d.ts +0 -1
  1120. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.d.ts +0 -1
  1121. package/dist/types/helpers/formatter/test/state-formatter/state-background-color-formatter.test.d.ts +0 -1
  1122. package/dist/types/helpers/formatter/test/state-formatter/state-border-color-formatter.test.d.ts +0 -1
  1123. package/dist/types/helpers/formatter/test/state-formatter/state-border-formatter.test.d.ts +0 -1
  1124. package/dist/types/helpers/formatter/test/state-formatter/state-format-facade.test.d.ts +0 -1
  1125. package/dist/types/helpers/formatter/test/state-formatter/state-shadow-formatter.test.d.ts +0 -1
  1126. package/dist/types/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.d.ts +0 -1
  1127. package/dist/types/helpers/formatter/test/string-formatter/number-mask-strategy.test.d.ts +0 -1
  1128. package/dist/types/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.d.ts +0 -1
  1129. package/dist/types/helpers/formatter/test/string-formatter/string-mask-strategy.test.d.ts +0 -1
  1130. package/dist/types/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.d.ts +0 -1
  1131. package/dist/types/helpers/formatter/test/string-formatter/vega-phone-number-input-strategy.test.d.ts +0 -1
  1132. package/dist/types/helpers/formatter/test/style-formatter.test.d.ts +0 -1
  1133. package/dist/types/helpers/icon/test/icon-manager-controller.test.d.ts +0 -1
  1134. package/dist/types/helpers/icon/test/internal-icon-manager.test.d.ts +0 -1
  1135. package/dist/types/helpers/immutable/test/immutable-array.test.d.ts +0 -1
  1136. package/dist/types/helpers/immutable/test/immutable-map.test.d.ts +0 -1
  1137. package/dist/types/helpers/immutable/test/immutable-set.test.d.ts +0 -1
  1138. package/dist/types/helpers/keyboard/test/keyboard-manager.test.d.ts +0 -1
  1139. package/dist/types/helpers/level-tracker/test/nested-level-tracker.test.d.ts +0 -1
  1140. package/dist/types/helpers/loading-indicator/tests/vega-loader-controller.test.d.ts +0 -1
  1141. package/dist/types/helpers/notify/tests/vega-notify-controller.test.d.ts +0 -1
  1142. package/dist/types/helpers/paginator/test/value-paginator.test.d.ts +0 -1
  1143. package/dist/types/helpers/queue/test/synchronize-task-queue.test.d.ts +0 -1
  1144. package/dist/types/helpers/remote-invocation/remote-invocation-registry.test.d.ts +0 -1
  1145. package/dist/types/helpers/rte-manager/rte.manager.test.d.ts +0 -1
  1146. package/dist/types/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.d.ts +0 -1
  1147. package/dist/types/helpers/slimmers/element-appender/body-positioned-wrapper/test/vega-popover-wrapper.test.d.ts +0 -1
  1148. package/dist/types/helpers/slimmers/element-appender/test/element-appender-slimmer.test.d.ts +0 -1
  1149. package/dist/types/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.d.ts +0 -1
  1150. package/dist/types/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.d.ts +0 -1
  1151. package/dist/types/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.d.ts +0 -1
  1152. package/dist/types/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.d.ts +0 -15
  1153. package/dist/types/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.d.ts +0 -1
  1154. package/dist/types/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.d.ts +0 -1
  1155. package/dist/types/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.d.ts +0 -1
  1156. package/dist/types/helpers/slimmers/test/aria-dialog-focusable-trap-slimmer.test.d.ts +0 -1
  1157. package/dist/types/helpers/slimmers/test/auto-run-when-re-render-task-queue-slimmer.test.d.ts +0 -1
  1158. package/dist/types/helpers/slimmers/test/brand-switch-state-controller-slimmer.test.d.ts +0 -1
  1159. package/dist/types/helpers/slimmers/test/component-global-style-slimmer.test.d.ts +0 -1
  1160. package/dist/types/helpers/slimmers/test/component-usage-runtime-metrics.test.d.ts +0 -1
  1161. package/dist/types/helpers/slimmers/test/dark-mode-state-controller.test.d.ts +0 -1
  1162. package/dist/types/helpers/slimmers/test/deprecated-property-slimmer.test.d.ts +0 -1
  1163. package/dist/types/helpers/slimmers/test/field-error-controller-slimmer.test.d.ts +0 -1
  1164. package/dist/types/helpers/slimmers/test/form-field-controller-slimmer.test.d.ts +0 -1
  1165. package/dist/types/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.d.ts +0 -1
  1166. package/dist/types/helpers/slimmers/test/global/vega-nonce-injector-slimmer.test.d.ts +0 -1
  1167. package/dist/types/helpers/slimmers/test/global/vega-translate-observer-slimmer.test.d.ts +0 -1
  1168. package/dist/types/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.d.ts +0 -1
  1169. package/dist/types/helpers/slimmers/test/keyboard-manager-slimmer.test.d.ts +0 -1
  1170. package/dist/types/helpers/slimmers/test/page-resize-observer-slimmer.test.d.ts +0 -1
  1171. package/dist/types/helpers/slimmers/test/string-input-formatter-slimmer.test.d.ts +0 -1
  1172. package/dist/types/helpers/slimmers/test/translation-slimmer.test.d.ts +0 -1
  1173. package/dist/types/helpers/theme/tests/theme-manager-controller.test.d.ts +0 -1
  1174. package/dist/types/helpers/touch-helper/test/touch-listener.test.d.ts +0 -1
  1175. package/dist/types/helpers/translation/tests/internal-translation-controller.test.d.ts +0 -1
  1176. package/dist/types/helpers/translation/tests/translation.test.d.ts +0 -1
  1177. package/dist/types/helpers/ui/test/element-appender.test.d.ts +0 -1
  1178. package/dist/types/helpers/validator/test/rules/check-box-required-rule.test.d.ts +0 -1
  1179. package/dist/types/helpers/validator/test/rules/custom-validation-rule.test.d.ts +0 -1
  1180. package/dist/types/helpers/validator/test/rules/date-range-rule.test.d.ts +0 -1
  1181. package/dist/types/helpers/validator/test/rules/date-required-rule.test.d.ts +0 -1
  1182. package/dist/types/helpers/validator/test/rules/email-field-rule.test.d.ts +0 -1
  1183. package/dist/types/helpers/validator/test/rules/file-uploader-required-rule.test.d.ts +0 -1
  1184. package/dist/types/helpers/validator/test/rules/input-phone-number-required-rule.test.d.ts +0 -1
  1185. package/dist/types/helpers/validator/test/rules/input-range-min-and-max-rule.test.d.ts +0 -1
  1186. package/dist/types/helpers/validator/test/rules/input-range-required-rule.test.d.ts +0 -1
  1187. package/dist/types/helpers/validator/test/rules/input-select-value-in-source-rule.test.d.ts +0 -1
  1188. package/dist/types/helpers/validator/test/rules/max-number-rule.test.d.ts +0 -1
  1189. package/dist/types/helpers/validator/test/rules/max-string-length-rule.test.d.ts +0 -1
  1190. package/dist/types/helpers/validator/test/rules/min-and-max-date-rule.test.d.ts +0 -1
  1191. package/dist/types/helpers/validator/test/rules/min-number-rule.test.d.ts +0 -1
  1192. package/dist/types/helpers/validator/test/rules/min-string-length-rule.test.d.ts +0 -1
  1193. package/dist/types/helpers/validator/test/rules/public-rules.test.d.ts +0 -1
  1194. package/dist/types/helpers/validator/test/rules/required-field-rule.test.d.ts +0 -1
  1195. package/dist/types/helpers/validator/test/rules/rich-text-editor-required-rule.test.d.ts +0 -1
  1196. package/dist/types/helpers/validator/test/rules/time-range-required-rule.test.d.ts +0 -1
  1197. package/dist/types/helpers/validator/test/rules/time-range-rule.test.d.ts +0 -1
  1198. package/dist/types/helpers/validator/test/rules/time-required-rule.test.d.ts +0 -1
  1199. package/dist/types/helpers/validator/test/rules/toggle-switch-required-rule.test.d.ts +0 -1
  1200. package/dist/types/helpers/validator/test/rules/valid-credit-card-number-rule.test.d.ts +0 -1
  1201. package/dist/types/helpers/validator/test/rules/valid-phone-number-rule.test.d.ts +0 -1
  1202. package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.d.ts +0 -1
  1203. package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.d.ts +0 -1
  1204. package/dist/types/helpers/validator/test/validator/form-field-controller.test.d.ts +0 -1
  1205. package/dist/types/helpers/vega-telemetry-helper/test/vega-env-manager.test.d.ts +0 -1
  1206. package/dist/types/helpers/zindex/test/internal-vega-z-index-manager.test.d.ts +0 -1
  1207. package/dist/types/helpers/zindex/test/vega-z-index-manager.test.d.ts +0 -1
  1208. package/dist/types/polyfill/d3/test/d3-array-polyfill.test.d.ts +0 -1
  1209. package/dist/types/polyfill/d3/test/d3-axis-polyfill.test.d.ts +0 -1
  1210. package/dist/types/polyfill/d3/test/d3-integration.test.d.ts +0 -1
  1211. package/dist/types/polyfill/d3/test/d3-scale-polyfill.test.d.ts +0 -1
  1212. package/dist/types/polyfill/d3/test/d3-selection-polyfill.test.d.ts +0 -1
  1213. package/dist/types/polyfill/d3/test/d3-shape-polyfill.test.d.ts +0 -1
  1214. package/dist/types/polyfill/d3/test/d3-time-format-polyfill.test.d.ts +0 -1
  1215. package/dist/types/polyfill/d3/test/d3-time-polyfill.test.d.ts +0 -1
  1216. package/dist/types/polyfill/d3/test/index.test.d.ts +0 -1
  1217. package/dist/types/polyfill/libphonenumber/test/as-you-type.test.d.ts +0 -1
  1218. package/dist/types/polyfill/libphonenumber/test/format-helpers.test.d.ts +0 -1
  1219. package/dist/types/polyfill/libphonenumber/test/index.test.d.ts +0 -1
  1220. package/dist/types/polyfill/libphonenumber/test/metadata.test.d.ts +0 -1
  1221. package/dist/types/polyfill/libphonenumber/test/parse-phone-number.test.d.ts +0 -1
  1222. package/dist/types/polyfill/libphonenumber/test/phone-number.test.d.ts +0 -1
  1223. package/dist/types/polyfill/prism/test/css.test.d.ts +0 -1
  1224. package/dist/types/polyfill/prism/test/javascript.test.d.ts +0 -1
  1225. package/dist/types/polyfill/prism/test/jsx.test.d.ts +0 -1
  1226. package/dist/types/polyfill/prism/test/language-registry.test.d.ts +0 -1
  1227. package/dist/types/polyfill/prism/test/markup.test.d.ts +0 -1
  1228. package/dist/types/polyfill/prism/test/test-utils.d.ts +0 -10
  1229. package/dist/types/polyfill/prism/test/tokenizer.test.d.ts +0 -1
  1230. package/dist/types/polyfill/prism/test/tsx.test.d.ts +0 -1
  1231. package/dist/types/polyfill/prism/test/typescript.test.d.ts +0 -1
  1232. package/dist/types/polyfill/shadow-selection/test/shadow-selection-polyfill.test.d.ts +0 -0
  1233. package/dist/types/polyfill/test-polyfill/e2e/retry.d.ts +0 -8
  1234. package/dist/types/polyfill/test-polyfill/unit/create-touch-event.d.ts +0 -11
  1235. package/dist/types/polyfill/test-polyfill/unit/events.d.ts +0 -1
  1236. package/dist/types/polyfill/test-polyfill/unit/index.d.ts +0 -3
  1237. package/dist/types/polyfill/test-polyfill/unit/methods.d.ts +0 -1
  1238. package/dist/types/polyfill/test-polyfill/unit/range.d.ts +0 -7
  1239. package/dist/types/polyfill/test-polyfill/unit/shadow-selection.d.ts +0 -0
  1240. package/dist/types/polyfill/tinycolor/tinycolor-polyfill.test.d.ts +0 -1
  1241. package/dist/types/test-assets/test-icons.d.ts +0 -4
  1242. package/dist/types/types/test/type-guard.test.d.ts +0 -1
  1243. package/dist/types/utils/e2e-utils.d.ts +0 -160
  1244. package/dist/types/utils/sanitize/test/empty-strategy.test.d.ts +0 -1
  1245. package/dist/types/utils/sanitize/test/html-sanitizer.test.d.ts +0 -1
  1246. package/dist/types/utils/sanitize/test/label-strategy.test.d.ts +0 -1
  1247. package/dist/types/utils/sanitize/test/sanitize-strategy.test.d.ts +0 -1
  1248. package/dist/types/utils/sanitize/test/sanitize.test.d.ts +0 -1
  1249. package/dist/types/utils/sanitize/test/serialize-fragment.test.d.ts +0 -1
  1250. package/dist/types/utils/sanitize/test/style-strategy.test.d.ts +0 -1
  1251. package/dist/types/utils/spec-utils.d.ts +0 -109
  1252. package/dist/types/utils/test/accessibility.test.d.ts +0 -1
  1253. package/dist/types/utils/test/api.test.d.ts +0 -1
  1254. package/dist/types/utils/test/array.test.d.ts +0 -1
  1255. package/dist/types/utils/test/breakpoint.test.d.ts +0 -1
  1256. package/dist/types/utils/test/component.test.d.ts +0 -1
  1257. package/dist/types/utils/test/date.test.d.ts +0 -1
  1258. package/dist/types/utils/test/design-token.test.d.ts +0 -1
  1259. package/dist/types/utils/test/effect.test.d.ts +0 -1
  1260. package/dist/types/utils/test/local-storage.test.d.ts +0 -1
  1261. package/dist/types/utils/test/log.test.d.ts +0 -1
  1262. package/dist/types/utils/test/misc.test.d.ts +0 -1
  1263. package/dist/types/utils/test/number.test.d.ts +0 -1
  1264. package/dist/types/utils/test/object.test.d.ts +0 -1
  1265. package/dist/types/utils/test/pagination.test.d.ts +0 -1
  1266. package/dist/types/utils/test/pixel.test.d.ts +0 -1
  1267. package/dist/types/utils/test/safe-document.test.d.ts +0 -1
  1268. package/dist/types/utils/test/spec-utils.test.d.ts +0 -1
  1269. package/dist/types/utils/test/string.test.d.ts +0 -1
  1270. package/dist/types/utils/test/test-utils.test.d.ts +0 -1
  1271. package/dist/types/utils/test/timer.test.d.ts +0 -1
  1272. package/dist/types/utils/test/ui.test.d.ts +0 -1
  1273. package/dist/types/utils/test-utils.d.ts +0 -61
  1274. package/dist/vega/p-02bab5ea.entry.js +0 -1
  1275. package/dist/vega/p-02fec68b.entry.js +0 -1
  1276. package/dist/vega/p-04f9b0d4.entry.js +0 -1
  1277. package/dist/vega/p-076c6445.entry.js +0 -1
  1278. package/dist/vega/p-085d45c9.js +0 -1
  1279. package/dist/vega/p-0ac91609.entry.js +0 -1
  1280. package/dist/vega/p-10e9438e.js +0 -1
  1281. package/dist/vega/p-14dfdba3.entry.js +0 -1
  1282. package/dist/vega/p-1665d4b8.entry.js +0 -1
  1283. package/dist/vega/p-1784724a.entry.js +0 -1
  1284. package/dist/vega/p-18378017.entry.js +0 -1
  1285. package/dist/vega/p-19adff1f.entry.js +0 -1
  1286. package/dist/vega/p-20981b17.entry.js +0 -1
  1287. package/dist/vega/p-2697b52b.js +0 -1
  1288. package/dist/vega/p-28c8ffb4.js +0 -1
  1289. package/dist/vega/p-28ed34b3.entry.js +0 -1
  1290. package/dist/vega/p-2bbbdf87.entry.js +0 -1
  1291. package/dist/vega/p-2fd266fa.js +0 -1
  1292. package/dist/vega/p-31945d6c.js +0 -1
  1293. package/dist/vega/p-32a0eed4.entry.js +0 -1
  1294. package/dist/vega/p-33475bcf.entry.js +0 -1
  1295. package/dist/vega/p-33cacbd6.entry.js +0 -1
  1296. package/dist/vega/p-3a0b3fed.entry.js +0 -1
  1297. package/dist/vega/p-405ab757.js +0 -1
  1298. package/dist/vega/p-4068e7de.js +0 -1
  1299. package/dist/vega/p-408a1baa.entry.js +0 -1
  1300. package/dist/vega/p-439c7c13.entry.js +0 -1
  1301. package/dist/vega/p-441fd2b3.entry.js +0 -1
  1302. package/dist/vega/p-46c7763f.entry.js +0 -1
  1303. package/dist/vega/p-4a9be903.js +0 -1
  1304. package/dist/vega/p-4e15958f.js +0 -1
  1305. package/dist/vega/p-4e76a84d.entry.js +0 -1
  1306. package/dist/vega/p-4ea3cf5f.entry.js +0 -1
  1307. package/dist/vega/p-5395faac.entry.js +0 -1
  1308. package/dist/vega/p-541ae774.entry.js +0 -1
  1309. package/dist/vega/p-558a707e.entry.js +0 -1
  1310. package/dist/vega/p-561e9097.entry.js +0 -1
  1311. package/dist/vega/p-5b90bbfe.js +0 -1
  1312. package/dist/vega/p-5d397ee0.entry.js +0 -1
  1313. package/dist/vega/p-5dfd36d3.entry.js +0 -1
  1314. package/dist/vega/p-603b851c.js +0 -1
  1315. package/dist/vega/p-615bc3de.entry.js +0 -1
  1316. package/dist/vega/p-6554a801.js +0 -1
  1317. package/dist/vega/p-667d5b80.entry.js +0 -1
  1318. package/dist/vega/p-679a4046.entry.js +0 -1
  1319. package/dist/vega/p-6b19d33a.entry.js +0 -1
  1320. package/dist/vega/p-6d6ea8b4.js +0 -1
  1321. package/dist/vega/p-6db0556d.js +0 -1
  1322. package/dist/vega/p-6e05fc55.js +0 -1
  1323. package/dist/vega/p-6e13e2fc.js +0 -1
  1324. package/dist/vega/p-71720290.entry.js +0 -1
  1325. package/dist/vega/p-76f2e0f5.js +0 -1
  1326. package/dist/vega/p-79df30e3.entry.js +0 -1
  1327. package/dist/vega/p-7f68abf7.js +0 -1
  1328. package/dist/vega/p-814c37be.entry.js +0 -1
  1329. package/dist/vega/p-820906b8.entry.js +0 -1
  1330. package/dist/vega/p-833b79ad.entry.js +0 -1
  1331. package/dist/vega/p-8b891f36.entry.js +0 -1
  1332. package/dist/vega/p-8cd70b3b.js +0 -1
  1333. package/dist/vega/p-8f88fb57.js +0 -1
  1334. package/dist/vega/p-905cf163.entry.js +0 -1
  1335. package/dist/vega/p-916ef5dd.entry.js +0 -1
  1336. package/dist/vega/p-937d5317.entry.js +0 -1
  1337. package/dist/vega/p-972c594b.entry.js +0 -1
  1338. package/dist/vega/p-9e6e76b2.entry.js +0 -1
  1339. package/dist/vega/p-a01ef160.entry.js +0 -1
  1340. package/dist/vega/p-a02f77c7.js +0 -1
  1341. package/dist/vega/p-a0a39ec3.js +0 -1
  1342. package/dist/vega/p-a2161e9d.js +0 -1
  1343. package/dist/vega/p-a5543b6a.entry.js +0 -1
  1344. package/dist/vega/p-a6ad6515.entry.js +0 -1
  1345. package/dist/vega/p-a6fb81c5.js +0 -1
  1346. package/dist/vega/p-ace7aa6c.entry.js +0 -1
  1347. package/dist/vega/p-b15a2d4b.js +0 -1
  1348. package/dist/vega/p-b4d72eff.entry.js +0 -1
  1349. package/dist/vega/p-b589cafd.entry.js +0 -1
  1350. package/dist/vega/p-b67672ae.entry.js +0 -1
  1351. package/dist/vega/p-b7dd3ef2.entry.js +0 -1
  1352. package/dist/vega/p-b91aff06.entry.js +0 -1
  1353. package/dist/vega/p-bc142c5c.entry.js +0 -1
  1354. package/dist/vega/p-c58c3e7e.entry.js +0 -1
  1355. package/dist/vega/p-c962cf5b.js +0 -1
  1356. package/dist/vega/p-cb0324e7.entry.js +0 -1
  1357. package/dist/vega/p-d5a8bb62.entry.js +0 -1
  1358. package/dist/vega/p-d6875e49.js +0 -1
  1359. package/dist/vega/p-d862195c.entry.js +0 -1
  1360. package/dist/vega/p-d94d785a.entry.js +0 -1
  1361. package/dist/vega/p-db29681a.entry.js +0 -1
  1362. package/dist/vega/p-dba91c23.entry.js +0 -1
  1363. package/dist/vega/p-dccda3d1.js +0 -1
  1364. package/dist/vega/p-dce9349e.js +0 -1
  1365. package/dist/vega/p-dd4c3d9b.entry.js +0 -1
  1366. package/dist/vega/p-e2268eef.js +0 -1
  1367. package/dist/vega/p-e5da9f66.js +0 -1
  1368. package/dist/vega/p-f7505267.js +0 -1
  1369. package/dist/vega/p-fadeb5a2.entry.js +0 -1
  1370. package/dist/vega/p-fb92092b.entry.js +0 -1
  1371. package/dist/vega/p-fc3d6d9d.js +0 -1
  1372. package/dist/vega/p-fc93b467.entry.js +0 -1
  1373. package/dist/vega/p-fef22245.js +0 -1
@@ -1,1094 +0,0 @@
1
- import '../../../dto/setup';
2
- import { VegaRTETableExtension } from '../../../extensions/table/table-extension';
3
- import { RTETableBlock } from '../../../extensions/table/dto/table-block';
4
- import { RTETableBodyBlock } from '../../../extensions/table/dto/table-body-block';
5
- import { RTETableHeadBlock } from '../../../extensions/table/dto/table-head-block';
6
- import { RTETableHeadCellBlock } from '../../../extensions/table/dto/table-head-cell-block';
7
- import { RTETableRowBlock } from '../../../extensions/table/dto/table-row-block';
8
- import { RTETableCellBlock } from '../../../extensions/table/dto/table-cell-block';
9
- import { RTETableCaptionBlock, } from '../../../extensions/table/dto/table-caption-block';
10
- import { RTETableAnnotation, RTETableExtensionAnnotationTypeEnum, } from '../../../extensions/table/annotations/table-annotation';
11
- import { RTETableCellAnnotation } from '../../../extensions/table/annotations/table-cell-annotation';
12
- import { RTETableHeadCellAnnotation } from '../../../extensions/table/annotations/table-head-cell-annotation';
13
- describe('dto', () => {
14
- const tableObj = {
15
- id: '1764771896966',
16
- type: 'table-block',
17
- annotations: {
18
- table: {
19
- alignment: 'center',
20
- borderCollapse: 'collapse',
21
- },
22
- },
23
- children: [
24
- {
25
- id: '1764771904874',
26
- type: 'table-head',
27
- children: [
28
- {
29
- id: '1764771904632',
30
- type: 'table-row',
31
- children: [
32
- {
33
- id: '1764771898285',
34
- type: 'table-head-cell',
35
- annotations: {
36
- tableCell: {
37
- border: {
38
- color: '#ddd',
39
- style: 'solid',
40
- width: '1px',
41
- },
42
- padding: '12px',
43
- textAlign: 'left',
44
- verticalAlign: 'middle',
45
- minWidth: '55px',
46
- boxSizing: 'border-box',
47
- },
48
- },
49
- children: [
50
- {
51
- id: '1764771904876',
52
- annotations: {
53
- textStyle: 'paragraph',
54
- internalWrapper: true,
55
- },
56
- type: 'paragraph',
57
- nodes: [
58
- {
59
- id: '1764771904525',
60
- annotations: {
61
- plainText: true,
62
- },
63
- type: 'text',
64
- text: '',
65
- },
66
- ],
67
- },
68
- ],
69
- },
70
- {
71
- id: '1764771899530',
72
- type: 'table-head-cell',
73
- annotations: {
74
- tableCell: {
75
- border: {
76
- color: '#ddd',
77
- style: 'solid',
78
- width: '1px',
79
- },
80
- padding: '12px',
81
- textAlign: 'left',
82
- verticalAlign: 'middle',
83
- minWidth: '55px',
84
- boxSizing: 'border-box',
85
- },
86
- },
87
- children: [
88
- {
89
- id: '1764771896940',
90
- annotations: {
91
- textStyle: 'paragraph',
92
- internalWrapper: true,
93
- },
94
- type: 'paragraph',
95
- nodes: [
96
- {
97
- id: '1764771903833',
98
- annotations: {
99
- plainText: true,
100
- },
101
- type: 'text',
102
- text: '',
103
- },
104
- ],
105
- },
106
- ],
107
- },
108
- ],
109
- },
110
- ],
111
- },
112
- {
113
- id: '1764771903981',
114
- type: 'table-body',
115
- children: [
116
- {
117
- id: '1764771905293',
118
- type: 'table-row',
119
- children: [
120
- {
121
- id: '1764771897032',
122
- type: 'table-cell',
123
- annotations: {
124
- tableCell: {
125
- border: {
126
- color: '#ddd',
127
- style: 'solid',
128
- width: '1px',
129
- },
130
- padding: '12px',
131
- textAlign: 'left',
132
- verticalAlign: 'middle',
133
- minWidth: '55px',
134
- boxSizing: 'border-box',
135
- },
136
- },
137
- children: [
138
- {
139
- id: '1764771897783',
140
- annotations: {
141
- textStyle: 'paragraph',
142
- internalWrapper: true,
143
- },
144
- type: 'paragraph',
145
- nodes: [
146
- {
147
- id: '1764771906044',
148
- annotations: {
149
- plainText: true,
150
- },
151
- type: 'text',
152
- text: '',
153
- },
154
- ],
155
- },
156
- ],
157
- },
158
- {
159
- id: '1764771905790',
160
- type: 'table-cell',
161
- annotations: {
162
- tableCell: {
163
- border: {
164
- color: '#ddd',
165
- style: 'solid',
166
- width: '1px',
167
- },
168
- padding: '12px',
169
- textAlign: 'left',
170
- verticalAlign: 'middle',
171
- minWidth: '55px',
172
- boxSizing: 'border-box',
173
- },
174
- },
175
- children: [
176
- {
177
- id: '1764771904845',
178
- annotations: {
179
- textStyle: 'paragraph',
180
- internalWrapper: true,
181
- },
182
- type: 'paragraph',
183
- nodes: [
184
- {
185
- id: '1764771904578',
186
- annotations: {
187
- plainText: true,
188
- },
189
- type: 'text',
190
- text: '',
191
- },
192
- ],
193
- },
194
- ],
195
- },
196
- ],
197
- },
198
- {
199
- id: '1764771904130',
200
- type: 'table-row',
201
- children: [
202
- {
203
- id: '1764771903073',
204
- type: 'table-cell',
205
- annotations: {
206
- tableCell: {
207
- border: {
208
- color: '#ddd',
209
- style: 'solid',
210
- width: '1px',
211
- },
212
- padding: '12px',
213
- textAlign: 'left',
214
- verticalAlign: 'middle',
215
- minWidth: '55px',
216
- boxSizing: 'border-box',
217
- },
218
- },
219
- children: [
220
- {
221
- id: '1764771904171',
222
- annotations: {
223
- textStyle: 'paragraph',
224
- internalWrapper: true,
225
- },
226
- type: 'paragraph',
227
- nodes: [
228
- {
229
- id: '1764771905692',
230
- annotations: {
231
- plainText: true,
232
- },
233
- type: 'text',
234
- text: '',
235
- },
236
- ],
237
- },
238
- ],
239
- },
240
- {
241
- id: '1764771897331',
242
- type: 'table-cell',
243
- annotations: {
244
- tableCell: {
245
- border: {
246
- color: '#ddd',
247
- style: 'solid',
248
- width: '1px',
249
- },
250
- padding: '12px',
251
- textAlign: 'left',
252
- verticalAlign: 'middle',
253
- minWidth: '55px',
254
- boxSizing: 'border-box',
255
- },
256
- },
257
- children: [
258
- {
259
- id: '1764771905732',
260
- annotations: {
261
- textStyle: 'paragraph',
262
- internalWrapper: true,
263
- },
264
- type: 'paragraph',
265
- nodes: [
266
- {
267
- id: '1764771903305',
268
- annotations: {
269
- plainText: true,
270
- },
271
- type: 'text',
272
- text: '',
273
- },
274
- ],
275
- },
276
- ],
277
- },
278
- ],
279
- },
280
- ],
281
- },
282
- ],
283
- };
284
- let tableBlock;
285
- beforeAll(() => {
286
- new VegaRTETableExtension().initialExtension(null);
287
- });
288
- beforeEach(() => {
289
- tableBlock = RTETableBlock.from(tableObj);
290
- });
291
- describe('table-block', () => {
292
- it('toJSON', () => {
293
- expect(tableBlock.toJSON()).toEqual(tableObj);
294
- });
295
- it('clone', () => {
296
- const cloned = tableBlock.clone(undefined);
297
- expect(cloned).toEqual(tableBlock);
298
- expect(cloned).not.toBe(tableBlock);
299
- });
300
- it('isNotEmpty', () => {
301
- expect(tableBlock.isNotEmpty()).toBe(true);
302
- });
303
- it('toHtml', () => {
304
- const html = tableBlock.toHtml();
305
- expect(html).toEqualHtml(`
306
- <table style="border-collapse: collapse; margin: 0 auto;">
307
- <thead>
308
- <tr>
309
- <th style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box; background-color: #F0F3F7;">
310
- <p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;"></p>
311
- </th>
312
- <th style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box; background-color: #F0F3F7;">
313
- <p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;"></p>
314
- </th>
315
- </tr>
316
- </thead>
317
- <tbody>
318
- <tr>
319
- <td style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box;">
320
- <p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;"></p>
321
- </td>
322
- <td style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box;">
323
- <p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;"></p>
324
- </td>
325
- </tr>
326
- <tr>
327
- <td style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box;">
328
- <p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;"></p>
329
- </td>
330
- <td style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box;">
331
- <p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;"></p>
332
- </td>
333
- </tr>
334
- </tbody>
335
- </table>
336
- `);
337
- });
338
- it('getLastNode', () => {
339
- expect(tableBlock.getLastNode().toJSON()).toEqual({
340
- id: '1764771903305',
341
- annotations: {
342
- plainText: true,
343
- },
344
- type: 'text',
345
- text: '',
346
- });
347
- });
348
- it('getFirstNode should return first cell last node when no caption', () => {
349
- expect(tableBlock.getFirstNode().toJSON()).toEqual({
350
- id: '1764771904525',
351
- annotations: {
352
- plainText: true,
353
- },
354
- type: 'text',
355
- text: '',
356
- });
357
- });
358
- it('getFirstNode should return caption last node when caption exists', () => {
359
- const tableWithCaption = Object.assign(Object.assign({}, tableObj), { children: [
360
- {
361
- id: 'caption-1',
362
- type: 'table-caption',
363
- children: [
364
- {
365
- id: 'paragraph-1',
366
- type: 'paragraph',
367
- nodes: [
368
- {
369
- id: 'text-1',
370
- type: 'text',
371
- text: 'Caption text',
372
- },
373
- ],
374
- },
375
- ],
376
- },
377
- ...tableObj.children,
378
- ] });
379
- const tableBlockWithCaption = RTETableBlock.from(tableWithCaption);
380
- expect(tableBlockWithCaption.getFirstNode().toJSON()).toEqual(expect.objectContaining({
381
- type: 'text',
382
- text: 'Caption text',
383
- }));
384
- });
385
- });
386
- describe('table-body-block', () => {
387
- let tableBodyBlock;
388
- beforeAll(() => {
389
- tableBodyBlock = tableBlock.children.find((child) => child.type === 'table-body');
390
- });
391
- it('isNotEmpty', () => {
392
- expect(RTETableBodyBlock.from({
393
- id: '1',
394
- type: 'table-body',
395
- children: [],
396
- }).isNotEmpty()).toBe(false);
397
- expect(tableBodyBlock.isNotEmpty()).toBe(true);
398
- });
399
- });
400
- describe('table-head-block', () => {
401
- let tableHeadBlock;
402
- beforeAll(() => {
403
- tableHeadBlock = tableBlock.children.find((child) => child.type === 'table-head');
404
- });
405
- it('isNotEmpty', () => {
406
- expect(RTETableHeadBlock.from({
407
- id: '1',
408
- type: 'table-head',
409
- children: [],
410
- }).isNotEmpty()).toBe(false);
411
- expect(tableHeadBlock.isNotEmpty()).toBe(true);
412
- });
413
- it('getLastNode', () => {
414
- expect(tableHeadBlock.getLastNode().toJSON()).toEqual({
415
- id: '1764771903833',
416
- type: 'text',
417
- annotations: { plainText: true },
418
- text: '',
419
- });
420
- });
421
- });
422
- describe('table-head-cell-block', () => {
423
- let tableHeadBlock;
424
- beforeAll(() => {
425
- tableHeadBlock = tableBlock.children.find((child) => child.type === 'table-head');
426
- });
427
- it('isNotEmpty', () => {
428
- const tableHeadCellBlock = tableHeadBlock.children[0]
429
- .children[0];
430
- expect(tableHeadCellBlock.isNotEmpty()).toBe(true);
431
- expect(RTETableHeadCellBlock.from({
432
- id: '1764771899530',
433
- type: 'table-head-cell',
434
- children: [],
435
- }).isNotEmpty()).toBe(false);
436
- });
437
- describe('RTETableHeadCellBlock.from with useInternalStyle options', () => {
438
- const baseHeadCellJSON = {
439
- id: 'head-cell-test-1',
440
- type: 'table-head-cell',
441
- children: [
442
- {
443
- id: 'para-1',
444
- annotations: {
445
- textStyle: 'paragraph',
446
- internalWrapper: true,
447
- },
448
- type: 'paragraph',
449
- nodes: [
450
- {
451
- id: 'text-1',
452
- annotations: {
453
- plainText: true,
454
- },
455
- type: 'text',
456
- text: 'Header',
457
- },
458
- ],
459
- },
460
- ],
461
- };
462
- it('should apply default head cell annotations when autoMatchFormat is true', () => {
463
- const headCellBlock = RTETableHeadCellBlock.from(baseHeadCellJSON, {
464
- autoMatchFormat: true,
465
- });
466
- const cellAnnotation = headCellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
467
- expect(cellAnnotation).toBeDefined();
468
- expect(cellAnnotation).toBeInstanceOf(RTETableHeadCellAnnotation);
469
- expect(cellAnnotation.padding).toBe(RTETableCellAnnotation.DEFAULT_PADDING);
470
- expect(cellAnnotation.border).toEqual(RTETableCellAnnotation.DEFAULT_BORDER);
471
- expect(cellAnnotation.textAlign).toBe(RTETableCellAnnotation.DEFAULT_HORIZONTAL_TEXT_ALIGN);
472
- expect(cellAnnotation.verticalAlign).toBe(RTETableCellAnnotation.DEFAULT_VERTICAL_TEXT_ALIGN);
473
- });
474
- it('should not apply default head cell annotations when autoMatchFormat is false', () => {
475
- const headCellBlock = RTETableHeadCellBlock.from(baseHeadCellJSON, {
476
- autoMatchFormat: false,
477
- });
478
- const cellAnnotation = headCellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
479
- expect(cellAnnotation).toBeUndefined();
480
- });
481
- it('should preserve explicit null values in head cells when autoMatchFormat is true', () => {
482
- const headCellWithNullAnnotations = Object.assign(Object.assign({}, baseHeadCellJSON), { annotations: {
483
- tableCell: {
484
- padding: null,
485
- border: null,
486
- textAlign: null,
487
- },
488
- } });
489
- const headCellBlock = RTETableHeadCellBlock.from(headCellWithNullAnnotations, {
490
- autoMatchFormat: true,
491
- });
492
- const cellAnnotation = headCellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
493
- expect(cellAnnotation).toBeDefined();
494
- expect(cellAnnotation.padding).toBeNull();
495
- expect(cellAnnotation.border).toBeNull();
496
- expect(cellAnnotation.textAlign).toBeNull();
497
- // Undefined properties should still get defaults
498
- expect(cellAnnotation.verticalAlign).toBe(RTETableCellAnnotation.DEFAULT_VERTICAL_TEXT_ALIGN);
499
- });
500
- it('should apply defaults for undefined properties in head cells with autoMatchFormat true', () => {
501
- const headCellWithPartialAnnotations = Object.assign(Object.assign({}, baseHeadCellJSON), { annotations: {
502
- tableCell: {
503
- padding: '15px',
504
- backgroundColor: 'gray',
505
- },
506
- } });
507
- const headCellBlock = RTETableHeadCellBlock.from(headCellWithPartialAnnotations, {
508
- autoMatchFormat: true,
509
- });
510
- const cellAnnotation = headCellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
511
- expect(cellAnnotation).toBeDefined();
512
- expect(cellAnnotation.padding).toBe('15px');
513
- expect(cellAnnotation.backgroundColor).toBe('gray');
514
- // Undefined properties should get defaults
515
- expect(cellAnnotation.border).toEqual(RTETableCellAnnotation.DEFAULT_BORDER);
516
- expect(cellAnnotation.textAlign).toBe(RTETableCellAnnotation.DEFAULT_HORIZONTAL_TEXT_ALIGN);
517
- expect(cellAnnotation.verticalAlign).toBe(RTETableCellAnnotation.DEFAULT_VERTICAL_TEXT_ALIGN);
518
- });
519
- it('should not apply defaults in head cells when autoMatchFormat is false', () => {
520
- const headCellWithPartialAnnotations = Object.assign(Object.assign({}, baseHeadCellJSON), { annotations: {
521
- tableCell: {
522
- padding: '15px',
523
- backgroundColor: 'gray',
524
- },
525
- } });
526
- const headCellBlock = RTETableHeadCellBlock.from(headCellWithPartialAnnotations, {
527
- autoMatchFormat: false,
528
- });
529
- const cellAnnotation = headCellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
530
- expect(cellAnnotation).toBeDefined();
531
- expect(cellAnnotation.padding).toBe('15px');
532
- expect(cellAnnotation.backgroundColor).toBe('gray');
533
- // Undefined properties should remain undefined
534
- expect(cellAnnotation.border).toBeUndefined();
535
- expect(cellAnnotation.textAlign).toBeUndefined();
536
- expect(cellAnnotation.verticalAlign).toBeUndefined();
537
- });
538
- it('should default to autoMatchFormat true for head cells when options not provided', () => {
539
- const headCellBlock = RTETableHeadCellBlock.from(baseHeadCellJSON);
540
- const cellAnnotation = headCellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
541
- expect(cellAnnotation).toBeDefined();
542
- expect(cellAnnotation).toBeInstanceOf(RTETableHeadCellAnnotation);
543
- expect(cellAnnotation.padding).toBe(RTETableCellAnnotation.DEFAULT_PADDING);
544
- expect(cellAnnotation.border).toEqual(RTETableCellAnnotation.DEFAULT_BORDER);
545
- });
546
- });
547
- });
548
- describe('table-row-block', () => {
549
- let tableBodyBlock;
550
- beforeAll(() => {
551
- tableBodyBlock = tableBlock.children.find((child) => child.type === 'table-body');
552
- });
553
- it('isNotEmpty', () => {
554
- expect(tableBodyBlock.children[0].isNotEmpty()).toBe(true);
555
- expect(RTETableRowBlock.from({
556
- id: '1764771905293',
557
- type: 'table-row',
558
- children: [],
559
- }).isNotEmpty()).toBe(false);
560
- });
561
- });
562
- describe('table-cell-block', () => {
563
- let tableBodyBlock;
564
- beforeAll(() => {
565
- tableBodyBlock = tableBlock.children.find((child) => child.type === 'table-body');
566
- });
567
- it('isNotEmpty', () => {
568
- const tableCellBlock = tableBodyBlock.children[0]
569
- .children[0];
570
- expect(tableCellBlock.isNotEmpty()).toBe(true);
571
- expect(RTETableCellBlock.from({
572
- id: '1',
573
- type: 'table-cell',
574
- children: [],
575
- }).isNotEmpty()).toBe(false);
576
- });
577
- it('rowspan & colspan', () => {
578
- const tableCellJSON = {
579
- id: '1',
580
- type: 'table-cell',
581
- children: [],
582
- annotations: {},
583
- };
584
- let tableCellBlock = RTETableCellBlock.from(tableCellJSON);
585
- expect(tableCellBlock.rowSpan).toEqual(1);
586
- expect(tableCellBlock.colSpan).toEqual(1);
587
- tableCellJSON.annotations = {
588
- customAttribute: {
589
- rowspan: '3',
590
- colspan: '2',
591
- },
592
- };
593
- tableCellBlock = RTETableCellBlock.from(tableCellJSON);
594
- expect(tableCellBlock.rowSpan).toEqual(3);
595
- expect(tableCellBlock.colSpan).toEqual(2);
596
- });
597
- describe('RTETableCellBlock.from with useInternalStyle options', () => {
598
- const baseCellJSON = {
599
- id: 'cell-test-1',
600
- type: 'table-cell',
601
- children: [
602
- {
603
- id: 'para-1',
604
- annotations: {
605
- textStyle: 'paragraph',
606
- internalWrapper: true,
607
- },
608
- type: 'paragraph',
609
- nodes: [
610
- {
611
- id: 'text-1',
612
- annotations: {
613
- plainText: true,
614
- },
615
- type: 'text',
616
- text: 'Content',
617
- },
618
- ],
619
- },
620
- ],
621
- };
622
- it('should apply default cell annotations when autoMatchFormat is true', () => {
623
- const cellBlock = RTETableCellBlock.from(baseCellJSON, {
624
- autoMatchFormat: true,
625
- });
626
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
627
- expect(cellAnnotation).toBeDefined();
628
- expect(cellAnnotation.padding).toBe(RTETableCellAnnotation.DEFAULT_PADDING);
629
- expect(cellAnnotation.border).toEqual(RTETableCellAnnotation.DEFAULT_BORDER);
630
- expect(cellAnnotation.textAlign).toBe(RTETableCellAnnotation.DEFAULT_HORIZONTAL_TEXT_ALIGN);
631
- expect(cellAnnotation.verticalAlign).toBe(RTETableCellAnnotation.DEFAULT_VERTICAL_TEXT_ALIGN);
632
- expect(cellAnnotation.minWidth).toBe(RTETableCellAnnotation.DEFAULT_CELL_MIN_WIDTH);
633
- expect(cellAnnotation.boxSizing).toBe(RTETableCellAnnotation.DEFAULT_BOX_SIZING);
634
- });
635
- it('should not apply default cell annotations when autoMatchFormat is false', () => {
636
- const cellBlock = RTETableCellBlock.from(baseCellJSON, {
637
- autoMatchFormat: false,
638
- });
639
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
640
- expect(cellAnnotation).toBeUndefined();
641
- });
642
- it('should apply default values for undefined properties when autoMatchFormat is true', () => {
643
- const cellWithPartialAnnotations = Object.assign(Object.assign({}, baseCellJSON), { annotations: {
644
- tableCell: {
645
- padding: '20px',
646
- backgroundColor: 'blue',
647
- },
648
- } });
649
- const cellBlock = RTETableCellBlock.from(cellWithPartialAnnotations, {
650
- autoMatchFormat: true,
651
- });
652
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
653
- expect(cellAnnotation).toBeDefined();
654
- expect(cellAnnotation.padding).toBe('20px');
655
- expect(cellAnnotation.backgroundColor).toBe('blue');
656
- // Undefined properties should get defaults
657
- expect(cellAnnotation.border).toEqual(RTETableCellAnnotation.DEFAULT_BORDER);
658
- expect(cellAnnotation.textAlign).toBe(RTETableCellAnnotation.DEFAULT_HORIZONTAL_TEXT_ALIGN);
659
- expect(cellAnnotation.verticalAlign).toBe(RTETableCellAnnotation.DEFAULT_VERTICAL_TEXT_ALIGN);
660
- });
661
- it('should preserve explicit null values when autoMatchFormat is true', () => {
662
- const cellWithNullAnnotations = Object.assign(Object.assign({}, baseCellJSON), { annotations: {
663
- tableCell: {
664
- padding: null,
665
- border: null,
666
- textAlign: null,
667
- },
668
- } });
669
- const cellBlock = RTETableCellBlock.from(cellWithNullAnnotations, {
670
- autoMatchFormat: true,
671
- });
672
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
673
- expect(cellAnnotation).toBeDefined();
674
- expect(cellAnnotation.padding).toBeNull();
675
- expect(cellAnnotation.border).toBeNull();
676
- expect(cellAnnotation.textAlign).toBeNull();
677
- // Undefined properties should still get defaults
678
- expect(cellAnnotation.verticalAlign).toBe(RTETableCellAnnotation.DEFAULT_VERTICAL_TEXT_ALIGN);
679
- });
680
- it('should not apply defaults when autoMatchFormat is false even with partial annotations', () => {
681
- const cellWithPartialAnnotations = Object.assign(Object.assign({}, baseCellJSON), { annotations: {
682
- tableCell: {
683
- padding: '20px',
684
- backgroundColor: 'blue',
685
- },
686
- } });
687
- const cellBlock = RTETableCellBlock.from(cellWithPartialAnnotations, {
688
- autoMatchFormat: false,
689
- });
690
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
691
- expect(cellAnnotation).toBeDefined();
692
- expect(cellAnnotation.padding).toBe('20px');
693
- expect(cellAnnotation.backgroundColor).toBe('blue');
694
- // Undefined properties should remain undefined
695
- expect(cellAnnotation.border).toBeUndefined();
696
- expect(cellAnnotation.textAlign).toBeUndefined();
697
- expect(cellAnnotation.verticalAlign).toBeUndefined();
698
- });
699
- it('should preserve all explicit values regardless of autoMatchFormat', () => {
700
- const cellWithFullAnnotations = Object.assign(Object.assign({}, baseCellJSON), { annotations: {
701
- tableCell: {
702
- padding: '25px',
703
- border: { style: 'dashed', width: '3px', color: 'red' },
704
- textAlign: 'right',
705
- verticalAlign: 'bottom',
706
- minWidth: '150px',
707
- boxSizing: 'content-box',
708
- backgroundColor: 'green',
709
- },
710
- } });
711
- const cellBlockWithFormat = RTETableCellBlock.from(cellWithFullAnnotations, {
712
- autoMatchFormat: true,
713
- });
714
- const cellBlockWithoutFormat = RTETableCellBlock.from(cellWithFullAnnotations, {
715
- autoMatchFormat: false,
716
- });
717
- const annotationWithFormat = cellBlockWithFormat.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
718
- const annotationWithoutFormat = cellBlockWithoutFormat.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
719
- // Both should have the same values
720
- expect(annotationWithFormat.padding).toBe('25px');
721
- expect(annotationWithFormat.border).toEqual({
722
- style: 'dashed',
723
- width: '3px',
724
- color: 'red',
725
- });
726
- expect(annotationWithFormat.textAlign).toBe('right');
727
- expect(annotationWithFormat.verticalAlign).toBe('bottom');
728
- expect(annotationWithFormat.minWidth).toBe('150px');
729
- expect(annotationWithFormat.boxSizing).toBe('content-box');
730
- expect(annotationWithoutFormat.padding).toBe('25px');
731
- expect(annotationWithoutFormat.border).toEqual({
732
- style: 'dashed',
733
- width: '3px',
734
- color: 'red',
735
- });
736
- expect(annotationWithoutFormat.textAlign).toBe('right');
737
- expect(annotationWithoutFormat.verticalAlign).toBe('bottom');
738
- expect(annotationWithoutFormat.minWidth).toBe('150px');
739
- expect(annotationWithoutFormat.boxSizing).toBe('content-box');
740
- });
741
- it('should default to autoMatchFormat true when options not provided', () => {
742
- const cellBlock = RTETableCellBlock.from(baseCellJSON);
743
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
744
- expect(cellAnnotation).toBeDefined();
745
- expect(cellAnnotation.padding).toBe(RTETableCellAnnotation.DEFAULT_PADDING);
746
- expect(cellAnnotation.border).toEqual(RTETableCellAnnotation.DEFAULT_BORDER);
747
- });
748
- it('should handle constructor-level defaults when no annotations provided and autoMatchFormat is true', () => {
749
- const cellBlock = RTETableCellBlock.from(baseCellJSON, {
750
- autoMatchFormat: true,
751
- });
752
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
753
- // Constructor should have created annotation with defaults
754
- expect(cellAnnotation).toBeDefined();
755
- expect(cellAnnotation.padding).toBe(RTETableCellAnnotation.DEFAULT_PADDING);
756
- expect(cellAnnotation.border).toEqual(RTETableCellAnnotation.DEFAULT_BORDER);
757
- expect(cellAnnotation.textAlign).toBe(RTETableCellAnnotation.DEFAULT_HORIZONTAL_TEXT_ALIGN);
758
- expect(cellAnnotation.verticalAlign).toBe(RTETableCellAnnotation.DEFAULT_VERTICAL_TEXT_ALIGN);
759
- });
760
- it('should not create annotation in constructor when autoMatchFormat is false', () => {
761
- const cellBlock = RTETableCellBlock.from(baseCellJSON, {
762
- autoMatchFormat: false,
763
- });
764
- // Constructor should not have created any annotation
765
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
766
- expect(cellAnnotation).toBeUndefined();
767
- });
768
- });
769
- });
770
- describe('table-caption-block', () => {
771
- it('clone', () => {
772
- const captionJson = {
773
- id: 'caption-1',
774
- type: 'table-caption',
775
- children: [
776
- {
777
- id: 'paragraph-1',
778
- type: 'paragraph',
779
- nodes: [
780
- {
781
- id: 'text-1',
782
- type: 'text',
783
- text: 'Caption text',
784
- },
785
- ],
786
- },
787
- ],
788
- };
789
- const tableWithCaption = Object.assign(Object.assign({}, tableObj), { children: [
790
- {
791
- id: 'caption-1',
792
- type: 'table-caption',
793
- children: captionJson.children,
794
- },
795
- ...tableObj.children,
796
- ] });
797
- const tableBlockWithCaption = RTETableBlock.from(tableWithCaption);
798
- const captionBlock = tableBlockWithCaption.getCaption();
799
- const cloned = captionBlock.clone(tableBlockWithCaption);
800
- expect(cloned).toEqual(captionBlock);
801
- expect(cloned).not.toBe(captionBlock);
802
- expect(cloned.parent).toBe(tableBlockWithCaption);
803
- });
804
- it('toHtml', () => {
805
- const captionJson = {
806
- id: 'caption-1',
807
- type: 'table-caption',
808
- children: [
809
- {
810
- id: 'paragraph-1',
811
- type: 'paragraph',
812
- nodes: [
813
- {
814
- id: 'text-1',
815
- type: 'text',
816
- text: 'Caption text',
817
- },
818
- ],
819
- },
820
- ],
821
- };
822
- const captionBlock = RTETableCaptionBlock.from(captionJson);
823
- const html = captionBlock.toHtml();
824
- expect(html).toEqualHtml(`
825
- <caption style="padding: 8px; border: 1px solid #ddd; border-bottom: none; background-color: #F0F3F7; position: relative; text-align: center; min-height: 22px;">
826
- <p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
827
- <span>
828
- Caption text
829
- </span>
830
- </p>
831
- </caption>
832
- `);
833
- });
834
- });
835
- describe('RTETableBlock with useInternalStyle options', () => {
836
- const tableWithoutAnnotations = {
837
- id: 'table-1',
838
- type: 'table-block',
839
- children: [
840
- {
841
- id: 'tbody-1',
842
- type: 'table-body',
843
- children: [
844
- {
845
- id: 'row-1',
846
- type: 'table-row',
847
- children: [
848
- {
849
- id: 'cell-1',
850
- type: 'table-cell',
851
- children: [
852
- {
853
- id: 'para-1',
854
- annotations: {
855
- textStyle: 'paragraph',
856
- internalWrapper: true,
857
- },
858
- type: 'paragraph',
859
- nodes: [
860
- {
861
- id: 'text-1',
862
- annotations: {
863
- plainText: true,
864
- },
865
- type: 'text',
866
- text: 'Content',
867
- },
868
- ],
869
- },
870
- ],
871
- },
872
- ],
873
- },
874
- ],
875
- },
876
- ],
877
- };
878
- it('should apply default table annotations when autoMatchFormat is true', () => {
879
- const tableBlock = RTETableBlock.from(tableWithoutAnnotations, {
880
- autoMatchFormat: true,
881
- });
882
- const tableAnnotation = tableBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.TABLE);
883
- expect(tableAnnotation).toBeDefined();
884
- expect(tableAnnotation.alignment).toBe(RTETableAnnotation.DEFAULT_ALIGNMENT);
885
- expect(tableAnnotation.borderCollapse).toBe(RTETableAnnotation.DEFAULT_BORDER_COLLAPSE);
886
- expect(tableAnnotation.useInternalStyle).toBe(true);
887
- });
888
- it('should not apply default table annotations when autoMatchFormat is false', () => {
889
- const tableBlock = RTETableBlock.from(tableWithoutAnnotations, {
890
- autoMatchFormat: false,
891
- });
892
- const tableAnnotation = tableBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.TABLE);
893
- expect(tableAnnotation).toBeUndefined();
894
- });
895
- it('should preserve explicit table annotations with autoMatchFormat true', () => {
896
- const tableWithAnnotations = Object.assign(Object.assign({}, tableWithoutAnnotations), { annotations: {
897
- table: {
898
- alignment: 'left',
899
- borderCollapse: 'separate',
900
- backgroundColor: 'orange',
901
- },
902
- } });
903
- const tableBlock = RTETableBlock.from(tableWithAnnotations, {
904
- autoMatchFormat: true,
905
- });
906
- const tableAnnotation = tableBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.TABLE);
907
- expect(tableAnnotation).toBeDefined();
908
- expect(tableAnnotation.alignment).toBe('left');
909
- expect(tableAnnotation.borderCollapse).toBe('separate');
910
- expect(tableAnnotation.backgroundColor).toBe('orange');
911
- expect(tableAnnotation.useInternalStyle).toBe(true);
912
- });
913
- it('should preserve null values in table annotations with autoMatchFormat true', () => {
914
- const tableWithNullAnnotations = Object.assign(Object.assign({}, tableWithoutAnnotations), { annotations: {
915
- table: {
916
- alignment: null,
917
- borderCollapse: null,
918
- },
919
- } });
920
- const tableBlock = RTETableBlock.from(tableWithNullAnnotations, {
921
- autoMatchFormat: true,
922
- });
923
- const tableAnnotation = tableBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.TABLE);
924
- expect(tableAnnotation).toBeDefined();
925
- expect(tableAnnotation.alignment).toBeNull();
926
- expect(tableAnnotation.borderCollapse).toBeNull();
927
- expect(tableAnnotation.useInternalStyle).toBe(true);
928
- });
929
- it('should not apply defaults to table annotations when autoMatchFormat is false', () => {
930
- const tableWithAnnotations = Object.assign(Object.assign({}, tableWithoutAnnotations), { annotations: {
931
- table: {
932
- backgroundColor: 'orange',
933
- },
934
- } });
935
- const tableBlock = RTETableBlock.from(tableWithAnnotations, {
936
- autoMatchFormat: false,
937
- });
938
- const tableAnnotation = tableBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.TABLE);
939
- expect(tableAnnotation).toBeDefined();
940
- expect(tableAnnotation.alignment).toBeUndefined();
941
- expect(tableAnnotation.borderCollapse).toBeUndefined();
942
- expect(tableAnnotation.backgroundColor).toBe('orange');
943
- expect(tableAnnotation.useInternalStyle).toBe(false);
944
- });
945
- it('should default to autoMatchFormat true when options not provided', () => {
946
- const tableBlock = RTETableBlock.from(tableWithoutAnnotations);
947
- const tableAnnotation = tableBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.TABLE);
948
- expect(tableAnnotation).toBeDefined();
949
- expect(tableAnnotation.alignment).toBe(RTETableAnnotation.DEFAULT_ALIGNMENT);
950
- expect(tableAnnotation.borderCollapse).toBe(RTETableAnnotation.DEFAULT_BORDER_COLLAPSE);
951
- });
952
- it('should apply default cell annotations when autoMatchFormat is true', () => {
953
- const tableBlock = RTETableBlock.from(tableWithoutAnnotations, {
954
- autoMatchFormat: true,
955
- });
956
- const cellBlock = tableBlock.children[0].children[0]
957
- .children[0];
958
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
959
- expect(cellAnnotation).toBeDefined();
960
- expect(cellAnnotation.padding).toBe(RTETableCellAnnotation.DEFAULT_PADDING);
961
- expect(cellAnnotation.border).toEqual(RTETableCellAnnotation.DEFAULT_BORDER);
962
- expect(cellAnnotation.textAlign).toBe(RTETableCellAnnotation.DEFAULT_HORIZONTAL_TEXT_ALIGN);
963
- expect(cellAnnotation.verticalAlign).toBe(RTETableCellAnnotation.DEFAULT_VERTICAL_TEXT_ALIGN);
964
- });
965
- it('should not apply default cell annotations when autoMatchFormat is false', () => {
966
- const tableBlock = RTETableBlock.from(tableWithoutAnnotations, {
967
- autoMatchFormat: false,
968
- });
969
- const cellBlock = tableBlock.children[0].children[0]
970
- .children[0];
971
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
972
- expect(cellAnnotation).toBeUndefined();
973
- });
974
- it('should preserve explicit cell annotations with autoMatchFormat true', () => {
975
- const tableWithCellAnnotations = Object.assign(Object.assign({}, tableWithoutAnnotations), { children: [
976
- {
977
- id: 'tbody-1',
978
- type: 'table-body',
979
- children: [
980
- {
981
- id: 'row-1',
982
- type: 'table-row',
983
- children: [
984
- {
985
- id: 'cell-1',
986
- type: 'table-cell',
987
- annotations: {
988
- tableCell: {
989
- padding: '20px',
990
- textAlign: 'center',
991
- backgroundColor: 'blue',
992
- },
993
- },
994
- children: [
995
- {
996
- id: 'para-1',
997
- annotations: {
998
- textStyle: 'paragraph',
999
- internalWrapper: true,
1000
- },
1001
- type: 'paragraph',
1002
- nodes: [
1003
- {
1004
- id: 'text-1',
1005
- annotations: {
1006
- plainText: true,
1007
- },
1008
- type: 'text',
1009
- text: 'Content',
1010
- },
1011
- ],
1012
- },
1013
- ],
1014
- },
1015
- ],
1016
- },
1017
- ],
1018
- },
1019
- ] });
1020
- const tableBlock = RTETableBlock.from(tableWithCellAnnotations, {
1021
- autoMatchFormat: true,
1022
- });
1023
- const cellBlock = tableBlock.children[0].children[0]
1024
- .children[0];
1025
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
1026
- expect(cellAnnotation).toBeDefined();
1027
- expect(cellAnnotation.padding).toBe('20px');
1028
- expect(cellAnnotation.textAlign).toBe('center');
1029
- expect(cellAnnotation.backgroundColor).toBe('blue');
1030
- // Border and verticalAlign should get defaults since they're undefined
1031
- expect(cellAnnotation.border).toEqual(RTETableCellAnnotation.DEFAULT_BORDER);
1032
- expect(cellAnnotation.verticalAlign).toBe(RTETableCellAnnotation.DEFAULT_VERTICAL_TEXT_ALIGN);
1033
- });
1034
- it('should preserve null cell annotations with autoMatchFormat true', () => {
1035
- const tableWithNullCellAnnotations = Object.assign(Object.assign({}, tableWithoutAnnotations), { children: [
1036
- {
1037
- id: 'tbody-1',
1038
- type: 'table-body',
1039
- children: [
1040
- {
1041
- id: 'row-1',
1042
- type: 'table-row',
1043
- children: [
1044
- {
1045
- id: 'cell-1',
1046
- type: 'table-cell',
1047
- annotations: {
1048
- tableCell: {
1049
- padding: null,
1050
- border: null,
1051
- textAlign: null,
1052
- },
1053
- },
1054
- children: [
1055
- {
1056
- id: 'para-1',
1057
- annotations: {
1058
- textStyle: 'paragraph',
1059
- internalWrapper: true,
1060
- },
1061
- type: 'paragraph',
1062
- nodes: [
1063
- {
1064
- id: 'text-1',
1065
- annotations: {
1066
- plainText: true,
1067
- },
1068
- type: 'text',
1069
- text: 'Content',
1070
- },
1071
- ],
1072
- },
1073
- ],
1074
- },
1075
- ],
1076
- },
1077
- ],
1078
- },
1079
- ] });
1080
- const tableBlock = RTETableBlock.from(tableWithNullCellAnnotations, {
1081
- autoMatchFormat: true,
1082
- });
1083
- const cellBlock = tableBlock.children[0].children[0]
1084
- .children[0];
1085
- const cellAnnotation = cellBlock.annotationMap.get(RTETableExtensionAnnotationTypeEnum.CELL);
1086
- expect(cellAnnotation).toBeDefined();
1087
- expect(cellAnnotation.padding).toBeNull();
1088
- expect(cellAnnotation.border).toBeNull();
1089
- expect(cellAnnotation.textAlign).toBeNull();
1090
- // verticalAlign should get default since it's undefined
1091
- expect(cellAnnotation.verticalAlign).toBe(RTETableCellAnnotation.DEFAULT_VERTICAL_TEXT_ALIGN);
1092
- });
1093
- });
1094
- });