@heartlandone/vega 2.71.0-RTE-table-preview → 2.72.0-RTE-table-preview

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 (1625) hide show
  1. package/dist/cjs/app-globals-4d077e56.js +433 -0
  2. package/dist/cjs/child-nodes-event-prevent-slimmer-871855df.js +158 -0
  3. package/dist/cjs/code-block-bf3642ef.js +4436 -0
  4. package/dist/cjs/column-operation-1cac8386.js +1325 -0
  5. package/dist/cjs/component-value-history-controller-slimmer.abstract-ebecb74a.js +757 -0
  6. package/dist/cjs/date-required-rule-99cca681.js +92 -0
  7. package/dist/cjs/design-token-ac429fe9.js +402 -0
  8. package/dist/cjs/dom-node-subject-observer-factory-1c8f7880.js +305 -0
  9. package/dist/cjs/dto-renderer-manager-04428a77.js +3930 -0
  10. package/dist/cjs/element-appender-slimmer-1b062054.js +1508 -0
  11. package/dist/cjs/event-emit-slimmer-f7255138.js +267 -0
  12. package/dist/cjs/form-field-controller-slimmer-57525f26.js +1267 -0
  13. package/dist/cjs/image-annotation-action-7fa5d30d.js +312 -0
  14. package/dist/cjs/index-58ea899e.js +4 -4
  15. package/dist/cjs/index-c7fbf32b.js +43 -0
  16. package/dist/cjs/index.cjs.js +17 -19
  17. package/dist/cjs/inject-keyboard-manager-a6101379.js +37 -0
  18. package/dist/cjs/internal-vega-event-manager-0e1ba774.js +487 -0
  19. package/dist/cjs/keyboard-manager-d8adb0ed.js +140 -0
  20. package/dist/cjs/keyboard-manager-slimmer-15e65357.js +39 -0
  21. package/dist/cjs/language-extension-6ad0b5a0.js +210 -0
  22. package/dist/cjs/loader.cjs.js +14 -14
  23. package/dist/cjs/month-view-generator-706c5477.js +102 -0
  24. package/dist/cjs/public-rules-76bcf49c.js +47 -0
  25. package/dist/cjs/range-449bcdd0.js +178 -0
  26. package/dist/cjs/responsive-format-facade-e61c7f7e.js +925 -0
  27. package/dist/cjs/rich-text-editor-required-rule-40216fee.js +64 -0
  28. package/dist/cjs/string-format-strategy.abstract-a8264fca.js +60 -0
  29. package/dist/cjs/string-input-formatter-slimmer-4332d1c7.js +230 -0
  30. package/dist/cjs/string-mask-strategy-4e7d3780.js +172 -0
  31. package/dist/cjs/style-formatter-e2a0ad27.js +34 -0
  32. package/dist/cjs/sub-state-notify-slimmer-9fe1ab65.js +81 -0
  33. package/dist/cjs/sub-state-observer-slimmer-2f6f4d28.js +134 -0
  34. package/dist/cjs/table-extension-1f162c4c.js +4836 -0
  35. package/dist/cjs/time-required-rule-9d39a620.js +141 -0
  36. package/dist/cjs/type-guard-69d2cf01.js +1965 -0
  37. package/dist/cjs/valid-credit-card-number-rule-9f40d1d9.js +173 -0
  38. package/dist/cjs/vega-accordion.cjs.entry.js +12 -13
  39. package/dist/cjs/vega-app-header-button.cjs.entry.js +17 -18
  40. package/dist/cjs/vega-banner.cjs.entry.js +3 -3
  41. package/dist/cjs/vega-box.cjs.entry.js +16 -17
  42. package/dist/cjs/vega-breadcrumb.cjs.entry.js +4 -4
  43. package/dist/cjs/vega-button-circle.cjs.entry.js +16 -17
  44. package/dist/cjs/vega-button-group_2.cjs.entry.js +60 -10
  45. package/dist/cjs/vega-button-link.cjs.entry.js +5 -5
  46. package/dist/cjs/vega-button.cjs.entry.js +16 -16
  47. package/dist/cjs/vega-calendar_4.cjs.entry.js +87 -909
  48. package/dist/cjs/vega-card.cjs.entry.js +15 -16
  49. package/dist/cjs/vega-carousel.cjs.entry.js +15 -15
  50. package/dist/cjs/vega-checkbox_2.cjs.entry.js +7 -7
  51. package/dist/cjs/vega-chip.cjs.entry.js +17 -18
  52. package/dist/cjs/vega-code-block.cjs.entry.js +13 -13
  53. package/dist/cjs/vega-color-picker.cjs.entry.js +6 -6
  54. package/dist/cjs/vega-combo-box.cjs.entry.js +13 -13
  55. package/dist/cjs/vega-date-picker_2.cjs.entry.js +1758 -1568
  56. package/dist/cjs/vega-dialog_2.cjs.entry.js +14 -15
  57. package/dist/cjs/vega-divider.cjs.entry.js +11 -12
  58. package/dist/cjs/vega-dropdown_5.cjs.entry.js +18 -29
  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 +11 -12
  63. package/dist/cjs/vega-flex.cjs.entry.js +16 -17
  64. package/dist/cjs/vega-font.cjs.entry.js +15 -16
  65. package/dist/cjs/vega-form.cjs.entry.js +9 -9
  66. package/dist/cjs/vega-grid.cjs.entry.js +15 -16
  67. package/dist/cjs/vega-icon.cjs.entry.js +15 -16
  68. package/dist/cjs/vega-image-uploader.cjs.entry.js +16 -16
  69. package/dist/cjs/vega-input-credit-card.cjs.entry.js +14 -14
  70. package/dist/cjs/vega-input-numeric.cjs.entry.js +13 -13
  71. package/dist/cjs/vega-input-passcode.cjs.entry.js +12 -12
  72. package/dist/cjs/vega-input-phone-number.cjs.entry.js +14 -14
  73. package/dist/cjs/vega-input-range.cjs.entry.js +7 -7
  74. package/dist/cjs/vega-input-select.cjs.entry.js +14 -14
  75. package/dist/cjs/vega-input.cjs.entry.js +11 -11
  76. package/dist/cjs/vega-internal-event-id-a5ef414b.js +112 -0
  77. package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
  78. package/dist/cjs/vega-left-nav_5.cjs.entry.js +15 -16
  79. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +10 -10
  80. package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
  81. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +4 -4
  82. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +2 -2
  83. package/dist/cjs/vega-pagination.cjs.entry.js +13 -13
  84. package/dist/cjs/vega-popover_2.cjs.entry.js +21 -21
  85. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +905 -0
  86. package/dist/cjs/vega-radio_2.cjs.entry.js +10 -10
  87. package/dist/cjs/vega-rich-text-content.cjs.entry.js +9 -8
  88. package/dist/cjs/vega-rich-text-editor_5.cjs.entry.js +20 -20
  89. package/dist/cjs/vega-rich-text-table-selection-widget.cjs.entry.js +8 -3
  90. package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
  91. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +17 -17
  92. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +8 -8
  93. package/dist/cjs/vega-sidenav_3.cjs.entry.js +13 -13
  94. package/dist/cjs/vega-signature-capture.cjs.entry.js +14 -15
  95. package/dist/cjs/vega-stepper.cjs.entry.js +7 -7
  96. package/dist/cjs/vega-tab-group_2.cjs.entry.js +4 -4
  97. package/dist/cjs/vega-table_11.cjs.entry.js +13 -13
  98. package/dist/cjs/vega-textarea.cjs.entry.js +7 -7
  99. package/dist/cjs/vega-time-picker_2.cjs.entry.js +39 -40
  100. package/dist/cjs/vega-toggle-switch.cjs.entry.js +6 -6
  101. package/dist/cjs/vega-tooltip_2.cjs.entry.js +15 -15
  102. package/dist/cjs/vega.cjs.js +14 -14
  103. package/dist/collection/collection-manifest.json +7 -5
  104. package/dist/collection/components/vega-button/vega-button.css +4 -0
  105. package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.js +7 -0
  106. package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.js +25 -2
  107. package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +31 -2
  108. package/dist/collection/components/vega-button-group/vega-button-group.js +37 -0
  109. package/dist/collection/components/vega-button-link/vega-button-link.css +4 -0
  110. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.js +149 -0
  111. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.js +3 -1
  112. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.js +1 -1
  113. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.js +10 -26
  114. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +107 -445
  115. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-input-renderer-base.abstract.js +5 -1
  116. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +24 -17
  117. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.js +15 -20
  118. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.js +6 -17
  119. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/constants.js +14 -0
  120. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/dto/calendar-selection.js +126 -0
  121. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-allow-repick-controller.js +70 -0
  122. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-current-period-controller.js +204 -0
  123. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-min-max-date-controller.js +56 -0
  124. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.js +191 -0
  125. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-state-base.abstract.js +54 -0
  126. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-today-controller.js +37 -0
  127. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.js +76 -0
  128. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.js +192 -0
  129. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +168 -0
  130. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +669 -278
  131. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +667 -3
  132. package/dist/collection/components/vega-date-picker/vega-date-picker.css +0 -11
  133. package/dist/collection/components/vega-date-picker/vega-date-picker.js +23 -40
  134. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +3 -15
  135. package/dist/collection/components/vega-input/vega-input.js +1 -1
  136. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +1 -1
  137. package/dist/collection/components/vega-input-select/vega-input-select.js +1 -1
  138. package/dist/collection/components/vega-popover/vega-popover.js +14 -4
  139. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/dto/internal-progress-tracker-step.js +75 -0
  140. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-direction-controller.js +88 -0
  141. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-step-controller.js +153 -0
  142. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-steps-controller.js +125 -0
  143. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-render-mode-controller.js +40 -0
  144. package/dist/collection/components/vega-progress-tracker/slimmers/renderers/vega-progress-tracker-renderer.js +94 -0
  145. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker-step/slimmers/controllers/vega-progress-tracker-step-state-controller.js +43 -0
  146. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker-step/vega-progress-tracker-step.css +79 -0
  147. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker-step/vega-progress-tracker-step.js +84 -0
  148. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.css +69 -153
  149. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +88 -85
  150. package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +11 -63
  151. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/insert-token-node-strategy.js +5 -1
  152. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/span-to-token-node-strategy.js +12 -1
  153. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.js +16 -10
  154. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node.js +1 -1
  155. package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-style.test.js +2 -1
  156. package/dist/collection/components/vega-rich-text-editor/test/dto/annotations.test.js +9 -0
  157. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/text-block.test.js +1 -1
  158. package/dist/collection/components/vega-rich-text-editor/test/dto/content-state.test.js +15 -15
  159. package/dist/collection/constants/regex.js +1 -0
  160. package/dist/collection/constants/ui.js +3 -0
  161. package/dist/collection/helpers/calendar/calendar-date.js +273 -1
  162. package/dist/collection/helpers/calendar/calendar-period/calendar-period.abstract.js +9 -0
  163. package/dist/collection/helpers/calendar/calendar-period/month-period.js +16 -4
  164. package/dist/collection/helpers/calendar/test/calendar-date.test.js +73 -0
  165. package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +9 -0
  166. package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +41 -0
  167. package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +11 -0
  168. package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +3 -2
  169. package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +3 -1
  170. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +5 -2
  171. package/dist/collection/helpers/slimmers/element-appender/element-appender-slimmer.js +2 -1
  172. package/dist/collection/helpers/slimmers/position-calculation/position-calculation-controller.js +7 -0
  173. package/dist/collection/helpers/ui/element-appender.js +35 -5
  174. package/dist/collection/types/type-guard.js +10 -0
  175. package/dist/collection/utils/date.js +14 -3
  176. package/dist/collection/utils/e2e-utils.js +8 -2
  177. package/dist/collection/utils/test/date.test.js +2 -0
  178. package/dist/esm/app-globals-e7a8d0cc.js +431 -0
  179. package/dist/esm/child-nodes-event-prevent-slimmer-9ae34332.js +156 -0
  180. package/dist/esm/code-block-3d3a9030.js +4378 -0
  181. package/dist/esm/column-operation-4a93bf52.js +1300 -0
  182. package/dist/esm/component-value-history-controller-slimmer.abstract-d84e7bab.js +751 -0
  183. package/dist/esm/date-required-rule-a9980386.js +90 -0
  184. package/dist/esm/design-token-1575f6d9.js +388 -0
  185. package/dist/esm/dom-node-subject-observer-factory-f81f215f.js +248 -0
  186. package/dist/esm/dto-renderer-manager-23784148.js +3910 -0
  187. package/dist/esm/element-appender-slimmer-1a50e184.js +1506 -0
  188. package/dist/esm/event-emit-slimmer-966716fa.js +265 -0
  189. package/dist/esm/form-field-controller-slimmer-0020997d.js +1265 -0
  190. package/dist/esm/image-annotation-action-dba16587.js +306 -0
  191. package/dist/esm/index-090d31ca.js +4 -4
  192. package/dist/esm/index-d72e7fb3.js +40 -0
  193. package/dist/esm/index.js +19 -21
  194. package/dist/esm/inject-keyboard-manager-9241968c.js +35 -0
  195. package/dist/esm/internal-vega-event-manager-4f51b17c.js +483 -0
  196. package/dist/esm/keyboard-manager-89acac79.js +138 -0
  197. package/dist/esm/keyboard-manager-slimmer-e303cb7d.js +37 -0
  198. package/dist/esm/language-extension-710fe56d.js +207 -0
  199. package/dist/esm/loader.js +16 -16
  200. package/dist/esm/month-view-generator-4bec99fd.js +98 -0
  201. package/dist/esm/page-resize-observer-slimmer-8744cb44.js +171 -0
  202. package/dist/esm/public-rules-522ba4b1.js +32 -0
  203. package/dist/esm/range-cdd85d30.js +176 -0
  204. package/dist/esm/responsive-format-facade-405f90d2.js +921 -0
  205. package/dist/esm/rich-text-editor-required-rule-7d2d9615.js +62 -0
  206. package/dist/esm/string-format-strategy.abstract-75540c16.js +58 -0
  207. package/dist/esm/string-input-formatter-slimmer-96ccc8cf.js +228 -0
  208. package/dist/esm/string-mask-strategy-4a18ed1a.js +170 -0
  209. package/dist/esm/style-formatter-52cd20f7.js +32 -0
  210. package/dist/esm/sub-state-notify-slimmer-97953a87.js +79 -0
  211. package/dist/esm/sub-state-observer-slimmer-3f2b954f.js +132 -0
  212. package/dist/esm/table-extension-164b0d6c.js +4816 -0
  213. package/dist/esm/time-required-rule-8ec1faf5.js +138 -0
  214. package/dist/esm/type-guard-b48aec98.js +1894 -0
  215. package/dist/esm/ui-28fd4193.js +38 -0
  216. package/dist/esm/valid-credit-card-number-rule-96eaf9b1.js +171 -0
  217. package/dist/esm/vega-accordion.entry.js +14 -15
  218. package/dist/esm/vega-app-header-button.entry.js +19 -20
  219. package/dist/esm/vega-banner.entry.js +3 -3
  220. package/dist/esm/vega-box.entry.js +18 -19
  221. package/dist/esm/vega-breadcrumb.entry.js +4 -4
  222. package/dist/esm/vega-button-circle.entry.js +18 -19
  223. package/dist/esm/vega-button-group_2.entry.js +60 -10
  224. package/dist/esm/vega-button-link.entry.js +5 -5
  225. package/dist/esm/vega-button.entry.js +18 -18
  226. package/dist/esm/vega-calendar_4.entry.js +46 -868
  227. package/dist/esm/vega-card.entry.js +17 -18
  228. package/dist/esm/vega-carousel.entry.js +17 -17
  229. package/dist/esm/vega-checkbox_2.entry.js +9 -9
  230. package/dist/esm/vega-chip.entry.js +19 -20
  231. package/dist/esm/vega-code-block.entry.js +14 -14
  232. package/dist/esm/vega-color-picker.entry.js +8 -8
  233. package/dist/esm/vega-combo-box.entry.js +15 -15
  234. package/dist/esm/vega-date-picker_2.entry.js +1745 -1555
  235. package/dist/esm/vega-dialog_2.entry.js +16 -17
  236. package/dist/esm/vega-divider.entry.js +13 -14
  237. package/dist/esm/vega-dropdown_5.entry.js +20 -31
  238. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  239. package/dist/esm/vega-field-label.entry.js +3 -3
  240. package/dist/esm/vega-file-uploader.entry.js +8 -8
  241. package/dist/esm/vega-flag-icon.entry.js +13 -14
  242. package/dist/esm/vega-flex.entry.js +18 -19
  243. package/dist/esm/vega-font.entry.js +17 -18
  244. package/dist/esm/vega-form.entry.js +11 -11
  245. package/dist/esm/vega-grid.entry.js +17 -18
  246. package/dist/esm/vega-icon.entry.js +17 -18
  247. package/dist/esm/vega-image-uploader.entry.js +18 -18
  248. package/dist/esm/vega-input-credit-card.entry.js +16 -16
  249. package/dist/esm/vega-input-numeric.entry.js +15 -15
  250. package/dist/esm/vega-input-passcode.entry.js +14 -14
  251. package/dist/esm/vega-input-phone-number.entry.js +16 -16
  252. package/dist/esm/vega-input-range.entry.js +9 -9
  253. package/dist/esm/vega-input-select.entry.js +16 -16
  254. package/dist/esm/vega-input.entry.js +13 -13
  255. package/dist/esm/vega-internal-event-id-54ce7562.js +66 -0
  256. package/dist/esm/vega-item-toggle.entry.js +4 -4
  257. package/dist/esm/vega-left-nav_5.entry.js +17 -18
  258. package/dist/esm/vega-loader-wrapper_2.entry.js +12 -12
  259. package/dist/esm/vega-page-notification_2.entry.js +1 -1
  260. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +4 -4
  261. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +2 -2
  262. package/dist/esm/vega-pagination.entry.js +15 -15
  263. package/dist/esm/vega-popover_2.entry.js +23 -23
  264. package/dist/esm/vega-progress-tracker_2.entry.js +900 -0
  265. package/dist/esm/vega-radio_2.entry.js +12 -12
  266. package/dist/esm/vega-rich-text-content.entry.js +10 -9
  267. package/dist/esm/vega-rich-text-editor_5.entry.js +22 -22
  268. package/dist/esm/vega-rich-text-table-selection-widget.entry.js +9 -4
  269. package/dist/esm/vega-segment-control.entry.js +5 -5
  270. package/dist/esm/vega-selection-chip_2.entry.js +19 -19
  271. package/dist/esm/vega-selection-tile_2.entry.js +10 -10
  272. package/dist/esm/vega-sidenav_3.entry.js +15 -15
  273. package/dist/esm/vega-signature-capture.entry.js +16 -17
  274. package/dist/esm/vega-stepper.entry.js +9 -9
  275. package/dist/esm/vega-tab-group_2.entry.js +6 -6
  276. package/dist/esm/vega-table_11.entry.js +15 -15
  277. package/dist/esm/vega-text.entry.js +2 -2
  278. package/dist/esm/vega-textarea.entry.js +9 -9
  279. package/dist/esm/vega-time-picker_2.entry.js +20 -21
  280. package/dist/esm/vega-toggle-switch.entry.js +8 -8
  281. package/dist/esm/vega-tooltip_2.entry.js +17 -17
  282. package/dist/esm/vega.js +16 -16
  283. package/dist/sri/vega-sri-manifest.json +349 -357
  284. package/dist/types/components/vega-button-group/types.d.ts +2 -1
  285. package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.d.ts +1 -0
  286. package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.d.ts +11 -0
  287. package/dist/types/components/vega-button-group/vega-button-group-item/vega-button-group-item.d.ts +7 -0
  288. package/dist/types/components/vega-button-group/vega-button-group.d.ts +8 -0
  289. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.d.ts +60 -0
  290. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.d.ts +3 -4
  291. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +29 -124
  292. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-input-renderer-base.abstract.d.ts +1 -0
  293. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +5 -5
  294. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.d.ts +2 -3
  295. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.d.ts +1 -4
  296. package/dist/types/components/vega-date-picker/types.d.ts +9 -0
  297. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/constants.d.ts +1 -0
  298. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/dto/calendar-selection.d.ts +62 -0
  299. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-allow-repick-controller.d.ts +31 -0
  300. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-current-period-controller.d.ts +78 -0
  301. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-min-max-date-controller.d.ts +20 -0
  302. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.d.ts +75 -0
  303. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-state-base.abstract.d.ts +29 -0
  304. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-today-controller.d.ts +15 -0
  305. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +18 -0
  306. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.d.ts +40 -0
  307. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.d.ts +32 -0
  308. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +182 -0
  309. package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +6 -14
  310. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +0 -4
  311. package/dist/types/components/vega-input/vega-input.d.ts +1 -1
  312. package/dist/types/components/vega-popover/vega-popover.d.ts +2 -1
  313. package/dist/types/components/vega-progress-tracker/slimmers/controllers/dto/internal-progress-tracker-step.d.ts +55 -0
  314. package/dist/types/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-direction-controller.d.ts +27 -0
  315. package/dist/types/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-step-controller.d.ts +63 -0
  316. package/dist/types/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-steps-controller.d.ts +39 -0
  317. package/dist/types/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-render-mode-controller.d.ts +21 -0
  318. package/dist/types/components/vega-progress-tracker/slimmers/renderers/vega-progress-tracker-renderer.d.ts +21 -0
  319. package/dist/types/components/vega-progress-tracker/type.d.ts +1 -0
  320. package/dist/types/components/vega-progress-tracker/vega-progress-tracker-step/slimmers/controllers/vega-progress-tracker-step-state-controller.d.ts +12 -0
  321. package/dist/types/components/vega-progress-tracker/vega-progress-tracker-step/vega-progress-tracker-step.d.ts +22 -0
  322. package/dist/types/components/vega-progress-tracker/vega-progress-tracker.d.ts +24 -10
  323. package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts +7 -0
  324. package/dist/types/components/vega-rich-text-editor/extensions/tokens/span-to-token-node-strategy.d.ts +7 -0
  325. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-extension.d.ts +1 -1
  326. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.d.ts +7 -0
  327. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-toolbar-button-renderer.d.ts +2 -2
  328. package/dist/types/components/vega-rich-text-editor/interface.d.ts +6 -1
  329. package/dist/types/components.d.ts +224 -8
  330. package/dist/types/constants/regex.d.ts +1 -0
  331. package/dist/types/constants/ui.d.ts +1 -1
  332. package/dist/types/helpers/calendar/calendar-date.d.ts +86 -2
  333. package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +7 -0
  334. package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +3 -1
  335. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +5 -2
  336. package/dist/types/helpers/ui/element-appender.d.ts +14 -0
  337. package/dist/types/types/components.type.d.ts +4 -0
  338. package/dist/types/types/type-guard.d.ts +8 -0
  339. package/dist/types/utils/date.d.ts +11 -2
  340. package/dist/types/utils/e2e-utils.d.ts +7 -0
  341. package/dist/vega/index.esm.js +1 -1
  342. package/dist/vega/p-09561e90.entry.js +1 -0
  343. package/dist/vega/p-095c778c.entry.js +1 -0
  344. package/dist/vega/p-0bca50ab.entry.js +1 -0
  345. package/dist/vega/p-10ac8b57.js +1 -0
  346. package/dist/vega/p-11a7daad.entry.js +1 -0
  347. package/dist/vega/p-1282b67e.js +1 -0
  348. package/dist/vega/p-137e5c70.entry.js +1 -0
  349. package/dist/vega/p-161b9c5b.js +1 -0
  350. package/dist/vega/p-174db33b.js +1 -0
  351. package/dist/vega/p-1815e753.entry.js +1 -0
  352. package/dist/vega/p-18bcfd7a.js +1 -0
  353. package/dist/vega/p-194722fe.entry.js +1 -0
  354. package/dist/vega/p-1be7c6c4.js +1 -0
  355. package/dist/vega/p-1c33d25e.entry.js +1 -0
  356. package/dist/vega/p-1dd07d64.entry.js +1 -0
  357. package/dist/vega/p-1e0d8228.entry.js +1 -0
  358. package/dist/vega/p-207cfa6a.js +1 -0
  359. package/dist/vega/p-218e29c2.js +1 -0
  360. package/dist/vega/p-2249b040.entry.js +1 -0
  361. package/dist/vega/p-23183d4d.js +1 -0
  362. package/dist/vega/p-238ec2b9.entry.js +1 -0
  363. package/dist/vega/p-2428457e.entry.js +1 -0
  364. package/dist/vega/p-263ad7b6.js +1 -0
  365. package/dist/vega/p-2688bc6f.entry.js +1 -0
  366. package/dist/vega/p-26a43b4c.js +1 -0
  367. package/dist/vega/p-285815b5.entry.js +1 -0
  368. package/dist/vega/p-2c07b213.entry.js +1 -0
  369. package/dist/vega/p-31a65402.entry.js +1 -0
  370. package/dist/vega/p-34a1a0c5.entry.js +1 -0
  371. package/dist/vega/p-3d85411d.js +1 -0
  372. package/dist/vega/p-3f561dd5.entry.js +1 -0
  373. package/dist/vega/p-40f39194.js +1 -0
  374. package/dist/vega/p-475f7bda.js +1 -0
  375. package/dist/vega/p-4785203e.entry.js +1 -0
  376. package/dist/vega/p-5051f0c1.entry.js +1 -0
  377. package/dist/vega/p-529daab4.entry.js +1 -0
  378. package/dist/vega/p-53c6ce54.entry.js +1 -0
  379. package/dist/vega/p-5504ebdf.js +1 -0
  380. package/dist/vega/p-5585d2b5.js +1 -0
  381. package/dist/vega/p-56ce0c4b.entry.js +1 -0
  382. package/dist/vega/p-58f5da43.js +1 -0
  383. package/dist/vega/p-596895ec.js +1 -0
  384. package/dist/vega/p-5b472921.js +1 -0
  385. package/dist/vega/p-5d7e908a.entry.js +1 -0
  386. package/dist/vega/p-5f377954.js +1 -1
  387. package/dist/vega/p-5fb6a3b5.js +1 -0
  388. package/dist/vega/p-63c84ff6.entry.js +1 -0
  389. package/dist/vega/p-6961fac0.entry.js +1 -0
  390. package/dist/vega/p-699e46d1.entry.js +1 -0
  391. package/dist/vega/p-6aa7ace9.js +1 -0
  392. package/dist/vega/p-6b631ff1.entry.js +1 -0
  393. package/dist/vega/p-6c1ef2ed.js +1 -0
  394. package/dist/vega/p-6ee3b103.js +1 -0
  395. package/dist/vega/p-71f2235e.js +1 -0
  396. package/dist/vega/p-776b2f3d.entry.js +1 -0
  397. package/dist/vega/p-7ac32e71.js +1 -0
  398. package/dist/vega/p-7e6c5eb8.entry.js +1 -0
  399. package/dist/vega/p-7eaa8ac0.entry.js +1 -0
  400. package/dist/vega/p-8014cb45.entry.js +1 -0
  401. package/dist/vega/p-877b36ae.entry.js +1 -0
  402. package/dist/vega/p-883c5174.entry.js +1 -0
  403. package/dist/vega/p-8b969a71.entry.js +1 -0
  404. package/dist/vega/p-8f6d42b0.entry.js +1 -0
  405. package/dist/vega/p-8feb1298.entry.js +1 -0
  406. package/dist/vega/p-95188267.entry.js +1 -0
  407. package/dist/vega/p-96aa0f3b.js +1 -0
  408. package/dist/vega/p-9a83a6b0.js +1 -0
  409. package/dist/vega/p-9e2cf904.entry.js +1 -0
  410. package/dist/vega/p-9e545fde.entry.js +1 -0
  411. package/dist/vega/p-9f4364ec.entry.js +1 -0
  412. package/dist/vega/p-a33dc7eb.entry.js +1 -0
  413. package/dist/vega/p-a3a80712.js +1 -0
  414. package/dist/vega/p-a4ec6575.js +1 -0
  415. package/dist/vega/p-a8dad05d.js +1 -0
  416. package/dist/vega/p-b47df664.js +1 -0
  417. package/dist/vega/p-b737b93a.entry.js +1 -0
  418. package/dist/vega/p-baa44cf5.entry.js +1 -0
  419. package/dist/vega/p-badc14cc.entry.js +1 -0
  420. package/dist/vega/p-bc2451f7.entry.js +1 -0
  421. package/dist/vega/p-bdb5362c.entry.js +1 -0
  422. package/dist/vega/p-be33db7b.js +1 -0
  423. package/dist/vega/p-bfe01850.js +1 -0
  424. package/dist/vega/p-c141b10e.entry.js +1 -0
  425. package/dist/vega/p-c465b6dd.entry.js +1 -0
  426. package/dist/vega/p-d1d0f08a.js +1 -0
  427. package/dist/vega/p-d6032515.entry.js +1 -0
  428. package/dist/vega/p-d69a6454.entry.js +1 -0
  429. package/dist/vega/p-d6cc786a.entry.js +1 -0
  430. package/dist/vega/p-d85d7862.entry.js +1 -0
  431. package/dist/vega/p-d991fb11.js +1 -0
  432. package/dist/vega/p-da77d71f.entry.js +1 -0
  433. package/dist/vega/p-de70aac1.js +1 -0
  434. package/dist/vega/p-e47ae7bc.entry.js +1 -0
  435. package/dist/vega/p-e8495b6c.entry.js +1 -0
  436. package/dist/vega/p-e8654ab5.entry.js +1 -0
  437. package/dist/vega/p-e94701e2.entry.js +1 -0
  438. package/dist/vega/p-e9e1293a.entry.js +1 -0
  439. package/dist/vega/p-ef48178e.entry.js +1 -0
  440. package/dist/vega/p-f729743c.entry.js +9 -0
  441. package/dist/vega/p-fb6b3b98.js +1 -0
  442. package/dist/vega/p-fca7c998.entry.js +1 -0
  443. package/dist/vega/vega.esm.js +1 -1
  444. package/package.json +2 -3
  445. package/style/vega-icons.css +17266 -0
  446. package/dist/cjs/app-globals-246e5160.js +0 -432
  447. package/dist/cjs/child-nodes-event-prevent-slimmer-f8840f1b.js +0 -158
  448. package/dist/cjs/code-block-36fb0e69.js +0 -4488
  449. package/dist/cjs/column-operation-aa0673f6.js +0 -1325
  450. package/dist/cjs/component-value-history-controller-slimmer.abstract-eec38ad7.js +0 -757
  451. package/dist/cjs/date-0a6bb035.js +0 -95
  452. package/dist/cjs/date-required-rule-4e1f84fd.js +0 -92
  453. package/dist/cjs/design-token-6f95b09f.js +0 -403
  454. package/dist/cjs/dom-node-subject-observer-factory-f040608b.js +0 -301
  455. package/dist/cjs/dto-renderer-manager-fbc93cb5.js +0 -3930
  456. package/dist/cjs/element-appender-slimmer-ec537994.js +0 -1470
  457. package/dist/cjs/event-emit-slimmer-7afe8d78.js +0 -267
  458. package/dist/cjs/form-field-controller-slimmer-f865d397.js +0 -1267
  459. package/dist/cjs/image-annotation-action-ae1310ef.js +0 -312
  460. package/dist/cjs/index-4b896e76.js +0 -43
  461. package/dist/cjs/inject-keyboard-manager-13c66257.js +0 -37
  462. package/dist/cjs/internal-vega-event-manager-45d451de.js +0 -486
  463. package/dist/cjs/keyboard-manager-af0d08a6.js +0 -140
  464. package/dist/cjs/keyboard-manager-slimmer-62f072cd.js +0 -39
  465. package/dist/cjs/language-extension-2df8cfd3.js +0 -210
  466. package/dist/cjs/mobilefriendly-aa2e50e9.js +0 -13
  467. package/dist/cjs/public-rules-6432194e.js +0 -47
  468. package/dist/cjs/range-d24916d7.js +0 -178
  469. package/dist/cjs/responsive-format-facade-0b610205.js +0 -925
  470. package/dist/cjs/rich-text-editor-required-rule-eb34a576.js +0 -64
  471. package/dist/cjs/state-background-color-formatter-aa5570f6.js +0 -85
  472. package/dist/cjs/string-format-strategy.abstract-07a95352.js +0 -60
  473. package/dist/cjs/string-input-formatter-slimmer-8236b5e1.js +0 -230
  474. package/dist/cjs/string-mask-strategy-6bdad95e.js +0 -172
  475. package/dist/cjs/style-formatter-1450a252.js +0 -34
  476. package/dist/cjs/sub-state-notify-slimmer-78682046.js +0 -81
  477. package/dist/cjs/sub-state-observer-slimmer-73aecfff.js +0 -134
  478. package/dist/cjs/table-extension-3b713932.js +0 -4815
  479. package/dist/cjs/time-required-rule-ccf178e7.js +0 -141
  480. package/dist/cjs/type-guard-f12b5bae.js +0 -742
  481. package/dist/cjs/valid-credit-card-number-rule-ce5c9147.js +0 -173
  482. package/dist/cjs/vega-internal-event-id-6d4a2c53.js +0 -110
  483. package/dist/cjs/vega-progress-tracker.cjs.entry.js +0 -252
  484. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.js +0 -282
  485. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.js +0 -35
  486. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.js +0 -53
  487. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-month-year-change-event-controller.js +0 -139
  488. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.js +0 -49
  489. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-month-year-dropdown-renderer.js +0 -341
  490. package/dist/esm/app-globals-e3ba8241.js +0 -430
  491. package/dist/esm/child-nodes-event-prevent-slimmer-66a11e63.js +0 -156
  492. package/dist/esm/code-block-f2f0cff5.js +0 -4430
  493. package/dist/esm/column-operation-9805e482.js +0 -1300
  494. package/dist/esm/component-value-history-controller-slimmer.abstract-400e0bd2.js +0 -751
  495. package/dist/esm/date-c55b97f0.js +0 -87
  496. package/dist/esm/date-required-rule-8944f3bf.js +0 -90
  497. package/dist/esm/design-token-6f4086a9.js +0 -389
  498. package/dist/esm/dom-node-subject-observer-factory-4401eb10.js +0 -246
  499. package/dist/esm/dto-renderer-manager-8b93cc6f.js +0 -3910
  500. package/dist/esm/element-appender-slimmer-cc465622.js +0 -1468
  501. package/dist/esm/event-emit-slimmer-7fade5b2.js +0 -265
  502. package/dist/esm/form-field-controller-slimmer-d88dc81a.js +0 -1265
  503. package/dist/esm/image-annotation-action-f62cfec3.js +0 -306
  504. package/dist/esm/index-e7660797.js +0 -40
  505. package/dist/esm/inject-keyboard-manager-ffd351b9.js +0 -35
  506. package/dist/esm/internal-vega-event-manager-c171f709.js +0 -482
  507. package/dist/esm/keyboard-manager-5d8f3582.js +0 -138
  508. package/dist/esm/keyboard-manager-slimmer-f39214e4.js +0 -37
  509. package/dist/esm/language-extension-87abdcf0.js +0 -207
  510. package/dist/esm/mobilefriendly-c5d0573d.js +0 -11
  511. package/dist/esm/page-resize-observer-slimmer-0bf7fbf3.js +0 -171
  512. package/dist/esm/public-rules-b6ad63e6.js +0 -32
  513. package/dist/esm/range-686c5d0c.js +0 -176
  514. package/dist/esm/responsive-format-facade-603dddd7.js +0 -921
  515. package/dist/esm/rich-text-editor-required-rule-4d14da42.js +0 -62
  516. package/dist/esm/state-background-color-formatter-0f01d27a.js +0 -82
  517. package/dist/esm/string-format-strategy.abstract-452f4398.js +0 -58
  518. package/dist/esm/string-input-formatter-slimmer-47305317.js +0 -228
  519. package/dist/esm/string-mask-strategy-6232a1c1.js +0 -170
  520. package/dist/esm/style-formatter-d76a67cb.js +0 -32
  521. package/dist/esm/sub-state-notify-slimmer-0a927f34.js +0 -79
  522. package/dist/esm/sub-state-observer-slimmer-33e0dd73.js +0 -132
  523. package/dist/esm/table-extension-5da1a8db.js +0 -4795
  524. package/dist/esm/time-required-rule-a01163b5.js +0 -138
  525. package/dist/esm/type-guard-12f7654b.js +0 -692
  526. package/dist/esm/ui-8424715a.js +0 -38
  527. package/dist/esm/valid-credit-card-number-rule-81443274.js +0 -171
  528. package/dist/esm/vega-internal-event-id-49fef150.js +0 -65
  529. package/dist/esm/vega-progress-tracker.entry.js +0 -248
  530. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.d.ts +0 -96
  531. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.d.ts +0 -12
  532. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.d.ts +0 -18
  533. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-month-year-change-event-controller.d.ts +0 -46
  534. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.d.ts +0 -15
  535. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-month-year-dropdown-renderer.d.ts +0 -97
  536. package/dist/vega/p-0492fb42.entry.js +0 -1
  537. package/dist/vega/p-06840396.entry.js +0 -1
  538. package/dist/vega/p-06bc02cb.entry.js +0 -1
  539. package/dist/vega/p-070c3970.js +0 -1
  540. package/dist/vega/p-07c1a2a2.entry.js +0 -1
  541. package/dist/vega/p-08835909.js +0 -1
  542. package/dist/vega/p-10e142f1.js +0 -1
  543. package/dist/vega/p-12faf818.entry.js +0 -1
  544. package/dist/vega/p-1546855d.entry.js +0 -1
  545. package/dist/vega/p-18711501.js +0 -1
  546. package/dist/vega/p-194e32a2.js +0 -1
  547. package/dist/vega/p-19522949.js +0 -1
  548. package/dist/vega/p-197affbe.entry.js +0 -1
  549. package/dist/vega/p-1a282bfa.entry.js +0 -9
  550. package/dist/vega/p-1e5c2206.entry.js +0 -1
  551. package/dist/vega/p-1fb466db.js +0 -1
  552. package/dist/vega/p-24e66056.entry.js +0 -1
  553. package/dist/vega/p-26bde99c.entry.js +0 -1
  554. package/dist/vega/p-2762e4a7.entry.js +0 -1
  555. package/dist/vega/p-2b079386.entry.js +0 -1
  556. package/dist/vega/p-2c88b9c9.js +0 -1
  557. package/dist/vega/p-2de37a60.entry.js +0 -1
  558. package/dist/vega/p-2f866855.entry.js +0 -1
  559. package/dist/vega/p-3185b22d.entry.js +0 -1
  560. package/dist/vega/p-33cb78bd.entry.js +0 -1
  561. package/dist/vega/p-35609e2d.entry.js +0 -1
  562. package/dist/vega/p-36753b56.entry.js +0 -1
  563. package/dist/vega/p-37fd6859.entry.js +0 -1
  564. package/dist/vega/p-388953e4.entry.js +0 -1
  565. package/dist/vega/p-3925c16b.js +0 -1
  566. package/dist/vega/p-3ae691a0.entry.js +0 -1
  567. package/dist/vega/p-3ce90ecd.entry.js +0 -1
  568. package/dist/vega/p-4115d58a.entry.js +0 -1
  569. package/dist/vega/p-4a895707.js +0 -1
  570. package/dist/vega/p-502b7062.entry.js +0 -1
  571. package/dist/vega/p-532ff2d2.entry.js +0 -13
  572. package/dist/vega/p-5e1e91db.entry.js +0 -1
  573. package/dist/vega/p-5f53c228.entry.js +0 -1
  574. package/dist/vega/p-61519b5c.entry.js +0 -1
  575. package/dist/vega/p-62bf35fd.entry.js +0 -1
  576. package/dist/vega/p-64994265.entry.js +0 -1
  577. package/dist/vega/p-651ac54f.entry.js +0 -1
  578. package/dist/vega/p-67f159c3.js +0 -1
  579. package/dist/vega/p-70c898c6.entry.js +0 -1
  580. package/dist/vega/p-71f9c4d4.js +0 -1
  581. package/dist/vega/p-71fc7286.js +0 -1
  582. package/dist/vega/p-74168615.js +0 -1
  583. package/dist/vega/p-78d6dead.js +0 -1
  584. package/dist/vega/p-7d083222.entry.js +0 -1
  585. package/dist/vega/p-7d397c32.js +0 -1
  586. package/dist/vega/p-7d9cd9c8.js +0 -1
  587. package/dist/vega/p-7edd4b79.js +0 -1
  588. package/dist/vega/p-824a06ba.js +0 -1
  589. package/dist/vega/p-84d34816.js +0 -1
  590. package/dist/vega/p-853abdfd.entry.js +0 -1
  591. package/dist/vega/p-867a4970.js +0 -1
  592. package/dist/vega/p-8da8c2cf.entry.js +0 -1
  593. package/dist/vega/p-8daadaf3.entry.js +0 -1
  594. package/dist/vega/p-8eefbd15.entry.js +0 -1
  595. package/dist/vega/p-8fae8f9e.js +0 -1
  596. package/dist/vega/p-9112f67d.js +0 -1
  597. package/dist/vega/p-924b4e24.js +0 -1
  598. package/dist/vega/p-932c3efc.entry.js +0 -1
  599. package/dist/vega/p-9443c292.js +0 -1
  600. package/dist/vega/p-96c941d5.entry.js +0 -1
  601. package/dist/vega/p-9939e407.entry.js +0 -1
  602. package/dist/vega/p-99c52315.entry.js +0 -1
  603. package/dist/vega/p-99c6df1e.entry.js +0 -1
  604. package/dist/vega/p-9ce249a9.js +0 -1
  605. package/dist/vega/p-9f6632cc.entry.js +0 -1
  606. package/dist/vega/p-a10b9f2e.js +0 -12
  607. package/dist/vega/p-a6010b93.entry.js +0 -1
  608. package/dist/vega/p-a996636d.js +0 -1
  609. package/dist/vega/p-ae0edda4.entry.js +0 -1
  610. package/dist/vega/p-afe7bb0b.entry.js +0 -1
  611. package/dist/vega/p-b06ceb0f.entry.js +0 -1
  612. package/dist/vega/p-b1faebe0.js +0 -1
  613. package/dist/vega/p-b390be9d.entry.js +0 -1
  614. package/dist/vega/p-b555b253.js +0 -1
  615. package/dist/vega/p-baaf9264.js +0 -1
  616. package/dist/vega/p-bbc12975.js +0 -1
  617. package/dist/vega/p-bc749d3f.entry.js +0 -1
  618. package/dist/vega/p-c0b986af.js +0 -1
  619. package/dist/vega/p-c11c0d61.js +0 -1
  620. package/dist/vega/p-c4f6e01c.entry.js +0 -1
  621. package/dist/vega/p-c6ee2d47.entry.js +0 -1
  622. package/dist/vega/p-c8b76028.entry.js +0 -1
  623. package/dist/vega/p-cad733c8.js +0 -1
  624. package/dist/vega/p-d54a1453.entry.js +0 -1
  625. package/dist/vega/p-d94f149a.entry.js +0 -1
  626. package/dist/vega/p-de44727f.entry.js +0 -1
  627. package/dist/vega/p-e2a0f7ae.js +0 -1
  628. package/dist/vega/p-e6879699.entry.js +0 -1
  629. package/dist/vega/p-ec7bc15a.js +0 -1
  630. package/dist/vega/p-f14578ee.entry.js +0 -1
  631. package/dist/vega/p-f2de3d76.entry.js +0 -1
  632. package/dist/vega/p-f2f6f24d.entry.js +0 -1
  633. package/dist/vega/p-f41ef9e2.entry.js +0 -1
  634. package/dist/vega/p-f782a531.js +0 -1
  635. package/dist/vega/p-fc6617cb.entry.js +0 -1
  636. package/dist/vega/p-fc79b3c3.entry.js +0 -1
  637. package/dist/vega/p-ff67a25f.js +0 -1
  638. package/style/vega_min.css +0 -1
  639. package/style/visual-screenshots (1)/builds/master.json +0 -13385
  640. package/style/visual-screenshots (1)/compare.html +0 -26
  641. package/style/visual-screenshots (1)/connector.js +0 -10
  642. package/style/visual-screenshots (1)/images/00c9dbc329ca6b1ad78ea743b91ee0bc.png +0 -0
  643. package/style/visual-screenshots (1)/images/00deb6ff94de798b3fcc6414aedc040c.png +0 -0
  644. package/style/visual-screenshots (1)/images/014c955d050d2ebb917fd03590730572.png +0 -0
  645. package/style/visual-screenshots (1)/images/0182583c546dba469600a0251240cf21.png +0 -0
  646. package/style/visual-screenshots (1)/images/01a0575c0db1270ea83316b5c6c20601.png +0 -0
  647. package/style/visual-screenshots (1)/images/027defd97df9a5b4a7653be56ccdb0ac.png +0 -0
  648. package/style/visual-screenshots (1)/images/02ba6083bbf1c0e01a725f1f9f92aff9.png +0 -0
  649. package/style/visual-screenshots (1)/images/036795373db4daaf365beee11d8c25a7.png +0 -0
  650. package/style/visual-screenshots (1)/images/04a8eee512eeb23c1c2b87cda93a6776.png +0 -0
  651. package/style/visual-screenshots (1)/images/04bb561662f78f189085275de6678f41.png +0 -0
  652. package/style/visual-screenshots (1)/images/04eef932b78ca112212112ce585f27ab.png +0 -0
  653. package/style/visual-screenshots (1)/images/050cba57fa9a35e3803c85fbb59b4024.png +0 -0
  654. package/style/visual-screenshots (1)/images/051edd1219d1ddca517459b788cc9d2b.png +0 -0
  655. package/style/visual-screenshots (1)/images/0528ddc76f74747fa440e96db6907a43.png +0 -0
  656. package/style/visual-screenshots (1)/images/05395d74d64a1da223fb94b2874f2d66.png +0 -0
  657. package/style/visual-screenshots (1)/images/0545ef2f0796fa5f1d878254825adaf4.png +0 -0
  658. package/style/visual-screenshots (1)/images/0582c1933e54f696b632a1e1659073b2.png +0 -0
  659. package/style/visual-screenshots (1)/images/059772f121132ead0d6fa0a48168338b.png +0 -0
  660. package/style/visual-screenshots (1)/images/05feee4ecb06f066f3dafb653f33b6fb.png +0 -0
  661. package/style/visual-screenshots (1)/images/0640963c7a9fddb30a953c2624ba42eb.png +0 -0
  662. package/style/visual-screenshots (1)/images/065795600809ccab42d0f13ba71eb633.png +0 -0
  663. package/style/visual-screenshots (1)/images/0666dfce480647c3cb8857d2bb059847.png +0 -0
  664. package/style/visual-screenshots (1)/images/0700cef6f6f83545e2e7d3ecedc042d4.png +0 -0
  665. package/style/visual-screenshots (1)/images/0723f0263fa389ae876735ff57f46681.png +0 -0
  666. package/style/visual-screenshots (1)/images/073c1445dacdaac8c0aa6480212492f9.png +0 -0
  667. package/style/visual-screenshots (1)/images/073d4f053baf4c24d6af8de20eeae2aa.png +0 -0
  668. package/style/visual-screenshots (1)/images/076e14b0ccac0c02052e66256be50d47.png +0 -0
  669. package/style/visual-screenshots (1)/images/0775b2b66ba608e1677bb4bd032f707e.png +0 -0
  670. package/style/visual-screenshots (1)/images/078f2e93590c93c74f514e02ac05e4a3.png +0 -0
  671. package/style/visual-screenshots (1)/images/080f0f2d3f06372a9302e80f14aeb74e.png +0 -0
  672. package/style/visual-screenshots (1)/images/08872613981eb5e038fd62286300c583.png +0 -0
  673. package/style/visual-screenshots (1)/images/08cfa8c87053192e64e3b0b448d0dfaa.png +0 -0
  674. package/style/visual-screenshots (1)/images/08fc2250530bdc6b684a493406e75dcb.png +0 -0
  675. package/style/visual-screenshots (1)/images/0918181ef6fad9b51bbf411785719c7f.png +0 -0
  676. package/style/visual-screenshots (1)/images/091c16a1900c15eaf442677f7b7712a4.png +0 -0
  677. package/style/visual-screenshots (1)/images/09271a89642f3deb1534537363d82adf.png +0 -0
  678. package/style/visual-screenshots (1)/images/0968ada1c88a12c121d7e4cd9d1a4c31.png +0 -0
  679. package/style/visual-screenshots (1)/images/098cf2d4feb36daa5935d431b4cc2af9.png +0 -0
  680. package/style/visual-screenshots (1)/images/098ee2f12b7cd94ed7e3d9678dca8d9d.png +0 -0
  681. package/style/visual-screenshots (1)/images/09afb7f891103d16ca4e69cced183010.png +0 -0
  682. package/style/visual-screenshots (1)/images/0a8740f45dfa3ef686362af82744d0f8.png +0 -0
  683. package/style/visual-screenshots (1)/images/0aecce7dd5c65d8a1cd2bc3007aa039c.png +0 -0
  684. package/style/visual-screenshots (1)/images/0afce1548cbbf477be056364879ed645.png +0 -0
  685. package/style/visual-screenshots (1)/images/0b0e6917a067495e267dea6d4f1d2c89.png +0 -0
  686. package/style/visual-screenshots (1)/images/0b422eacde0c1264cc993d15ce94f3f2.png +0 -0
  687. package/style/visual-screenshots (1)/images/0b462aed27368fadffaf4042b4bf124f.png +0 -0
  688. package/style/visual-screenshots (1)/images/0bd41559a47131117d6b5d48f9384e2b.png +0 -0
  689. package/style/visual-screenshots (1)/images/0cdf8442f9e597e7782a97d05b9f0167.png +0 -0
  690. package/style/visual-screenshots (1)/images/0ce13d831ed54f898c0ddc60c7a3bfe9.png +0 -0
  691. package/style/visual-screenshots (1)/images/0d7e570e1a0f76d5114975280c8e36dc.png +0 -0
  692. package/style/visual-screenshots (1)/images/0dd901512ef46e6320b55ebb543c7a38.png +0 -0
  693. package/style/visual-screenshots (1)/images/0de77d7c6aedecc1948bf82730e77f9b.png +0 -0
  694. package/style/visual-screenshots (1)/images/0e588e87d0e0617c6fefe1e8203ceaf5.png +0 -0
  695. package/style/visual-screenshots (1)/images/0eb8a80ddc22191daad2b765098af978.png +0 -0
  696. package/style/visual-screenshots (1)/images/0ee82b520727d5a484ae47df46170f6b.png +0 -0
  697. package/style/visual-screenshots (1)/images/0ef7219055c2204179e5a87ce6393ecd.png +0 -0
  698. package/style/visual-screenshots (1)/images/0f20d9909852d49d83662e354d774330.png +0 -0
  699. package/style/visual-screenshots (1)/images/0fe5e32a6e5d62baa9eb9e9ef32b8ac0.png +0 -0
  700. package/style/visual-screenshots (1)/images/101fe127c73e1204c7b0a9532ddf5f33.png +0 -0
  701. package/style/visual-screenshots (1)/images/10dc76469583d7bb071c415b4c2500f5.png +0 -0
  702. package/style/visual-screenshots (1)/images/111ceb449af342ffefc9bf18313e9f2d.png +0 -0
  703. package/style/visual-screenshots (1)/images/116f44589ef708d63b88f72c07020d65.png +0 -0
  704. package/style/visual-screenshots (1)/images/11809d0dd4f56bd7e75c1ee424ea6049.png +0 -0
  705. package/style/visual-screenshots (1)/images/11e8c569dc91a4263915d38d41797b7c.png +0 -0
  706. package/style/visual-screenshots (1)/images/11f644637e7bf9e488c92e597243b372.png +0 -0
  707. package/style/visual-screenshots (1)/images/11f85d78db6278a0b9309de5e1971968.png +0 -0
  708. package/style/visual-screenshots (1)/images/126484246367b441a4874bf1c80eb701.png +0 -0
  709. package/style/visual-screenshots (1)/images/12b7614a6bca5fba19b2c207c9399eec.png +0 -0
  710. package/style/visual-screenshots (1)/images/12f9db657f5f215db4fd81d60e61ac05.png +0 -0
  711. package/style/visual-screenshots (1)/images/12fd30dca14bdb10e138bf9957cb67d6.png +0 -0
  712. package/style/visual-screenshots (1)/images/12ff293bb7a3fb35ba9e71b36d1ede58.png +0 -0
  713. package/style/visual-screenshots (1)/images/132fad75fe05d0c78d642c7d18b36364.png +0 -0
  714. package/style/visual-screenshots (1)/images/133df50a253039a25dc23c11be89ceb7.png +0 -0
  715. package/style/visual-screenshots (1)/images/13b9e970f1e6fc8dde0c10722f66bb73.png +0 -0
  716. package/style/visual-screenshots (1)/images/13d533f8842a49a2a160723a46eb8a32.png +0 -0
  717. package/style/visual-screenshots (1)/images/14391d1ca80560f5e01b72b0a32a2e43.png +0 -0
  718. package/style/visual-screenshots (1)/images/14b81ce49feb5c4033d2b6bf9ce8b584.png +0 -0
  719. package/style/visual-screenshots (1)/images/16548b7507dad1afa018cf73f656e123.png +0 -0
  720. package/style/visual-screenshots (1)/images/16bbd810a35c9542672c143620dd124b.png +0 -0
  721. package/style/visual-screenshots (1)/images/17f1ac08aef0b15a2a93576bd0c69a8b.png +0 -0
  722. package/style/visual-screenshots (1)/images/1823fb8764090e5f139555434673b999.png +0 -0
  723. package/style/visual-screenshots (1)/images/184a290d2680a6b9ed5fd3e875866f6c.png +0 -0
  724. package/style/visual-screenshots (1)/images/1853b22c2e9f57c3c0465f1ad677fd02.png +0 -0
  725. package/style/visual-screenshots (1)/images/1917b4c75462018e96fd444a55f92fdb.png +0 -0
  726. package/style/visual-screenshots (1)/images/19cb20f82a883631ec08e6fce09c9346.png +0 -0
  727. package/style/visual-screenshots (1)/images/19d6ef3f0f09ad264bd4565a890f4de3.png +0 -0
  728. package/style/visual-screenshots (1)/images/19f0f11a1678b49278906815b94aa63b.png +0 -0
  729. package/style/visual-screenshots (1)/images/1a334e822ac119215ecd18f1289048cf.png +0 -0
  730. package/style/visual-screenshots (1)/images/1a396fba8af913178a057a63bc2812ef.png +0 -0
  731. package/style/visual-screenshots (1)/images/1a4712761391165e44e0399e574800c7.png +0 -0
  732. package/style/visual-screenshots (1)/images/1a6407989995cf5d9451432c30bd8af5.png +0 -0
  733. package/style/visual-screenshots (1)/images/1a66f2485b63b12007df9713afc7abbd.png +0 -0
  734. package/style/visual-screenshots (1)/images/1a9961bc790f0e542d0e1df7ec61162c.png +0 -0
  735. package/style/visual-screenshots (1)/images/1aad56b95fdc16ee9739410e31f4b04b.png +0 -0
  736. package/style/visual-screenshots (1)/images/1ab773baf811c86dcc3fd48c486b948e.png +0 -0
  737. package/style/visual-screenshots (1)/images/1acd824e815dd8290f73aa3eac0e9aa7.png +0 -0
  738. package/style/visual-screenshots (1)/images/1b7e059b6e4adb5f3a15dc7737195bef.png +0 -0
  739. package/style/visual-screenshots (1)/images/1b83910bbcff965492bf79d17f7f3952.png +0 -0
  740. package/style/visual-screenshots (1)/images/1b8acd3ed0bb87d0b41963d3c4566324.png +0 -0
  741. package/style/visual-screenshots (1)/images/1bcb2ad6de61cbc5cb2bfbc40dcf3c75.png +0 -0
  742. package/style/visual-screenshots (1)/images/1c01fa461439431ed056e345914504aa.png +0 -0
  743. package/style/visual-screenshots (1)/images/1c1622f4ff1c0169e2efe5af5fab7238.png +0 -0
  744. package/style/visual-screenshots (1)/images/1c2ae0a43c9aea9e17e639f2486ad76c.png +0 -0
  745. package/style/visual-screenshots (1)/images/1c2c279749b3bab613be5efd8411a9fb.png +0 -0
  746. package/style/visual-screenshots (1)/images/1cdb0dbdb6a4398f94988e3d40162f2c.png +0 -0
  747. package/style/visual-screenshots (1)/images/1cfacd6c8ac80ee3c4a7f8584bd1441c.png +0 -0
  748. package/style/visual-screenshots (1)/images/1d1444203dac3cbe71c951d381126d03.png +0 -0
  749. package/style/visual-screenshots (1)/images/1d73f593bed08ad694e2b573a39ae06f.png +0 -0
  750. package/style/visual-screenshots (1)/images/1dac4a7712234a30253ab6f9160d50a6.png +0 -0
  751. package/style/visual-screenshots (1)/images/1ebaf53fb8db94bb9a8154e86a3e5ed2.png +0 -0
  752. package/style/visual-screenshots (1)/images/1ec0c1febc3f0dd1786eea003e0dee38.png +0 -0
  753. package/style/visual-screenshots (1)/images/1ec3bebcdac3683aad4e93ea70ee4a1e.png +0 -0
  754. package/style/visual-screenshots (1)/images/1f7f87a3bfb22d7b6d5489170a691439.png +0 -0
  755. package/style/visual-screenshots (1)/images/217dca423214acf6733443967bd4bb91.png +0 -0
  756. package/style/visual-screenshots (1)/images/21a4579340bd071933dc4222aca885e8.png +0 -0
  757. package/style/visual-screenshots (1)/images/21e702dbfac3ae3c84ad5cf4a3a5fd33.png +0 -0
  758. package/style/visual-screenshots (1)/images/2205a5e15323173cf82e53036b89f3d2.png +0 -0
  759. package/style/visual-screenshots (1)/images/2239056187956d81a9a7a3ff086123ec.png +0 -0
  760. package/style/visual-screenshots (1)/images/22a392ca2f7b01e9145de8a1d16d8ac1.png +0 -0
  761. package/style/visual-screenshots (1)/images/2395e15caf0facec892a787fbf1baa61.png +0 -0
  762. package/style/visual-screenshots (1)/images/2430226e2b211252d8793d0b24bd105b.png +0 -0
  763. package/style/visual-screenshots (1)/images/249af52548a661890ebb3990c81e7bec.png +0 -0
  764. package/style/visual-screenshots (1)/images/24adff266f0ccc120bbab22610a7afef.png +0 -0
  765. package/style/visual-screenshots (1)/images/250d4d8b44fd5e3f83114560684c7a33.png +0 -0
  766. package/style/visual-screenshots (1)/images/2517969a2f9a119f248ef574ce68957a.png +0 -0
  767. package/style/visual-screenshots (1)/images/251e0de35a82707d6372ae27e6a28f19.png +0 -0
  768. package/style/visual-screenshots (1)/images/25596d87f964d9e9e48bcdcb815d97b0.png +0 -0
  769. package/style/visual-screenshots (1)/images/257aafcb25e5c45c1fdb794c500845af.png +0 -0
  770. package/style/visual-screenshots (1)/images/25eeda071a6e8ec33338f621edfccce7.png +0 -0
  771. package/style/visual-screenshots (1)/images/260117a8a096031e2d4a00137e1fb6e7.png +0 -0
  772. package/style/visual-screenshots (1)/images/2609faace1c9661a650574dcc408030d.png +0 -0
  773. package/style/visual-screenshots (1)/images/2613cd2759c32063cc30bd0bd33358dc.png +0 -0
  774. package/style/visual-screenshots (1)/images/2694ff3a617c6cf218bdd37a19c83b8a.png +0 -0
  775. package/style/visual-screenshots (1)/images/26e2f8a3530bb0e0ea2384f2bdc9a81a.png +0 -0
  776. package/style/visual-screenshots (1)/images/2729771eeefd444ff898c491f1273357.png +0 -0
  777. package/style/visual-screenshots (1)/images/27f11a528d6b5f15d45f2c420edc00fb.png +0 -0
  778. package/style/visual-screenshots (1)/images/2818dab1bc771c7ed5eb71d561228863.png +0 -0
  779. package/style/visual-screenshots (1)/images/28cf1d93f7722430ee1437df8a14127f.png +0 -0
  780. package/style/visual-screenshots (1)/images/2939e1e89e29a3b71f5be665edf472c2.png +0 -0
  781. package/style/visual-screenshots (1)/images/2a3e1613614fa6bf58ebcb820d6fc84f.png +0 -0
  782. package/style/visual-screenshots (1)/images/2a8fce144b32ae297bcc8650d13cdb1c.png +0 -0
  783. package/style/visual-screenshots (1)/images/2aa7766d32787734fc8a534acc98bf77.png +0 -0
  784. package/style/visual-screenshots (1)/images/2ae27049402468e5e2baf2b664365f8a.png +0 -0
  785. package/style/visual-screenshots (1)/images/2b1b3ff73541c559ff4f0f22f70db3d1.png +0 -0
  786. package/style/visual-screenshots (1)/images/2b3af1d887b41d5123e82575fbfa3958.png +0 -0
  787. package/style/visual-screenshots (1)/images/2b8c160de3305bb7deef1bd108bd0850.png +0 -0
  788. package/style/visual-screenshots (1)/images/2b8df5a2aa5bea6bb21551b1ea4a5fe3.png +0 -0
  789. package/style/visual-screenshots (1)/images/2bb42f7f640cb97e6ddd996cc4bdf0da.png +0 -0
  790. package/style/visual-screenshots (1)/images/2c0ab17426c134629732d0a71b6a0745.png +0 -0
  791. package/style/visual-screenshots (1)/images/2c20e396014f9b12f047545579b878ca.png +0 -0
  792. package/style/visual-screenshots (1)/images/2c2c8816739b979c0a3dbdcbea9c8f98.png +0 -0
  793. package/style/visual-screenshots (1)/images/2c532e1252a0775b10aed847a4f06e4a.png +0 -0
  794. package/style/visual-screenshots (1)/images/2cdd6aee7de3219ce296baef83119f45.png +0 -0
  795. package/style/visual-screenshots (1)/images/2cebfc565448f890d0a3fa2de61cfd61.png +0 -0
  796. package/style/visual-screenshots (1)/images/2d76b6c335af030ecc073359d3565529.png +0 -0
  797. package/style/visual-screenshots (1)/images/2d7f41ff4f3900f029adbcdbdfdef905.png +0 -0
  798. package/style/visual-screenshots (1)/images/2d8b857c7a81cd7e90b75c9fcb974e09.png +0 -0
  799. package/style/visual-screenshots (1)/images/2e1f9e506e8e09a191c0d86899e8975a.png +0 -0
  800. package/style/visual-screenshots (1)/images/2e8755615c5b55dfeb5ced872b9b89f6.png +0 -0
  801. package/style/visual-screenshots (1)/images/2efe3ccdf954982fb10f12ceb79cc902.png +0 -0
  802. package/style/visual-screenshots (1)/images/2f2a4fe573c824c9c651ae5fb24e26f6.png +0 -0
  803. package/style/visual-screenshots (1)/images/2f426e5f71eae6eaf7bb54b4aafa88d6.png +0 -0
  804. package/style/visual-screenshots (1)/images/2f4e9578c9f11b5c8e2d034824689dce.png +0 -0
  805. package/style/visual-screenshots (1)/images/2f5ec86f7334a79914c09ee94eae2f8d.png +0 -0
  806. package/style/visual-screenshots (1)/images/2f76ed17b978cfa3e663760d5c651b0f.png +0 -0
  807. package/style/visual-screenshots (1)/images/2f8832e36833e875c53bdf68ac53de11.png +0 -0
  808. package/style/visual-screenshots (1)/images/2fe54d475ff814eaf2b323bfa6990a25.png +0 -0
  809. package/style/visual-screenshots (1)/images/30423ab0c5ce8c26a9b4e30fb4ad50b5.png +0 -0
  810. package/style/visual-screenshots (1)/images/3079876e71da7c207489af4b38314ca3.png +0 -0
  811. package/style/visual-screenshots (1)/images/30ac31802c8421ee59c2b0e64fdd40d1.png +0 -0
  812. package/style/visual-screenshots (1)/images/30efef6537f882daf60ba808d25ab35c.png +0 -0
  813. package/style/visual-screenshots (1)/images/3111d7bc39ef23e1d19a8022f2f78d4f.png +0 -0
  814. package/style/visual-screenshots (1)/images/3155c15ead85acf928e71fc4958b1e65.png +0 -0
  815. package/style/visual-screenshots (1)/images/317b0753146b2d6c57ef618e2d6c9aff.png +0 -0
  816. package/style/visual-screenshots (1)/images/31bb19c3949134774cce7f0af132f001.png +0 -0
  817. package/style/visual-screenshots (1)/images/32009df7a0440dc1227d6c59fcdc22a8.png +0 -0
  818. package/style/visual-screenshots (1)/images/3205ce4d4ec27524cb360e23cb250a2e.png +0 -0
  819. package/style/visual-screenshots (1)/images/3221fe82f718cdb8d3a013e35e75d966.png +0 -0
  820. package/style/visual-screenshots (1)/images/322755f4d634ab3e62663c98413cf4bb.png +0 -0
  821. package/style/visual-screenshots (1)/images/3263cb4ecdc16ecec1cf03d96c1d83d1.png +0 -0
  822. package/style/visual-screenshots (1)/images/329d69f11e6409b7e7855c3e576057f6.png +0 -0
  823. package/style/visual-screenshots (1)/images/32b3faa4eb5356a1ac8b30c722b7f282.png +0 -0
  824. package/style/visual-screenshots (1)/images/332160dde332162d8e3b9e12dd376546.png +0 -0
  825. package/style/visual-screenshots (1)/images/33519a891e6922542f2b3fc18ab26670.png +0 -0
  826. package/style/visual-screenshots (1)/images/33a7eaf167f347d52bc910511d2fc029.png +0 -0
  827. package/style/visual-screenshots (1)/images/33b0ac3141f5f2ea19f81d742269bcab.png +0 -0
  828. package/style/visual-screenshots (1)/images/343327cf17cc3b6a5e451c4d86577491.png +0 -0
  829. package/style/visual-screenshots (1)/images/3474b54aac010b234998e46521894bde.png +0 -0
  830. package/style/visual-screenshots (1)/images/34a84ed26a53ffb27dbcdabeaf10c665.png +0 -0
  831. package/style/visual-screenshots (1)/images/34efd6c9f4e5031eeb8c1f1a51bd3eaa.png +0 -0
  832. package/style/visual-screenshots (1)/images/3531a86fca237cc6d8764eb9eeb8e394.png +0 -0
  833. package/style/visual-screenshots (1)/images/3598a332200dbe7f32ab86015e6cd61e.png +0 -0
  834. package/style/visual-screenshots (1)/images/35a2ea7b24e787bdea1313703512d37f.png +0 -0
  835. package/style/visual-screenshots (1)/images/35ea4500d8a65ff3e52c0404ded68018.png +0 -0
  836. package/style/visual-screenshots (1)/images/363f015a5323e01c8f7c421607ba7a85.png +0 -0
  837. package/style/visual-screenshots (1)/images/365a47a407c464a973116590d1280542.png +0 -0
  838. package/style/visual-screenshots (1)/images/3666d49f301336a1d92abe8c48811dd0.png +0 -0
  839. package/style/visual-screenshots (1)/images/36a3aa27abb0e8fb45cbe4e842bb793b.png +0 -0
  840. package/style/visual-screenshots (1)/images/36be2d1cc4bbea216ebfa024f2b5d9d3.png +0 -0
  841. package/style/visual-screenshots (1)/images/36d5ce3a43f8a8bbaddb83a756174e09.png +0 -0
  842. package/style/visual-screenshots (1)/images/3715717d75b5ec943086b9392d05747a.png +0 -0
  843. package/style/visual-screenshots (1)/images/3718308a2535e0badb74e0ed39da3e98.png +0 -0
  844. package/style/visual-screenshots (1)/images/376d9c365f202b555efc6152eb4dbb7a.png +0 -0
  845. package/style/visual-screenshots (1)/images/37ff2d44fb6261e53203d05e1d130b48.png +0 -0
  846. package/style/visual-screenshots (1)/images/3829933c4a23d7033a63119484708ab4.png +0 -0
  847. package/style/visual-screenshots (1)/images/38c924efe546ddde14e0cb343a2ed551.png +0 -0
  848. package/style/visual-screenshots (1)/images/390f5b1f49dc988e023255d1878b769a.png +0 -0
  849. package/style/visual-screenshots (1)/images/394ab2b92eacbc9f634b3d0618b877d0.png +0 -0
  850. package/style/visual-screenshots (1)/images/3961f21e98b5d1f616215c9588f0c8ea.png +0 -0
  851. package/style/visual-screenshots (1)/images/396af4eab814a3a2dc1429581b3452b3.png +0 -0
  852. package/style/visual-screenshots (1)/images/3a3ec2d1cafe6685d14ef24be74aace4.png +0 -0
  853. package/style/visual-screenshots (1)/images/3ae1c7c33ebd96fe70ad90acc7b1d693.png +0 -0
  854. package/style/visual-screenshots (1)/images/3b19874ff7c8b2b92d6e200634b760c5.png +0 -0
  855. package/style/visual-screenshots (1)/images/3b4f2951c9cbd00ad924a358e0f24304.png +0 -0
  856. package/style/visual-screenshots (1)/images/3bc5adf4dec1f65342d09fa825073ee7.png +0 -0
  857. package/style/visual-screenshots (1)/images/3be29fbf67e05c10ef9effda5b0d1b9c.png +0 -0
  858. package/style/visual-screenshots (1)/images/3bfdd784ff28564271d8067439c72fb2.png +0 -0
  859. package/style/visual-screenshots (1)/images/3c101349056155ee16f6d40d67566bb2.png +0 -0
  860. package/style/visual-screenshots (1)/images/3c24263abc9fe6f48efe83953f33d38f.png +0 -0
  861. package/style/visual-screenshots (1)/images/3c4b7cb9bc584cc8d417763e4e332cad.png +0 -0
  862. package/style/visual-screenshots (1)/images/3cb9028699d3dc4a5ff9ed62acf26f38.png +0 -0
  863. package/style/visual-screenshots (1)/images/3d5e1f1170e3c54f19f3966925138df0.png +0 -0
  864. package/style/visual-screenshots (1)/images/3d7ee9ac11ff5492525a094beaa220b1.png +0 -0
  865. package/style/visual-screenshots (1)/images/3d82c97ab6d96c4026d0f3ca072b02ae.png +0 -0
  866. package/style/visual-screenshots (1)/images/3ec93ead42526589356ac0b756d043ec.png +0 -0
  867. package/style/visual-screenshots (1)/images/3f1b42c8f0cb41c374b0893eb31f2fda.png +0 -0
  868. package/style/visual-screenshots (1)/images/3ff96bd3c1034fe2a3af47eb4f729eeb.png +0 -0
  869. package/style/visual-screenshots (1)/images/400b3fe6558f8ae340d796c834456f82.png +0 -0
  870. package/style/visual-screenshots (1)/images/404d5c7fe65c1df1162feb7af57adadd.png +0 -0
  871. package/style/visual-screenshots (1)/images/4060b53b47c6e063d1770980ecb101b2.png +0 -0
  872. package/style/visual-screenshots (1)/images/40dd05574156c243449caad139d9b9a2.png +0 -0
  873. package/style/visual-screenshots (1)/images/40f479e6d12eaa5687a4ac9784aa717e.png +0 -0
  874. package/style/visual-screenshots (1)/images/40f48b85da52ec3ef05fa4696c72f7ff.png +0 -0
  875. package/style/visual-screenshots (1)/images/4169f0823fcd903e16d7c3f9344cc491.png +0 -0
  876. package/style/visual-screenshots (1)/images/419a4e8e4b8708b8e6ff45f643a7cf5d.png +0 -0
  877. package/style/visual-screenshots (1)/images/41c7990e66fbed660d2b55e76fd2ea25.png +0 -0
  878. package/style/visual-screenshots (1)/images/423ae4e26846f800ea31ed24d79e7472.png +0 -0
  879. package/style/visual-screenshots (1)/images/427c562ebb511d853cd3437eb8c73c0f.png +0 -0
  880. package/style/visual-screenshots (1)/images/428ec68c1c5771403f8939976018c14e.png +0 -0
  881. package/style/visual-screenshots (1)/images/4291cb1eaed75fba4800f0033b689208.png +0 -0
  882. package/style/visual-screenshots (1)/images/42ed1e77d86bf5e0d7a8f90acf2ab6b2.png +0 -0
  883. package/style/visual-screenshots (1)/images/4313e10ac1318b7526eed35c0d704f05.png +0 -0
  884. package/style/visual-screenshots (1)/images/438f453be7d1213a8e2872e4608a410c.png +0 -0
  885. package/style/visual-screenshots (1)/images/439f69b339c6f6ca820a4b62382ca877.png +0 -0
  886. package/style/visual-screenshots (1)/images/43f6607e4b8ff0d5f6c4c5d323c96677.png +0 -0
  887. package/style/visual-screenshots (1)/images/44caefac207b436ffeffdef86eaae21a.png +0 -0
  888. package/style/visual-screenshots (1)/images/44eaf11aa4495c9d8d76941a1254dcb0.png +0 -0
  889. package/style/visual-screenshots (1)/images/453742c5e578099953f9bff69e3982ef.png +0 -0
  890. package/style/visual-screenshots (1)/images/459214ef33a21425f776796767256e3c.png +0 -0
  891. package/style/visual-screenshots (1)/images/45a13beb6b9356d7b1b4690370914252.png +0 -0
  892. package/style/visual-screenshots (1)/images/45a569fd48a72db5047a02e192c35363.png +0 -0
  893. package/style/visual-screenshots (1)/images/45c1ac110c0dc20d35d2c2be1e469e49.png +0 -0
  894. package/style/visual-screenshots (1)/images/466d83d9df37025413fcc77e2528d150.png +0 -0
  895. package/style/visual-screenshots (1)/images/46ffc37786e06461d5ffc3c101841ea6.png +0 -0
  896. package/style/visual-screenshots (1)/images/4708081357611e1ad1adb36ea5f91ebe.png +0 -0
  897. package/style/visual-screenshots (1)/images/4799a82b4f5b3242bcf158dc12aeb8da.png +0 -0
  898. package/style/visual-screenshots (1)/images/47a4ae1ed1de0348708e630718bf58e0.png +0 -0
  899. package/style/visual-screenshots (1)/images/47cd6b92f4697a387f4392729f019da0.png +0 -0
  900. package/style/visual-screenshots (1)/images/47d36e03c0973961a65d47f31bbce64d.png +0 -0
  901. package/style/visual-screenshots (1)/images/48812bb1c24cf4529f36152c045aefe4.png +0 -0
  902. package/style/visual-screenshots (1)/images/48b348f52bcf73e7b84273b59414d9c0.png +0 -0
  903. package/style/visual-screenshots (1)/images/48ccc273160dcf8a8eee6caa44dacdd1.png +0 -0
  904. package/style/visual-screenshots (1)/images/4946b39b68b5cf6879cab368a43dde2d.png +0 -0
  905. package/style/visual-screenshots (1)/images/494f07c31c273d35487cbacefb179211.png +0 -0
  906. package/style/visual-screenshots (1)/images/495c33cb81b92e71a59064b036deacb3.png +0 -0
  907. package/style/visual-screenshots (1)/images/4988de5d9c64f2451adb83cc9781f31d.png +0 -0
  908. package/style/visual-screenshots (1)/images/4a5c84ab5b32f8b3652f31aca7f82547.png +0 -0
  909. package/style/visual-screenshots (1)/images/4abedbcd1f3c2b3cb5af44393cc4edd3.png +0 -0
  910. package/style/visual-screenshots (1)/images/4ac246764de2e6eaea78d1eee8fa0680.png +0 -0
  911. package/style/visual-screenshots (1)/images/4b49f29e64109f5d844bae574d9368e9.png +0 -0
  912. package/style/visual-screenshots (1)/images/4ba5027ab476151e2ba4f16cade9a316.png +0 -0
  913. package/style/visual-screenshots (1)/images/4be038b7049b5639096cdf45dc0166d5.png +0 -0
  914. package/style/visual-screenshots (1)/images/4be0509c9e49770d5d3ab93a9d824c0c.png +0 -0
  915. package/style/visual-screenshots (1)/images/4c007d54467c97735191d53b1b89700a.png +0 -0
  916. package/style/visual-screenshots (1)/images/4c04913dd6ac89f9c03580ffcfc9dce2.png +0 -0
  917. package/style/visual-screenshots (1)/images/4c39dc9b5530f8cfa389453f323f2562.png +0 -0
  918. package/style/visual-screenshots (1)/images/4cf7eb7fbbfcbad4194ef321b793a243.png +0 -0
  919. package/style/visual-screenshots (1)/images/4d34a53adeaf6b96b5f910e0e57f91f7.png +0 -0
  920. package/style/visual-screenshots (1)/images/4d3538775024b65cc11c656ee312bfb7.png +0 -0
  921. package/style/visual-screenshots (1)/images/4d614a3bd7821f52b699427abf3440e2.png +0 -0
  922. package/style/visual-screenshots (1)/images/4d85b89464845f56b18d7e329f1394a4.png +0 -0
  923. package/style/visual-screenshots (1)/images/4d9140a7a2defdf17daec4df653cccb8.png +0 -0
  924. package/style/visual-screenshots (1)/images/4e52657b6cd66fa0e8da6225c3923833.png +0 -0
  925. package/style/visual-screenshots (1)/images/4eb94875d887dfece7a7e2cc00425848.png +0 -0
  926. package/style/visual-screenshots (1)/images/4f3481e7bcab3c6a115931bdc7bde793.png +0 -0
  927. package/style/visual-screenshots (1)/images/4f736b3787086298b179837d13ea2e27.png +0 -0
  928. package/style/visual-screenshots (1)/images/4f7e9c28d6d15df090c3857fe8172a90.png +0 -0
  929. package/style/visual-screenshots (1)/images/4f831bf4925c85ef517fd84fed27cefc.png +0 -0
  930. package/style/visual-screenshots (1)/images/4f8cc269620de9911fba4dff6724c7a5.png +0 -0
  931. package/style/visual-screenshots (1)/images/4f9cf3ca13066408925b4d1cdc856337.png +0 -0
  932. package/style/visual-screenshots (1)/images/4fe4b5357ee618b9ca1265408d74ad97.png +0 -0
  933. package/style/visual-screenshots (1)/images/5018ce083222fefeb9e4686ed2e1edaf.png +0 -0
  934. package/style/visual-screenshots (1)/images/5022d94c55bd146ad125a05b5c9f15dd.png +0 -0
  935. package/style/visual-screenshots (1)/images/503a0b5aa58f32f0892efbb58b46b996.png +0 -0
  936. package/style/visual-screenshots (1)/images/50a9c832d93ea3ba546abb94fd08af87.png +0 -0
  937. package/style/visual-screenshots (1)/images/5118ecf3e50d06897080ed1b2bafcef3.png +0 -0
  938. package/style/visual-screenshots (1)/images/5158dd83988845a3839627ad959dbb01.png +0 -0
  939. package/style/visual-screenshots (1)/images/51923db19fef9e029f0893a8a2003614.png +0 -0
  940. package/style/visual-screenshots (1)/images/51f5169578f81f7fb04205fa02f761c6.png +0 -0
  941. package/style/visual-screenshots (1)/images/52525fe087784b1fdffe1cfc03eed02d.png +0 -0
  942. package/style/visual-screenshots (1)/images/5266c70656af2dd7ea757c126c555489.png +0 -0
  943. package/style/visual-screenshots (1)/images/5273adef332dbb60fac11c48a989c42d.png +0 -0
  944. package/style/visual-screenshots (1)/images/52cfe294a3f7300731ce4dbe4717bdea.png +0 -0
  945. package/style/visual-screenshots (1)/images/5328d69dc10bb02003c30fed0e25a64b.png +0 -0
  946. package/style/visual-screenshots (1)/images/53e6290d0b3f1294543ba28828558bae.png +0 -0
  947. package/style/visual-screenshots (1)/images/53eeaa26642fb7b44a83b9bf5d285b1a.png +0 -0
  948. package/style/visual-screenshots (1)/images/540524e243acf3f3f5bfa8c392ffba52.png +0 -0
  949. package/style/visual-screenshots (1)/images/5436543a753e26c1c2224e9b8ed3f30c.png +0 -0
  950. package/style/visual-screenshots (1)/images/54c4e2aa7af0622b71ab1b91e0216497.png +0 -0
  951. package/style/visual-screenshots (1)/images/54cf609aa15fa2609c3079a322e9f60a.png +0 -0
  952. package/style/visual-screenshots (1)/images/54e4e6b63e13d2f360b1bd0d1ade4ebd.png +0 -0
  953. package/style/visual-screenshots (1)/images/5505895e66a4d80a8eb40be714de2da1.png +0 -0
  954. package/style/visual-screenshots (1)/images/554637773a92e812811d95933b06d047.png +0 -0
  955. package/style/visual-screenshots (1)/images/55b1e1c7415f8f22ab377f2e4fd5a91d.png +0 -0
  956. package/style/visual-screenshots (1)/images/55c30ec12d513e3c365e94ef76330703.png +0 -0
  957. package/style/visual-screenshots (1)/images/5737582ac302d9b30b549c875dc0e823.png +0 -0
  958. package/style/visual-screenshots (1)/images/5838b2544ecf964a999cab746d5bd97d.png +0 -0
  959. package/style/visual-screenshots (1)/images/58b847761ee38a8c47f208aeb558e0a9.png +0 -0
  960. package/style/visual-screenshots (1)/images/58cae6127379fa56b766c6c3528a286a.png +0 -0
  961. package/style/visual-screenshots (1)/images/58cd807e8212d20223020a0c6404765b.png +0 -0
  962. package/style/visual-screenshots (1)/images/5909df37c419a947f3725ea71a9680c3.png +0 -0
  963. package/style/visual-screenshots (1)/images/590d2d0fa1c7e1204816f4badda94716.png +0 -0
  964. package/style/visual-screenshots (1)/images/592abe77a6d530f6d9c77c1fe68d1315.png +0 -0
  965. package/style/visual-screenshots (1)/images/593cacdf991a89066c6887dda6214279.png +0 -0
  966. package/style/visual-screenshots (1)/images/597612a74ca61e8e3cee1183251cac24.png +0 -0
  967. package/style/visual-screenshots (1)/images/59b59b3d221c4be96d27770926f6eb7c.png +0 -0
  968. package/style/visual-screenshots (1)/images/59d0c2dc9de3c7ca52811e6d03005db0.png +0 -0
  969. package/style/visual-screenshots (1)/images/59e20e58e24364f8ea8e94f2708de92f.png +0 -0
  970. package/style/visual-screenshots (1)/images/5a0638a95840412ad0883e0e14dd22f4.png +0 -0
  971. package/style/visual-screenshots (1)/images/5a251791db123f6cf0fc8207cd34d605.png +0 -0
  972. package/style/visual-screenshots (1)/images/5a8cf1ada7ead3e071e59c233e45d826.png +0 -0
  973. package/style/visual-screenshots (1)/images/5a98898f2c6c913e34e6370769a2e419.png +0 -0
  974. package/style/visual-screenshots (1)/images/5aa02d6e18a0fa7b46ad23263f5372f9.png +0 -0
  975. package/style/visual-screenshots (1)/images/5ab4fc80d22b19429b70cd3a6ab8bb05.png +0 -0
  976. package/style/visual-screenshots (1)/images/5acd13c49bb19fc300b6a7c2460945db.png +0 -0
  977. package/style/visual-screenshots (1)/images/5add1e2e0f9c785f9e969cce0b11e0a6.png +0 -0
  978. package/style/visual-screenshots (1)/images/5aeed5c2ec2ca7b5ae286bae76bb6f72.png +0 -0
  979. package/style/visual-screenshots (1)/images/5b2591966426d8c77601565dfa914b5c.png +0 -0
  980. package/style/visual-screenshots (1)/images/5b424b673e5f6814bbcc687a2f5ba7ff.png +0 -0
  981. package/style/visual-screenshots (1)/images/5bd4d4b7e0890bcb1d81ede114ee4b72.png +0 -0
  982. package/style/visual-screenshots (1)/images/5beea7f2f00f4db6f09fcf15bd6b73de.png +0 -0
  983. package/style/visual-screenshots (1)/images/5c02af94f4d5ed86c881612dcfb31b02.png +0 -0
  984. package/style/visual-screenshots (1)/images/5c0c0f1dbdb3aca383c35ec0cb67c599.png +0 -0
  985. package/style/visual-screenshots (1)/images/5c520e4228567e2374f5d96b7f15c0d9.png +0 -0
  986. package/style/visual-screenshots (1)/images/5cb10edf424ba13d586e83e60ac14a2d.png +0 -0
  987. package/style/visual-screenshots (1)/images/5cca63b3d493de7befd4382f24a2aabd.png +0 -0
  988. package/style/visual-screenshots (1)/images/5d5ef2d78f31c874edb28ebdfbfbd8f9.png +0 -0
  989. package/style/visual-screenshots (1)/images/5d8110526b6ba5e9621d0f2fa57aa132.png +0 -0
  990. package/style/visual-screenshots (1)/images/5d8f7a0eff0b6d546331f921490f25b9.png +0 -0
  991. package/style/visual-screenshots (1)/images/5eab49b89384ab1f74be37d4e905021a.png +0 -0
  992. package/style/visual-screenshots (1)/images/5ebfae0149ca72238011292fa3e486cb.png +0 -0
  993. package/style/visual-screenshots (1)/images/5ecd509cfe196a8262a7e85d3d4c64b0.png +0 -0
  994. package/style/visual-screenshots (1)/images/5f153464c343cd768216633b852073e7.png +0 -0
  995. package/style/visual-screenshots (1)/images/5f69e3fcc20bdb527e040185048788e4.png +0 -0
  996. package/style/visual-screenshots (1)/images/5fb4421e5a6d1eaef21a54bb431bdacb.png +0 -0
  997. package/style/visual-screenshots (1)/images/5fd1665ddd85bf70339a29ddf3a98915.png +0 -0
  998. package/style/visual-screenshots (1)/images/602fb4d5d2c9707f008b0d6a1a0487a7.png +0 -0
  999. package/style/visual-screenshots (1)/images/604007e0cd1142f4e425d57ad9a1c5ef.png +0 -0
  1000. package/style/visual-screenshots (1)/images/605d581f35cd72dc9d7083dcc8066af1.png +0 -0
  1001. package/style/visual-screenshots (1)/images/6188b93026521a32345a4319fb10271e.png +0 -0
  1002. package/style/visual-screenshots (1)/images/621e7fcf64cbb08d121b599a81acb46a.png +0 -0
  1003. package/style/visual-screenshots (1)/images/626302e61eedc90d62298f66f46b8ec0.png +0 -0
  1004. package/style/visual-screenshots (1)/images/6289549bdd1f3ba4ee0ffa76fa3a8636.png +0 -0
  1005. package/style/visual-screenshots (1)/images/62a7d5f3d5afe23177d5dbab5f1e4c79.png +0 -0
  1006. package/style/visual-screenshots (1)/images/6355a9180ed5c4dd8df56c9ead71b0c8.png +0 -0
  1007. package/style/visual-screenshots (1)/images/63981d8aaadcbe9b9e73af3669b3c180.png +0 -0
  1008. package/style/visual-screenshots (1)/images/63bd485372b912309753349358f50eda.png +0 -0
  1009. package/style/visual-screenshots (1)/images/6415c0bc3637ea962fb1761ae69b5dda.png +0 -0
  1010. package/style/visual-screenshots (1)/images/64174556b9d8b4d18b7b8cfd531987a7.png +0 -0
  1011. package/style/visual-screenshots (1)/images/64443c554e8813c1fff9032b53c52b76.png +0 -0
  1012. package/style/visual-screenshots (1)/images/6478d52ea2380b15c4b549d9a1f77bac.png +0 -0
  1013. package/style/visual-screenshots (1)/images/649745ba63be2d7bf9d4f766d7b8ca38.png +0 -0
  1014. package/style/visual-screenshots (1)/images/64f2a771825679d512c73923c1bd5184.png +0 -0
  1015. package/style/visual-screenshots (1)/images/65147f30150f68dd99a34e3de9adb4a2.png +0 -0
  1016. package/style/visual-screenshots (1)/images/651e96edc124365985fcf260c7695452.png +0 -0
  1017. package/style/visual-screenshots (1)/images/6542deed80a8908b2ba2e40b482a5829.png +0 -0
  1018. package/style/visual-screenshots (1)/images/6548c65bf55806aa5acde87bc4d2017e.png +0 -0
  1019. package/style/visual-screenshots (1)/images/65be34b043114b668dad4ce359310ad3.png +0 -0
  1020. package/style/visual-screenshots (1)/images/65f1fc5ed87fb18c756988c6719c3b05.png +0 -0
  1021. package/style/visual-screenshots (1)/images/6618ae614b5a59f18f1f9f627b81f0ba.png +0 -0
  1022. package/style/visual-screenshots (1)/images/6710405c63cd71667e3533429bc8ac74.png +0 -0
  1023. package/style/visual-screenshots (1)/images/675177ec55467292992f6c641b44352e.png +0 -0
  1024. package/style/visual-screenshots (1)/images/679ff4b5301290556ec91463a47cf018.png +0 -0
  1025. package/style/visual-screenshots (1)/images/67d9619b97865d42f5617413a025f62a.png +0 -0
  1026. package/style/visual-screenshots (1)/images/686cdd39835b173225bd0b6ce4448b88.png +0 -0
  1027. package/style/visual-screenshots (1)/images/6874ed35cef726f65cda16ed1d544b35.png +0 -0
  1028. package/style/visual-screenshots (1)/images/68a92328d49b056ca74e3abe51c91d76.png +0 -0
  1029. package/style/visual-screenshots (1)/images/68b78b4cec15c23fa5e7d0148bead95f.png +0 -0
  1030. package/style/visual-screenshots (1)/images/68bca5cfcf4cb2cf91bbae3869730a14.png +0 -0
  1031. package/style/visual-screenshots (1)/images/68c9260329ceafbae03b1cf59a2dc832.png +0 -0
  1032. package/style/visual-screenshots (1)/images/698a7f9c8600bee3c0154879e8642fb8.png +0 -0
  1033. package/style/visual-screenshots (1)/images/698be3296b927df039453c078d8c5e90.png +0 -0
  1034. package/style/visual-screenshots (1)/images/69995300e1755ca4f61767ebb603e28d.png +0 -0
  1035. package/style/visual-screenshots (1)/images/69b579e4e3d21f8d7c6bb64fa7dec383.png +0 -0
  1036. package/style/visual-screenshots (1)/images/69c6368a387225497235ea4cabbbe05d.png +0 -0
  1037. package/style/visual-screenshots (1)/images/69cdde73ed1979a49fa379514fb747ea.png +0 -0
  1038. package/style/visual-screenshots (1)/images/69d4879c64376442acf44968fb02d9a6.png +0 -0
  1039. package/style/visual-screenshots (1)/images/6a152f420237560d826a59b1ba95c6e8.png +0 -0
  1040. package/style/visual-screenshots (1)/images/6a1e34197166e3475343c3ba9a4ce398.png +0 -0
  1041. package/style/visual-screenshots (1)/images/6a2d5d8d6ff350c3b22a97e221506c72.png +0 -0
  1042. package/style/visual-screenshots (1)/images/6a7102578dc5e69e6eed2dd81169959d.png +0 -0
  1043. package/style/visual-screenshots (1)/images/6a76062bfc3391871480fbaed258138f.png +0 -0
  1044. package/style/visual-screenshots (1)/images/6a98dfe1e3633e72cf1fc24d6f6b641b.png +0 -0
  1045. package/style/visual-screenshots (1)/images/6abbbe132416f98c6a1cb3a1897cc551.png +0 -0
  1046. package/style/visual-screenshots (1)/images/6b443b374cbe7fd349b21cd82a439dd6.png +0 -0
  1047. package/style/visual-screenshots (1)/images/6bb098fcece5553a617d03e539e2b14d.png +0 -0
  1048. package/style/visual-screenshots (1)/images/6bcde51c95aafa27fed83fd83b8f0397.png +0 -0
  1049. package/style/visual-screenshots (1)/images/6c156cba7e8245e73aefe4afbd35276d.png +0 -0
  1050. package/style/visual-screenshots (1)/images/6c569ef8ad97932e1a82ac1ed9e30960.png +0 -0
  1051. package/style/visual-screenshots (1)/images/6c91461ed0c3153c9c403d1ab687dbe5.png +0 -0
  1052. package/style/visual-screenshots (1)/images/6cae73cd2745b0af1530ae4e9cb9ebfa.png +0 -0
  1053. package/style/visual-screenshots (1)/images/6d470bf081f9dfcf72f63d5ef93e627e.png +0 -0
  1054. package/style/visual-screenshots (1)/images/6d6fcb40cbe35f57b4a2caced4ab52c1.png +0 -0
  1055. package/style/visual-screenshots (1)/images/6d8758b4434c1abb115eb61256323a84.png +0 -0
  1056. package/style/visual-screenshots (1)/images/6d8bd755e87330765b74bce670116692.png +0 -0
  1057. package/style/visual-screenshots (1)/images/6e42402b7dd8bc3a23292b766284e384.png +0 -0
  1058. package/style/visual-screenshots (1)/images/6e9e15b49f9bd7e2b60f666b85f4c3b7.png +0 -0
  1059. package/style/visual-screenshots (1)/images/6ecd70c7e06430c86fd514a412dcc6f4.png +0 -0
  1060. package/style/visual-screenshots (1)/images/6f3b3334cd7e0046e583348aa29babcf.png +0 -0
  1061. package/style/visual-screenshots (1)/images/6f5da1c8d233cf9d5e8e88fd2ef3ec0a.png +0 -0
  1062. package/style/visual-screenshots (1)/images/6fa2cf8bec030e4a0749e769ba026482.png +0 -0
  1063. package/style/visual-screenshots (1)/images/6fe1a8093050cb06ea5b1c3334503e24.png +0 -0
  1064. package/style/visual-screenshots (1)/images/7005941c708d4fec5abcdc7e6e10bab8.png +0 -0
  1065. package/style/visual-screenshots (1)/images/700ade8610923958d3f90d68dfa4e05b.png +0 -0
  1066. package/style/visual-screenshots (1)/images/7038ca0faeb969aa8e7e62cd4f626e6f.png +0 -0
  1067. package/style/visual-screenshots (1)/images/706755c17ed932b4bef33524f6daa4f5.png +0 -0
  1068. package/style/visual-screenshots (1)/images/706dfb70e1074e2aad57ab8526b0f360.png +0 -0
  1069. package/style/visual-screenshots (1)/images/70a28845b5c345c56575b55667b70da1.png +0 -0
  1070. package/style/visual-screenshots (1)/images/70b41db21992f19bda5e6b0f70c1fc09.png +0 -0
  1071. package/style/visual-screenshots (1)/images/70bdf7355dba6c76a2d79bde106e6d1d.png +0 -0
  1072. package/style/visual-screenshots (1)/images/70be87330902c743947ed9e77285f871.png +0 -0
  1073. package/style/visual-screenshots (1)/images/70c8dce297f073384a4e8079bff68adf.png +0 -0
  1074. package/style/visual-screenshots (1)/images/7129b9342de7f5e37c6eeeb9e174e2de.png +0 -0
  1075. package/style/visual-screenshots (1)/images/715b51ef2b67f378bba07e7ad9343754.png +0 -0
  1076. package/style/visual-screenshots (1)/images/71efbcd39c9d1ace0e25003ceb0db23e.png +0 -0
  1077. package/style/visual-screenshots (1)/images/7245e631025f99f3554df69b14a843fa.png +0 -0
  1078. package/style/visual-screenshots (1)/images/7268f09b0b1a0e124434eca4bbd818fa.png +0 -0
  1079. package/style/visual-screenshots (1)/images/7329d3d684fa7430845616c496c3e3d5.png +0 -0
  1080. package/style/visual-screenshots (1)/images/73ff7a530dde350815d23ff6a24031a0.png +0 -0
  1081. package/style/visual-screenshots (1)/images/743a4ff37dbc8c26ed1379fad764407d.png +0 -0
  1082. package/style/visual-screenshots (1)/images/745ce91134a9c726aee22be8e5dfcd28.png +0 -0
  1083. package/style/visual-screenshots (1)/images/7476eb8a4b6b6c21d7366cd7b839cd8e.png +0 -0
  1084. package/style/visual-screenshots (1)/images/74a5d110629e8bed44951ecc69d46e37.png +0 -0
  1085. package/style/visual-screenshots (1)/images/74d2a451e8fe666e4cdd4ee104e3fbcb.png +0 -0
  1086. package/style/visual-screenshots (1)/images/76dcdcc9887459636f81578fa8e72f0d.png +0 -0
  1087. package/style/visual-screenshots (1)/images/772fd7072ade47ddd50f5daf9fe78b06.png +0 -0
  1088. package/style/visual-screenshots (1)/images/77555003b57945e07b81f4bbc8da45a5.png +0 -0
  1089. package/style/visual-screenshots (1)/images/7845c6559ae2b8cfa3eec51d52e628c1.png +0 -0
  1090. package/style/visual-screenshots (1)/images/784772bde66cc378572a46b681b6cafe.png +0 -0
  1091. package/style/visual-screenshots (1)/images/791f88fcb8a69681a876b21c6059e038.png +0 -0
  1092. package/style/visual-screenshots (1)/images/7a14e2ed34311c3ddd03ab2b7e8b57e5.png +0 -0
  1093. package/style/visual-screenshots (1)/images/7a5376f8127ccbce92efa2dc7d6e434a.png +0 -0
  1094. package/style/visual-screenshots (1)/images/7b05dd84aacb821c812f835a0580c001.png +0 -0
  1095. package/style/visual-screenshots (1)/images/7b11547ab77114942b3590f5274ccb36.png +0 -0
  1096. package/style/visual-screenshots (1)/images/7b6676b606f3fd4fa89d824c97473517.png +0 -0
  1097. package/style/visual-screenshots (1)/images/7b6e5af31520f5e8813017dd4f98c8d6.png +0 -0
  1098. package/style/visual-screenshots (1)/images/7b89bf68bb12f5cee6947bd5af2520d7.png +0 -0
  1099. package/style/visual-screenshots (1)/images/7b90db4c1dcaeed7cf71f5bae65d327a.png +0 -0
  1100. package/style/visual-screenshots (1)/images/7bb540ca4abee17cdffe6944c8ff0948.png +0 -0
  1101. package/style/visual-screenshots (1)/images/7c01812ede9c4d58571ccf59904bb1b1.png +0 -0
  1102. package/style/visual-screenshots (1)/images/7c096666a0954392e0d657c8759963eb.png +0 -0
  1103. package/style/visual-screenshots (1)/images/7c7593da4f5a9d04f800284023edb554.png +0 -0
  1104. package/style/visual-screenshots (1)/images/7c82ecbc586641289f31f0cc27b017cd.png +0 -0
  1105. package/style/visual-screenshots (1)/images/7c8e1def6b12da12f07536140e2b88b3.png +0 -0
  1106. package/style/visual-screenshots (1)/images/7c916534306207f114d952bfe9340e5e.png +0 -0
  1107. package/style/visual-screenshots (1)/images/7d3331d3cf93defe00a04cd10c57c6c6.png +0 -0
  1108. package/style/visual-screenshots (1)/images/7da3d1c71e1e4b088f77e751a940b6a2.png +0 -0
  1109. package/style/visual-screenshots (1)/images/7da65ded5bfe4c858e0c24ff1e1aa22d.png +0 -0
  1110. package/style/visual-screenshots (1)/images/7daca2b5b705d27e8d5090f7dbb8acac.png +0 -0
  1111. package/style/visual-screenshots (1)/images/7e8b4c9c2ac796fd5c5c730a430ef2e4.png +0 -0
  1112. package/style/visual-screenshots (1)/images/7f06654399aca40b333099bec24468af.png +0 -0
  1113. package/style/visual-screenshots (1)/images/7f8ae3d8e54291115e892c51d485df16.png +0 -0
  1114. package/style/visual-screenshots (1)/images/7fb8ddb922c39be025d60076f51efcbd.png +0 -0
  1115. package/style/visual-screenshots (1)/images/7fc57b3e4c1d14d0a86891a6c80ff12f.png +0 -0
  1116. package/style/visual-screenshots (1)/images/8062b189081773e44a640a8d067046a0.png +0 -0
  1117. package/style/visual-screenshots (1)/images/8083c957effa18fb290a5b0bdf2ad6cb.png +0 -0
  1118. package/style/visual-screenshots (1)/images/80bbb318ca9792a3f16de017ea346d0c.png +0 -0
  1119. package/style/visual-screenshots (1)/images/81c89f3dbeafdd793458d9339c7c607b.png +0 -0
  1120. package/style/visual-screenshots (1)/images/81d7507828e5d8d66f7e161f74e45405.png +0 -0
  1121. package/style/visual-screenshots (1)/images/82045c605de46b4aa7f386601ddb8884.png +0 -0
  1122. package/style/visual-screenshots (1)/images/8245fbfd4b80b96b0254563f86b726ba.png +0 -0
  1123. package/style/visual-screenshots (1)/images/82497fc1570674a5421e926475feac1b.png +0 -0
  1124. package/style/visual-screenshots (1)/images/8252196c9f384ba181cc026acd29d928.png +0 -0
  1125. package/style/visual-screenshots (1)/images/82706af2011a1e7149813131c420a1fa.png +0 -0
  1126. package/style/visual-screenshots (1)/images/82a37a51e30a418ac408149f02adbbee.png +0 -0
  1127. package/style/visual-screenshots (1)/images/83080cdc524b169211c70c9dfdb6fd9e.png +0 -0
  1128. package/style/visual-screenshots (1)/images/830ba1a526dd905bce415b056de3ddb9.png +0 -0
  1129. package/style/visual-screenshots (1)/images/833dc08e69770233fa3915653b3dfb4d.png +0 -0
  1130. package/style/visual-screenshots (1)/images/8375d9df6b63faa9f30eda79e8c80a83.png +0 -0
  1131. package/style/visual-screenshots (1)/images/839c2b39bcaa6830906b9da5d890c1ae.png +0 -0
  1132. package/style/visual-screenshots (1)/images/8431110776be033ec282fd895a9ae813.png +0 -0
  1133. package/style/visual-screenshots (1)/images/851318a57f46c9da1144fe8faf984da4.png +0 -0
  1134. package/style/visual-screenshots (1)/images/8514c1d4ee26054ee07d11a0fe33f0db.png +0 -0
  1135. package/style/visual-screenshots (1)/images/855d767000e9a4a272a2e753628a8474.png +0 -0
  1136. package/style/visual-screenshots (1)/images/85d83f9f94a1adc9dcb60e0c13db29c1.png +0 -0
  1137. package/style/visual-screenshots (1)/images/86236e1f7726cc775fdfbd9d967b892e.png +0 -0
  1138. package/style/visual-screenshots (1)/images/865d7994dfb71cc52f659c784ab77089.png +0 -0
  1139. package/style/visual-screenshots (1)/images/867dba1a3a0e5d10d9852a57eaf4f7f2.png +0 -0
  1140. package/style/visual-screenshots (1)/images/868a694b756597afd5cbd8991ed9fa6e.png +0 -0
  1141. package/style/visual-screenshots (1)/images/86fd1791a257ca240a96d32f587a6798.png +0 -0
  1142. package/style/visual-screenshots (1)/images/8731210b8a1307c635c914344026cd7c.png +0 -0
  1143. package/style/visual-screenshots (1)/images/874d6a50e723c879a585b73e4e54229b.png +0 -0
  1144. package/style/visual-screenshots (1)/images/8753b744d14e6bf1be2fd926a564c3e9.png +0 -0
  1145. package/style/visual-screenshots (1)/images/87eeecd4041819cac6f766c67f879a0d.png +0 -0
  1146. package/style/visual-screenshots (1)/images/8816c9e1431fdfd5465d5a40c052309b.png +0 -0
  1147. package/style/visual-screenshots (1)/images/885b77ceaf7e7a8908fd5b147c5a5217.png +0 -0
  1148. package/style/visual-screenshots (1)/images/8923cdd532219aac9e71558dbd1186f9.png +0 -0
  1149. package/style/visual-screenshots (1)/images/894bd3d4137d2ca7f4f71b2d53de379c.png +0 -0
  1150. package/style/visual-screenshots (1)/images/8a801b5532051d67612de96df713f59a.png +0 -0
  1151. package/style/visual-screenshots (1)/images/8aca19545cb02a7fd00f5d84a1fc4ee1.png +0 -0
  1152. package/style/visual-screenshots (1)/images/8ae35388a8ed4604acc175b6953b1a12.png +0 -0
  1153. package/style/visual-screenshots (1)/images/8b12f8f1234a0fdcd5cb800f5fdd4704.png +0 -0
  1154. package/style/visual-screenshots (1)/images/8b674a86e1db9dda1dedaa07cc25a569.png +0 -0
  1155. package/style/visual-screenshots (1)/images/8b7cd1fafd046cdd7200189a3a8e424f.png +0 -0
  1156. package/style/visual-screenshots (1)/images/8ba1ee43c2d10f779da98898000d6d6f.png +0 -0
  1157. package/style/visual-screenshots (1)/images/8bfc88f25acf24bb557f3790231b9cc5.png +0 -0
  1158. package/style/visual-screenshots (1)/images/8c0bc63f7d57338b59338292b4d20e1c.png +0 -0
  1159. package/style/visual-screenshots (1)/images/8c2a062564d8b55e5686d80995c0132e.png +0 -0
  1160. package/style/visual-screenshots (1)/images/8c98ce176a13df14843cbb6423fd6440.png +0 -0
  1161. package/style/visual-screenshots (1)/images/8cc5eded9abb67747e8a18cefb51df6d.png +0 -0
  1162. package/style/visual-screenshots (1)/images/8d31ec4d9f7bbc9f753f70f2e2fe7781.png +0 -0
  1163. package/style/visual-screenshots (1)/images/8d4761d0c860b4bdc923c78a60c6c7db.png +0 -0
  1164. package/style/visual-screenshots (1)/images/8d8c786a27f502d297333e0f65e5fe7e.png +0 -0
  1165. package/style/visual-screenshots (1)/images/8da3dcbc2a7e12489844a3d5e034ce78.png +0 -0
  1166. package/style/visual-screenshots (1)/images/8e4e5baa65c536003c41d48d4a9d468c.png +0 -0
  1167. package/style/visual-screenshots (1)/images/8e8f3e052eed01419d45167ec3d31705.png +0 -0
  1168. package/style/visual-screenshots (1)/images/8ec5450454d067c364839f82e25a956d.png +0 -0
  1169. package/style/visual-screenshots (1)/images/8ed1408bb2065b8a868349005c1f140d.png +0 -0
  1170. package/style/visual-screenshots (1)/images/8f1c9b14d29c9264c5491f98fa9de9e8.png +0 -0
  1171. package/style/visual-screenshots (1)/images/8f5f36e9fcfb73d98fc44d844ead6bcd.png +0 -0
  1172. package/style/visual-screenshots (1)/images/8f69a3e8bb80e42b327daa0413f484a3.png +0 -0
  1173. package/style/visual-screenshots (1)/images/8fbd2b83ca71d26193f78355c1a7469d.png +0 -0
  1174. package/style/visual-screenshots (1)/images/9026dfe577f38e5be6fec9dafa010056.png +0 -0
  1175. package/style/visual-screenshots (1)/images/906cf5fcfc43ec7f7a1743b1fbba08d0.png +0 -0
  1176. package/style/visual-screenshots (1)/images/909185691877d3ab730fbc98e563b5cc.png +0 -0
  1177. package/style/visual-screenshots (1)/images/9093d74b6c429faa6d6098bb3b42122e.png +0 -0
  1178. package/style/visual-screenshots (1)/images/90b4a73410a4a0f48bf9d2803fc71b38.png +0 -0
  1179. package/style/visual-screenshots (1)/images/90c068953b90c743da83a12da5204a0e.png +0 -0
  1180. package/style/visual-screenshots (1)/images/914841508f534fc579907f3ff4e94eda.png +0 -0
  1181. package/style/visual-screenshots (1)/images/926a60a1ac5968259e786e8c4c8c9d26.png +0 -0
  1182. package/style/visual-screenshots (1)/images/93f5b096a1eb89744a98d090479f90c9.png +0 -0
  1183. package/style/visual-screenshots (1)/images/946bbf46e754018058a8a17e5781b37c.png +0 -0
  1184. package/style/visual-screenshots (1)/images/94a53d14a1e5f3fcb2f22b91642dc2cb.png +0 -0
  1185. package/style/visual-screenshots (1)/images/94f93fc2109c3efac0cc508846fc09c6.png +0 -0
  1186. package/style/visual-screenshots (1)/images/953979d501129c69e5cc0e1fd9acedf9.png +0 -0
  1187. package/style/visual-screenshots (1)/images/9554d90e572ac282fec64cefe1d65eae.png +0 -0
  1188. package/style/visual-screenshots (1)/images/95a3854979faaf7e3da15b81212fdddd.png +0 -0
  1189. package/style/visual-screenshots (1)/images/95d64ce8dc7d7f80747dbb433cbd69b2.png +0 -0
  1190. package/style/visual-screenshots (1)/images/95f250a29638c7a592e162fe065bc851.png +0 -0
  1191. package/style/visual-screenshots (1)/images/962f28dd09eac1fa2811894bf4be9b70.png +0 -0
  1192. package/style/visual-screenshots (1)/images/964706df4434f4e905f967de3d3dc125.png +0 -0
  1193. package/style/visual-screenshots (1)/images/9681d81d32fb1f90ca44c3f69b9f0921.png +0 -0
  1194. package/style/visual-screenshots (1)/images/97660bd70cc5e96d6258c1ed95c0935c.png +0 -0
  1195. package/style/visual-screenshots (1)/images/976ebf4299d8ca702219b1e74419f704.png +0 -0
  1196. package/style/visual-screenshots (1)/images/97cf49835bd0c2bf7811a7bdf3be89bc.png +0 -0
  1197. package/style/visual-screenshots (1)/images/97e8a0e95dcff699c46f9b1b88b87d8a.png +0 -0
  1198. package/style/visual-screenshots (1)/images/9807fabc447e7dae30fbbe6754e02c0d.png +0 -0
  1199. package/style/visual-screenshots (1)/images/98ee9e5fb88515a8dbf5fe0e091c993a.png +0 -0
  1200. package/style/visual-screenshots (1)/images/9997cd9e92d50b13a900ecb22fc74e83.png +0 -0
  1201. package/style/visual-screenshots (1)/images/9a0b82d87e48b2c9e146bfbd4b51a177.png +0 -0
  1202. package/style/visual-screenshots (1)/images/9a41a04f72770185eb42d3941627c6a1.png +0 -0
  1203. package/style/visual-screenshots (1)/images/9a5b6ff3d85a26850b93d3129de94bbc.png +0 -0
  1204. package/style/visual-screenshots (1)/images/9a9397907d86e4bdce381d4017ec5c33.png +0 -0
  1205. package/style/visual-screenshots (1)/images/9ae63f1d387740d15676acf9a5bc48b8.png +0 -0
  1206. package/style/visual-screenshots (1)/images/9b00734aa8cbf1a9acd3fbf08c137b0a.png +0 -0
  1207. package/style/visual-screenshots (1)/images/9b07449ac15dc7e1d1deb9b825be0924.png +0 -0
  1208. package/style/visual-screenshots (1)/images/9b18a6ddb96cbd44795e2bbc536f4f2a.png +0 -0
  1209. package/style/visual-screenshots (1)/images/9b4014c74037f975344b9ac678229e65.png +0 -0
  1210. package/style/visual-screenshots (1)/images/9b5118241eb4c97880a8a53129b9ea63.png +0 -0
  1211. package/style/visual-screenshots (1)/images/9b594e815378bc9a2ef6cd6251dc9d6b.png +0 -0
  1212. package/style/visual-screenshots (1)/images/9bc0a1284fc2c56e95ff22ae764e02c0.png +0 -0
  1213. package/style/visual-screenshots (1)/images/9bdf5a8be0ecbe48e58b74552e4c5888.png +0 -0
  1214. package/style/visual-screenshots (1)/images/9ce93b76501e11f52d1d6c27c6d3afb7.png +0 -0
  1215. package/style/visual-screenshots (1)/images/9d272894b4135cdb24bd6dd6d23dd421.png +0 -0
  1216. package/style/visual-screenshots (1)/images/9d3806b2870669edff4fea8574250bf7.png +0 -0
  1217. package/style/visual-screenshots (1)/images/9d6ec965e5a23731bd189dfbb3c80e84.png +0 -0
  1218. package/style/visual-screenshots (1)/images/9da4037f79a0f2ad50f8adc04687eb12.png +0 -0
  1219. package/style/visual-screenshots (1)/images/9dcd7eda71b2347d026409b2342b3e39.png +0 -0
  1220. package/style/visual-screenshots (1)/images/9de702c3bb72425b0e61d0b4d5a30b82.png +0 -0
  1221. package/style/visual-screenshots (1)/images/9e08fce5233bbc69e681eb1ef349acc0.png +0 -0
  1222. package/style/visual-screenshots (1)/images/9ea6570856b521aa566047e92d0f8305.png +0 -0
  1223. package/style/visual-screenshots (1)/images/9ebdf4d34c2713e0f0cedb0c778b2c35.png +0 -0
  1224. package/style/visual-screenshots (1)/images/9ec5435fc1248519bcc369f282c010c9.png +0 -0
  1225. package/style/visual-screenshots (1)/images/9ee6d0e821a1f9c789514aef157a40ee.png +0 -0
  1226. package/style/visual-screenshots (1)/images/9f1bfd0ae43a5c83303dcf205dc86aac.png +0 -0
  1227. package/style/visual-screenshots (1)/images/9f268b6848b910b5d9c8094077405609.png +0 -0
  1228. package/style/visual-screenshots (1)/images/9f3bdce5cba7a4c333f3e4e32697ed1e.png +0 -0
  1229. package/style/visual-screenshots (1)/images/9fa64b6dd5e2432e5ac5be0125de88c5.png +0 -0
  1230. package/style/visual-screenshots (1)/images/a00ff5334e96e86b5de74ca70e158365.png +0 -0
  1231. package/style/visual-screenshots (1)/images/a0273543e221b5e74f2f92eedff87bbf.png +0 -0
  1232. package/style/visual-screenshots (1)/images/a0860b4739ea0bf437f0fa1dc983edcc.png +0 -0
  1233. package/style/visual-screenshots (1)/images/a09b998ff83fe0c8ba190c43be2c8281.png +0 -0
  1234. package/style/visual-screenshots (1)/images/a0a9b6948dfa55de2c2391e66f116bef.png +0 -0
  1235. package/style/visual-screenshots (1)/images/a0d9fd7c91a3666c82a8a1d1473647ff.png +0 -0
  1236. package/style/visual-screenshots (1)/images/a122b735ee40793efef3ad06ff66c62a.png +0 -0
  1237. package/style/visual-screenshots (1)/images/a1595ea5cac31981a01027ab16de609d.png +0 -0
  1238. package/style/visual-screenshots (1)/images/a19c2ba30b43cb891f2536ebda33b5b9.png +0 -0
  1239. package/style/visual-screenshots (1)/images/a19daa3bfb03b36036e5954c38b3c09b.png +0 -0
  1240. package/style/visual-screenshots (1)/images/a1c13afc2158133f6f248eeec0c213c9.png +0 -0
  1241. package/style/visual-screenshots (1)/images/a234da24efdb5886b5017293c9ec4983.png +0 -0
  1242. package/style/visual-screenshots (1)/images/a267c84cc70ffcfd9f9098872b4d0e33.png +0 -0
  1243. package/style/visual-screenshots (1)/images/a29ab04f7b14796a43ec1004d07e1191.png +0 -0
  1244. package/style/visual-screenshots (1)/images/a331b266be3fe60d1510fc44c8462f8b.png +0 -0
  1245. package/style/visual-screenshots (1)/images/a3b55159499c5529bdb159350ea483f8.png +0 -0
  1246. package/style/visual-screenshots (1)/images/a3d54f0bbe60534633595f92c0af0606.png +0 -0
  1247. package/style/visual-screenshots (1)/images/a3f82ac3c6348fa4452a198cb503860d.png +0 -0
  1248. package/style/visual-screenshots (1)/images/a481b24ed810261cbae6bce62a1fd6da.png +0 -0
  1249. package/style/visual-screenshots (1)/images/a4da8641e0ebce45d567a27b1b9d71c9.png +0 -0
  1250. package/style/visual-screenshots (1)/images/a4e17fa06168594ff442f3d84ca346e0.png +0 -0
  1251. package/style/visual-screenshots (1)/images/a4ec66bb6e0a2bf7d26898a7ec6fa6cb.png +0 -0
  1252. package/style/visual-screenshots (1)/images/a4f5b46346578f27b509ab8ba9062b2a.png +0 -0
  1253. package/style/visual-screenshots (1)/images/a524cc5916040ea0985aa14f5039cd08.png +0 -0
  1254. package/style/visual-screenshots (1)/images/a56c0004f5f488bc5f4f8812479ff919.png +0 -0
  1255. package/style/visual-screenshots (1)/images/a5760e6af3aac912f3c69d88eabc9571.png +0 -0
  1256. package/style/visual-screenshots (1)/images/a5823b26b36bef69818dc786e72722c7.png +0 -0
  1257. package/style/visual-screenshots (1)/images/a59e098a82b3b2b4a8e6e6e0ae9a82ee.png +0 -0
  1258. package/style/visual-screenshots (1)/images/a5b60fb10746df7698e43bccb21df11b.png +0 -0
  1259. package/style/visual-screenshots (1)/images/a5e9bd136ccd404fa0c0a275e757246f.png +0 -0
  1260. package/style/visual-screenshots (1)/images/a62e4c8295a725e4a66cc2ec4408c4bd.png +0 -0
  1261. package/style/visual-screenshots (1)/images/a6492327cb0dabcd2d74dbd1816f422d.png +0 -0
  1262. package/style/visual-screenshots (1)/images/a6cfa33b833e8507b5f3cbfa260ee54f.png +0 -0
  1263. package/style/visual-screenshots (1)/images/a75a60a4aa5b275fd399051abf56d08e.png +0 -0
  1264. package/style/visual-screenshots (1)/images/a770465023ed9653c5209e93264e927e.png +0 -0
  1265. package/style/visual-screenshots (1)/images/a83dbd9419c386d226bee5eda2e6673b.png +0 -0
  1266. package/style/visual-screenshots (1)/images/a87075c6eb331fcab77dedffee6c8321.png +0 -0
  1267. package/style/visual-screenshots (1)/images/a8b8f7209998b3d0a72b9719083dc02a.png +0 -0
  1268. package/style/visual-screenshots (1)/images/a9a1de0b8dd7b6ccab5b47f73dd7f842.png +0 -0
  1269. package/style/visual-screenshots (1)/images/a9c7c835f865512a77038fc5c15de21b.png +0 -0
  1270. package/style/visual-screenshots (1)/images/aa30e7b644de69d60faa5380ca95c5a1.png +0 -0
  1271. package/style/visual-screenshots (1)/images/aa4abb72226bb8321d4b9258f9857b71.png +0 -0
  1272. package/style/visual-screenshots (1)/images/aa51db31d331669430896690342d81dc.png +0 -0
  1273. package/style/visual-screenshots (1)/images/aa9b522302f4dd7150ecbfbb275320e6.png +0 -0
  1274. package/style/visual-screenshots (1)/images/aaa1b0619e13093f63d4156375b60010.png +0 -0
  1275. package/style/visual-screenshots (1)/images/ab5d93b635bae2b5fe23f583eac012ce.png +0 -0
  1276. package/style/visual-screenshots (1)/images/abb03b840550301215bf11bcfc214de4.png +0 -0
  1277. package/style/visual-screenshots (1)/images/ac03f528e1ea478ed33ba9fb5322e3fb.png +0 -0
  1278. package/style/visual-screenshots (1)/images/ac1974812f40ea59d34307ac02a5f70c.png +0 -0
  1279. package/style/visual-screenshots (1)/images/ac2cf23c673a4453be9f71a678bf457e.png +0 -0
  1280. package/style/visual-screenshots (1)/images/ac4258921c4fac19bf9d885fe18d1783.png +0 -0
  1281. package/style/visual-screenshots (1)/images/ac5b064d25b63e5ecd63a91d495dfe5b.png +0 -0
  1282. package/style/visual-screenshots (1)/images/ac8524eb52a8b18d3727f9755658f457.png +0 -0
  1283. package/style/visual-screenshots (1)/images/acd224f13e0e43e4d81990ea06b683f1.png +0 -0
  1284. package/style/visual-screenshots (1)/images/acd8684a795357b531129eb92d03dbf0.png +0 -0
  1285. package/style/visual-screenshots (1)/images/ace6a74377e1fd6f83aa5dba48c8f4ee.png +0 -0
  1286. package/style/visual-screenshots (1)/images/ad0b716887153cae4ebdd7a50e332ad1.png +0 -0
  1287. package/style/visual-screenshots (1)/images/ad74bf7ecefe38d32f843eac59d05bcf.png +0 -0
  1288. package/style/visual-screenshots (1)/images/adad3039bbf24803cc0c800fa1ab52b2.png +0 -0
  1289. package/style/visual-screenshots (1)/images/add742b5f9addb0c591ef066157dd0d7.png +0 -0
  1290. package/style/visual-screenshots (1)/images/adf3ec3a8e97c3b33e77394946ad2434.png +0 -0
  1291. package/style/visual-screenshots (1)/images/adfd03e01df5610028a7b8c22de1d1b5.png +0 -0
  1292. package/style/visual-screenshots (1)/images/ae308ee925b5ad76aea7d7c989003c6c.png +0 -0
  1293. package/style/visual-screenshots (1)/images/ae5ba79ab620185002de1e0e2869fea8.png +0 -0
  1294. package/style/visual-screenshots (1)/images/aed0d8ffabcb9d4680499b39bb909cfb.png +0 -0
  1295. package/style/visual-screenshots (1)/images/af5ce31cf5f312b6bda76f748fabb52f.png +0 -0
  1296. package/style/visual-screenshots (1)/images/af77365d82e0f07b3957f3c77dfa5810.png +0 -0
  1297. package/style/visual-screenshots (1)/images/afc1be11da46a18bb8982a85c65fb4b0.png +0 -0
  1298. package/style/visual-screenshots (1)/images/b011549fe677ebb17fa307dbc03d36d9.png +0 -0
  1299. package/style/visual-screenshots (1)/images/b0bff9f5d7141b079b666e5fb16abd22.png +0 -0
  1300. package/style/visual-screenshots (1)/images/b0dbbbef7ff3804d58ce28e9685b88e0.png +0 -0
  1301. package/style/visual-screenshots (1)/images/b0dfa6af25989c4c3d2e9aef64daab17.png +0 -0
  1302. package/style/visual-screenshots (1)/images/b10bf8e372bca5d68241320f75bc1748.png +0 -0
  1303. package/style/visual-screenshots (1)/images/b10ed3d6ec38c9c253a4446e106e75ea.png +0 -0
  1304. package/style/visual-screenshots (1)/images/b141a65b0038d524dd290c00eddace3d.png +0 -0
  1305. package/style/visual-screenshots (1)/images/b16111054dc7e5c31d822180d54ea0e6.png +0 -0
  1306. package/style/visual-screenshots (1)/images/b1776e0a89f070ea680f256ed27ebf1e.png +0 -0
  1307. package/style/visual-screenshots (1)/images/b27ff00e501d23c43b509c1a0168ef39.png +0 -0
  1308. package/style/visual-screenshots (1)/images/b2aa4c06bcefcb7c92204acdd30d3197.png +0 -0
  1309. package/style/visual-screenshots (1)/images/b2fef056d1f15f4ba8619f31541dd0e5.png +0 -0
  1310. package/style/visual-screenshots (1)/images/b35f5b3650f7806ab3390e0ba67df1a4.png +0 -0
  1311. package/style/visual-screenshots (1)/images/b3dd87d68dcdfd82fa97cdf4e39c2b27.png +0 -0
  1312. package/style/visual-screenshots (1)/images/b3e5876c63e8256843b4090dc4b441ad.png +0 -0
  1313. package/style/visual-screenshots (1)/images/b3f19d58a18bfd34f92764ec41877c3c.png +0 -0
  1314. package/style/visual-screenshots (1)/images/b43533c13c416aad326bc67d0f44929e.png +0 -0
  1315. package/style/visual-screenshots (1)/images/b4382971635528760348cbe2b70605fe.png +0 -0
  1316. package/style/visual-screenshots (1)/images/b45844d5501be7c8431cc1306e3f3ae5.png +0 -0
  1317. package/style/visual-screenshots (1)/images/b468a14b6c8e54db94b61c71b9662af0.png +0 -0
  1318. package/style/visual-screenshots (1)/images/b4a02c9fc04ef4dc159e7beccd7ccfa7.png +0 -0
  1319. package/style/visual-screenshots (1)/images/b4b41ceb35d80f9f629859558b75b19e.png +0 -0
  1320. package/style/visual-screenshots (1)/images/b4edb5a1c390edd5c541c18e1a4ab68f.png +0 -0
  1321. package/style/visual-screenshots (1)/images/b513f66c5fdbab3a28e7db1b23bfb8c2.png +0 -0
  1322. package/style/visual-screenshots (1)/images/b5160b2c865a5e7b7d8b1e1abbf8d002.png +0 -0
  1323. package/style/visual-screenshots (1)/images/b52890091cf696f0150eae61232cb1dd.png +0 -0
  1324. package/style/visual-screenshots (1)/images/b56bb2b3dd4141b8e698820a515b8798.png +0 -0
  1325. package/style/visual-screenshots (1)/images/b5af14253c4cc74f16ddb0b6164f185c.png +0 -0
  1326. package/style/visual-screenshots (1)/images/b63069789fa7ac11755ea759d30a64a5.png +0 -0
  1327. package/style/visual-screenshots (1)/images/b651f7f296cf9f30e419d94a8c4895cf.png +0 -0
  1328. package/style/visual-screenshots (1)/images/b65482e30ffb8bec6c85103dcb71113d.png +0 -0
  1329. package/style/visual-screenshots (1)/images/b65b4bdb5c82820722ea76182517bc74.png +0 -0
  1330. package/style/visual-screenshots (1)/images/b65b9d44dcba156ab3152a6ee2592277.png +0 -0
  1331. package/style/visual-screenshots (1)/images/b68552f8eb800b1891a49bf1cd4d987d.png +0 -0
  1332. package/style/visual-screenshots (1)/images/b68eacd41b21135a2c2431a3ddc2dae5.png +0 -0
  1333. package/style/visual-screenshots (1)/images/b6a9a44405f5e4034c95f55ee8aed681.png +0 -0
  1334. package/style/visual-screenshots (1)/images/b6d2d0f7d50094fd163351d07a5e9251.png +0 -0
  1335. package/style/visual-screenshots (1)/images/b6ec4162d1414d4011b787dd127bad96.png +0 -0
  1336. package/style/visual-screenshots (1)/images/b6fe711492d73a1ad83be68fd782b5be.png +0 -0
  1337. package/style/visual-screenshots (1)/images/b702cca4b4fe43f208a58f37e4a7d0c8.png +0 -0
  1338. package/style/visual-screenshots (1)/images/b74e84ef684b263e0390552911c7b630.png +0 -0
  1339. package/style/visual-screenshots (1)/images/b76dc3cd48583a70f3f99348e259a192.png +0 -0
  1340. package/style/visual-screenshots (1)/images/b79d300707e6efd85959e1727354cda9.png +0 -0
  1341. package/style/visual-screenshots (1)/images/b7f774a62a166681f5e34f4f92e7df96.png +0 -0
  1342. package/style/visual-screenshots (1)/images/b85b4a6d8172ec3d4fe3875d1d5be438.png +0 -0
  1343. package/style/visual-screenshots (1)/images/b8fd7356a98d56ee49951392bc0a19f5.png +0 -0
  1344. package/style/visual-screenshots (1)/images/b9239778dee867ed3f14d2f3ffecd8d5.png +0 -0
  1345. package/style/visual-screenshots (1)/images/b936ab1e543d95bd0c818b0d2ddade05.png +0 -0
  1346. package/style/visual-screenshots (1)/images/b9afd9043e717ea55cd0a7c2e8768ec0.png +0 -0
  1347. package/style/visual-screenshots (1)/images/b9b032bae3f927fc7492af0717480a7c.png +0 -0
  1348. package/style/visual-screenshots (1)/images/ba1fea1b865b3beef1a1135bd779a706.png +0 -0
  1349. package/style/visual-screenshots (1)/images/ba2cbf010b08ef17e500a9a6f09756eb.png +0 -0
  1350. package/style/visual-screenshots (1)/images/ba900133c62ae20a043c8145deb72e61.png +0 -0
  1351. package/style/visual-screenshots (1)/images/bab341bf211ffe1d1cdcff9735458a37.png +0 -0
  1352. package/style/visual-screenshots (1)/images/bb54094e275897982cdadf3573cae164.png +0 -0
  1353. package/style/visual-screenshots (1)/images/bb551e3ba230869e0f7f74597ebdc929.png +0 -0
  1354. package/style/visual-screenshots (1)/images/bb5dc88ef581957bcde4779c0b6f96be.png +0 -0
  1355. package/style/visual-screenshots (1)/images/bb671a54edc0e2807e0ee792010765ce.png +0 -0
  1356. package/style/visual-screenshots (1)/images/bb6a7307e19bf9e4c588df181c01cf82.png +0 -0
  1357. package/style/visual-screenshots (1)/images/bb9c61c2c52257e6ac08122fc873e0a5.png +0 -0
  1358. package/style/visual-screenshots (1)/images/bb9d4ba104d323a504b867a9e7c26fa7.png +0 -0
  1359. package/style/visual-screenshots (1)/images/bbfc81ede881c3480dedc09c932b357c.png +0 -0
  1360. package/style/visual-screenshots (1)/images/bc69c3fc828d0ccd43620f5d7789f687.png +0 -0
  1361. package/style/visual-screenshots (1)/images/bc6a45c5e234c06fe2909be16df5cd68.png +0 -0
  1362. package/style/visual-screenshots (1)/images/bc7fbfc8cfa6fbaf42c181a83bc8f12e.png +0 -0
  1363. package/style/visual-screenshots (1)/images/bc812929e7194062888770b42ea680fa.png +0 -0
  1364. package/style/visual-screenshots (1)/images/bcf29c250245fcd6d4cd80fbb2076fe6.png +0 -0
  1365. package/style/visual-screenshots (1)/images/bd0adcbbc6b9f54fd8dc2c45f91118cf.png +0 -0
  1366. package/style/visual-screenshots (1)/images/bd2c0d240faaa73548693dd8792bd334.png +0 -0
  1367. package/style/visual-screenshots (1)/images/bd3c8aca71ef1e1bfcf54c9bdf7ec0c1.png +0 -0
  1368. package/style/visual-screenshots (1)/images/bd742a3ba78f04988baceee07b34b4c8.png +0 -0
  1369. package/style/visual-screenshots (1)/images/bde82fcc550d92789d65c593e33b9fa1.png +0 -0
  1370. package/style/visual-screenshots (1)/images/be0d5c5d87ffd9eb20686d37ded21477.png +0 -0
  1371. package/style/visual-screenshots (1)/images/be2d1a5e2a20ec9e70974dfd8ad15c05.png +0 -0
  1372. package/style/visual-screenshots (1)/images/be343f108940ac377accd7cd07cdd1e7.png +0 -0
  1373. package/style/visual-screenshots (1)/images/be40fd335f837d2f5a1d803b3aed4c94.png +0 -0
  1374. package/style/visual-screenshots (1)/images/bea6a7939bf5c8f3034f9f36d3aa83a0.png +0 -0
  1375. package/style/visual-screenshots (1)/images/bed34ed4f9077f51952b51283f4b473b.png +0 -0
  1376. package/style/visual-screenshots (1)/images/bedd63152750246fbfff2f3b8694840a.png +0 -0
  1377. package/style/visual-screenshots (1)/images/bf112e6d28f4ea8ab3c84b88d685cb92.png +0 -0
  1378. package/style/visual-screenshots (1)/images/bf1e7977779e36731e8cf90de8a2c018.png +0 -0
  1379. package/style/visual-screenshots (1)/images/bfbf13672d796f88652747c1c627c225.png +0 -0
  1380. package/style/visual-screenshots (1)/images/c14ed538a5d1e19c581b8a480a410873.png +0 -0
  1381. package/style/visual-screenshots (1)/images/c1a6e457a74e6f1e39d8056a575c6b61.png +0 -0
  1382. package/style/visual-screenshots (1)/images/c1bf639cb4ef73d3097a86bbe242e67b.png +0 -0
  1383. package/style/visual-screenshots (1)/images/c1e92e74a76d59360620dd36a44b48d7.png +0 -0
  1384. package/style/visual-screenshots (1)/images/c25a03ca4b6a75b60ca989c922a8c0ea.png +0 -0
  1385. package/style/visual-screenshots (1)/images/c29a6ce74d404486b42547c80ac64827.png +0 -0
  1386. package/style/visual-screenshots (1)/images/c2a8fd8eb01504bdf199bc631948fd65.png +0 -0
  1387. package/style/visual-screenshots (1)/images/c2b2a82c12745e02edc5a4296e64952e.png +0 -0
  1388. package/style/visual-screenshots (1)/images/c2e70eb9bba973017e04fde58f20439f.png +0 -0
  1389. package/style/visual-screenshots (1)/images/c31b279c27c044ff8023b74161774d65.png +0 -0
  1390. package/style/visual-screenshots (1)/images/c3de791621e788d6d096d488fdbf7eb7.png +0 -0
  1391. package/style/visual-screenshots (1)/images/c4347eb0e8a14227ad18be6b9de1cbc7.png +0 -0
  1392. package/style/visual-screenshots (1)/images/c45a7afc0498379e5b620ff4394e1759.png +0 -0
  1393. package/style/visual-screenshots (1)/images/c4bd15f6119ec6a9f86c7311605b8e9a.png +0 -0
  1394. package/style/visual-screenshots (1)/images/c5d033ba89e8621d33f0c1251f26cb94.png +0 -0
  1395. package/style/visual-screenshots (1)/images/c5f4925f4e800c08c097ac6cb57973c4.png +0 -0
  1396. package/style/visual-screenshots (1)/images/c645ca1d792395177ed9f550dc65ef98.png +0 -0
  1397. package/style/visual-screenshots (1)/images/c66f1911986c1798aa132cfda4c757c1.png +0 -0
  1398. package/style/visual-screenshots (1)/images/c6835996ac4b2b3f962a7c89245faa9e.png +0 -0
  1399. package/style/visual-screenshots (1)/images/c7295480cd7fd4a11a50458bb4bfc9c3.png +0 -0
  1400. package/style/visual-screenshots (1)/images/c76344aa17e7856258e6a7aba903caab.png +0 -0
  1401. package/style/visual-screenshots (1)/images/c7bbfb83d1e415c898256cc0fdcce3ca.png +0 -0
  1402. package/style/visual-screenshots (1)/images/c7c0f8a05585087c37d8209208bbcb54.png +0 -0
  1403. package/style/visual-screenshots (1)/images/c7de1a12552658b7fe3ce32a7f7ffb3e.png +0 -0
  1404. package/style/visual-screenshots (1)/images/c914e1a43cca34efae86f296ac56fdee.png +0 -0
  1405. package/style/visual-screenshots (1)/images/c9861de44663e597f55adc84ea88e5fc.png +0 -0
  1406. package/style/visual-screenshots (1)/images/c99d35eeb0dc348c34f4c8a9fe1c5f1d.png +0 -0
  1407. package/style/visual-screenshots (1)/images/ca32c8781f959efc16e24eeda14cc2d5.png +0 -0
  1408. package/style/visual-screenshots (1)/images/ca9c87751da7c73377da05d1cbf34974.png +0 -0
  1409. package/style/visual-screenshots (1)/images/cab16e07722c54b790e38a8b9995af8f.png +0 -0
  1410. package/style/visual-screenshots (1)/images/cb4e5d44970f3d22cfd664c95d5c23c6.png +0 -0
  1411. package/style/visual-screenshots (1)/images/cb99b0bf33401c42eebea1020004a1a8.png +0 -0
  1412. package/style/visual-screenshots (1)/images/cba574213771f455a9bd90fdd5711b82.png +0 -0
  1413. package/style/visual-screenshots (1)/images/cc30aaecf3c497e88d6e7aecae1b7583.png +0 -0
  1414. package/style/visual-screenshots (1)/images/cc690d6b70d361022b64cfd7e15aced7.png +0 -0
  1415. package/style/visual-screenshots (1)/images/ccc7eefe88ff7124ce9b7256a2754224.png +0 -0
  1416. package/style/visual-screenshots (1)/images/cd0ec559f03f247915ac7f28d051477f.png +0 -0
  1417. package/style/visual-screenshots (1)/images/cda5b907bdad7cc13b55cb525ff72402.png +0 -0
  1418. package/style/visual-screenshots (1)/images/ce19129cba94fa6ccfd2ab5416d93033.png +0 -0
  1419. package/style/visual-screenshots (1)/images/ce3c54aab036c6395dd8817abc6acfc6.png +0 -0
  1420. package/style/visual-screenshots (1)/images/ce4c143e3f25acaecf95fc6c74091386.png +0 -0
  1421. package/style/visual-screenshots (1)/images/ce639e1186fedb84b5d709bf36126612.png +0 -0
  1422. package/style/visual-screenshots (1)/images/ceca1dbf2a40a6524da989acf8c45825.png +0 -0
  1423. package/style/visual-screenshots (1)/images/cecd8cd95992457e1748c3bb0dd14f35.png +0 -0
  1424. package/style/visual-screenshots (1)/images/ced9cb27f2fe15debe7cae42e1b6347d.png +0 -0
  1425. package/style/visual-screenshots (1)/images/cf8ad194e11dfdb8aea6017def809c6f.png +0 -0
  1426. package/style/visual-screenshots (1)/images/cf95c3fcdb08ca9fd096c2aa90538a9f.png +0 -0
  1427. package/style/visual-screenshots (1)/images/d055162ca44e10714f581c72517de67a.png +0 -0
  1428. package/style/visual-screenshots (1)/images/d0907dbf3bbf9051d9ab0090a74eb8a2.png +0 -0
  1429. package/style/visual-screenshots (1)/images/d0dbadb5f8a71fe6a666cf4741ba583e.png +0 -0
  1430. package/style/visual-screenshots (1)/images/d0fc1daaab9d8154ac99b9923aca965e.png +0 -0
  1431. package/style/visual-screenshots (1)/images/d10379d630b08ba69cdbadef68160b74.png +0 -0
  1432. package/style/visual-screenshots (1)/images/d1dec19c84cc7d9d44d9bdbdc4ed0113.png +0 -0
  1433. package/style/visual-screenshots (1)/images/d1ecf153cbe7e6e5ab9df3ba963ac56a.png +0 -0
  1434. package/style/visual-screenshots (1)/images/d2085cde486b22d26ed3ed7dd092ac67.png +0 -0
  1435. package/style/visual-screenshots (1)/images/d21f0611ffb064596292ba09f7ae0aa7.png +0 -0
  1436. package/style/visual-screenshots (1)/images/d26da906f6e40a9f2de474ef00ffe192.png +0 -0
  1437. package/style/visual-screenshots (1)/images/d32bdba3c211974c488f05e49fdbd38e.png +0 -0
  1438. package/style/visual-screenshots (1)/images/d3f2e40808a135432120eec842002667.png +0 -0
  1439. package/style/visual-screenshots (1)/images/d3f4fb7a3520050add88a228446786c0.png +0 -0
  1440. package/style/visual-screenshots (1)/images/d42695727875489f5c823fc6a7637fc0.png +0 -0
  1441. package/style/visual-screenshots (1)/images/d43099f8107adb7d25c029fd861236c7.png +0 -0
  1442. package/style/visual-screenshots (1)/images/d465de97945852f83e9cfec896fda7fd.png +0 -0
  1443. package/style/visual-screenshots (1)/images/d4cb357a97d0069493f671c36973b023.png +0 -0
  1444. package/style/visual-screenshots (1)/images/d507e6178365edabfc44712f507b1ad4.png +0 -0
  1445. package/style/visual-screenshots (1)/images/d5c0ef8532ff82ac36069cd1a325ef27.png +0 -0
  1446. package/style/visual-screenshots (1)/images/d5d677892ed26746228c30990678ac38.png +0 -0
  1447. package/style/visual-screenshots (1)/images/d5ea4a9c77534f236c32e8f31e078587.png +0 -0
  1448. package/style/visual-screenshots (1)/images/d5f1ba6ddf9bbc40e86be0e2b82118af.png +0 -0
  1449. package/style/visual-screenshots (1)/images/d6069a71d1cf53673964d866460d32c8.png +0 -0
  1450. package/style/visual-screenshots (1)/images/d6242fd259465d2ba316d672684afcf7.png +0 -0
  1451. package/style/visual-screenshots (1)/images/d6b1c4c2db737fef0105bc33cda83309.png +0 -0
  1452. package/style/visual-screenshots (1)/images/d6c65a3c2f45d3f68984a0be5f3490bb.png +0 -0
  1453. package/style/visual-screenshots (1)/images/d6f1781682597261b255669cebe81e42.png +0 -0
  1454. package/style/visual-screenshots (1)/images/d7d9fb5a7dfc870527fb24b3642a56e3.png +0 -0
  1455. package/style/visual-screenshots (1)/images/d7deed321c78b937b9aac780d75a67e6.png +0 -0
  1456. package/style/visual-screenshots (1)/images/d8291cc7ad6e1607c344ed2ed1368ea3.png +0 -0
  1457. package/style/visual-screenshots (1)/images/d8560f2f2aeb2cf5601aac513f502b55.png +0 -0
  1458. package/style/visual-screenshots (1)/images/d8ba46aafe0f9c6e1a513c118e4ed9bc.png +0 -0
  1459. package/style/visual-screenshots (1)/images/d95148fef77af3db17d99a9e6d582f37.png +0 -0
  1460. package/style/visual-screenshots (1)/images/d9579cafca730bedcd047d6b5e00d6a4.png +0 -0
  1461. package/style/visual-screenshots (1)/images/d98fa9b6727f84959b2953eb2fb4bbd9.png +0 -0
  1462. package/style/visual-screenshots (1)/images/d9ccd1f0853f04288d98faaa99ffd839.png +0 -0
  1463. package/style/visual-screenshots (1)/images/d9d48b2652b1aec6a09d29ff489a2559.png +0 -0
  1464. package/style/visual-screenshots (1)/images/d9d72a2b10b10048726ee220b48fa527.png +0 -0
  1465. package/style/visual-screenshots (1)/images/d9d8147e7f3bb24b517f342fcccde022.png +0 -0
  1466. package/style/visual-screenshots (1)/images/d9df19d7691aa789d2a8bc95bf35da2c.png +0 -0
  1467. package/style/visual-screenshots (1)/images/da1074f521e0588e392120962859f25f.png +0 -0
  1468. package/style/visual-screenshots (1)/images/da3533dfa11d516896891b192864e447.png +0 -0
  1469. package/style/visual-screenshots (1)/images/dae067c3ccb9466b05711591ecd99896.png +0 -0
  1470. package/style/visual-screenshots (1)/images/db652f7540592f22fce8d51c2db86e93.png +0 -0
  1471. package/style/visual-screenshots (1)/images/db68bc1a1dabafb95a485a230f9a8891.png +0 -0
  1472. package/style/visual-screenshots (1)/images/db9207243bf814e40de5d4f04ca70316.png +0 -0
  1473. package/style/visual-screenshots (1)/images/db9f75240f51bca9b761494cedeccff2.png +0 -0
  1474. package/style/visual-screenshots (1)/images/dbc774ff92faa624b4987219fa52042d.png +0 -0
  1475. package/style/visual-screenshots (1)/images/dc0de0f379b7b76e387beb9d57e912eb.png +0 -0
  1476. package/style/visual-screenshots (1)/images/dd3dcde1007bc96a7e41eeb1436699a5.png +0 -0
  1477. package/style/visual-screenshots (1)/images/dda39199ff0717086ab54dd718ad525f.png +0 -0
  1478. package/style/visual-screenshots (1)/images/ddcd258c6ad4c8489c1b51df313691e9.png +0 -0
  1479. package/style/visual-screenshots (1)/images/ddcf43a676ca66b76dd293e2217bff54.png +0 -0
  1480. package/style/visual-screenshots (1)/images/ddf8772071d057082129df7ddb91cb63.png +0 -0
  1481. package/style/visual-screenshots (1)/images/de538ffe7bb41fe54ed51f548dbe2fba.png +0 -0
  1482. package/style/visual-screenshots (1)/images/df18d193dd77c73ceb593e100945b30d.png +0 -0
  1483. package/style/visual-screenshots (1)/images/df7a11e9552448272332cb2a6d8194b8.png +0 -0
  1484. package/style/visual-screenshots (1)/images/df8a111e64e1601833438a267e53d53e.png +0 -0
  1485. package/style/visual-screenshots (1)/images/dfb1101ae11b4e4cbcd14e109f2c2810.png +0 -0
  1486. package/style/visual-screenshots (1)/images/dfd25ea8862f0ef09292b87930278f8b.png +0 -0
  1487. package/style/visual-screenshots (1)/images/e010fa0f10828dfec180f664eb3b904e.png +0 -0
  1488. package/style/visual-screenshots (1)/images/e019e72c9310bf80c7d8a060b05b9c37.png +0 -0
  1489. package/style/visual-screenshots (1)/images/e0fad740e1ea1190ae5bafcc312b7345.png +0 -0
  1490. package/style/visual-screenshots (1)/images/e129f142d3b5053ef5be1eb5b2c3e892.png +0 -0
  1491. package/style/visual-screenshots (1)/images/e166d553d849e0c78ef876004aad7a5f.png +0 -0
  1492. package/style/visual-screenshots (1)/images/e16f3ba70a3637f3220f043e2135e130.png +0 -0
  1493. package/style/visual-screenshots (1)/images/e1e5fe1fd5d6ee275513f269c86d6305.png +0 -0
  1494. package/style/visual-screenshots (1)/images/e23bd037d12d40a0719647cc0e872a58.png +0 -0
  1495. package/style/visual-screenshots (1)/images/e2a3a5bb4365d8f726c66cdd0502df93.png +0 -0
  1496. package/style/visual-screenshots (1)/images/e2c01035d03336301a1d9b296c8d9ab3.png +0 -0
  1497. package/style/visual-screenshots (1)/images/e2d8e8137e7670d15c4607f1d656477f.png +0 -0
  1498. package/style/visual-screenshots (1)/images/e302c8e4a9ea160a0a19968825d55dab.png +0 -0
  1499. package/style/visual-screenshots (1)/images/e34b18aac8583e91e021b41bbfd7fd5f.png +0 -0
  1500. package/style/visual-screenshots (1)/images/e356cf56ccaa076bbc8d34dc8f793843.png +0 -0
  1501. package/style/visual-screenshots (1)/images/e35d22101819324c038cd263e9c8f518.png +0 -0
  1502. package/style/visual-screenshots (1)/images/e3805efcd137ad98512fa1c3f8d54a1d.png +0 -0
  1503. package/style/visual-screenshots (1)/images/e39ce053c84fc3a5528ac4b5641ac9cf.png +0 -0
  1504. package/style/visual-screenshots (1)/images/e3a3c7767a5eb9522dea438bff6728cc.png +0 -0
  1505. package/style/visual-screenshots (1)/images/e3aab7603407b6e1b444b0eac170a7ec.png +0 -0
  1506. package/style/visual-screenshots (1)/images/e43a752514e8b393cb628520b605b584.png +0 -0
  1507. package/style/visual-screenshots (1)/images/e442163823ed8edcc7160818be69b398.png +0 -0
  1508. package/style/visual-screenshots (1)/images/e4b10dde183f07a84513d76d429a6958.png +0 -0
  1509. package/style/visual-screenshots (1)/images/e4d50b654335e71fc4967b82c344dbfe.png +0 -0
  1510. package/style/visual-screenshots (1)/images/e51ca2c2a84b03fc98f79f02fe7068aa.png +0 -0
  1511. package/style/visual-screenshots (1)/images/e58ef5ed950fbb2b1079d74d45b7c881.png +0 -0
  1512. package/style/visual-screenshots (1)/images/e5ade203143dc82491aa076121660e52.png +0 -0
  1513. package/style/visual-screenshots (1)/images/e605ecbc474952712389539463a04aa7.png +0 -0
  1514. package/style/visual-screenshots (1)/images/e6262e247906000955ae8374d655a906.png +0 -0
  1515. package/style/visual-screenshots (1)/images/e6595c721f80b610721aaeeb5e2f75a6.png +0 -0
  1516. package/style/visual-screenshots (1)/images/e6709d9c191735263eb3b486e7a72f85.png +0 -0
  1517. package/style/visual-screenshots (1)/images/e6d314422345a30bf6c0ef3e18e583a0.png +0 -0
  1518. package/style/visual-screenshots (1)/images/e6d939c8648a17c13549f5f2adb346e7.png +0 -0
  1519. package/style/visual-screenshots (1)/images/e6dbee568bfdc18e352b077e374ff82f.png +0 -0
  1520. package/style/visual-screenshots (1)/images/e703bac13e2532ce5533d2a57a8a5fa6.png +0 -0
  1521. package/style/visual-screenshots (1)/images/e716cb5e49fdadf37afefab471babf94.png +0 -0
  1522. package/style/visual-screenshots (1)/images/e7441187368963e6b130042df812ef91.png +0 -0
  1523. package/style/visual-screenshots (1)/images/e7c2f6b6c968145071f9cb8636dfbc3e.png +0 -0
  1524. package/style/visual-screenshots (1)/images/e7e9cbbc3d0dd144406d6a315ec0ddc0.png +0 -0
  1525. package/style/visual-screenshots (1)/images/e7fa6277441b9b69cc3b5306e16b7cf1.png +0 -0
  1526. package/style/visual-screenshots (1)/images/e83fb6530e1c56b78ecf6b7ecf9093b4.png +0 -0
  1527. package/style/visual-screenshots (1)/images/e84d5f9378fbad753243b00f534b5a2b.png +0 -0
  1528. package/style/visual-screenshots (1)/images/e874c84e2c3efc6531e1ed444ef48e0c.png +0 -0
  1529. package/style/visual-screenshots (1)/images/e880df04bcd581fdc14320972bb587c7.png +0 -0
  1530. package/style/visual-screenshots (1)/images/e888e0e6d4a78e02b76328fa84356ca8.png +0 -0
  1531. package/style/visual-screenshots (1)/images/e8ae475c96c0350cab5788186441a468.png +0 -0
  1532. package/style/visual-screenshots (1)/images/e8b5543222dd07074f913c0ee347cc2a.png +0 -0
  1533. package/style/visual-screenshots (1)/images/e92d837bf473dd88b1644ce81eeb8271.png +0 -0
  1534. package/style/visual-screenshots (1)/images/e9690ff4793f30325dfc007d07f11515.png +0 -0
  1535. package/style/visual-screenshots (1)/images/e9a4edf0d472871407e3de2a94491d38.png +0 -0
  1536. package/style/visual-screenshots (1)/images/e9da22cdb0b57bbbb78d72fa243613f1.png +0 -0
  1537. package/style/visual-screenshots (1)/images/e9f7a5fc6028e6009408ba7587604837.png +0 -0
  1538. package/style/visual-screenshots (1)/images/ea87140d4d01e99436eb8517e1a59744.png +0 -0
  1539. package/style/visual-screenshots (1)/images/eb1e5e278264b3344fd8251f8e3a567c.png +0 -0
  1540. package/style/visual-screenshots (1)/images/eb270de24170c48625abe27e1add013b.png +0 -0
  1541. package/style/visual-screenshots (1)/images/eb321262ddafb26c0121bd595505ffd4.png +0 -0
  1542. package/style/visual-screenshots (1)/images/eb89e9322f47193680a195eedec9ca1f.png +0 -0
  1543. package/style/visual-screenshots (1)/images/eb8ba90ad716449ab1fbe18715131465.png +0 -0
  1544. package/style/visual-screenshots (1)/images/ebea496ec420dde6eb11929ef25c9d4e.png +0 -0
  1545. package/style/visual-screenshots (1)/images/ec06a26e681c9d07ecb4aa29d4e551f4.png +0 -0
  1546. package/style/visual-screenshots (1)/images/ec418171a7341bd39a64ee5e1405de5c.png +0 -0
  1547. package/style/visual-screenshots (1)/images/ec801a1f7ded7e4f72b3b83d56ef137b.png +0 -0
  1548. package/style/visual-screenshots (1)/images/eceac800e5e5ec35a7ac973102588b9a.png +0 -0
  1549. package/style/visual-screenshots (1)/images/ed32af8a6de2ef712782d8c700d5ea9c.png +0 -0
  1550. package/style/visual-screenshots (1)/images/ed996049ed03540673123208a1939af9.png +0 -0
  1551. package/style/visual-screenshots (1)/images/edea0089834ada9ac7c1955bbc7b60e8.png +0 -0
  1552. package/style/visual-screenshots (1)/images/ee0321657e33c16d1cafb4124cc8b84e.png +0 -0
  1553. package/style/visual-screenshots (1)/images/ee2e3f6e90b8c2a479d187d5c33257d9.png +0 -0
  1554. package/style/visual-screenshots (1)/images/ee5c6318a17593c06dc4893c84e64535.png +0 -0
  1555. package/style/visual-screenshots (1)/images/ee880fd8c1965895a4c79cf4c744feac.png +0 -0
  1556. package/style/visual-screenshots (1)/images/eed96dc07ed46b9585a3fa2f9655268f.png +0 -0
  1557. package/style/visual-screenshots (1)/images/efcf97ad2d48fcce21b8052fb8e1f02d.png +0 -0
  1558. package/style/visual-screenshots (1)/images/f02927c03369f309483a9c4ddf1dd918.png +0 -0
  1559. package/style/visual-screenshots (1)/images/f033f0f98be280ace4c6d4b0366bb46f.png +0 -0
  1560. package/style/visual-screenshots (1)/images/f039bdda30367e329cf997e85fe4c5e8.png +0 -0
  1561. package/style/visual-screenshots (1)/images/f04add34ff27aa15ee72e77d143d3ed8.png +0 -0
  1562. package/style/visual-screenshots (1)/images/f05fc5650db3e0ecc2baf3860da0d195.png +0 -0
  1563. package/style/visual-screenshots (1)/images/f095476fc0248cf27fa814706177534f.png +0 -0
  1564. package/style/visual-screenshots (1)/images/f0ca029abc93f4e8105da3e5ab56e1c4.png +0 -0
  1565. package/style/visual-screenshots (1)/images/f136123d6a6e67a75080296043b5e5de.png +0 -0
  1566. package/style/visual-screenshots (1)/images/f14f173c0407db4e2e0d465809e3035f.png +0 -0
  1567. package/style/visual-screenshots (1)/images/f1c37fd272da405acfb07e2bcd9e2e86.png +0 -0
  1568. package/style/visual-screenshots (1)/images/f1d9cb85975d8f2259098078a9801e0f.png +0 -0
  1569. package/style/visual-screenshots (1)/images/f1ec44ad9bd197b6cf6709425b1f493c.png +0 -0
  1570. package/style/visual-screenshots (1)/images/f2357c90c5bc52def3fac87e0ec9997a.png +0 -0
  1571. package/style/visual-screenshots (1)/images/f27d1e0db5abfe19d41b8158d4d2e864.png +0 -0
  1572. package/style/visual-screenshots (1)/images/f28b1b0716ee2f45646a13b5b5c25ece.png +0 -0
  1573. package/style/visual-screenshots (1)/images/f2a9936c632f6d5df93af4b94ca90234.png +0 -0
  1574. package/style/visual-screenshots (1)/images/f2e3472901c35c71c0182432ed609d7f.png +0 -0
  1575. package/style/visual-screenshots (1)/images/f3492d235f8072e4adf1060958453ee6.png +0 -0
  1576. package/style/visual-screenshots (1)/images/f3e92ee96aa91f49801ea4202f6081ac.png +0 -0
  1577. package/style/visual-screenshots (1)/images/f43bdfc49eaa4bc64a3d388173c76744.png +0 -0
  1578. package/style/visual-screenshots (1)/images/f43fae61c6f1cfb638fd3741f3742d5b.png +0 -0
  1579. package/style/visual-screenshots (1)/images/f44444b4e7bcd9cc38987cfbca3c88bc.png +0 -0
  1580. package/style/visual-screenshots (1)/images/f457b6c69704125d620b062e0a63c81d.png +0 -0
  1581. package/style/visual-screenshots (1)/images/f49bdba18143e37cebfccebb84983aaa.png +0 -0
  1582. package/style/visual-screenshots (1)/images/f4a592740204a611f064fd861eea879f.png +0 -0
  1583. package/style/visual-screenshots (1)/images/f4b874f85d61abcdb5d4dac56574e983.png +0 -0
  1584. package/style/visual-screenshots (1)/images/f4d48a8d20e7217ab3bd4eb920e2e90b.png +0 -0
  1585. package/style/visual-screenshots (1)/images/f4fa32cbd842631dda4967bb7b0805f4.png +0 -0
  1586. package/style/visual-screenshots (1)/images/f5a634ee1f8883b9a9910709b1a70dd9.png +0 -0
  1587. package/style/visual-screenshots (1)/images/f5f154f17b8ddd7fe6584229e3e433dc.png +0 -0
  1588. package/style/visual-screenshots (1)/images/f5f5aa0c94bc0096ca632bde832e4ac0.png +0 -0
  1589. package/style/visual-screenshots (1)/images/f611a4b1de325f7426c8b29b43cfae35.png +0 -0
  1590. package/style/visual-screenshots (1)/images/f63233f9dc04d7dcfd4ff56369f0b130.png +0 -0
  1591. package/style/visual-screenshots (1)/images/f692554ff308ca1cd0fbe7a22b3b22ca.png +0 -0
  1592. package/style/visual-screenshots (1)/images/f75eda47bbe4bbe2ea30a65b7856a44b.png +0 -0
  1593. package/style/visual-screenshots (1)/images/f781be55c666aac6c83ca4d07e9c42ca.png +0 -0
  1594. package/style/visual-screenshots (1)/images/f7bf00972a29fdf599c8217b28de96d6.png +0 -0
  1595. package/style/visual-screenshots (1)/images/f86fea7ffab0866bda8a3b414f7cd3b7.png +0 -0
  1596. package/style/visual-screenshots (1)/images/f87eb71c300ab4b2d498be9a55ee1618.png +0 -0
  1597. package/style/visual-screenshots (1)/images/f8b36602184f5158860506fe64079c89.png +0 -0
  1598. package/style/visual-screenshots (1)/images/f8ee607f6421ba60f973b9bff376ae28.png +0 -0
  1599. package/style/visual-screenshots (1)/images/f9080ba22d397d83f09047ebdfe84239.png +0 -0
  1600. package/style/visual-screenshots (1)/images/f9145ef284d04f6336229ff666af70e3.png +0 -0
  1601. package/style/visual-screenshots (1)/images/f93aaf6c9ea9f70abb350f5255767c3f.png +0 -0
  1602. package/style/visual-screenshots (1)/images/f95685e60e185b4b3da22bb8bf70e7e2.png +0 -0
  1603. package/style/visual-screenshots (1)/images/f97ab81b758db662a2eb1617a6efe217.png +0 -0
  1604. package/style/visual-screenshots (1)/images/fa7325e4f52bb809c79c2f8df2699b93.png +0 -0
  1605. package/style/visual-screenshots (1)/images/fa793989f4717dd55b1c603086785688.png +0 -0
  1606. package/style/visual-screenshots (1)/images/faab9362d2ff082b2ec255bd3f87f52c.png +0 -0
  1607. package/style/visual-screenshots (1)/images/fad9c13edad825e537ef70d1f5ac9ffc.png +0 -0
  1608. package/style/visual-screenshots (1)/images/faf67bf2491d228a3147ca1b197ce7c0.png +0 -0
  1609. package/style/visual-screenshots (1)/images/fb0bba6fa80d2f1d58b9fe1a3cae80fd.png +0 -0
  1610. package/style/visual-screenshots (1)/images/fb21968682604e963f859ce4a3063449.png +0 -0
  1611. package/style/visual-screenshots (1)/images/fb2756dae46b9f5078e264cd3419bb7f.png +0 -0
  1612. package/style/visual-screenshots (1)/images/fc344f5b8408cc30060f888515927391.png +0 -0
  1613. package/style/visual-screenshots (1)/images/fca29f7a114d6e4df2ca093e1d9cf90a.png +0 -0
  1614. package/style/visual-screenshots (1)/images/fced6958bf1d22d95b4609bb6cb90c07.png +0 -0
  1615. package/style/visual-screenshots (1)/images/fd92b9e1229dbd6160436f5b92cd21b0.png +0 -0
  1616. package/style/visual-screenshots (1)/images/fdf7376c972f3c4f40789c0f217c0480.png +0 -0
  1617. package/style/visual-screenshots (1)/images/fe13a66e7e5ede78792937bf010f022c.png +0 -0
  1618. package/style/visual-screenshots (1)/images/fe2c4234c413f4ad2d054fd091242f8e.png +0 -0
  1619. package/style/visual-screenshots (1)/images/fe4603d37d7b7abc55ebda66bb81b8d9.png +0 -0
  1620. package/style/visual-screenshots (1)/images/fe9188d474135ba66971a9ea60921c3d.png +0 -0
  1621. package/style/visual-screenshots (1)/images/febb9b60ded19124b91a836fcbc37936.png +0 -0
  1622. package/style/visual-screenshots (1)/images/fedb6514016e34df2fcb29eef107d385.png +0 -0
  1623. package/style/visual-screenshots (1)/images/ff5d801d62c71a38028c2d406af30b8f.png +0 -0
  1624. package/style/visual-screenshots (1)/images/ffa3e2813a91c22ec33346792ba47461.png +0 -0
  1625. package/style/visual-screenshots (1)/images/ffb7b8ff61c2ce675eaeaa8104a3f178.png +0 -0
@@ -0,0 +1,4836 @@
1
+ 'use strict';
2
+
3
+ const createPublicApiRuntimeMetricsSlimmer = require('./create-public-api-runtime-metrics-slimmer-e2e274e1.js');
4
+ const ui = require('./ui-9e181079.js');
5
+ const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
6
+ const dynamicSlimmer = require('./dynamic-slimmer-f31fdfd7.js');
7
+ const pageResizeObserverSlimmer = require('./page-resize-observer-slimmer-11937d6f.js');
8
+ const darkModeStyleController = require('./dark-mode-style-controller-c21172aa.js');
9
+ const internalVegaEventManager = require('./internal-vega-event-manager-0e1ba774.js');
10
+ const number = require('./number-4816603d.js');
11
+ const dtoRendererManager = require('./dto-renderer-manager-04428a77.js');
12
+ const codeBlock = require('./code-block-bf3642ef.js');
13
+ const typeGuard = require('./type-guard-69d2cf01.js');
14
+ require('./translation-5f9f9c0c.js');
15
+ const internalIconManager = require('./internal-icon-manager-32f9ed63.js');
16
+ const columnOperation = require('./column-operation-1cac8386.js');
17
+ const object = require('./object-e2e28e3d.js');
18
+ const baseRenderer = require('./base-renderer-0a3b62b7.js');
19
+ const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-factory-1c8f7880.js');
20
+ const vegaInternalEventId = require('./vega-internal-event-id-a5ef414b.js');
21
+ const timer = require('./timer-5f33058b.js');
22
+ const tryGetDocument = require('./try-get-document-c0ebd39a.js');
23
+
24
+ const VegaLoaderRuntimeMetricsPayloadDefinition = [
25
+ {
26
+ payloadKey: 'IS_LOAD_METHOD_CALLED',
27
+ payloadDescription: 'Indicate if the method load of public API VegaLoaderController is called',
28
+ /**
29
+ * Indicate whether the method is collected when the method been called .
30
+ *
31
+ * @param {string} scope - The class name of public api
32
+ * @param {string} methodName - The method name called by the public api
33
+ * @returns {boolean} A boolean value
34
+ */
35
+ canAccept: (scope, methodName) => scope === 'VegaLoaderController' && methodName === 'load',
36
+ /**
37
+ * The function checks if the method name is load.
38
+ *
39
+ * @returns {boolean} A boolean value
40
+ */
41
+ payloadValue: () => {
42
+ return true;
43
+ },
44
+ },
45
+ {
46
+ payloadKey: 'IS_CLOSE_METHOD_CALLED',
47
+ payloadDescription: 'Indicate if the method close of public API VegaLoaderController is called',
48
+ /**
49
+ * Indicate whether the method is collected when the method been called .
50
+ *
51
+ * @param {string} scope - The class name of public api
52
+ * @param {string} methodName - The method name called by the public api
53
+ * @returns {boolean} A boolean value
54
+ */
55
+ canAccept: (scope, methodName) => scope === 'VegaLoaderController' && methodName === 'close',
56
+ /**
57
+ * The function checks if the method name is close.
58
+ *
59
+ * @returns {boolean} A boolean value
60
+ */
61
+ payloadValue: () => {
62
+ return true;
63
+ },
64
+ },
65
+ ];
66
+
67
+ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
68
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
69
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
70
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
71
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
72
+ };
73
+ /**
74
+ * Vega loader controller to control the loading indicator
75
+ */
76
+ class VegaLoaderController {
77
+ constructor() {
78
+ this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaLoaderController, ['load', 'close'], VegaLoaderRuntimeMetricsPayloadDefinition);
79
+ }
80
+ /**
81
+ * Create a loading indicator and append it to the container
82
+ *
83
+ * @param {VegaLoaderIndicatorOptions} options - VegaLoaderOptions = {} options of the method
84
+ * @returns {Nullable<string>} The uuid of the loader.
85
+ * @vegaVersion 1.16.0
86
+ */
87
+ load(options = {}) {
88
+ let containerSelector = options.containerSelector || 'body';
89
+ let containerElement = document.querySelector(containerSelector);
90
+ if (containerElement &&
91
+ VegaLoaderController.SPECIAL_ELEMENT_TO_WRAP_FULL_BODY.includes(containerElement.tagName)) {
92
+ containerSelector = 'body';
93
+ containerElement = document.querySelector('body');
94
+ }
95
+ if (!containerElement) {
96
+ globalSlimmerRegistry.LogUtility.error('Container is not found by selector: ', containerSelector);
97
+ return null;
98
+ }
99
+ const loadingIndicator = this.createLoadingIndicator(options.indicatorOptions);
100
+ const loader = this.createLoader(containerSelector);
101
+ loader.append(loadingIndicator);
102
+ return this.appendLoader(loader, containerElement);
103
+ }
104
+ /**
105
+ * Close the loader by id
106
+ *
107
+ * @param {string} id - The id of the loader.
108
+ * @vegaVersion 1.16.0
109
+ */
110
+ close(id) {
111
+ const loader = this.findLoader(id);
112
+ if (loader) {
113
+ if (loader.dataset.container) {
114
+ const container = document.querySelector(loader.dataset.container);
115
+ if (container) {
116
+ if (container.dataset['vegaLoaderOriginPosition']) {
117
+ container.style.position = container.dataset['vegaLoaderOriginPosition'];
118
+ }
119
+ }
120
+ }
121
+ loader.remove();
122
+ }
123
+ }
124
+ /**
125
+ * Find loader by id, if the id include '>>>' it will find inside shadowRoot
126
+ *
127
+ * @param {string} id - The id of the loader.
128
+ * @returns {Nullable<HTMLElement>} The loader found by id.
129
+ */
130
+ findLoader(id) {
131
+ var _a, _b;
132
+ let loader;
133
+ if (id.includes('>>>')) {
134
+ const [containerSelector, loaderSelector] = id.split('>>>');
135
+ loader = (_b = (_a = document.querySelector(containerSelector)) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.getElementById(loaderSelector);
136
+ }
137
+ else {
138
+ loader = document.getElementById(id);
139
+ }
140
+ return loader;
141
+ }
142
+ /**
143
+ * Create a loader for loading indicator
144
+ *
145
+ * @param {string} containerSelector The container which you want to append
146
+ * @returns {HTMLElement} a wrapper for loader
147
+ */
148
+ createLoader(containerSelector) {
149
+ const loader = document.createElement('vega-loader-wrapper');
150
+ loader.className = ui.arrayToClassString([
151
+ containerSelector === 'body' ? 'fixed-wrapper' : 'absolute-wrapper',
152
+ ]);
153
+ loader.dataset['container'] = containerSelector;
154
+ loader.id = `vega-loader-${createPublicApiRuntimeMetricsSlimmer.generateUUID()}`;
155
+ return loader;
156
+ }
157
+ /**
158
+ * Create a loading indicator
159
+ *
160
+ * @param {VegaLoaderIndicatorOptions} indicatorOptions the props of vega loading indicator
161
+ * @returns {HTMLVegaLoadingIndicatorElement} vega-loading-indicator component template
162
+ */
163
+ createLoadingIndicator(indicatorOptions = {}) {
164
+ const loadingIndicator = document.createElement('vega-loading-indicator');
165
+ Object.assign(loadingIndicator, indicatorOptions);
166
+ return loadingIndicator;
167
+ }
168
+ /**
169
+ * Append the loader to the container
170
+ *
171
+ * @param {HTMLElement} loader A loader with loading indicator
172
+ * @param {string} containerElement The container which you want to append the loader to
173
+ * @returns {string} The uuid of the loader.
174
+ */
175
+ appendLoader(loader, containerElement) {
176
+ containerElement.dataset['vegaLoaderOriginPosition'] = containerElement.style.position;
177
+ containerElement.style.position = 'relative';
178
+ if (containerElement.shadowRoot) {
179
+ containerElement.shadowRoot.append(loader);
180
+ return `${loader.dataset['container']}>>>${loader.id}`;
181
+ }
182
+ else {
183
+ containerElement.append(loader);
184
+ return loader.id;
185
+ }
186
+ }
187
+ }
188
+ VegaLoaderController.SPECIAL_ELEMENT_TO_WRAP_FULL_BODY = ['VEGA-MODAL'];
189
+ __decorate$6([
190
+ createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
191
+ ], VegaLoaderController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
192
+ const VegaLoader = new VegaLoaderController();
193
+
194
+ const BASE_BASIC_Z_INDEX = 10000;
195
+ const TOP_BASIC_Z_INDEX = 11000;
196
+ /**
197
+ * Base level is for custom element such as modal, tooltip, dropdown, sidenav and header.
198
+ * the z-index of current showing element is highly than already show.
199
+ * Top level is for element that always display to top, such as notification.
200
+ */
201
+ class InternalVegaZIndexManager {
202
+ constructor() {
203
+ this.baseBasicZIndex = BASE_BASIC_Z_INDEX;
204
+ this.topBasicZIndex = TOP_BASIC_Z_INDEX;
205
+ this.levelEntry = {
206
+ base: {
207
+ zIndex: this.baseBasicZIndex,
208
+ elements: [],
209
+ },
210
+ top: {
211
+ zIndex: this.topBasicZIndex,
212
+ elements: [],
213
+ },
214
+ };
215
+ }
216
+ /**
217
+ * "If the element is not already the current element, then increment the z-index and set the element
218
+ * to the current element."
219
+ *
220
+ * The function is a little more complicated than that, but not much. The function takes an element and
221
+ * a level. The level is optional and defaults to 'base'. The level is used to keep track of the
222
+ * z-index for each level. The function uses a private variable, levelStatus, to keep track of the
223
+ * current element and z-index for each level
224
+ *
225
+ * @param {HTMLElement} element - The element to set the z-index of.
226
+ * @param {ZIndexLevelType} [level=base] - The level of the element.
227
+ * @returns {void}
228
+ */
229
+ setZIndex(element, level = 'base') {
230
+ if (element === null)
231
+ return;
232
+ this.removeZIndex(element, level);
233
+ const zIndexEntry = this.levelEntry[level];
234
+ if (element && zIndexEntry) {
235
+ if (level === 'base' && this.isBaseLevelOver()) {
236
+ globalSlimmerRegistry.LogUtility.warn(`The max 'z-index' of base level is '11000', but the current 'z-index' is over, Please optimize the use of 'z-index', otherwise there will be some performance overhead.`);
237
+ this.increaseTopEntry();
238
+ }
239
+ zIndexEntry.elements.push(element);
240
+ zIndexEntry.zIndex += 1;
241
+ element.style.zIndex = zIndexEntry.zIndex.toString();
242
+ }
243
+ }
244
+ /**
245
+ * It removes the element from the level's array of elements, and then decrements the z-index of all
246
+ * elements after the removed element
247
+ *
248
+ * @param {HTMLElement} element - HTMLElement - The element to move
249
+ * @param {ZIndexLevelType} [level=base] - Level = 'base'
250
+ * @returns {void}
251
+ */
252
+ removeZIndex(element, level = 'base') {
253
+ if (element === null)
254
+ return;
255
+ const zIndexEntry = this.levelEntry[level];
256
+ if (element && zIndexEntry) {
257
+ let startAt = -1;
258
+ zIndexEntry.elements.forEach((e, index) => {
259
+ if (e === element)
260
+ startAt = index;
261
+ if (startAt >= 0 && index > startAt) {
262
+ e.style.zIndex = `${number.convertToNumber(e.style.zIndex) - 1}`;
263
+ }
264
+ });
265
+ if (startAt >= 0) {
266
+ element.style.removeProperty('z-index');
267
+ zIndexEntry.elements.splice(startAt, 1);
268
+ zIndexEntry.zIndex -= 1;
269
+ }
270
+ }
271
+ }
272
+ /**
273
+ * The function "overrideZIndexBasicValues" updates the base and top basic z-index values based on the
274
+ * input provided.
275
+ *
276
+ * @param {ZIndexBasicValues} input - The input parameter is of type ZIndexBasicValues, which is an
277
+ * object with two properties: base and top. Both properties are optional and can be either a number or
278
+ * undefined.
279
+ */
280
+ overrideZIndexBasicValues(input) {
281
+ const basicValues = this.formatZIndexBasicValues(input);
282
+ if (this.validBasicValues(basicValues)) {
283
+ this.updateBasicValues(basicValues);
284
+ }
285
+ }
286
+ /**
287
+ * The function `formatZIndexBasicValues` takes an input object and returns a new object with additional
288
+ * properties `base` and `top` added to it.
289
+ *
290
+ * @param {ZIndexBasicValues} input - The input parameter is of type ZIndexBasicValues. It is an object
291
+ * that contains properties for base and top.
292
+ * @returns {ZIndexBasicValues} - an object that combines the properties of the input object `input` with the properties
293
+ * `base` and `top`. The values of `base` and `top` are taken from the `this.baseBasicZIndex` and
294
+ * `this.topBasicZIndex` variables respectively.
295
+ */
296
+ formatZIndexBasicValues(input) {
297
+ return Object.assign({
298
+ base: this.baseBasicZIndex,
299
+ top: this.topBasicZIndex,
300
+ }, input);
301
+ }
302
+ /**
303
+ * The function checks if the input values for base and top levels of a z-index are valid.
304
+ *
305
+ * @param {ZIndexBasicValues} input - The input parameter is an object of type ZIndexBasicValues. It
306
+ * has two properties: base and top. Both properties should be of type number.
307
+ * @returns {boolean} a boolean value.
308
+ */
309
+ validBasicValues(input) {
310
+ if (typeof input.base !== 'number' || typeof input.top !== 'number') {
311
+ globalSlimmerRegistry.LogUtility.error('Change z-index basic value failed, both base level and top level should be of type number!');
312
+ return false;
313
+ }
314
+ else if (input.base >= input.top) {
315
+ globalSlimmerRegistry.LogUtility.error('Change z-index basic value failed, the base level should be smaller than the top level!');
316
+ return false;
317
+ }
318
+ return true;
319
+ }
320
+ /**
321
+ * The function updates the z-index values of elements based on the input values.
322
+ *
323
+ * @param {ZIndexBasicValues} input - The input parameter is an object of type ZIndexBasicValues. It
324
+ * has two properties: base and top, both of which are optional and can be of type number.
325
+ */
326
+ updateBasicValues(input) {
327
+ // update basic z-index value
328
+ this.baseBasicZIndex = input.base;
329
+ this.topBasicZIndex = input.top;
330
+ // update base level entry
331
+ const baseLevel = this.levelEntry.base;
332
+ baseLevel.elements.forEach((element, index) => {
333
+ element.style.zIndex = `${this.baseBasicZIndex + index + 1}`;
334
+ });
335
+ baseLevel.zIndex = this.baseBasicZIndex + baseLevel.elements.length;
336
+ // update top level entry
337
+ const topLevel = this.levelEntry.top;
338
+ topLevel.elements.forEach((element, index) => {
339
+ element.style.zIndex = `${this.topBasicZIndex + index + 1}`;
340
+ });
341
+ topLevel.zIndex = this.topBasicZIndex + topLevel.elements.length;
342
+ }
343
+ /**
344
+ * It increases the z-index of all the elements in the top entry by 1
345
+ *
346
+ * @returns {void}
347
+ */
348
+ increaseTopEntry() {
349
+ const topEntry = this.levelEntry['top'];
350
+ topEntry.elements.forEach((element) => {
351
+ element.style.zIndex = `${number.convertToNumber(element.style.zIndex) + 1}`;
352
+ });
353
+ topEntry.zIndex += 1;
354
+ }
355
+ /**
356
+ * If the z-index of the level is over 1000 greater than the basic z-index of the level, then return
357
+ * true.
358
+ *
359
+ * @returns {boolean} - The zIndexEntry.zIndex - this.getBasicZIndexByLevel(level) >= 1000 is being returned.
360
+ */
361
+ isBaseLevelOver() {
362
+ const baseEntry = this.levelEntry['base'];
363
+ return baseEntry.zIndex >= this.topBasicZIndex;
364
+ }
365
+ }
366
+ const InternalVegaZIndexManager$1 = new InternalVegaZIndexManager();
367
+
368
+ const VegaNotifyRuntimeMetricsPayloadDefinition = [
369
+ {
370
+ payloadKey: 'IS_OPEN_METHOD_CALLED',
371
+ payloadDescription: 'Indicate if the method open of public API VegaNotifyController is called',
372
+ /**
373
+ * Indicate whether the method is collected when the method been called .
374
+ *
375
+ * @param {string} scope - The class name of public api
376
+ * @param {string} methodName - The method name called by the public api
377
+ * @returns {boolean} A boolean value
378
+ */
379
+ canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'open',
380
+ /**
381
+ * The function checks if the method name is open.
382
+ *
383
+ * @returns {boolean} A boolean value
384
+ */
385
+ payloadValue: () => {
386
+ return true;
387
+ },
388
+ },
389
+ {
390
+ payloadKey: 'IS_CLOSE_METHOD_CALLED',
391
+ payloadDescription: 'Indicate if the method close of public API VegaNotifyController is called',
392
+ /**
393
+ * Indicate whether the method is collected when the method been called .
394
+ *
395
+ * @param {string} scope - The class name of public api
396
+ * @param {string} methodName - The method name called by the public api
397
+ * @returns {boolean} A boolean value
398
+ */
399
+ canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'close',
400
+ /**
401
+ * The function checks if the method name is close.
402
+ *
403
+ * @returns {boolean} A boolean value
404
+ */
405
+ payloadValue: () => {
406
+ return true;
407
+ },
408
+ },
409
+ {
410
+ payloadKey: 'IS_CLOSEALL_METHOD_CALLED',
411
+ payloadDescription: 'Indicate if the method closeAll of public API VegaNotifyController is called',
412
+ /**
413
+ * Indicate whether the method is collected when the method been called .
414
+ *
415
+ * @param {string} scope - The class name of public api
416
+ * @param {string} methodName - The method name called by the public api
417
+ * @returns {boolean} A boolean value
418
+ */
419
+ canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'closeAll',
420
+ /**
421
+ * The function checks if the method name is closeAll.
422
+ *
423
+ * @returns {boolean} A boolean value
424
+ */
425
+ payloadValue: () => {
426
+ return true;
427
+ },
428
+ },
429
+ ];
430
+
431
+ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
432
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
433
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
434
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
435
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
436
+ };
437
+ /**
438
+ * The page notification controller
439
+ */
440
+ class VegaNotifyController {
441
+ constructor() {
442
+ this.resizeObserverSlimmer = dynamicSlimmer.createDynamicSlimmer(VegaNotifyController, pageResizeObserverSlimmer.PageResizeObserverSlimmer, [], [{ mapFrom: 'connectResizeObserver', mapTo: 'connectResizeObserver' }], [
443
+ {
444
+ // eslint-disable-next-line jsdoc/require-jsdoc
445
+ callback: (entries) => {
446
+ var _a;
447
+ const currentVisible = entries[0].contentRect.height > 0;
448
+ if (!currentVisible && ((_a = this.container) === null || _a === void 0 ? void 0 : _a.classList.contains('hydrated'))) {
449
+ InternalVegaZIndexManager$1.removeZIndex(this.container, 'top');
450
+ this.container.remove();
451
+ this.container = null;
452
+ }
453
+ },
454
+ // eslint-disable-next-line jsdoc/require-jsdoc
455
+ target: () => this.container,
456
+ },
457
+ ]);
458
+ this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaNotifyController, ['open', 'close', 'closeAll'], VegaNotifyRuntimeMetricsPayloadDefinition);
459
+ }
460
+ /**
461
+ * It creates a new notification element, adds it to the container, and returns the notification's ID
462
+ *
463
+ * @param {VegaNotifyOption} options - VegaNotifyProps
464
+ * @returns {Promise<string>} The ID of the notification.
465
+ * @vegaVersion 1.17.0
466
+ */
467
+ async open(options) {
468
+ const pageNotification = this.createPageNotification(options);
469
+ this.getContainer().append(pageNotification);
470
+ return pageNotification.id;
471
+ }
472
+ /**
473
+ * It closes all notifications
474
+ *
475
+ * @vegaVersion 1.17.0
476
+ */
477
+ async closeAll() {
478
+ this.container &&
479
+ Array.from(this.container.children).forEach((item) => {
480
+ void item.close();
481
+ });
482
+ }
483
+ /**
484
+ * It closes the notification with the given id
485
+ *
486
+ * @param {string} id - The id of the notification to close.
487
+ * @vegaVersion 1.17.0
488
+ */
489
+ async close(id) {
490
+ // eslint-disable-next-line no-restricted-globals
491
+ await document.getElementById(id).close();
492
+ }
493
+ /**
494
+ * The function "connectResizeObserver" is used to connect a resize observer.
495
+ *
496
+ * @vegaVersion 1.17.0
497
+ */
498
+ connectResizeObserver() {
499
+ }
500
+ /**
501
+ * It creates a new page notification element, sets its properties, and returns it
502
+ *
503
+ * @param {VegaNotifyOption} props - VegaNotifyProps - the properties of the notification
504
+ * @returns {HTMLVegaPageNotificationElement} A function that takes in a props object and returns a pageNotification element.
505
+ */
506
+ createPageNotification(props) {
507
+ const pageNotification =
508
+ // eslint-disable-next-line no-restricted-globals
509
+ document.createElement('vega-page-notification');
510
+ Object.keys(props).forEach((propName) => {
511
+ props[propName] !== undefined && (pageNotification[propName] = props[propName]);
512
+ });
513
+ pageNotification.style.marginBottom = ui.getDeviceType() === ui.DeviceType.MOBILE ? '12px' : '16px';
514
+ pageNotification.id = `vega-page-notification-${createPublicApiRuntimeMetricsSlimmer.generateUUID()}`;
515
+ return pageNotification;
516
+ }
517
+ /**
518
+ * It creates a div element, sets its z-index to be on top of everything else, adds a class to it, and
519
+ * then adds it to the body of the page
520
+ *
521
+ * @returns {HTMLVegaPageNotificationListElement} The container is being returned.
522
+ */
523
+ getContainer() {
524
+ if (this.container) {
525
+ return this.container;
526
+ }
527
+ // eslint-disable-next-line no-restricted-globals
528
+ this.container = document.createElement('vega-page-notification-list');
529
+ InternalVegaZIndexManager$1.setZIndex(this.container, 'top');
530
+ if (ui.getDeviceType() === ui.DeviceType.MOBILE) {
531
+ this.container.classList.add('vega-page-notification-list-bottom');
532
+ }
533
+ else {
534
+ this.container.classList.add('vega-page-notification-list-topRight');
535
+ }
536
+ // eslint-disable-next-line no-restricted-globals
537
+ document.body.append(this.container);
538
+ this.connectResizeObserver();
539
+ return this.container;
540
+ }
541
+ }
542
+ __decorate$5([
543
+ globalSlimmerRegistry.InjectVegaSlimmer()
544
+ ], VegaNotifyController.prototype, "resizeObserverSlimmer", void 0);
545
+ __decorate$5([
546
+ createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
547
+ ], VegaNotifyController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
548
+ const VegaNotify = new VegaNotifyController();
549
+
550
+ const ThemeManagerRuntimeMetricsPayloadDefinition = [
551
+ {
552
+ payloadKey: 'IS_OVERRIDECOLORS_METHOD_CALLED',
553
+ payloadDescription: 'Indicate if the method overrideColors of public API ThemeManager is called',
554
+ /**
555
+ * Indicate whether the method is collected when the method been called .
556
+ *
557
+ * @param {string} scope - The class name of public api
558
+ * @param {string} methodName - The method name called by the public api
559
+ * @returns {boolean} A boolean value
560
+ */
561
+ canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'overrideColors',
562
+ /**
563
+ * The function checks if the method is be called.
564
+ *
565
+ * @returns {boolean} A boolean value
566
+ */
567
+ payloadValue: () => {
568
+ return true;
569
+ },
570
+ },
571
+ {
572
+ payloadKey: 'IS_RESET_METHOD_CALLED',
573
+ payloadDescription: 'Indicate if the method reset of public API ThemeManager is called',
574
+ /**
575
+ * Indicate whether the method is collected when the method been called .
576
+ *
577
+ * @param {string} scope - The class name of public api
578
+ * @param {string} methodName - The method name called by the public api
579
+ * @returns {boolean} A boolean value
580
+ */
581
+ canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'reset',
582
+ /**
583
+ * The function checks if the method is be called.
584
+ *
585
+ * @returns {boolean} A boolean value
586
+ */
587
+ payloadValue: () => {
588
+ return true;
589
+ },
590
+ },
591
+ {
592
+ payloadKey: 'IS_TOGGLEDARKMODE_METHOD_CALLED',
593
+ payloadDescription: 'Indicate if the method toggleDarkMode of public API ThemeManager is called',
594
+ /**
595
+ * Indicate whether the method is collected when the method been called .
596
+ *
597
+ * @param {string} scope - The class name of public api
598
+ * @param {string} methodName - The method name called by the public api
599
+ * @returns {boolean} A boolean value
600
+ */
601
+ canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'toggleDarkMode',
602
+ /**
603
+ * The function checks if the method is be called.
604
+ *
605
+ * @returns {boolean} A boolean value
606
+ */
607
+ payloadValue: () => {
608
+ return true;
609
+ },
610
+ },
611
+ {
612
+ payloadKey: 'IS_ISDARKMODE_METHOD_CALLED',
613
+ payloadDescription: 'Indicate if the method isDarkMode of public API ThemeManager is called',
614
+ /**
615
+ * Indicate whether the method is collected when the method been called .
616
+ *
617
+ * @param {string} scope - The class name of public api
618
+ * @param {string} methodName - The method name called by the public api
619
+ * @returns {boolean} A boolean value
620
+ */
621
+ canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'isDarkMode',
622
+ /**
623
+ * The function checks if the method is be called.
624
+ *
625
+ * @returns {boolean} A boolean value
626
+ */
627
+ payloadValue: () => {
628
+ return true;
629
+ },
630
+ },
631
+ {
632
+ payloadKey: 'IS_APPLY_BRANDING_METHOD_CALLED',
633
+ payloadDescription: 'Indicate if the method applyBranding of public API ThemeManager is called',
634
+ /**
635
+ * Indicate whether the method is collected when the method been called .
636
+ *
637
+ * @param {string} scope - The class name of public api
638
+ * @param {string} methodName - The method name called by the public api
639
+ * @returns {boolean} A boolean value
640
+ */
641
+ canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'applyBranding',
642
+ /**
643
+ * The function checks if the method is be called.
644
+ *
645
+ * @returns {boolean} A boolean value
646
+ */
647
+ payloadValue: () => {
648
+ return true;
649
+ },
650
+ },
651
+ ];
652
+
653
+ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
654
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
655
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
656
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
657
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
658
+ };
659
+ /**
660
+ * Vega components theme manager
661
+ */
662
+ class ThemeManager {
663
+ constructor() {
664
+ this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(ThemeManager, ['overrideColors', 'reset', 'toggleDarkMode', 'isDarkMode', 'applyBranding'], ThemeManagerRuntimeMetricsPayloadDefinition);
665
+ }
666
+ /**
667
+ * It takes the colors you passed in, parses them into the correct format, and then applies them to the theme
668
+ *
669
+ * @param {VegaThemeOverrideColors} overrideColors - OverrideColors - This is the object that you pass to the function.
670
+ * @vegaVersion 1.20.0
671
+ */
672
+ async overrideColors(overrideColors) {
673
+ void darkModeStyleController.VegaInternalThemeManager.overrideColors(overrideColors);
674
+ }
675
+ /**
676
+ * It removes all the custom override theme styles from the DOM
677
+ *
678
+ * @vegaVersion 1.20.0
679
+ */
680
+ async reset() {
681
+ void darkModeStyleController.VegaInternalThemeManager.reset();
682
+ }
683
+ /**
684
+ * This function toggles the dark mode of a webpage by adding or removing a 'dark' class to the HTML element.
685
+ *
686
+ * @param {boolean | undefined} darkMode - A boolean or undefined value that determines whether to enable or disable dark mode.
687
+ * If it is true, dark mode is enabled.
688
+ * If it is false, dark mode is disabled.
689
+ * @vegaVersion 1.32.0
690
+ */
691
+ toggleDarkMode(darkMode) {
692
+ darkModeStyleController.VegaInternalThemeManager.toggleDarkMode(darkMode);
693
+ }
694
+ /**
695
+ * The function checks if the HTML element has a class of "dark" and returns a boolean value accordingly.
696
+ *
697
+ * @returns {boolean} A boolean value indicating whether the HTML element has a class of "dark", which is
698
+ * typically used to indicate that the website is in dark mode.
699
+ * @vegaVersion 1.32.0
700
+ */
701
+ isDarkMode() {
702
+ return darkModeStyleController.VegaInternalThemeManager.isDarkMode();
703
+ }
704
+ /**
705
+ * This function switches the Vega theme to a brand theme based on the provided options.
706
+ *
707
+ * @param {BrandOptions} options - The options includes 'gp', 'genius' and 'heartland' options
708
+ * @vegaVersion 2.47.0
709
+ */
710
+ applyBranding(options) {
711
+ darkModeStyleController.VegaInternalThemeManager.applyBranding(options);
712
+ }
713
+ }
714
+ __decorate$4([
715
+ createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
716
+ ], ThemeManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
717
+ const VegaThemeManager = new ThemeManager();
718
+
719
+ const VegaDialogRuntimeMetricsPayloadDefinition = [
720
+ {
721
+ payloadKey: 'IS_OPEN_METHOD_CALLED',
722
+ payloadDescription: 'Indicate if the method open of public API VegaDialogController is called',
723
+ /**
724
+ * Indicate whether the method is collected when the method been called .
725
+ *
726
+ * @param {string} scope - The class name of public api
727
+ * @param {string} methodName - The method name called by the public api
728
+ * @returns {boolean} A boolean value
729
+ */
730
+ canAccept: (scope, methodName) => scope === 'VegaDialogController' && methodName === 'open',
731
+ /**
732
+ * The function checks if the method name is open.
733
+ *
734
+ * @returns {boolean} A boolean value
735
+ */
736
+ payloadValue: () => {
737
+ return true;
738
+ },
739
+ },
740
+ ];
741
+
742
+ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
743
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
744
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
745
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
746
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
747
+ };
748
+ var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
749
+ var t = {};
750
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
751
+ t[p] = s[p];
752
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
753
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
754
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
755
+ t[p[i]] = s[p[i]];
756
+ }
757
+ return t;
758
+ };
759
+ /**
760
+ * The dialog controller
761
+ */
762
+ class VegaDialogController {
763
+ constructor() {
764
+ this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaDialogController, ['open'], VegaDialogRuntimeMetricsPayloadDefinition);
765
+ }
766
+ /**
767
+ *
768
+ * It creates a new `vega-dialog` element, sets its properties, appends it to the DOM, and opens it
769
+ *
770
+ * @param {VegaDialogOption} options - VegaDialogOption
771
+ * @returns {HTMLVegaDialogElement} The dialog reference.
772
+ * @vegaVersion 1.24.0
773
+ */
774
+ open(options) {
775
+ // eslint-disable-next-line no-restricted-globals
776
+ const dialog = document.createElement('vega-dialog');
777
+ const { isVerticallyCenter, isVerticallyCentered, showCloseButton, size, title, handleClose } = options, dialogProps = __rest$1(options, ["isVerticallyCenter", "isVerticallyCentered", "showCloseButton", "size", "title", "handleClose"]);
778
+ dialog.id = `vega-dialog-${createPublicApiRuntimeMetricsSlimmer.generateUUID()}`;
779
+ dialog.dialogTitle = title;
780
+ dialog.modalProps = { isVerticallyCenter, isVerticallyCentered, showCloseButton, size, handleClose };
781
+ Object.keys(dialogProps).forEach((propName) => {
782
+ if (dialogProps[propName] !== undefined) {
783
+ dialog[propName] = dialogProps[propName];
784
+ }
785
+ });
786
+ // eslint-disable-next-line no-restricted-globals
787
+ document.body.append(dialog);
788
+ return dialog;
789
+ }
790
+ }
791
+ __decorate$3([
792
+ createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
793
+ ], VegaDialogController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
794
+ const VegaDialog = new VegaDialogController();
795
+
796
+ /* istanbul ignore next */
797
+ const VegaEventManagerRuntimeMetricsPayloadDefinition = [
798
+ {
799
+ payloadKey: 'IS_SETSEMANTICS_METHOD_CALLED',
800
+ payloadDescription: 'Indicate if the method setSemantics of public API VegaEventManager is called',
801
+ /**
802
+ * Indicate whether the method is collected when the method been called .
803
+ *
804
+ * @param {string} scope - The class name of public api
805
+ * @param {string} methodName - The method name called by the public api
806
+ * @returns {boolean} A boolean value
807
+ */
808
+ canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
809
+ /**
810
+ * The function checks if the method is been called.
811
+ *
812
+ * @returns {boolean} A boolean value
813
+ */
814
+ payloadValue: () => {
815
+ return true;
816
+ },
817
+ },
818
+ {
819
+ payloadKey: 'IS_GETSEMANTICS_METHOD_CALLED',
820
+ payloadDescription: 'Indicate if the method getSemantics of public API VegaEventManager is called',
821
+ /**
822
+ * Indicate whether the method is collected when the method been called .
823
+ *
824
+ * @param {string} scope - The class name of public api
825
+ * @param {string} methodName - The method name called by the public api
826
+ * @returns {boolean} A boolean value
827
+ */
828
+ canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'getSemantics',
829
+ /**
830
+ * The function checks if the method is been called.
831
+ *
832
+ * @returns {boolean} A boolean value
833
+ */
834
+ payloadValue: () => {
835
+ return true;
836
+ },
837
+ },
838
+ {
839
+ payloadKey: 'IS_GETENABLEDEVENTIDSBYCOMPONENT_METHOD_CALLED',
840
+ payloadDescription: 'Indicate if the method getEnabledEventIdsByComponent of public API VegaEventManager is called',
841
+ /**
842
+ * Indicate whether the method is collected when the method been called .
843
+ *
844
+ * @param {string} scope - The class name of public api
845
+ * @param {string} methodName - The method name called by the public api
846
+ * @returns {boolean} A boolean value
847
+ */
848
+ canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'getEnabledEventIdsByComponent',
849
+ /**
850
+ * The function checks if the method is been called.
851
+ *
852
+ * @returns {boolean} A boolean value
853
+ */
854
+ payloadValue: () => {
855
+ return true;
856
+ },
857
+ },
858
+ {
859
+ payloadKey: 'globalEventIsNative',
860
+ payloadDescription: 'Indicate if the vega components will emit events without the vega prefix',
861
+ /**
862
+ * Indicate whether the method is collected when the method been called .
863
+ *
864
+ * @param {string} scope - The class name of public api
865
+ * @param {string} methodName - The method name called by the public api
866
+ * @returns {boolean} A boolean value
867
+ */
868
+ canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
869
+ /**
870
+ * The function checks if the method is been called.
871
+ *
872
+ * @param {unknown[]} args - The args parameter is an object
873
+ * @returns {boolean} A boolean value
874
+ */
875
+ payloadValue: (args) => {
876
+ const config = args;
877
+ return !!(config.global && config.global.namespace === 'native');
878
+ },
879
+ },
880
+ {
881
+ payloadKey: 'eventOfSpecificComponentsIsNative',
882
+ payloadDescription: 'Indicate if the vega components will emit events with the vega prefix, but special components will emit events without vega prefix',
883
+ /**
884
+ * Indicate whether the method is collected when the method been called .
885
+ *
886
+ * @param {string} scope - The class name of public api
887
+ * @param {string} methodName - The method name called by the public api
888
+ * @returns {boolean} A boolean value
889
+ */
890
+ canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
891
+ /**
892
+ * The function checks if the method is been called.
893
+ *
894
+ * @param {unknown[]} args - The args parameter is an object
895
+ * @returns {boolean} A boolean value
896
+ */
897
+ payloadValue: (args) => {
898
+ const config = args;
899
+ if (config.components) {
900
+ const specialComponents = Object.keys(config.components);
901
+ return !!(specialComponents.length > 0 &&
902
+ config.components[specialComponents[0]].namespace === 'native');
903
+ }
904
+ return false;
905
+ },
906
+ },
907
+ {
908
+ payloadKey: 'eventOfSpecificComponentsIsVega',
909
+ payloadDescription: 'Indicate if the vega components will emit events without the vega prefix, but special components will emit events with vega prefix',
910
+ /**
911
+ * Indicate whether the method is collected when the method been called .
912
+ *
913
+ * @param {string} scope - The class name of public api
914
+ * @param {string} methodName - The method name called by the public api
915
+ * @returns {boolean} A boolean value
916
+ */
917
+ canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
918
+ /**
919
+ * The function checks if the method is been called.
920
+ *
921
+ * @param {unknown[]} args - The args parameter is an object
922
+ * @returns {boolean} A boolean value
923
+ */
924
+ payloadValue: (args) => {
925
+ const config = args;
926
+ if (config.global && config.components) {
927
+ const specialComponents = Object.keys(config.components);
928
+ return !!(config.global.namespace === 'native' &&
929
+ specialComponents.length > 0 &&
930
+ config.components[specialComponents[0]].namespace === 'vega');
931
+ }
932
+ return false;
933
+ },
934
+ },
935
+ {
936
+ payloadKey: 'globalJqueryDelegatedEventIsTrue',
937
+ payloadDescription: 'Indicate if the use jQuery with event delegation',
938
+ /**
939
+ * Indicate whether the method is collected when the method been called .
940
+ *
941
+ * @param {string} scope - The class name of public api
942
+ * @param {string} methodName - The method name called by the public api
943
+ * @returns {boolean} A boolean value
944
+ */
945
+ canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
946
+ /**
947
+ * The function checks if the method is been called.
948
+ *
949
+ * @param {unknown[]} args - The args parameter is an object
950
+ * @returns {boolean} A boolean value
951
+ */
952
+ payloadValue: (args) => {
953
+ const config = args;
954
+ return !!(config.global && config.global.jqueryDelegatedEvent === true);
955
+ },
956
+ },
957
+ {
958
+ payloadKey: 'jqueryDelegatedEventIsCustomStrategy',
959
+ payloadDescription: 'Indicate if the use jQuery with event delegation',
960
+ /**
961
+ * Indicate whether the method is collected when the method been called .
962
+ *
963
+ * @param {string} scope - The class name of public api
964
+ * @param {string} methodName - The method name called by the public api
965
+ * @returns {boolean} A boolean value
966
+ */
967
+ canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
968
+ /**
969
+ * The function checks if the method is been called.
970
+ *
971
+ * @param {unknown[]} args - The args parameter is an object
972
+ * @returns {boolean} A boolean value
973
+ */
974
+ payloadValue: (args) => {
975
+ const config = args;
976
+ return !!(config.global &&
977
+ Array.isArray(config.global.jqueryDelegatedEvent) &&
978
+ config.global.jqueryDelegatedEvent.length > 0);
979
+ },
980
+ },
981
+ {
982
+ payloadKey: 'jqueryDelegatedEventOfSpecialComponentsIsTrue',
983
+ payloadDescription: 'Indicate if the use jQuery with event delegation',
984
+ /**
985
+ * Indicate whether the method is collected when the method been called .
986
+ *
987
+ * @param {string} scope - The class name of public api
988
+ * @param {string} methodName - The method name called by the public api
989
+ * @returns {boolean} A boolean value
990
+ */
991
+ canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
992
+ /**
993
+ * The function checks if the method is been called.
994
+ *
995
+ * @param {unknown[]} args - The args parameter is an object
996
+ * @returns {boolean} A boolean value
997
+ */
998
+ payloadValue: (args) => {
999
+ const config = args;
1000
+ if (config.components) {
1001
+ const specialComponents = Object.keys(config.components);
1002
+ return !!(specialComponents.length > 0 &&
1003
+ config.components[specialComponents[0]].jqueryDelegatedEvent === true);
1004
+ }
1005
+ return false;
1006
+ },
1007
+ },
1008
+ ];
1009
+
1010
+ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1011
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1012
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1013
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1014
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1015
+ };
1016
+ /**
1017
+ * The VegaEventManager class provides methods for setting and retrieving event semantics configuration,
1018
+ * as well as getting the corresponding native event name for a given event.
1019
+ */
1020
+ class VegaEventManager {
1021
+ constructor() {
1022
+ this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaEventManager, ['setSemantics', 'getSemantics', 'getEnabledEventIdsByComponent'], VegaEventManagerRuntimeMetricsPayloadDefinition);
1023
+ }
1024
+ /**
1025
+ * The function sets the semantics configuration for event management.
1026
+ *
1027
+ * @param {EventSemanticsConfig} config - The config parameter is an object that contains the
1028
+ * configuration settings for the event semantics. It may include properties such as the event type,
1029
+ * event source, event target, event data, and any other relevant information for setting up the
1030
+ * semantics of the event.
1031
+ * @vegaVersion 2.0.0
1032
+ */
1033
+ setSemantics(config) {
1034
+ internalVegaEventManager.internalVegaEventManager.setSemantics(config);
1035
+ }
1036
+ /**
1037
+ * The function "getSemantics" returns the event semantics of an HTML element.
1038
+ *
1039
+ * @param {HTMLElement} host - The host parameter is an HTMLElement, which represents an HTML element
1040
+ * in the DOM (Document Object Model). It can be any valid HTML element such as a div, span, button,
1041
+ * etc.
1042
+ * @returns {EventSemantics} an object of type EventSemantics.
1043
+ * @vegaVersion 2.0.0
1044
+ */
1045
+ getSemantics(host) {
1046
+ return internalVegaEventManager.internalVegaEventManager.getSemantics(host);
1047
+ }
1048
+ /**
1049
+ * The function "getEnabledEventIdsByComponent" returns the all eventIds in component.
1050
+ *
1051
+ * @param {VegaComponentName} componentName - The component name,
1052
+ * etc.
1053
+ * @returns {Nullable<VegaEventID[]>} All eventIds.
1054
+ * @vegaVersion 2.0.0
1055
+ */
1056
+ getEnabledEventIdsByComponent(componentName) {
1057
+ return internalVegaEventManager.internalVegaEventManager.getEnabledEventIdsByComponent(componentName);
1058
+ }
1059
+ }
1060
+ __decorate$2([
1061
+ createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
1062
+ ], VegaEventManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
1063
+ const VegaEventManager$1 = new VegaEventManager();
1064
+
1065
+ const ZIndexManagerRuntimeMetricsPayloadDefinition = [
1066
+ {
1067
+ payloadKey: 'IS_OVERRIDEZINDEXBASICVALUES_METHOD_CALLED',
1068
+ payloadDescription: 'Indicate if the method overrideZIndexBasicValues of public API ZIndexManager is called',
1069
+ /**
1070
+ * Indicate whether the method is collected when the method been called .
1071
+ *
1072
+ * @param {string} scope - The class name of public api
1073
+ * @param {string} methodName - The method name called by the public api
1074
+ * @returns {boolean} A boolean value
1075
+ */
1076
+ canAccept: (scope, methodName) => scope === 'VegaZIndexManager' && methodName === 'overrideZIndexBasicValues',
1077
+ /**
1078
+ * The function checks if the method name is load.
1079
+ *
1080
+ * @returns {boolean} A boolean value
1081
+ */
1082
+ payloadValue: () => {
1083
+ return true;
1084
+ },
1085
+ },
1086
+ {
1087
+ payloadKey: 'zIndexBasicValuesGreatThanTenThousand',
1088
+ payloadDescription: 'Indicate if the basic z-index value is great than ten thousand',
1089
+ /**
1090
+ * Indicate whether the method is collected when the method been called .
1091
+ *
1092
+ * @param {string} scope - The class name of public api
1093
+ * @param {string} methodName - The method name called by the public api
1094
+ * @returns {boolean} A boolean value
1095
+ */
1096
+ canAccept: (scope, methodName) => scope === 'VegaZIndexManager' && methodName === 'overrideZIndexBasicValues',
1097
+ /**
1098
+ * The function checks if the method name is load.
1099
+ *
1100
+ * @param {unknown[]} args - The parameter of slimmer method
1101
+ * @returns {boolean} A boolean value
1102
+ */
1103
+ payloadValue: (args) => {
1104
+ return args['base'] > 10000;
1105
+ },
1106
+ },
1107
+ ];
1108
+
1109
+ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1110
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1111
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1112
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1113
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1114
+ };
1115
+ /**
1116
+ * The VegaZIndexManager class calls a method in the ZIndexManager class to
1117
+ * change z-index values based on the input.
1118
+ */
1119
+ class VegaZIndexManager {
1120
+ constructor() {
1121
+ this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaZIndexManager, ['overrideZIndexBasicValues'], ZIndexManagerRuntimeMetricsPayloadDefinition);
1122
+ }
1123
+ /**
1124
+ * The function "overrideZIndexBasicValues" calls a method in the "ZIndexManager" class to change the
1125
+ * z-index values based on the input.
1126
+ *
1127
+ * @param {ZIndexBasicValues} input - The input parameter is of type ZIndexBasicValues.
1128
+ * @vegaVersion 2.3.0
1129
+ */
1130
+ overrideZIndexBasicValues(input) {
1131
+ InternalVegaZIndexManager$1.overrideZIndexBasicValues(input);
1132
+ }
1133
+ }
1134
+ __decorate$1([
1135
+ createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
1136
+ ], VegaZIndexManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
1137
+ const VegaZIndexManager$1 = new VegaZIndexManager();
1138
+
1139
+ const VegaSkeletonRuntimeMetricsPayloadDefinition = [
1140
+ {
1141
+ payloadKey: 'IS_LOAD_METHOD_CALLED',
1142
+ payloadDescription: 'Indicate if the method load of public API VegaSkeletonLoaderController is called',
1143
+ /**
1144
+ * Indicate whether the method is collected when the method been called .
1145
+ *
1146
+ * @param {string} scope - The class name of public api
1147
+ * @param {string} methodName - The method name called by the public api
1148
+ * @returns {boolean} A boolean value
1149
+ */
1150
+ canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'load',
1151
+ /**
1152
+ * The function checks if the method name is load.
1153
+ *
1154
+ * @returns {boolean} A boolean value
1155
+ */
1156
+ payloadValue: () => {
1157
+ return true;
1158
+ },
1159
+ },
1160
+ {
1161
+ payloadKey: 'IS_UNLOAD_METHOD_CALLED',
1162
+ payloadDescription: 'Indicate if the method unLoad of public API VegaSkeletonLoaderController is called',
1163
+ /**
1164
+ * Indicate whether the method is collected when the method been called .
1165
+ *
1166
+ * @param {string} scope - The class name of public api
1167
+ * @param {string} methodName - The method name called by the public api
1168
+ * @returns {boolean} A boolean value
1169
+ */
1170
+ canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'unLoad',
1171
+ /**
1172
+ * The function checks if the method name is unLoad.
1173
+ *
1174
+ * @returns {boolean} A boolean value
1175
+ */
1176
+ payloadValue: () => {
1177
+ return true;
1178
+ },
1179
+ },
1180
+ {
1181
+ payloadKey: 'IS_UNLOADALL_METHOD_CALLED',
1182
+ payloadDescription: 'Indicate if the method unLoadAll of public API VegaSkeletonLoaderController is called',
1183
+ /**
1184
+ * Indicate whether the method is collected when the method been called .
1185
+ *
1186
+ * @param {string} scope - The class name of public api
1187
+ * @param {string} methodName - The method name called by the public api
1188
+ * @returns {boolean} A boolean value
1189
+ */
1190
+ canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'unLoadAll',
1191
+ /**
1192
+ * The function checks if the method name is unLoadAll.
1193
+ *
1194
+ * @returns {boolean} A boolean value
1195
+ */
1196
+ payloadValue: () => {
1197
+ return true;
1198
+ },
1199
+ },
1200
+ ];
1201
+
1202
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1203
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1204
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1205
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1206
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1207
+ };
1208
+ /**
1209
+ * Vega Skeleton Loader Controller to show skeletons in the target elements
1210
+ */
1211
+ class VegaSkeletonLoaderController {
1212
+ constructor() {
1213
+ this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaSkeletonLoaderController, ['load', 'unLoad', 'unLoadAll'], VegaSkeletonRuntimeMetricsPayloadDefinition);
1214
+ this.loaderMap = new Map();
1215
+ }
1216
+ /**
1217
+ * Load the skeletons in the target elements
1218
+ *
1219
+ * @param { VegaSkeletonLoaderConfig } config - Configuration for the loading function
1220
+ * @param {string} config.target - Target elements to show the skeletons.
1221
+ * @param {VegaSkeletonLoaderConfig.type} [config.type = 'text'] - Type of the skeleton.
1222
+ * @param {VegaSkeletonLoaderConfig.width} config.width - Width of the skeleton.
1223
+ * @param {VegaSkeletonLoaderConfig.height} config.height - Height of the skeleton.
1224
+ * @param {VegaSkeletonLoaderConfig.items} config.items - Configuration for multiple skeleton items.
1225
+ * @param {VegaSkeletonLoaderConfig.layout} config.layout - Layout of the skeleton items.
1226
+ * @returns { string } - Key of the loaded skeleton items.
1227
+ * @vegaVersion 2.16.0
1228
+ */
1229
+ load({ target, type = 'text', width, height, items, layout }) {
1230
+ // eslint-disable-next-line no-restricted-globals
1231
+ const targets = Array.from(document.body.querySelectorAll(target));
1232
+ const key = `vega-skeleton-loader-${createPublicApiRuntimeMetricsSlimmer.generateUUID()}`;
1233
+ const loaderItems = [];
1234
+ targets.forEach((target) => {
1235
+ const skeletonsLoaders = !items
1236
+ ? [this.createSkeleton({ type, width, height })]
1237
+ : items.map(this.createSkeleton);
1238
+ const itemsWithKey = (layout ? [this.wrapLayout(skeletonsLoaders, layout)] : skeletonsLoaders).map((item) => {
1239
+ item.dataset[VegaSkeletonLoaderController.LOADER_DATA_SET_KEY] = key;
1240
+ return item;
1241
+ });
1242
+ loaderItems.push(...itemsWithKey);
1243
+ target.append(...itemsWithKey);
1244
+ });
1245
+ this.loaderMap.set(key, loaderItems);
1246
+ return key;
1247
+ }
1248
+ /**
1249
+ * Remove the skeletons from the dom.
1250
+ *
1251
+ * @param {string} key - The key returned from {@link VegaSkeletonLoaderController.load}.
1252
+ * @vegaVersion 2.16.0
1253
+ */
1254
+ unLoad(key) {
1255
+ if (this.loaderMap.has(key)) {
1256
+ this.loaderMap.get(key).forEach((item) => item.remove());
1257
+ this.loaderMap.delete(key);
1258
+ }
1259
+ }
1260
+ /**
1261
+ * Remove all the skeletons from the dom.
1262
+ *
1263
+ * @vegaVersion 2.16.0
1264
+ */
1265
+ unLoadAll() {
1266
+ for (const items of this.loaderMap.values()) {
1267
+ items.forEach((item) => item.remove());
1268
+ }
1269
+ this.loaderMap.clear();
1270
+ }
1271
+ /**
1272
+ * Create a skeleton item. The skeleton animated always be true
1273
+ *
1274
+ * @param {VegaSkeletonLoaderItem} config - Configuration for the skeleton item.
1275
+ * @returns {HTMLVegaSkeletonElement} - Skeleton item.
1276
+ */
1277
+ createSkeleton(config) {
1278
+ const { type, width, height } = config;
1279
+ // eslint-disable-next-line no-restricted-globals
1280
+ const skeleton = document.createElement('vega-skeleton');
1281
+ Object.assign(skeleton, { animated: true, type, width, height });
1282
+ return skeleton;
1283
+ }
1284
+ /**
1285
+ * Wrap the flex layout for the skeletons.
1286
+ *
1287
+ * @param {HTMLElement[]} skeletons - Skeleton elements of the loader.
1288
+ * @param {VegaSkeletonLoaderLayout} layout - Flex properties for the layout.
1289
+ * @returns {HTMLVegaFlexElement} - Container wrapping the skeletons in the specified flex layout.
1290
+ */
1291
+ wrapLayout(skeletons, layout) {
1292
+ // eslint-disable-next-line no-restricted-globals
1293
+ const skeletonContainer = document.createElement('vega-flex');
1294
+ Object.assign(skeletonContainer, Object.assign({ className: 'vega-skeleton-loader-template-container' }, layout.props));
1295
+ Object.assign(skeletonContainer.style, layout.style);
1296
+ skeletonContainer.append(...skeletons);
1297
+ return skeletonContainer;
1298
+ }
1299
+ }
1300
+ VegaSkeletonLoaderController.LOADER_DATA_SET_KEY = 'vegaSkeletonLoaderKey';
1301
+ __decorate([
1302
+ createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
1303
+ ], VegaSkeletonLoaderController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
1304
+ const VegaSkeletonLoader = new VegaSkeletonLoaderController();
1305
+
1306
+ /**
1307
+ * Base renderer for Vega Rich Text Editor.
1308
+ */
1309
+ class VegaRTEExtensionRenderer extends baseRenderer.VegaRTEBaseRenderer {
1310
+ /**
1311
+ * Returns the styles to be injected into the RTE scope.
1312
+ * Override this method to provide custom styles for the custom blocks or nodes.
1313
+ *
1314
+ * @returns {string} - The styles as a string.
1315
+ */
1316
+ injectRTEScopeStyles() {
1317
+ return '';
1318
+ }
1319
+ /**
1320
+ * Renders the given data as a DOM element.
1321
+ *
1322
+ * @param {RTEBlock | RTENode} renderData - The data to render, which can be a block or a node.
1323
+ * @param {RTERenderContext} rteContext - The rte editor context.
1324
+ * @param {VegaRTECreateElementFunction} createElement - The function to create a DOM element.
1325
+ * @returns {VegaRTERenderResult} - The rendered DOM element.
1326
+ */
1327
+ render(renderData, rteContext, createElement) {
1328
+ var _a;
1329
+ const element = this.doRender(createElement, renderData, rteContext);
1330
+ this.fallbackRegisterRef(element, renderData);
1331
+ this.appendChildren(((_a = element.childrenContainerGetter) === null || _a === void 0 ? void 0 : _a.call(element)) || element, renderData, rteContext, createElement);
1332
+ return element;
1333
+ }
1334
+ /**
1335
+ * Register the reference of the element in the rendering registry.
1336
+ *
1337
+ * @param {RTEBlock | RTENode} renderData - The data to register with the element.
1338
+ * @returns {VegaRTEUseRef} - The function to register the element.
1339
+ */
1340
+ useRef(renderData) {
1341
+ renderData[VegaRTEExtensionRenderer.REGISTER_REF_FLAG] = true;
1342
+ return function (element) {
1343
+ if (element) {
1344
+ codeBlock.stateEntityRenderingRegistry.register(element, renderData);
1345
+ }
1346
+ };
1347
+ }
1348
+ /**
1349
+ * Get a registered renderer by its key.
1350
+ *
1351
+ * @param {string} key - The key of the renderer.
1352
+ * @returns {Nullable<BaseRenderer>} - The registered renderer or null if not found.
1353
+ */
1354
+ getDTORenderer(key) {
1355
+ return dtoRendererManager.RTEDTORendererManager.getRTERenderer(key);
1356
+ }
1357
+ /**
1358
+ * Auto render the block children if the block element is not exist
1359
+ *
1360
+ * @param {VegaRTERenderResult} parentElement - The parent element to append children to.
1361
+ * @param {RTEBlock | RTENode} renderData - The data to render children for.
1362
+ * @param {RTERenderContext} rteContext - The render context.
1363
+ * @param {VegaRTECreateElementFunction} createElement - The function to create a DOM element.
1364
+ */
1365
+ appendChildren(parentElement, renderData, rteContext, createElement) {
1366
+ if (Array.isArray(renderData['children']) &&
1367
+ renderData['children'].length &&
1368
+ !parentElement['$children$']) {
1369
+ parentElement['$children$'] = renderData['children']
1370
+ .map((child) => {
1371
+ return this.renderChildren(child, rteContext, createElement);
1372
+ })
1373
+ .filter(typeGuard.isNonNullable);
1374
+ }
1375
+ }
1376
+ /**
1377
+ * Render the children node.
1378
+ *
1379
+ * @param {RTENode | RTEBlock} renderData - The node to render children for.
1380
+ * @param {RTERenderContext} rteContext - The render context.
1381
+ * @param {VegaRTECreateElementFunction} createElement - The function to create a DOM element.
1382
+ * @returns {Nullable<VegaRTERenderResult>} - The rendered DOM element.
1383
+ */
1384
+ renderChildren(renderData, rteContext, createElement) {
1385
+ const renderer = this.getDTORenderer(renderData.type);
1386
+ if (renderer) {
1387
+ return renderer.render(renderData, rteContext, createElement);
1388
+ }
1389
+ }
1390
+ /**
1391
+ * Fallback register reference for the element.
1392
+ *
1393
+ * @param {VegaRTERenderResult} element - The rendered DOM element.
1394
+ * @param {RTEBlock | RTENode} renderData - The data to register with the element.
1395
+ */
1396
+ fallbackRegisterRef(element, renderData) {
1397
+ if (!renderData[VegaRTEExtensionRenderer.REGISTER_REF_FLAG] &&
1398
+ element['$attrs$'] &&
1399
+ !element['$attrs$']['ref']) {
1400
+ // eslint-disable-next-line jsdoc/require-jsdoc
1401
+ element['$attrs$']['ref'] = this.useRef(renderData);
1402
+ }
1403
+ }
1404
+ }
1405
+ VegaRTEExtensionRenderer.REGISTER_REF_FLAG = '__registeredRef__';
1406
+
1407
+ /**
1408
+ * Abstract class for Vega Rich Text Editor extensions.
1409
+ */
1410
+ class VegaRTEExtension {
1411
+ constructor() {
1412
+ /**
1413
+ * The context of the RTE extension, which may include references to the host editor and other relevant information.
1414
+ */
1415
+ this.extensionContext = null;
1416
+ this.hasCustomStylesRenderers = new Set();
1417
+ }
1418
+ /**
1419
+ * Registers an action handle strategy for a specific node or block class.
1420
+ *
1421
+ * @param {string} nodeOrBlockClassName - The name of the node or block class.
1422
+ * @param {string} actionType - The type of the action.
1423
+ * @param {ActionHandleStrategy<ModifyContentAction, RTENode | RTEBlock | VegaRTEContent>} strategy - The strategy to register.
1424
+ */
1425
+ static registerActionHandleStrategy(nodeOrBlockClassName, actionType, strategy) {
1426
+ codeBlock.ActionHandleStrategyRegistry.register(actionType, nodeOrBlockClassName, strategy);
1427
+ }
1428
+ /**
1429
+ * Registers an action handler interceptor for a specific node or block class.
1430
+ *
1431
+ * @param {string} nodeOrBlockClassName - The name of the node or block class.
1432
+ * @param {string} actionType - The type of the action.
1433
+ * @param {ActionHandlerInterceptor<ModifyContentAction, RTENode | RTEBlock | VegaRTEContent>} strategy - The interceptor to register.
1434
+ */
1435
+ static registerActionHandlerInterceptor(nodeOrBlockClassName, actionType, strategy) {
1436
+ codeBlock.ActionHandlerInterceptorRegistry.register(actionType, nodeOrBlockClassName, strategy);
1437
+ }
1438
+ /**
1439
+ * Initializes the RTE extension with the provided context.
1440
+ *
1441
+ * @param {RTEExtensionContext} context - The context of the RTE extension.
1442
+ */
1443
+ initialExtension(context) {
1444
+ this.extensionContext = context;
1445
+ }
1446
+ /**
1447
+ * Callback method invoked when the extension is destroyed.
1448
+ * Override this method to perform any necessary cleanup.
1449
+ */
1450
+ destroyExtension() {
1451
+ }
1452
+ /**
1453
+ * Collect custom styles for the extension renderers.
1454
+ * If custom nodes have special styles, override this method to provide the styles.
1455
+ *
1456
+ * @returns {string} - The custom styles as a string.
1457
+ */
1458
+ collectExtensionRendererStyles() {
1459
+ let styles = '';
1460
+ if (this.hasCustomStylesRenderers.size > 0) {
1461
+ this.hasCustomStylesRenderers.forEach((renderer) => {
1462
+ styles += `${renderer.injectRTEScopeStyles()}\n`;
1463
+ });
1464
+ }
1465
+ return styles;
1466
+ }
1467
+ /**
1468
+ * Register a node type with the extension.
1469
+ *
1470
+ * @param {string} type - The type of the node or block. The type should be a string that uniquely identifies the node or block.
1471
+ * @param {ClassType<RTEBlock | RTENode>} DTOClass - The DTO class to register.
1472
+ */
1473
+ registerNode(type, DTOClass) {
1474
+ codeBlock.RTEDTOClassManager.registerRTEDTOClass(type, DTOClass);
1475
+ }
1476
+ /**
1477
+ * Register a renderer for a node type with the extension.
1478
+ *
1479
+ * @param {string} type - The type of the node or block. The type should be a string that uniquely identifies the node or block.
1480
+ * @param {BaseRenderer} renderer - The renderer to register.
1481
+ */
1482
+ registerRenderer(type, renderer) {
1483
+ dtoRendererManager.RTEDTORendererManager.registerRTEDTORenderer(type, renderer);
1484
+ if (renderer instanceof VegaRTEExtensionRenderer && renderer.injectRTEScopeStyles()) {
1485
+ this.hasCustomStylesRenderers.add(renderer);
1486
+ }
1487
+ }
1488
+ /**
1489
+ * Register a toolbar button renderer for the extension.
1490
+ *
1491
+ * @param {string} type - The type of the toolbar button.
1492
+ * @param {VegaRTEToolbarButtonRenderer} renderer - The renderer to register.
1493
+ */
1494
+ registerToolbarButtonRenderer(type, renderer) {
1495
+ dtoRendererManager.RTEDTORendererManager.registerRTEToolbarButtonRenderer(type, renderer);
1496
+ }
1497
+ /**
1498
+ * This is a helper method that utilizes RTEUtils to register common strategies.
1499
+ * Call the method with the class name of the block to make it support basic strategies like:
1500
+ * - Delete children
1501
+ * - Append the children
1502
+ * - Delete the block children content
1503
+ *
1504
+ * @param {string} blockClassName - The class name of the block to register strategies for.
1505
+ */
1506
+ registerBlockBasicStrategies(blockClassName) {
1507
+ dtoRendererManager.RTEDTOActionStrategyManager.registerBlockBasicStrategies(blockClassName);
1508
+ }
1509
+ /**
1510
+ * Unregister a strategy for a specific action type and block class if not need.
1511
+ *
1512
+ * @param {string} actionType - The special action type or the action class name.
1513
+ * @param {string} blockClassName - The class name of the block to unregister the strategy for.
1514
+ */
1515
+ unRegisterStrategy(actionType, blockClassName) {
1516
+ codeBlock.ActionHandleStrategyRegistry.unregister(actionType, blockClassName);
1517
+ }
1518
+ /**
1519
+ * Unregister a strategy for a specific action type and block class if not need.
1520
+ *
1521
+ * @param {string} actionType - The special action type or the action class name.
1522
+ * @param {string} blockClassName - The class name of the block to unregister the strategy for.
1523
+ * @param {ActionHandlerInterceptor<ModifyContentAction, RTENode | RTEBlock | VegaRTEContent>} strategy - The interceptor to unregister.
1524
+ */
1525
+ unRegisterInterceptor(actionType, blockClassName, strategy) {
1526
+ codeBlock.ActionHandlerInterceptorRegistry.unregister(actionType, blockClassName, strategy);
1527
+ }
1528
+ /**
1529
+ * Register an element to block DTO class strategy.
1530
+ *
1531
+ * @param {ElementToDTOStrategy} strategy - The strategy to register.
1532
+ */
1533
+ registerElementToBlockDTOClassStrategy(strategy) {
1534
+ dtoRendererManager.ElementToDTOClassStrategyManager.registerElementToBlockStrategy(strategy);
1535
+ }
1536
+ /**
1537
+ * Register an element to node DTO class strategy.
1538
+ *
1539
+ * @param {ElementToDTOStrategy} strategy - The strategy to register.
1540
+ */
1541
+ registerElementToNodeDTOClassStrategy(strategy) {
1542
+ dtoRendererManager.ElementToDTOClassStrategyManager.registerElementToNodeStrategy(strategy);
1543
+ }
1544
+ /**
1545
+ * Get the registered element to node DTO class strategies.
1546
+ *
1547
+ * @returns {ElementToDTOStrategy[]} - The registered element to node DTO class strategies.
1548
+ */
1549
+ getElementToNodeDTOClassStrategies() {
1550
+ return dtoRendererManager.ElementToDTOClassStrategyManager.getElementToNodeStrategies();
1551
+ }
1552
+ }
1553
+
1554
+ /**
1555
+ * Base class for rendering extension toolbar button in the rich text editor.
1556
+ * The renderer provides common functionalities for rendering toolbar buttons, including:
1557
+ * - Rendering a button with an icon, label, and optional arrow icon.
1558
+ * - Rendering a dropdown with a list of items.
1559
+ * - Rendering dropdown items.
1560
+ * - Rendering template for dropdown list.
1561
+ * - Determining if the button should be disabled based on the editor context.
1562
+ * - Handling button and dropdown click events.
1563
+ * Override the methods to customize the rendering and behavior of the button.
1564
+ */
1565
+ class VegaRTEToolbarButtonRenderer {
1566
+ /**
1567
+ * Checks if the button should be hidden.
1568
+ *
1569
+ * @param {VegaRTEToolbarRenderContext} editorContext The render context for the editor.
1570
+ * @returns {boolean} True if the button is hidden, false otherwise.
1571
+ */
1572
+ isHidden(editorContext) {
1573
+ return editorContext.sourceEditMode;
1574
+ }
1575
+ /**
1576
+ * Renders a dropdown component with the specified properties and children.
1577
+ *
1578
+ * @param {VegaRTECreateElementFunction} h - Create element function.
1579
+ * @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
1580
+ * @param {RTEToolbarDropdownProps} dropdownProps - The properties for the dropdown.
1581
+ * @param {VegaRTERenderResult[]} children - The children elements for the dropdown.
1582
+ * @returns {VegaRTERenderResult} - The render result for the dropdown.
1583
+ */
1584
+ renderDropdown(h, editorContext, dropdownProps, children) {
1585
+ return h('vega-dropdown', Object.assign({ trigger: 'click', searchable: false, maxWidth: '200', itemDisplayRule: 'ellipsis',
1586
+ // eslint-disable-next-line jsdoc/require-jsdoc
1587
+ ref: (el) => {
1588
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(el, domNodeSubjectObserverFactory.VegaDropdownClick, (input) => this.handleDropdownClick(input.detail, editorContext));
1589
+ } }, dropdownProps), children);
1590
+ }
1591
+ /**
1592
+ * Renders the dropdown list template.
1593
+ *
1594
+ * @param {VegaRTECreateElementFunction} h - Create element function.
1595
+ * @param {(RTEDropdownListItem | RTEDropdownListGroup)[]} itemList - The list of dropdown items.
1596
+ * @returns {VegaRTERenderResult} - The render result for the dropdown list.
1597
+ */
1598
+ renderDropdownListTemplate(h, itemList) {
1599
+ return h('div', {
1600
+ slot: 'items',
1601
+ onMouseDown: this.preventDefault,
1602
+ }, itemList.map((item) => {
1603
+ return 'children' in item
1604
+ ? this.renderDropdownGroup(h, item)
1605
+ : this.renderDropdownItem(h, item);
1606
+ }));
1607
+ }
1608
+ /**
1609
+ * Renders a dropdown item for the toolbar button.
1610
+ *
1611
+ * @param {VegaRTECreateElementFunction} h - Create element function.
1612
+ * @param {RTEDropdownListItem} item - The dropdown item.
1613
+ * @returns {VegaRTERenderResult} - The render result for the dropdown item.
1614
+ */
1615
+ renderDropdownItem(h, item) {
1616
+ return h('vega-dropdown-item', {
1617
+ key: item.key,
1618
+ itemKey: item.key,
1619
+ label: item.label,
1620
+ prefixIcon: item.icon,
1621
+ });
1622
+ }
1623
+ /**
1624
+ * Renders a dropdown item for the toolbar button.
1625
+ *
1626
+ * @param {VegaRTECreateElementFunction} h - Create element function.
1627
+ * @param {RTEDropdownListGroup} item - The dropdown group.
1628
+ * @returns {VegaRTERenderResult} - The render result for the dropdown item.
1629
+ */
1630
+ renderDropdownGroup(h, item) {
1631
+ return h('vega-dropdown-group', {
1632
+ key: item.key,
1633
+ label: item.label,
1634
+ divide: false,
1635
+ }, item.children.map((child) => {
1636
+ return 'children' in child
1637
+ ? this.renderDropdownGroup(h, child)
1638
+ : this.renderDropdownItem(h, child);
1639
+ }));
1640
+ }
1641
+ /**
1642
+ * Renders a common toolbar button with optional icon, label, and arrow icon.
1643
+ *
1644
+ * @param {VegaRTECreateElementFunction} h - Create element function.
1645
+ * @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
1646
+ * @param {RTEToolbarButtonProps} buttonProps - The properties for the button.
1647
+ * @returns {VegaRTERenderResult} - The render result for the button.
1648
+ */
1649
+ renderButton(h, editorContext, buttonProps) {
1650
+ const { icon, label, showArrowIcon } = buttonProps;
1651
+ const isDisabled = this.isDisabled(editorContext);
1652
+ return h('vega-rich-text-editor-toolbar-button', {
1653
+ disabled: isDisabled,
1654
+ icon: icon,
1655
+ hidden: this.isHidden(editorContext),
1656
+ selected: this.isSelected(editorContext),
1657
+ // eslint-disable-next-line jsdoc/require-jsdoc
1658
+ ref: (el) => {
1659
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(el, domNodeSubjectObserverFactory.VegaClick, () => this.handleButtonClick(editorContext));
1660
+ },
1661
+ onMouseDown: this.preventDefault,
1662
+ }, [
1663
+ this.renderButtonLabel(h, editorContext, label),
1664
+ showArrowIcon
1665
+ ? h('vega-icon', {
1666
+ size: 'size-8',
1667
+ color: isDisabled ? 'text-disabled' : 'text-secondary',
1668
+ style: { marginLeft: '8px' },
1669
+ icon: internalIconManager.VegaInternalIconManager.getIconKey('chevron-down'),
1670
+ })
1671
+ : null,
1672
+ ].filter(typeGuard.isNonNullable));
1673
+ }
1674
+ /**
1675
+ * Renders the button label.
1676
+ *
1677
+ * @param {VegaRTECreateElementFunction} h - Create element function.
1678
+ * @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
1679
+ * @param {Nullable<string>} label - The button label if exist.
1680
+ * @returns {Nullable<VegaRTERenderResult>} - The render result for the button.
1681
+ */
1682
+ renderButtonLabel(h, editorContext, label) {
1683
+ if (label) {
1684
+ const isDisabled = this.isDisabled(editorContext);
1685
+ return h('vega-font', {
1686
+ variant: 'font-field-label-sm',
1687
+ color: isDisabled ? 'text-disabled' : 'text-primary',
1688
+ }, label);
1689
+ }
1690
+ return null;
1691
+ }
1692
+ /**
1693
+ * Determines if the button should be disabled based on the editor context.
1694
+ *
1695
+ * @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
1696
+ * @returns {boolean} - True if the button should be disabled, false otherwise.
1697
+ */
1698
+ isDisabled(editorContext) {
1699
+ return editorContext.host.disabled;
1700
+ }
1701
+ /**
1702
+ * Checks if the button should be selected.
1703
+ *
1704
+ * @param {VegaRTEToolbarRenderContext} _editorContext The render context for the editor.
1705
+ * @returns {boolean} True if the button is selected, false otherwise.
1706
+ */
1707
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1708
+ isSelected(_editorContext) {
1709
+ return false;
1710
+ }
1711
+ /**
1712
+ * Prevents the default action of the click event. This is to avoid losing focus from the editor when the button is clicked.
1713
+ *
1714
+ * @param {MouseEvent} e The mouse event to prevent default action for.
1715
+ */
1716
+ preventDefault(e) {
1717
+ e.preventDefault();
1718
+ }
1719
+ /**
1720
+ * Recursively searches for a dropdown list item by its key.
1721
+ *
1722
+ * @param {(RTEDropdownListItem | RTEDropdownListGroup)[]} itemList The list of dropdown items or groups to search through.
1723
+ * @param {string} key The key of the item to find.
1724
+ * @returns {Nullable<RTEDropdownListItem>} The dropdown list item if found, otherwise null.
1725
+ */
1726
+ getListItemByKey(itemList, key) {
1727
+ for (const item of itemList) {
1728
+ if ('children' in item) {
1729
+ const foundItem = this.getListItemByKey(item.children, key);
1730
+ if (foundItem) {
1731
+ return foundItem;
1732
+ }
1733
+ }
1734
+ else if (item.key === key) {
1735
+ return item;
1736
+ }
1737
+ }
1738
+ return null;
1739
+ }
1740
+ }
1741
+
1742
+ /**
1743
+ * Action to insert a token node at a specified range in the Rich Text Editor.
1744
+ *
1745
+ * @example block.apply(new InsertTokenNodeAction(rteRange, tokenNode));
1746
+ */
1747
+ class InsertTokenNodeAction extends codeBlock.ModifyContentAction {
1748
+ constructor(rteRange, token) {
1749
+ super();
1750
+ this.type = 'INSERT_TOKEN_NODE';
1751
+ this.rteRange = null;
1752
+ this.actionHandleResult = false;
1753
+ this.rteRange = rteRange;
1754
+ this.token = token;
1755
+ }
1756
+ }
1757
+
1758
+ /**
1759
+ * Renderer for the token toolbar button in the Vega Rich Text Editor.
1760
+ */
1761
+ class RTETokenToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
1762
+ constructor(tokenList) {
1763
+ super();
1764
+ this.tokenList = [];
1765
+ this.extensionContext = null;
1766
+ this.tokenList = tokenList;
1767
+ }
1768
+ /**
1769
+ * Sets the RTE extension context.
1770
+ *
1771
+ * @param {RTEExtensionContext} context - The context of the RTE extension.
1772
+ */
1773
+ injectExtensionContext(context) {
1774
+ this.extensionContext = context;
1775
+ }
1776
+ /**
1777
+ * Renders the token toolbar button.
1778
+ *
1779
+ * @param {VegaRTECreateElementFunction} createElement Function to create elements in the rich text editor.
1780
+ * @param {VegaRTEToolbarRenderContext} editorContext The render context for the editor.
1781
+ * @returns {VegaRTERenderResult} Token toolbar button.
1782
+ */
1783
+ render(createElement, editorContext) {
1784
+ return this.renderDropdown(createElement, editorContext, {}, [
1785
+ this.renderButton(createElement, editorContext, { label: 'Tokens', showArrowIcon: true }),
1786
+ this.renderDropdownListTemplate(createElement, this.tokenList),
1787
+ ]);
1788
+ }
1789
+ /**
1790
+ * Checks if the token toolbar button is disabled.
1791
+ *
1792
+ * @returns {boolean} True if the button is disabled, false otherwise.
1793
+ */
1794
+ isDisabled() {
1795
+ if (this.extensionContext) {
1796
+ const { host, getSelectedNodes } = this.extensionContext;
1797
+ const [startNode] = getSelectedNodes();
1798
+ return startNode
1799
+ ? host.disabled ||
1800
+ !codeBlock.ActionHandleStrategyRegistry.canHandle('INSERT_TOKEN_NODE', startNode.parent)
1801
+ : host.disabled;
1802
+ }
1803
+ return false;
1804
+ }
1805
+ /* istanbul ignore next */
1806
+ /**
1807
+ * Handles the button click event. No need this method for token button.
1808
+ *
1809
+ * @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
1810
+ */
1811
+ handleButtonClick(editorContext) {
1812
+ }
1813
+ /**
1814
+ * Handles the token item click event from the dropdown.
1815
+ *
1816
+ * @param {string} itemKey - The key of the clicked token item.
1817
+ * @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
1818
+ */
1819
+ handleDropdownClick(itemKey, editorContext) {
1820
+ const token = this.getListItemByKey(this.tokenList, itemKey);
1821
+ const { rteRange } = editorContext;
1822
+ const { startNode } = rteRange;
1823
+ if (startNode && startNode.parent) {
1824
+ const action = new InsertTokenNodeAction(rteRange, token);
1825
+ startNode.parent.apply(action);
1826
+ if (action.actionHandleResult) {
1827
+ this.flushEditorUI();
1828
+ }
1829
+ }
1830
+ }
1831
+ /**
1832
+ * Refreshes the editor UI.
1833
+ */
1834
+ flushEditorUI() {
1835
+ if (this.extensionContext) {
1836
+ const { host, flushValue } = this.extensionContext;
1837
+ flushValue(host.value);
1838
+ }
1839
+ }
1840
+ }
1841
+
1842
+ /**
1843
+ * Token node for the Vega Rich Text Editor.
1844
+ */
1845
+ class RTETokenNode extends codeBlock.RTETextNode {
1846
+ constructor(id, token, text, parentBlock, annotations) {
1847
+ super(id, text, parentBlock, annotations);
1848
+ this.type = 'token';
1849
+ this.token = token;
1850
+ this.text = text;
1851
+ }
1852
+ /**
1853
+ * @inheritDoc
1854
+ */
1855
+ static from(value, parent) {
1856
+ const node = new RTETokenNode(value.id, value.token, value.text, parent);
1857
+ if (value.annotations) {
1858
+ node.annotationMap = this.generateTextAnnotationMap(value.annotations);
1859
+ }
1860
+ return node;
1861
+ }
1862
+ /**
1863
+ * Converts the token node to a JSON representation.
1864
+ *
1865
+ * @returns {VegaRTETokenNode} - The JSON representation of the token node.
1866
+ */
1867
+ toJSON() {
1868
+ const json = super.toJSON();
1869
+ return Object.assign({ id: this.id, type: this.type, text: this.text, token: this.token }, (json.annotations ? { annotations: json.annotations } : {}));
1870
+ }
1871
+ /**
1872
+ * Determines if the token node is content editable.
1873
+ *
1874
+ * @returns {boolean} - Always returns false for token nodes.
1875
+ */
1876
+ isContentEditable() {
1877
+ return false;
1878
+ }
1879
+ /**
1880
+ * Clones the token node.
1881
+ *
1882
+ * @param {RTETextBlock} parent - The parent block for the cloned node.
1883
+ * @returns {RTETokenNode} - The cloned token node.
1884
+ */
1885
+ clone(parent) {
1886
+ return new RTETokenNode(this.id, this.token, this.text, parent, this.annotationMap);
1887
+ }
1888
+ /**
1889
+ * Converts the token node to an HTML representation.
1890
+ *
1891
+ * @returns {string} - The HTML representation of the token node.
1892
+ */
1893
+ toHtml() {
1894
+ return `<span class="token" contenteditable="false" template-token-key="${this.token}" token-key="${this.token}"${super.generateAttributeString()}>${this.text}</span>`;
1895
+ }
1896
+ }
1897
+
1898
+ /**
1899
+ * Token node renderer for the rich text editor.
1900
+ */
1901
+ class RTETokenNodeRenderer extends VegaRTEExtensionRenderer {
1902
+ constructor() {
1903
+ super(...arguments);
1904
+ this.extensionContext = null;
1905
+ }
1906
+ /**
1907
+ * Renders the token node as a DOM element.
1908
+ *
1909
+ * @param {VegaRTECreateElementFunction} createElement - The function to create a DOM element.
1910
+ * @param {RTETokenNode} node - The token node to render.
1911
+ * @param {RTERenderContext} editorContent - The editor content context.
1912
+ * @returns {VegaRTERenderResult} - The rendered DOM element.
1913
+ */
1914
+ doRender(createElement, node, editorContent) {
1915
+ const { id, token } = node;
1916
+ return createElement('span', Object.assign(Object.assign({ 'key': id, 'template-token-key': token, 'token-key': token, 'contenteditable': 'false', 'style': node.getStyles(), 'class': `token ${node.getClasses()}` }, this.additionalAttributes(node)), { 'ref': this.useRef(node),
1917
+ // eslint-disable-next-line jsdoc/require-jsdoc
1918
+ 'onClick': (event) => {
1919
+ event.preventDefault();
1920
+ if (editorContent && editorContent.editable !== false) {
1921
+ this.handleTokenElementClick(event, node);
1922
+ }
1923
+ } }), node.text);
1924
+ }
1925
+ /**
1926
+ * Sets the RTE extension context.
1927
+ *
1928
+ * @param {RTEExtensionContext} context - The context of the RTE extension.
1929
+ */
1930
+ injectExtensionContext(context) {
1931
+ this.extensionContext = context;
1932
+ }
1933
+ /**
1934
+ * Override to inject RTE scope styles for the token node.
1935
+ *
1936
+ * @returns {string} The CSS styles for the token node.
1937
+ */
1938
+ injectRTEScopeStyles() {
1939
+ return `span[token-key]{padding: 0 2px; margin: 0 1px; background-color: rgba(var(--v-bg-status-info, 205,209,211))}`;
1940
+ }
1941
+ /**
1942
+ * Handle the click event on the token element.
1943
+ *
1944
+ * @param {MouseEvent} event - The click event.
1945
+ * @param {RTETokenNode} node - The token node that was clicked.
1946
+ */
1947
+ handleTokenElementClick(event, node) {
1948
+ event.preventDefault();
1949
+ if (this.extensionContext) {
1950
+ this.extensionContext.host.value.apply(new dtoRendererManager.UpdateCursorPositionAction(node, undefined, true));
1951
+ }
1952
+ }
1953
+ /**
1954
+ * Additional attributes for the token node.
1955
+ *
1956
+ * @param {RTETokenNode} node - The token node.
1957
+ * @returns {Record<string, string>} Additional attributes
1958
+ */
1959
+ additionalAttributes(node) {
1960
+ const annotation = node.getCustomAttributesAnnotation();
1961
+ let result = { wrapped: 'true' };
1962
+ if (annotation) {
1963
+ result = Object.assign(Object.assign({}, result), annotation.render());
1964
+ }
1965
+ return result;
1966
+ }
1967
+ }
1968
+
1969
+ /**
1970
+ * Insert a new children to the nearest position of the parent container
1971
+ *
1972
+ * @example parent.apply(new InsertNodeToNearestRoot(rteRange, nodeToBeInserted))
1973
+ */
1974
+ class InsertNodeToNearestRootAction extends codeBlock.ModifyContentAction {
1975
+ constructor(rteRange, nodeToBeInserted) {
1976
+ super();
1977
+ this.type = codeBlock.ModifyContentActionType.INSERT_NODE_TO_NEAREST_ROOT;
1978
+ this.rteRange = rteRange;
1979
+ this.nodeToBeInserted = nodeToBeInserted;
1980
+ }
1981
+ }
1982
+
1983
+ /**
1984
+ * Strategy to handle the insertion of a token node into the nearest root block.
1985
+ */
1986
+ class InsertTokenNodeStrategy extends codeBlock.ActionHandleStrategy {
1987
+ /**
1988
+ * @inheritDoc
1989
+ */
1990
+ handleAction(action, block) {
1991
+ const { rteRange, token } = action;
1992
+ if (rteRange && rteRange.startNode) {
1993
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1994
+ const { key, label, customAttrs = { wrapped: 'true' } } = token;
1995
+ const tokenNode = new RTETokenNode(createPublicApiRuntimeMetricsSlimmer.generateUUID(), key, label, block);
1996
+ tokenNode.annotationMap.set('CUSTOM_ATTRIBUTE', new codeBlock.CustomAttributeAnnotation(customAttrs));
1997
+ block.apply(new InsertNodeToNearestRootAction(rteRange, tokenNode));
1998
+ action.actionHandleResult = true;
1999
+ }
2000
+ }
2001
+ }
2002
+
2003
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
2004
+ var t = {};
2005
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2006
+ t[p] = s[p];
2007
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
2008
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2009
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
2010
+ t[p[i]] = s[p[i]];
2011
+ }
2012
+ return t;
2013
+ };
2014
+ /**
2015
+ * Strategy to convert <span class="token" token-key="...">...</span> to a token node
2016
+ */
2017
+ class SpanToTokenNodeStrategy extends dtoRendererManager.ElementToDTOStrategy {
2018
+ /**
2019
+ * @inheritDoc
2020
+ */
2021
+ canHandle(elementsArray, currentIndex) {
2022
+ const element = elementsArray[currentIndex];
2023
+ if (element.nodeName === 'SPAN' &&
2024
+ element.classList.contains('token') &&
2025
+ element.hasAttribute('token-key')) {
2026
+ return 1;
2027
+ }
2028
+ return 0;
2029
+ }
2030
+ /**
2031
+ * @inheritDoc
2032
+ */
2033
+ handle(elementsArray) {
2034
+ const element = elementsArray[0];
2035
+ const tokenKey = element.getAttribute('token-key');
2036
+ const text = element.textContent;
2037
+ const annotations = dtoRendererManager.htmlElementToAnnotationGenerator.generate(codeBlock.RTETextNode, element);
2038
+ // Exclude customAttribute and customClass from annotations
2039
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2040
+ const { customAttribute, customClass } = annotations, restAnnotations = __rest(annotations, ["customAttribute", "customClass"]);
2041
+ return {
2042
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
2043
+ type: 'token',
2044
+ token: tokenKey,
2045
+ text,
2046
+ annotations: Object.assign(Object.assign({}, restAnnotations), { customAttribute: this.createCustomAttrs(customAttribute) }),
2047
+ };
2048
+ }
2049
+ /**
2050
+ * @inheritDoc
2051
+ */
2052
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
2053
+ appendChildBlocks() { }
2054
+ /**
2055
+ * @inheritDoc
2056
+ */
2057
+ shouldProceedToElementChildren() {
2058
+ return false;
2059
+ }
2060
+ /**
2061
+ * Creates custom attributes record from the given custom attribute object, clean some fixed attributes.
2062
+ *
2063
+ * @param {Record<string, string>} customAttribute - The custom attribute object
2064
+ * @returns {Record<string, string>} The processed custom attributes
2065
+ */
2066
+ createCustomAttrs(customAttribute) {
2067
+ const result = Object.assign(Object.assign({}, customAttribute), { 'contenteditable': null, 'template-token-key': null, 'token-key': null, 'wrapped': customAttribute.wrapped === 'false' ? 'false' : 'true' });
2068
+ return object.cleanObject(result);
2069
+ }
2070
+ }
2071
+
2072
+ const spanToTokenNodeStrategy = new SpanToTokenNodeStrategy();
2073
+ /**
2074
+ * Vega Rich Text Editor Token Extension
2075
+ */
2076
+ class VegaRTETokenExtension extends VegaRTEExtension {
2077
+ constructor(tokenList = []) {
2078
+ super();
2079
+ this.tokenRenderer = new RTETokenNodeRenderer();
2080
+ this.registerNode('token', RTETokenNode);
2081
+ this.registerRenderer('token', this.tokenRenderer);
2082
+ this.tokenToolbarButtonRenderer = new RTETokenToolbarButtonRenderer(tokenList);
2083
+ this.registerToolbarButtonRenderer('token', this.tokenToolbarButtonRenderer);
2084
+ this.registerElementToNodeDTOClassStrategy(spanToTokenNodeStrategy);
2085
+ }
2086
+ /**
2087
+ * @inheritDoc
2088
+ */
2089
+ initialExtension(context) {
2090
+ super.initialExtension(context);
2091
+ this.tokenRenderer.injectExtensionContext(context);
2092
+ if (this.tokenToolbarButtonRenderer) {
2093
+ this.tokenToolbarButtonRenderer.injectExtensionContext(context);
2094
+ }
2095
+ }
2096
+ }
2097
+ (() => {
2098
+ const insertTokenNodeStrategy = new InsertTokenNodeStrategy();
2099
+ VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.name, 'INSERT_TOKEN_NODE', insertTokenNodeStrategy);
2100
+ VegaRTEExtension.registerActionHandleStrategy(dtoRendererManager.RTEListItemBlock.name, 'INSERT_TOKEN_NODE', insertTokenNodeStrategy);
2101
+ })();
2102
+
2103
+ const INSERT_FUNCTION_BLOCK = 'INSERT_FUNCTION_BLOCK';
2104
+ /**
2105
+ * Action to insert a function block into the rich text editor.
2106
+ *
2107
+ * @example focusedBlock.apply(new InsertFunctionBlockAction('IF'))
2108
+ * @example host.value.apply(new InsertFunctionBlockAction('IF'))
2109
+ */
2110
+ class InsertFunctionBlockAction extends codeBlock.ModifyContentAction {
2111
+ constructor(functionType) {
2112
+ super();
2113
+ this.type = INSERT_FUNCTION_BLOCK;
2114
+ this.functionType = functionType;
2115
+ }
2116
+ }
2117
+
2118
+ /**
2119
+ * RTE Function Block
2120
+ */
2121
+ class RTEFunctionBlock extends codeBlock.RTEBlock {
2122
+ constructor(id) {
2123
+ super(id);
2124
+ this.type = 'function-block';
2125
+ this.children = [];
2126
+ }
2127
+ /**
2128
+ * Creates an RTEFunctionBlock from a VegaFunctionBlock.
2129
+ *
2130
+ * @param {VegaFunctionBlock} block - The custom block to convert.
2131
+ * @param {VegaRTETransformOptions} [options] - Optional transformation options.
2132
+ * @returns {RTEFunctionBlock} The resulting RTEFunctionBlock.
2133
+ */
2134
+ static from(block, options) {
2135
+ const functionBlock = new RTEFunctionBlock(block.id);
2136
+ const defaultAnnotation = { customClass: ['statement'] };
2137
+ let { annotations } = block;
2138
+ annotations = annotations
2139
+ ? Object.assign(Object.assign({}, annotations), defaultAnnotation) : defaultAnnotation;
2140
+ super.convertAnnotationsToMap(functionBlock.annotationMap, annotations);
2141
+ functionBlock.children = this.generateBlockChildren(block.children, options, functionBlock);
2142
+ return functionBlock;
2143
+ }
2144
+ /**
2145
+ * Converts the RTEFunctionBlock and its children to an HTML string.
2146
+ *
2147
+ * @returns {string} The HTML string representation of the function block.
2148
+ */
2149
+ toHtml() {
2150
+ const childrenHtml = this.children
2151
+ .map((child) => {
2152
+ if (child instanceof codeBlock.RTETextBlock) {
2153
+ const attrStr = this.getFunctionContentStyle(child);
2154
+ return `<div class="statementelement"${attrStr}>${child.getChildrenHtml()}</div>`;
2155
+ }
2156
+ else {
2157
+ return child.toHtml();
2158
+ }
2159
+ })
2160
+ .join('');
2161
+ return `<div class="statement">${childrenHtml}</div>`;
2162
+ }
2163
+ /**
2164
+ * @inheritDoc
2165
+ */
2166
+ clone(parent) {
2167
+ const clonedBlock = new RTEFunctionBlock(createPublicApiRuntimeMetricsSlimmer.generateUUID());
2168
+ clonedBlock.parent = parent;
2169
+ clonedBlock.children = this.children.map((child) => {
2170
+ const clonedChild = child.clone(clonedBlock);
2171
+ return clonedChild;
2172
+ });
2173
+ clonedBlock.annotationMap = super.cloneAnnotations();
2174
+ return clonedBlock;
2175
+ }
2176
+ /**
2177
+ * @inheritDoc
2178
+ */
2179
+ getLastNode() {
2180
+ return this.children[this.children.length - 1].getLastNode();
2181
+ }
2182
+ /**
2183
+ * @inheritDoc
2184
+ */
2185
+ isNotEmpty() {
2186
+ return this.children.length > 0;
2187
+ }
2188
+ /**
2189
+ * @inheritDoc
2190
+ */
2191
+ toJSON() {
2192
+ return Object.assign(Object.assign({}, super.toJSON()), { id: this.id, type: this.type, children: this.children.map((child) => child.toJSON()) });
2193
+ }
2194
+ /**
2195
+ * Get the style string for function content block, excluding default paragraph styles.
2196
+ *
2197
+ * @param {RTETextBlock} block - The text block to extract styles from
2198
+ * @returns {string} - The style attribute string
2199
+ */
2200
+ getFunctionContentStyle(block) {
2201
+ const blockAnnotationStyle = new codeBlock.RTEAnnotationStyle(block);
2202
+ let styles = blockAnnotationStyle.toCssText({ standalone: true });
2203
+ const textStyleAnnotation = block.getAnnotationByType('TEXT_STYLE');
2204
+ if (textStyleAnnotation && textStyleAnnotation.textStyle === 'paragraph') {
2205
+ const defaultParagraphStyles = blockAnnotationStyle.toCssText(undefined, undefined, textStyleAnnotation.renderStyle({ standalone: true }));
2206
+ styles = styles.replace(defaultParagraphStyles, '').trim();
2207
+ }
2208
+ return styles ? ` style="${styles}"` : '';
2209
+ }
2210
+ }
2211
+
2212
+ /**
2213
+ * Strategy to handle the insertion of a function block into the rich text editor.
2214
+ */
2215
+ class InsertFunctionBlockStrategy extends codeBlock.ActionHandleStrategy {
2216
+ /**
2217
+ * @inheritDoc
2218
+ */
2219
+ handleAction(action, target) {
2220
+ const { functionType } = action;
2221
+ const functionBlock = this.getFunctionBlock(functionType);
2222
+ const emptyParagraph = this.createNewParagraph('');
2223
+ const referenceBlock = this.getReferenceBlock(target);
2224
+ if (referenceBlock) {
2225
+ referenceBlock.parent.apply(new codeBlock.InsertChildrenAfterAction(referenceBlock, functionBlock, emptyParagraph));
2226
+ }
2227
+ else {
2228
+ target.apply(new codeBlock.AppendChildrenAction([functionBlock, emptyParagraph]));
2229
+ }
2230
+ if (emptyParagraph) {
2231
+ action.nextFocusNode = emptyParagraph.children[0];
2232
+ }
2233
+ }
2234
+ /**
2235
+ * Get a function block based on the specified type.
2236
+ *
2237
+ * @param {string} type - The type of function block to create.
2238
+ * @returns {RTEFunctionBlock} The function block instance.
2239
+ */
2240
+ getFunctionBlock(type) {
2241
+ const id = createPublicApiRuntimeMetricsSlimmer.generateUUID();
2242
+ return RTEFunctionBlock.from({
2243
+ id: id,
2244
+ type: 'function-block',
2245
+ children: [
2246
+ {
2247
+ id: `${id}-1`,
2248
+ type: 'logic-control-block',
2249
+ statementText: type.toUpperCase(),
2250
+ },
2251
+ {
2252
+ id: `${id}-2`,
2253
+ annotations: {
2254
+ customClass: ['statementelement'],
2255
+ },
2256
+ type: 'paragraph',
2257
+ nodes: [
2258
+ {
2259
+ id: `${id}-2-1`,
2260
+ type: 'text',
2261
+ text: ' ',
2262
+ },
2263
+ ],
2264
+ },
2265
+ {
2266
+ id: `${id}-3`,
2267
+ type: 'logic-control-block',
2268
+ statementText: 'SHOW',
2269
+ },
2270
+ {
2271
+ id: `${id}-4`,
2272
+ annotations: {
2273
+ customClass: ['statementelement'],
2274
+ },
2275
+ type: 'paragraph',
2276
+ nodes: [
2277
+ {
2278
+ id: `${id}-4-1`,
2279
+ type: 'text',
2280
+ text: ' ',
2281
+ },
2282
+ ],
2283
+ },
2284
+ ],
2285
+ });
2286
+ }
2287
+ /**
2288
+ * We need to get the correct block if the current target is a function block element to avoid nesting function blocks.
2289
+ *
2290
+ * @param {RTEBlock | VegaRTEContent} currentTarget - The current target block or content.
2291
+ * @returns {Nullable<RTEBlock>} The reference block.
2292
+ */
2293
+ getReferenceBlock(currentTarget) {
2294
+ if (!(currentTarget instanceof dtoRendererManager.VegaRTEContent)) {
2295
+ const parentBlock = currentTarget.parent;
2296
+ if (parentBlock instanceof RTEFunctionBlock) {
2297
+ return parentBlock;
2298
+ }
2299
+ else {
2300
+ return currentTarget;
2301
+ }
2302
+ }
2303
+ }
2304
+ }
2305
+
2306
+ /**
2307
+ * Class representing a logic control node in the rich text editor.
2308
+ */
2309
+ class RTELogicControlNode extends codeBlock.RTENode {
2310
+ constructor(id, text, parent) {
2311
+ super(id);
2312
+ this.type = 'logic-control-node';
2313
+ this.text = '';
2314
+ this.text = text;
2315
+ this.parent = parent;
2316
+ }
2317
+ /**
2318
+ * Clone the current node instance.
2319
+ *
2320
+ * @returns {RTELogicControlNode} - A new instance of RTELogicControlNode.
2321
+ */
2322
+ clone() {
2323
+ return new RTELogicControlNode(this.id, this.text, this.parent);
2324
+ }
2325
+ /**
2326
+ * Convert the node to its HTML representation.
2327
+ *
2328
+ * @returns {string} - The HTML string of the logic control node.
2329
+ */
2330
+ toHtml() {
2331
+ return this.text;
2332
+ }
2333
+ /**
2334
+ * Convert the node to a JSON representation.
2335
+ *
2336
+ * @returns {unknown} - The JSON object of the statement syntax node.
2337
+ */
2338
+ toJSON() {
2339
+ return {
2340
+ id: this.id,
2341
+ type: this.type,
2342
+ text: this.text,
2343
+ };
2344
+ }
2345
+ /**
2346
+ * Get the end offset of the node's range.
2347
+ *
2348
+ * @returns {number} - The end offset of the node's range.
2349
+ */
2350
+ getRangeEndOffset() {
2351
+ return 1;
2352
+ }
2353
+ /**
2354
+ * Get the container element for the node's range.
2355
+ *
2356
+ * @returns {Nullable<Node>} - The container node for the range.
2357
+ */
2358
+ getRangeContainer() {
2359
+ const element = codeBlock.stateEntityRenderingRegistry.getDOMByEntity(this);
2360
+ if (element) {
2361
+ return element.parentElement;
2362
+ }
2363
+ }
2364
+ /**
2365
+ * Get the content editable state of the node.
2366
+ *
2367
+ * @returns {boolean} - The content editable state of the node.
2368
+ */
2369
+ isContentEditable() {
2370
+ return false;
2371
+ }
2372
+ }
2373
+
2374
+ /**
2375
+ * Class representing a logic control block in the rich text editor.
2376
+ */
2377
+ class RTELogicControlBlock extends codeBlock.RTEBlock {
2378
+ constructor(id, statementText, parent) {
2379
+ super(id);
2380
+ this.type = 'logic-control-block';
2381
+ this.children = [];
2382
+ this.statementText = '';
2383
+ this.statementText = statementText;
2384
+ this.children = [new RTELogicControlNode(`${id}-node-1`, statementText, this)];
2385
+ if (parent) {
2386
+ this.parent = parent;
2387
+ }
2388
+ }
2389
+ /**
2390
+ * Create a logic control block from a JSON representation.
2391
+ *
2392
+ * @param {VegaRTELogicControlBlock} json - The JSON object representing the logic control block.
2393
+ * @returns {RTELogicControlBlock} - The created logic control block.
2394
+ */
2395
+ static from(json) {
2396
+ const block = new RTELogicControlBlock(json.id, json.statementText);
2397
+ return block;
2398
+ }
2399
+ /**
2400
+ * Check the block is not empty.
2401
+ *
2402
+ * @returns {boolean} - Always true for logic control block.
2403
+ */
2404
+ isNotEmpty() {
2405
+ return true;
2406
+ }
2407
+ /**
2408
+ * Get the last node of the block.
2409
+ *
2410
+ * @returns {RTELogicControlNode} - The last node in the block.
2411
+ */
2412
+ getLastNode() {
2413
+ return this.children[this.children.length - 1];
2414
+ }
2415
+ /**
2416
+ * Convert the block to its HTML representation.
2417
+ *
2418
+ * @returns {string} - The HTML string of the logic control block.
2419
+ */
2420
+ toHtml() {
2421
+ return `<div class='statementsyntax' contenteditable='false'>${this.statementText}</div>`;
2422
+ }
2423
+ /**
2424
+ * Clone the current block instance.
2425
+ *
2426
+ * @param { RTEFunctionBlock } parent - The parent function block for the cloned instance.
2427
+ * @returns {RTELogicControlBlock} - A new instance of RTEStatementSyntaxBlock.
2428
+ */
2429
+ clone(parent) {
2430
+ return new RTELogicControlBlock(this.id, this.statementText, parent);
2431
+ }
2432
+ /**
2433
+ * Get the JSON representation of the block.
2434
+ *
2435
+ * @returns {VegaRTELogicControlBlock} - The JSON object of the logic control block.
2436
+ */
2437
+ toJSON() {
2438
+ return {
2439
+ id: this.id,
2440
+ type: this.type,
2441
+ statementText: this.statementText,
2442
+ };
2443
+ }
2444
+ }
2445
+
2446
+ /**
2447
+ * Function toolbar button renderer class.
2448
+ */
2449
+ class FunctionToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
2450
+ /**
2451
+ * Injects the extension context
2452
+ *
2453
+ * @param {RTEExtensionContext} context - extension context
2454
+ */
2455
+ injectExtensionContext(context) {
2456
+ this.extensionContext = context;
2457
+ }
2458
+ /**
2459
+ * @inheritDoc
2460
+ */
2461
+ render(h, editorContext) {
2462
+ return this.renderDropdown(h, editorContext, {}, [
2463
+ this.renderButton(h, editorContext, {
2464
+ label: 'Functions',
2465
+ showArrowIcon: true,
2466
+ }),
2467
+ this.renderDropdownListTemplate(h, FunctionToolbarButtonRenderer.FUNCTION_LIST),
2468
+ ]);
2469
+ }
2470
+ /**
2471
+ * Overrides the isDisabled method to determine if the button should be disabled.
2472
+ *
2473
+ * @returns {boolean} - true if the button should be disabled, false otherwise.
2474
+ */
2475
+ isDisabled() {
2476
+ if (this.extensionContext) {
2477
+ const { host, getSelectedNodes } = this.extensionContext;
2478
+ const focusNode = getSelectedNodes()[0];
2479
+ let enableInsert = true;
2480
+ if (focusNode) {
2481
+ enableInsert = codeBlock.ActionHandleStrategyRegistry.canHandle(INSERT_FUNCTION_BLOCK, focusNode.parent);
2482
+ }
2483
+ return host.disabled || !enableInsert;
2484
+ }
2485
+ return false;
2486
+ }
2487
+ /* istanbul ignore next */
2488
+ // eslint-disable-next-line jsdoc/require-jsdoc
2489
+ handleButtonClick() {
2490
+ throw new Error('Method not implemented.');
2491
+ }
2492
+ /**
2493
+ * Handles dropdown click event
2494
+ *
2495
+ * @param {RTEExtensionFunctionType} itemKey - key of the clicked item
2496
+ */
2497
+ handleDropdownClick(itemKey) {
2498
+ const { host, getSelectedNodes } = this.extensionContext;
2499
+ const focusNode = getSelectedNodes()[0];
2500
+ const action = new InsertFunctionBlockAction(itemKey);
2501
+ if (!focusNode) {
2502
+ host.value.apply(action);
2503
+ }
2504
+ else if (focusNode.parent) {
2505
+ focusNode.parent.apply(action);
2506
+ }
2507
+ if (action.nextFocusNode) {
2508
+ host.value.apply(new dtoRendererManager.UpdateCursorPositionAction(action.nextFocusNode, 1));
2509
+ }
2510
+ }
2511
+ }
2512
+ FunctionToolbarButtonRenderer.FUNCTION_LIST = [
2513
+ { key: 'IF', label: 'Conditional' },
2514
+ { key: 'FOREACH', label: 'Foreach' },
2515
+ ];
2516
+
2517
+ /**
2518
+ * Renders a logic control block in the rich text editor.
2519
+ */
2520
+ class RTELogicControlBlockRenderer extends VegaRTEExtensionRenderer {
2521
+ /**
2522
+ * @inheritDoc
2523
+ */
2524
+ doRender(h, renderData) {
2525
+ return h('div', {
2526
+ key: renderData.id,
2527
+ class: 'statementsyntax',
2528
+ ref: this.useRef(renderData),
2529
+ }, h('span', {
2530
+ key: `${renderData.id}-1`,
2531
+ contenteditable: 'false',
2532
+ ref: this.useRef(renderData.children[0]),
2533
+ }, renderData.statementText));
2534
+ }
2535
+ }
2536
+
2537
+ /**
2538
+ * Strategy to convert a div with class 'statementsyntax' into an RTELogicControlBlock DTO.
2539
+ */
2540
+ class DivToLogicControlBlockStrategy extends dtoRendererManager.BlockToRTEBlockStrategyAbstract {
2541
+ constructor() {
2542
+ super(...arguments);
2543
+ this.blockClassName = 'statementsyntax';
2544
+ }
2545
+ /**
2546
+ * @inheritDoc
2547
+ */
2548
+ canHandle(elementsArray, currentIndex) {
2549
+ const element = elementsArray[currentIndex];
2550
+ return element &&
2551
+ element.nodeType === Node.ELEMENT_NODE &&
2552
+ element.classList.contains(this.blockClassName) &&
2553
+ this.isFunctionBlockChild(element)
2554
+ ? 1
2555
+ : 0;
2556
+ }
2557
+ /**
2558
+ * @inheritDoc
2559
+ */
2560
+ handle(elementsArray) {
2561
+ const element = elementsArray[0];
2562
+ return RTELogicControlBlock.from({
2563
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
2564
+ type: 'logic-control-block',
2565
+ statementText: element.innerText,
2566
+ });
2567
+ }
2568
+ /**
2569
+ * The logic control block does not have child blocks to append. so this method is intentionally left empty.
2570
+ */
2571
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
2572
+ appendChildBlocks() { }
2573
+ /**
2574
+ * @inheritDoc
2575
+ */
2576
+ shouldProceedToElementChildren() {
2577
+ return false;
2578
+ }
2579
+ /**
2580
+ * Checks if the given element is a child of a function block
2581
+ *
2582
+ * @param {HTMLElement} element - The HTML element to check
2583
+ * @returns {boolean} True if the element is a child of a function block, false otherwise
2584
+ */
2585
+ isFunctionBlockChild(element) {
2586
+ return !!(element.parentElement && element.parentElement.classList.contains('statement'));
2587
+ }
2588
+ }
2589
+
2590
+ /**
2591
+ * Strategy to convert a div with class 'statement' into an function block.
2592
+ */
2593
+ class DivToFunctionBlockStrategy extends dtoRendererManager.ElementToDTOStrategy {
2594
+ /**
2595
+ * @inheritDoc
2596
+ */
2597
+ canHandle(elementsArray, currentIndex) {
2598
+ const element = elementsArray[currentIndex];
2599
+ return element &&
2600
+ element.tagName === 'DIV' &&
2601
+ element.classList.contains('statement') &&
2602
+ element.childNodes.length &&
2603
+ element.querySelector('.statementsyntax')
2604
+ ? 1
2605
+ : 0;
2606
+ }
2607
+ /**
2608
+ * @inheritDoc
2609
+ */
2610
+ handle() {
2611
+ return RTEFunctionBlock.from({
2612
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
2613
+ type: 'function-block',
2614
+ annotations: {
2615
+ customClass: ['statement'],
2616
+ },
2617
+ children: [],
2618
+ });
2619
+ }
2620
+ /**
2621
+ * @inheritDoc
2622
+ */
2623
+ appendChildBlocks(currentBlock, childBlocks) {
2624
+ currentBlock.children = childBlocks.map((block) => {
2625
+ block.parent = currentBlock;
2626
+ return block;
2627
+ });
2628
+ }
2629
+ /**
2630
+ * @inheritDoc
2631
+ */
2632
+ shouldProceedToElementChildren() {
2633
+ return true;
2634
+ }
2635
+ }
2636
+
2637
+ /**
2638
+ * Strategy to convert a div with class 'statementelement' into an function block.
2639
+ */
2640
+ class DivToFunctionContentStrategy extends DivToLogicControlBlockStrategy {
2641
+ constructor() {
2642
+ super(...arguments);
2643
+ this.blockClassName = 'statementelement';
2644
+ }
2645
+ /**
2646
+ * @inheritDoc
2647
+ */
2648
+ handle(elementsArray, options) {
2649
+ const element = elementsArray[0];
2650
+ const annotations = dtoRendererManager.htmlElementToAnnotationGenerator.generate(codeBlock.RTETextBlock, element);
2651
+ const nodes = Array.from(elementsArray[0].childNodes);
2652
+ return codeBlock.RTETextBlock.from({
2653
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
2654
+ type: 'paragraph',
2655
+ annotations: Object.assign({ customClass: [this.blockClassName] }, annotations),
2656
+ nodes: this.generateChildNodes(nodes, undefined, options),
2657
+ });
2658
+ }
2659
+ }
2660
+
2661
+ const functionBlockStylesCss = "div.statement{padding:2px 4px;background:rgba(var(--v-bg-accent3-secondary, 255, 239, 200));border:1px solid rgba(var(--v-bg-accent3-primary, 255, 220, 131));border-radius:4px;display:flex;flex-direction:row;justify-content:flex-start;align-items:stretch;gap:4px}div.statement .statementsyntax{padding:3px 0;line-height:22px}.rich-text-content div.statement .statementsyntax,.rich-text-content div.statement .statementelement{display:inline-block}div.statement+div.statement{margin-top:2px}div.statement .statementsyntax span{color:rgb(38, 42, 255);font-weight:bold}div.statement .statementelement{padding:2px 4px;background:rgba(var(--v-bg-secondary, 245, 247, 247));border:1px solid rgba(var(--v-border-color-input-field, 171, 198, 216));border-radius:4px;margin:0;min-width:8px}";
2662
+
2663
+ /**
2664
+ * Renderer for Function Block
2665
+ */
2666
+ class RTEFunctionBlockRenderer extends VegaRTEExtensionRenderer {
2667
+ /**
2668
+ * @inheritDoc
2669
+ */
2670
+ doRender(createElement, renderData) {
2671
+ return createElement('div', {
2672
+ key: renderData.id,
2673
+ class: this.getElementClassName(renderData),
2674
+ ref: this.useRef(renderData),
2675
+ });
2676
+ }
2677
+ /**
2678
+ * Defines the function block styles to be injected into the RTE scope.
2679
+ *
2680
+ * @returns {string} - The styles as a string.
2681
+ */
2682
+ injectRTEScopeStyles() {
2683
+ return functionBlockStylesCss;
2684
+ }
2685
+ /**
2686
+ * Gets the class name for the function block element.
2687
+ *
2688
+ * @param {RTEFunctionBlock} block - The function block.
2689
+ * @returns {string} The class name for the function block element.
2690
+ */
2691
+ getElementClassName(block) {
2692
+ let classes = block.getClasses();
2693
+ if (classes.indexOf('statement') < 0) {
2694
+ classes = 'statement ' + classes;
2695
+ }
2696
+ return classes.trim();
2697
+ }
2698
+ }
2699
+
2700
+ /**
2701
+ * Abstract class for action handler interceptors, which can intercept actions before they are handled.
2702
+ */
2703
+ class ActionHandlerInterceptor {
2704
+ }
2705
+
2706
+ /**
2707
+ * Prevent special type input in function block.
2708
+ */
2709
+ class PreventNewParagraphInterceptor extends ActionHandlerInterceptor {
2710
+ /**
2711
+ * Checks the target block parent whether is function block.
2712
+ *
2713
+ * @param {InsertNewParagraphAction} _action - the action to be intercepted
2714
+ * @param {RTETextBlock} target - the target block
2715
+ * @returns {boolean} - true if the target block parent is function block, false otherwise
2716
+ */
2717
+ canIntercept(_action, target) {
2718
+ return target.parent && target.parent instanceof RTEFunctionBlock;
2719
+ }
2720
+ /**
2721
+ * Insert a new paragraph behind of the function block instead of the target block.
2722
+ *
2723
+ * @param {ActionHandlerExecution} _execution - the original execution function
2724
+ * @param {ModifyContentAction} _action - the action to be intercepted
2725
+ * @param {RTETextBlock} target - the target block
2726
+ */
2727
+ intercept(_execution, _action, target) {
2728
+ const insertParagraphAction = new dtoRendererManager.InsertNewParagraphAction(target.children[0], 0);
2729
+ insertParagraphAction.isFlushable = true;
2730
+ target.parent.apply(insertParagraphAction);
2731
+ }
2732
+ }
2733
+
2734
+ /**
2735
+ * Insert a new paragraph behind of current function block strategy.
2736
+ */
2737
+ class FunctionBlockInsertParagraphStrategy extends codeBlock.ActionHandleStrategy {
2738
+ /**
2739
+ * @inheritDoc
2740
+ */
2741
+ handleAction(action, target) {
2742
+ const newParagraph = this.createNewParagraph('');
2743
+ if (newParagraph) {
2744
+ target.parent.apply(new codeBlock.InsertChildrenAfterAction(target, newParagraph));
2745
+ action.newBlock = newParagraph;
2746
+ this.focusToNextLine(newParagraph);
2747
+ }
2748
+ }
2749
+ /**
2750
+ * Focus to next paragraph.
2751
+ *
2752
+ * @param {RTETextBlock} block - The paragraph need to focus.
2753
+ */
2754
+ focusToNextLine(block) {
2755
+ const root = this.getRootContent(block);
2756
+ if (root) {
2757
+ root.apply(new dtoRendererManager.UpdateCursorPositionAction(block.children[0], 1));
2758
+ }
2759
+ }
2760
+ }
2761
+
2762
+ const PASTE_PLAIN_TEXT = 'PASTE_PLAIN_TEXT';
2763
+ /**
2764
+ * Action to paste plain text content into function block.
2765
+ *
2766
+ * @example functionBlock.apply(new PastePlainTextAction('content', range))
2767
+ * @example host.value.apply(new PastePlainTextAction('content', range))
2768
+ */
2769
+ class PastePlainTextAction extends codeBlock.ModifyContentAction {
2770
+ constructor(blocksToBeInserted, startNode, startOffset) {
2771
+ super();
2772
+ this.type = PASTE_PLAIN_TEXT;
2773
+ this.blocksToBeInserted = blocksToBeInserted;
2774
+ this.startNode = startNode;
2775
+ this.startOffset = startOffset;
2776
+ }
2777
+ }
2778
+
2779
+ /**
2780
+ * Prevent special type input in function block.
2781
+ */
2782
+ class PreventPasteContentInterceptor extends PreventNewParagraphInterceptor {
2783
+ /**
2784
+ * Paste plain text into text block.
2785
+ *
2786
+ * @param {ActionHandlerExecution} _execution - the original execution function
2787
+ * @param {ModifyContentAction} action - the action to be intercepted
2788
+ * @param {RTETextBlock} target - the target block
2789
+ */
2790
+ intercept(_execution, action, target) {
2791
+ const { blocksToBeInserted, rteRange } = action;
2792
+ let { startNode, startOffset } = action;
2793
+ // Set the start offset from rteRange if available, this is to handle the paste issue https://gethired.atlassian.net/browse/VD-7779
2794
+ if (rteRange) {
2795
+ startNode = rteRange.startNode;
2796
+ startOffset = rteRange.startOffset;
2797
+ }
2798
+ const pastePlainTextAction = new PastePlainTextAction(blocksToBeInserted, startNode, startOffset);
2799
+ target.apply(pastePlainTextAction);
2800
+ }
2801
+ }
2802
+
2803
+ /**
2804
+ * Strategy to handle the paste content into function block.
2805
+ */
2806
+ class PastePlainTextStrategy extends codeBlock.ActionHandleStrategy {
2807
+ /**
2808
+ * @inheritDoc
2809
+ */
2810
+ handleAction(action, target) {
2811
+ const { blocksToBeInserted, startNode, startOffset } = action;
2812
+ if (startNode instanceof codeBlock.RTETextNode) {
2813
+ const textNodes = blocksToBeInserted.flatMap((block) => {
2814
+ if (block instanceof codeBlock.RTETextBlock) {
2815
+ this.copyLinkGroupAnnotations(target.annotationMap, block.annotationMap);
2816
+ return block.children;
2817
+ }
2818
+ return [];
2819
+ });
2820
+ if (textNodes.length > 0) {
2821
+ if (startOffset > 0) {
2822
+ target.apply(new codeBlock.InsertChildrenAfterAction(startNode, ...textNodes));
2823
+ }
2824
+ else {
2825
+ target.apply(new codeBlock.InsertChildrenBeforeAction(startNode, ...textNodes));
2826
+ }
2827
+ this.focusToNextLine(textNodes[textNodes.length - 1], textNodes[textNodes.length - 1].getRangeEndOffset());
2828
+ }
2829
+ }
2830
+ }
2831
+ /**
2832
+ * Focus to next paragraph.
2833
+ *
2834
+ * @param {RTETextNode} node - The text node need to focus.
2835
+ * @param {number} startOffset - The offset need to focus.
2836
+ */
2837
+ focusToNextLine(node, startOffset) {
2838
+ const root = this.getRootContent(node);
2839
+ if (root) {
2840
+ root.apply(new dtoRendererManager.UpdateCursorPositionAction(node, startOffset));
2841
+ }
2842
+ }
2843
+ /**
2844
+ * Copy link group annotations from copied block to target block.
2845
+ *
2846
+ * @param {BlockAnnotations} blockAnnotationMap - The target block annotation map.
2847
+ * @param {BlockAnnotations} copiedAnnotationMap - The copied block annotation map.
2848
+ */
2849
+ copyLinkGroupAnnotations(blockAnnotationMap, copiedAnnotationMap) {
2850
+ if (copiedAnnotationMap && copiedAnnotationMap.has(codeBlock.InternalAnnotationTypeEnum.LINK_GROUP)) {
2851
+ const copiedLinkGroupAnnotation = copiedAnnotationMap.get(codeBlock.InternalAnnotationTypeEnum.LINK_GROUP);
2852
+ if (!blockAnnotationMap.has(codeBlock.InternalAnnotationTypeEnum.LINK_GROUP)) {
2853
+ blockAnnotationMap.set(codeBlock.InternalAnnotationTypeEnum.LINK_GROUP, copiedAnnotationMap.get(codeBlock.InternalAnnotationTypeEnum.LINK_GROUP));
2854
+ }
2855
+ else {
2856
+ copiedLinkGroupAnnotation.linkGroups.forEach((nodes, groupKey) => {
2857
+ const existingAnnotation = blockAnnotationMap.get(codeBlock.InternalAnnotationTypeEnum.LINK_GROUP);
2858
+ existingAnnotation.linkGroups.set(groupKey, nodes);
2859
+ });
2860
+ }
2861
+ }
2862
+ }
2863
+ }
2864
+
2865
+ const convertLogicControlBlockStrategy = new DivToLogicControlBlockStrategy();
2866
+ const convertFunctionContentStrategy = new DivToFunctionContentStrategy();
2867
+ const convertFunctionBlockStrategy = new DivToFunctionBlockStrategy();
2868
+ /**
2869
+ * Function extension class for Vega Rich Text Editor.
2870
+ */
2871
+ class VegaRTEFunctionExtension extends VegaRTEExtension {
2872
+ constructor() {
2873
+ super();
2874
+ this.toolbarButtonRenderer = new FunctionToolbarButtonRenderer();
2875
+ this.registerBlockBasicStrategies(RTELogicControlBlock.name);
2876
+ this.registerBlockBasicStrategies(RTEFunctionBlock.name);
2877
+ this.preventFunctionBlockDefaultInsertNewParagraph();
2878
+ this.registerNode('logic-control-block', RTELogicControlBlock);
2879
+ this.registerRenderer('logic-control-block', new RTELogicControlBlockRenderer());
2880
+ this.registerNode('function-block', RTEFunctionBlock);
2881
+ this.registerRenderer('function-block', new RTEFunctionBlockRenderer());
2882
+ this.registerToolbarButtonRenderer('functions', this.toolbarButtonRenderer);
2883
+ this.registerElementToBlockDTOClassStrategy(convertLogicControlBlockStrategy);
2884
+ this.registerElementToBlockDTOClassStrategy(convertFunctionContentStrategy);
2885
+ this.registerElementToBlockDTOClassStrategy(convertFunctionBlockStrategy);
2886
+ }
2887
+ /**
2888
+ * Initializes the extension with the given context
2889
+ *
2890
+ * @param {RTEExtensionContext} context - extension context
2891
+ */
2892
+ initialExtension(context) {
2893
+ super.initialExtension(context);
2894
+ if (this.toolbarButtonRenderer) {
2895
+ this.toolbarButtonRenderer.injectExtensionContext(context);
2896
+ }
2897
+ }
2898
+ /**
2899
+ * Remove the appen children strategies to prevent default insert new paragraph logic in function block
2900
+ */
2901
+ preventFunctionBlockDefaultInsertNewParagraph() {
2902
+ this.unRegisterStrategy(codeBlock.ModifyContentActionType.INSERT_NEW_PARAGRAPH, RTELogicControlBlock.name);
2903
+ this.unRegisterStrategy(codeBlock.ModifyContentActionType.APPEND_CHILDREN, RTEFunctionBlock.name);
2904
+ this.unRegisterStrategy(codeBlock.ModifyContentActionType.INSERT_CHILDREN_AFTER, RTEFunctionBlock.name);
2905
+ this.unRegisterStrategy(codeBlock.ModifyContentActionType.INSERT_CHILDREN_BEFORE, RTEFunctionBlock.name);
2906
+ this.unRegisterStrategy(codeBlock.ModifyContentActionType.PASTE_CONTENT, RTELogicControlBlock.name);
2907
+ VegaRTEExtension.registerActionHandleStrategy(RTEFunctionBlock.name, codeBlock.ModifyContentActionType.INSERT_NEW_PARAGRAPH, new FunctionBlockInsertParagraphStrategy());
2908
+ }
2909
+ }
2910
+ (() => {
2911
+ const insertFunctionBlockStrategy = new InsertFunctionBlockStrategy();
2912
+ VegaRTEExtension.registerActionHandleStrategy(dtoRendererManager.VegaRTEContent.name, INSERT_FUNCTION_BLOCK, insertFunctionBlockStrategy);
2913
+ VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.name, INSERT_FUNCTION_BLOCK, insertFunctionBlockStrategy);
2914
+ VegaRTEExtension.registerActionHandleStrategy(dtoRendererManager.RTEImageBlock.name, INSERT_FUNCTION_BLOCK, insertFunctionBlockStrategy);
2915
+ VegaRTEExtension.registerActionHandleStrategy(RTELogicControlBlock.name, INSERT_FUNCTION_BLOCK, insertFunctionBlockStrategy);
2916
+ VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.name, PASTE_PLAIN_TEXT, new PastePlainTextStrategy());
2917
+ VegaRTEExtension.registerActionHandlerInterceptor(codeBlock.RTETextBlock.name, codeBlock.ModifyContentActionType.INSERT_NEW_PARAGRAPH, new PreventNewParagraphInterceptor());
2918
+ VegaRTEExtension.registerActionHandlerInterceptor(codeBlock.RTETextBlock.name, codeBlock.ModifyContentActionType.PASTE_CONTENT, new PreventPasteContentInterceptor());
2919
+ })();
2920
+
2921
+ const tableBlockStylesCss = ".v-rte--extension-table-container{display:table}table.v-rte--extension-table{border-collapse:collapse}table.v-rte--extension-table th,table.v-rte--extension-table td{border:1px solid #ddd;padding:12px;text-align:left;vertical-align:middle;min-width:30px;position:relative}table.v-rte--extension-table th{background-color:#f2f2f2}.rte-table-setting-popover,.rte-table-dynamic-popover{display:block}table.v-rte--extension-table .v-rte-table-cell-focused::after,table.v-rte--extension-table .v-rte-table-cell-selected::after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;background-color:rgba(158, 207, 250, 0.3)}table.v-rte--extension-table:has(.v-rte-table-cell-selected){caret-color:transparent}table.v-rte--extension-table:has(.v-rte-table-cell-selected) ::selection{background-color:transparent}table.v-rte--extension-table:has(.v-rte-table-cell-selected) ::-moz-selection{background-color:transparent}.v-rte--extension-table-caption{padding:8px;border:1px solid #ddd;border-bottom:none;background-color:#f7f7f7;position:relative;display:table-caption;caption-side:top;min-height:22px;text-align:center;word-break:break-word;overflow-wrap:break-word}.v-rte--extension-table-caption.showPlaceholder::before{position:absolute;left:0;right:0;content:attr(data-placeholder);font-family:'Inter', sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0;color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1));text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rte-cell-properties-popover,.rte-table-properties-popover{display:none}";
2922
+
2923
+ const DELETE_TABLE_BLOCK = 'DELETE_TABLE_BLOCK';
2924
+ /**
2925
+ * Action to delete a table block
2926
+ */
2927
+ class DeleteTableBlockAction extends codeBlock.ModifyContentAction {
2928
+ constructor(target) {
2929
+ super();
2930
+ this.isFlushable = true;
2931
+ this.type = DELETE_TABLE_BLOCK;
2932
+ this.tableBlock = target;
2933
+ }
2934
+ }
2935
+
2936
+ /**
2937
+ * Class representing a table caption annotation in the rich text editor.
2938
+ */
2939
+ class RTETableCaptionAnnotation extends codeBlock.BlockAnnotation {
2940
+ constructor() {
2941
+ super(...arguments);
2942
+ this.type = columnOperation.RTETableExtensionAnnotationTypeEnum.CAPTION;
2943
+ }
2944
+ /**
2945
+ * @inheritDoc
2946
+ */
2947
+ clone() {
2948
+ return new RTETableCaptionAnnotation();
2949
+ }
2950
+ /**
2951
+ * @inheritDoc
2952
+ */
2953
+ renderClass(options) {
2954
+ if (options === null || options === void 0 ? void 0 : options.standalone)
2955
+ return null;
2956
+ return 'v-rte--extension-table-caption';
2957
+ }
2958
+ /**
2959
+ * @inheritDoc
2960
+ */
2961
+ renderStyle(options) {
2962
+ if (!(options === null || options === void 0 ? void 0 : options.standalone))
2963
+ return null;
2964
+ return {
2965
+ padding: '8px',
2966
+ border: '1px solid #ddd',
2967
+ borderBottom: 'none',
2968
+ backgroundColor: '#f7f7f7',
2969
+ position: 'relative',
2970
+ textAlign: 'center',
2971
+ minHeight: '22px',
2972
+ };
2973
+ }
2974
+ /**
2975
+ * @inheritDoc
2976
+ */
2977
+ toJSON() {
2978
+ return {
2979
+ caption: {
2980
+ padding: '8px 12px',
2981
+ border: '1px solid #ddd',
2982
+ borderBottom: 'none',
2983
+ backgroundColor: '#f7f7f7',
2984
+ position: 'relative',
2985
+ textAlign: 'center',
2986
+ minHeight: '22px',
2987
+ },
2988
+ };
2989
+ }
2990
+ }
2991
+
2992
+ /**
2993
+ * Represents the optional caption block for a table.
2994
+ */
2995
+ class RTETableCaptionBlock extends codeBlock.RTEBlock {
2996
+ constructor(id) {
2997
+ super(id);
2998
+ this.type = 'table-caption';
2999
+ this.annotationMap.set(columnOperation.RTETableExtensionAnnotationTypeEnum.CAPTION, new RTETableCaptionAnnotation());
3000
+ }
3001
+ /**
3002
+ * @inheritDoc
3003
+ */
3004
+ static from(block, options) {
3005
+ const captionBlock = new RTETableCaptionBlock(block.id);
3006
+ super.convertAnnotationsToMap(captionBlock.annotationMap, Object.assign({}, block.annotations));
3007
+ captionBlock.children = super.generateBlockChildren(block.children, options, captionBlock);
3008
+ return captionBlock;
3009
+ }
3010
+ /**
3011
+ * @inheritDoc
3012
+ */
3013
+ clone(parent) {
3014
+ const clonedBlock = new RTETableCaptionBlock(this.id);
3015
+ clonedBlock.children = this.children.map((child) => child.clone(clonedBlock));
3016
+ clonedBlock.parent = parent;
3017
+ return clonedBlock;
3018
+ }
3019
+ /**
3020
+ * @inheritDoc
3021
+ */
3022
+ getLastNode() {
3023
+ return this.children[this.children.length - 1].getLastNode();
3024
+ }
3025
+ /**
3026
+ * @inheritDoc
3027
+ */
3028
+ isNotEmpty() {
3029
+ return this.children.length > 0 && this.children.some((child) => child.isNotEmpty());
3030
+ }
3031
+ /**
3032
+ * @inheritDoc
3033
+ */
3034
+ toHtml() {
3035
+ const childrenHtml = this.children.map((child) => child.toHtml()).join('');
3036
+ const attrStr = super.generateAttributeString();
3037
+ return `<caption${attrStr}>${childrenHtml}</caption>`;
3038
+ }
3039
+ /**
3040
+ * @inheritDoc
3041
+ */
3042
+ toJSON() {
3043
+ return Object.assign(Object.assign({}, super.toJSON()), { type: this.type, children: this.children.map((child) => child.toJSON()) });
3044
+ }
3045
+ }
3046
+ (() => {
3047
+ codeBlock.ActionHandleStrategyRegistry.register(codeBlock.ModifyContentActionType.INSERT_CHILDREN_BEFORE, RTETableCaptionBlock.name, new dtoRendererManager.InsertChildrenBeforeStrategy());
3048
+ codeBlock.ActionHandleStrategyRegistry.register(codeBlock.ModifyContentActionType.PASTE_CONTENT, RTETableCaptionBlock.name, new dtoRendererManager.PasteContentStrategy());
3049
+ })();
3050
+
3051
+ const TOGGLE_TABLE_CAPTION = 'TOGGLE_TABLE_CAPTION';
3052
+ /**
3053
+ * Action payload for toggling the optional table caption block.
3054
+ */
3055
+ class TableCaptionAction extends codeBlock.ModifyContentAction {
3056
+ constructor(shouldEnable) {
3057
+ super();
3058
+ this.type = TOGGLE_TABLE_CAPTION;
3059
+ this.isFlushable = true;
3060
+ this.shouldEnable = shouldEnable;
3061
+ }
3062
+ }
3063
+
3064
+ /**
3065
+ * Event handler for row operations in a table.
3066
+ */
3067
+ class CaptionOperationEventHandler extends columnOperation.SettingEventHandler {
3068
+ /**
3069
+ * @inheritDoc
3070
+ */
3071
+ canHandle(action) {
3072
+ return action[0] === columnOperation.TableSettingType.CAPTION;
3073
+ }
3074
+ /**
3075
+ * Toggle caption state for the target table block when the caption menu item is clicked.
3076
+ *
3077
+ * @param {Array<string>} action - Table setting payload, e.g. ['CAPTION', 'rte-table-caption'].
3078
+ * @param {RTEExtensionContext} _extensionContext - Current editor extension context (unused here).
3079
+ * @param {RTETableBlock} tableBlock - Table block that owns the caption.
3080
+ */
3081
+ execute(action, _extensionContext, tableBlock) {
3082
+ const shouldEnable = action[1] === 'rte-table-caption';
3083
+ const toggleAction = new TableCaptionAction(shouldEnable);
3084
+ const existingCaption = tableBlock.getCaption();
3085
+ if (shouldEnable) {
3086
+ const hydratedCaption = existingCaption && existingCaption.isNotEmpty()
3087
+ ? existingCaption
3088
+ : this.createCaptionBlock(existingCaption === null || existingCaption === void 0 ? void 0 : existingCaption.id);
3089
+ if (!existingCaption || hydratedCaption !== existingCaption) {
3090
+ tableBlock.setCaption(hydratedCaption);
3091
+ }
3092
+ toggleAction.nextFocusNode = hydratedCaption.getLastNode();
3093
+ }
3094
+ else {
3095
+ if (existingCaption) {
3096
+ tableBlock.setCaption(null);
3097
+ toggleAction.nextFocusNode = tableBlock.getFirstNode();
3098
+ }
3099
+ }
3100
+ this.syncCursorPosition(tableBlock, toggleAction.nextFocusNode);
3101
+ }
3102
+ /**
3103
+ * Applies a cursor update action so the editor focuses on the resolved node.
3104
+ *
3105
+ * @param {RTETableBlock} block - Table block currently being toggled.
3106
+ * @param {Nullable<RTENode>} focusNode - Target node that should receive the caret.
3107
+ */
3108
+ syncCursorPosition(block, focusNode) {
3109
+ super.syncCursorPosition(block, focusNode);
3110
+ }
3111
+ /**
3112
+ * Build a fresh caption block with a default paragraph + placeholder text.
3113
+ *
3114
+ * @param {string} id - table-caption id
3115
+ * @returns {RTETableCaptionBlock} Newly created caption DTO ready for rendering.
3116
+ */
3117
+ createCaptionBlock(id) {
3118
+ const captionData = {
3119
+ id: id !== null && id !== void 0 ? id : createPublicApiRuntimeMetricsSlimmer.generateUUID(),
3120
+ type: 'table-caption',
3121
+ children: [
3122
+ {
3123
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
3124
+ type: 'paragraph',
3125
+ nodes: [
3126
+ {
3127
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
3128
+ type: 'text',
3129
+ text: '',
3130
+ },
3131
+ ],
3132
+ },
3133
+ ],
3134
+ };
3135
+ return RTETableCaptionBlock.from(captionData);
3136
+ }
3137
+ }
3138
+
3139
+ /**
3140
+ * Centralizes the popover rendering and interaction logic for table settings.
3141
+ */
3142
+ class TableSettingPopoverRenderer {
3143
+ constructor() {
3144
+ this.settingHandlers = [
3145
+ new columnOperation.RowOperationEventHandler(),
3146
+ new CaptionOperationEventHandler(),
3147
+ new columnOperation.ColumnOperationEventHandler(),
3148
+ ];
3149
+ /**
3150
+ * Show table setting popover when table is clicked.
3151
+ * Only the popover belonging to the nearest table will be shown,
3152
+ * which avoids outer tables showing their popover when an inner (nested) table is clicked.
3153
+ *
3154
+ * @param {MouseEvent} event - The MouseEvent that triggered the table action
3155
+ * @param {HTMLElement} trigger - The element that can triggered the popover open.
3156
+ */
3157
+ this.handleTableClick = (event, trigger) => {
3158
+ const target = event.target;
3159
+ const ownTrigger = target.closest('.v-rte--extension-table-popover-trigger');
3160
+ if (trigger !== ownTrigger) {
3161
+ void this.popoverRef.hide();
3162
+ void this.tableDynamicPopover.hide();
3163
+ return;
3164
+ }
3165
+ void this.tableDynamicPopover.hide();
3166
+ if (!this.popoverShow) {
3167
+ columnOperation.remoteInvocationRegistry.call(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.popoverRef, vegaInternalEventId.VegaInternalPopoverUpdateTarget), ownTrigger);
3168
+ void this.popoverRef.show();
3169
+ }
3170
+ };
3171
+ /**
3172
+ * Sync the selected cells from the table selection to the table setting component.
3173
+ */
3174
+ this.syncSelectedCells = () => {
3175
+ if (this.tableSettingRef) {
3176
+ const selectedCells = this.getTableSelectedCells();
3177
+ this.tableSettingRef.selectedCells = selectedCells;
3178
+ }
3179
+ };
3180
+ /**
3181
+ * Receive setting menu click events.
3182
+ *
3183
+ * @param {CustomEvent<Array<string>>} event - The custom event emitted from the setting menu.
3184
+ */
3185
+ this.handleSettingMenuClick = (event) => {
3186
+ const handler = this.settingHandlers.find((handler) => handler.canHandle(event.detail));
3187
+ if (handler) {
3188
+ handler.execute(event.detail, this.extensionContext, this.tableData);
3189
+ if (event.detail[0] === columnOperation.TableSettingType.CAPTION) {
3190
+ this.updateTableSettingCaption();
3191
+ }
3192
+ }
3193
+ if (event.detail[0] === columnOperation.TableSettingType.TABLE_PROPERTIES ||
3194
+ event.detail[0] === columnOperation.TableSettingType.CELL_PROPERTIES) {
3195
+ void this.popoverRef.hide();
3196
+ void this.tableDynamicPopover.show(event.detail[0]);
3197
+ }
3198
+ };
3199
+ /**
3200
+ * Handles the popover show event to sync the selected table cells to the table setting component.
3201
+ */
3202
+ this.handleTableSettingPopoverShow = () => {
3203
+ this.syncSelectedCells();
3204
+ this.popoverShow = true;
3205
+ };
3206
+ }
3207
+ /**
3208
+ * Injects the RTE extension context.
3209
+ *
3210
+ * @param {RTETableExtensionContext} context - The RTE extension context.
3211
+ */
3212
+ injectRTEExtensionContext(context) {
3213
+ this.extensionContext = context;
3214
+ }
3215
+ /**
3216
+ * Render the popover host and inject the table-setting component with refs wired up.
3217
+ *
3218
+ * @param {VegaRTECreateElementFunction} h - The create element function.
3219
+ * @param {RTETableBlock} renderData - The table block to render.
3220
+ * @param {TableDynamicPopoverRenderer} tableDynamicPopover - Renderer used to show
3221
+ * the secondary table popover (for example, table-properties-specific settings).
3222
+ * @returns {VegaRTERenderResult} The rendered popover structure.
3223
+ */
3224
+ render(h, renderData, tableDynamicPopover) {
3225
+ this.tableData = renderData;
3226
+ this.tableDynamicPopover = tableDynamicPopover;
3227
+ return h('vega-popover', {
3228
+ trigger: 'click',
3229
+ isScreenPosition: true,
3230
+ class: 'rte-table-setting-popover',
3231
+ // eslint-disable-next-line jsdoc/require-jsdoc
3232
+ ref: (popover) => {
3233
+ this.popoverRef = popover;
3234
+ if (this.popoverRef) {
3235
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(popover, domNodeSubjectObserverFactory.VegaPopoverShow, this.handleTableSettingPopoverShow);
3236
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(popover, domNodeSubjectObserverFactory.VegaPopoverHide, () => (this.popoverShow = false));
3237
+ }
3238
+ },
3239
+ }, [
3240
+ h('div', { slot: 'popover' }, [
3241
+ h('vega-rich-text-table-setting', {
3242
+ // eslint-disable-next-line jsdoc/require-jsdoc
3243
+ ref: (el) => {
3244
+ this.tableSettingRef = el;
3245
+ },
3246
+ selectedCells: this.getTableSelectedCells(),
3247
+ onVegaClick: this.handleSettingMenuClick,
3248
+ }),
3249
+ ]),
3250
+ ]);
3251
+ }
3252
+ /**
3253
+ * Updates the table setting component caption state to match the given table data.
3254
+ */
3255
+ updateTableSettingCaption() {
3256
+ const hasCaption = this.tableData.hasCaption();
3257
+ if (this.tableSettingRef && this.tableSettingRef.hasCaption !== hasCaption) {
3258
+ this.tableSettingRef.hasCaption = hasCaption;
3259
+ }
3260
+ }
3261
+ /**
3262
+ * Collects and returns the currently selected table cells.
3263
+ *
3264
+ * @returns {RTETableCellBlock[]} The array of currently selected table cell blocks.
3265
+ */
3266
+ getTableSelectedCells() {
3267
+ let selectedCells = [];
3268
+ if (this.extensionContext && this.extensionContext.tableSelection) {
3269
+ const { tableSelection } = this.extensionContext;
3270
+ selectedCells = tableSelection.getSelectedCells();
3271
+ }
3272
+ return selectedCells;
3273
+ }
3274
+ }
3275
+
3276
+ const CONTENT_CLASS_MAP = {
3277
+ [columnOperation.TableSettingType.TABLE_PROPERTIES]: 'rte-table-properties-popover',
3278
+ [columnOperation.TableSettingType.CELL_PROPERTIES]: 'rte-cell-properties-popover',
3279
+ };
3280
+ /**
3281
+ * Renderer for a generic, dynamically positioned popover used within table-related extensions.
3282
+ *
3283
+ * - The popover target is based on the current cursor/selection position.
3284
+ * - The popover content is rendered dynamic content.
3285
+ */
3286
+ class TableDynamicPopoverRenderer {
3287
+ /**
3288
+ * Shows the popover. Before showing, it will refresh the target so
3289
+ * that the popover is positioned relative to the latest cursor position.
3290
+ *
3291
+ * @param {string} type - The table setting type determining which
3292
+ * content variant to display (for example, table properties or cell properties).
3293
+ */
3294
+ async show(type) {
3295
+ let target = this.getTableRef();
3296
+ const cells = this.extensionContext.tableSelection.getSelectedCells();
3297
+ if (type !== columnOperation.TableSettingType.TABLE_PROPERTIES && cells.length === 1) {
3298
+ target = codeBlock.stateEntityRenderingRegistry.getDOMByEntity(cells[0]);
3299
+ }
3300
+ this.updateContent(type);
3301
+ columnOperation.remoteInvocationRegistry.call(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.popoverRef, vegaInternalEventId.VegaInternalPopoverUpdateTarget), target);
3302
+ await this.popoverRef.show();
3303
+ }
3304
+ /**
3305
+ * hide the popover.
3306
+ */
3307
+ async hide() {
3308
+ await this.popoverRef.hide();
3309
+ }
3310
+ /**
3311
+ * Injects the RTE extension context.
3312
+ *
3313
+ * @param {RTETableExtensionContext} context - The RTE extension context.
3314
+ */
3315
+ injectRTEExtensionContext(context) {
3316
+ this.extensionContext = context;
3317
+ }
3318
+ /**
3319
+ * Renders a vega-popover whose target and content are provided dynamically by callers.
3320
+ *
3321
+ * @param {VegaRTECreateElementFunction} h - The create element function.
3322
+ * @param {() => HTMLElement} getTableRef - Current table DOM reference
3323
+ * @returns {VegaRTERenderResult} The rendered popover host.
3324
+ */
3325
+ render(h, getTableRef) {
3326
+ this.getTableRef = getTableRef;
3327
+ return h('vega-popover', {
3328
+ trigger: 'click',
3329
+ isScreenPosition: true,
3330
+ class: 'rte-table-dynamic-popover',
3331
+ // eslint-disable-next-line jsdoc/require-jsdoc
3332
+ ref: (popover) => {
3333
+ this.popoverRef = popover;
3334
+ },
3335
+ }, [
3336
+ h('div', {
3337
+ slot: 'popover',
3338
+ class: 'rte-table-dynamic-popover-content',
3339
+ // eslint-disable-next-line jsdoc/require-jsdoc
3340
+ ref: (ref) => (this.contentRef = ref),
3341
+ }, [
3342
+ h('div', {
3343
+ class: CONTENT_CLASS_MAP[columnOperation.TableSettingType.TABLE_PROPERTIES],
3344
+ }, 'table-properties'),
3345
+ h('div', {
3346
+ class: CONTENT_CLASS_MAP[columnOperation.TableSettingType.CELL_PROPERTIES],
3347
+ }, 'cell-properties'),
3348
+ ]),
3349
+ ]);
3350
+ }
3351
+ /**
3352
+ * Updates the visibility of the pre-rendered content blocks based on type.
3353
+ *
3354
+ * @param {string} type - The table setting type determining which content variant should be visible.
3355
+ */
3356
+ updateContent(type) {
3357
+ if (type !== this.currentType) {
3358
+ this.currentType = type;
3359
+ this.contentRef.childNodes.forEach((child) => {
3360
+ if (child.classList.contains(CONTENT_CLASS_MAP[this.currentType])) {
3361
+ child.style.display = 'block';
3362
+ }
3363
+ else {
3364
+ child.style.display = 'none';
3365
+ }
3366
+ });
3367
+ }
3368
+ }
3369
+ }
3370
+
3371
+ /**
3372
+ * Renderer for the RTETableBlock.
3373
+ */
3374
+ class RTETableBlockRenderer extends VegaRTEExtensionRenderer {
3375
+ constructor() {
3376
+ super(...arguments);
3377
+ this.extensionContext = null;
3378
+ }
3379
+ /**
3380
+ * @inheritDoc
3381
+ */
3382
+ doRender(h, renderData, rteContext) {
3383
+ const tableSettingPopoverRenderer = new TableSettingPopoverRenderer();
3384
+ const tableDynamicPopoverRenderer = new TableDynamicPopoverRenderer();
3385
+ if (this.extensionContext) {
3386
+ tableSettingPopoverRenderer.injectRTEExtensionContext(this.extensionContext);
3387
+ tableDynamicPopoverRenderer.injectRTEExtensionContext(this.extensionContext);
3388
+ }
3389
+ let tableRef;
3390
+ const table = this.renderTable(h, renderData);
3391
+ const tableSettingPopover = tableSettingPopoverRenderer.render(h, renderData, tableDynamicPopoverRenderer);
3392
+ const tableDynamicPopover = tableDynamicPopoverRenderer.render(h, () => tableRef);
3393
+ const tableAnnotation = renderData.getAnnotationByType(columnOperation.RTETableExtensionAnnotationTypeEnum.TABLE);
3394
+ const children = rteContext.editable
3395
+ ? [
3396
+ h('vega-rich-text-table-selection-widget', {
3397
+ // eslint-disable-next-line jsdoc/require-jsdoc
3398
+ onVegaRemove: (e) => {
3399
+ e.stopPropagation();
3400
+ this.handleTableRemove(renderData);
3401
+ },
3402
+ // eslint-disable-next-line jsdoc/require-jsdoc
3403
+ onClick: (event) => tableSettingPopoverRenderer.handleTableClick(event, tableRef),
3404
+ // eslint-disable-next-line jsdoc/require-jsdoc
3405
+ onMouseLeave: () => {
3406
+ tableSettingPopoverRenderer.syncSelectedCells();
3407
+ },
3408
+ }, [
3409
+ h('vega-box', {
3410
+ class: 'v-rte--extension-table-popover-trigger',
3411
+ // eslint-disable-next-line jsdoc/require-jsdoc
3412
+ ref: (ref) => (tableRef = ref),
3413
+ }, [table, tableSettingPopover, tableDynamicPopover]),
3414
+ ]),
3415
+ ]
3416
+ : [table];
3417
+ const result = h('div', {
3418
+ class: 'v-rte--extension-table-container',
3419
+ style: Object.assign({}, (tableAnnotation && tableAnnotation.renderAlignmentStyle())),
3420
+ }, children);
3421
+ /**
3422
+ * The getter for the children container.
3423
+ *
3424
+ * @returns {VegaRTERenderResult} - The children container render result.
3425
+ */
3426
+ result.childrenContainerGetter = () => table;
3427
+ return result;
3428
+ }
3429
+ /**
3430
+ * @inheritDoc
3431
+ */
3432
+ injectRTEScopeStyles() {
3433
+ return tableBlockStylesCss;
3434
+ }
3435
+ /**
3436
+ * Injects the RTE extension context.
3437
+ *
3438
+ * @param {RTETableExtensionContext} context - The RTE extension context.
3439
+ */
3440
+ injectExtensionContext(context) {
3441
+ this.extensionContext = context;
3442
+ }
3443
+ /**
3444
+ * Renders the table element.
3445
+ *
3446
+ * @param {VegaRTECreateElementFunction} h - The create element function.
3447
+ * @param {RTETableBlock} renderData - The table block to render.
3448
+ * @returns {VegaRTERenderResult} - The rendered table element.
3449
+ */
3450
+ renderTable(h, renderData) {
3451
+ var _a;
3452
+ return h('table', Object.assign(Object.assign({ key: renderData.id }, (_a = renderData.getCustomAttributesAnnotation()) === null || _a === void 0 ? void 0 : _a.render()), { style: renderData.getStyles(), class: [RTETableBlockRenderer.EXTENSION_TABLE_CLASS, renderData.getClasses()].join(' '),
3453
+ // eslint-disable-next-line jsdoc/require-jsdoc
3454
+ ref: (ref) => {
3455
+ this.useRef(renderData)(ref);
3456
+ } }));
3457
+ }
3458
+ /**
3459
+ * Handles the removal of the table block.
3460
+ *
3461
+ * @param {RTETableBlock} renderData - The table block to remove.
3462
+ */
3463
+ handleTableRemove(renderData) {
3464
+ renderData.parent.apply(new DeleteTableBlockAction(renderData));
3465
+ }
3466
+ }
3467
+ RTETableBlockRenderer.EXTENSION_TABLE_CLASS = 'v-rte--extension-table';
3468
+
3469
+ /**
3470
+ * Renders a logic control block in the rich text editor.
3471
+ */
3472
+ class RTETableHeadRenderer extends VegaRTEExtensionRenderer {
3473
+ /**
3474
+ * @inheritDoc
3475
+ */
3476
+ doRender(h, renderData) {
3477
+ return h('thead', {
3478
+ key: renderData.id,
3479
+ ref: this.useRef(renderData),
3480
+ });
3481
+ }
3482
+ }
3483
+
3484
+ /**
3485
+ * Renders a logic control block in the rich text editor.
3486
+ */
3487
+ class RTETableRowBlockRenderer extends VegaRTEExtensionRenderer {
3488
+ /**
3489
+ * @inheritDoc
3490
+ */
3491
+ doRender(h, renderData) {
3492
+ return h('tr', {
3493
+ key: renderData.id,
3494
+ ref: this.useRef(renderData),
3495
+ });
3496
+ }
3497
+ }
3498
+
3499
+ /**
3500
+ * Renders a table cell block in the rich text editor.
3501
+ */
3502
+ class RTETableCellRenderer extends VegaRTEExtensionRenderer {
3503
+ /**
3504
+ * @inheritDoc
3505
+ */
3506
+ doRender(h, renderData, rteContext) {
3507
+ return this.renderByCellType(h, renderData, rteContext, 'td');
3508
+ }
3509
+ /**
3510
+ * Injects the extension context
3511
+ *
3512
+ * @param {RTETableExtensionContext} context - extension context
3513
+ */
3514
+ injectExtensionContext(context) {
3515
+ this.extensionContext = context;
3516
+ }
3517
+ /**
3518
+ * Renders the table cell based on its type (td or th).
3519
+ *
3520
+ * @param {VegaRTECreateElementFunction} h - The create element function.
3521
+ * @param {RTETableCellBlock} renderData - The table cell block to render.
3522
+ * @param {RTERenderContext} rteContext - The rte editor context.
3523
+ * @param {'td' | 'th'} elementType - The type of table cell element ('td' or 'th').
3524
+ * @returns {VegaRTERenderResult} - The rendered table cell element.
3525
+ */
3526
+ renderByCellType(h, renderData, rteContext, elementType) {
3527
+ var _a;
3528
+ return h(elementType, Object.assign(Object.assign(Object.assign({ key: renderData.id, ref: this.useRef(renderData) }, (_a = renderData.getCustomAttributesAnnotation()) === null || _a === void 0 ? void 0 : _a.render()), { style: renderData.getStyles(rteContext), class: renderData.getClasses() }), (rteContext.editable ? this.onSelectionListeners(renderData) : undefined)));
3529
+ }
3530
+ /**
3531
+ * Returns the mouse event listeners for selection handling.
3532
+ *
3533
+ * @param {RTETableCellBlock} renderData - The table cell block to render.
3534
+ * @returns {RTETableSelectionListenersType} - The mouse event listeners.
3535
+ */
3536
+ onSelectionListeners(renderData) {
3537
+ return {
3538
+ /**
3539
+ * Handles the mouse down event to focus a cell.
3540
+ *
3541
+ * @param {MouseEvent} event - The mouse event.
3542
+ */
3543
+ onMouseDown: (event) => {
3544
+ const targetParentTable = ui.findParent(event.target, 'table');
3545
+ const currentTable = ui.findParent(event.currentTarget, 'table');
3546
+ const inCurrentTable = currentTable === targetParentTable;
3547
+ const cellRef = event.target.closest('td, th');
3548
+ if (inCurrentTable && cellRef) {
3549
+ this.extensionContext.tableSelection.focusCell(cellRef);
3550
+ }
3551
+ },
3552
+ /**
3553
+ * Handles the mouse move event to start selection.
3554
+ *
3555
+ * @param {MouseEvent} event - The mouse event.
3556
+ */
3557
+ onMouseMove: (event) => {
3558
+ event.stopPropagation();
3559
+ event.preventDefault();
3560
+ this.extensionContext.tableSelection.dragOver(renderData);
3561
+ },
3562
+ /**
3563
+ * Handles the mouse up event to end selection.
3564
+ */
3565
+ onMouseUp: () => {
3566
+ this.extensionContext.tableSelection.endDrag();
3567
+ },
3568
+ };
3569
+ }
3570
+ }
3571
+
3572
+ /**
3573
+ * Renders a table body block in the rich text editor.
3574
+ */
3575
+ class RTETableBodyRenderer extends VegaRTEExtensionRenderer {
3576
+ /**
3577
+ * @inheritDoc
3578
+ */
3579
+ doRender(h, renderData) {
3580
+ return h('tbody', {
3581
+ key: renderData.id,
3582
+ ref: this.useRef(renderData),
3583
+ });
3584
+ }
3585
+ }
3586
+
3587
+ /**
3588
+ * Renders a head cell block in the rich text editor.
3589
+ */
3590
+ class RTETableHeadCellRenderer extends RTETableCellRenderer {
3591
+ /**
3592
+ * @inheritDoc
3593
+ */
3594
+ doRender(h, renderData, rteContext) {
3595
+ return super.renderByCellType(h, renderData, rteContext, 'th');
3596
+ }
3597
+ }
3598
+
3599
+ const INSERT_TABLE_BLOCK = 'INSERT_TABLE_BLOCK';
3600
+ /**
3601
+ * Action to insert a table block into the rich text editor.
3602
+ */
3603
+ class InsertTableBlockAction extends codeBlock.ModifyContentAction {
3604
+ constructor(rowCount, columnCount) {
3605
+ super();
3606
+ this.type = INSERT_TABLE_BLOCK;
3607
+ this.rowCount = rowCount;
3608
+ this.columnCount = columnCount;
3609
+ }
3610
+ }
3611
+
3612
+ const tableIcon = {
3613
+ icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M48 264V160H232V264H48zm0 48H232V432H64c-8.8 0-16-7.2-16-16V312zM280 432V312H464V416c0 8.8-7.2 16-16 16H280zM464 264H280V160H464V264zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"/></svg>`,
3614
+ };
3615
+
3616
+ /**
3617
+ * Function toolbar button renderer class.
3618
+ */
3619
+ class RTETableToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
3620
+ constructor() {
3621
+ super(...arguments);
3622
+ this.hoveredRows = 1;
3623
+ this.hoveredCols = 1;
3624
+ }
3625
+ /**
3626
+ * Injects the extension context
3627
+ *
3628
+ * @param {RTETableExtensionContext} context - extension context
3629
+ */
3630
+ injectExtensionContext(context) {
3631
+ this.extensionContext = context;
3632
+ }
3633
+ /**
3634
+ * @inheritDoc
3635
+ */
3636
+ render(h, editorContext) {
3637
+ return this.renderTablePicker(h, super.renderButton(h, editorContext, {
3638
+ showArrowIcon: true,
3639
+ icon: 'rte-table',
3640
+ }));
3641
+ }
3642
+ /**
3643
+ * Overrides the isDisabled method to determine if the button should be disabled.
3644
+ *
3645
+ * @returns {boolean} - true if the button should be disabled, false otherwise.
3646
+ */
3647
+ isDisabled() {
3648
+ const { host, getSelectedNodes } = this.extensionContext;
3649
+ const focusNode = getSelectedNodes()[0];
3650
+ let enableInsert = true;
3651
+ if (focusNode) {
3652
+ enableInsert =
3653
+ codeBlock.ActionHandleStrategyRegistry.canHandle(INSERT_TABLE_BLOCK, focusNode.parent) &&
3654
+ codeBlock.ActionHandleStrategyRegistry.canHandle(codeBlock.ModifyContentActionType.INSERT_CHILDREN_AFTER, focusNode.parent.parent);
3655
+ }
3656
+ return host.disabled || !enableInsert;
3657
+ }
3658
+ /**
3659
+ * @inheritDoc
3660
+ */
3661
+ handleButtonClick() {
3662
+ }
3663
+ /* istanbul ignore next */
3664
+ /**
3665
+ * @inheritDoc
3666
+ */
3667
+ handleDropdownClick() {
3668
+ }
3669
+ /**
3670
+ * Renders the table size picker popover.
3671
+ *
3672
+ * @param {VegaRTECreateElementFunction} h - Create element function.
3673
+ * @param {VegaRTERenderResult} children - The children elements to render inside the popover.
3674
+ * @returns {VegaRTERenderResult} - The render result for the table size picker popover.
3675
+ */
3676
+ renderTablePicker(h, children) {
3677
+ return h('vega-popover', {
3678
+ trigger: 'click',
3679
+ alignment: 'start',
3680
+ placement: 'bottom',
3681
+ showArrow: false,
3682
+ // eslint-disable-next-line jsdoc/require-jsdoc
3683
+ ref: (ref) => {
3684
+ if (ref) {
3685
+ this.tablePickerPopoverRef = ref;
3686
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, domNodeSubjectObserverFactory.VegaPopoverShow, () => {
3687
+ this.resetPicker();
3688
+ });
3689
+ }
3690
+ },
3691
+ }, [
3692
+ h('div', { slot: 'popover' }, [this.generatePickerStyles(h), this.generateTableSizeGrid(h)]),
3693
+ h('div', { slot: 'popover-content' }, children),
3694
+ ]);
3695
+ }
3696
+ /**
3697
+ * Generates the table size picker grid.
3698
+ *
3699
+ * @param {VegaRTECreateElementFunction} h - Create element function.
3700
+ * @returns {VegaRTERenderResult} - The render result for the table size picker.
3701
+ */
3702
+ generateTableSizeGrid(h) {
3703
+ const rows = 10;
3704
+ const cols = 10;
3705
+ const gridCells = [];
3706
+ for (let r = 1; r <= rows; r++) {
3707
+ for (let c = 1; c <= cols; c++) {
3708
+ gridCells.push(h('button', {
3709
+ 'class': `rte-table-picker__cell`,
3710
+ 'data-row': r,
3711
+ 'data-col': c,
3712
+ 'onMouseenter': this.handlePickerCellHover.bind(this, r, c),
3713
+ 'onClick': this.handlePickerClick.bind(this, r, c),
3714
+ }, []));
3715
+ }
3716
+ }
3717
+ return h('div', { class: 'rte-table-picker' }, [
3718
+ h('div', {
3719
+ class: 'rte-table-picker__grid',
3720
+ // eslint-disable-next-line jsdoc/require-jsdoc
3721
+ ref: (ref) => {
3722
+ if (ref) {
3723
+ this.tablePickerGridRef = ref;
3724
+ }
3725
+ },
3726
+ style: {
3727
+ gridTemplateColumns: `repeat(${cols}, 16px)`,
3728
+ gridTemplateRows: `repeat(${rows}, 16px)`,
3729
+ },
3730
+ }, gridCells),
3731
+ h('div', {
3732
+ class: 'rte-table-picker__hint',
3733
+ }, h('vega-hint', {
3734
+ // eslint-disable-next-line jsdoc/require-jsdoc
3735
+ ref: (ref) => {
3736
+ if (ref) {
3737
+ this.selectedHintRef = ref;
3738
+ }
3739
+ },
3740
+ }, [`${this.hoveredRows} × ${this.hoveredCols}`])),
3741
+ ]);
3742
+ }
3743
+ /**
3744
+ * Generates the styles for the table size picker.
3745
+ *
3746
+ * @param {VegaRTECreateElementFunction} h - Create element function.
3747
+ * @returns {VegaRTERenderResult} - The render result for the styles.
3748
+ */
3749
+ generatePickerStyles(h) {
3750
+ return h('style', {}, [
3751
+ // eslint-disable-next-line spellcheck/spell-checker
3752
+ `
3753
+ .rte-table-picker__grid { display: grid; gap: 2px; }
3754
+ .rte-table-picker__cell {
3755
+ box-sizing: border-box;
3756
+ border: 1px solid #ccc;
3757
+ background-color: transparent;
3758
+ cursor: pointer;
3759
+ }
3760
+ .rte-table-picker__cell:hover {
3761
+ background-color: #cae1fc;
3762
+ }
3763
+ .rte-table-picker__cell.active {
3764
+ background-color: #cae1fc;
3765
+ }
3766
+ .rte-table-picker__hint {
3767
+ text-align: center;
3768
+ }
3769
+ `,
3770
+ ]);
3771
+ }
3772
+ /**
3773
+ * Creates a table block with the specified number of rows and columns.
3774
+ *
3775
+ * @param {number} row - The number of rows for the table.
3776
+ * @param {number} column - The number of columns for the table.
3777
+ */
3778
+ createTable(row, column) {
3779
+ const { host, getSelectedNodes } = this.extensionContext;
3780
+ const focusNode = getSelectedNodes()[0];
3781
+ const action = new InsertTableBlockAction(row, column);
3782
+ if (!focusNode) {
3783
+ host.value.apply(action);
3784
+ }
3785
+ else if (focusNode.parent) {
3786
+ focusNode.parent.apply(action);
3787
+ }
3788
+ if (action.nextFocusNode) {
3789
+ host.value.apply(new dtoRendererManager.UpdateCursorPositionAction(action.nextFocusNode, 1));
3790
+ }
3791
+ }
3792
+ /**
3793
+ * Handles the click event on a picker cell.
3794
+ *
3795
+ * @param {number} r - The number of rows selected.
3796
+ * @param {number} c - The number of columns selected.
3797
+ */
3798
+ handlePickerClick(r, c) {
3799
+ this.createTable(r, c);
3800
+ void this.tablePickerPopoverRef.hide();
3801
+ }
3802
+ /**
3803
+ * Handles the hover event on a picker cell.
3804
+ *
3805
+ * @param {number} r - The number of rows being hovered over.
3806
+ * @param {number} c - The number of columns being hovered over.
3807
+ */
3808
+ handlePickerCellHover(r, c) {
3809
+ this.hoveredRows = r;
3810
+ this.hoveredCols = c;
3811
+ Array.from(this.tablePickerGridRef.children).forEach((cell) => {
3812
+ const rIndex = Number(cell.dataset.row);
3813
+ const cIndex = Number(cell.dataset.col);
3814
+ if (rIndex <= this.hoveredRows && cIndex <= this.hoveredCols) {
3815
+ cell.classList.add('active');
3816
+ }
3817
+ else {
3818
+ cell.classList.remove('active');
3819
+ }
3820
+ });
3821
+ this.selectedHintRef.textContent = `${this.hoveredRows} × ${this.hoveredCols}`;
3822
+ }
3823
+ /**
3824
+ * Resets the table picker to its initial state.
3825
+ */
3826
+ resetPicker() {
3827
+ this.handlePickerCellHover(1, 1);
3828
+ }
3829
+ }
3830
+ (() => {
3831
+ internalIconManager.VegaInternalIconManager.register({ 'rte-table': tableIcon });
3832
+ })();
3833
+
3834
+ /**
3835
+ * Strategy to handle the insertion of a block into the rich text editor.
3836
+ */
3837
+ class InsertTableBlockStrategy extends codeBlock.ActionHandleStrategy {
3838
+ /**
3839
+ * @inheritDoc
3840
+ */
3841
+ handleAction(action, target) {
3842
+ const tableBlock = this.createTableBlock(action.rowCount, action.columnCount);
3843
+ const emptyParagraph = super.createNewParagraph('');
3844
+ const referenceBlock = this.getReferenceBlock(target);
3845
+ if (referenceBlock) {
3846
+ referenceBlock.parent.apply(new codeBlock.InsertChildrenAfterAction(referenceBlock, tableBlock, emptyParagraph));
3847
+ }
3848
+ else {
3849
+ target.apply(new codeBlock.AppendChildrenAction([tableBlock, emptyParagraph]));
3850
+ }
3851
+ action.nextFocusNode = tableBlock.getFirstNode();
3852
+ }
3853
+ /**
3854
+ * Create a table block with the specified number of rows and columns.
3855
+ *
3856
+ * @param {number} row - The number of rows in the table.
3857
+ * @param {number} column - The number of columns in the table.
3858
+ * @returns {RTETableBlock} The created table block.
3859
+ */
3860
+ createTableBlock(row, column) {
3861
+ const normalizedRowCount = Math.max(row, 1);
3862
+ const normalizedColumnCount = Math.max(column, 1);
3863
+ return columnOperation.RTETableBlock.from({
3864
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
3865
+ type: 'table-block',
3866
+ children: [columnOperation.generateTableBody(normalizedRowCount, normalizedColumnCount)],
3867
+ });
3868
+ }
3869
+ /**
3870
+ * We need to get the correct block if the current target is a block element to avoid nesting blocks.
3871
+ *
3872
+ * @param {RTEBlock} currentTarget - The current target block or content.
3873
+ * @returns {Nullable<RTEBlock>} The reference block.
3874
+ */
3875
+ getReferenceBlock(currentTarget) {
3876
+ if (!(currentTarget instanceof dtoRendererManager.VegaRTEContent)) {
3877
+ return currentTarget;
3878
+ }
3879
+ }
3880
+ }
3881
+
3882
+ /**
3883
+ * Interceptor to prevent deletion of a table cell if it is the cell with empty content.
3884
+ */
3885
+ class PreventCellContentDeleteInterceptor extends ActionHandlerInterceptor {
3886
+ /**
3887
+ * Prevent deletion if the target block is the only child of a table cell and is empty.
3888
+ *
3889
+ * @param {DeleteBlockContentAction} _action - the action to be intercepted
3890
+ * @param {RTETextBlock} target - the target block
3891
+ * @returns {boolean} - true if the deletion should be intercepted, false otherwise
3892
+ */
3893
+ canIntercept(_action, target) {
3894
+ const cell = target.parent;
3895
+ return cell instanceof columnOperation.RTETableCellBlock && cell.children.length === 1 && !target.isNotEmpty();
3896
+ }
3897
+ /**
3898
+ * @inheritDoc
3899
+ */
3900
+ intercept() {
3901
+ }
3902
+ }
3903
+
3904
+ /**
3905
+ * Strategy to handle the deletion of a table block from the parent.
3906
+ */
3907
+ class DeleteTableBlockStrategy extends codeBlock.ActionHandleStrategy {
3908
+ /**
3909
+ * Deletes the specified table block and updates the cursor position.
3910
+ *
3911
+ * @param {DeleteTableBlockAction} action - The action containing the table block to delete.
3912
+ */
3913
+ handleAction(action) {
3914
+ const tableBlock = action.tableBlock;
3915
+ const parent = tableBlock.parent;
3916
+ const root = super.getRootContent(tableBlock);
3917
+ const newParagraph = super.createNewParagraph('');
3918
+ parent.apply(new codeBlock.InsertChildrenAfterAction(tableBlock, newParagraph));
3919
+ parent.apply(new codeBlock.RemoveChildrenAction(tableBlock));
3920
+ if (root) {
3921
+ root.apply(new dtoRendererManager.UpdateCursorPositionAction(newParagraph.getLastNode()));
3922
+ }
3923
+ }
3924
+ }
3925
+
3926
+ /**
3927
+ * Interceptor to prevent removal of all children from a cell, ensuring at least one child remains.
3928
+ */
3929
+ class PreventCellChildrenRemoveInterceptor extends ActionHandlerInterceptor {
3930
+ /**
3931
+ * Prevent removal if the target cell would be left empty after the action.
3932
+ *
3933
+ * @param {RemoveChildrenAction} action - the action to be intercepted
3934
+ * @param {RTETableCellBlock | RTETableHeadCellBlock} target - the target cell block
3935
+ * @returns {boolean} - true if the removal should be intercepted, false otherwise
3936
+ */
3937
+ canIntercept(action, target) {
3938
+ return action.entityToBeRemoved && target.children.length === 1;
3939
+ }
3940
+ /**
3941
+ * Add a new empty text node to the cell to prevent it from removal.
3942
+ *
3943
+ * @param {ActionHandlerExecution} _execution - the original execution function
3944
+ * @param {RemoveChildrenAction} action - the action to be intercepted
3945
+ * @param {RTETableCellBlock | RTETableHeadCellBlock} target - the target cell block
3946
+ */
3947
+ intercept(_execution, action, target) {
3948
+ if (!(action.entityToBeRemoved instanceof codeBlock.RTETextBlock)) {
3949
+ const newParagraph = codeBlock.RTETextBlock.from({
3950
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
3951
+ type: 'paragraph',
3952
+ nodes: [{ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(), type: 'text', text: '' }],
3953
+ });
3954
+ target.children = [];
3955
+ target.apply(new codeBlock.AppendChildrenAction([newParagraph]));
3956
+ return;
3957
+ }
3958
+ action.entityToBeRemoved.apply(new codeBlock.AppendChildrenAction([
3959
+ new codeBlock.RTETextNode(createPublicApiRuntimeMetricsSlimmer.generateUUID(), '', action.entityToBeRemoved),
3960
+ ]));
3961
+ }
3962
+ }
3963
+
3964
+ /**
3965
+ * Strategy class for handling the insertion of a new row into a table.
3966
+ */
3967
+ class InsertTableRowStrategy extends codeBlock.ActionHandleStrategy {
3968
+ /**
3969
+ * @inheritDoc
3970
+ */
3971
+ handleAction(action, target) {
3972
+ const { insertDirection, selectedRows } = action;
3973
+ // The reference block will control where to insert the new row
3974
+ let refBlock = insertDirection === columnOperation.InsertTableRowDirection.ABOVE
3975
+ ? selectedRows[0]
3976
+ : selectedRows[selectedRows.length - 1];
3977
+ // The row need to be inserted is a header row
3978
+ if (this.shouldInsertHeaderRow(refBlock, insertDirection)) {
3979
+ const headerBlock = columnOperation.RTETableRowBlock.from({
3980
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
3981
+ type: 'table-row',
3982
+ children: refBlock.children.map((item) => {
3983
+ return this.getDefaultCellBlockTemplate(item.type);
3984
+ }),
3985
+ });
3986
+ if (insertDirection === columnOperation.InsertTableRowDirection.ABOVE) {
3987
+ refBlock.parent.apply(new codeBlock.InsertChildrenBeforeAction(refBlock, headerBlock));
3988
+ }
3989
+ else {
3990
+ refBlock.parent.apply(new codeBlock.InsertChildrenAfterAction(refBlock, headerBlock));
3991
+ }
3992
+ }
3993
+ else {
3994
+ let direction = insertDirection;
3995
+ let tableBody = target.children.find((block) => block instanceof columnOperation.RTETableBodyBlock);
3996
+ // Should insert into body if reference block is in head row and body exists
3997
+ if (refBlock.parent instanceof columnOperation.RTETableHeadBlock && tableBody) {
3998
+ refBlock = tableBody.children[0];
3999
+ direction = columnOperation.InsertTableRowDirection.ABOVE;
4000
+ }
4001
+ const refBlockIsHeaderRow = refBlock.parent instanceof columnOperation.RTETableHeadBlock;
4002
+ const rowBlock = columnOperation.RTETableRowBlock.from({
4003
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
4004
+ type: 'table-row',
4005
+ children: refBlock.children.map((item) => {
4006
+ return this.getDefaultCellBlockTemplate(refBlockIsHeaderRow ? 'table-cell' : item.type);
4007
+ }),
4008
+ });
4009
+ if (!tableBody) {
4010
+ tableBody = columnOperation.RTETableBodyBlock.from({
4011
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
4012
+ type: 'table-body',
4013
+ children: [],
4014
+ });
4015
+ tableBody.apply(new codeBlock.AppendChildrenAction([rowBlock]));
4016
+ target.apply(new codeBlock.AppendChildrenAction([tableBody]));
4017
+ }
4018
+ else {
4019
+ if (direction === columnOperation.InsertTableRowDirection.ABOVE) {
4020
+ tableBody.apply(new codeBlock.InsertChildrenBeforeAction(refBlock, rowBlock));
4021
+ }
4022
+ else {
4023
+ tableBody.apply(new codeBlock.InsertChildrenAfterAction(refBlock, rowBlock));
4024
+ }
4025
+ }
4026
+ }
4027
+ }
4028
+ /**
4029
+ * Checks if a header row should be inserted based on the selected rows and position.
4030
+ *
4031
+ * @param {RTETableRowBlock} refBlock - The reference table row block.
4032
+ * @param {InsertTableRowDirection} direction - The direction to insert the new row (above or below).
4033
+ * @returns {boolean} True if a header row should be inserted, false otherwise.
4034
+ */
4035
+ shouldInsertHeaderRow(refBlock, direction) {
4036
+ if (direction === columnOperation.InsertTableRowDirection.ABOVE) {
4037
+ return refBlock.parent instanceof columnOperation.RTETableHeadBlock;
4038
+ }
4039
+ else {
4040
+ const parentBlock = refBlock.parent;
4041
+ return (parentBlock instanceof columnOperation.RTETableHeadBlock &&
4042
+ parentBlock.children[parentBlock.children.length - 1] !== refBlock);
4043
+ }
4044
+ }
4045
+ /**
4046
+ * Get the default cell block template.
4047
+ *
4048
+ * @param {string} cellType - The type of the cell block.
4049
+ * @returns {VegaRTETableCellBlock | VegaRTETableHeadCellBlock} The default cell block template.
4050
+ */
4051
+ getDefaultCellBlockTemplate(cellType) {
4052
+ const id = createPublicApiRuntimeMetricsSlimmer.generateUUID();
4053
+ return {
4054
+ id,
4055
+ type: cellType,
4056
+ children: [
4057
+ {
4058
+ id: `${id}-p`,
4059
+ type: 'paragraph',
4060
+ nodes: [
4061
+ {
4062
+ id: `${id}-p-t`,
4063
+ type: 'text',
4064
+ text: '',
4065
+ },
4066
+ ],
4067
+ },
4068
+ ],
4069
+ };
4070
+ }
4071
+ }
4072
+
4073
+ const TABLE_CAPTION_PLACEHOLDER_TEXT = 'Enter table caption';
4074
+ /**
4075
+ * Renderer for the optional table caption node.
4076
+ */
4077
+ class RTETableCaptionRenderer extends VegaRTEExtensionRenderer {
4078
+ /**
4079
+ * @inheritDoc
4080
+ */
4081
+ doRender(h, renderData) {
4082
+ return h('caption', {
4083
+ 'key': renderData.id,
4084
+ 'ref': this.useRef(renderData),
4085
+ 'style': renderData.getStyles(),
4086
+ 'class': [renderData.getClasses(), renderData.isNotEmpty() ? null : 'showPlaceholder']
4087
+ .filter(typeGuard.isNonNullable)
4088
+ .join(' '),
4089
+ 'data-placeholder': TABLE_CAPTION_PLACEHOLDER_TEXT,
4090
+ });
4091
+ }
4092
+ }
4093
+
4094
+ /**
4095
+ * Strategy class for handling the deletion of table rows.
4096
+ */
4097
+ class DeleteTableRowStrategy extends codeBlock.ActionHandleStrategy {
4098
+ /**
4099
+ * @inheritDoc
4100
+ */
4101
+ handleAction(action, target) {
4102
+ const { rowsToBeRemoved } = action;
4103
+ const futureFocusRow = this.getFutureFocusRow(rowsToBeRemoved[0], rowsToBeRemoved[rowsToBeRemoved.length - 1], target);
4104
+ rowsToBeRemoved.forEach((row) => {
4105
+ this.removeRow(row);
4106
+ });
4107
+ if (futureFocusRow) {
4108
+ const root = this.getRootContent(target);
4109
+ if (root) {
4110
+ const focusNode = futureFocusRow.getLastNode();
4111
+ root.apply(new dtoRendererManager.UpdateCursorPositionAction(focusNode, focusNode.getRangeEndOffset()));
4112
+ }
4113
+ }
4114
+ }
4115
+ /**
4116
+ * Removes the specified row from its parent table section.
4117
+ * // TODO: Add handling for when selected row has or in merge column.
4118
+ *
4119
+ * @param {RTETableRowBlock} rowToBeRemoved The row to be removed.
4120
+ */
4121
+ removeRow(rowToBeRemoved) {
4122
+ rowToBeRemoved.parent.apply(new codeBlock.RemoveChildrenAction(rowToBeRemoved));
4123
+ }
4124
+ /**
4125
+ * Get the future focus row after deletion.
4126
+ *
4127
+ * @param {RTETableRowBlock} startRow - The first row to be deleted.
4128
+ * @param {RTETableRowBlock} endRow - The last row to be deleted.
4129
+ * @param {RTETableBlock} table - The table containing the rows.
4130
+ * @returns {Nullable<RTETableRowBlock>} The row to be focused after deletion.
4131
+ */
4132
+ getFutureFocusRow(startRow, endRow, table) {
4133
+ const allRows = table.children
4134
+ .filter((item) => item instanceof columnOperation.RTETableHeadBlock || item instanceof columnOperation.RTETableBodyBlock)
4135
+ .flatMap((block) => block.children);
4136
+ const startIndex = allRows.indexOf(startRow);
4137
+ const endIndex = allRows.indexOf(endRow);
4138
+ if (allRows[startIndex - 1]) {
4139
+ return allRows[startIndex - 1];
4140
+ }
4141
+ else if (allRows[endIndex + 1]) {
4142
+ return allRows[endIndex + 1];
4143
+ }
4144
+ }
4145
+ }
4146
+
4147
+ /**
4148
+ * Table selection helper used for mouse drag selection of cells.
4149
+ */
4150
+ class RTETableSelection {
4151
+ constructor() {
4152
+ /**
4153
+ * Indicates whether the user is currently performing a drag selection.
4154
+ */
4155
+ this.dragging = false;
4156
+ /**
4157
+ * Anchor cell where the drag selection started.
4158
+ */
4159
+ this.anchorCell = null;
4160
+ /**
4161
+ * Collection of currently selected cells.
4162
+ */
4163
+ this.selectedCells = new Set();
4164
+ this.syncRTESelectionWithDebounce = timer.debounce(this.syncRTESelection, 100, this);
4165
+ this.handleSelectionChangeWithDebounce = timer.debounce(this.handleSelectionChange, 10, this);
4166
+ /**
4167
+ * Recursively filter and collect selected table cell blocks within the given node.
4168
+ *
4169
+ * @param {Range} range - The current selection range.
4170
+ * @param {Node} node - The current node to check for selection.
4171
+ * @returns {RTETableCellBlock[]} A list of selected table cell blocks.
4172
+ */
4173
+ this.filterSelectedCell = (range, node) => {
4174
+ const selectedCells = new Set();
4175
+ if (range.intersectsNode(node)) {
4176
+ if (node.nodeType === Node.TEXT_NODE) {
4177
+ const focusedNodeDto = codeBlock.stateEntityRenderingRegistry.getEntityByDOM(node.parentElement);
4178
+ if (focusedNodeDto) {
4179
+ const cell = columnOperation.getParentBlockByType(focusedNodeDto.parent, columnOperation.RTETableCellBlock);
4180
+ if (cell) {
4181
+ selectedCells.add(cell);
4182
+ return Array.from(selectedCells);
4183
+ }
4184
+ }
4185
+ }
4186
+ node.childNodes.forEach((child) => this.filterSelectedCell(range, child).forEach((cell) => {
4187
+ selectedCells.add(cell);
4188
+ }));
4189
+ }
4190
+ return Array.from(selectedCells);
4191
+ };
4192
+ /**
4193
+ * Update the styles of the selected cells.
4194
+ *
4195
+ * @param {RTETableCellBlock} cell - The cell to update style for.
4196
+ * @param {number} total - The total number of selected cells.
4197
+ */
4198
+ this.updateSelectedStyles = (cell, total) => {
4199
+ const selectedClass = total === 1 ? 'v-rte-table-cell-focused' : 'v-rte-table-cell-selected';
4200
+ const cellRef = codeBlock.stateEntityRenderingRegistry.getDOMByEntity(cell);
4201
+ if (cellRef) {
4202
+ cellRef.classList.add(selectedClass);
4203
+ }
4204
+ };
4205
+ /**
4206
+ * Handles the document mouse up event to finish drag selection.
4207
+ */
4208
+ this.handleDocMouseUp = () => {
4209
+ this.endDrag();
4210
+ const safeDocument = tryGetDocument.tryGetDocument();
4211
+ if (safeDocument) {
4212
+ safeDocument.removeEventListener('mouseup', this.handleDocMouseUp);
4213
+ }
4214
+ };
4215
+ /**
4216
+ * Resets the table selection when clicking outside the table.
4217
+ */
4218
+ this.handleContentClick = () => {
4219
+ this.clearSelection();
4220
+ const editorContent =
4221
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4222
+ this.context.host.shadowRoot.querySelector('.rich-text-editor-container');
4223
+ if (editorContent) {
4224
+ editorContent.removeEventListener('mousedown', this.handleContentClick, true);
4225
+ }
4226
+ };
4227
+ }
4228
+ /**
4229
+ * Compute all cells inside the rectangle defined by the start and end cells.
4230
+ *
4231
+ * Note: this only performs the calculation and does not modify the internal `selectedCells` set,
4232
+ * so callers can decide how to apply the result.
4233
+ *
4234
+ * @param {RTETableCellBlock | RTETableHeadCellBlock} anchor - Drag start cell (anchor cell).
4235
+ * @param {RTETableCellBlock | RTETableHeadCellBlock} focus - Current drag focus cell.
4236
+ * @returns {(RTETableCellBlock | RTETableHeadCellBlock)[]} All cells in the rectangular selection area.
4237
+ */
4238
+ static computeRectRange(anchor, focus) {
4239
+ // Collect all row blocks (from both head and body) under the same table,
4240
+ // then compute the rectangle over this flattened row list.
4241
+ const anchorRow = anchor.parent;
4242
+ const focusRow = focus.parent;
4243
+ const anchorSection = anchorRow.parent;
4244
+ const focusSection = focusRow.parent;
4245
+ const anchorTable = anchorSection.parent;
4246
+ const focusTable = focusSection.parent;
4247
+ // If they are not in the same table at all, just return empty.
4248
+ if (anchorTable !== focusTable) {
4249
+ return [];
4250
+ }
4251
+ // Flatten head rows (if any) + body rows into a single ordered list.
4252
+ const allRows = [];
4253
+ const tableChildren = anchorTable.children;
4254
+ tableChildren.forEach((section) => {
4255
+ section.children.forEach((row) => allRows.push(row));
4256
+ });
4257
+ const anchorRowIndex = allRows.indexOf(anchorRow);
4258
+ const focusRowIndex = allRows.indexOf(focusRow);
4259
+ const startRow = Math.min(anchorRowIndex, focusRowIndex);
4260
+ const endRow = Math.max(anchorRowIndex, focusRowIndex);
4261
+ const anchorColIndex = anchorRow.children.indexOf(anchor);
4262
+ const focusColIndex = focusRow.children.indexOf(focus);
4263
+ const startCol = Math.min(anchorColIndex, focusColIndex);
4264
+ const endCol = Math.max(anchorColIndex, focusColIndex);
4265
+ const result = [];
4266
+ for (let r = startRow; r <= endRow; r++) {
4267
+ const row = allRows[r];
4268
+ for (let c = startCol; c <= endCol; c++) {
4269
+ const cell = row.children[c];
4270
+ if (cell) {
4271
+ result.push(cell);
4272
+ }
4273
+ }
4274
+ }
4275
+ return result;
4276
+ }
4277
+ /**
4278
+ * Clean up event listeners.
4279
+ */
4280
+ destroy() {
4281
+ this.removeSelectionChangeListener();
4282
+ }
4283
+ /**
4284
+ * Inject the extension context and set up selection change listener.
4285
+ *
4286
+ * @param {RTEExtensionContext} context - The extension context.
4287
+ */
4288
+ init(context) {
4289
+ this.context = context;
4290
+ this.addSelectionChangeListener();
4291
+ }
4292
+ /**
4293
+ * Set the selected cells to the given list, replacing any existing selection.
4294
+ *
4295
+ * @param {RTETableCellBlock} cells - The cells to select.
4296
+ */
4297
+ setSelectedCells(cells) {
4298
+ this.updateSelectedCells(cells);
4299
+ }
4300
+ /**
4301
+ * Get all currently selected cells.
4302
+ *
4303
+ * @returns {(RTETableCellBlock | RTETableHeadCellBlock)[]} A flat list of selected cells.
4304
+ */
4305
+ getSelectedCells() {
4306
+ return Array.from(this.selectedCells);
4307
+ }
4308
+ /**
4309
+ * Handle mouse down on a cell: start drag selection from the given cell.
4310
+ *
4311
+ * @param {HTMLElement} cellRef - The cell where the drag starts.
4312
+ */
4313
+ focusCell(cellRef) {
4314
+ const cellBlock = codeBlock.stateEntityRenderingRegistry.getEntityByDOM(cellRef);
4315
+ if (cellBlock) {
4316
+ this.anchorCell = cellBlock;
4317
+ this.setSelectedCells([cellBlock]);
4318
+ this.addListeners();
4319
+ }
4320
+ }
4321
+ /**
4322
+ * Handle drag over a cell (typically called on `mouseenter` while dragging).
4323
+ * Maintains a rectangular selection between the anchor cell and the current cell.
4324
+ *
4325
+ * @param {RTETableCellBlock | RTETableHeadCellBlock} cell - The cell currently under the drag.
4326
+ */
4327
+ dragOver(cell) {
4328
+ if (!this.anchorCell) {
4329
+ return;
4330
+ }
4331
+ // Always compute the rectangle strictly from the original anchorCell
4332
+ // (the cell where startDrag was first called) to the current cell.
4333
+ const rectCells = RTETableSelection.computeRectRange(this.anchorCell, cell);
4334
+ if (rectCells.length > 1) {
4335
+ this.startDrag();
4336
+ }
4337
+ if (this.dragging) {
4338
+ this.preventTextSelection(rectCells);
4339
+ this.updateSelectedCells(rectCells, { debounceSync: true });
4340
+ }
4341
+ }
4342
+ /**
4343
+ * Handle mouse up: stop drag selection.
4344
+ */
4345
+ endDrag() {
4346
+ this.dragging = false;
4347
+ // Reset anchor after drag ends so the next drag can start from a new cell.
4348
+ this.anchorCell = null;
4349
+ }
4350
+ /**
4351
+ * Clear the current selection state without changing the drag flag.
4352
+ */
4353
+ clearSelection() {
4354
+ this.selectedCells.forEach((cell) => {
4355
+ const cellRef = codeBlock.stateEntityRenderingRegistry.getDOMByEntity(cell);
4356
+ if (cellRef) {
4357
+ cellRef.classList.remove('v-rte-table-cell-selected', 'v-rte-table-cell-focused');
4358
+ }
4359
+ });
4360
+ this.selectedCells.clear();
4361
+ }
4362
+ /**
4363
+ * Add a selectionchange listener to the document to handle cell click selection.
4364
+ */
4365
+ addSelectionChangeListener() {
4366
+ const safeDocument = tryGetDocument.tryGetDocument();
4367
+ if (safeDocument) {
4368
+ safeDocument.addEventListener('selectionchange', this.handleSelectionChangeWithDebounce);
4369
+ }
4370
+ }
4371
+ /**
4372
+ * Remove the selectionchange listener from the document.
4373
+ */
4374
+ removeSelectionChangeListener() {
4375
+ const safeDocument = tryGetDocument.tryGetDocument();
4376
+ if (safeDocument) {
4377
+ safeDocument.removeEventListener('selectionchange', this.handleSelectionChangeWithDebounce);
4378
+ }
4379
+ }
4380
+ /**
4381
+ * Handle selection change events from the document for the cell click selection.
4382
+ */
4383
+ handleSelectionChange() {
4384
+ if (this.dragging) {
4385
+ this.syncRTESelectionWithDebounce();
4386
+ return;
4387
+ }
4388
+ const selection = this.context.getSelection();
4389
+ if (selection.rangeCount > 0) {
4390
+ const range = selection.getRangeAt(0);
4391
+ const commonAncestorContainer = range.commonAncestorContainer;
4392
+ const rangeInTable = !!ui.findParent(commonAncestorContainer, `table.${RTETableBlockRenderer.EXTENSION_TABLE_CLASS}`);
4393
+ if (rangeInTable) {
4394
+ const selectedCells = this.filterSelectedCell(range, commonAncestorContainer);
4395
+ this.setSelectedCells(selectedCells);
4396
+ }
4397
+ }
4398
+ }
4399
+ /**
4400
+ * Mark the beginning of a drag operation.
4401
+ */
4402
+ startDrag() {
4403
+ this.dragging = true;
4404
+ }
4405
+ /**
4406
+ * Add the given cells to the current selection set.
4407
+ *
4408
+ * @param {RTETableCellBlock[]} cells - The cells to add to the selection.
4409
+ * @param {{ debounceSync?: boolean }} [options] - Options for updating selection.
4410
+ * @param {boolean} [options.debounceSync] - Whether to debounce the RTE selection sync.
4411
+ */
4412
+ updateSelectedCells(cells, { debounceSync } = {}) {
4413
+ this.clearSelection();
4414
+ cells.forEach((cell) => {
4415
+ this.selectedCells.add(cell);
4416
+ this.updateSelectedStyles(cell, cells.length);
4417
+ });
4418
+ if (debounceSync) {
4419
+ this.syncRTESelectionWithDebounce();
4420
+ }
4421
+ else {
4422
+ this.syncRTESelection();
4423
+ }
4424
+ }
4425
+ /**
4426
+ * Synchronizes the rich text editor selection with the selected table cells.
4427
+ */
4428
+ syncRTESelection() {
4429
+ const cells = Array.from(this.selectedCells);
4430
+ const nodes = cells
4431
+ .flatMap((cell) => {
4432
+ return cell.children.flatMap((block) => {
4433
+ return block.children.flatMap((node) => {
4434
+ // TODO: Nested table deletion will track in https://gethired.atlassian.net/browse/VD-7860
4435
+ if (node instanceof codeBlock.RTENode) {
4436
+ return node;
4437
+ }
4438
+ });
4439
+ });
4440
+ })
4441
+ .filter(typeGuard.isNonNullable);
4442
+ if (cells.length > 1) {
4443
+ this.context.setSelectedNodes(nodes, {
4444
+ startNode: nodes[0],
4445
+ endNode: nodes[nodes.length - 1],
4446
+ startOffset: 0,
4447
+ endOffset: nodes[nodes.length - 1].getRangeEndOffset(),
4448
+ });
4449
+ }
4450
+ }
4451
+ /**
4452
+ * Prevents text selection during drag operations.
4453
+ *
4454
+ * @param {RTETableCellBlock[]} selectedCells - The currently selected table cells.
4455
+ */
4456
+ preventTextSelection(selectedCells) {
4457
+ const selection = this.context.getSelection();
4458
+ selection.removeAllRanges();
4459
+ if (selectedCells.length > 0) {
4460
+ const startContainer = codeBlock.stateEntityRenderingRegistry.getDOMByEntity(selectedCells[0]);
4461
+ if (startContainer) {
4462
+ const newRange = new Range();
4463
+ newRange.setStart(startContainer, 0);
4464
+ newRange.setEnd(startContainer, 0);
4465
+ selection.addRange(newRange);
4466
+ }
4467
+ }
4468
+ }
4469
+ /**
4470
+ * Adds a mouse up listener to the document to finish drag selection.
4471
+ *
4472
+ */
4473
+ addListeners() {
4474
+ const safeDocument = tryGetDocument.tryGetDocument();
4475
+ if (safeDocument) {
4476
+ safeDocument.addEventListener('mouseup', this.handleDocMouseUp);
4477
+ }
4478
+ const editorContent =
4479
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4480
+ this.context.host.shadowRoot.querySelector('.rich-text-editor-container');
4481
+ if (editorContent) {
4482
+ editorContent.addEventListener('mousedown', this.handleContentClick, true);
4483
+ }
4484
+ }
4485
+ }
4486
+
4487
+ /**
4488
+ * Strategy class for handling converting selected rows to header rows or reverting them back to normal rows.
4489
+ */
4490
+ class ToggleHeaderRowStrategy extends codeBlock.ActionHandleStrategy {
4491
+ /**
4492
+ * @inheritDoc
4493
+ */
4494
+ handleAction(action, target) {
4495
+ const { selectedRows } = action;
4496
+ const headerRows = [];
4497
+ const bodyRows = [];
4498
+ for (const row of selectedRows) {
4499
+ if (row.parent instanceof columnOperation.RTETableBodyBlock) {
4500
+ bodyRows.push(row);
4501
+ }
4502
+ else {
4503
+ headerRows.push(row);
4504
+ }
4505
+ }
4506
+ if (bodyRows.length > 0) {
4507
+ this.convertToHeaderRows(bodyRows, target);
4508
+ }
4509
+ else {
4510
+ this.revertToBodyRows(headerRows, target);
4511
+ }
4512
+ const root = this.getRootContent(target);
4513
+ if (root) {
4514
+ const focusNode = selectedRows[0].getFirstNode();
4515
+ focusNode && root.apply(new dtoRendererManager.UpdateCursorPositionAction(focusNode, 0));
4516
+ }
4517
+ }
4518
+ /**
4519
+ * Converts normal rows to header rows.
4520
+ *
4521
+ * @param {RTETableRowBlock[]} rows - The table row blocks to convert.
4522
+ * @param {RTETableBlock} table - The table block containing the rows.
4523
+ */
4524
+ convertToHeaderRows(rows, table) {
4525
+ let tableHead = table.children.find((block) => block instanceof columnOperation.RTETableHeadBlock);
4526
+ const tableBody = rows[0].parent;
4527
+ if (!tableHead) {
4528
+ tableHead = columnOperation.RTETableHeadBlock.from({
4529
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
4530
+ type: 'table-head',
4531
+ children: [],
4532
+ });
4533
+ table.apply(new codeBlock.InsertChildrenBeforeAction(tableBody, tableHead));
4534
+ }
4535
+ const endIndex = tableBody.children.indexOf(rows[rows.length - 1]);
4536
+ const shouldConvertRows = tableBody.children.slice(0, endIndex + 1);
4537
+ for (let i = 0; i < shouldConvertRows.length; i++) {
4538
+ const rowBlock = shouldConvertRows[i];
4539
+ rowBlock.children = rowBlock.children.map((cell) => this.convertTdToTh(cell));
4540
+ tableBody.apply(new codeBlock.RemoveChildrenAction(rowBlock));
4541
+ }
4542
+ tableHead.apply(new codeBlock.AppendChildrenAction(shouldConvertRows));
4543
+ }
4544
+ /**
4545
+ * Converts header rows back to normal rows.
4546
+ *
4547
+ * @param {RTETableRowBlock[]} rows - The table row blocks to convert.
4548
+ * @param {RTETableBlock} table - The table block containing the rows.
4549
+ */
4550
+ revertToBodyRows(rows, table) {
4551
+ let tableBody = table.children.find((block) => block instanceof columnOperation.RTETableBodyBlock);
4552
+ const tableHead = rows[0].parent;
4553
+ if (!tableBody) {
4554
+ tableBody = columnOperation.RTETableBodyBlock.from({
4555
+ id: createPublicApiRuntimeMetricsSlimmer.generateUUID(),
4556
+ type: 'table-body',
4557
+ children: [],
4558
+ });
4559
+ table.apply(new codeBlock.InsertChildrenAfterAction(tableHead, tableBody));
4560
+ }
4561
+ const firstBodyRow = tableBody.children[0];
4562
+ const startIndex = tableHead.children.indexOf(rows[0]);
4563
+ const shouldConvertRows = tableHead.children.slice(startIndex);
4564
+ for (let i = 0; i < shouldConvertRows.length; i++) {
4565
+ const rowBlock = shouldConvertRows[i];
4566
+ tableHead.apply(new codeBlock.RemoveChildrenAction(rowBlock));
4567
+ rowBlock.children = this.convertThToTd(rowBlock, firstBodyRow);
4568
+ if (firstBodyRow) {
4569
+ tableBody.apply(new codeBlock.InsertChildrenBeforeAction(firstBodyRow, rowBlock));
4570
+ }
4571
+ }
4572
+ if (!firstBodyRow) {
4573
+ tableBody.apply(new codeBlock.AppendChildrenAction(shouldConvertRows));
4574
+ }
4575
+ }
4576
+ /**
4577
+ * Converts a table data cell to a table header cell.
4578
+ *
4579
+ * @param {RTETableHeadCellBlock} cell - The table cell block to convert.
4580
+ * @returns {RTETableHeadCellBlock} The converted table header cell block.
4581
+ */
4582
+ convertTdToTh(cell) {
4583
+ if (cell instanceof columnOperation.RTETableHeadCellBlock) {
4584
+ return cell;
4585
+ }
4586
+ const headCell = columnOperation.RTETableHeadCellBlock.from(cell.toJSON());
4587
+ headCell.parent = cell.parent;
4588
+ return headCell;
4589
+ }
4590
+ /**
4591
+ * Converts table header cells to table body cells.
4592
+ *
4593
+ * @param {RTETableRowBlock} row - The table row block containing the cells.
4594
+ * @param {Nullable<RTETableRowBlock>} referenceRow - The reference row for comparison.
4595
+ * @returns {RTETableCellBlock[]} The converted table body cell blocks.
4596
+ */
4597
+ convertThToTd(row, referenceRow) {
4598
+ return row.children.map((cell, index) => {
4599
+ let bodyCell = cell;
4600
+ if (!referenceRow || referenceRow.children[index].type !== cell.type) {
4601
+ const cellJSON = cell.toJSON();
4602
+ bodyCell = columnOperation.RTETableCellBlock.from(cellJSON);
4603
+ }
4604
+ bodyCell.parent = row;
4605
+ return bodyCell;
4606
+ });
4607
+ }
4608
+ }
4609
+
4610
+ /**
4611
+ * Strategy to handle the insertion of a table column into the RTETable.
4612
+ */
4613
+ class InsertTableColumnStrategy extends columnOperation.TableColumnStrategy {
4614
+ /**
4615
+ * @inheritDoc
4616
+ */
4617
+ handleAction(action, target) {
4618
+ const insertDirection = action.insertDirection;
4619
+ const [startCellIndex, endCellIndex] = this.getBoundaryCellIndexOfRow(action.tableCellInsertRange);
4620
+ const allTableRows = columnOperation.getAllTableRows(target);
4621
+ allTableRows.forEach((row) => {
4622
+ if (insertDirection === columnOperation.InsertTableColumnDirection.LEFT) {
4623
+ const newCell = this.generateTableCell(row.children[startCellIndex]);
4624
+ row.apply(new codeBlock.InsertChildrenBeforeAction(row.children[startCellIndex], newCell));
4625
+ }
4626
+ else {
4627
+ const newCell = this.generateTableCell(row.children[endCellIndex + 1] || row.children[endCellIndex]);
4628
+ row.apply(new codeBlock.InsertChildrenAfterAction(row.children[endCellIndex], newCell));
4629
+ }
4630
+ });
4631
+ }
4632
+ /**
4633
+ * Generate a new table cell based on the original cell type.
4634
+ *
4635
+ * @param {RTETableCellBlock | RTETableHeadCellBlock} originalCell The original table cell block to base the new cell on.
4636
+ * @returns {RTETableCellBlock | RTETableHeadCellBlock} The newly generated table cell block.
4637
+ */
4638
+ generateTableCell(originalCell) {
4639
+ if (originalCell instanceof columnOperation.RTETableHeadCellBlock) {
4640
+ return columnOperation.RTETableHeadCellBlock.from(columnOperation.getDefaultCellBlockTemplate(originalCell.type));
4641
+ }
4642
+ return columnOperation.RTETableCellBlock.from(columnOperation.getDefaultCellBlockTemplate(originalCell.type));
4643
+ }
4644
+ }
4645
+
4646
+ /**
4647
+ * Strategy to handle the deletion of table column from the parent.
4648
+ */
4649
+ class DeleteTableColumnStrategy extends columnOperation.TableColumnStrategy {
4650
+ /**
4651
+ * Deletes the specified table column and updates the cursor position.
4652
+ *
4653
+ * @param {DeleteTableColumnAction} action - The action containing the table column to delete.
4654
+ * @param {RTETableBlock} target - The target table block from which the column will be deleted.
4655
+ */
4656
+ handleAction(action, target) {
4657
+ const [startCellIndex, endCellIndex] = this.getBoundaryCellIndexOfRow(action.tableCellDeleteRange);
4658
+ const allTableRows = columnOperation.getAllTableRows(target);
4659
+ // Find the next focusable cell before deletion
4660
+ const nextFocusableCell = this.findNextFocusableCell(action.tableCellDeleteRange, [startCellIndex, endCellIndex]);
4661
+ allTableRows.forEach((row) => {
4662
+ this.deleteCellsInRow(row, startCellIndex, endCellIndex);
4663
+ });
4664
+ const root = this.getRootContent(target);
4665
+ const nextFocusNode = columnOperation.getFirstNode(nextFocusableCell);
4666
+ if (root && nextFocusNode) {
4667
+ root.apply(new dtoRendererManager.UpdateCursorPositionAction(nextFocusNode));
4668
+ }
4669
+ }
4670
+ /**
4671
+ * Find the next focusable cell either after the deleted range or before it.
4672
+ *
4673
+ * @param {RTETableCellBlock[]} tableCellBlockDeleteRange - The range of table cell blocks to be deleted.
4674
+ * @param {number[]} indexRange - The start and end indices of the cells to be deleted.
4675
+ * @returns {Nullable<RTETableCellBlock | RTETableHeadCellBlock>} The next focusable cell.
4676
+ */
4677
+ findNextFocusableCell(tableCellBlockDeleteRange, indexRange) {
4678
+ const cellAfterEndOfRange = tableCellBlockDeleteRange[tableCellBlockDeleteRange.length - 1].parent.children[indexRange[indexRange.length - 1] + 1];
4679
+ const cellBeforeStartOfRange = tableCellBlockDeleteRange[0].parent.children[indexRange[0] - 1];
4680
+ return cellAfterEndOfRange !== null && cellAfterEndOfRange !== void 0 ? cellAfterEndOfRange : cellBeforeStartOfRange;
4681
+ }
4682
+ /**
4683
+ * Deletes cells in a given row from start index to end index.
4684
+ *
4685
+ * @param {RTETableRowBlock} row - The table row block.
4686
+ * @param {number} startCellIndex - The start index of the cell to delete.
4687
+ * @param {number} endCellIndex - The end index of the cell to delete.
4688
+ */
4689
+ deleteCellsInRow(row, startCellIndex, endCellIndex) {
4690
+ const needDeleteCells = [];
4691
+ for (let index = startCellIndex; index <= endCellIndex; index++) {
4692
+ needDeleteCells.push(row.children[index]);
4693
+ }
4694
+ needDeleteCells.forEach((cell) => {
4695
+ row.apply(new codeBlock.RemoveChildrenAction(cell));
4696
+ });
4697
+ }
4698
+ }
4699
+
4700
+ /**
4701
+ * Strategy to handle the selection of a table column.
4702
+ */
4703
+ class SelectTableColumnStrategy extends columnOperation.TableColumnStrategy {
4704
+ /**
4705
+ * @inheritDoc
4706
+ */
4707
+ handleAction(action, target) {
4708
+ const [startCellIndex, endCellIndex] = this.getBoundaryCellIndexOfRow(action.tableCellSelectRange);
4709
+ const allTableRows = columnOperation.getAllTableRows(target);
4710
+ const allNeedSelectedCells = [];
4711
+ allTableRows.forEach((row) => {
4712
+ for (let cellIndex = startCellIndex; cellIndex <= endCellIndex; cellIndex++) {
4713
+ const cellToSelect = row.children[cellIndex];
4714
+ allNeedSelectedCells.push(cellToSelect);
4715
+ }
4716
+ });
4717
+ action.selectCellCallback(allNeedSelectedCells);
4718
+ }
4719
+ }
4720
+
4721
+ /**
4722
+ * Interceptor to prevent insertion of non-cell blocks into a table row.
4723
+ */
4724
+ class PreventRowInsertInterceptor extends ActionHandlerInterceptor {
4725
+ /**
4726
+ * Prevent insertion if any of the children to be inserted is not a table cell block.
4727
+ *
4728
+ * @param {InsertChildrenBeforeAction} action - the action to be intercepted
4729
+ * @returns {boolean} - true if the insertion should be intercepted, false otherwise
4730
+ */
4731
+ canIntercept(action) {
4732
+ return action.childrenToBeInserted.some((item) => !(item instanceof columnOperation.RTETableCellBlock));
4733
+ }
4734
+ /**
4735
+ * @inheritDoc
4736
+ */
4737
+ intercept() {
4738
+ }
4739
+ }
4740
+
4741
+ /**
4742
+ * Function extension class for Vega Rich Text Editor.
4743
+ */
4744
+ class VegaRTETableExtension extends VegaRTEExtension {
4745
+ constructor() {
4746
+ super();
4747
+ this.toolbarButtonRenderer = new RTETableToolbarButtonRenderer();
4748
+ this.tableBlockRenderer = new RTETableBlockRenderer();
4749
+ this.tableRowBlockRenderer = new RTETableRowBlockRenderer();
4750
+ this.tableCellRenderer = new RTETableCellRenderer();
4751
+ this.tableHeadCellRenderer = new RTETableHeadCellRenderer();
4752
+ this.tableSelection = new RTETableSelection();
4753
+ this.registerToolbarButtonRenderer('table', this.toolbarButtonRenderer);
4754
+ this.registerBlockBasicStrategies(columnOperation.RTETableBlock.name);
4755
+ this.registerBlockBasicStrategies(columnOperation.RTETableHeadBlock.name);
4756
+ this.registerBlockBasicStrategies(columnOperation.RTETableHeadCellBlock.name);
4757
+ this.registerBlockBasicStrategies(columnOperation.RTETableRowBlock.name);
4758
+ this.registerBlockBasicStrategies(columnOperation.RTETableCellBlock.name);
4759
+ this.registerBlockBasicStrategies(columnOperation.RTETableBodyBlock.name);
4760
+ this.registerRenderer('table-block', this.tableBlockRenderer);
4761
+ this.registerRenderer('table-head', new RTETableHeadRenderer());
4762
+ this.registerRenderer('table-head-cell', this.tableHeadCellRenderer);
4763
+ this.registerRenderer('table-row', this.tableRowBlockRenderer);
4764
+ this.registerRenderer('table-cell', this.tableCellRenderer);
4765
+ this.registerRenderer('table-body', new RTETableBodyRenderer());
4766
+ this.registerRenderer('table-caption', new RTETableCaptionRenderer());
4767
+ this.registerNode('table-block', columnOperation.RTETableBlock);
4768
+ this.registerNode('table-head', columnOperation.RTETableHeadBlock);
4769
+ this.registerNode('table-head-cell', columnOperation.RTETableHeadCellBlock);
4770
+ this.registerNode('table-row', columnOperation.RTETableRowBlock);
4771
+ this.registerNode('table-cell', columnOperation.RTETableCellBlock);
4772
+ this.registerNode('table-body', columnOperation.RTETableBodyBlock);
4773
+ this.registerNode('table-caption', RTETableCaptionBlock);
4774
+ }
4775
+ /**
4776
+ * Initializes the extension with the given context
4777
+ *
4778
+ * @param {RTEExtensionContext} context - extension context
4779
+ */
4780
+ initialExtension(context) {
4781
+ super.initialExtension(context);
4782
+ this.tableSelection.init(context);
4783
+ const tableExtensionContext = Object.assign(Object.assign({}, context), { tableSelection: this.tableSelection });
4784
+ this.toolbarButtonRenderer.injectExtensionContext(tableExtensionContext);
4785
+ this.tableBlockRenderer.injectExtensionContext(tableExtensionContext);
4786
+ this.tableCellRenderer.injectExtensionContext(tableExtensionContext);
4787
+ this.tableHeadCellRenderer.injectExtensionContext(tableExtensionContext);
4788
+ }
4789
+ /**
4790
+ * @inheritDoc
4791
+ */
4792
+ destroyExtension() {
4793
+ this.tableSelection.destroy();
4794
+ }
4795
+ }
4796
+ (() => {
4797
+ const insertTableBlockStrategy = new InsertTableBlockStrategy();
4798
+ const deleteTableBlockStrategy = new DeleteTableBlockStrategy();
4799
+ VegaRTEExtension.registerActionHandleStrategy(dtoRendererManager.VegaRTEContent.name, INSERT_TABLE_BLOCK, insertTableBlockStrategy);
4800
+ VegaRTEExtension.registerActionHandleStrategy(dtoRendererManager.VegaRTEContent.name, DELETE_TABLE_BLOCK, deleteTableBlockStrategy);
4801
+ VegaRTEExtension.registerActionHandleStrategy(columnOperation.RTETableCellBlock.name, DELETE_TABLE_BLOCK, deleteTableBlockStrategy);
4802
+ VegaRTEExtension.registerActionHandleStrategy(columnOperation.RTETableHeadCellBlock.name, DELETE_TABLE_BLOCK, deleteTableBlockStrategy);
4803
+ VegaRTEExtension.registerActionHandleStrategy(codeBlock.RTETextBlock.name, INSERT_TABLE_BLOCK, insertTableBlockStrategy);
4804
+ VegaRTEExtension.registerActionHandleStrategy(dtoRendererManager.RTEImageBlock.name, INSERT_TABLE_BLOCK, insertTableBlockStrategy);
4805
+ VegaRTEExtension.registerActionHandleStrategy(columnOperation.RTETableBlock.name, columnOperation.INSERT_TABLE_ROW, new InsertTableRowStrategy());
4806
+ VegaRTEExtension.registerActionHandleStrategy(columnOperation.RTETableBlock.name, columnOperation.DELETE_TABLE_ROW, new DeleteTableRowStrategy());
4807
+ VegaRTEExtension.registerActionHandleStrategy(columnOperation.RTETableBlock.name, columnOperation.TOGGLE_HEADER_ROW, new ToggleHeaderRowStrategy());
4808
+ VegaRTEExtension.registerActionHandleStrategy(columnOperation.RTETableBlock.name, columnOperation.INSERT_TABLE_COLUMN, new InsertTableColumnStrategy());
4809
+ VegaRTEExtension.registerActionHandleStrategy(columnOperation.RTETableBlock.name, columnOperation.DELETE_TABLE_COLUMN, new DeleteTableColumnStrategy());
4810
+ VegaRTEExtension.registerActionHandleStrategy(columnOperation.RTETableBlock.name, columnOperation.TOGGLE_HEADER_TABLE_COLUMN, new columnOperation.ToggleHeaderTableColumnStrategy());
4811
+ VegaRTEExtension.registerActionHandleStrategy(columnOperation.RTETableBlock.name, columnOperation.SELECT_TABLE_COLUMN, new SelectTableColumnStrategy());
4812
+ VegaRTEExtension.registerActionHandlerInterceptor(codeBlock.RTETextBlock.name, codeBlock.ModifyContentActionType.DELETE_BLOCK_CONTENT, new PreventCellContentDeleteInterceptor());
4813
+ VegaRTEExtension.registerActionHandlerInterceptor(columnOperation.RTETableRowBlock.name, codeBlock.ModifyContentActionType.INSERT_CHILDREN_BEFORE, new PreventRowInsertInterceptor());
4814
+ VegaRTEExtension.registerActionHandlerInterceptor(columnOperation.RTETableCellBlock.name, codeBlock.ModifyContentActionType.DELETE_CHILDREN, new PreventCellChildrenRemoveInterceptor());
4815
+ VegaRTEExtension.registerActionHandlerInterceptor(columnOperation.RTETableHeadCellBlock.name, codeBlock.ModifyContentActionType.DELETE_CHILDREN, new PreventCellChildrenRemoveInterceptor());
4816
+ })();
4817
+
4818
+ exports.ActionHandlerInterceptor = ActionHandlerInterceptor;
4819
+ exports.InsertNodeToNearestRootAction = InsertNodeToNearestRootAction;
4820
+ exports.InternalVegaZIndexManager = InternalVegaZIndexManager$1;
4821
+ exports.RTETokenNode = RTETokenNode;
4822
+ exports.RTETokenNodeRenderer = RTETokenNodeRenderer;
4823
+ exports.RTETokenToolbarButtonRenderer = RTETokenToolbarButtonRenderer;
4824
+ exports.VegaDialog = VegaDialog;
4825
+ exports.VegaEventManager = VegaEventManager$1;
4826
+ exports.VegaLoader = VegaLoader;
4827
+ exports.VegaNotify = VegaNotify;
4828
+ exports.VegaRTEExtension = VegaRTEExtension;
4829
+ exports.VegaRTEExtensionRenderer = VegaRTEExtensionRenderer;
4830
+ exports.VegaRTEFunctionExtension = VegaRTEFunctionExtension;
4831
+ exports.VegaRTETableExtension = VegaRTETableExtension;
4832
+ exports.VegaRTETokenExtension = VegaRTETokenExtension;
4833
+ exports.VegaRTEToolbarButtonRenderer = VegaRTEToolbarButtonRenderer;
4834
+ exports.VegaSkeletonLoader = VegaSkeletonLoader;
4835
+ exports.VegaThemeManager = VegaThemeManager;
4836
+ exports.VegaZIndexManager = VegaZIndexManager$1;