@globalpayments/vega 2.97.0 → 2.98.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) hide show
  1. package/dist/cjs/{app-globals-3f57f7b9.js → app-globals-b3f05631.js} +7 -7
  2. package/dist/cjs/{aria-dialog-focusable-trap-slimmer-73b4c0cb.js → aria-dialog-focusable-trap-slimmer-62147489.js} +1 -1
  3. package/dist/cjs/{code-block-28a7732e.js → code-block-d78c2b2c.js} +15 -8
  4. package/dist/cjs/{component-value-history-controller-slimmer.abstract-50cdba6e.js → component-value-history-controller-slimmer.abstract-beb00fea.js} +3 -3
  5. package/dist/cjs/constants-907d7d89.js +16 -0
  6. package/dist/cjs/{content-state-e2ab0f06.js → content-state-78a620a9.js} +2 -2
  7. package/dist/cjs/{element-appender-slimmer-ccb2e3c2.js → element-appender-slimmer-597e9e48.js} +1 -1
  8. package/dist/cjs/{form-field-controller-slimmer-58621b5e.js → form-field-controller-slimmer-a743be34.js} +2 -2
  9. package/dist/cjs/{image-annotation-action-b54dc669.js → image-annotation-action-85c4bd83.js} +2 -2
  10. package/dist/cjs/{image-extension-1e3eeaa3.js → image-extension-260fa69c.js} +2 -2
  11. package/dist/cjs/index.cjs.js +9 -9
  12. package/dist/cjs/{link-extension-71c27ff3.js → link-extension-220ff6a9.js} +2 -2
  13. package/dist/cjs/loader.cjs.js +9 -9
  14. package/dist/cjs/{public-rules-55e34d2e.js → public-rules-5657bce4.js} +4 -4
  15. package/dist/cjs/{range-eebe0e3c.js → range-c5afd53a.js} +1 -1
  16. package/dist/cjs/{rich-text-editor-required-rule-4fdee376.js → rich-text-editor-required-rule-385c1b61.js} +1 -1
  17. package/dist/cjs/{split-cell-operation-51097409.js → split-cell-operation-873d5db7.js} +2 -2
  18. package/dist/cjs/{string-input-formatter-slimmer-18d45942.js → string-input-formatter-slimmer-ef65cca7.js} +2 -2
  19. package/dist/cjs/{sub-state-notify-slimmer-18891389.js → sub-state-notify-slimmer-e264a120.js} +1 -1
  20. package/dist/cjs/{sub-state-observer-slimmer-eee2f0ae.js → sub-state-observer-slimmer-6033b824.js} +1 -1
  21. package/dist/cjs/{token-extension-608bbf7b.js → token-extension-78b5a026.js} +6 -6
  22. package/dist/cjs/vega-button-circle.cjs.entry.js +1 -1
  23. package/dist/cjs/vega-button-group_2.cjs.entry.js +3 -3
  24. package/dist/cjs/vega-button.cjs.entry.js +1 -1
  25. package/dist/cjs/vega-calendar_5.cjs.entry.js +3 -3
  26. package/dist/cjs/vega-checkbox_2.cjs.entry.js +3 -3
  27. package/dist/cjs/vega-code-block.cjs.entry.js +8 -21
  28. package/dist/cjs/vega-color-picker.cjs.entry.js +3 -3
  29. package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +3 -3
  30. package/dist/cjs/vega-combo-box.cjs.entry.js +3 -3
  31. package/dist/cjs/vega-date-picker_2.cjs.entry.js +7 -7
  32. package/dist/cjs/vega-dialog_2.cjs.entry.js +2 -2
  33. package/dist/cjs/vega-dropdown_5.cjs.entry.js +24 -18
  34. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  35. package/dist/cjs/vega-file-uploader.cjs.entry.js +38 -5
  36. package/dist/cjs/vega-form.cjs.entry.js +3 -3
  37. package/dist/cjs/vega-image-uploader.cjs.entry.js +3 -3
  38. package/dist/cjs/vega-input-credit-card.cjs.entry.js +3 -3
  39. package/dist/cjs/vega-input-numeric.cjs.entry.js +4 -4
  40. package/dist/cjs/vega-input-passcode.cjs.entry.js +3 -3
  41. package/dist/cjs/vega-input-phone-number.cjs.entry.js +3 -3
  42. package/dist/cjs/vega-input-range.cjs.entry.js +3 -3
  43. package/dist/cjs/vega-input-select.cjs.entry.js +3 -3
  44. package/dist/cjs/vega-input.cjs.entry.js +12 -7
  45. package/dist/cjs/{vega-internal-event-id-ecc5b87a.js → vega-internal-event-id-f4d33037.js} +2 -0
  46. package/dist/cjs/vega-left-nav_5.cjs.entry.js +3 -3
  47. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +1 -1
  48. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +1 -1
  49. package/dist/cjs/vega-pagination.cjs.entry.js +1 -1
  50. package/dist/cjs/vega-popover_2.cjs.entry.js +3 -3
  51. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +3 -3
  52. package/dist/cjs/vega-radio_2.cjs.entry.js +3 -3
  53. package/dist/cjs/vega-rich-text-content.cjs.entry.js +7 -7
  54. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +13 -13
  55. package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +4 -4
  56. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +4 -4
  57. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +4 -4
  58. package/dist/cjs/vega-sidenav_3.cjs.entry.js +3 -3
  59. package/dist/cjs/vega-signature-capture.cjs.entry.js +3 -3
  60. package/dist/cjs/vega-stepper.cjs.entry.js +3 -3
  61. package/dist/cjs/vega-table_11.cjs.entry.js +1140 -446
  62. package/dist/cjs/vega-textarea.cjs.entry.js +3 -3
  63. package/dist/cjs/vega-time-picker_2.cjs.entry.js +4 -4
  64. package/dist/cjs/vega-toggle-switch.cjs.entry.js +3 -3
  65. package/dist/cjs/vega-tooltip_2.cjs.entry.js +2 -2
  66. package/dist/cjs/vega.cjs.js +9 -9
  67. package/dist/cjs/{wait-for-component-did-render-02ca4bee.js → wait-for-component-did-render-44d006ee.js} +1 -1
  68. package/dist/collection/components/vega-accordion/vega-accordion.js +2 -0
  69. package/dist/collection/components/vega-app-footer/vega-app-footer.js +2 -0
  70. package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +2 -0
  71. package/dist/collection/components/vega-banner/vega-banner.js +2 -0
  72. package/dist/collection/components/vega-box/vega-box.js +2 -0
  73. package/dist/collection/components/vega-brand-logo/vega-brand-logo.js +2 -0
  74. package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +2 -0
  75. package/dist/collection/components/vega-button/vega-button.js +2 -0
  76. package/dist/collection/components/vega-button-circle/vega-button-circle.js +2 -0
  77. package/dist/collection/components/vega-button-group/vega-button-group.js +2 -0
  78. package/dist/collection/components/vega-button-link/vega-button-link.js +2 -0
  79. package/dist/collection/components/vega-calendar/vega-calendar.js +2 -0
  80. package/dist/collection/components/vega-card/vega-card.js +2 -0
  81. package/dist/collection/components/vega-carousel/vega-carousel.js +2 -0
  82. package/dist/collection/components/vega-checkbox/vega-checkbox.js +2 -0
  83. package/dist/collection/components/vega-chip/vega-chip.js +2 -0
  84. package/dist/collection/components/vega-code-block/slimmers/controllers/code-highlight-parser.abstract.js +4 -17
  85. package/dist/collection/components/vega-color-picker/vega-color-picker.js +2 -0
  86. package/dist/collection/components/vega-combo-box/vega-combo-box.js +2 -0
  87. package/dist/collection/components/vega-counter-badge/vega-counter-badge.js +2 -0
  88. package/dist/collection/components/vega-date-picker/vega-date-picker.js +2 -0
  89. package/dist/collection/components/vega-divider/vega-divider.js +2 -0
  90. package/dist/collection/components/vega-dropdown/constants.js +10 -0
  91. package/dist/collection/components/vega-dropdown/vega-dropdown.js +45 -14
  92. package/dist/collection/components/vega-field-error/vega-field-error.js +2 -0
  93. package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.js +22 -2
  94. package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +63 -6
  95. package/dist/collection/components/vega-flag-icon/vega-flag-icon.js +2 -0
  96. package/dist/collection/components/vega-flex/vega-flex.js +2 -0
  97. package/dist/collection/components/vega-font/vega-font.js +2 -0
  98. package/dist/collection/components/vega-form/vega-form.js +2 -0
  99. package/dist/collection/components/vega-grid/vega-grid.js +2 -0
  100. package/dist/collection/components/vega-icon/vega-icon.js +2 -0
  101. package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +2 -0
  102. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-suggestions-renderer.js +7 -2
  103. package/dist/collection/components/vega-input/vega-input.js +2 -0
  104. package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +2 -0
  105. package/dist/collection/components/vega-input-numeric/vega-input-numeric.js +2 -0
  106. package/dist/collection/components/vega-input-passcode/vega-input-passcode.js +2 -0
  107. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +2 -0
  108. package/dist/collection/components/vega-input-range/vega-input-range.js +2 -0
  109. package/dist/collection/components/vega-input-select/vega-input-select.js +2 -0
  110. package/dist/collection/components/vega-item-toggle/vega-item-toggle.js +2 -0
  111. package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.js +2 -0
  112. package/dist/collection/components/vega-modal/vega-modal.js +2 -0
  113. package/dist/collection/components/vega-page-notification/vega-page-notification.js +2 -0
  114. package/dist/collection/components/vega-pagination/vega-pagination.js +2 -0
  115. package/dist/collection/components/vega-popover/vega-popover.js +2 -0
  116. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +2 -0
  117. package/dist/collection/components/vega-radio/vega-radio.js +2 -0
  118. package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +3 -0
  119. package/dist/collection/components/vega-rich-text-editor/dto/nodes/code-block-node.js +2 -1
  120. package/dist/collection/components/vega-rich-text-editor/helpers/utils.js +10 -6
  121. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +2 -0
  122. package/dist/collection/components/vega-section-title/vega-section-title.js +2 -0
  123. package/dist/collection/components/vega-segment-control/vega-segment-control.js +2 -0
  124. package/dist/collection/components/vega-selection-chip/vega-selection-chip.js +2 -0
  125. package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +2 -0
  126. package/dist/collection/components/vega-sidenav/vega-sidenav.js +2 -0
  127. package/dist/collection/components/vega-signature-capture/vega-signature-capture.js +2 -0
  128. package/dist/collection/components/vega-skeleton/vega-skeleton.js +2 -0
  129. package/dist/collection/components/vega-stepper/vega-stepper.js +2 -0
  130. package/dist/collection/components/vega-tab-group/vega-tab-group.js +2 -0
  131. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-column-structure-model-controller.js +17 -7
  132. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-head-template-structure-controller.js +440 -0
  133. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-input-controller.js +11 -3
  134. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pinned-renderer.js +207 -17
  135. package/dist/collection/components/vega-table/vega-table-foot/vega-table-foot.css +1 -0
  136. package/dist/collection/components/vega-table/vega-table-foot-cell/slimmers/renderers/vega-table-foot-cell-renderer.js +4 -1
  137. package/dist/collection/components/vega-table/vega-table-foot-cell/vega-table-foot-cell.css +15 -0
  138. package/dist/collection/components/vega-table/vega-table-foot-cell/vega-table-foot-cell.js +1 -1
  139. package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-template-structure-controller.js +28 -0
  140. package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +1 -0
  141. package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +68 -4
  142. package/dist/collection/components/vega-table/vega-table.js +15 -0
  143. package/dist/collection/components/vega-textarea/vega-textarea.js +2 -0
  144. package/dist/collection/components/vega-time-picker/vega-time-picker.js +2 -0
  145. package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +2 -0
  146. package/dist/collection/components/vega-tooltip/vega-tooltip.js +2 -0
  147. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
  148. package/dist/esm/{app-globals-d3991e53.js → app-globals-95c7110a.js} +7 -7
  149. package/dist/esm/{aria-dialog-focusable-trap-slimmer-9eae86c6.js → aria-dialog-focusable-trap-slimmer-f069f54d.js} +1 -1
  150. package/dist/esm/{code-block-8df86434.js → code-block-9c513169.js} +15 -8
  151. package/dist/esm/{component-value-history-controller-slimmer.abstract-e4b95997.js → component-value-history-controller-slimmer.abstract-9cef2a2a.js} +3 -3
  152. package/dist/esm/constants-4725f97f.js +13 -0
  153. package/dist/esm/{content-state-c63fbeda.js → content-state-25c81c08.js} +2 -2
  154. package/dist/esm/{element-appender-slimmer-24be8e94.js → element-appender-slimmer-8a06ecdd.js} +1 -1
  155. package/dist/esm/{form-field-controller-slimmer-d8628837.js → form-field-controller-slimmer-68fc5380.js} +2 -2
  156. package/dist/esm/{image-annotation-action-fcceff95.js → image-annotation-action-d7f2aecc.js} +2 -2
  157. package/dist/esm/{image-extension-3280bdb0.js → image-extension-fbd1ed6e.js} +2 -2
  158. package/dist/esm/index.js +9 -9
  159. package/dist/esm/{link-extension-f92c06ef.js → link-extension-e8ee103e.js} +2 -2
  160. package/dist/esm/loader.js +9 -9
  161. package/dist/esm/{public-rules-3695aaf7.js → public-rules-49de79c7.js} +4 -4
  162. package/dist/esm/{range-717d552d.js → range-b678c693.js} +1 -1
  163. package/dist/esm/{rich-text-editor-required-rule-2e39264a.js → rich-text-editor-required-rule-578e0958.js} +1 -1
  164. package/dist/esm/{split-cell-operation-6c26af91.js → split-cell-operation-1c8e7585.js} +2 -2
  165. package/dist/esm/{string-input-formatter-slimmer-68b2af39.js → string-input-formatter-slimmer-0006a107.js} +2 -2
  166. package/dist/esm/{sub-state-notify-slimmer-0f72ce74.js → sub-state-notify-slimmer-23b7d0e8.js} +1 -1
  167. package/dist/esm/{sub-state-observer-slimmer-64532d94.js → sub-state-observer-slimmer-722f6b92.js} +1 -1
  168. package/dist/esm/{token-extension-5082a4d2.js → token-extension-f2d009e3.js} +6 -6
  169. package/dist/esm/vega-button-circle.entry.js +1 -1
  170. package/dist/esm/vega-button-group_2.entry.js +3 -3
  171. package/dist/esm/vega-button.entry.js +1 -1
  172. package/dist/esm/vega-calendar_5.entry.js +3 -3
  173. package/dist/esm/vega-checkbox_2.entry.js +3 -3
  174. package/dist/esm/vega-code-block.entry.js +8 -21
  175. package/dist/esm/vega-color-picker.entry.js +3 -3
  176. package/dist/esm/vega-color-swatch-picker.entry.js +3 -3
  177. package/dist/esm/vega-combo-box.entry.js +3 -3
  178. package/dist/esm/vega-date-picker_2.entry.js +7 -7
  179. package/dist/esm/vega-dialog_2.entry.js +2 -2
  180. package/dist/esm/vega-dropdown_5.entry.js +20 -14
  181. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  182. package/dist/esm/vega-file-uploader.entry.js +38 -5
  183. package/dist/esm/vega-form.entry.js +3 -3
  184. package/dist/esm/vega-image-uploader.entry.js +3 -3
  185. package/dist/esm/vega-input-credit-card.entry.js +3 -3
  186. package/dist/esm/vega-input-numeric.entry.js +4 -4
  187. package/dist/esm/vega-input-passcode.entry.js +3 -3
  188. package/dist/esm/vega-input-phone-number.entry.js +3 -3
  189. package/dist/esm/vega-input-range.entry.js +3 -3
  190. package/dist/esm/vega-input-select.entry.js +3 -3
  191. package/dist/esm/vega-input.entry.js +12 -7
  192. package/dist/esm/{vega-internal-event-id-827eb1ce.js → vega-internal-event-id-86fce049.js} +2 -1
  193. package/dist/esm/vega-left-nav_5.entry.js +3 -3
  194. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +1 -1
  195. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +1 -1
  196. package/dist/esm/vega-pagination.entry.js +1 -1
  197. package/dist/esm/vega-popover_2.entry.js +3 -3
  198. package/dist/esm/vega-progress-tracker_2.entry.js +3 -3
  199. package/dist/esm/vega-radio_2.entry.js +3 -3
  200. package/dist/esm/vega-rich-text-content.entry.js +7 -7
  201. package/dist/esm/vega-rich-text-editor_4.entry.js +13 -13
  202. package/dist/esm/vega-rich-text-table-properties_3.entry.js +4 -4
  203. package/dist/esm/vega-selection-chip_2.entry.js +4 -4
  204. package/dist/esm/vega-selection-tile_2.entry.js +4 -4
  205. package/dist/esm/vega-sidenav_3.entry.js +3 -3
  206. package/dist/esm/vega-signature-capture.entry.js +3 -3
  207. package/dist/esm/vega-stepper.entry.js +3 -3
  208. package/dist/esm/vega-table_11.entry.js +1141 -447
  209. package/dist/esm/vega-textarea.entry.js +3 -3
  210. package/dist/esm/vega-time-picker_2.entry.js +4 -4
  211. package/dist/esm/vega-toggle-switch.entry.js +3 -3
  212. package/dist/esm/vega-tooltip_2.entry.js +2 -2
  213. package/dist/esm/vega.js +9 -9
  214. package/dist/esm/{wait-for-component-did-render-0c237cb8.js → wait-for-component-did-render-ff7062aa.js} +1 -1
  215. package/dist/sri/vega-sri-manifest.json +228 -224
  216. package/dist/types/components/vega-accordion/vega-accordion.d.ts +2 -0
  217. package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +2 -0
  218. package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +2 -0
  219. package/dist/types/components/vega-banner/vega-banner.d.ts +2 -0
  220. package/dist/types/components/vega-box/vega-box.d.ts +2 -0
  221. package/dist/types/components/vega-brand-logo/vega-brand-logo.d.ts +2 -0
  222. package/dist/types/components/vega-breadcrumb/vega-breadcrumb.d.ts +2 -0
  223. package/dist/types/components/vega-button/vega-button.d.ts +2 -0
  224. package/dist/types/components/vega-button-circle/vega-button-circle.d.ts +2 -0
  225. package/dist/types/components/vega-button-group/vega-button-group.d.ts +2 -0
  226. package/dist/types/components/vega-button-link/vega-button-link.d.ts +2 -0
  227. package/dist/types/components/vega-calendar/vega-calendar.d.ts +2 -0
  228. package/dist/types/components/vega-card/vega-card.d.ts +2 -0
  229. package/dist/types/components/vega-carousel/vega-carousel.d.ts +2 -0
  230. package/dist/types/components/vega-checkbox/vega-checkbox.d.ts +2 -0
  231. package/dist/types/components/vega-chip/vega-chip.d.ts +2 -0
  232. package/dist/types/components/vega-code-block/slimmers/controllers/code-highlight-parser.abstract.d.ts +2 -1
  233. package/dist/types/components/vega-color-picker/vega-color-picker.d.ts +2 -0
  234. package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +2 -0
  235. package/dist/types/components/vega-counter-badge/vega-counter-badge.d.ts +2 -0
  236. package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +2 -0
  237. package/dist/types/components/vega-divider/vega-divider.d.ts +2 -0
  238. package/dist/types/components/vega-dropdown/constants.d.ts +12 -0
  239. package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +9 -0
  240. package/dist/types/components/vega-field-error/vega-field-error.d.ts +2 -0
  241. package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.d.ts +10 -0
  242. package/dist/types/components/vega-file-uploader/types.d.ts +4 -0
  243. package/dist/types/components/vega-file-uploader/vega-file-uploader.d.ts +15 -0
  244. package/dist/types/components/vega-flag-icon/vega-flag-icon.d.ts +2 -0
  245. package/dist/types/components/vega-flex/vega-flex.d.ts +2 -0
  246. package/dist/types/components/vega-font/vega-font.d.ts +2 -0
  247. package/dist/types/components/vega-form/vega-form.d.ts +2 -0
  248. package/dist/types/components/vega-grid/vega-grid.d.ts +2 -0
  249. package/dist/types/components/vega-icon/vega-icon.d.ts +2 -0
  250. package/dist/types/components/vega-image-uploader/vega-image-uploader.d.ts +2 -0
  251. package/dist/types/components/vega-input/types.d.ts +11 -1
  252. package/dist/types/components/vega-input/vega-input.d.ts +2 -0
  253. package/dist/types/components/vega-input-credit-card/vega-input-credit-card.d.ts +2 -0
  254. package/dist/types/components/vega-input-numeric/vega-input-numeric.d.ts +2 -0
  255. package/dist/types/components/vega-input-passcode/vega-input-passcode.d.ts +2 -0
  256. package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +2 -0
  257. package/dist/types/components/vega-input-range/vega-input-range.d.ts +2 -0
  258. package/dist/types/components/vega-input-select/vega-input-select.d.ts +2 -0
  259. package/dist/types/components/vega-item-toggle/vega-item-toggle.d.ts +2 -0
  260. package/dist/types/components/vega-loading-indicator/vega-loading-indicator.d.ts +2 -0
  261. package/dist/types/components/vega-modal/vega-modal.d.ts +2 -0
  262. package/dist/types/components/vega-page-notification/vega-page-notification.d.ts +2 -0
  263. package/dist/types/components/vega-pagination/vega-pagination.d.ts +2 -0
  264. package/dist/types/components/vega-popover/vega-popover.d.ts +2 -0
  265. package/dist/types/components/vega-progress-tracker/vega-progress-tracker.d.ts +2 -0
  266. package/dist/types/components/vega-radio/vega-radio.d.ts +2 -0
  267. package/dist/types/components/vega-rich-text-editor/helpers/utils.d.ts +7 -0
  268. package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +2 -0
  269. package/dist/types/components/vega-section-title/vega-section-title.d.ts +2 -0
  270. package/dist/types/components/vega-segment-control/vega-segment-control.d.ts +2 -0
  271. package/dist/types/components/vega-selection-chip/vega-selection-chip.d.ts +2 -0
  272. package/dist/types/components/vega-selection-tile/vega-selection-tile.d.ts +2 -0
  273. package/dist/types/components/vega-sidenav/vega-sidenav.d.ts +2 -0
  274. package/dist/types/components/vega-signature-capture/vega-signature-capture.d.ts +2 -0
  275. package/dist/types/components/vega-skeleton/vega-skeleton.d.ts +2 -0
  276. package/dist/types/components/vega-stepper/vega-stepper.d.ts +2 -0
  277. package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +2 -0
  278. package/dist/types/components/vega-table/slimmers/controllers/vega-table-column-structure-model-controller.d.ts +8 -4
  279. package/dist/types/components/vega-table/slimmers/controllers/vega-table-head-template-structure-controller.d.ts +168 -0
  280. package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-input-controller.d.ts +8 -1
  281. package/dist/types/components/vega-table/slimmers/renderers/vega-table-pinned-renderer.d.ts +76 -0
  282. package/dist/types/components/vega-table/vega-table-foot-cell/slimmers/renderers/vega-table-foot-cell-renderer.d.ts +1 -0
  283. package/dist/types/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-template-structure-controller.d.ts +12 -0
  284. package/dist/types/components/vega-table/vega-table-head-cell/vega-table-head-cell.d.ts +19 -0
  285. package/dist/types/components/vega-table/vega-table.d.ts +6 -0
  286. package/dist/types/components/vega-textarea/vega-textarea.d.ts +2 -0
  287. package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +2 -0
  288. package/dist/types/components/vega-toggle-switch/vega-toggle-switch.d.ts +2 -0
  289. package/dist/types/components/vega-tooltip/vega-tooltip.d.ts +2 -0
  290. package/dist/types/components.d.ts +54 -0
  291. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
  292. package/dist/vega/index.esm.js +1 -1
  293. package/dist/vega/{p-2eb8e167.entry.js → p-02d3ce79.entry.js} +1 -1
  294. package/dist/vega/{p-3488a3f1.entry.js → p-035e2f05.entry.js} +1 -1
  295. package/dist/vega/p-03eeadc1.entry.js +1 -0
  296. package/dist/vega/{p-d2cbcf5e.entry.js → p-085d1647.entry.js} +1 -1
  297. package/dist/vega/{p-36c89520.entry.js → p-0cbf09f7.entry.js} +1 -1
  298. package/dist/vega/{p-1d5e05d9.js → p-0eb29065.js} +1 -1
  299. package/dist/vega/{p-2ff4ae1c.js → p-10d30c03.js} +1 -1
  300. package/dist/vega/{p-4c3a08be.entry.js → p-17c69503.entry.js} +1 -1
  301. package/dist/vega/{p-9be02fa5.js → p-1abd3c17.js} +1 -1
  302. package/dist/vega/{p-98fc5821.entry.js → p-1aedbfd2.entry.js} +1 -1
  303. package/dist/vega/{p-c3646101.entry.js → p-1cff027b.entry.js} +1 -1
  304. package/dist/vega/{p-deaf037a.entry.js → p-2a245138.entry.js} +1 -1
  305. package/dist/vega/{p-a034dfc0.entry.js → p-2f07d719.entry.js} +1 -1
  306. package/dist/vega/{p-0499e65a.entry.js → p-36d9e782.entry.js} +1 -1
  307. package/dist/vega/{p-e9d09211.js → p-373541fa.js} +1 -1
  308. package/dist/vega/{p-703ac992.entry.js → p-3737b9e2.entry.js} +1 -1
  309. package/dist/vega/{p-e9b005df.js → p-3d0b4074.js} +1 -1
  310. package/dist/vega/p-4a2fe3a4.js +1 -0
  311. package/dist/vega/{p-040ea356.entry.js → p-4bfe3258.entry.js} +1 -1
  312. package/dist/vega/{p-21f608e8.entry.js → p-4cbfc01e.entry.js} +1 -1
  313. package/dist/vega/{p-21626b93.entry.js → p-4e065ef7.entry.js} +1 -1
  314. package/dist/vega/{p-c29934ef.js → p-4fd0cf01.js} +1 -1
  315. package/dist/vega/{p-3af5e87b.entry.js → p-52c69f9e.entry.js} +1 -1
  316. package/dist/vega/{p-e7e963ba.entry.js → p-544ce391.entry.js} +1 -1
  317. package/dist/vega/{p-8e7932bc.js → p-56493601.js} +1 -1
  318. package/dist/vega/{p-8611465f.entry.js → p-56598858.entry.js} +1 -1
  319. package/dist/vega/{p-e1029acc.js → p-56db3323.js} +1 -1
  320. package/dist/vega/p-571ec00b.js +1 -0
  321. package/dist/vega/{p-abbceebf.entry.js → p-585e4f1c.entry.js} +1 -1
  322. package/dist/vega/p-5b1f5e4a.entry.js +1 -0
  323. package/dist/vega/p-5f377954.js +1 -1
  324. package/dist/vega/{p-10d43a80.entry.js → p-6234852e.entry.js} +1 -1
  325. package/dist/vega/p-67eaf77e.js +1 -0
  326. package/dist/vega/{p-2540fd1c.entry.js → p-6d4518d7.entry.js} +1 -1
  327. package/dist/vega/p-6db1b9ac.js +1 -0
  328. package/dist/vega/{p-363ee8a5.entry.js → p-6f537797.entry.js} +1 -1
  329. package/dist/vega/{p-0809c651.js → p-6fd4f2c6.js} +1 -1
  330. package/dist/vega/p-72fd17a1.entry.js +1 -0
  331. package/dist/vega/{p-b594a11c.entry.js → p-7dcd2850.entry.js} +1 -1
  332. package/dist/vega/{p-5e37b041.js → p-7e8fdac4.js} +1 -1
  333. package/dist/vega/{p-d25c1a48.js → p-810c9c29.js} +1 -1
  334. package/dist/vega/{p-a2bd621e.js → p-83ad8988.js} +1 -1
  335. package/dist/vega/{p-26760c66.entry.js → p-8c56d74d.entry.js} +1 -1
  336. package/dist/vega/{p-09524fec.js → p-8d2501b2.js} +1 -1
  337. package/dist/vega/{p-1132a74e.entry.js → p-94975537.entry.js} +1 -1
  338. package/dist/vega/{p-9c4c474e.entry.js → p-95c18f79.entry.js} +1 -1
  339. package/dist/vega/p-9834d5d4.entry.js +1 -0
  340. package/dist/vega/{p-dad7d2ac.js → p-a090b2be.js} +1 -1
  341. package/dist/vega/{p-f1078e63.js → p-a81ad3bd.js} +1 -1
  342. package/dist/vega/{p-29e3eb12.js → p-c41a2d4a.js} +1 -1
  343. package/dist/vega/{p-8ed3b2b6.entry.js → p-c5fb8a69.entry.js} +1 -1
  344. package/dist/vega/{p-d3413a78.entry.js → p-c6d775b8.entry.js} +1 -1
  345. package/dist/vega/{p-046203cb.entry.js → p-c70748f7.entry.js} +1 -1
  346. package/dist/vega/{p-53fd3c41.entry.js → p-c98c2f5f.entry.js} +1 -1
  347. package/dist/vega/{p-aeb50cad.entry.js → p-ca3c1317.entry.js} +1 -1
  348. package/dist/vega/{p-f5095035.entry.js → p-cb81126a.entry.js} +1 -1
  349. package/dist/vega/{p-775ecfad.entry.js → p-cf4b3d40.entry.js} +1 -1
  350. package/dist/vega/{p-3980dfa8.entry.js → p-cfe268a8.entry.js} +1 -1
  351. package/dist/vega/{p-e3fdb65c.entry.js → p-d470fce2.entry.js} +1 -1
  352. package/dist/vega/{p-8ff92914.entry.js → p-da867019.entry.js} +1 -1
  353. package/dist/vega/{p-3f183b52.js → p-daba4af1.js} +1 -1
  354. package/dist/vega/{p-9664e914.entry.js → p-f62c5a20.entry.js} +1 -1
  355. package/dist/vega/{p-6b76b572.entry.js → p-f6c0e9e7.entry.js} +1 -1
  356. package/dist/vega/{p-56d19601.entry.js → p-fb9475ab.entry.js} +1 -1
  357. package/dist/vega/vega.esm.js +1 -1
  358. package/package.json +1 -1
  359. package/dist/vega/p-2bb60f89.js +0 -1
  360. package/dist/vega/p-2d7388c9.entry.js +0 -1
  361. package/dist/vega/p-3a68b729.js +0 -1
  362. package/dist/vega/p-81d4dfcb.entry.js +0 -1
  363. package/dist/vega/p-88a6c89a.js +0 -1
  364. package/dist/vega/p-ca270da3.entry.js +0 -1
  365. package/dist/vega/p-f95d8d10.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as e,h as o,H as i,g as r}from"./p-6b2342e0.js";import{s as a}from"./p-519a7d55.js";import{c as s,M as n,V as l,I as d}from"./p-6e1ab235.js";import{V as p,I as b}from"./p-8ce9e214.js";import{c as u}from"./p-3f183b52.js";import{c}from"./p-66647244.js";import{a as h,V as v}from"./p-5447a8e8.js";import{C as g}from"./p-2c737fc8.js";import{D as m,d as f}from"./p-526e3634.js";import{F as y}from"./p-3a68b729.js";import{M as x}from"./p-78a57a17.js";import{a as w}from"./p-52b8f2d2.js";import{S as j}from"./p-29e3eb12.js";import{C as S}from"./p-2d0d575f.js";import{f as I}from"./p-528748fa.js";import"./p-6a334573.js";import"./p-331a62d5.js";import"./p-8c30a60d.js";import"./p-b75ee3ba.js";import"./p-5f377954.js";import"./p-87a4d75f.js";import"./p-982747ef.js";import"./p-d27ae9ff.js";import"./p-262ec334.js";var R=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};class k extends l{registerGroupClickObserver(){m.addUniqueObserverToNode(this.host,y,(t=>{this.clickEventEmitter.emit(t.detail)}))}unregisterGroupClickObserver(){m.removeUniqueObserverFromNode(this.host,y)}}R([s()],k.prototype,"host",void 0),R([s()],k.prototype,"clickEventEmitter",void 0),R([n("connectedCallback")],k.prototype,"registerGroupClickObserver",null),R([n("disconnectedCallback")],k.prototype,"unregisterGroupClickObserver",null);var O=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};class A extends l{constructor(){super(...arguments),this.mutationObserver=new x({target:()=>this.host,options:{childList:!0,subtree:!0,attributes:!0,attributeFilter:["disabled"]},mutationFilter:w("VEGA-BUTTON-GROUP-ITEM"),callback:()=>this.updateAllItemsDisabledState()})}disconnectedCallback(){}componentWillLoad(){this.updateAllItemsDisabledState()}updateAllItemsDisabledState(){const t=this.host.querySelectorAll("vega-button-group-item");this.allItemsDisabled=t.length>0&&Array.from(t).every((t=>t.disabled))}}O([s()],A.prototype,"host",void 0),O([s({writable:!0})],A.prototype,"allItemsDisabled",void 0),O([d()],A.prototype,"mutationObserver",void 0),O([n("disconnectedCallback")],A.prototype,"disconnectedCallback",null),O([n("componentWillLoad")],A.prototype,"componentWillLoad",null);const D=[{payloadKey:"VARIANT_IS_PRIMARY",payloadDescription:"Specifies the visual style and prominence of the button group. It determines how the button group will be presented to the user.",payloadValue:t=>"primary"===t.variant},{payloadKey:"VARIANT_IS_SECONDARY",payloadDescription:"Specifies the visual style and prominence of the button group. It determines how the button group will be presented to the user.",payloadValue:t=>"secondary"===t.variant},{payloadKey:"VARIANT_IS_TERTIARY",payloadDescription:"Specifies the visual style and prominence of the button group. It determines how the button group will be presented to the user.",payloadValue:t=>"tertiary"===t.variant}];var N=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};const C=class{constructor(o){t(this,o),this.vegaClick=e(this,"vegaClick",7),this.click=e(this,"click",7),this.globalSlimmers={},this.clickEventEmitter=c(C,h),this.clickEventPrevent=new g([h],(()=>this.flexContainer)),this.buttonGroupClickController=new k,this.variantNotifySlimmer=u(C,"variant","watchVariant"),this.sizeNotifySlimmer=u(C,"size","watchSize"),this.iconAlignNotifySlimmer=u(C,"iconAlign","watchIconAlign"),this.disabledNotifySlimmer=u(C,"disabled","watchDisabled"),this.allItemsDisabledNotifySlimmer=u(C,"allItemsDisabled","watchAllItemsDisabled"),this.allItemsDisabledController=new A,this.vegaComponentUsageRuntimeMetricsSlimmer=new p(D),this.allItemsDisabled=!1,this.variant="primary",this.size="default",this.iconAlign="left",this.disabled=!1}watchAllItemsDisabled(){}watchVariant(){}watchSize(){}watchIconAlign(){}watchDisabled(){}render(){return a(o(i,null,o("vega-flex",{class:`vega-button-group-container vega-button-group-${this.variant}`,direction:"row",alignItems:"tertiary"===this.variant?"center":"stretch",gap:"tertiary"!==this.variant?"size-2":"0",ref:t=>this.flexContainer=t},o("slot",null))),this.host)}get host(){return r(this)}static get watchers(){return{allItemsDisabled:["watchAllItemsDisabled"],variant:["watchVariant"],size:["watchSize"],iconAlign:["watchIconAlign"],disabled:["watchDisabled"]}}};N([b()],C.prototype,"globalSlimmers",void 0),N([d()],C.prototype,"clickEventEmitter",void 0),N([d()],C.prototype,"clickEventPrevent",void 0),N([d()],C.prototype,"buttonGroupClickController",void 0),N([d()],C.prototype,"variantNotifySlimmer",void 0),N([d()],C.prototype,"sizeNotifySlimmer",void 0),N([d()],C.prototype,"iconAlignNotifySlimmer",void 0),N([d()],C.prototype,"disabledNotifySlimmer",void 0),N([d()],C.prototype,"allItemsDisabledNotifySlimmer",void 0),N([d()],C.prototype,"allItemsDisabledController",void 0),N([d()],C.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),C.style=":host{display:inline-block;border-radius:9999px}.vega-button-group-primary{gap:6px}.vega-button-group-container:not(.vega-button-group-tertiary){border-radius:9999px}.vega-button-group-container:not(.vega-button-group-tertiary)>::slotted(.vega-button-group-item:first-child){border-top-left-radius:9999px;border-bottom-left-radius:9999px}.vega-button-group-container:not(.vega-button-group-tertiary)>::slotted(.vega-button-group-item:last-child){border-top-right-radius:9999px;border-bottom-right-radius:9999px}.vega-button-group-tertiary>::slotted(.vega-button-group-item){border-color:rgba(var(--v-border-color-divider-secondary, 199, 217, 229, 1));border-left-width:1px;border-top-width:0px;border-bottom-width:0px;border-right-width:0px;border-style:solid}.vega-button-group-tertiary>::slotted(.vega-button-group-item:first-child){border-left-width:0px}";var z=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};class V extends j{constructor(){super({parent:"vega-button-group",subStates:[{subStateName:"variant",parentStateName:"variant"},{subStateName:"size",parentStateName:"size"},{subStateName:"iconAlign",parentStateName:"iconAlign"},{subStateName:"parentDisabled",parentStateName:"disabled"},{subStateName:"allItemsDisabled",parentStateName:"allItemsDisabled"}]})}}z([s({writable:!0})],V.prototype,"size",void 0),z([s({writable:!0})],V.prototype,"variant",void 0),z([s({writable:!0})],V.prototype,"iconAlign",void 0),z([s({writable:!0})],V.prototype,"parentDisabled",void 0),z([s({writable:!0})],V.prototype,"allItemsDisabled",void 0);var _=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};class E extends l{constructor(){super(...arguments),this.buttonItemClickHandle=()=>{this.notifyParentGroup(this.itemKey)},this.moreDropdownItemClickHandle=t=>{this.notifyParentGroup(t.detail)},this.isDisabled=()=>this.disabled||this.parentDisabled}render(){var t,e,i;if(this.dropdownSource&&this.dropdownSource.length){const r=Object.assign(Object.assign({},this.dropdownProps),{trigger:this.isDisabled()?"none":null!==(e=null===(t=this.dropdownProps)||void 0===t?void 0:t.trigger)&&void 0!==e?e:"click"});return this.isDisabled()&&(null===(i=this.dropdownProps)||void 0===i?void 0:i.trigger)&&(this.dropdownProps.trigger="none"),o("vega-dropdown",Object.assign({source:this.dropdownSource},r,{ref:t=>{m.addUniqueObserverToNode(t,v,this.moreDropdownItemClickHandle)}}),this.renderButtonItemWithTooltip())}return this.renderButtonItemWithTooltip()}renderButtonItemWithTooltip(){return this.iconOnly&&this.label?o("vega-tooltip",{placement:"top",text:this.label},this.renderButtonItem()):this.renderButtonItem()}renderButtonItem(){const t=this.getButtonProps(),e=this.parentDisabled||this.allItemsDisabled?" button-group-all-disabled":"";return"tertiary"===this.variant?o("vega-button-link",Object.assign({class:`button-group-item-button-${this.variant}${e}`},t)):o("vega-button",Object.assign({class:`button-group-item-button-${this.variant}${e}`,variant:this.variant},t))}notifyParentGroup(t){const e=I(this.host,"vega-button-group");e&&S.notify(f.getSubject(e,y),{host:this.host,detail:t})}getButtonProps(){return{size:this.size,icon:this.icon,label:this.iconOnly?"":this.getDefaultLabel(),iconAlign:this.iconAlign,disabled:this.isDisabled(),ref:t=>{m.addUniqueObserverToNode(t,h,this.buttonItemClickHandle)}}}getDefaultLabel(){return!this.icon&&!this.label&&this.dropdownSource&&this.dropdownSource.length?"More":this.label}}_([s()],E.prototype,"host",void 0),_([s()],E.prototype,"size",void 0),_([s()],E.prototype,"icon",void 0),_([s()],E.prototype,"label",void 0),_([s()],E.prototype,"iconAlign",void 0),_([s()],E.prototype,"disabled",void 0),_([s()],E.prototype,"parentDisabled",void 0),_([s()],E.prototype,"allItemsDisabled",void 0),_([s()],E.prototype,"iconOnly",void 0),_([s()],E.prototype,"variant",void 0),_([s()],E.prototype,"itemKey",void 0),_([s()],E.prototype,"dropdownSource",void 0),_([s()],E.prototype,"dropdownProps",void 0);var G=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};const T=class{constructor(e){t(this,e),this.globalSlimmers={},this.subStateObserverSlimmer=new V,this.buttonGroupItemRenderer=new E,this.vegaComponentUsageRuntimeMetricsSlimmer=new p,this.variant="primary",this.size="default",this.iconAlign="left",this.parentDisabled=!1,this.allItemsDisabled=!1,this.iconOnly=!1,this.disabled=!1}render(){return a(o(i,{class:"vega-button-group-item"},this.buttonGroupItemRenderer.render()),this.host)}get host(){return r(this)}};G([b()],T.prototype,"globalSlimmers",void 0),G([d()],T.prototype,"subStateObserverSlimmer",void 0),G([d()],T.prototype,"buttonGroupItemRenderer",void 0),G([d()],T.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),T.style=":host{display:inline-block}:host>vega-tooltip,:host>vega-dropdown{height:100%}:host>vega-tooltip>vega-tooltip,:host>vega-dropdown>vega-tooltip{height:100%}:host vega-button{height:100%}:host vega-button::part(button):focus-visible{position:relative;outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px;border-radius:4px;box-shadow:0px 0px 0px 6px rgba(var(--v-bg-primary, 252, 252, 252, 1));z-index:1}:host vega-button-link::part(link){padding-left:12px;padding-right:12px;box-sizing:border-box}:host vega-button-link::part(link):focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:0px;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;color:rgba(var(--v-text-link, 19, 98, 226, 1))}:host vega-button-link::part(label-container){text-decoration:none}:host vega-button-link:hover::part(label-container){text-decoration:underline}:host vega-button::part(button){margin-right:-4px}:host(:first-child) vega-tooltip:has(vega-button),:host(:first-child) vega-dropdown:has(vega-button){border-top-left-radius:9999px;border-bottom-left-radius:9999px}:host(:first-child) vega-button::part(button){border-top-left-radius:9999px;border-bottom-left-radius:9999px}:host(:first-child) vega-button::part(button):focus-visible{margin-left:0}:host(:last-child) vega-tooltip:has(vega-button),:host(:last-child) vega-dropdown:has(vega-button){border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host(:last-child) vega-button::part(button){border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host(:last-child) vega-button::part(button){margin-right:0}vega-button::part(button){border-top-left-radius:0px;border-bottom-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;height:100%}";export{C as vega_button_group,T as vega_button_group_item}
1
+ import{r as t,c as e,h as o,H as i,g as r}from"./p-6b2342e0.js";import{s as a}from"./p-519a7d55.js";import{c as s,M as n,V as l,I as d}from"./p-6e1ab235.js";import{V as p,I as u}from"./p-8ce9e214.js";import{c as b}from"./p-daba4af1.js";import{c}from"./p-66647244.js";import{a as h,V as v}from"./p-5447a8e8.js";import{C as g}from"./p-2c737fc8.js";import{D as m,d as f}from"./p-526e3634.js";import{F as y}from"./p-4a2fe3a4.js";import{M as x}from"./p-78a57a17.js";import{a as w}from"./p-52b8f2d2.js";import{S as j}from"./p-c41a2d4a.js";import{C as S}from"./p-2d0d575f.js";import{f as I}from"./p-528748fa.js";import"./p-6a334573.js";import"./p-331a62d5.js";import"./p-8c30a60d.js";import"./p-b75ee3ba.js";import"./p-5f377954.js";import"./p-87a4d75f.js";import"./p-982747ef.js";import"./p-d27ae9ff.js";import"./p-262ec334.js";var R=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};class k extends l{registerGroupClickObserver(){m.addUniqueObserverToNode(this.host,y,(t=>{this.clickEventEmitter.emit(t.detail)}))}unregisterGroupClickObserver(){m.removeUniqueObserverFromNode(this.host,y)}}R([s()],k.prototype,"host",void 0),R([s()],k.prototype,"clickEventEmitter",void 0),R([n("connectedCallback")],k.prototype,"registerGroupClickObserver",null),R([n("disconnectedCallback")],k.prototype,"unregisterGroupClickObserver",null);var O=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};class A extends l{constructor(){super(...arguments),this.mutationObserver=new x({target:()=>this.host,options:{childList:!0,subtree:!0,attributes:!0,attributeFilter:["disabled"]},mutationFilter:w("VEGA-BUTTON-GROUP-ITEM"),callback:()=>this.updateAllItemsDisabledState()})}disconnectedCallback(){}componentWillLoad(){this.updateAllItemsDisabledState()}updateAllItemsDisabledState(){const t=this.host.querySelectorAll("vega-button-group-item");this.allItemsDisabled=t.length>0&&Array.from(t).every((t=>t.disabled))}}O([s()],A.prototype,"host",void 0),O([s({writable:!0})],A.prototype,"allItemsDisabled",void 0),O([d()],A.prototype,"mutationObserver",void 0),O([n("disconnectedCallback")],A.prototype,"disconnectedCallback",null),O([n("componentWillLoad")],A.prototype,"componentWillLoad",null);const D=[{payloadKey:"VARIANT_IS_PRIMARY",payloadDescription:"Specifies the visual style and prominence of the button group. It determines how the button group will be presented to the user.",payloadValue:t=>"primary"===t.variant},{payloadKey:"VARIANT_IS_SECONDARY",payloadDescription:"Specifies the visual style and prominence of the button group. It determines how the button group will be presented to the user.",payloadValue:t=>"secondary"===t.variant},{payloadKey:"VARIANT_IS_TERTIARY",payloadDescription:"Specifies the visual style and prominence of the button group. It determines how the button group will be presented to the user.",payloadValue:t=>"tertiary"===t.variant}];var N=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};const C=class{constructor(o){t(this,o),this.vegaClick=e(this,"vegaClick",7),this.click=e(this,"click",7),this.globalSlimmers={},this.clickEventEmitter=c(C,h),this.clickEventPrevent=new g([h],(()=>this.flexContainer)),this.buttonGroupClickController=new k,this.variantNotifySlimmer=b(C,"variant","watchVariant"),this.sizeNotifySlimmer=b(C,"size","watchSize"),this.iconAlignNotifySlimmer=b(C,"iconAlign","watchIconAlign"),this.disabledNotifySlimmer=b(C,"disabled","watchDisabled"),this.allItemsDisabledNotifySlimmer=b(C,"allItemsDisabled","watchAllItemsDisabled"),this.allItemsDisabledController=new A,this.vegaComponentUsageRuntimeMetricsSlimmer=new p(D),this.allItemsDisabled=!1,this.variant="primary",this.size="default",this.iconAlign="left",this.disabled=!1}watchAllItemsDisabled(){}watchVariant(){}watchSize(){}watchIconAlign(){}watchDisabled(){}render(){return a(o(i,null,o("vega-flex",{class:`vega-button-group-container vega-button-group-${this.variant}`,direction:"row",alignItems:"tertiary"===this.variant?"center":"stretch",gap:"tertiary"!==this.variant?"size-2":"0",ref:t=>this.flexContainer=t},o("slot",null))),this.host)}get host(){return r(this)}static get watchers(){return{allItemsDisabled:["watchAllItemsDisabled"],variant:["watchVariant"],size:["watchSize"],iconAlign:["watchIconAlign"],disabled:["watchDisabled"]}}};N([u()],C.prototype,"globalSlimmers",void 0),N([d()],C.prototype,"clickEventEmitter",void 0),N([d()],C.prototype,"clickEventPrevent",void 0),N([d()],C.prototype,"buttonGroupClickController",void 0),N([d()],C.prototype,"variantNotifySlimmer",void 0),N([d()],C.prototype,"sizeNotifySlimmer",void 0),N([d()],C.prototype,"iconAlignNotifySlimmer",void 0),N([d()],C.prototype,"disabledNotifySlimmer",void 0),N([d()],C.prototype,"allItemsDisabledNotifySlimmer",void 0),N([d()],C.prototype,"allItemsDisabledController",void 0),N([d()],C.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),C.style=":host{display:inline-block;border-radius:9999px}.vega-button-group-primary{gap:6px}.vega-button-group-container:not(.vega-button-group-tertiary){border-radius:9999px}.vega-button-group-container:not(.vega-button-group-tertiary)>::slotted(.vega-button-group-item:first-child){border-top-left-radius:9999px;border-bottom-left-radius:9999px}.vega-button-group-container:not(.vega-button-group-tertiary)>::slotted(.vega-button-group-item:last-child){border-top-right-radius:9999px;border-bottom-right-radius:9999px}.vega-button-group-tertiary>::slotted(.vega-button-group-item){border-color:rgba(var(--v-border-color-divider-secondary, 199, 217, 229, 1));border-left-width:1px;border-top-width:0px;border-bottom-width:0px;border-right-width:0px;border-style:solid}.vega-button-group-tertiary>::slotted(.vega-button-group-item:first-child){border-left-width:0px}";var z=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};class V extends j{constructor(){super({parent:"vega-button-group",subStates:[{subStateName:"variant",parentStateName:"variant"},{subStateName:"size",parentStateName:"size"},{subStateName:"iconAlign",parentStateName:"iconAlign"},{subStateName:"parentDisabled",parentStateName:"disabled"},{subStateName:"allItemsDisabled",parentStateName:"allItemsDisabled"}]})}}z([s({writable:!0})],V.prototype,"size",void 0),z([s({writable:!0})],V.prototype,"variant",void 0),z([s({writable:!0})],V.prototype,"iconAlign",void 0),z([s({writable:!0})],V.prototype,"parentDisabled",void 0),z([s({writable:!0})],V.prototype,"allItemsDisabled",void 0);var _=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};class E extends l{constructor(){super(...arguments),this.buttonItemClickHandle=()=>{this.notifyParentGroup(this.itemKey)},this.moreDropdownItemClickHandle=t=>{this.notifyParentGroup(t.detail)},this.isDisabled=()=>this.disabled||this.parentDisabled}render(){var t,e,i;if(this.dropdownSource&&this.dropdownSource.length){const r=Object.assign(Object.assign({},this.dropdownProps),{trigger:this.isDisabled()?"none":null!==(e=null===(t=this.dropdownProps)||void 0===t?void 0:t.trigger)&&void 0!==e?e:"click"});return this.isDisabled()&&(null===(i=this.dropdownProps)||void 0===i?void 0:i.trigger)&&(this.dropdownProps.trigger="none"),o("vega-dropdown",Object.assign({source:this.dropdownSource},r,{ref:t=>{m.addUniqueObserverToNode(t,v,this.moreDropdownItemClickHandle)}}),this.renderButtonItemWithTooltip())}return this.renderButtonItemWithTooltip()}renderButtonItemWithTooltip(){return this.iconOnly&&this.label?o("vega-tooltip",{placement:"top",text:this.label},this.renderButtonItem()):this.renderButtonItem()}renderButtonItem(){const t=this.getButtonProps(),e=this.parentDisabled||this.allItemsDisabled?" button-group-all-disabled":"";return"tertiary"===this.variant?o("vega-button-link",Object.assign({class:`button-group-item-button-${this.variant}${e}`},t)):o("vega-button",Object.assign({class:`button-group-item-button-${this.variant}${e}`,variant:this.variant},t))}notifyParentGroup(t){const e=I(this.host,"vega-button-group");e&&S.notify(f.getSubject(e,y),{host:this.host,detail:t})}getButtonProps(){return{size:this.size,icon:this.icon,label:this.iconOnly?"":this.getDefaultLabel(),iconAlign:this.iconAlign,disabled:this.isDisabled(),ref:t=>{m.addUniqueObserverToNode(t,h,this.buttonItemClickHandle)}}}getDefaultLabel(){return!this.icon&&!this.label&&this.dropdownSource&&this.dropdownSource.length?"More":this.label}}_([s()],E.prototype,"host",void 0),_([s()],E.prototype,"size",void 0),_([s()],E.prototype,"icon",void 0),_([s()],E.prototype,"label",void 0),_([s()],E.prototype,"iconAlign",void 0),_([s()],E.prototype,"disabled",void 0),_([s()],E.prototype,"parentDisabled",void 0),_([s()],E.prototype,"allItemsDisabled",void 0),_([s()],E.prototype,"iconOnly",void 0),_([s()],E.prototype,"variant",void 0),_([s()],E.prototype,"itemKey",void 0),_([s()],E.prototype,"dropdownSource",void 0),_([s()],E.prototype,"dropdownProps",void 0);var G=function(t,e,o,i){var r,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,o,s):r(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};const T=class{constructor(e){t(this,e),this.globalSlimmers={},this.subStateObserverSlimmer=new V,this.buttonGroupItemRenderer=new E,this.vegaComponentUsageRuntimeMetricsSlimmer=new p,this.variant="primary",this.size="default",this.iconAlign="left",this.parentDisabled=!1,this.allItemsDisabled=!1,this.iconOnly=!1,this.disabled=!1}render(){return a(o(i,{class:"vega-button-group-item"},this.buttonGroupItemRenderer.render()),this.host)}get host(){return r(this)}};G([u()],T.prototype,"globalSlimmers",void 0),G([d()],T.prototype,"subStateObserverSlimmer",void 0),G([d()],T.prototype,"buttonGroupItemRenderer",void 0),G([d()],T.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),T.style=":host{display:inline-block}:host>vega-tooltip,:host>vega-dropdown{height:100%}:host>vega-tooltip>vega-tooltip,:host>vega-dropdown>vega-tooltip{height:100%}:host vega-button{height:100%}:host vega-button::part(button):focus-visible{position:relative;outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px;border-radius:4px;box-shadow:0px 0px 0px 6px rgba(var(--v-bg-primary, 252, 252, 252, 1));z-index:1}:host vega-button-link::part(link){padding-left:12px;padding-right:12px;box-sizing:border-box}:host vega-button-link::part(link):focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:0px;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;color:rgba(var(--v-text-link, 19, 98, 226, 1))}:host vega-button-link::part(label-container){text-decoration:none}:host vega-button-link:hover::part(label-container){text-decoration:underline}:host vega-button::part(button){margin-right:-4px}:host(:first-child) vega-tooltip:has(vega-button),:host(:first-child) vega-dropdown:has(vega-button){border-top-left-radius:9999px;border-bottom-left-radius:9999px}:host(:first-child) vega-button::part(button){border-top-left-radius:9999px;border-bottom-left-radius:9999px}:host(:first-child) vega-button::part(button):focus-visible{margin-left:0}:host(:last-child) vega-tooltip:has(vega-button),:host(:last-child) vega-dropdown:has(vega-button){border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host(:last-child) vega-button::part(button){border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host(:last-child) vega-button::part(button){margin-right:0}vega-button::part(button){border-top-left-radius:0px;border-bottom-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;height:100%}";export{C as vega_button_group,T as vega_button_group_item}
@@ -1 +1 @@
1
- import{p as e,b as a}from"./p-6b2342e0.js";import{g as i}from"./p-5e37b041.js";import"./p-87a4d75f.js";import"./p-6e1ab235.js";import"./p-982747ef.js";import"./p-2ff4ae1c.js";import"./p-8b5d3a52.js";import"./p-528748fa.js";import"./p-afcd8f04.js";import"./p-6a334573.js";import"./p-781fd6e0.js";import"./p-262ec334.js";import"./p-81dd00d0.js";import"./p-49a2e141.js";import"./p-d4ea8e22.js";import"./p-ed45b3b6.js";import"./p-b75ee3ba.js";import"./p-8c30a60d.js";import"./p-5447a8e8.js";import"./p-874e5624.js";import"./p-2d0d575f.js";import"./p-cb378636.js";import"./p-39c5054b.js";import"./p-456f678b.js";import"./p-b438e68b.js";import"./p-e9b005df.js";import"./p-2bb60f89.js";import"./p-526e3634.js";import"./p-331a62d5.js";import"./p-3a68b729.js";import"./p-02841589.js";import"./p-3e09aeed.js";import"./p-fb5ea4b2.js";import"./p-4866e390.js";import"./p-f0e828d8.js";import"./p-a841cf13.js";import"./p-1d5e05d9.js";import"./p-6031bed1.js";import"./p-ffdc25ec.js";import"./p-8e7932bc.js";import"./p-77e64f26.js";import"./p-0c667d6a.js";import"./p-1bc5b3bc.js";import"./p-0809c651.js";import"./p-890a5254.js";import"./p-e8f50fc5.js";import"./p-12e8a1b2.js";import"./p-abd7aeaa.js";import"./p-5f377954.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((e=>(i(),a(JSON.parse('[["p-d2cbcf5e",[[1,"vega-pagination",{"current":[1538],"total":[2],"pageSize":[1026,"page-size"],"extensions":[16],"layout":[1],"pageSizeSelectorOptions":[1040],"dropdownProps":[16],"currentBreakpoint":[32],"pageCount":[32],"isAllActive":[32]}]]],["p-db11134b",[[1,"vega-page-notification",{"notificationTitle":[1,"title"],"message":[1],"type":[1],"duration":[2],"showCloseButton":[4,"show-close-button"],"actionButtons":[16],"close":[64]}],[1,"vega-page-notification-list"]]],["p-98fc5821",[[1,"vega-color-picker",{"value":[1537],"hint":[1],"disabled":[516],"required":[516],"optional":[516],"name":[513],"label":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"colors":[16],"isInline":[4,"is-inline"],"columns":[2]}]]],["p-8611465f",[[1,"vega-stepper",{"stepperId":[513,"id"],"max":[514],"min":[514],"value":[1538],"label":[1],"inputDisabled":[4,"input-disabled"],"disabled":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"name":[513],"buttonVariant":[1,"button-variant"]}]]],["p-3af5e87b",[[1,"vega-checkbox-group",{"label":[1],"value":[1040],"vegaFlexProp":[16],"disabled":[516],"required":[516],"optional":[516],"name":[513],"hint":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16]}],[1,"vega-checkbox",{"identifier":[1],"value":[1032],"checked":[1028],"indeterminate":[1540],"disabled":[516],"size":[1],"required":[516],"name":[513],"isValid":[1540,"is-valid"],"groupDisabled":[32],"showError":[32],"setValue":[64]}]]],["p-ccbe3f1b",[[1,"vega-app-header-button",{"dropdown":[16],"size":[1],"labelConfig":[16],"label":[513],"showLabel":[4,"show-label"],"avatar":[16],"avatarPosition":[1,"avatar-position"],"showBorder":[4,"show-border"],"showMenuArrowIcon":[4,"show-menu-arrow-icon"],"selected":[4],"isDropdownShow":[32],"currentBreakpoint":[32]}]]],["p-36d2df7a",[[1,"vega-button-link",{"link":[1],"size":[1],"icon":[513],"iconType":[1,"icon-type"],"iconAlign":[1,"icon-align"],"label":[1537],"disabled":[4],"danger":[4],"eventful":[4],"target":[1]}]]],["p-72ab5cd5",[[1,"vega-chip",{"text":[1],"clickable":[4],"variant":[1],"size":[1],"bgColor":[1,"bg-color"],"textColor":[1,"text-color"],"statusColor":[1,"status-color"],"chipType":[1,"chip-type"],"showCloseIcon":[4,"show-close-icon"],"icon":[1],"iconAlign":[1,"icon-align"],"iconColor":[1,"icon-color"],"currentBreakpoint":[32],"currentSize":[32]}]]],["p-200c8914",[[1,"vega-item-toggle",{"itemToggleStatusMap":[16],"statusMap":[16],"isToggled":[1028,"is-toggled"],"toggleItemStatus":[32]}]]],["p-b594a11c",[[1,"vega-radio-group",{"label":[1],"value":[1537],"name":[513],"vegaFlexProp":[16],"required":[516],"optional":[516],"hint":[1],"isValid":[1540,"is-valid"],"disabled":[516],"autoValidation":[516,"auto-validation"],"validationRules":[16]}],[1,"vega-radio",{"value":[1],"name":[1],"checked":[1028],"disabled":[4],"size":[1],"groupDisabled":[32],"showError":[32]}]]],["p-adc64ff6",[[1,"vega-hint"]]],["p-046203cb",[[1,"vega-textarea",{"placeholder":[1],"hint":[1],"disabled":[516],"label":[1],"labelSuffixButtonConfig":[16],"showCounter":[4,"show-counter"],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"required":[1540],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"optional":[516],"name":[513],"resizable":[4],"rows":[2],"validationRules":[16],"currentCharCount":[32]},[[0,"input","handleValueTextarea"]]]]],["p-36c89520",[[1,"vega-toggle-switch",{"checked":[1540],"value":[1540],"size":[1],"label":[1],"required":[516],"optional":[516],"name":[513],"disabled":[516],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"]}]]],["p-81d4dfcb",[[1,"vega-table-cell",{"textAlign":[1,"text-align"],"breakpoint":[1],"overflow":[1],"width":[1],"colSpan":[2,"col-span"],"ellipsisShowTooltip":[4,"ellipsis-show-tooltip"],"currentBreakpoint":[32],"density":[32],"rowDivider":[32],"columnDivider":[32],"clickable":[32],"checked":[32],"striped":[32],"expanded":[32],"renderInput":[32],"ellipsisTooltipText":[32],"ellipsisTooltipTrigger":[32]}],[1,"vega-table",{"columns":[16],"groupColumns":[16],"dataSource":[1040],"rowSelection":[1040],"rowExpandable":[4,"row-expandable"],"rowClickable":[4,"row-clickable"],"rowDraggable":[4,"row-draggable"],"rowDivider":[4,"row-divider"],"columnDivider":[4,"column-divider"],"striped":[4],"density":[1],"paddingX":[16],"showHeader":[4,"show-header"],"pagination":[16],"emptyDescription":[1,"empty-description"],"rowKey":[1,"row-key"],"scrollConfig":[16],"sortConfig":[16],"showEditError":[4,"show-edit-error"],"selectedRowKeySet":[32],"expandedRowKeySet":[32],"currentBreakpoint":[32],"sortersMap":[32],"currentData":[32],"currentClickedRowKey":[32],"currentPage":[32],"pageSize":[32],"editingRows":[32],"isSelectedAll":[32],"isTemplateRenderMode":[32],"columnStructureModel":[32],"expandableRows":[32],"hasExpandableRow":[32],"openExpandRow":[64],"closeExpandRow":[64],"closeAllExpandRow":[64],"toggleExpandRow":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64],"startRowEditMode":[64],"stopRowEditMode":[64],"stopAllRowEditMode":[64],"getRowData":[64],"getRowsData":[64],"getFormRef":[64],"addNewRow":[64],"saveEditRow":[64],"saveAllEditRows":[64],"getEditingRowsKey":[64],"removeRow":[64]}],[1,"vega-table-body"],[1,"vega-table-expand-row",{"rowKey":[1,"row-key"],"striped":[4],"currentBreakpoint":[32],"withMultipleSelection":[32],"withRowDraggable":[32],"expanded":[32],"checked":[32],"colSpan":[32]}],[1,"vega-table-foot",{"fixed":[32],"rowDivider":[32]}],[1,"vega-table-foot-cell",{"breakpoint":[1],"textAlign":[1,"text-align"],"width":[1],"colSpan":[2,"col-span"],"currentBreakpoint":[32],"density":[32],"columnDivider":[32]}],[1,"vega-table-foot-row",{"currentBreakpoint":[32],"hasExpandableRow":[32],"selectionType":[32],"paddingX":[32],"columnDivider":[32],"draggable":[32],"density":[32]}],[1,"vega-table-head",{"fixed":[32]}],[1,"vega-table-head-cell",{"breakpoint":[1],"sorter":[1],"sortOrder":[1025,"sort-order"],"textAlign":[1,"text-align"],"width":[1],"sortConfig":[16],"pinned":[1],"currentBreakpoint":[32],"density":[32],"columnDivider":[32],"renderInput":[32]}],[1,"vega-table-head-row",{"selectAllDisabled":[4,"select-all-disabled"],"hideSelectAll":[4,"hide-select-all"],"currentBreakpoint":[32],"hasExpandableRow":[32],"selectionType":[32],"paddingX":[32],"checkedAll":[32],"columnDivider":[32],"density":[32],"isEmptyTable":[32],"isTemplateRenderMode":[32],"renderInput":[32],"draggable":[32]}],[1,"vega-table-row",{"rowKey":[1,"row-key"],"striped":[4],"rowDivider":[4,"row-divider"],"currentBreakpoint":[32],"clicked":[32],"hasExpandableRow":[32],"expandable":[32],"clickable":[32],"paddingX":[32],"selectionType":[32],"checked":[32],"expanded":[32],"columnDivider":[32],"density":[32],"draggable":[32]}]]],["p-56d19601",[[1,"vega-button-group",{"variant":[1],"size":[1],"iconAlign":[1,"icon-align"],"disabled":[4],"allItemsDisabled":[32]}],[1,"vega-button-group-item",{"icon":[1],"label":[1],"iconOnly":[4,"icon-only"],"disabled":[516],"itemKey":[1,"item-key"],"dropdownProps":[16],"dropdownSource":[16],"variant":[32],"size":[32],"iconAlign":[32],"parentDisabled":[32],"allItemsDisabled":[32]}]]],["p-b98ead05",[[1,"vega-loading-indicator",{"shape":[1],"size":[1],"mode":[1],"percent":[2],"label":[1],"hint":[1],"status":[1],"currentBreakpoint":[32]}],[1,"vega-loader-wrapper"]]],["p-a8174ad8",[[1,"vega-carousel",{"perPage":[2,"per-page"],"itemsPerPage":[2,"items-per-page"],"showSlider":[4,"show-slider"],"spacing":[1],"canSwipe":[4,"can-swipe"],"page":[32],"totalPages":[32],"nextPage":[64],"prevPage":[64],"goToPage":[64]}]]],["p-e3fdb65c",[[1,"vega-input-credit-card",{"required":[1540],"optional":[516],"name":[513],"disabled":[516],"label":[1],"hint":[1],"size":[1],"placeholder":[1],"hideCardNumberOnBlur":[4,"hide-card-number-on-blur"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"isValid":[1540,"is-valid"],"value":[1537]}]]],["p-3980dfa8",[[1,"vega-calendar",{"viewMode":[1025,"view-mode"],"events":[16],"timeFormat":[1,"time-format"],"isDateDisabled":[16],"moreActionDropdownProps":[16],"showEventColorBar":[4,"show-event-color-bar"],"showSwitchView":[4,"show-switch-view"],"enableDateClick":[4,"enable-date-click"],"showWeekends":[4,"show-weekends"],"enabledEventPreview":[4,"enabled-event-preview"],"timezone":[1],"eventEditable":[4,"event-editable"],"getEventPreviewActions":[16],"calendarView":[32],"currentPeriod":[32],"postOperationDate":[32],"showAllEventsInDayOrWeekView":[32],"calendarEvents":[32],"setCurrentPeriod":[64],"getCurrentPeriod":[64]}],[1,"vega-calendar-event",{"calendarEvent":[16],"timeFormat":[32],"slotMode":[32],"showColorBar":[32]}],[1,"vega-calendar-event-preview",{"previewPayload":[32],"currentEvent":[32],"eventActions":[32]}],[1,"vega-calendar-event-slot",{"eventKey":[513,"event-key"]}],[1,"vega-calendar-period-switcher",{"viewMode":[1025,"view-mode"],"timezone":[1],"showWeekends":[4,"show-weekends"],"currentPeriod":[32],"setCurrentPeriod":[64],"getCurrentPeriod":[64]}]]],["p-f95d8d10",[[1,"vega-dropdown",{"size":[8],"trigger":[1],"translocation":[16],"source":[1040],"positionRelativeTo":[1,"position-relative-to"],"selectType":[1,"select-type"],"selectedSourceKey":[1025,"selected-source-key"],"prefixIconSlot":[4,"prefix-icon-slot"],"maxHeight":[2,"max-height"],"searchable":[4],"matchTargetWidth":[4,"match-target-width"],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"itemDisplayRule":[1,"item-display-rule"],"itemTooltipProps":[16],"matchContainerHeight":[4,"match-container-height"],"caseSensitive":[4,"case-sensitive"],"dynamicOption":[4,"dynamic-option"],"useDefaultFilter":[4,"use-default-filter"],"isLoading":[4,"is-loading"],"placement":[1],"alignment":[1],"isLazyLoading":[4,"is-lazy-loading"],"searchTriggerBy":[1,"search-trigger-by"],"isScreenPosition":[4,"is-screen-position"],"resettable":[4],"virtualizationThreshold":[2,"virtualization-threshold"],"preserveValueIfNotInSource":[4,"preserve-value-if-not-in-source"],"searchNoResultsText":[1,"search-no-results-text"],"allowSelectAll":[516,"allow-select-all"],"searchString":[32],"isDropdownShow":[32],"sourceForRender":[32],"renderMode":[32],"show":[64],"hide":[64],"search":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64],"syncTemplateData":[64]}],[1,"vega-dropdown-content-box"],[1,"vega-dropdown-group",{"label":[1],"divide":[4]}],[1,"vega-dropdown-item",{"label":[1],"itemKey":[513,"item-key"],"count":[2],"prefixIcon":[1,"prefix-icon"],"disabled":[4],"height":[2],"danger":[4],"selectType":[32],"prefixIconSlot":[32],"selected":[32],"indeterminate":[32],"itemDisplayRule":[32],"itemTooltipProps":[32]}],[1,"vega-virtual-scroll",{"source":[16],"approxItemHeight":[2,"approx-item-height"],"viewportMaxHeight":[2,"viewport-max-height"],"isLoading":[4,"is-loading"],"virtualizationThreshold":[2,"virtualization-threshold"],"sourceItemIdentifier":[1,"source-item-identifier"],"renderItem":[16],"positionConfig":[32],"scrollTop":[32],"scrollToIndex":[64]}]]],["p-3488a3f1",[[1,"vega-left-nav",{"open":[1028],"headerConfig":[16],"source":[16],"footnote":[1],"showAsOverlay":[4,"show-as-overlay"],"autoCollapseOnOverlay":[4,"auto-collapse-on-overlay"],"autoCollapseGroups":[8,"auto-collapse-groups"],"currentBranding":[32],"openState":[32],"toggle":[64]}],[1,"vega-left-nav-group",{"icon":[1],"label":[1],"openByDefault":[4,"open-by-default"],"itemKey":[1,"item-key"],"autoCollapseGroups":[32]}],[1,"vega-left-nav-link",{"icon":[1],"selected":[1540],"customSelectionEnabled":[4,"custom-selection-enabled"],"url":[1],"counterBadge":[16],"itemKey":[1,"item-key"],"target":[1]}],[1,"vega-left-nav-section",{"sectionHeader":[16],"itemKey":[1,"item-key"]}],[1,"vega-nav-card",{"source":[16],"maxHeight":[520,"max-height"],"currentMaxHeight":[32]}]]],["p-10d43a80",[[1,"vega-rich-text-editor",{"label":[1],"required":[516],"optional":[516],"name":[513],"placeholder":[1],"disabled":[4],"hint":[1],"rows":[2],"value":[1040],"toolbarItems":[16],"allowSourceEdit":[4,"allow-source-edit"],"sourceEditConfig":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"textStyleItems":[16],"extensions":[16],"richTextContentEditable":[32],"selectionMap":[32],"isInDarkMode":[32],"sourceView":[32],"uniqueToolbarItems":[32]}],[1,"vega-rich-text-editor-toolbar-button",{"disabled":[4],"hidden":[4],"selected":[4],"showArrowIcon":[4,"show-arrow-icon"],"arrowIcon":[1,"arrow-icon"],"icon":[1],"iconColor":[1,"icon-color"]}],[1,"vega-rich-text-image-editor",{"alt":[513],"size":[1537],"currentPage":[32],"selected":[32]}],[1,"vega-rich-text-link-editor",{"status":[1025],"record":[16],"resetStatusAfterHide":[4,"reset-status-after-hide"],"target":[16],"show":[64],"hide":[64]}]]],["p-d3413a78",[[1,"vega-rich-text-table-properties",{"defaultValue":[16],"styleMap":[16],"type":[513],"colors":[16],"isInDarkMode":[32]}],[1,"vega-rich-text-table-selection-widget",{"isSelected":[32]}],[1,"vega-rich-text-table-setting",{"hasCaption":[4,"has-caption"],"selectedCells":[1040],"target":[16],"isColumnDropdownOpen":[32],"isMergeCellsDropdownOpen":[32]}]]],["p-703ac992",[[1,"vega-date-picker",{"mode":[1],"value":[1537],"label":[1],"required":[516],"optional":[516],"name":[513],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"format":[1],"size":[1],"validationRules":[16],"minDate":[1537,"min-date"],"maxDate":[1537,"max-date"],"placeholder":[1],"clearButton":[4,"clear-button"],"readOnly":[4,"read-only"],"allowRepick":[4,"allow-repick"],"dropdownConfig":[16],"showClearIcon":[4,"show-clear-icon"],"showYearMonthDropdowns":[4,"show-year-month-dropdowns"],"disabled":[516],"timezone":[1],"isDateDisabled":[16],"isMobileDevice":[32],"isCalendarShow":[32],"doClose":[64],"doOpen":[64]}],[1,"vega-date-picker-calendar",{"size":[1],"fillContainer":[4,"fill-container"],"mode":[1],"selection":[1025],"format":[1],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"clearButton":[4,"clear-button"],"staticHeight":[4,"static-height"],"timezone":[1],"showYearMonthDropdowns":[4,"show-year-month-dropdowns"],"yearMonthDropdownProps":[16],"dualMonths":[4,"dual-months"],"isDateDisabled":[16],"dateIndicator":[16],"currentSize":[32],"isMobileDevice":[32],"today":[32],"currentPeriod":[32],"hoverDate":[32],"calendarSelection":[32],"maxCalendarDate":[32],"minCalendarDate":[32],"isDualMonths":[32],"reset":[64],"triggerRepick":[64]}]]],["p-abbceebf",[[1,"vega-popover",{"size":[8],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"trigger":[1],"showArrow":[4,"show-arrow"],"isScreenPosition":[4,"is-screen-position"],"padding":[1],"isPopoverShow":[32],"show":[64],"hide":[64]}],[1,"vega-popover-content-box",{"showArrow":[4,"show-arrow"],"padding":[1]}]]],["p-26760c66",[[1,"vega-progress-tracker",{"current":[1026],"direction":[1],"steps":[16],"completedStepArray":[16],"completedSteps":[16],"canClickStep":[4,"can-click-step"],"allowNoCurrentStep":[4,"allow-no-current-step"],"currentSteps":[32],"currentDirection":[32],"nextStep":[64],"prevStep":[64],"setCurrent":[64],"getCurrent":[64]}],[1,"vega-progress-tracker-step",{"stepKey":[513,"step-key"],"clickable":[516],"progressStatus":[32],"isCurrent":[32]}]]],["p-21626b93",[[1,"vega-selection-chip",{"label":[1],"size":[1],"variant":[1],"disabled":[1028],"checked":[1540],"block":[4],"disabledTooltip":[16],"swatchColor":[1,"swatch-color"],"value":[1],"showError":[32],"currentBreakpoint":[32],"selectType":[32]}],[1,"vega-selection-chip-group",{"label":[1],"hint":[1],"selectType":[1,"select-type"],"value":[1025],"required":[4],"optional":[516],"name":[513],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-8ed3b2b6",[[1,"vega-selection-tile",{"titleText":[1,"title"],"note":[1],"prefixIcon":[1,"prefix-icon"],"disabled":[1028],"checked":[1028],"selectType":[1025,"select-type"],"value":[1],"showError":[32],"distributeEvenly":[32]}],[1,"vega-selection-tile-group",{"label":[1],"hint":[1],"distributeEvenly":[4,"distribute-evenly"],"selectType":[1,"select-type"],"value":[1025],"layout":[1],"required":[4],"optional":[516],"name":[513],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-fa65956c",[[1,"vega-tab-group",{"selectedTabDataTarget":[1025,"selected-tab-data-target"],"gap":[1],"showCloseButton":[4,"show-close-button"],"tabItems":[1040],"positionRelativeTo":[1,"position-relative-to"],"variant":[1],"overflow":[1],"tabPages":[32],"tabWidthArray":[32],"currentPageIndex":[32]}],[1,"vega-tab-group-panel",{"isActive":[4,"is-active"]}]]],["p-4c3a08be",[[1,"vega-time-picker",{"label":[1],"mode":[1],"required":[516],"optional":[516],"name":[513],"placeholder":[1],"increments":[2],"timeFormat":[513,"time-format"],"value":[1537],"size":[1],"disabled":[516],"readOnly":[4,"read-only"],"showClearIcon":[4,"show-clear-icon"],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"positionRelativeTo":[1,"position-relative-to"],"vegaDropdownProps":[16],"dropdownSource":[32],"isDropdownShow":[32],"selectedTimeValue":[32]}],[1,"vega-time-picker-dropdown"]]],["p-c2277448",[[1,"vega-accordion",{"drawsBackground":[4,"draws-background"],"prefixIcon":[1,"prefix-icon"],"accordionTitle":[1,"accordion-title"],"titleBackgroundColor":[1,"title-background-color"],"expandIconAlign":[1,"expand-icon-align"],"expand":[1028],"iconPosition":[1,"icon-position"],"showExpandIcon":[4,"show-expand-icon"],"groupId":[1,"group-id"]}]]],["p-8d96f0e8",[[1,"vega-app-footer",{"content":[1],"termOfUseLabel":[1,"term-of-use-label"],"termOfUseUrl":[1,"term-of-use-url"],"termOfUseUrlTarget":[1,"term-of-use-url-target"],"termOfUseUrlId":[1,"term-of-use-url-id"],"privacyPolicyLabel":[1,"privacy-policy-label"],"privacyPolicyUrl":[1,"privacy-policy-url"],"privacyPolicyUrlTarget":[1,"privacy-policy-url-target"],"privacyPolicyUrlId":[1,"privacy-policy-url-id"],"hideDefaultLinks":[4,"hide-default-links"],"additionalLinks":[16],"showDisclaimer":[4,"show-disclaimer"],"disclaimerUrlTarget":[1,"disclaimer-url-target"],"currentBranding":[32]}]]],["p-e18c0656",[[1,"vega-backdrop",{"color":[1],"visible":[4],"duration":[2]}]]],["p-f9bfee81",[[1,"vega-banner",{"type":[1],"bannerTitle":[1,"banner-title"],"content":[1],"actionButtons":[16],"showCloseButton":[4,"show-close-button"],"isOpen":[4,"is-open"],"doClose":[64]}]]],["p-3911e760",[[1,"vega-bar-chart",{"options":[16]}]]],["p-9abf7d0a",[[1,"vega-brand-logo",{"name":[1],"size":[1],"theme":[1],"isInDarkMode":[32]}]]],["p-ec64cc59",[[1,"vega-breadcrumb",{"maxItems":[8,"max-items"],"items":[16],"compactOnMobile":[4,"compact-on-mobile"],"lastItemClickable":[4,"last-item-clickable"]}]]],["p-a484e32d",[[1,"vega-card",{"padding":[1],"margin":[1],"variant":[1],"backgroundColor":[1,"background-color"]}]]],["p-8ff92914",[[1,"vega-code-block",{"readOnly":[4,"read-only"],"disabled":[4],"showCopyButton":[4,"show-copy-button"],"showLineNumber":[4,"show-line-number"],"value":[1040],"doFocus":[64]}]]],["p-0cf3b5c1",[[1,"vega-color-swatch",{"color":[1],"selected":[1540],"label":[1],"size":[1],"disabled":[516],"variant":[1],"shape":[1]}]]],["p-363ee8a5",[[1,"vega-color-swatch-picker",{"value":[1025],"label":[1],"disabled":[4],"required":[516],"name":[513],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"colors":[16],"swatchGridColumns":[8,"swatch-grid-columns"],"showInput":[4,"show-input"],"inputPlaceholder":[1,"input-placeholder"],"inputPrefixIcon":[1,"input-prefix-icon"],"showClearButton":[4,"show-clear-button"],"inputFormatter":[1,"input-formatter"],"internalColor":[32],"isPopoverOpen":[32]}]]],["p-e7e963ba",[[1,"vega-combo-box",{"label":[1],"required":[516],"optional":[516],"name":[513],"source":[1040],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"disabled":[516],"placeholder":[1],"hint":[1],"size":[1],"containerMaxHeight":[520,"container-max-height"],"vegaDropdownProps":[16],"useDefaultFilter":[4,"use-default-filter"],"currentBreakpoint":[32],"close":[64],"open":[64]}]]],["p-1250b1ab",[[1,"vega-counter-badge",{"dot":[4],"color":[1],"count":[2],"offset":[16]}]]],["p-92528dc9",[[1,"vega-divider",{"direction":[1],"variant":[1],"margin":[1],"currentBreakpoint":[32]}]]],["p-0e298ee8",[[1,"vega-field-error",{"message":[1]}]]],["p-ca270da3",[[1,"vega-file-uploader",{"label":[1],"variant":[1],"hint":[1],"value":[1040],"disabled":[4],"maxCount":[2,"max-count"],"required":[4],"optional":[516],"name":[513],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"accept":[1]}]]],["p-2acf9b42",[[1,"vega-flag-icon",{"country":[1],"size":[1]}]]],["p-0499e65a",[[1,"vega-image-uploader",{"value":[1040],"accept":[1],"status":[1537],"showPreviewButton":[4,"show-preview-button"],"showRemoveButton":[4,"show-remove-button"],"showReplaceButton":[4,"show-replace-button"],"disabled":[516],"required":[516],"optional":[516],"name":[513],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"label":[1],"hint":[1],"actionTitle":[1,"action-title"],"actionSubTitle":[1,"action-sub-title"],"width":[8],"height":[8],"isInDarkMode":[32],"getContentURL":[64]}]]],["p-21f608e8",[[1,"vega-input-numeric",{"prefixText":[1,"prefix-text"],"suffixText":[1,"suffix-text"],"prefixIcon":[1,"prefix-icon"],"value":[1025],"size":[1],"placeholder":[1],"thousandComma":[4,"thousand-comma"],"integerOnly":[4,"integer-only"],"disabled":[4],"minorIncrement":[2,"minor-increment"],"majorIncrement":[2,"major-increment"],"label":[1],"hint":[1],"required":[4],"optional":[516],"name":[513],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"isCompactInputWidth":[32]}]]],["p-040ea356",[[1,"vega-input-passcode",{"label":[1],"disabled":[516],"size":[1],"hint":[1],"length":[2],"inputType":[1,"input-type"],"value":[1537],"required":[1540],"optional":[516],"name":[513],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"vegaInputValues":[32]}]]],["p-2540fd1c",[[1,"vega-input-phone-number",{"label":[1],"size":[1],"required":[1540],"optional":[516],"name":[513],"disabled":[516],"countryCode":[1537,"country-code"],"allowedCountryCodes":[16],"emptyValueEnabled":[4,"empty-value-enabled"],"value":[1537],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"placeholder":[1],"hint":[1],"phoneNumberInputValue":[32]}]]],["p-53fd3c41",[[1,"vega-input-range",{"label":[1],"value":[1040],"prefixIcon":[513,"prefix-icon"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"required":[1540],"optional":[516],"name":[513],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[16],"disabled":[516],"hint":[1],"stack":[1]}]]],["p-9fb3aeeb",[[1,"vega-line-chart",{"options":[16],"reRender":[64]}]]],["p-c04a90d8",[[1,"vega-pie-chart",{"options":[16],"reRender":[64]}]]],["p-9664e914",[[1,"vega-rich-text-content",{"content":[1040],"extensions":[16],"placeholder":[32],"contentEditable":[32],"extensionStyles":[32],"isInDarkMode":[32],"vegaFocus":[64]}]]],["p-a91927eb",[[1,"vega-rich-text-find-replace-panel",{"currentIndex":[32],"total":[32],"matchCase":[32],"wholeWords":[32],"updateResult":[64]}]]],["p-56417ec5",[[1,"vega-rich-text-special-characters-panel",{"categories":[16],"activeCategoryKey":[32],"hoveredItem":[32],"focusedCellIndex":[32],"resetPanel":[64]}]]],["p-65fee02f",[[1,"vega-section-title",{"titleText":[1,"title"],"description":[1],"icon":[1],"iconAlign":[1,"icon-align"],"iconColor":[1,"icon-color"],"size":[1]}]]],["p-fd23c365",[[1,"vega-segment-control",{"block":[4],"size":[1],"segments":[16],"selected":[1025],"variant":[1],"isOverflowBlockSegments":[32]}]]],["p-c3646101",[[1,"vega-signature-capture",{"mode":[1],"label":[1],"required":[516],"optional":[516],"name":[513],"showClearBtn":[4,"show-clear-btn"],"placeholder":[1],"placeholderIcon":[1,"placeholder-icon"],"disabled":[4],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"height":[8],"currentBreakpoint":[32],"isDrawing":[32],"clear":[64]}]]],["p-be783294",[[1,"vega-skeleton",{"type":[513],"width":[8],"height":[8],"animated":[4],"corners":[1]}]]],["p-e5226de6",[[1,"vega-slot-container"]]],["p-a034dfc0",[[1,"vega-dialog",{"dialogTitle":[1,"dialog-title"],"content":[1],"type":[1],"okButton":[16],"handleOk":[16],"cancelButton":[16],"handleCancel":[16],"showCancel":[4,"show-cancel"],"modalProps":[16],"currentBreakpoint":[32]}],[1,"vega-modal",{"backdrop":[1],"size":[8],"width":[8],"height":[8],"open":[1028],"animation":[4],"modalTitle":[1,"modal-title"],"backdropColor":[1,"backdrop-color"],"isVerticallyCenter":[4,"is-vertically-center"],"isVerticallyCentered":[4,"is-vertically-centered"],"showCloseButton":[4,"show-close-button"],"padding":[1],"margin":[1],"contentMaxHeight":[8,"content-max-height"],"corners":[1],"handleClose":[16],"currentBreakpoint":[32],"openState":[32],"sectionPaddingState":[32],"modal":[64]},[[10,"click","listenDataTarget"],[0,"click","listenDataDismiss"],[1,"mousedown","listenMouseDown"],[1,"mouseup","listenMouseUp"]]]]],["p-461100b8",[[1,"vega-font",{"variant":[1],"color":[1],"disableResponsive":[4,"disable-responsive"],"textAlign":[1,"text-align"],"as":[1],"currentBreakpoint":[32]}]]],["p-f5095035",[[1,"vega-form",{"isValid":[1028,"is-valid"],"isTouched":[1028,"is-touched"],"disableBlurValidation":[1028,"disable-blur-validation"],"useNativeForm":[4,"use-native-form"],"action":[1],"method":[1],"name":[513],"valid":[64],"getValue":[64],"setValue":[64],"reset":[64],"setValidationStates":[64]}]]],["p-ac94ba1b",[[1,"vega-grid",{"column":[8],"row":[8],"gap":[1],"justifyItems":[1,"justify-items"]}]]],["p-6b76b572",[[1,"vega-input-select",{"label":[1],"labelSuffixButtonConfig":[16],"required":[516],"optional":[516],"name":[513],"selectedLabel":[16],"selectType":[1,"select-type"],"source":[1040],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[4,"auto-validation"],"validationRules":[16],"prefixIcon":[1,"prefix-icon"],"disabled":[516],"placeholder":[1],"hint":[1],"vegaDropdownProps":[16],"selectedLabelTooltipProps":[16],"dropdownItemTooltipProps":[16],"size":[1],"sourceLazyLoadCallback":[16],"isDropdownShow":[32],"currentBreakpoint":[32],"isLazyLoading":[32],"selectedItem":[32],"doClose":[64],"doOpen":[64],"doChange":[64]}]]],["p-775ecfad",[[1,"vega-pagination-page-selector-mobile",{"type":[1],"pageCount":[2,"page-count"],"current":[1538],"total":[2]}]]],["p-9c4c474e",[[1,"vega-pagination-page-size-selector-mobile",{"type":[1],"pageSize":[1026,"page-size"],"pageSizeSelectorOptions":[1040],"total":[2],"current":[1538],"dropdownProps":[16],"isAllActive":[4,"is-all-active"]}]]],["p-aeb50cad",[[1,"vega-sidenav",{"source":[16],"footnote":[1],"headerConfig":[16],"openByDefault":[1,"open-by-default"],"openState":[32],"toggle":[64]},[[10,"click","collapseSidenavByBackDropClick"]]],[1,"vega-sidenav-group",{"icon":[1],"label":[1],"openState":[32]}],[1,"vega-sidenav-link",{"icon":[1],"selected":[1540],"url":[1],"showSideBarOnClickLink":[4,"show-side-bar-on-click-link"],"openState":[32]}]]],["p-1132a74e",[[1,"vega-button",{"size":[1],"variant":[1],"icon":[1],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"block":[4],"type":[1],"loading":[4],"currentBreakpoint":[32]}]]],["p-5f96e741",[[1,"vega-box",{"padding":[1],"margin":[1],"display":[1],"border":[1],"borderStyle":[1,"border-style"],"shadow":[1],"borderColor":[1,"border-color"],"backgroundColor":[1,"background-color"],"width":[8],"height":[8],"minHeight":[8,"min-height"],"maxHeight":[8,"max-height"],"responsiveClass":[1,"responsive-class"],"corners":[1],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"order":[8],"flex":[8],"alignSelf":[1,"align-self"],"justifySelf":[1,"justify-self"],"gridColumn":[8,"grid-column"],"gridRow":[8,"grid-row"],"gridArea":[8,"grid-area"],"currentBreakpoint":[32]}]]],["p-deaf037a",[[1,"vega-tooltip-content-box",{"text":[1]}],[1,"vega-tooltip",{"size":[8],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"trigger":[1],"content":[1],"text":[1],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"disableInteractive":[4,"disable-interactive"],"isTooltipShow":[32]}]]],["p-b00ec194",[[1,"vega-icon",{"icon":[513],"size":[1],"color":[1]}]]],["p-2eb8e167",[[1,"vega-button-circle",{"size":[1],"variant":[1],"icon":[513],"label":[513],"disabled":[4],"danger":[4],"type":[1],"iconColor":[1,"icon-color"],"showTooltip":[4,"show-tooltip"],"tooltip":[16]}]]],["p-2d7388c9",[[1,"vega-input",{"label":[513],"labelSuffixButtonProps":[16],"labelSuffixButtonConfig":[16],"value":[1537],"valueUpdateTrigger":[1,"value-update-trigger"],"type":[513],"name":[513],"autocomplete":[1],"inputmode":[1],"enterkeyhint":[1],"readOnly":[4,"read-only"],"prefixIcon":[513,"prefix-icon"],"email":[516],"required":[1540],"optional":[516],"min":[514],"max":[514],"minLength":[514,"min-length"],"maxLength":[514,"max-length"],"showClearIcon":[4,"show-clear-icon"],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[1],"disabled":[516],"hint":[1],"maskConfig":[16],"disableCopyPaste":[4,"disable-copy-paste"],"suggestionsDropdownSource":[16],"prefixText":[32],"suffixText":[32],"isCompactInputWidth":[32],"isPasswordDisplay":[32],"suggestionsDropdownConfig":[32],"doFocus":[64],"doBlur":[64],"showSuggestionsDropdown":[64],"hideSuggestionsDropdown":[64]}]]],["p-306720b8",[[1,"vega-text",{"overflow":[1],"text":[1],"tooltip":[16]}]]],["p-b3733762",[[1,"vega-field-label",{"suffixButtonProps":[16],"suffixButtonConfig":[16],"label":[1025],"isFieldRequired":[4,"is-field-required"],"disabled":[4],"optional":[4]}]]],["p-f29ea345",[[1,"vega-flex",{"gap":[1],"margin":[1],"breakpoint":[1],"direction":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"flexWrap":[1,"flex-wrap"],"flex":[8],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"useNativeFlex":[4,"use-native-flex"],"currentBreakpoint":[32]}]]]]'),e))));
1
+ import{p as e,b as a}from"./p-6b2342e0.js";import{g as i}from"./p-7e8fdac4.js";import"./p-87a4d75f.js";import"./p-6e1ab235.js";import"./p-982747ef.js";import"./p-10d30c03.js";import"./p-8b5d3a52.js";import"./p-528748fa.js";import"./p-afcd8f04.js";import"./p-6a334573.js";import"./p-781fd6e0.js";import"./p-262ec334.js";import"./p-81dd00d0.js";import"./p-49a2e141.js";import"./p-d4ea8e22.js";import"./p-ed45b3b6.js";import"./p-b75ee3ba.js";import"./p-8c30a60d.js";import"./p-5447a8e8.js";import"./p-874e5624.js";import"./p-2d0d575f.js";import"./p-cb378636.js";import"./p-39c5054b.js";import"./p-456f678b.js";import"./p-b438e68b.js";import"./p-3d0b4074.js";import"./p-571ec00b.js";import"./p-526e3634.js";import"./p-331a62d5.js";import"./p-4a2fe3a4.js";import"./p-02841589.js";import"./p-3e09aeed.js";import"./p-fb5ea4b2.js";import"./p-4866e390.js";import"./p-f0e828d8.js";import"./p-a841cf13.js";import"./p-0eb29065.js";import"./p-6031bed1.js";import"./p-ffdc25ec.js";import"./p-56493601.js";import"./p-77e64f26.js";import"./p-0c667d6a.js";import"./p-1bc5b3bc.js";import"./p-6fd4f2c6.js";import"./p-890a5254.js";import"./p-e8f50fc5.js";import"./p-12e8a1b2.js";import"./p-abd7aeaa.js";import"./p-5f377954.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((e=>(i(),a(JSON.parse('[["p-085d1647",[[1,"vega-pagination",{"current":[1538],"total":[2],"pageSize":[1026,"page-size"],"extensions":[16],"layout":[1],"pageSizeSelectorOptions":[1040],"dropdownProps":[16],"currentBreakpoint":[32],"pageCount":[32],"isAllActive":[32]}]]],["p-db11134b",[[1,"vega-page-notification",{"notificationTitle":[1,"title"],"message":[1],"type":[1],"duration":[2],"showCloseButton":[4,"show-close-button"],"actionButtons":[16],"close":[64]}],[1,"vega-page-notification-list"]]],["p-1aedbfd2",[[1,"vega-color-picker",{"value":[1537],"hint":[1],"disabled":[516],"required":[516],"optional":[516],"name":[513],"label":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"colors":[16],"isInline":[4,"is-inline"],"columns":[2]}]]],["p-56598858",[[1,"vega-stepper",{"stepperId":[513,"id"],"max":[514],"min":[514],"value":[1538],"label":[1],"inputDisabled":[4,"input-disabled"],"disabled":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"name":[513],"buttonVariant":[1,"button-variant"]}]]],["p-52c69f9e",[[1,"vega-checkbox-group",{"label":[1],"value":[1040],"vegaFlexProp":[16],"disabled":[516],"required":[516],"optional":[516],"name":[513],"hint":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16]}],[1,"vega-checkbox",{"identifier":[1],"value":[1032],"checked":[1028],"indeterminate":[1540],"disabled":[516],"size":[1],"required":[516],"name":[513],"isValid":[1540,"is-valid"],"groupDisabled":[32],"showError":[32],"setValue":[64]}]]],["p-ccbe3f1b",[[1,"vega-app-header-button",{"dropdown":[16],"size":[1],"labelConfig":[16],"label":[513],"showLabel":[4,"show-label"],"avatar":[16],"avatarPosition":[1,"avatar-position"],"showBorder":[4,"show-border"],"showMenuArrowIcon":[4,"show-menu-arrow-icon"],"selected":[4],"isDropdownShow":[32],"currentBreakpoint":[32]}]]],["p-36d2df7a",[[1,"vega-button-link",{"link":[1],"size":[1],"icon":[513],"iconType":[1,"icon-type"],"iconAlign":[1,"icon-align"],"label":[1537],"disabled":[4],"danger":[4],"eventful":[4],"target":[1]}]]],["p-72ab5cd5",[[1,"vega-chip",{"text":[1],"clickable":[4],"variant":[1],"size":[1],"bgColor":[1,"bg-color"],"textColor":[1,"text-color"],"statusColor":[1,"status-color"],"chipType":[1,"chip-type"],"showCloseIcon":[4,"show-close-icon"],"icon":[1],"iconAlign":[1,"icon-align"],"iconColor":[1,"icon-color"],"currentBreakpoint":[32],"currentSize":[32]}]]],["p-200c8914",[[1,"vega-item-toggle",{"itemToggleStatusMap":[16],"statusMap":[16],"isToggled":[1028,"is-toggled"],"toggleItemStatus":[32]}]]],["p-7dcd2850",[[1,"vega-radio-group",{"label":[1],"value":[1537],"name":[513],"vegaFlexProp":[16],"required":[516],"optional":[516],"hint":[1],"isValid":[1540,"is-valid"],"disabled":[516],"autoValidation":[516,"auto-validation"],"validationRules":[16]}],[1,"vega-radio",{"value":[1],"name":[1],"checked":[1028],"disabled":[4],"size":[1],"groupDisabled":[32],"showError":[32]}]]],["p-adc64ff6",[[1,"vega-hint"]]],["p-c70748f7",[[1,"vega-textarea",{"placeholder":[1],"hint":[1],"disabled":[516],"label":[1],"labelSuffixButtonConfig":[16],"showCounter":[4,"show-counter"],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"required":[1540],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"optional":[516],"name":[513],"resizable":[4],"rows":[2],"validationRules":[16],"currentCharCount":[32]},[[0,"input","handleValueTextarea"]]]]],["p-0cbf09f7",[[1,"vega-toggle-switch",{"checked":[1540],"value":[1540],"size":[1],"label":[1],"required":[516],"optional":[516],"name":[513],"disabled":[516],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"]}]]],["p-03eeadc1",[[1,"vega-table-cell",{"textAlign":[1,"text-align"],"breakpoint":[1],"overflow":[1],"width":[1],"colSpan":[2,"col-span"],"ellipsisShowTooltip":[4,"ellipsis-show-tooltip"],"currentBreakpoint":[32],"density":[32],"rowDivider":[32],"columnDivider":[32],"clickable":[32],"checked":[32],"striped":[32],"expanded":[32],"renderInput":[32],"ellipsisTooltipText":[32],"ellipsisTooltipTrigger":[32]}],[1,"vega-table",{"columns":[16],"groupColumns":[16],"dataSource":[1040],"rowSelection":[1040],"rowExpandable":[4,"row-expandable"],"rowClickable":[4,"row-clickable"],"rowDraggable":[4,"row-draggable"],"rowDivider":[4,"row-divider"],"columnDivider":[4,"column-divider"],"striped":[4],"density":[1],"paddingX":[16],"showHeader":[4,"show-header"],"pagination":[16],"emptyDescription":[1,"empty-description"],"rowKey":[1,"row-key"],"scrollConfig":[16],"sortConfig":[16],"showEditError":[4,"show-edit-error"],"selectedRowKeySet":[32],"expandedRowKeySet":[32],"currentBreakpoint":[32],"sortersMap":[32],"currentData":[32],"currentClickedRowKey":[32],"currentPage":[32],"pageSize":[32],"editingRows":[32],"isSelectedAll":[32],"isTemplateRenderMode":[32],"templateGroupColumns":[32],"columnStructureModel":[32],"expandableRows":[32],"hasExpandableRow":[32],"openExpandRow":[64],"closeExpandRow":[64],"closeAllExpandRow":[64],"toggleExpandRow":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64],"startRowEditMode":[64],"stopRowEditMode":[64],"stopAllRowEditMode":[64],"getRowData":[64],"getRowsData":[64],"getFormRef":[64],"addNewRow":[64],"saveEditRow":[64],"saveAllEditRows":[64],"getEditingRowsKey":[64],"removeRow":[64]}],[1,"vega-table-body"],[1,"vega-table-expand-row",{"rowKey":[1,"row-key"],"striped":[4],"currentBreakpoint":[32],"withMultipleSelection":[32],"withRowDraggable":[32],"expanded":[32],"checked":[32],"colSpan":[32]}],[1,"vega-table-foot",{"fixed":[32],"rowDivider":[32]}],[1,"vega-table-foot-cell",{"breakpoint":[1],"textAlign":[1,"text-align"],"width":[1],"colSpan":[2,"col-span"],"currentBreakpoint":[32],"density":[32],"columnDivider":[32]}],[1,"vega-table-foot-row",{"currentBreakpoint":[32],"hasExpandableRow":[32],"selectionType":[32],"paddingX":[32],"columnDivider":[32],"draggable":[32],"density":[32]}],[1,"vega-table-head",{"fixed":[32]}],[1,"vega-table-head-cell",{"breakpoint":[1],"sorter":[1],"sortOrder":[1025,"sort-order"],"textAlign":[1,"text-align"],"width":[1],"sortConfig":[16],"pinned":[513],"groupKey":[513,"group-key"],"parentGroupKey":[513,"parent-group-key"],"currentBreakpoint":[32],"density":[32],"columnDivider":[32],"renderInput":[32]}],[1,"vega-table-head-row",{"selectAllDisabled":[4,"select-all-disabled"],"hideSelectAll":[4,"hide-select-all"],"currentBreakpoint":[32],"hasExpandableRow":[32],"selectionType":[32],"paddingX":[32],"checkedAll":[32],"columnDivider":[32],"density":[32],"isEmptyTable":[32],"isTemplateRenderMode":[32],"renderInput":[32],"draggable":[32]}],[1,"vega-table-row",{"rowKey":[1,"row-key"],"striped":[4],"rowDivider":[4,"row-divider"],"currentBreakpoint":[32],"clicked":[32],"hasExpandableRow":[32],"expandable":[32],"clickable":[32],"paddingX":[32],"selectionType":[32],"checked":[32],"expanded":[32],"columnDivider":[32],"density":[32],"draggable":[32]}]]],["p-fb9475ab",[[1,"vega-button-group",{"variant":[1],"size":[1],"iconAlign":[1,"icon-align"],"disabled":[4],"allItemsDisabled":[32]}],[1,"vega-button-group-item",{"icon":[1],"label":[1],"iconOnly":[4,"icon-only"],"disabled":[516],"itemKey":[1,"item-key"],"dropdownProps":[16],"dropdownSource":[16],"variant":[32],"size":[32],"iconAlign":[32],"parentDisabled":[32],"allItemsDisabled":[32]}]]],["p-b98ead05",[[1,"vega-loading-indicator",{"shape":[1],"size":[1],"mode":[1],"percent":[2],"label":[1],"hint":[1],"status":[1],"currentBreakpoint":[32]}],[1,"vega-loader-wrapper"]]],["p-a8174ad8",[[1,"vega-carousel",{"perPage":[2,"per-page"],"itemsPerPage":[2,"items-per-page"],"showSlider":[4,"show-slider"],"spacing":[1],"canSwipe":[4,"can-swipe"],"page":[32],"totalPages":[32],"nextPage":[64],"prevPage":[64],"goToPage":[64]}]]],["p-d470fce2",[[1,"vega-input-credit-card",{"required":[1540],"optional":[516],"name":[513],"disabled":[516],"label":[1],"hint":[1],"size":[1],"placeholder":[1],"hideCardNumberOnBlur":[4,"hide-card-number-on-blur"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"isValid":[1540,"is-valid"],"value":[1537]}]]],["p-cfe268a8",[[1,"vega-calendar",{"viewMode":[1025,"view-mode"],"events":[16],"timeFormat":[1,"time-format"],"isDateDisabled":[16],"moreActionDropdownProps":[16],"showEventColorBar":[4,"show-event-color-bar"],"showSwitchView":[4,"show-switch-view"],"enableDateClick":[4,"enable-date-click"],"showWeekends":[4,"show-weekends"],"enabledEventPreview":[4,"enabled-event-preview"],"timezone":[1],"eventEditable":[4,"event-editable"],"getEventPreviewActions":[16],"calendarView":[32],"currentPeriod":[32],"postOperationDate":[32],"showAllEventsInDayOrWeekView":[32],"calendarEvents":[32],"setCurrentPeriod":[64],"getCurrentPeriod":[64]}],[1,"vega-calendar-event",{"calendarEvent":[16],"timeFormat":[32],"slotMode":[32],"showColorBar":[32]}],[1,"vega-calendar-event-preview",{"previewPayload":[32],"currentEvent":[32],"eventActions":[32]}],[1,"vega-calendar-event-slot",{"eventKey":[513,"event-key"]}],[1,"vega-calendar-period-switcher",{"viewMode":[1025,"view-mode"],"timezone":[1],"showWeekends":[4,"show-weekends"],"currentPeriod":[32],"setCurrentPeriod":[64],"getCurrentPeriod":[64]}]]],["p-5b1f5e4a",[[1,"vega-dropdown",{"size":[8],"trigger":[1],"translocation":[16],"source":[1040],"positionRelativeTo":[1,"position-relative-to"],"selectType":[1,"select-type"],"selectedSourceKey":[1025,"selected-source-key"],"prefixIconSlot":[4,"prefix-icon-slot"],"maxHeight":[2,"max-height"],"searchable":[4],"matchTargetWidth":[4,"match-target-width"],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"itemDisplayRule":[1,"item-display-rule"],"itemTooltipProps":[16],"matchContainerHeight":[4,"match-container-height"],"caseSensitive":[4,"case-sensitive"],"dynamicOption":[4,"dynamic-option"],"useDefaultFilter":[4,"use-default-filter"],"isLoading":[4,"is-loading"],"placement":[1],"alignment":[1],"isLazyLoading":[4,"is-lazy-loading"],"searchTriggerBy":[1,"search-trigger-by"],"isScreenPosition":[4,"is-screen-position"],"resettable":[4],"virtualizationThreshold":[2,"virtualization-threshold"],"preserveValueIfNotInSource":[4,"preserve-value-if-not-in-source"],"searchNoResultsText":[1,"search-no-results-text"],"allowSelectAll":[516,"allow-select-all"],"searchString":[32],"isDropdownShow":[32],"sourceForRender":[32],"renderMode":[32],"show":[64],"hide":[64],"search":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64],"syncTemplateData":[64]}],[1,"vega-dropdown-content-box"],[1,"vega-dropdown-group",{"label":[1],"divide":[4]}],[1,"vega-dropdown-item",{"label":[1],"itemKey":[513,"item-key"],"count":[2],"prefixIcon":[1,"prefix-icon"],"disabled":[4],"height":[2],"danger":[4],"selectType":[32],"prefixIconSlot":[32],"selected":[32],"indeterminate":[32],"itemDisplayRule":[32],"itemTooltipProps":[32]}],[1,"vega-virtual-scroll",{"source":[16],"approxItemHeight":[2,"approx-item-height"],"viewportMaxHeight":[2,"viewport-max-height"],"isLoading":[4,"is-loading"],"virtualizationThreshold":[2,"virtualization-threshold"],"sourceItemIdentifier":[1,"source-item-identifier"],"renderItem":[16],"positionConfig":[32],"scrollTop":[32],"scrollToIndex":[64]}]]],["p-035e2f05",[[1,"vega-left-nav",{"open":[1028],"headerConfig":[16],"source":[16],"footnote":[1],"showAsOverlay":[4,"show-as-overlay"],"autoCollapseOnOverlay":[4,"auto-collapse-on-overlay"],"autoCollapseGroups":[8,"auto-collapse-groups"],"currentBranding":[32],"openState":[32],"toggle":[64]}],[1,"vega-left-nav-group",{"icon":[1],"label":[1],"openByDefault":[4,"open-by-default"],"itemKey":[1,"item-key"],"autoCollapseGroups":[32]}],[1,"vega-left-nav-link",{"icon":[1],"selected":[1540],"customSelectionEnabled":[4,"custom-selection-enabled"],"url":[1],"counterBadge":[16],"itemKey":[1,"item-key"],"target":[1]}],[1,"vega-left-nav-section",{"sectionHeader":[16],"itemKey":[1,"item-key"]}],[1,"vega-nav-card",{"source":[16],"maxHeight":[520,"max-height"],"currentMaxHeight":[32]}]]],["p-6234852e",[[1,"vega-rich-text-editor",{"label":[1],"required":[516],"optional":[516],"name":[513],"placeholder":[1],"disabled":[4],"hint":[1],"rows":[2],"value":[1040],"toolbarItems":[16],"allowSourceEdit":[4,"allow-source-edit"],"sourceEditConfig":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"textStyleItems":[16],"extensions":[16],"richTextContentEditable":[32],"selectionMap":[32],"isInDarkMode":[32],"sourceView":[32],"uniqueToolbarItems":[32]}],[1,"vega-rich-text-editor-toolbar-button",{"disabled":[4],"hidden":[4],"selected":[4],"showArrowIcon":[4,"show-arrow-icon"],"arrowIcon":[1,"arrow-icon"],"icon":[1],"iconColor":[1,"icon-color"]}],[1,"vega-rich-text-image-editor",{"alt":[513],"size":[1537],"currentPage":[32],"selected":[32]}],[1,"vega-rich-text-link-editor",{"status":[1025],"record":[16],"resetStatusAfterHide":[4,"reset-status-after-hide"],"target":[16],"show":[64],"hide":[64]}]]],["p-c6d775b8",[[1,"vega-rich-text-table-properties",{"defaultValue":[16],"styleMap":[16],"type":[513],"colors":[16],"isInDarkMode":[32]}],[1,"vega-rich-text-table-selection-widget",{"isSelected":[32]}],[1,"vega-rich-text-table-setting",{"hasCaption":[4,"has-caption"],"selectedCells":[1040],"target":[16],"isColumnDropdownOpen":[32],"isMergeCellsDropdownOpen":[32]}]]],["p-3737b9e2",[[1,"vega-date-picker",{"mode":[1],"value":[1537],"label":[1],"required":[516],"optional":[516],"name":[513],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"format":[1],"size":[1],"validationRules":[16],"minDate":[1537,"min-date"],"maxDate":[1537,"max-date"],"placeholder":[1],"clearButton":[4,"clear-button"],"readOnly":[4,"read-only"],"allowRepick":[4,"allow-repick"],"dropdownConfig":[16],"showClearIcon":[4,"show-clear-icon"],"showYearMonthDropdowns":[4,"show-year-month-dropdowns"],"disabled":[516],"timezone":[1],"isDateDisabled":[16],"isMobileDevice":[32],"isCalendarShow":[32],"doClose":[64],"doOpen":[64]}],[1,"vega-date-picker-calendar",{"size":[1],"fillContainer":[4,"fill-container"],"mode":[1],"selection":[1025],"format":[1],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"clearButton":[4,"clear-button"],"staticHeight":[4,"static-height"],"timezone":[1],"showYearMonthDropdowns":[4,"show-year-month-dropdowns"],"yearMonthDropdownProps":[16],"dualMonths":[4,"dual-months"],"isDateDisabled":[16],"dateIndicator":[16],"currentSize":[32],"isMobileDevice":[32],"today":[32],"currentPeriod":[32],"hoverDate":[32],"calendarSelection":[32],"maxCalendarDate":[32],"minCalendarDate":[32],"isDualMonths":[32],"reset":[64],"triggerRepick":[64]}]]],["p-585e4f1c",[[1,"vega-popover",{"size":[8],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"trigger":[1],"showArrow":[4,"show-arrow"],"isScreenPosition":[4,"is-screen-position"],"padding":[1],"isPopoverShow":[32],"show":[64],"hide":[64]}],[1,"vega-popover-content-box",{"showArrow":[4,"show-arrow"],"padding":[1]}]]],["p-8c56d74d",[[1,"vega-progress-tracker",{"current":[1026],"direction":[1],"steps":[16],"completedStepArray":[16],"completedSteps":[16],"canClickStep":[4,"can-click-step"],"allowNoCurrentStep":[4,"allow-no-current-step"],"currentSteps":[32],"currentDirection":[32],"nextStep":[64],"prevStep":[64],"setCurrent":[64],"getCurrent":[64]}],[1,"vega-progress-tracker-step",{"stepKey":[513,"step-key"],"clickable":[516],"progressStatus":[32],"isCurrent":[32]}]]],["p-4e065ef7",[[1,"vega-selection-chip",{"label":[1],"size":[1],"variant":[1],"disabled":[1028],"checked":[1540],"block":[4],"disabledTooltip":[16],"swatchColor":[1,"swatch-color"],"value":[1],"showError":[32],"currentBreakpoint":[32],"selectType":[32]}],[1,"vega-selection-chip-group",{"label":[1],"hint":[1],"selectType":[1,"select-type"],"value":[1025],"required":[4],"optional":[516],"name":[513],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-c5fb8a69",[[1,"vega-selection-tile",{"titleText":[1,"title"],"note":[1],"prefixIcon":[1,"prefix-icon"],"disabled":[1028],"checked":[1028],"selectType":[1025,"select-type"],"value":[1],"showError":[32],"distributeEvenly":[32]}],[1,"vega-selection-tile-group",{"label":[1],"hint":[1],"distributeEvenly":[4,"distribute-evenly"],"selectType":[1,"select-type"],"value":[1025],"layout":[1],"required":[4],"optional":[516],"name":[513],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-fa65956c",[[1,"vega-tab-group",{"selectedTabDataTarget":[1025,"selected-tab-data-target"],"gap":[1],"showCloseButton":[4,"show-close-button"],"tabItems":[1040],"positionRelativeTo":[1,"position-relative-to"],"variant":[1],"overflow":[1],"tabPages":[32],"tabWidthArray":[32],"currentPageIndex":[32]}],[1,"vega-tab-group-panel",{"isActive":[4,"is-active"]}]]],["p-17c69503",[[1,"vega-time-picker",{"label":[1],"mode":[1],"required":[516],"optional":[516],"name":[513],"placeholder":[1],"increments":[2],"timeFormat":[513,"time-format"],"value":[1537],"size":[1],"disabled":[516],"readOnly":[4,"read-only"],"showClearIcon":[4,"show-clear-icon"],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"positionRelativeTo":[1,"position-relative-to"],"vegaDropdownProps":[16],"dropdownSource":[32],"isDropdownShow":[32],"selectedTimeValue":[32]}],[1,"vega-time-picker-dropdown"]]],["p-c2277448",[[1,"vega-accordion",{"drawsBackground":[4,"draws-background"],"prefixIcon":[1,"prefix-icon"],"accordionTitle":[1,"accordion-title"],"titleBackgroundColor":[1,"title-background-color"],"expandIconAlign":[1,"expand-icon-align"],"expand":[1028],"iconPosition":[1,"icon-position"],"showExpandIcon":[4,"show-expand-icon"],"groupId":[1,"group-id"]}]]],["p-8d96f0e8",[[1,"vega-app-footer",{"content":[1],"termOfUseLabel":[1,"term-of-use-label"],"termOfUseUrl":[1,"term-of-use-url"],"termOfUseUrlTarget":[1,"term-of-use-url-target"],"termOfUseUrlId":[1,"term-of-use-url-id"],"privacyPolicyLabel":[1,"privacy-policy-label"],"privacyPolicyUrl":[1,"privacy-policy-url"],"privacyPolicyUrlTarget":[1,"privacy-policy-url-target"],"privacyPolicyUrlId":[1,"privacy-policy-url-id"],"hideDefaultLinks":[4,"hide-default-links"],"additionalLinks":[16],"showDisclaimer":[4,"show-disclaimer"],"disclaimerUrlTarget":[1,"disclaimer-url-target"],"currentBranding":[32]}]]],["p-e18c0656",[[1,"vega-backdrop",{"color":[1],"visible":[4],"duration":[2]}]]],["p-f9bfee81",[[1,"vega-banner",{"type":[1],"bannerTitle":[1,"banner-title"],"content":[1],"actionButtons":[16],"showCloseButton":[4,"show-close-button"],"isOpen":[4,"is-open"],"doClose":[64]}]]],["p-3911e760",[[1,"vega-bar-chart",{"options":[16]}]]],["p-9abf7d0a",[[1,"vega-brand-logo",{"name":[1],"size":[1],"theme":[1],"isInDarkMode":[32]}]]],["p-ec64cc59",[[1,"vega-breadcrumb",{"maxItems":[8,"max-items"],"items":[16],"compactOnMobile":[4,"compact-on-mobile"],"lastItemClickable":[4,"last-item-clickable"]}]]],["p-a484e32d",[[1,"vega-card",{"padding":[1],"margin":[1],"variant":[1],"backgroundColor":[1,"background-color"]}]]],["p-da867019",[[1,"vega-code-block",{"readOnly":[4,"read-only"],"disabled":[4],"showCopyButton":[4,"show-copy-button"],"showLineNumber":[4,"show-line-number"],"value":[1040],"doFocus":[64]}]]],["p-0cf3b5c1",[[1,"vega-color-swatch",{"color":[1],"selected":[1540],"label":[1],"size":[1],"disabled":[516],"variant":[1],"shape":[1]}]]],["p-6f537797",[[1,"vega-color-swatch-picker",{"value":[1025],"label":[1],"disabled":[4],"required":[516],"name":[513],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"colors":[16],"swatchGridColumns":[8,"swatch-grid-columns"],"showInput":[4,"show-input"],"inputPlaceholder":[1,"input-placeholder"],"inputPrefixIcon":[1,"input-prefix-icon"],"showClearButton":[4,"show-clear-button"],"inputFormatter":[1,"input-formatter"],"internalColor":[32],"isPopoverOpen":[32]}]]],["p-544ce391",[[1,"vega-combo-box",{"label":[1],"required":[516],"optional":[516],"name":[513],"source":[1040],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"disabled":[516],"placeholder":[1],"hint":[1],"size":[1],"containerMaxHeight":[520,"container-max-height"],"vegaDropdownProps":[16],"useDefaultFilter":[4,"use-default-filter"],"currentBreakpoint":[32],"close":[64],"open":[64]}]]],["p-1250b1ab",[[1,"vega-counter-badge",{"dot":[4],"color":[1],"count":[2],"offset":[16]}]]],["p-92528dc9",[[1,"vega-divider",{"direction":[1],"variant":[1],"margin":[1],"currentBreakpoint":[32]}]]],["p-0e298ee8",[[1,"vega-field-error",{"message":[1]}]]],["p-9834d5d4",[[1,"vega-file-uploader",{"label":[1],"variant":[1],"hint":[1],"value":[1040],"disabled":[4],"hideDeleteButton":[4,"hide-delete-button"],"disableDeleteOnUpload":[4,"disable-delete-on-upload"],"maxCount":[2,"max-count"],"required":[4],"optional":[516],"name":[513],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"accept":[1]}]]],["p-2acf9b42",[[1,"vega-flag-icon",{"country":[1],"size":[1]}]]],["p-36d9e782",[[1,"vega-image-uploader",{"value":[1040],"accept":[1],"status":[1537],"showPreviewButton":[4,"show-preview-button"],"showRemoveButton":[4,"show-remove-button"],"showReplaceButton":[4,"show-replace-button"],"disabled":[516],"required":[516],"optional":[516],"name":[513],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"label":[1],"hint":[1],"actionTitle":[1,"action-title"],"actionSubTitle":[1,"action-sub-title"],"width":[8],"height":[8],"isInDarkMode":[32],"getContentURL":[64]}]]],["p-4cbfc01e",[[1,"vega-input-numeric",{"prefixText":[1,"prefix-text"],"suffixText":[1,"suffix-text"],"prefixIcon":[1,"prefix-icon"],"value":[1025],"size":[1],"placeholder":[1],"thousandComma":[4,"thousand-comma"],"integerOnly":[4,"integer-only"],"disabled":[4],"minorIncrement":[2,"minor-increment"],"majorIncrement":[2,"major-increment"],"label":[1],"hint":[1],"required":[4],"optional":[516],"name":[513],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"isCompactInputWidth":[32]}]]],["p-4bfe3258",[[1,"vega-input-passcode",{"label":[1],"disabled":[516],"size":[1],"hint":[1],"length":[2],"inputType":[1,"input-type"],"value":[1537],"required":[1540],"optional":[516],"name":[513],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"vegaInputValues":[32]}]]],["p-6d4518d7",[[1,"vega-input-phone-number",{"label":[1],"size":[1],"required":[1540],"optional":[516],"name":[513],"disabled":[516],"countryCode":[1537,"country-code"],"allowedCountryCodes":[16],"emptyValueEnabled":[4,"empty-value-enabled"],"value":[1537],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"placeholder":[1],"hint":[1],"phoneNumberInputValue":[32]}]]],["p-c98c2f5f",[[1,"vega-input-range",{"label":[1],"value":[1040],"prefixIcon":[513,"prefix-icon"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"required":[1540],"optional":[516],"name":[513],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[16],"disabled":[516],"hint":[1],"stack":[1]}]]],["p-9fb3aeeb",[[1,"vega-line-chart",{"options":[16],"reRender":[64]}]]],["p-c04a90d8",[[1,"vega-pie-chart",{"options":[16],"reRender":[64]}]]],["p-f62c5a20",[[1,"vega-rich-text-content",{"content":[1040],"extensions":[16],"placeholder":[32],"contentEditable":[32],"extensionStyles":[32],"isInDarkMode":[32],"vegaFocus":[64]}]]],["p-a91927eb",[[1,"vega-rich-text-find-replace-panel",{"currentIndex":[32],"total":[32],"matchCase":[32],"wholeWords":[32],"updateResult":[64]}]]],["p-56417ec5",[[1,"vega-rich-text-special-characters-panel",{"categories":[16],"activeCategoryKey":[32],"hoveredItem":[32],"focusedCellIndex":[32],"resetPanel":[64]}]]],["p-65fee02f",[[1,"vega-section-title",{"titleText":[1,"title"],"description":[1],"icon":[1],"iconAlign":[1,"icon-align"],"iconColor":[1,"icon-color"],"size":[1]}]]],["p-fd23c365",[[1,"vega-segment-control",{"block":[4],"size":[1],"segments":[16],"selected":[1025],"variant":[1],"isOverflowBlockSegments":[32]}]]],["p-1cff027b",[[1,"vega-signature-capture",{"mode":[1],"label":[1],"required":[516],"optional":[516],"name":[513],"showClearBtn":[4,"show-clear-btn"],"placeholder":[1],"placeholderIcon":[1,"placeholder-icon"],"disabled":[4],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"height":[8],"currentBreakpoint":[32],"isDrawing":[32],"clear":[64]}]]],["p-be783294",[[1,"vega-skeleton",{"type":[513],"width":[8],"height":[8],"animated":[4],"corners":[1]}]]],["p-e5226de6",[[1,"vega-slot-container"]]],["p-2f07d719",[[1,"vega-dialog",{"dialogTitle":[1,"dialog-title"],"content":[1],"type":[1],"okButton":[16],"handleOk":[16],"cancelButton":[16],"handleCancel":[16],"showCancel":[4,"show-cancel"],"modalProps":[16],"currentBreakpoint":[32]}],[1,"vega-modal",{"backdrop":[1],"size":[8],"width":[8],"height":[8],"open":[1028],"animation":[4],"modalTitle":[1,"modal-title"],"backdropColor":[1,"backdrop-color"],"isVerticallyCenter":[4,"is-vertically-center"],"isVerticallyCentered":[4,"is-vertically-centered"],"showCloseButton":[4,"show-close-button"],"padding":[1],"margin":[1],"contentMaxHeight":[8,"content-max-height"],"corners":[1],"handleClose":[16],"currentBreakpoint":[32],"openState":[32],"sectionPaddingState":[32],"modal":[64]},[[10,"click","listenDataTarget"],[0,"click","listenDataDismiss"],[1,"mousedown","listenMouseDown"],[1,"mouseup","listenMouseUp"]]]]],["p-461100b8",[[1,"vega-font",{"variant":[1],"color":[1],"disableResponsive":[4,"disable-responsive"],"textAlign":[1,"text-align"],"as":[1],"currentBreakpoint":[32]}]]],["p-cb81126a",[[1,"vega-form",{"isValid":[1028,"is-valid"],"isTouched":[1028,"is-touched"],"disableBlurValidation":[1028,"disable-blur-validation"],"useNativeForm":[4,"use-native-form"],"action":[1],"method":[1],"name":[513],"valid":[64],"getValue":[64],"setValue":[64],"reset":[64],"setValidationStates":[64]}]]],["p-ac94ba1b",[[1,"vega-grid",{"column":[8],"row":[8],"gap":[1],"justifyItems":[1,"justify-items"]}]]],["p-f6c0e9e7",[[1,"vega-input-select",{"label":[1],"labelSuffixButtonConfig":[16],"required":[516],"optional":[516],"name":[513],"selectedLabel":[16],"selectType":[1,"select-type"],"source":[1040],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[4,"auto-validation"],"validationRules":[16],"prefixIcon":[1,"prefix-icon"],"disabled":[516],"placeholder":[1],"hint":[1],"vegaDropdownProps":[16],"selectedLabelTooltipProps":[16],"dropdownItemTooltipProps":[16],"size":[1],"sourceLazyLoadCallback":[16],"isDropdownShow":[32],"currentBreakpoint":[32],"isLazyLoading":[32],"selectedItem":[32],"doClose":[64],"doOpen":[64],"doChange":[64]}]]],["p-cf4b3d40",[[1,"vega-pagination-page-selector-mobile",{"type":[1],"pageCount":[2,"page-count"],"current":[1538],"total":[2]}]]],["p-95c18f79",[[1,"vega-pagination-page-size-selector-mobile",{"type":[1],"pageSize":[1026,"page-size"],"pageSizeSelectorOptions":[1040],"total":[2],"current":[1538],"dropdownProps":[16],"isAllActive":[4,"is-all-active"]}]]],["p-ca3c1317",[[1,"vega-sidenav",{"source":[16],"footnote":[1],"headerConfig":[16],"openByDefault":[1,"open-by-default"],"openState":[32],"toggle":[64]},[[10,"click","collapseSidenavByBackDropClick"]]],[1,"vega-sidenav-group",{"icon":[1],"label":[1],"openState":[32]}],[1,"vega-sidenav-link",{"icon":[1],"selected":[1540],"url":[1],"showSideBarOnClickLink":[4,"show-side-bar-on-click-link"],"openState":[32]}]]],["p-94975537",[[1,"vega-button",{"size":[1],"variant":[1],"icon":[1],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"block":[4],"type":[1],"loading":[4],"currentBreakpoint":[32]}]]],["p-5f96e741",[[1,"vega-box",{"padding":[1],"margin":[1],"display":[1],"border":[1],"borderStyle":[1,"border-style"],"shadow":[1],"borderColor":[1,"border-color"],"backgroundColor":[1,"background-color"],"width":[8],"height":[8],"minHeight":[8,"min-height"],"maxHeight":[8,"max-height"],"responsiveClass":[1,"responsive-class"],"corners":[1],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"order":[8],"flex":[8],"alignSelf":[1,"align-self"],"justifySelf":[1,"justify-self"],"gridColumn":[8,"grid-column"],"gridRow":[8,"grid-row"],"gridArea":[8,"grid-area"],"currentBreakpoint":[32]}]]],["p-2a245138",[[1,"vega-tooltip-content-box",{"text":[1]}],[1,"vega-tooltip",{"size":[8],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"trigger":[1],"content":[1],"text":[1],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"disableInteractive":[4,"disable-interactive"],"isTooltipShow":[32]}]]],["p-b00ec194",[[1,"vega-icon",{"icon":[513],"size":[1],"color":[1]}]]],["p-02d3ce79",[[1,"vega-button-circle",{"size":[1],"variant":[1],"icon":[513],"label":[513],"disabled":[4],"danger":[4],"type":[1],"iconColor":[1,"icon-color"],"showTooltip":[4,"show-tooltip"],"tooltip":[16]}]]],["p-72fd17a1",[[1,"vega-input",{"label":[513],"labelSuffixButtonProps":[16],"labelSuffixButtonConfig":[16],"value":[1537],"valueUpdateTrigger":[1,"value-update-trigger"],"type":[513],"name":[513],"autocomplete":[1],"inputmode":[1],"enterkeyhint":[1],"readOnly":[4,"read-only"],"prefixIcon":[513,"prefix-icon"],"email":[516],"required":[1540],"optional":[516],"min":[514],"max":[514],"minLength":[514,"min-length"],"maxLength":[514,"max-length"],"showClearIcon":[4,"show-clear-icon"],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[1],"disabled":[516],"hint":[1],"maskConfig":[16],"disableCopyPaste":[4,"disable-copy-paste"],"suggestionsDropdownSource":[16],"prefixText":[32],"suffixText":[32],"isCompactInputWidth":[32],"isPasswordDisplay":[32],"suggestionsDropdownConfig":[32],"doFocus":[64],"doBlur":[64],"showSuggestionsDropdown":[64],"hideSuggestionsDropdown":[64]}]]],["p-306720b8",[[1,"vega-text",{"overflow":[1],"text":[1],"tooltip":[16]}]]],["p-b3733762",[[1,"vega-field-label",{"suffixButtonProps":[16],"suffixButtonConfig":[16],"label":[1025],"isFieldRequired":[4,"is-field-required"],"disabled":[4],"optional":[4]}]]],["p-f29ea345",[[1,"vega-flex",{"gap":[1],"margin":[1],"breakpoint":[1],"direction":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"flexWrap":[1,"flex-wrap"],"flex":[8],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"useNativeFlex":[4,"use-native-flex"],"currentBreakpoint":[32]}]]]]'),e))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@globalpayments/vega",
3
- "version": "2.97.0",
3
+ "version": "2.98.0",
4
4
  "description": "Vega - the design system of Global Payment Systems",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{C as t}from"./p-2d0d575f.js";import{d as e}from"./p-526e3634.js";import{e as s,f as n}from"./p-3a68b729.js";import{d as r,c as i}from"./p-02841589.js";import{L as o}from"./p-6e1ab235.js";import{i as c}from"./p-456f678b.js";import{T as a}from"./p-b438e68b.js";import{g as l}from"./p-8b5d3a52.js";import{V as h}from"./p-3e09aeed.js";import{c as u}from"./p-a841cf13.js";import{f as d}from"./p-528748fa.js";var f,p;!function(t){t.SELECTION_RANGE="SELECTION_RANGE",t.CLEAR_FORMATTING="CLEAR_FORMATTING",t.LINK_GROUP="LINK_GROUP"}(f||(f={}));class w{}!function(t){t.ALIGNMENT="ALIGNMENT",t.TEXT_STYLE="TEXT_STYLE",t.INDENT="INDENT",t.LIST="LIST",t.INTERNAL_WRAPPER="INTERNAL_WRAPPER"}(p||(p={}));class g extends w{}const m=new class{constructor(){this.domToEntity=new WeakMap,this.entityToDOM=new WeakMap,this.contentEntityToRootDom=new Map,this.rootDomToContentEntity=new WeakMap}register(t,e){this.isVegaRTEContent(e)?this.registerRootDomAndContentEntity(t,e):(this.domToEntity.set(t,e),this.entityToDOM.set(e,t))}getEntityByDOM(t){return this.domToEntity.get(t)}getDOMByEntity(t){return this.isVegaRTEContent(t)?this.contentEntityToRootDom.get(t):this.entityToDOM.get(t)}removeDirtyDomRef(t){this.domToEntity.delete(t)}registerRootDomAndContentEntity(t,e){const s=this.rootDomToContentEntity.get(t);s&&s!==e&&this.contentEntityToRootDom.delete(s),this.rootDomToContentEntity.set(t,e),this.contentEntityToRootDom.set(e,t)}isVegaRTEContent(t){return t&&"VegaRTEContent"===t.dtoName}};var x,S,A,y;!function(t){t.DELETE_CHILDREN="DELETE_CHILDREN",t.DELETE_NEST_LIST="DELETE_NEST_LIST",t.UPDATE_TEXT="UPDATE_TEXT",t.REPLACE_SELECTED_TEXT="REPLACE_SELECTED_TEXT",t.APPEND_CHILDREN="APPEND_CHILDREN",t.INSERT_CHILDREN_AFTER="INSERT_CHILDREN_AFTER",t.INSERT_CHILDREN_BEFORE="INSERT_CHILDREN_BEFORE",t.SPLIT_BLOCK_WITH_NODE="SPLIT_BLOCK_WITH_NODE",t.REPLACE_CHILD_NODES="REPLACE_CHILD_NODES",t.REPLACE_NEST_LIST="REPLACE_NEST_LIST",t.MERGE_TWO_BLOCKS_NODES="MERGE_TWO_BLOCKS_NODES",t.INSERT_NEW_PARAGRAPH="INSERT_NEW_PARAGRAPH",t.LINE_BREAK_SINGLE_BLOCK="LINE_BREAK_SINGLE_BLOCK",t.LINE_BREAK_MULTIPLE_BLOCKS="LINE_BREAK_MULTIPLE_BLOCKS",t.TRANSFORM_LIST_BLOCK="TRANSFORM_LIST_BLOCK",t.TRANSFORM_PARAGRAPH_BLOCK="TRANSFORM_PARAGRAPH_BLOCK",t.NEST_LIST_ITEMS="NEST_LIST_ITEMS",t.UNNEST_LIST_ITEMS="UNNEST_LIST_ITEMS",t.DELETE_BLOCK_CONTENT="DELETE_BLOCK_CONTENT",t.INSERT_IMAGE_TO_BLOCK="INSERT_IMAGE_TO_BLOCK",t.UPDATE_IMAGE_NODE_URL="UPDATE_IMAGE_NODE_URL",t.TRANSFORM_TO_CODE_BLOCK="TRANSFORM_TO_CODE_BLOCK",t.UPDATE_CODE_BLOCK="UPDATE_CODE_BLOCK",t.SWITCH_OUT_FROM_CODE_BLOCK="SWITCH_OUT_FROM_CODE_BLOCK",t.DELETE_CODE_BLOCK="DELETE_CODE_BLOCK",t.UNLINK_LINK_GROUP="UNLINK_LINK_GROUP",t.LINK_GROUP_NODE_SPLIT="LINK_GROUP_NODE_SPLIT",t.DELETE_LINK_GROUP="DELETE_LINK_GROUP",t.UPDATE_CURSOR_POSITION="UPDATE_CURSOR_POSITION",t.INSERT_TEXT_TO_DECORATOR_NODE="INSERT_TEXT_TO_DECORATOR_NODE",t.INSERT_NODE_TO_NEAREST_ROOT="INSERT_NODE_TO_NEAREST_ROOT",t.PASTE_CONTENT="PASTE_CONTENT",t.DELETE_SELECTED_CONTENT="DELETE_SELECTED_CONTENT"}(x||(x={}));class O{constructor(){this.isFlushable=!1}}function E(t){const e={},s=t.getAttribute("style");if(!s)return e;const n=function(t){const e=[];let s="",n=0;for(let r=0;r<t.length;r++){const i=t[r];"("===i?(n++,s+=i):")"===i?(n--,s+=i):";"===i&&0===n?(e.push(s),s=""):s+=i}return s&&e.push(s),e}(s);for(const t of n){const s=t.trim(),n=s.indexOf(":"),i=s.substring(0,n).trim(),o=s.substring(n+1).trim();e[r(i)]=o}return e}function T(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function v(t){return t.replace(/&(?!(?:[a-zA-Z][a-zA-Z0-9]+|#[0-9]+|#x[a-fA-F0-9]+);)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}class N{constructor(){this.classNameToBeAdded=""}filterAnnotations(t){const e=t.customStyle;return e?(this.extractAndDeleteMatchedStyles(e),0===Object.keys(e).length&&delete t.customStyle,t):t}filterAndDeleteStyles(t,e){const s=new Set(e);return this.extractAndDeleteMatchedStyles(t)&&this.classNameToBeAdded&&s.add(this.classNameToBeAdded),{styles:t,classNames:Array.from(s)}}refillStyles(t){this.classNameToBeAdded&&t.classList.remove(this.classNameToBeAdded);const e=E(t),s=Object.assign(Object.assign({},this.stylesToBeFiltered),e),n=Object.entries(Object.assign({},s)).map((([t,e])=>`${i(t)}: ${e};`)).join("");t.setAttribute("style",n)}canFilter(t){return!1}canRefill(t,e){return!1}toCssText(){return""}get alwaysFilter(){return!1}extractAndDeleteMatchedStyles(t){let e=!1;const s=this.stylesToBeFiltered;if(t&&s){const n=Object.keys(s);for(const r of n)t[r]===s[r]&&(delete t[r],e=!0)}return e}buildCssTextForStyles(t,e){return`${`.${N.RTE_CONTENT_CONTAINER_CLASS_NAME}`+(e?` .${e}`:` ${t}`)} { ${Object.entries(this.stylesToBeFiltered).map((([t,e])=>`${i(t)}: ${e};`)).join(" ")} }`}convertStylesMapToCssText(t){return Object.entries(t||this.stylesToBeFiltered).map((([t,e])=>`${i(t)}: ${e};`)).join(" ")}isBlockOrNodeStylesMatchFilterStyles(t,e){const s=t.getStyles({standalone:!0});return this.isMatchFilterStyles(s,e)}isMatchFilterStyles(t,e){return(e&&e.length>0?e:Object.keys(this.stylesToBeFiltered)).every((e=>t[e]===this.stylesToBeFiltered[e]))}}N.RTE_CONTENT_CONTAINER_CLASS_NAME="vega-rte-content",function(t){t.BOLD="BOLD",t.ITALIC="ITALIC",t.UNDERLINE="UNDERLINE",t.STRIKETHROUGH="STRIKETHROUGH",t.SELECTION_RANGE="SELECTION_RANGE",t.IMAGE="IMAGE",t.CODE="CODE",t.TEXT_COLOR="TEXT_COLOR",t.LINK="LINK",t.INLINE_HTML="INLINE_HTML",t.PLAIN_TEXT="PLAIN_TEXT"}(S||(S={}));class b extends w{}class C{static isTextBlock(t){return t===this.RTE_TEXT_BLOCK_CLASS_NAME}static isCodeBlock(t){return"RTECodeBlock"===t}static isListBlock(t){return"RTEListBlock"===t}static isListItemBlock(t){return"RTEListItemBlock"===t}static isTextNode(t){return t===this.RTE_TEXT_NODE_CLASS_NAME}static isLinkNode(t){return this.isTextNode(t.dtoName)&&!!t.getAnnotationByType(S.LINK)}static isCodeNode(t){if(this.isTextNode(t.dtoName)){const e=t.getAnnotationByType(S.CODE);return!!e&&e.code}return!1}static isImageNode(t){return"RTEImageNode"===t.dtoName}static isCodeBlockNode(t){return"RTECodeBlockNode"===t.dtoName}}C.RTE_TEXT_NODE_CLASS_NAME="RTETextNode",C.RTE_TEXT_BLOCK_CLASS_NAME="RTETextBlock";class L extends N{constructor(){super(...arguments),this.stylesToBeFiltered=R.getDefaultStyles(),this.elementTagName="a"}filterAnnotations(t){const e=t.link;return(null==e?void 0:e.customStyle)?(this.extractAndDeleteMatchedStyles(e.customStyle),0===Object.keys(e.customStyle).length&&delete e.customStyle,t):t}canFilter(t){return C.isLinkNode(t)}canRefill(t,e){return"RTETextNode"===t&&e.matches(this.elementTagName)}toCssText(){return this.buildCssTextForStyles(this.elementTagName,this.classNameToBeAdded)}filterLinkGroupInlineStyles(t){const e=t.style,s=t.class?t.class.split(" "):[],n=this.filterAndDeleteStyles(e,s);return n.styles&&Object.keys(n.styles).length>0&&(t.style=n.styles),n.classNames&&n.classNames.length>0&&(t.class=n.classNames.join(" ")),t.style&&0===Object.keys(t.style).length&&delete t.style,t}}class R extends w{constructor(t){super(),this.type=f.LINK_GROUP,this.linkGroups=new Map,this.linkGroups=new Map([[t,[]]])}static getDefaultStyles(){return{color:"rgba(var(--v-text-link, 19, 98, 226, 1))"}}clone(){const t=new R("");return this.linkGroups.forEach(((e,s)=>{t.linkGroups.set(s,e.map((t=>t.clone(t.parent))))})),t}toString(t,e){let s=this.toJsx(t,e);return(null==e?void 0:e.filterInlineStyles)&&(s=R.linkGroupFilterStylesStrategy.filterLinkGroupInlineStyles(s)),Object.entries(s).map((([t,e])=>{const s="string"==typeof e?e:this.formatStyleToString(e);return`${i(t)}="${s}"`})).join(" ")}toJsx(t,e){const s=this.getStyle(t,e),n=this.getClass(t,e),r=this.getAttribute(t);return n.length>0&&(r.class=n.join(" ")),s&&Object.keys(s).length>0&&(r.style=s),r}getClass(t,e){const s=[];return t.link.customClass&&s.push(...t.link.customClass),!(null==e?void 0:e.standalone)&&t.useInternalStyle&&s.push("v-rte--link"),s}getStyle(t,e){const s={};return t.link.customStyle&&Object.assign(s,t.link.customStyle),(null==e?void 0:e.standalone)&&t.useInternalStyle&&Object.assign(s,R.getDefaultStyles()),s}getAttribute(t){const{href:e,customAttribute:s={}}=t.link,n=t.useInternalStyle,r=s.target||(n?"_blank":"");return Object.assign(Object.assign(Object.assign({},s),e||n?{href:e}:{}),r?{target:r}:{})}formatStyleToString(t){return Object.entries(t).map((([t,e])=>`${i(t)}: ${e};`)).join(" ")}}R.linkGroupFilterStylesStrategy=new L;class k extends g{constructor(t){super(),this.type=p.ALIGNMENT,this.textAlign=t}static from(t){return[p.ALIGNMENT,new k(t)]}static getDefaultStyles(t){switch(t){case"right":case"center":case"justify":return{textAlign:t};case"left":default:return{textAlign:"left"}}}toJSON(){return{textAlign:this.textAlign}}renderClass(t){if(null==t?void 0:t.standalone)return null;switch(this.textAlign){case"right":case"center":case"justify":return`v-rte--horizontal-alignment-${this.textAlign}`;case"left":default:return"v-rte--horizontal-alignment-left"}}clone(){return new k(this.textAlign)}renderStyle(t){return(null==t?void 0:t.standalone)?k.getDefaultStyles(this.textAlign):null}}class j extends g{constructor(t){super(),this.type=p.INDENT,this.indent=Math.max(0,t)}static from(t){return[p.INDENT,new j(t)]}toJSON(){return this.indent>0?{indent:this.indent}:null}clone(){return new j(this.indent)}renderClass(){return null}renderStyle(){return this.indent>0?{marginLeft:16*this.indent+"px"}:null}}class _{static register(t,e,s){this.registry.has(e)||this.registry.set(e,new Map),this.registry.get(e).has(t)||this.registry.get(e).set(t,new Set),this.registry.get(e).get(t).add(s)}static unregister(t,e,s){const n=this.registry.get(e);if(n){const e=n.get(t);e&&e.delete(s)}}static get(t,e){const s=t instanceof O?t.type:t.constructor.name,n=this.registry.get(e.constructor.name);if(n){const r=n.get(s);if(r&&r.size>0)return Array.from(r).find((s=>s.canIntercept(t,e)))}}}_.registry=new Map;class ${static register(t,e,s){this.registry.has(e)||this.registry.set(e,new Map),this.registry.get(e).set(t,s)}static unregister(t,e){const s=this.registry.get(e);s&&s.delete(t)}static get(t,e){const s=this.registry.get(e);if(s)return s.get(t)}static executeTheStrategy(t,e){const s=_.get(t,e),n=()=>{const s=t instanceof O?t.type:t.constructor.name,n=$.get(s,e.constructor.name);if(n)return t.executedFlag=!0,n.execute(t,e);o.warn(`Type ${s} action handle strategy is not registered in class ${e.constructor.name}`)};return s?s.intercept(n,t,e):n()}static canHandle(t,e){return!!$.get(t,e.constructor.name)}}$.registry=new Map,function(t){t.CUSTOM_ATTRIBUTE="CUSTOM_ATTRIBUTE",t.CUSTOM_CLASS="CUSTOM_CLASS",t.CUSTOM_STYLE="CUSTOM_STYLE"}(A||(A={}));class I extends w{}class B extends I{constructor(t){super(),this.type=A.CUSTOM_ATTRIBUTE,this.BOOLEAN_ATTRS=new Set(["controls","disabled","checked","readonly","multiple","required","autoplay","muted"]),this.customAttribute=t}static from(t){return[A.CUSTOM_ATTRIBUTE,new B(t)]}toJSON(){return{customAttribute:this.customAttribute}}clone(){return new B(this.customAttribute)}toString(t=[]){const e=t.map((t=>t.split("=")[0]));return Object.keys(this.customAttribute).map((t=>e.includes(t)?null:`${t}="${this.customAttribute[t]}"`)).filter(c)}render(t={}){var e;const s=Object.assign({},this.customAttribute);return null===(e=t.filterAttributes)||void 0===e||e.forEach((t=>delete s[t])),Object.keys(s).forEach((t=>{this.BOOLEAN_ATTRS.has(t)&&""===s[t]&&(s[t]="true")})),s}}class D extends I{constructor(t){super(),this.type=A.CUSTOM_CLASS,this.customClass=t}static from(t){return[A.CUSTOM_CLASS,new D(t)]}toJSON(){return{customClass:this.customClass}}clone(){return new D(this.customClass)}toString(){return`class="${this.customClass.join(" ")}"`}renderClass(){return this.customClass}}class M extends I{constructor(t){super(),this.type=A.CUSTOM_STYLE,this.customStyle=t}static from(t){return[A.CUSTOM_STYLE,new M(t)]}toJSON(){return{customStyle:this.customStyle}}clone(){return new M(this.customStyle)}renderStyle(){return this.customStyle}removeStyles(t){const e=Object.assign({},this.customStyle);return t.forEach((t=>delete e[t])),e}toString(){return`style="${v(Object.entries(this.customStyle).map((([t,e])=>`${t}: ${e};`)).join(" "))}"`}}class F extends g{constructor(t){super(),this.type=p.INTERNAL_WRAPPER,this.internalWrapper=t}static from(t){return[p.INTERNAL_WRAPPER,new F(t)]}clone(){return new F(this.internalWrapper)}renderClass(){}renderStyle(){}toJSON(){return this.internalWrapper?{internalWrapper:this.internalWrapper}:void 0}}class H{constructor(t){this.dtoName=t instanceof U?"block":"node",this.annotationMap=t.annotationMap}toCssText(t={standalone:!1},e,s){return s=s||this.toJSON(t,e),Object.entries(Object.assign({},s)).map((([t,e])=>`${i(t)}: ${e};`)).join("")}toJSON(t={standalone:!1},e){const s=Array.from(this.annotationMap.values()).filter((t=>this.filterAnnotation(t)||t instanceof M)).map((e=>e.renderStyle(t))).filter(c);return e&&e.length>0?this.mergeAnnotationStyles(s,e):s.reduce(((t,e)=>Object.assign(Object.assign({},t),e)),{})}filterAnnotation(t){return"block"===this.dtoName?t instanceof g:t instanceof b}mergeAnnotationStyles(t,e){const s={};for(const n of t)for(const t in n){const r=n[t],i=s[t];s[t]="string"==typeof i&&"string"==typeof r&&e.includes(t)?Array.from(new Set(`${i} ${r}`.split(/\s+/).filter(Boolean))).join(" "):r}return s}}class P{static register(t,e){var s;const n=null!==(s=this.registry.get(t))&&void 0!==s?s:new Set;n.add(e),this.registry.set(t,n)}static getStrategies(t){var e;return Array.from(null!==(e=this.registry.get(t))&&void 0!==e?e:[])}static executeTheStrategyFilterAction(t,e,s){return this.getStrategies(t.dtoName).filter((e=>e.canFilter(t))).reduce(((t,e)=>e.filterAndDeleteStyles(t.styles,t.classNames)),{styles:e,classNames:s})}static executeTheStrategyRefillAction(t,e){this.getStrategies(t).filter((s=>s.canRefill(t,e))).forEach((t=>{t.refillStyles(e)}))}static generateAllStylesContent(t=!1){const e=[];return t&&(e.push("/* Font-face imports begin */\n"),e.push(Object.keys(a).map((t=>`@import url('${a[t].url}');\n`)).join(" ")),e.push("/* Font-face imports end */\n")),this.registry.forEach((t=>{t.forEach((t=>{const s=t.toCssText();s&&!e.includes(s)&&e.push(s)}))})),e.join(" ")}}P.registry=new Map,function(t){t.TEXT="TEXT",t.IMAGE="IMAGE",t.CODE_BLOCK_NODE="CODE_BLOCK_NODE"}(y||(y={}));class J{constructor(t,e){this.annotationMap=new Map,this.dtoName=this.constructor.name,this.id=t,e&&(this.annotationMap=e)}static from(t,e,s){throw new Error(`[Vega] ${this.constructor.name}.from(${JSON.stringify(t)}, ${e}, ${s}) is not implemented. Please implement this method in the subclass.`)}static createAnnotationEntity(t,e){switch(t){case"customAttribute":return B.from(e);case"customClass":return D.from(e);case"customStyle":return M.from(e)}}getAnnotationByType(t){return this.annotationMap.get(t)}deleteAnnotationByType(t){this.annotationMap.delete(t),this.flushChange()}apply(t){return this.doApply(t),t.isFlushable&&this.flushChange(),this}getStyles(t={standalone:!1}){return new H(this).toJSON(t,["textDecoration"])}getClasses(t={standalone:!1}){return Array.from(this.annotationMap.values()).filter((t=>t instanceof b||t instanceof D)).map((e=>e.renderClass(t))).filter(c).reduce(((t,e)=>[t,e].join(" ").trim()),"")}getCustomAttributesAnnotation(){return this.annotationMap.get(A.CUSTOM_ATTRIBUTE)}isTextNode(){return!1}getElementRef(){return m.getDOMByEntity(this)}generateAttributeString(t,...e){var s;const n=new H(this),r=n.toJSON({standalone:!0},["textDecoration"]),i=this.annotationMap.get(A.CUSTOM_CLASS);let o=r,a=null==i?void 0:i.renderClass();if(t&&t.filterInlineStyles){const t=P.executeTheStrategyFilterAction(this,r,a);o=t.styles,a=t.classNames}const l=[...(null===(s=this.getCustomAttributesAnnotation())||void 0===s?void 0:s.toString(e))||[],a&&a.length>0?`class="${a.join(" ")}"`:null,o&&Object.keys(o).length>0?`style="${v(n.toCssText({standalone:!0},void 0,o))}"`:null,...e].filter(c);return l.length?` ${l.join(" ")}`:""}doApply(t){t instanceof O?this.doModifyActionApply(t):this.doAnnotationActionApply(t)}flushChange(){const n=m.getDOMByEntity(this);if(n){const r=e.getSubjectFromParentNodeByEventId(n,s);r&&t.notify(r,{})}}cloneAnnotations(){return new Map(Array.from(this.annotationMap.entries()).map((([t,e])=>[t,e.clone()])))}doAnnotationActionApply(t){}doModifyActionApply(t){}}const K=new class{constructor(){this.RTE_BLOCK_DTO_CLASS_MAP=new Map,this.RTE_NODE_DTO_CLASS_MAP=new Map}registerRTEDTOClass(t,e){if(e.prototype instanceof U)this.RTE_BLOCK_DTO_CLASS_MAP.set(t,e);else{if(!(e.prototype instanceof J))throw new Error(`Invalid RTE DTO class type: ${t}`);this.RTE_NODE_DTO_CLASS_MAP.set(t,e)}}getRTEBlockClass(t){return this.RTE_BLOCK_DTO_CLASS_MAP.get(t)}getRTENodeClass(t){return this.RTE_NODE_DTO_CLASS_MAP.get(t)}};class U{constructor(t){this.annotationMap=new Map,this.dtoName=this.constructor.name,this.id=t}static from(t,e){throw new Error(`[Vega] ${this.constructor.name}.from(${JSON.stringify(t)}, ${e}) is not implemented. Please implement this method in the subclass.`)}static generateBlockChildren(t,e,s){return t.map((t=>{const n=K.getRTEBlockClass(t.type);if(n){const r=n.from(t,e);return r.parent=s,r}})).filter(c)}static createAnnotationEntity(t,e){switch(t){case"textAlign":return k.from(e);case"indent":return j.from(e);case"customAttribute":return B.from(e);case"customClass":return D.from(e);case"customStyle":return M.from(e);case"internalWrapper":return F.from(e)}}static convertAnnotationsToMap(t,e){Object.entries(e).forEach((([e,s])=>{const n=this.createAnnotationEntity(e,s);c(n)&&t.set(...n)}))}shouldRenderAsInternalWrapper(){const t=this.getAnnotationByType(p.INTERNAL_WRAPPER);return!!t&&t.internalWrapper&&0===Array.from(this.annotationMap.values()).filter((t=>!(t instanceof R||t instanceof F))).length}toJSON(){const t=Array.from(this.annotationMap.values()).filter((t=>t instanceof g||t instanceof I)).reduce(((t,e)=>Object.assign(Object.assign({},t),e.toJSON())),{});return Object.assign({id:this.id},Object.keys(t).length>0?{annotations:t}:{})}getAnnotationByType(t){return this.annotationMap.get(t)}apply(n){if(this.doApply(n),n.isFlushable){const n=m.getDOMByEntity(this);if(n){const r=e.getSubjectFromParentNodeByEventId(n,s);r&&t.notify(r,{})}}}getFirstNode(){if(!this.children||!this.children[0])return null;const t=this.children[0];return t instanceof U?t.getFirstNode():t}isListItemBlock(){return"list-item"===this.type}getStyles(t={standalone:!1}){const e=new H(this).toJSON(t);return Object.assign(Object.assign({},e),this.shouldRenderAsInternalWrapper()?{display:"contents"}:{})}getClasses(t={standalone:!1}){return Array.from(this.annotationMap.values()).filter((t=>t instanceof g||t instanceof D)).map((e=>e.renderClass(t))).filter(c).reduce(((t,e)=>[t,e].join(" ").trim()),"")}getCustomAttributesAnnotation(){return this.annotationMap.get(A.CUSTOM_ATTRIBUTE)}generateAttributeString(t,...e){var s;const n=new H(this),r=n.toJSON({standalone:!0}),i=this.annotationMap.get(A.CUSTOM_CLASS);let o=r,a=null==i?void 0:i.renderClass();if(t&&t.filterInlineStyles){const t=P.executeTheStrategyFilterAction(this,r,a);o=t.styles,a=t.classNames}const l=[...(null===(s=this.getCustomAttributesAnnotation())||void 0===s?void 0:s.toString(e))||[],a&&a.length>0?`class="${a.join(" ")}"`:null,o&&Object.keys(o).length>0?`style="${v(n.toCssText({standalone:!0},void 0,o))}"`:null,...e].filter(c);return l.length?` ${l.join(" ")}`:""}doApply(t){t instanceof O?$.executeTheStrategy(t,this):this.applyAnnotationAction(t)}applyAnnotationAction(t){const e=t.toAnnotation();if(e instanceof R||this.annotationMap.set(e.type,e),"function"==typeof this.doAnnotationActionApply)this.doAnnotationActionApply(t);else{const e=$.get(t.constructor.name,this.constructor.name);e&&e.execute(t,this)}}cloneAnnotations(){return new Map(Array.from(this.annotationMap.entries()).map((([t,e])=>[t,e.clone()])))}}class W{}class G extends W{constructor(){super(...arguments),this.doSplit=!0}}class z extends w{constructor(t){super(),this.type=f.SELECTION_RANGE,this.range=t}clone(){return new z(this.range)}}const V="700",X="bold",q="italic",Y="underline",Z="line-through";class Q extends b{constructor(t){super(),this.type=S.STRIKETHROUGH,this.strikethrough=t}static from(t){return[S.STRIKETHROUGH,new Q(t)]}toJSON(){return{strikethrough:this.strikethrough}}clone(){return new Q(this.strikethrough)}renderClass(t){return(null==t?void 0:t.standalone)?null:this.strikethrough?"v-rte--strikethrough":null}renderStyle(t){return(null==t?void 0:t.standalone)&&this.strikethrough?{textDecoration:"line-through"}:null}}class tt extends b{constructor(t){super(),this.type=S.UNDERLINE,this.underline=t}static from(t){return[S.UNDERLINE,new tt(t)]}toJSON(){return{underline:this.underline}}clone(){return new tt(this.underline)}renderClass(t){return(null==t?void 0:t.standalone)?null:this.underline?"v-rte--underline":null}renderStyle(t){return(null==t?void 0:t.standalone)&&this.underline?{textDecoration:"underline"}:null}}class et extends b{constructor(t){super(),this.type=S.ITALIC,this.italic=t}static from(t){return[S.ITALIC,new et(t)]}toJSON(){return{italic:this.italic}}clone(){return new et(this.italic)}renderClass(t){return(null==t?void 0:t.standalone)?null:this.italic?"v-rte--italic":null}renderStyle(t){return(null==t?void 0:t.standalone)&&this.italic?{fontStyle:"italic"}:null}}class st extends b{constructor(t){super(),this.type=S.BOLD,this.bold=t}static from(t){return[S.BOLD,new st(t)]}toJSON(){return{bold:this.bold}}clone(){return new st(this.bold)}renderClass(t){return(null==t?void 0:t.standalone)?null:this.bold?"v-rte--bold":null}renderStyle(t){return(null==t?void 0:t.standalone)&&this.bold?{fontWeight:"700"}:null}}class nt extends b{constructor(t,e=!0){super(),this.type=S.CODE,this.code=t,this.useInternalStyle=e}static from(t,e){return[S.CODE,new nt(t,e)]}static getDefaultStyles(){return{fontFamily:"Roboto Mono",whiteSpace:"pre-wrap"}}toJSON(){return{code:this.code}}clone(){return new nt(this.code,this.useInternalStyle)}renderClass(t){return(null==t?void 0:t.standalone)?null:this.code&&this.useInternalStyle?"v-rte--code":null}renderStyle(t){return(null==t?void 0:t.standalone)&&this.code&&this.useInternalStyle?nt.getDefaultStyles():null}}const rt={key:"black",light:"#111128",dark:"#E3E3E8"},it=[rt,{key:"gray",light:"#5E5E6D",dark:"#B9B9C1"},{key:"green",light:"#01801F",dark:"#59D977"},{key:"red",light:"#BD2947",dark:"#FFB2B5"},{key:"purple",light:"#563D82",dark:"#BEB2FF"},{key:"teal",light:"#17758F",dark:"#4CD8FF"}],ot="​",ct=[{key:"title"},{key:"subtitle"},{key:"heading-1"},{key:"heading-2"},{key:"heading-3"},{key:"paragraph"}],at=[["textStyles"],["bold","italic","underline","strikethrough","code"],["textColor"],["horizontalAlignment","bulletsNumbers"],["moreIndent","lessIndent"],["link"],["image"],["clearStyle"]],lt=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),ht=22,ut="url",dt="email",ft=["url","email"];class pt extends b{constructor(t){super(),this.type=S.TEXT_COLOR,this.textColor=this.formatTextColor(t)}static from(t){return[S.TEXT_COLOR,new pt(t)]}toJSON(){return{textColor:this.textColor.key}}clone(){return new pt(this.textColor.key)}renderClass(){return null}renderStyle(){return{color:h.isDarkMode()?this.textColor.dark:this.textColor.light}}formatTextColor(t){return it.find((e=>e.key===t))||it[0]}}class wt extends b{constructor(t,e=!0){super(),this.type=S.LINK,this.link=t,this.useInternalStyle=e}static from(t,e=!0){return[S.LINK,new wt(t,e)]}toJSON(){return{link:this.link}}clone(){return new wt(this.link,this.useInternalStyle)}toEqual(t){return this.link.groupKey===t.link.groupKey}renderClass(){return null}renderStyle(){return null}}class gt extends W{constructor(t,e,s){super(),this.isFlushable=!1,this.groupKey=t,this.nodes=e,this.type=s}toAnnotation(){return new R(this.groupKey)}}class mt extends W{constructor(){super(),this.isFlushable=!1}toAnnotation(){return null}}class xt{execute(t,e){return o.log(`Executing action ${t.constructor.name} on ${e.constructor.name} ${e.id}`),this.handleAction(t,e)}updateCustomStyleAnnotation(t,e){const s=t.annotationMap.get(A.CUSTOM_STYLE);s&&this.isCustomStyle(s,e)&&t.annotationMap.set(s.type,new M(s.removeStyles(e)))}createNewParagraph(t){const e=K.getRTEBlockClass("paragraph");if(e)return e.from({id:l(),type:"paragraph",nodes:[{id:l(),type:"text",text:t}]})}getRootContent(t){const e=t.parent;if(e)return"VegaRTEContent"===e.dtoName?e:this.getRootContent(e)}isCaretPositionAtBlockStart(t,e,s){return e===t.children[0]&&0===s}isCaretPositionAtBlockEnd(t,e,s){return e.isContentEditable()?this.isCaretPositionAtTextBlockEnd(t,e,s):this.isCaretPositionAtDecoratorBlockEnd(t,e,s)}getDOMByEntity(t){return m.getDOMByEntity(t)}isCaretPositionAtTextBlockEnd(t,e,s){const n=t.children[t.children.length-1];return e===n&&(e.isEmpty()||s===n.text.length)}isCaretPositionAtDecoratorBlockEnd(t,e,s){return e===t.children[t.children.length-1]&&0!==s}isCustomStyle(t,e){return e.some((e=>Object.keys(t.customStyle).includes(e)))}}class St extends O{constructor(t){super(),this.type=x.LINK_GROUP_NODE_SPLIT,this.splittedTextNodes=t}}class At extends xt{constructor(){super(...arguments),this.applyTargetNode=null}handleAction(t,e){const s=e.getAnnotationByType(f.SELECTION_RANGE);if(this.setApplyTargetNode(null),t instanceof G&&t.doSplit&&s){const{startContainer:t,endContainer:n,startOffset:r,endOffset:i}=s.range,o=t===n&&r===i;e.parent.children=e.parent.children.flatMap((t=>{if(t.id===e.id){if(o)return this.insertNewNode(r,e);if(this.shouldSplitSelection(s.range)&&e.isContentEditable()){const n=this.splitTextNode(s.range,e);return t.annotationMap.has("LINK")&&t.apply(new St(n)),n}return this.setApplyTargetNode(e),e}return t}))}return this.applyTargetNode}insertNewNode(t,e){const s=e.cloneWithText("");this.setApplyTargetNode(s);const n=e.parent.children.findIndex((t=>t===e));return 0===t||!e.isContentEditable()&&t===n?[s,e]:t===e.text.length||!e.isContentEditable()&&t===n+1?[e,s]:[e.cloneWithText(e.text.substring(0,t)),s,e.cloneWithText(e.text.substring(t))]}shouldSplitSelection(t){const{startContainer:e,endContainer:s,startOffset:n,endOffset:r}=t;return e!==s||n>0||r<(s.textContent?s.textContent.length:0)}splitTextNode(t,e){const{startContainer:s,endContainer:n,startOffset:r}=t,i=s.parentElement,o=n.parentElement,c=(t,s,n)=>{const r=t.substring(0,s),i=t.substring(s,n),o=t.substring(n);return[e.cloneWithText(r),e.cloneWithText(i),e.cloneWithText(o)]},a=i&&m.getEntityByDOM(i),l=o&&m.getEntityByDOM(o);if(a&&a.id===e.id){const i=s===n?t.endOffset:e.text.length,[o,a,l]=c(e.text,r,i);return this.setApplyTargetNode(a),[o,a,l].filter((t=>!!t.text))}if(l&&l.id===e.id){const[s,n,r]=c(e.text,0,t.endOffset);return this.setApplyTargetNode(n),[s,n,r].filter((t=>!!t.text))}return this.setApplyTargetNode(e),e}setApplyTargetNode(t){this.applyTargetNode=t}}class yt extends G{constructor(t){super(),this.isFlushable=!0,this.bold=t}toAnnotation(){return new st(this.bold)}}class Ot extends w{constructor(){super(...arguments),this.type=f.CLEAR_FORMATTING,this.items=[S.BOLD,S.ITALIC,S.UNDERLINE,S.STRIKETHROUGH,S.TEXT_COLOR,S.CODE,A.CUSTOM_STYLE]}}class Et extends G{constructor(){super(...arguments),this.isFlushable=!0}toAnnotation(){return new Ot}}class Tt extends G{constructor(t){super(),this.isFlushable=!0,this.code=t}toAnnotation(){return new nt(this.code)}}class vt extends W{constructor(t){super(),this.isFlushable=!0,this.annotationType=t}toAnnotation(){}}class Nt extends G{constructor(t){super(),this.isFlushable=!0,this.italic=t}toAnnotation(){return new et(this.italic)}}class bt extends G{constructor({link:t,newText:e,needMergeNode:s,doSplit:n,type:r}){super(),this.isFlushable=!0,this.link=t,this.needMergeNode=s,this.newText=e,this.type=r,c(n)&&(this.doSplit=n)}toAnnotation(){return new wt(this.link)}}class Ct extends G{constructor(t){super(),this.isFlushable=!0,this.strikethrough=t}toAnnotation(){return new Q(this.strikethrough)}}class Lt extends G{constructor(t){super(),this.isFlushable=!0,this.underline=t}toAnnotation(){return new tt(this.underline)}}class Rt extends xt{handleAction(t,e){const s=t.toAnnotation();if(t instanceof vt)e.annotationMap.delete(t.annotationType);else{if(!(s instanceof Ot))return s instanceof b||s instanceof z?(t instanceof bt&&(c(t.newText)&&(e.text=t.newText),e.parent.apply(new gt(t.link.groupKey,[e],t.type))),t instanceof Tt&&this.handleAction(new Et,e),t instanceof yt&&this.updateCustomStyleAnnotation(e,["fontWeight"]),t instanceof Nt&&this.updateCustomStyleAnnotation(e,["fontStyle"]),(t instanceof Lt||t instanceof Ct)&&this.updateCustomStyleAnnotation(e,["textDecoration"]),void e.annotationMap.set(s.type,s)):void 0;s.items.forEach((t=>{e.deleteAnnotationByType(t)}))}}}class kt extends O{constructor(){super(...arguments),this.type=x.DELETE_LINK_GROUP}}class jt extends xt{handleAction(t,e){e.text=t.newTextContent,!e.text&&e.annotationMap.has("LINK")&&e.apply(new kt)}}class _t extends O{constructor(t){super(),this.type=x.UPDATE_TEXT,this.newTextContent="",this.newTextContent=t}}class $t extends xt{handleAction(t,e){this.replaceSelectedText(t.textToBeInsert,t.currentRange,e)}replaceSelectedText(t,e,s){if(e&&e.startContainer&&e.endContainer){const{startContainer:n,endContainer:r,startOffset:i,endOffset:o}=e;let c=s.text;if(n===r&&i===o&&t)c=s.text.slice(0,i)+t+s.text.slice(i);else{const e=n.parentElement,a=r.parentElement,l=e&&m.getEntityByDOM(e),h=a&&m.getEntityByDOM(a);let u=0,d=s.text.length;l&&l===s?(u=i,d=n===r?o:d):h&&h===s&&(d=o),c=s.text.slice(0,u)+t+s.text.slice(d)}s.apply(new _t(c))}}}class It extends w{constructor(t){super(),this.type=S.INLINE_HTML,this.htmlTag=t}static from(t){const{htmlTag:e,child:s,customStyle:n,customClass:r,customAttribute:i}=t,o=new It(e);return o.groupId=t.groupId,o.child=s?It.from(s)[1]:void 0,o.customAttribute=i?B.from(i)[1]:void 0,o.customClass=r?D.from(r)[1]:void 0,o.customStyle=n?M.from(n)[1]:void 0,[S.INLINE_HTML,o]}clone(){var t,e,s,n;const r=new It(this.htmlTag);return r.groupId=this.groupId,r.child=null===(t=this.child)||void 0===t?void 0:t.clone(),r.customAttribute=null===(e=this.customAttribute)||void 0===e?void 0:e.clone(),r.customClass=null===(s=this.customClass)||void 0===s?void 0:s.clone(),r.customStyle=null===(n=this.customStyle)||void 0===n?void 0:n.clone(),r}renderProps(){var t,e,s;return Object.assign(Object.assign({},null===(t=this.customAttribute)||void 0===t?void 0:t.render()),{style:null===(e=this.customStyle)||void 0===e?void 0:e.renderStyle(),class:null===(s=this.customClass)||void 0===s?void 0:s.renderClass().join(" ")})}toJSON(){var t,e,s,n;return{inlineHtml:u({htmlTag:this.htmlTag,groupId:this.groupId,child:null===(t=this.child)||void 0===t?void 0:t.toJSON().inlineHtml,customAttribute:null===(e=this.customAttribute)||void 0===e?void 0:e.toJSON().customAttribute,customClass:null===(s=this.customClass)||void 0===s?void 0:s.toJSON().customClass,customStyle:null===(n=this.customStyle)||void 0===n?void 0:n.toJSON().customStyle})}}}class Bt extends xt{handleAction(t,e){const s=e.parent.getAnnotationByType(f.LINK_GROUP);if(s){const n=e.annotationMap.get("LINK").link.groupKey,r=s.linkGroups.get(n);if(r){const i=r.indexOf(e);-1!==i&&(r.splice(i,1,...Array.isArray(t.splittedTextNodes)?t.splittedTextNodes:[t.splittedTextNodes]),s.linkGroups.set(n,r))}}}}class Dt extends xt{handleAction(t,e){const s=e.parent.getAnnotationByType(f.LINK_GROUP);if(s){const t=e.annotationMap.get(S.LINK).link.groupKey,n=s.linkGroups.get(t);if(n){const r=n.indexOf(e);-1!==r&&n.splice(r,1),0===n.length&&s.linkGroups.delete(t),0===s.linkGroups.size&&e.parent.annotationMap.delete(f.LINK_GROUP)}}e.annotationMap.delete(S.LINK)}}class Mt extends b{constructor(t){super(),this.type=S.PLAIN_TEXT,this.plainText=!0,this.plainText=t}static from(t){return[S.PLAIN_TEXT,new Mt(t)]}clone(){return new Mt(this.plainText)}renderClass(){}renderStyle(){}toJSON(){return this.plainText?{plainText:this.plainText}:void 0}}class Ft extends G{constructor(t){super(),this.isFlushable=!0,this.textColor=t}toAnnotation(){return new pt(this.textColor)}}class Ht extends J{constructor(t,e,s,n){super(t,n),this.dtoName=Ht.dtoName,this.type=y.TEXT,this.parent=s,this.text=e,this.registerModifyStrategy()}static supportsHtmlTag(t){return["span","code"].includes(t)}static from(t,e,s={autoMatchFormat:!0}){const n=new Ht(t.id,t.text,e),{annotations:r}=t;return r&&(n.annotationMap=this.generateTextAnnotationMap(r,s,e,n)),n}static generateTextAnnotationMap(t,e,s,n){return new Map(Object.keys(t).map((r=>("link"===r&&t.link&&s&&n&&s.apply(new gt(t.link.groupKey,[n],"link")),this.createAnnotationEntity(r,t[r],e)))).filter(c))}static createAnnotationEntity(t,e,s){const n=!(!s||!s.autoMatchFormat);switch(t){case"bold":return st.from(e);case"italic":return et.from(e);case"underline":return tt.from(e);case"strikethrough":return Q.from(e);case"code":return nt.from(e,n);case"textColor":return pt.from(e);case"link":return wt.from(e,n);case"inlineHtml":return It.from(e);case"plainText":return Mt.from(e)}return J.createAnnotationEntity(t,e)}toJSON(){const t=Array.from(this.annotationMap.values()).filter((t=>t instanceof b||t instanceof I||t instanceof It)).reduce(((t,e)=>Object.assign(Object.assign({},t),e.toJSON())),{});return Object.assign(Object.assign({id:this.id},Object.keys(t).length>0?{annotations:t}:{}),{type:"text",text:this.text})}toHtml(t){const e=this.getAnnotationByType(S.INLINE_HTML);return e?this.renderWithWrapperStr(e,t):this.renderTextStr(t)}cloneWithText(t){return new Ht(l(),t,this.parent,super.cloneAnnotations())}clone(t){return new Ht(this.id,this.text,t,super.cloneAnnotations())}isEmpty(){return!(this.getAnnotationByType(S.INLINE_HTML)||this.text&&"​"!==this.text&&"\n"!==this.text)}isTextNode(){return!0}getRangeEndOffset(){return!this.isContentEditable()&&this.parent?this.parent.children.indexOf(this)+1:"\n"===this.text?0:this.text.length}getRangeContainer(){const t=this.getElementRef();if(t)return this.isContentEditable()?t.firstChild:t.parentElement}isContentEditable(){return!0}getInlineHtmlTagAtDepth(t){const e=this.getInlineHtmlAnnotationAtDepth(t);return e?lt.has(e.htmlTag)?null:{htmlTag:e.htmlTag,attrStr:this.annotationAttrStr(e),groupId:e.groupId,annotation:e}:null}renderHtmlFromDepth(t,e){if(0===t)return this.toHtml(e);const s=this.getInlineHtmlAnnotationAtDepth(t);return s?this.renderWithWrapperStr(s,e):this.renderTextStr(e)}getInlineHtmlAnnotationAtDepth(t){let e=this.getAnnotationByType(S.INLINE_HTML);for(let s=0;s<t&&e;s++)e=e.child;return e}registerModifyStrategy(){const t=this.constructor.name;Ht.registerActionStrategyStatus[t]||(this.isContentEditable()&&($.register(x.UPDATE_TEXT,t,new jt),$.register(x.REPLACE_SELECTED_TEXT,t,new $t),$.register(x.LINK_GROUP_NODE_SPLIT,t,new Bt),$.register(bt.name,t,new Rt)),$.register(G.name,t,new At),$.register(x.DELETE_LINK_GROUP,t,new Dt),$.register(yt.name,t,new Rt),$.register(Et.name,t,new Rt),$.register(Nt.name,t,new Rt),$.register(Lt.name,t,new Rt),$.register(Ft.name,t,new Rt),$.register(Ct.name,t,new Rt),$.register(Tt.name,t,new Rt),$.register(W.name,t,new Rt),Ht.registerActionStrategyStatus[t]=!0)}doAnnotationActionApply(t){const e=this.getAnnotationByType(f.SELECTION_RANGE);if(t instanceof G&&t.doSplit&&e){const e=$.get(G.name,this.constructor.name);if(e){const s=e.execute(t,this);s&&this.applyActionToNode(s,t)}}else this.applyActionToNode(this,t);"function"==typeof this.parent.mergeNodes&&this.parent.mergeNodes(t)}doModifyActionApply(t){$.executeTheStrategy(t,this)}applyActionToNode(t,e){const s=e.toAnnotation();if(e instanceof mt)return void this.syncUpSelectedNodes(t);s instanceof z||this.syncUpSelectedNodes(t);const n=$.get(e.constructor.name,t.constructor.name);if(n)return void n.execute(e,t);const r=$.get(W.name,Ht.name);r&&r.execute(e,t)}syncUpSelectedNodes(s){const r=this.getElementRef();if(r){const i=e.getSubjectFromParentNodeByEventId(r,n);i&&t.notify(i,{node:s})}}renderWithWrapperStr(t,e){const{htmlTag:s,child:n}=t,r=this.annotationAttrStr(t);return n?`<${s}${r}>${this.renderWithWrapperStr(n,e)}</${s}>`:lt.has(s)?`<${s}${r}>`:this.text?`<${s}${r}>${this.renderTextStr(e)}</${s}>`:`<${s}${r}></${s}>`}annotationAttrStr(t){const{customAttribute:e,customClass:s,customStyle:n}=t,r=[...(null==e?void 0:e.toString())||[],null==s?void 0:s.toString(),null==n?void 0:n.toString()].filter(c);return r.length>0?` ${r.join(" ")}`:""}renderTextStr(t){var e;const s=(null===(e=this.getAnnotationByType(S.CODE))||void 0===e?void 0:e.code)?"code":"span",n=super.generateAttributeString(t);return"\n"===this.text?"<br>":this.shouldRenderAsPlainText()?this.text:`<${s}${n}>${"code"===s?T(this.text):this.text}</${s}>`}shouldRenderAsPlainText(){const t=super.getAnnotationByType(S.PLAIN_TEXT);return!!t&&t.plainText&&0===Array.from(this.annotationMap.values()).filter((t=>t instanceof b&&!(t instanceof wt)&&!(t instanceof Mt)||t instanceof I)).length}}Ht.registerActionStrategyStatus={},Ht.htmlTag="span",Ht.dtoName="RTETextNode";class Pt extends O{constructor(t){super(),this.type=x.APPEND_CHILDREN,this.entityToBeAppended=t}}const Jt={fontFamily:"Inter",fontSize:"16px",lineHeight:"22px",minHeight:"22px",fontWeight:"500"},Kt=Object.assign(Object.assign({},Jt),{marginTop:"0px",marginBottom:"0px"}),Ut={paragraph:Kt,title:Object.assign(Object.assign({},Jt),{fontSize:"36px",lineHeight:"40px",minHeight:"40px"}),subtitle:Object.assign(Object.assign({},Jt),{fontSize:"28px",lineHeight:"32px",minHeight:"32px"}),"heading-1":Object.assign(Object.assign({},Kt),{fontSize:"22px",lineHeight:"24px",minHeight:"24px"}),"heading-2":Object.assign(Object.assign({},Kt),{fontSize:"20px",lineHeight:"24px",minHeight:"24px"}),"heading-3":Object.assign(Object.assign({},Kt),{fontSize:"18px"}),"heading-4":Object.assign({},Kt),"heading-5":Object.assign(Object.assign({},Kt),{fontSize:"14px"}),"heading-6":Object.assign(Object.assign({},Kt),{fontSize:"12px"})};class Wt extends g{constructor(t){super(),this.type=p.TEXT_STYLE,this.textStyle=t}static from(t){return[p.TEXT_STYLE,new Wt(t)]}static getDefaultStyles(t){return t?Ut[t]:null}toJSON(){return{textStyle:this.textStyle}}clone(){return new Wt(this.textStyle)}renderClass(t){return(null==t?void 0:t.standalone)?null:this.textStyle?`v-rte--text-style-${this.textStyle}`:null}renderStyle(t){return(null==t?void 0:t.standalone)&&this.textStyle?Wt.getDefaultStyles(this.textStyle):null}}class Gt extends W{constructor(t,e){super(),this.isFlushable=!0,this.textStyle=t,this.bold=e}toAnnotation(){return new Wt(this.textStyle)}}class zt extends xt{handleAction(t,e){"list-item"!==e.type&&(e.type=t.textStyle),e.children.forEach(t.bold?t=>{const e=new yt(!0);e.doSplit=!1,t.apply(e)}:t=>{t.apply(new vt(S.BOLD))}),this.updateCustomStyleAnnotation(e,["fontFamily","lineHeight","fontWeight","fontSize"])}}class Vt extends O{constructor(t,...e){super(),this.type=x.INSERT_CHILDREN_AFTER,this.referChildren=t,this.childrenToBeInserted=e}}class Xt extends O{constructor(t){super(),this.type=x.REPLACE_CHILD_NODES,this.newChildNodes=t}}class qt extends xt{handleAction(t,e){t.newBlock=this.splitTextNodeBlock(t.splitPointNode,t.startOffsetOfNode,e)}splitTextNodeBlock(t,e,s){if(t){const n=t.text.slice(0,e),r=t.text.slice(e),i=s.children.indexOf(t);if(i>-1){const o=s.children.slice(0,i),c=s.children.slice(i+1);t.isContentEditable()?(n&&o.push(t.cloneWithText(n)),r&&c.unshift(t.cloneWithText(r))):e>0?o.push(t):c.unshift(t),s.apply(new Xt(o));const a=s.cloneWithNodes(c);return s.parent.apply(new Vt(s,a)),a}}}}class Yt extends xt{handleAction(t,e){e.children=[],e.apply(new Pt(t.newChildNodes))}}class Zt extends O{constructor(t){super(),this.type=x.DELETE_CHILDREN,this.entityToBeRemoved=t}}class Qt extends xt{handleAction(t,e){const s=t.blockNeedToBeMerged;if(e.type===s.type||"image"!==e.type&&"image"!==s.type){let t=s.children;"image"!==s.type&&(t=s.children.filter((t=>t.text))),e.apply(new Pt(t)),"image"!==e.type&&this.transferLinkGroups(t,e),s.parent.apply(new Zt(s))}}transferLinkGroups(t,e){t.forEach((t=>{if(!(t instanceof Ht))return;const s=t.getAnnotationByType(S.LINK);s&&e.apply(new gt(s.link.groupKey,[t],"link"))}))}}class te extends xt{handleAction(t,e){t.lineBreakNode=this.lineBreakSingleBlock(t.startContainerNode,t.startOffset,e)}lineBreakSingleBlock(t,e,s){if(t){const n=new Ht(l(),"\n",s),r=t.text.slice(0,e),i=t.text.slice(e),o=s.children.indexOf(t);if(o>-1){const c=s.children.slice(0,o),a=s.children.slice(o+1);t.isContentEditable()?(r&&c.push(t.cloneWithText(r)),i&&a.unshift(t.cloneWithText(i))):e>0?c.push(t):a.unshift(t),this.mergeLineBreakNodes(c,n,a,s)}return n}}mergeLineBreakNodes(t,e,s,n){if(0===s.length||s[0]&&""===s[0].text){const e=t[t.length-1];s.push(new Ht(l(),"\n",n,e&&new Map(e.annotationMap)))}n.apply(new Xt([...t,e,...s]))}}class ee extends xt{handleAction(t,e){t.lineBreakNode=this.lineBreakMultipleBlocks(t.selectedBlocks,e)}lineBreakMultipleBlocks(t,e){const s=e.children,n=new Ht(l(),"\n",e),r=this.concatBlocksNodes(t.slice(1));return this.mergeLineBreakNodes(s,n,r,e),n}concatBlocksNodes(t){const e=[];return t.map((t=>{"image"!==t.type&&(e.push(...t.children),t.parent.apply(new Zt(t)))})),e}mergeLineBreakNodes(t,e,s,n){(0===s.length||s[0]&&""===s[0].text)&&s.push(new Ht(l(),"\n",n,t[t.length-1]&&t[t.length-1].annotationMap)),n.apply(new Xt([...t,e,...s]))}}class se extends O{constructor(t,...e){super(),this.type=x.INSERT_CHILDREN_BEFORE,this.referChildren=t,this.childrenToBeInserted=e}}class ne extends O{constructor(t,e){super(),this.type=x.SPLIT_BLOCK_WITH_NODE,this.splitPointNode=t,this.startOffsetOfNode=e}}function re(t,e){const s=new Set(t.filter((t=>"RTEListItemBlock"===t.dtoName)));return t.filter((t=>{if("RTEListItemBlock"!==t.dtoName)return!0;let n=t.parent;for(;n.parent&&"RTEListItemBlock"===n.parent.dtoName;){const r=n.parent;if(s.has(r))return t.parent.type=e,!1;n=r.parent}return!0}))}class ie extends W{constructor(t){super(),this.isFlushable=!0,this.textAlign=t}toAnnotation(){return new k(this.textAlign)}}class oe extends xt{handleAction(t,e){this.updateCustomStyleAnnotation(e,["textAlign"])}}class ce extends W{constructor(t){super(),this.isFlushable=!0,this.indent=t}toAnnotation(){return new j(this.indent)}}class ae extends U{constructor(t,e,s){super(t),this.dtoName=ae.dtoName,this.children=[],this.type=e;const{autoMatchFormat:n}=s||{autoMatchFormat:!0};n&&(this.annotationMap=ae.isAcceptableTextStyle(e)?new Map([Wt.from(e)]):new Map([Wt.from("paragraph")]))}static from(t,e={autoMatchFormat:!0}){var s,n;const r=new ae(t.id,t.type,e),i=e.autoMatchFormat?Object.assign(Object.assign({},t.annotations),{textStyle:null!==(n=null===(s=t.annotations)||void 0===s?void 0:s.textStyle)&&void 0!==n?n:r.type}):t.annotations;return r.children=t.nodes.map((t=>{const s=K.getRTENodeClass(t.type);if(s)return s.from(t,r,e)})).filter(c),i&&super.convertAnnotationsToMap(r.annotationMap,i),r}static createAnnotationEntity(t,e){return"textStyle"===t?Wt.from(e):super.createAnnotationEntity(t,e)}static isAcceptableTextStyle(t){return["title","subtitle","paragraph","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6"].includes(t)}mergeNodes(t){this.children=this.children.reduce(((e,s)=>{const n=e.at(-1);if(t instanceof bt&&t.needMergeNode){const t=null==n?void 0:n.getAnnotationByType(S.LINK),r=s.getAnnotationByType(S.LINK);if(t&&r&&t.toEqual(r))return e}return[...e,s]}),[])}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{type:this.type,nodes:this.children.map((t=>t.toJSON()))})}toHtml(t){const e=this.getBlockTag(),s=super.generateAttributeString(t),n=this.getChildrenHtml(t);return super.shouldRenderAsInternalWrapper()?n:[`<${e}${s}>`,n,`</${e}>`].join("")}cloneWithNodes(t){const e=new ae(l(),this.type);return e.annotationMap=super.cloneAnnotations(),e.apply(new Pt(t)),e}clone(t){const e=new ae(this.id,this.type);return e.children=this.children.map((t=>t.clone(e))),e.annotationMap=super.cloneAnnotations(),e.parent=t,e}isNotEmpty(){return this.children.length>0&&this.children.some((t=>!t.isEmpty()))}getLastNode(){return this.children[this.children.length-1]}getBlockTag(){switch(this.type){case"title":case"subtitle":return"div";case"heading-1":return"h1";case"heading-2":return"h2";case"heading-3":return"h3";case"heading-4":return"h4";case"heading-5":return"h5";case"heading-6":return"h6";case"paragraph":default:return"p"}}getChildrenHtml(t){const e=this.getAnnotationByType(f.LINK_GROUP);let s=this.renderGroupedNodesAtDepth(this.children,0,t);return e&&this.children.length>0&&(s=this.generateLinkHtml(e,s,t)),s}doAnnotationActionApply(t){const e=$.get(t.constructor.name,ae.name);e&&e.execute(t,this)}renderGroupedNodesAtDepth(t,e,s){var n;let r="",i=0;for(;i<t.length;){const o=t[i].getInlineHtmlTagAtDepth(e);if(!(null==o?void 0:o.groupId)){r+=t[i].renderHtmlFromDepth(e,s),i++;continue}let c=i+1;for(;c<t.length&&(null===(n=t[c].getInlineHtmlTagAtDepth(e))||void 0===n?void 0:n.groupId)===o.groupId;)c++;if(c===i+1)r+=t[i].renderHtmlFromDepth(e,s);else{const n=this.renderGroupedNodesAtDepth(t.slice(i,c),e+1,s);r+=`<${o.htmlTag}${o.attrStr}>${n}</${o.htmlTag}>`}i=c}return r}generateLinkHtml(t,e,s){e="";let n=[];for(let r=0;r<this.children.length;r++){const i=this.children[r].getAnnotationByType(S.LINK),o=this.children[r+1]?this.children[r+1].getAnnotationByType(S.LINK):null;if(i){if(n.push(this.children[r]),!o||i.link.groupKey!==o.link.groupKey){const r=t.toString(i,{standalone:!0,filterInlineStyles:null==s?void 0:s.filterInlineStyles});e+=[`<a${r?` ${r}`:""}>`,this.renderGroupedNodesAtDepth(n,0,s),"</a>"].join(""),n=[]}}else e+=this.children[r].toHtml(s)}return e}}$.register(Gt.name,ae.name,new zt),$.register(ie.name,ae.name,new oe),$.register(ce.name,ae.name,new class extends xt{handleAction(t,e){this.updateCustomStyleAnnotation(e,["marginLeft"])}}),$.register(gt.name,ae.name,new class extends xt{handleAction(t,e){let s=e.getAnnotationByType(f.LINK_GROUP);if("update_link"===t.type){if(s){const e=s.linkGroups.get(t.groupKey);e&&s.linkGroups.set(t.groupKey,[e[0]])}}else{if(s){const e=s.linkGroups.get(t.groupKey)||[];s.linkGroups.set(t.groupKey,[...e,...t.nodes])}else s=t.toAnnotation(),s.linkGroups.set(t.groupKey,[...t.nodes]);e.annotationMap.set(f.LINK_GROUP,s)}}}),$.register(x.UNLINK_LINK_GROUP,ae.name,new class extends xt{handleAction(t,e){const s=e.getAnnotationByType(f.LINK_GROUP);s&&(s.linkGroups.size>1?s.linkGroups.delete(t.groupKey):e.annotationMap.delete(f.LINK_GROUP))}}),$.register(x.SPLIT_BLOCK_WITH_NODE,ae.name,new qt),$.register(x.REPLACE_CHILD_NODES,ae.name,new Yt),$.register(x.MERGE_TWO_BLOCKS_NODES,ae.name,new Qt),$.register(x.LINE_BREAK_SINGLE_BLOCK,ae.name,new te),$.register(x.LINE_BREAK_MULTIPLE_BLOCKS,ae.name,new ee),$.register(x.INSERT_IMAGE_TO_BLOCK,ae.name,new class extends xt{handleAction(t,e){const s=t.splitPointNode,n=t.startOffsetOfNode,r=t.imageBlockToBeInserted;if(this.isCaretPositionAtBlockEnd(e,s,n))e.parent.apply(new Vt(e,r));else if(this.isCaretPositionAtBlockStart(e,s,n))e.parent.apply(new se(e,r));else{const t=new ne(s,n);e.apply(t),e.parent.apply(new Vt(e,r))}}}),$.register(x.TRANSFORM_LIST_BLOCK,ae.name,new class extends xt{handleAction(t,e){const s=this.getRootContent(e);if(!s)return;const n=e.parent,r=s.createList(t.listType),i=re(t.selectedBlocks,t.listType),o=i.map((t=>s.toListItem(t)));r.apply(new Pt(o)),n.apply(new Vt(t.selectedBlocks[0],r)),i.forEach((t=>{t.parent.apply(new Zt(t))}))}}),ae.dtoName="RTETextBlock";class le extends xt{copyListAnnotations(t,e){t.annotationMap.forEach(((t,s)=>{e.annotationMap.set(s,t.clone())}))}haveSameListAnnotations(t,e){var s,n;const r=Array.from(t.annotationMap.keys()).sort(),i=Array.from(e.annotationMap.keys()).sort();return JSON.stringify(r)===JSON.stringify(i)&&JSON.stringify(this.normalizeAnnotationValue(null!==(s=t.toJSON().annotations)&&void 0!==s?s:{}))===JSON.stringify(this.normalizeAnnotationValue(null!==(n=e.toJSON().annotations)&&void 0!==n?n:{}))}normalizeAnnotationValue(t){if(Array.isArray(t))return t.map((t=>this.normalizeAnnotationValue(t)));if(t&&"object"==typeof t){const e=t;return Object.keys(e).sort().reduce(((t,s)=>(t[s]=this.normalizeAnnotationValue(e[s]),t)),{})}return t}}class he extends ae{constructor(t,e,s){super(t,"list-item",s),this.dtoName=he.dtoName,this.nestList=[],this.nestList=e}static from(t,e={autoMatchFormat:!0}){const s=new he(t.id,void 0,e);s.children=t.nodes.map((t=>Ht.from(t,s,e))),t.children&&(s.nestList=t.children.map((t=>{const n=me.from(t,e);return n.parent=s,n})));const{annotations:n}=t;return n&&Object.entries(n).forEach((([t,e])=>{const n=this.createAnnotationEntity(t,e);c(n)&&s.annotationMap.set(...n)})),s}toJSON(){var t;return Object.assign(Object.assign({},super.toJSON()),{type:"list-item",children:null===(t=this.nestList)||void 0===t?void 0:t.map((t=>t.toJSON()))})}toHtml(t){var e;const s=super.generateAttributeString(t),n=(null===(e=this.nestList)||void 0===e?void 0:e.length)?this.nestList.map((e=>e.toHtml(t))).join(""):"";return[`<li${s}>`,this.getChildrenHtml(t),n,"</li>"].join("")}cloneWithNodes(t){const e=new he(l());return e.children=[],e.apply(new Pt(t)),e}getLastNode(){return this.nestList&&this.nestList.length>0?this.nestList[this.nestList.length-1].getLastNode():super.getLastNode()}createNewListItem(){return new he(l())}clone(t){var e;const s=new he(this.id);return s.children=this.children.map((t=>t.clone(s))),s.annotationMap=super.cloneAnnotations(),s.nestList=null===(e=this.nestList)||void 0===e?void 0:e.map((t=>t.clone(s))),s.parent=t,s}}$.register(Gt.name,he.name,new zt),$.register(ie.name,he.name,new oe),$.register(x.LINE_BREAK_SINGLE_BLOCK,he.name,new te),$.register(x.LINE_BREAK_MULTIPLE_BLOCKS,he.name,new ee),$.register(x.DELETE_NEST_LIST,he.name,new class extends xt{handleAction(t,e){e.nestList&&(e.nestList=e.nestList.length>1?e.nestList.filter((e=>e!==t.nestListBlockToBeRemoved)):void 0)}}),$.register(x.SPLIT_BLOCK_WITH_NODE,he.name,new qt),$.register(x.REPLACE_CHILD_NODES,he.name,new Yt),$.register(x.REPLACE_NEST_LIST,he.name,new class extends le{handleAction(t,e){const s=this.mergeAdjacentSameType(t.newList);s.forEach((t=>{t.parent=e})),e.nestList=s}mergeAdjacentSameType(t){if(t.length<=1)return t;const e=[t[0]];for(let s=1;s<t.length;s++){const n=e[e.length-1],r=t[s];n.type===r.type&&this.haveSameListAnnotations(n,r)?(r.children.forEach((t=>{t.parent=n})),n.children=n.children.concat(r.children)):e.push(r)}return e}}),$.register(x.MERGE_TWO_BLOCKS_NODES,he.name,new Qt),$.register(x.INSERT_IMAGE_TO_BLOCK,he.name,new class extends xt{handleAction(t,e){e.parent.apply(t)}}),he.dtoName="RTEListItemBlock";class ue extends O{constructor(t){super(),this.type=x.REPLACE_NEST_LIST,this.newList=t}}class de extends O{constructor(t){super(),this.type=x.TRANSFORM_PARAGRAPH_BLOCK,this.isFlushable=!0,this.selectedBlocks=t}}class fe extends U{constructor(t,e){super(t),this.dtoName=fe.dtoName,this.type="html-block",this.children=[],this.htmlTag=e}static from(t,e){const s=new fe(t.id,t.htmlTag),{annotations:n}=t;return n&&super.convertAnnotationsToMap(s.annotationMap,n),s.children=this.generateBlockChildren(t.children,e,s),s}clone(t){const e=new fe(this.id,this.htmlTag);return e.children=this.children.map((t=>t.clone(e))),e.annotationMap=super.cloneAnnotations(),e.parent=t,e}getLastNode(){return this.children[this.children.length-1].getLastNode()}isNotEmpty(){return!0}toHtml(t){const e=this.htmlTag,s=super.generateAttributeString(t);return lt.has(this.htmlTag)?`<${e}${s}>`:[`<${e}${s}>`,this.children.map((e=>e.toHtml(t))).join(""),`</${e}>`].join("")}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{id:this.id,type:this.type,htmlTag:this.htmlTag,children:this.children.map((t=>t.toJSON()))})}}fe.dtoName="RTEHtmlBlock";class pe extends xt{getOrderedContiguousItems(t,e){const s=[...e].sort(((e,s)=>t.children.indexOf(e)-t.children.indexOf(s))),n=t.children.indexOf(s[0]);return n<0?[]:t.children.slice(n,n+s.length).every(((t,e)=>t===s[e]))?s:[]}}class we extends O{constructor(t){super(),this.type=x.DELETE_NEST_LIST,this.nestListBlockToBeRemoved=t}}class ge extends g{constructor(){super(...arguments),this.type=p.LIST}static getDefaultStyles(){return{paddingLeft:"8px",marginLeft:"16px"}}static getDefaultMarkerStyles(){return{fontSize:"16px"}}renderStyle(t){return(null==t?void 0:t.standalone)?ge.getDefaultStyles():null}renderClass(t){return(null==t?void 0:t.standalone)?null:"v-rte--list"}clone(){return new ge}toJSON(){}}class me extends U{constructor(t,e,s){super(t),this.dtoName=me.dtoName,this.type="bullet-list",this.children=[],this.type=e;const{autoMatchFormat:n}=s||{autoMatchFormat:!0};n&&this.annotationMap.set(p.LIST,new ge)}static from(t,e={autoMatchFormat:!0}){const s=new me(t.id,t.type,e),{annotations:n}=t;return n&&Object.entries(n).forEach((([t,e])=>{const n=this.createAnnotationEntity(t,e);c(n)&&s.annotationMap.set(...n)})),s.children=t.blocks.map((t=>{const n=he.from(t,e);return n.parent=s,n})),s}static createAnnotationEntity(t,e){switch(t){case"customAttribute":return B.from(e);case"customClass":return D.from(e);case"customStyle":return M.from(e)}}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{id:this.id,type:this.type,blocks:this.children.map((t=>t.toJSON()))})}toHtml(t){const e=this.getBlockTag();return[`<${e}${super.generateAttributeString(t)}>`,this.children.map((e=>e.toHtml(t))).join(""),`</${e}>`].join("")}isNotEmpty(){return this.children.length>0}getLastNode(){return this.children[this.children.length-1].getLastNode()}clone(t){const e=new me(this.id,this.type);return e.children=this.children.map((t=>t.clone(e))),e.annotationMap=super.cloneAnnotations(),e.parent=t,e}getBlockTag(){return"number-list"===this.type?"ol":"ul"}}$.register(x.TRANSFORM_LIST_BLOCK,me.name,new class extends le{handleAction(t,e){var s;const n=t.selectedBlocks,r=n.every((t=>t.parent===e)),i=this.getRootContent(e);if(!i)return;if(e.parent instanceof he){if(r){const r=this.createListFromSource(i,e,t.listType);r.apply(new Pt(e.children));const o=e.parent,c=(null!==(s=o.nestList)&&void 0!==s?s:[]).map((t=>t===e?r:t));o.apply(new ue(c)),n.forEach((t=>t.children.map((t=>t.apply(new mt)))))}else this.handleCrossListTransform(t,e);return}if(!r&&n.every((t=>t instanceof he))){const e=new Set(n.map((t=>t.parent))),s=new Set;e.forEach((e=>{e.type!==t.listType&&this.convertListTypeInPlace(e,t.listType)}));const r=new Set;return n.forEach((t=>{const e=t.parent;e.parent instanceof he||(s.add(e),r.add(e.parent))})),r.forEach((t=>{for(let e=0;e<t.children.length-1;){const n=t.children[e],r=t.children[e+1];n instanceof me&&r instanceof me&&n.type===r.type&&this.haveSameListAnnotations(n,r)&&s.has(n)&&s.has(r)?(n.apply(new Pt([...r.children])),t.apply(new Zt(r)),s.delete(r)):e++}})),void n.forEach((t=>t.children.map((t=>t.apply(new mt)))))}const o=this.createListFromSource(i,e,t.listType),c=e.parent;if(r)o.apply(new Pt(e.children)),c.apply(new Vt(e,o)),c.apply(new Zt(e)),n.forEach((t=>t.children.map((t=>t.apply(new mt)))));else{const s=re(t.selectedBlocks,t.listType),n=s.map((t=>i.toListItem(t)));o.apply(new Pt(n)),c.apply(new Vt(e,o)),s.forEach((t=>{t.parent.apply(new Zt(t))})),0===e.children.length&&c.apply(new Zt(e))}}convertListTypeInPlace(t,e){var s;const n=this.getRootContent(t);if(!n)return;const r=t.parent,i=this.createListFromSource(n,t,e);if(i.apply(new Pt([...t.children])),r instanceof he){const e=(null!==(s=r.nestList)&&void 0!==s?s:[]).map((e=>e===t?i:e));r.apply(new ue(e))}else r.apply(new Vt(t,i)),r.apply(new Zt(t))}handleCrossListTransform(t,e){if(!(e.parent instanceof he))return;const s=this.getRootContent(e);if(!s)return;const n=e.parent,r=n.nestList,i=new Set(t.selectedBlocks.filter((t=>t instanceof he)).map((t=>t.parent)).filter((t=>r.includes(t))));if(!i.size)return;const o=r.map((e=>{if(!i.has(e))return e;const n=this.createListFromSource(s,e,t.listType);return n.apply(new Pt(e.children)),n}));n.apply(new ue(o)),t.selectedBlocks.forEach((t=>t.children.map((t=>t.apply(new mt)))))}createListFromSource(t,e,s){const n=t.createList(s);return this.copyListAnnotations(e,n),n}}),$.register(x.TRANSFORM_PARAGRAPH_BLOCK,me.name,new class extends le{handleAction(t,e){const s=this.getSelectedSegments(t.selectedBlocks);0!==s.length&&this.hasConsistentTargetAndRoot(s,e)&&(this.syncSelection(s),[...s].reverse().forEach((t=>this.transformSegment(t))))}hasConsistentTargetAndRoot(t,e){if(t[0][0].parent!==e)return!1;const s=this.getRootContent(e);return Boolean(s&&t.every((t=>t.every((t=>this.getRootContent(t)===s)))))}syncSelection(t){t.forEach((t=>{t.forEach((t=>{t.children.forEach((t=>t.apply(new mt)))}))}))}transformSegment(t){const e=t[0].parent,s=new de(t);e.parent instanceof he?this.handleNestedListCase(s,e):this.handleRootListCase(s,e)}handleRootListCase(t,e){const s=this.getRootContent(e);let n=!1,r=!1;const i=t.selectedBlocks,o=[];if(i.forEach((t=>{var s;t===e.children[0]&&(n=!0),t===e.children[e.children.length-1]&&(r=!0),o.push(this.toParagraph(t));for(const e of null!==(s=t.nestList)&&void 0!==s?s:[])this.appendListBlock(o,e)})),n)e.parent.apply(new se(e,...o));else if(r)e.parent.apply(new Vt(e,...o));else{const t=e.children.indexOf(i[0]),n=e.children.indexOf(i[i.length-1]),r=this.createListFromSource(s,e);r.apply(new Pt(e.children.slice(0,t)));const c=this.createListFromSource(s,e);c.apply(new Pt(e.children.slice(n+1)));const a=o[o.length-1];a instanceof me&&c.children.length>0&&a.type===c.type&&this.haveSameListAnnotations(a,c)?(a.apply(new Pt(c.children)),e.parent.apply(new se(e,r,...o))):e.parent.apply(new se(e,r,...o,c)),e.parent.apply(new Zt(e))}if(i.map((t=>{t.nestList=[],e.apply(new Zt(t))})),0===e.children.length)e.parent.apply(new Zt(e));else if(n){const t=o[o.length-1];t instanceof me&&t.type===e.type&&this.haveSameListAnnotations(t,e)&&(t.apply(new Pt([...e.children])),e.parent.apply(new Zt(e)))}}handleNestedListCase(t,e){const s=t.selectedBlocks,n=this.getRootContent(e),r=e.children.indexOf(s[0]),i=[];s.forEach((t=>{var e;i.push(this.toParagraph(t));for(const s of null!==(e=t.nestList)&&void 0!==e?e:[])this.appendListBlock(i,s)}));const o=e.children.indexOf(s[s.length-1]),c=e.children.slice(o+1),a=[];let l=e;for(;l.parent instanceof he;){const t=l.parent,e=t.parent,s=e.children.indexOf(t),n=t.nestList,r=n.indexOf(l),i=n.slice(r+1);a.push({list:e,ancestorIndex:s,trailingNestLists:i}),l=e}const h=l,u=h.parent,d=[];c.length>0&&d.push({items:c,sourceList:e});for(const t of a){for(const e of t.trailingNestLists)e.children.length>0&&d.push({items:[...e.children],sourceList:e});const e=t.list.children.slice(t.ancestorIndex+1);e.length>0&&d.push({items:e,sourceList:t.list})}const f=[];for(const t of d){const e=f[f.length-1];e&&e.sourceList.type===t.sourceList.type&&this.haveSameListAnnotations(e.sourceList,t.sourceList)?e.items.push(...t.items):f.push({items:[...t.items],sourceList:t.sourceList})}f.map((t=>{const e=this.createListFromSource(n,t.sourceList);return e.apply(new Pt(t.items)),e})).forEach((t=>this.appendListBlock(i,t))),e.children=e.children.slice(0,r);const p=e.parent,w=p.nestList,g=w.indexOf(e);let m=w.slice(0,g+1);0===e.children.length&&(m=m.filter((t=>t!==e))),p.apply(new ue(m));for(const t of a)if(t.list.children=t.list.children.slice(0,t.ancestorIndex+1),t.trailingNestLists.length>0){const e=t.list.children[t.ancestorIndex],s=e.nestList,n=s.indexOf(t.trailingNestLists[0]);if(n>=0){const t=s.slice(0,n);e.apply(new ue(t))}}u.apply(new Vt(h,...i))}getSelectedSegments(t){const e=Array.from(new Set(t.filter((t=>t instanceof he)))).map((t=>({item:t,path:this.getStructuralPath(t)}))).filter((t=>null!==t.path)).sort(((t,e)=>this.compareStructuralPaths(t.path,e.path))).map((t=>t.item)),s=[];for(const t of e){const e=s[s.length-1],n=null==e?void 0:e[e.length-1];(null==n?void 0:n.parent)===t.parent&&t.parent.children.indexOf(t)-t.parent.children.indexOf(n)==1?e.push(t):s.push([t])}return s}getStructuralPath(t){var e;const s=[],n=new Set;let r=t,i=t.parent;for(;!n.has(i);){n.add(i);const t=i.children.indexOf(r);if(t<0)return null;if(s.unshift(t),"VegaRTEContent"===i.parent.dtoName||"RTEHtmlBlock"===i.parent.dtoName){const t=this.getContainerPath(i);return t?[...t,...s]:null}if(!(i.parent instanceof he))return null;const o=i.parent,c=(null!==(e=o.nestList)&&void 0!==e?e:[]).indexOf(i);if(c<0)return null;s.unshift(c),r=o,i=o.parent}return null}getContainerPath(t){const e=[],s=new Set;let n=t,r=t.parent;for(;r instanceof fe;){if(s.has(r))return null;s.add(r);const t=r.children.indexOf(n);if(t<0)return null;e.unshift(t),n=r,r=r.parent}const i=r.children.indexOf(n);return i<0?null:(e.unshift(i),e)}compareStructuralPaths(t,e){const s=Math.min(t.length,e.length);for(let n=0;n<s;n++)if(t[n]!==e[n])return t[n]-e[n];return t.length-e.length}appendListBlock(t,e){const s=t[t.length-1];s instanceof me&&s.type===e.type&&this.haveSameListAnnotations(s,e)?s.apply(new Pt([...e.children])):t.push(e)}createListFromSource(t,e){const s=t.createList(e.type);return this.copyListAnnotations(e,s),s}toParagraph(t){const e=new ae(l(),"paragraph");return e.apply(new Pt(t.children)),e.annotationMap=t.annotationMap,e}}),$.register(x.INSERT_IMAGE_TO_BLOCK,me.name,new class extends xt{handleAction(t,e){e.parent.apply("list-item"!==e.parent.type?new Vt(e,t.imageBlockToBeInserted):t)}}),$.register(x.NEST_LIST_ITEMS,me.name,new class extends pe{handleAction(t,e){var s,n;const r=this.getOrderedContiguousItems(e,t.selectedBlocks);if(!r.length)return;const i=e.children.indexOf(r[0]);if(i<=0)return;const o=e.children[i-1],c=new Set(r);let a=null===(s=o.nestList)||void 0===s?void 0:s[o.nestList.length-1];a||(a=new me(l(),e.type),o.apply(new ue([...null!==(n=o.nestList)&&void 0!==n?n:[],a]))),e.children=e.children.filter((t=>!c.has(t))),a.children=a.children.concat(r),r.forEach((t=>{var e;t.parent=a,(null===(e=t.nestList)||void 0===e?void 0:e.length)&&this.unifyDescendantNestLists(t,t.nestList[0].type),t.children.forEach((t=>t.apply(new mt)))}))}unifyDescendantNestLists(t,e){var s;if(!(null===(s=t.nestList)||void 0===s?void 0:s.length))return;let n=!1;for(const s of t.nestList){s.type!==e&&(s.type=e,n=!0);for(const t of s.children)this.unifyDescendantNestLists(t,e)}n&&t.apply(new ue([...t.nestList]))}}),$.register(x.UNNEST_LIST_ITEMS,me.name,new class extends pe{handleAction(t,e){var s;const n=this.getOrderedContiguousItems(e,t.selectedBlocks),r=e.parent;if(!(n.length&&r instanceof he))return;const i=e.children.indexOf(n[0]),o=e.children.indexOf(n[n.length-1]);if(i<0||o<i)return;const c=r,a=c.parent,h=a.children.indexOf(c);if(h<0)return;const u=e.children.slice(o+1),d=new Set(n);if(e.children=e.children.filter((t=>!d.has(t))),a.children=[...a.children.slice(0,h+1),...n,...a.children.slice(h+1)],n.forEach((t=>{t.parent=a,t.children.forEach((t=>t.apply(new mt)))})),u.length>0){const t=new Set(u);e.children=e.children.filter((e=>!t.has(e)));const r=n[n.length-1];let i=null===(s=r.nestList)||void 0===s?void 0:s[r.nestList.length-1];if(i&&i.type!==e.type&&(i=null),!i){i=new me(l(),e.type);const t=Array.isArray(r.nestList)?r.nestList:[];r.apply(new ue([...t,i]))}i.children=i.children.concat(u),u.forEach((t=>{t.parent=i}))}const f=this.collectTrailingNestLists(c,e);if(f.length>0){const t=n[n.length-1],e=Array.isArray(t.nestList)?t.nestList:[];t.apply(new ue([...e,...f]))}0===e.children.length&&c.apply(new we(e))}collectTrailingNestLists(t,e){var s;const n=null!==(s=t.nestList)&&void 0!==s?s:[],r=n.indexOf(e);if(r<0||r>=n.length-1)return[];const i=n.slice(r+1);return t.apply(new ue(n.slice(0,r+1))),i}}),me.dtoName="RTEListBlock";class xe extends xt{getPreviousNode(t){var e;const s=t.parent,n=s.children.indexOf(t);if(n>0)return s.children[n-1];if(s.parent){if(s.isListItemBlock()&&0===s.parent.children.indexOf(s)&&s.parent.parent instanceof he){const t=s.parent.parent;if(0!==(null!==(e=t.nestList)&&void 0!==e?e:[]).indexOf(s.parent)){const t=this.getPreviousBlock(s);return t?this.getBlockLastNode(t):null}const n=t.children;return n.length>0?n[n.length-1]:null}const t=this.getPreviousBlock(s);if(t)return this.getBlockLastNode(t)}}getNextNode(t){const e=t.parent,s=e.children.indexOf(t);if(e.children[s+1])return e.children[s+1];if(e.parent){const t=this.getNextBlock(e);if(t)return this.getBlockFirstNode(t)}}isContentFirstNode(t){const e=t.parent,s=e.children.indexOf(t),n=e.parent;if(e.isListItemBlock()){const t=n.parent;return 0===s&&Array.isArray(n.children)&&n.children[0]===e&&"list-item"!==t.type&&Array.isArray(t.children)&&t.children[0]===n}return 0===s&&Array.isArray(n.children)&&n.children[0]===e}getPreviousBlock(t){var e;if(t.parent instanceof he){const s=null!==(e=t.parent.nestList)&&void 0!==e?e:[],n=s.indexOf(t);if(n>0)return s[n-1];if(0===n)return t.parent}if(t&&t.parent&&t.parent.children){const e=t.parent.children.indexOf(t);if(e>0)return t.parent.children[e-1];if(this.isRTEBlock(t.parent)&&0===e)return this.getPreviousBlock(t.parent)}}getBlockLastNode(t){return t.getLastNode()}getBlockFirstNode(t){if("number-list"===t.type||"bullet-list"===t.type){if(t.children)return this.getBlockFirstNode(t.children[0])}else if(t.children)return t.children[0]}getNextBlock(t){if(t&&t.parent&&t.parent.children){const e=t.parent.children.indexOf(t);if(t.parent.children[e+1])return t.parent.children[e+1];if("list-item"===t.type&&t.parent.children.length===e+1)return this.getNextBlock(t.parent)}}isRTEBlock(t){return t&&"VegaRTEContent"!==t.dtoName}}class Se extends O{constructor(t,e){super(),this.isFlushable=!0,this.type=x.UPDATE_CODE_BLOCK,this.content=t,this.language=e}}class Ae extends W{constructor(t){super(),this.isFlushable=!1,this.range=t}toAnnotation(){return new z(this.range)}}class ye extends J{constructor(){super(...arguments),this.type="decorator-node",this.isSelected=!1}static isDecoratorNodeContainerElement(t){return t&&t.classList.contains(ye.DECORATOR_CONTAINER_CLASS)}static getDecoratorNodeElement(t){return t.querySelector(`.${ye.DECORATOR_NODE_CLASS}`)}getRangeEndOffset(){return 1}getRangeContainer(){const t=this.getElementRef();if(t)return d(t,`.${ye.DECORATOR_CONTAINER_CLASS}`)}isContentEditable(){return!1}}ye.DECORATOR_CONTAINER_CLASS="v-internal-decorator-container",ye.DECORATOR_NODE_CLASS="v-internal-decorator-node";class Oe extends N{constructor(){super(...arguments),this.stylesToBeFiltered=Oe.STYLES,this.elementTagName="pre code"}canFilter(t){return C.isCodeBlockNode(t)}canRefill(t,e){return!1}toCssText(){return this.buildCssTextForStyles(this.elementTagName,this.classNameToBeAdded)}}Oe.STYLES={boxSizing:"border-box",color:"rgba(var(--v-text-primary, 32, 54, 69, 1))",textAlign:"left",fontFamily:"'Roboto Mono'",fontWeight:"400",lineHeight:"22px",fontSize:"16px",whiteSpace:"pre-wrap",minHeight:"22px",tabSize:"2px"};class Ee extends ye{constructor(t,e,s,n){super(t),this.dtoName=Ee.dtoName,this.type=y.CODE_BLOCK_NODE,this.text="",this.annotationMap=new Map,this.text=e,this.parent=n,this.language=s,this.annotationMap.set(A.CUSTOM_STYLE,new M(Oe.STYLES))}toJSON(){return{id:this.id,type:"text",text:this.text,language:this.language}}toHtml(t){return`<code${this.generateAttributeString(t)}>${this.text}</code>`}clone(t){return new Ee(this.id,this.text,this.language,t)}doAnnotationActionApply(t){$.executeTheStrategy(t,this)}doModifyActionApply(t){$.executeTheStrategy(t,this)}}$.register(x.UPDATE_CODE_BLOCK,Ee.name,new class extends xt{handleAction(t,e){const{content:s,language:n}=t;e.language=n,e.text=s}}),$.register(Ae.name,Ee.name,new class extends xt{handleAction(t,e){e.annotationMap.set(f.SELECTION_RANGE,t.toAnnotation())}}),Ee.dtoName="RTECodeBlockNode";var Te;!function(t){t.CSS="css",t.HTML="html",t.JavaScript="js",t.JSX="jsx",t["Plain Text"]="plainText",t.TypeScript="ts",t.TSX="tsx"}(Te||(Te={}));class ve extends xt{handleAction(t,e){e.children=e.children.filter((e=>e!==t.entityToBeRemoved)),0===e.children.length&&"parent"in e&&e.parent&&(e.isListItemBlock()&&e.nestList&&e.nestList.length||e.parent.apply(new Zt(e)))}}class Ne extends N{constructor(){super(...arguments),this.stylesToBeFiltered=Ne.STYLES,this.elementTagName="pre"}canFilter(t){return C.isCodeBlock(t.dtoName)}canRefill(t,e){return!1}toCssText(){return this.buildCssTextForStyles(this.elementTagName,this.classNameToBeAdded)}}Ne.STYLES={backgroundColor:"rgba(var(--v-bg-secondary, 245, 247, 247, 1))",padding:"12px"};class be extends U{constructor(t,e,s){super(t),this.dtoName=be.dtoName,this.type="code-block",this.annotationMap=new Map([M.from(Ne.STYLES)]),this.children=[new Ee(`${t}-1`,e,s,this)]}static from(t){return new be(t.id,t.content,t.language)}toJSON(){const{language:t,text:e}=this.children[0];return{id:this.id,type:"code-block",content:e,language:t}}toHtml(t){const{language:e=Te["Plain Text"]}=this.children[0];return`<pre data-language="${e}"${super.generateAttributeString(t)}>${this.children.map((e=>e.toHtml(t)))}</pre>`}clone(t){const e=be.from(this.toJSON());return e.parent=t,e}apply(n){if(n instanceof O&&$.executeTheStrategy(n,this),n.isFlushable){const n=m.getDOMByEntity(this);if(n){const r=e.getSubjectFromParentNodeByEventId(n,s);r&&t.notify(r,{})}}}isNotEmpty(){return!!this.children.length}getLastNode(){return this.children[0]}isSelected(){return this.children[0].annotationMap.has(f.SELECTION_RANGE)}}$.register(x.DELETE_CODE_BLOCK,be.name,new class extends xe{handleAction(t,e){const s=e.children[0],n=e.parent;if(n){let t=this.getPreviousNode(s),r=this.getRTENodeEndOffset(t);t||(t=this.getNextNode(s),r=0),n.apply(new Zt(e));const i=t?m.getDOMByEntity(t):null;if(0===n.children.length){const s=ae.from({id:l(),type:"paragraph",nodes:[{id:l(),type:"text",text:""}]});e.parent.apply(new Pt([s])),t=s.children[0],r=0}this.notifyUpdateSelection(t,i,r,e)}}notifyUpdateSelection(s,r,i,o){const c=m.getDOMByEntity(o);if(c){const o=e.getSubjectFromParentNodeByEventId(c,n);o&&t.notify(o,{node:s,updateDirectly:!!r,offset:i})}}getRTENodeEndOffset(t){return t?t.getRangeEndOffset():0}}),$.register(x.DELETE_CHILDREN,be.name,new ve),$.register(x.SWITCH_OUT_FROM_CODE_BLOCK,be.name,new class extends xt{handleAction(s,r){const{content:i,language:o}=s,c=i.split("\n"),a=new Se(c.slice(0,c.length-2).join("\n"),o);a.isFlushable=!1,r.children[0].apply(a);const h=ae.from({id:l(),type:"paragraph",nodes:[{id:l(),text:"",type:"text"}]});r.parent.apply(new Vt(r,h));const u=m.getDOMByEntity(r);if(u){const s=e.getSubjectFromParentNodeByEventId(u,n);s&&t.notify(s,{node:h.children[0]})}}}),$.register(x.INSERT_IMAGE_TO_BLOCK,be.name,new class extends xt{handleAction(t,e){e.parent.apply(new Vt(e,t.imageBlockToBeInserted))}}),be.CODE_BLOCK_PLACEHOLDER_CLASS_NAME="code-block-placeholder-element",be.dtoName="RTECodeBlock";export{fe as $,$ as A,g as B,A as C,Yt as D,oe as E,xe as F,ve as G,ie as H,Vt as I,we as J,ue as K,me as L,O as M,S as N,X as O,V as P,E as Q,Ht as R,ne as S,it as T,_t as U,at as V,rt as W,q as X,Z as Y,Y as Z,Wt as _,U as a,C as a0,ge as a1,k as a2,nt as a3,L as a4,Ne as a5,Oe as a6,mt as a7,_ as a8,Te as a9,D as aa,ct as ab,ot as ac,bt as ad,Se as ae,Ae as af,Ft as ag,ht as ah,yt as ai,Nt as aj,Lt as ak,Gt as al,st as am,p as an,Et as ao,Tt as ap,Ct as aq,ce as ar,de as as,T as at,dt as au,ut as av,ft as aw,ae as b,H as c,xt as d,Pt as e,J as f,se as g,f as h,x as i,W as j,Zt as k,B as l,K as m,N as n,ye as o,be as p,he as q,Ee as r,m as s,M as t,P as u,b as v,y as w,I as x,Xt as y,Qt as z}