@heartlandone/vega 2.83.0 → 2.85.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 (477) hide show
  1. package/dist/cjs/{accessibility-bfa227f6.js → accessibility-a5ef2038.js} +3 -2
  2. package/dist/cjs/{app-globals-40b1b1b2.js → app-globals-54327b0a.js} +7 -7
  3. package/dist/cjs/{child-nodes-event-prevent-slimmer-9b7095a4.js → child-nodes-event-prevent-slimmer-f3979a03.js} +1 -1
  4. package/dist/cjs/{code-block-b1f8aded.js → code-block-6da521e6.js} +24 -40
  5. package/dist/cjs/{component-value-history-controller-slimmer.abstract-99fbd1f2.js → component-value-history-controller-slimmer.abstract-f3f35f94.js} +3 -3
  6. package/dist/cjs/{content-state-648652b4.js → content-state-89fafb3b.js} +2 -2
  7. package/dist/cjs/{date-required-rule-6addf5dd.js → date-required-rule-0dd83683.js} +1 -1
  8. package/dist/cjs/{design-token-93070bb8.js → design-token-4b3509dd.js} +3 -3
  9. package/dist/cjs/{element-appender-slimmer-52c2b455.js → element-appender-slimmer-2b4e0a62.js} +2 -2
  10. package/dist/cjs/{event-emit-slimmer-bcb458b2.js → event-emit-slimmer-80e1c8ca.js} +1 -1
  11. package/dist/cjs/{form-field-controller-slimmer-0f3a028e.js → form-field-controller-slimmer-a07e3de0.js} +1 -1
  12. package/dist/cjs/{image-annotation-action-0339e983.js → image-annotation-action-025389a7.js} +3 -3
  13. package/dist/cjs/{immutable-map-edf24b54.js → immutable-map-d711339d.js} +16 -4
  14. package/dist/cjs/index-58ea899e.js +4 -0
  15. package/dist/cjs/index.cjs.js +17 -17
  16. package/dist/cjs/{inject-keyboard-manager-2d9c4f92.js → inject-keyboard-manager-ff8735b8.js} +1 -1
  17. package/dist/cjs/{internal-translation-controller-fb1532f4.js → internal-translation-controller-8360a89c.js} +2 -0
  18. package/dist/cjs/{internal-vega-event-manager-fef893bf.js → internal-vega-event-manager-7e0d966d.js} +4 -2
  19. package/dist/cjs/{keyboard-manager-5ed6c472.js → keyboard-manager-cc446230.js} +1 -1
  20. package/dist/cjs/{keyboard-manager-slimmer-879ff4f3.js → keyboard-manager-slimmer-a10b7d6f.js} +1 -1
  21. package/dist/cjs/loader.cjs.js +11 -11
  22. package/dist/cjs/{month-view-generator-d262e6ce.js → month-view-generator-41b6c6b6.js} +1 -1
  23. package/dist/cjs/{public-rules-bce88d4e.js → public-rules-fc52d624.js} +7 -7
  24. package/dist/cjs/{range-5bd6d72b.js → range-93cc8ab1.js} +1 -1
  25. package/dist/cjs/{responsive-format-facade-2cab7344.js → responsive-format-facade-5f6cd211.js} +1 -1
  26. package/dist/cjs/{rich-text-editor-required-rule-e8a922be.js → rich-text-editor-required-rule-fd3711fb.js} +1 -1
  27. package/dist/cjs/{split-cell-operation-bb388de6.js → split-cell-operation-532fb9f0.js} +3 -3
  28. package/dist/cjs/{state-border-formatter-4e5e4ed0.js → state-border-formatter-d1c80c1d.js} +1 -1
  29. package/dist/cjs/{string-format-strategy.abstract-9a35e3b4.js → string-format-strategy.abstract-b39da0dd.js} +1 -1
  30. package/dist/cjs/{string-input-formatter-slimmer-1018ddec.js → string-input-formatter-slimmer-127cf2b8.js} +1 -1
  31. package/dist/cjs/{string-mask-strategy-3aa17744.js → string-mask-strategy-524d0f69.js} +2 -2
  32. package/dist/cjs/{style-formatter-2226c869.js → style-formatter-c201e7d0.js} +2 -2
  33. package/dist/cjs/{time-required-rule-970dfdca.js → time-required-rule-ecb45905.js} +1 -1
  34. package/dist/cjs/{token-extension-361273fb.js → token-extension-4f6ed976.js} +268 -223
  35. package/dist/cjs/{translation-slimmer-d0c77ad2.js → translation-slimmer-3cd7d3b2.js} +1 -1
  36. package/dist/cjs/{type-guard-3ec852d7.js → type-guard-2e97fc56.js} +14 -1
  37. package/dist/cjs/{valid-credit-card-number-rule-99d1bb34.js → valid-credit-card-number-rule-2d7d20ce.js} +1 -1
  38. package/dist/cjs/vega-accordion.cjs.entry.js +8 -8
  39. package/dist/cjs/vega-app-header-button.cjs.entry.js +29 -10
  40. package/dist/cjs/vega-banner.cjs.entry.js +4 -4
  41. package/dist/cjs/vega-box.cjs.entry.js +6 -6
  42. package/dist/cjs/vega-breadcrumb.cjs.entry.js +4 -4
  43. package/dist/cjs/vega-button-circle.cjs.entry.js +9 -9
  44. package/dist/cjs/vega-button-group_2.cjs.entry.js +4 -4
  45. package/dist/cjs/vega-button-link.cjs.entry.js +4 -4
  46. package/dist/cjs/vega-button.cjs.entry.js +7 -7
  47. package/dist/cjs/vega-calendar_4.cjs.entry.js +9 -9
  48. package/dist/cjs/vega-card.cjs.entry.js +5 -5
  49. package/dist/cjs/vega-carousel.cjs.entry.js +7 -7
  50. package/dist/cjs/vega-checkbox_2.cjs.entry.js +21 -7
  51. package/dist/cjs/vega-chip.cjs.entry.js +10 -10
  52. package/dist/cjs/vega-code-block.cjs.entry.js +12 -12
  53. package/dist/cjs/vega-color-picker.cjs.entry.js +6 -6
  54. package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +769 -0
  55. package/dist/cjs/vega-color-swatch.cjs.entry.js +12 -12
  56. package/dist/cjs/vega-combo-box.cjs.entry.js +10 -10
  57. package/dist/cjs/vega-date-picker_2.cjs.entry.js +18 -18
  58. package/dist/cjs/vega-dialog_2.cjs.entry.js +191 -86
  59. package/dist/cjs/vega-divider.cjs.entry.js +5 -5
  60. package/dist/cjs/vega-dropdown_5.cjs.entry.js +12 -12
  61. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  62. package/dist/cjs/{vega-event-id-c08ce3d3.js → vega-event-id-d9994eb3.js} +2 -0
  63. package/dist/cjs/vega-field-label.cjs.entry.js +4 -4
  64. package/dist/cjs/vega-file-uploader.cjs.entry.js +7 -7
  65. package/dist/cjs/vega-flag-icon.cjs.entry.js +5 -5
  66. package/dist/cjs/vega-flex.cjs.entry.js +6 -6
  67. package/dist/cjs/vega-font.cjs.entry.js +5 -5
  68. package/dist/cjs/vega-form.cjs.entry.js +8 -8
  69. package/dist/cjs/vega-grid.cjs.entry.js +5 -5
  70. package/dist/cjs/vega-icon.cjs.entry.js +5 -5
  71. package/dist/cjs/vega-image-uploader.cjs.entry.js +10 -10
  72. package/dist/cjs/vega-input-credit-card.cjs.entry.js +10 -10
  73. package/dist/cjs/vega-input-numeric.cjs.entry.js +9 -9
  74. package/dist/cjs/vega-input-passcode.cjs.entry.js +9 -9
  75. package/dist/cjs/vega-input-phone-number.cjs.entry.js +8 -8
  76. package/dist/cjs/vega-input-range.cjs.entry.js +8 -8
  77. package/dist/cjs/vega-input-select.cjs.entry.js +10 -10
  78. package/dist/cjs/vega-input.cjs.entry.js +10 -10
  79. package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
  80. package/dist/cjs/vega-left-nav_5.cjs.entry.js +10 -10
  81. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -3
  82. package/dist/cjs/vega-page-notification_2.cjs.entry.js +2 -2
  83. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +3 -3
  84. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +3 -3
  85. package/dist/cjs/vega-pagination.cjs.entry.js +8 -8
  86. package/dist/cjs/vega-popover_2.cjs.entry.js +11 -11
  87. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +7 -7
  88. package/dist/cjs/vega-radio_2.cjs.entry.js +10 -10
  89. package/dist/cjs/vega-rich-text-content.cjs.entry.js +7 -7
  90. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +32 -17
  91. package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +12 -12
  92. package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
  93. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +9 -9
  94. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +7 -7
  95. package/dist/cjs/vega-sidenav_3.cjs.entry.js +7 -7
  96. package/dist/cjs/vega-signature-capture.cjs.entry.js +10 -10
  97. package/dist/cjs/vega-stepper.cjs.entry.js +6 -6
  98. package/dist/cjs/vega-tab-group_2.cjs.entry.js +5 -5
  99. package/dist/cjs/vega-table_11.cjs.entry.js +1177 -287
  100. package/dist/cjs/vega-text.cjs.entry.js +36 -1
  101. package/dist/cjs/vega-textarea.cjs.entry.js +6 -6
  102. package/dist/cjs/vega-time-picker_2.cjs.entry.js +51 -20
  103. package/dist/cjs/vega-toggle-switch.cjs.entry.js +6 -6
  104. package/dist/cjs/vega-tooltip_2.cjs.entry.js +6 -6
  105. package/dist/cjs/vega.cjs.js +11 -11
  106. package/dist/collection/collection-manifest.json +6 -0
  107. package/dist/collection/components/vega-app-header-button/slimmers/renderers/vega-app-header-button-dropdown-renderer.js +14 -1
  108. package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +46 -3
  109. package/dist/collection/components/vega-checkbox/vega-checkbox.js +16 -0
  110. package/dist/collection/components/vega-color-swatch/slimmers/renderers/vega-color-swatch-renderer.js +2 -2
  111. package/dist/collection/components/vega-color-swatch/vega-color-swatch-picker/assets/hashtag.js +3 -0
  112. package/dist/collection/components/vega-color-swatch/vega-color-swatch-picker/slimmers/controllers/color-swatch-picker-color-format-controller.js +64 -0
  113. package/dist/collection/components/vega-color-swatch/vega-color-swatch-picker/slimmers/controllers/color-swatch-picker-value-controller.js +65 -0
  114. package/dist/collection/components/vega-color-swatch/vega-color-swatch-picker/slimmers/renderers/color-swatch-grid-renderer.js +59 -0
  115. package/dist/collection/components/vega-color-swatch/vega-color-swatch-picker/slimmers/renderers/color-swatch-input-renderer.js +83 -0
  116. package/dist/collection/components/vega-color-swatch/vega-color-swatch-picker/slimmers/renderers/color-swatch-picker-renderer.js +134 -0
  117. package/dist/collection/components/vega-color-swatch/vega-color-swatch-picker/vega-color-swatch-picker.css +67 -0
  118. package/dist/collection/components/vega-color-swatch/vega-color-swatch-picker/vega-color-swatch-picker.js +600 -0
  119. package/dist/collection/components/vega-color-swatch/vega-color-swatch.js +6 -6
  120. package/dist/collection/components/vega-dialog/vega-dialog.css +1 -0
  121. package/dist/collection/components/vega-dialog/vega-dialog.js +1 -1
  122. package/dist/collection/components/vega-grid/vega-grid.js +2 -2
  123. package/dist/collection/components/vega-input/vega-input.js +1 -1
  124. package/dist/collection/components/vega-input-select/vega-input-select.js +1 -1
  125. package/dist/collection/components/vega-modal/slimmers/controllers/vega-modal-padding-state-controller.js +43 -0
  126. package/dist/collection/components/vega-modal/slimmers/models/vega-modal-section-padding-state.js +56 -0
  127. package/dist/collection/components/vega-modal/slimmers/renderers/vega-modal-renderer.js +11 -11
  128. package/dist/collection/components/vega-modal/vega-modal.css +20 -21
  129. package/dist/collection/components/vega-modal/vega-modal.js +19 -3
  130. package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +4 -39
  131. package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-default-styles.js +30 -0
  132. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-dynamic-popover-renderer.js +53 -51
  133. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.js +40 -10
  134. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-setting-popover-renderer.js +75 -62
  135. package/dist/collection/components/vega-rich-text-editor/extensions/table/table-extension.js +1 -0
  136. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/text-styles-toolbar-button-slimmer.js +15 -0
  137. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.js +88 -4
  138. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-row-draggable-controller.js +132 -0
  139. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sort-controller.js +14 -0
  140. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-renderer.js +8 -5
  141. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.js +6 -2
  142. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pinned-renderer.js +8 -2
  143. package/dist/collection/components/vega-table/utils.js +4 -3
  144. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.js +13 -1
  145. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.js +7 -0
  146. package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.js +7 -0
  147. package/dist/collection/components/vega-table/vega-table-foot-row/slimmers/controllers/vega-table-foot-row-state-controller.js +10 -3
  148. package/dist/collection/components/vega-table/vega-table-foot-row/slimmers/renderers/vega-table-foot-row-renderer.js +9 -2
  149. package/dist/collection/components/vega-table/vega-table-foot-row/vega-table-foot-row.js +4 -3
  150. package/dist/collection/components/vega-table/vega-table-head/vega-table-head.js +5 -0
  151. package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.js +10 -3
  152. package/dist/collection/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.js +12 -2
  153. package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.js +5 -4
  154. package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.js +22 -1
  155. package/dist/collection/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.js +19 -4
  156. package/dist/collection/components/vega-table/vega-table-row/vega-table-row.css +6 -0
  157. package/dist/collection/components/vega-table/vega-table-row/vega-table-row.js +11 -1
  158. package/dist/collection/components/vega-table/vega-table.css +5 -0
  159. package/dist/collection/components/vega-table/vega-table.js +135 -11
  160. package/dist/collection/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.js +36 -1
  161. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.js +13 -5
  162. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.js +4 -1
  163. package/dist/collection/components/vega-time-picker/vega-time-picker.js +44 -0
  164. package/dist/collection/constants/ui.js +1 -0
  165. package/dist/collection/global/icons/grip-dots-vertical.js +3 -0
  166. package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +4 -2
  167. package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -0
  168. package/dist/collection/helpers/immutable/immutable-map.js +16 -4
  169. package/dist/collection/helpers/slimmers/draggable-element-slimmer.js +508 -0
  170. package/dist/collection/helpers/slimmers/popover-nested-slot-projection-slimmer.js +118 -0
  171. package/dist/collection/helpers/translation/locales/en.js +2 -0
  172. package/dist/collection/types/type-guard.js +12 -0
  173. package/dist/collection/utils/accessibility.js +3 -2
  174. package/dist/collection/value-model-adapters/angular-ng-model-accessor-adapter.js +1 -0
  175. package/dist/collection/value-model-adapters/vue-component-v-model-adaptor.js +1 -0
  176. package/dist/esm/{accessibility-e5fd0fab.js → accessibility-524cabd2.js} +3 -2
  177. package/dist/esm/{app-globals-f67d0eaf.js → app-globals-b1999c09.js} +7 -7
  178. package/dist/esm/{aria-dialog-focusable-trap-slimmer-853a91de.js → aria-dialog-focusable-trap-slimmer-6eb79723.js} +1 -1
  179. package/dist/esm/{child-nodes-event-prevent-slimmer-9c24d4fc.js → child-nodes-event-prevent-slimmer-75f93d85.js} +1 -1
  180. package/dist/esm/{code-block-b8be290a.js → code-block-e43c8120.js} +25 -41
  181. package/dist/esm/{component-value-history-controller-slimmer.abstract-10ccf8e6.js → component-value-history-controller-slimmer.abstract-60c1910e.js} +4 -4
  182. package/dist/esm/{content-state-72b513d1.js → content-state-d363f2ca.js} +3 -3
  183. package/dist/esm/{date-required-rule-891a6a57.js → date-required-rule-a84c21d4.js} +1 -1
  184. package/dist/esm/{design-token-59d07aa2.js → design-token-57de4f4f.js} +3 -3
  185. package/dist/esm/{element-appender-slimmer-29c94a18.js → element-appender-slimmer-05f487d7.js} +3 -3
  186. package/dist/esm/{event-emit-slimmer-32da9d90.js → event-emit-slimmer-1c57093d.js} +1 -1
  187. package/dist/esm/{form-field-controller-slimmer-899864a8.js → form-field-controller-slimmer-ae8478b5.js} +3 -3
  188. package/dist/esm/{image-annotation-action-ebd6c421.js → image-annotation-action-008ca25b.js} +3 -3
  189. package/dist/esm/{immutable-map-612922a2.js → immutable-map-4fe22b11.js} +16 -4
  190. package/dist/esm/index-090d31ca.js +4 -0
  191. package/dist/esm/index.js +17 -17
  192. package/dist/esm/{inject-keyboard-manager-dc1d7135.js → inject-keyboard-manager-1ceb9ee0.js} +1 -1
  193. package/dist/esm/{internal-translation-controller-4fb104b2.js → internal-translation-controller-d7dee4a0.js} +2 -0
  194. package/dist/esm/{internal-vega-event-manager-8a657bac.js → internal-vega-event-manager-7cdf3c28.js} +4 -2
  195. package/dist/esm/{keyboard-manager-6ea9968b.js → keyboard-manager-50a1d90e.js} +1 -1
  196. package/dist/esm/{keyboard-manager-slimmer-7eed4734.js → keyboard-manager-slimmer-3891ee20.js} +1 -1
  197. package/dist/esm/loader.js +12 -12
  198. package/dist/esm/{month-view-generator-aaa27fce.js → month-view-generator-70c597a6.js} +1 -1
  199. package/dist/esm/{public-rules-f2005e11.js → public-rules-1561e357.js} +8 -8
  200. package/dist/esm/{range-ed532278.js → range-784d5ec8.js} +1 -1
  201. package/dist/esm/{responsive-format-facade-e9926018.js → responsive-format-facade-456a9f16.js} +1 -1
  202. package/dist/esm/{rich-text-editor-required-rule-b559cf1a.js → rich-text-editor-required-rule-8768bc8d.js} +1 -1
  203. package/dist/esm/{split-cell-operation-5587f594.js → split-cell-operation-35ce149b.js} +4 -4
  204. package/dist/esm/{state-border-formatter-be51463d.js → state-border-formatter-afac8d33.js} +1 -1
  205. package/dist/esm/{string-format-strategy.abstract-0157b3c5.js → string-format-strategy.abstract-f9907969.js} +1 -1
  206. package/dist/esm/{string-input-formatter-slimmer-33ed3478.js → string-input-formatter-slimmer-4059080b.js} +3 -3
  207. package/dist/esm/{string-mask-strategy-b58891b5.js → string-mask-strategy-5f655300.js} +2 -2
  208. package/dist/esm/{style-formatter-9662ae88.js → style-formatter-ee52d8d0.js} +2 -2
  209. package/dist/esm/{sub-state-notify-slimmer-1f907173.js → sub-state-notify-slimmer-63ecb465.js} +1 -1
  210. package/dist/esm/{sub-state-observer-slimmer-090c500a.js → sub-state-observer-slimmer-2adbbe00.js} +1 -1
  211. package/dist/esm/{time-required-rule-a9dc8473.js → time-required-rule-db873c19.js} +1 -1
  212. package/dist/esm/{token-extension-0710dbc5.js → token-extension-23b5ab65.js} +268 -223
  213. package/dist/esm/{translation-slimmer-4faae5a3.js → translation-slimmer-5e2bff5f.js} +1 -1
  214. package/dist/esm/{type-guard-152070e9.js → type-guard-adc244fd.js} +14 -2
  215. package/dist/esm/{valid-credit-card-number-rule-a7907cb7.js → valid-credit-card-number-rule-a826dd49.js} +1 -1
  216. package/dist/esm/vega-accordion.entry.js +8 -8
  217. package/dist/esm/vega-app-header-button.entry.js +29 -10
  218. package/dist/esm/vega-banner.entry.js +4 -4
  219. package/dist/esm/vega-box.entry.js +6 -6
  220. package/dist/esm/vega-breadcrumb.entry.js +4 -4
  221. package/dist/esm/vega-button-circle.entry.js +10 -10
  222. package/dist/esm/vega-button-group_2.entry.js +7 -7
  223. package/dist/esm/vega-button-link.entry.js +4 -4
  224. package/dist/esm/vega-button.entry.js +8 -8
  225. package/dist/esm/vega-calendar_4.entry.js +12 -12
  226. package/dist/esm/vega-card.entry.js +5 -5
  227. package/dist/esm/vega-carousel.entry.js +7 -7
  228. package/dist/esm/vega-checkbox_2.entry.js +23 -9
  229. package/dist/esm/vega-chip.entry.js +10 -10
  230. package/dist/esm/vega-code-block.entry.js +13 -13
  231. package/dist/esm/vega-color-picker.entry.js +8 -8
  232. package/dist/esm/vega-color-swatch-picker.entry.js +765 -0
  233. package/dist/esm/vega-color-swatch.entry.js +12 -12
  234. package/dist/esm/vega-combo-box.entry.js +12 -12
  235. package/dist/esm/vega-date-picker_2.entry.js +22 -22
  236. package/dist/esm/vega-dialog_2.entry.js +193 -88
  237. package/dist/esm/vega-divider.entry.js +5 -5
  238. package/dist/esm/vega-dropdown_5.entry.js +16 -16
  239. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  240. package/dist/esm/{vega-event-id-4ede557a.js → vega-event-id-a6ccca66.js} +2 -1
  241. package/dist/esm/vega-field-label.entry.js +4 -4
  242. package/dist/esm/vega-file-uploader.entry.js +9 -9
  243. package/dist/esm/vega-flag-icon.entry.js +5 -5
  244. package/dist/esm/vega-flex.entry.js +6 -6
  245. package/dist/esm/vega-font.entry.js +5 -5
  246. package/dist/esm/vega-form.entry.js +11 -11
  247. package/dist/esm/vega-grid.entry.js +5 -5
  248. package/dist/esm/vega-icon.entry.js +5 -5
  249. package/dist/esm/vega-image-uploader.entry.js +12 -12
  250. package/dist/esm/vega-input-credit-card.entry.js +12 -12
  251. package/dist/esm/vega-input-numeric.entry.js +12 -12
  252. package/dist/esm/vega-input-passcode.entry.js +11 -11
  253. package/dist/esm/vega-input-phone-number.entry.js +10 -10
  254. package/dist/esm/vega-input-range.entry.js +10 -10
  255. package/dist/esm/vega-input-select.entry.js +12 -12
  256. package/dist/esm/vega-input.entry.js +13 -13
  257. package/dist/esm/{vega-internal-event-id-194bac82.js → vega-internal-event-id-db974a0d.js} +1 -1
  258. package/dist/esm/vega-item-toggle.entry.js +3 -3
  259. package/dist/esm/vega-left-nav_5.entry.js +13 -13
  260. package/dist/esm/vega-loader-wrapper_2.entry.js +3 -3
  261. package/dist/esm/vega-page-notification_2.entry.js +2 -2
  262. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +4 -4
  263. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +4 -4
  264. package/dist/esm/vega-pagination.entry.js +9 -9
  265. package/dist/esm/vega-popover_2.entry.js +13 -13
  266. package/dist/esm/vega-progress-tracker_2.entry.js +10 -10
  267. package/dist/esm/vega-radio_2.entry.js +12 -12
  268. package/dist/esm/vega-rich-text-content.entry.js +10 -10
  269. package/dist/esm/vega-rich-text-editor_4.entry.js +36 -21
  270. package/dist/esm/vega-rich-text-table-properties_3.entry.js +13 -13
  271. package/dist/esm/vega-segment-control.entry.js +3 -3
  272. package/dist/esm/vega-selection-chip_2.entry.js +12 -12
  273. package/dist/esm/vega-selection-tile_2.entry.js +10 -10
  274. package/dist/esm/vega-sidenav_3.entry.js +10 -10
  275. package/dist/esm/vega-signature-capture.entry.js +12 -12
  276. package/dist/esm/vega-stepper.entry.js +8 -8
  277. package/dist/esm/vega-tab-group_2.entry.js +5 -5
  278. package/dist/esm/vega-table_11.entry.js +1180 -290
  279. package/dist/esm/vega-text.entry.js +36 -1
  280. package/dist/esm/vega-textarea.entry.js +8 -8
  281. package/dist/esm/vega-time-picker_2.entry.js +53 -22
  282. package/dist/esm/vega-toggle-switch.entry.js +8 -8
  283. package/dist/esm/vega-tooltip_2.entry.js +7 -7
  284. package/dist/esm/vega.js +12 -12
  285. package/dist/esm/{wait-for-component-did-render-30cde59c.js → wait-for-component-did-render-9a83d343.js} +1 -1
  286. package/dist/sri/vega-sri-manifest.json +369 -365
  287. package/dist/types/components/vega-app-header-button/slimmers/renderers/vega-app-header-button-dropdown-renderer.d.ts +8 -0
  288. package/dist/types/components/vega-app-header-button/types.d.ts +2 -0
  289. package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +16 -0
  290. package/dist/types/components/vega-checkbox/vega-checkbox.d.ts +1 -0
  291. package/dist/types/components/vega-color-swatch/vega-color-swatch-picker/assets/hashtag.d.ts +3 -0
  292. package/dist/types/components/vega-color-swatch/vega-color-swatch-picker/slimmers/controllers/color-swatch-picker-color-format-controller.d.ts +32 -0
  293. package/dist/types/components/vega-color-swatch/vega-color-swatch-picker/slimmers/controllers/color-swatch-picker-value-controller.d.ts +31 -0
  294. package/dist/types/components/vega-color-swatch/vega-color-swatch-picker/slimmers/renderers/color-swatch-grid-renderer.d.ts +26 -0
  295. package/dist/types/components/vega-color-swatch/vega-color-swatch-picker/slimmers/renderers/color-swatch-input-renderer.d.ts +25 -0
  296. package/dist/types/components/vega-color-swatch/vega-color-swatch-picker/slimmers/renderers/color-swatch-picker-renderer.d.ts +52 -0
  297. package/dist/types/components/vega-color-swatch/vega-color-swatch-picker/types.d.ts +17 -0
  298. package/dist/types/components/vega-color-swatch/vega-color-swatch-picker/vega-color-swatch-picker.d.ts +155 -0
  299. package/dist/types/components/vega-color-swatch/vega-color-swatch.d.ts +4 -4
  300. package/dist/types/components/vega-modal/slimmers/controllers/vega-modal-padding-state-controller.d.ts +21 -0
  301. package/dist/types/components/vega-modal/slimmers/models/vega-modal-section-padding-state.d.ts +29 -0
  302. package/dist/types/components/vega-modal/slimmers/renderers/vega-modal-renderer.d.ts +1 -1
  303. package/dist/types/components/vega-modal/types.d.ts +11 -0
  304. package/dist/types/components/vega-modal/vega-modal.d.ts +7 -2
  305. package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts +0 -7
  306. package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-default-styles.d.ts +3 -0
  307. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-dynamic-popover-renderer.d.ts +15 -11
  308. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.d.ts +15 -0
  309. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-setting-popover-renderer.d.ts +25 -22
  310. package/dist/types/components/vega-table/interface.d.ts +2 -0
  311. package/dist/types/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.d.ts +35 -0
  312. package/dist/types/components/vega-table/slimmers/controllers/vega-table-row-draggable-controller.d.ts +52 -0
  313. package/dist/types/components/vega-table/slimmers/controllers/vega-table-sort-controller.d.ts +4 -0
  314. package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-renderer.d.ts +3 -1
  315. package/dist/types/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.d.ts +2 -1
  316. package/dist/types/components/vega-table/utils.d.ts +3 -2
  317. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.d.ts +5 -0
  318. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.d.ts +1 -0
  319. package/dist/types/components/vega-table/vega-table-expand-row/vega-table-expand-row.d.ts +2 -0
  320. package/dist/types/components/vega-table/vega-table-foot-row/slimmers/controllers/vega-table-foot-row-state-controller.d.ts +2 -1
  321. package/dist/types/components/vega-table/vega-table-foot-row/slimmers/renderers/vega-table-foot-row-renderer.d.ts +3 -1
  322. package/dist/types/components/vega-table/vega-table-foot-row/vega-table-foot-row.d.ts +6 -2
  323. package/dist/types/components/vega-table/vega-table-head/vega-table-head.d.ts +1 -0
  324. package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.d.ts +2 -1
  325. package/dist/types/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.d.ts +3 -1
  326. package/dist/types/components/vega-table/vega-table-head-row/vega-table-head-row.d.ts +6 -2
  327. package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.d.ts +3 -0
  328. package/dist/types/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.d.ts +3 -0
  329. package/dist/types/components/vega-table/vega-table-row/vega-table-row.d.ts +8 -0
  330. package/dist/types/components/vega-table/vega-table.d.ts +40 -5
  331. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.d.ts +6 -3
  332. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.d.ts +1 -0
  333. package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +20 -0
  334. package/dist/types/components.d.ts +228 -11
  335. package/dist/types/constants/ui.d.ts +1 -1
  336. package/dist/types/global/icons/grip-dots-vertical.d.ts +3 -0
  337. package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +1 -0
  338. package/dist/types/helpers/immutable/immutable-map.d.ts +4 -1
  339. package/dist/types/helpers/slimmers/draggable-element-slimmer.d.ts +260 -0
  340. package/dist/types/helpers/slimmers/popover-nested-slot-projection-slimmer.d.ts +65 -0
  341. package/dist/types/helpers/translation/interface.d.ts +3 -1
  342. package/dist/types/types/components.type.d.ts +8 -1
  343. package/dist/types/types/public-api.d.ts +1 -0
  344. package/dist/types/types/type-guard.d.ts +8 -0
  345. package/dist/types/types/ui.type.d.ts +40 -0
  346. package/dist/types/utils/accessibility.d.ts +6 -1
  347. package/dist/vega/index.esm.js +1 -1
  348. package/dist/vega/{p-fc7ab79d.js → p-031c0cf7.js} +1 -1
  349. package/dist/vega/{p-7d85cc74.entry.js → p-096d186d.entry.js} +1 -1
  350. package/dist/vega/{p-b5497af2.entry.js → p-0b5b0fd2.entry.js} +1 -1
  351. package/dist/vega/{p-ebdb489c.entry.js → p-0bb0b521.entry.js} +1 -1
  352. package/dist/vega/p-13e7f906.entry.js +1 -0
  353. package/dist/vega/{p-2b5cf2b3.js → p-1a869f0e.js} +1 -1
  354. package/dist/vega/{p-116e3963.js → p-1d30cab2.js} +1 -1
  355. package/dist/vega/p-23b38467.entry.js +1 -0
  356. package/dist/vega/{p-30445cd9.entry.js → p-25572ea7.entry.js} +1 -1
  357. package/dist/vega/{p-608f234f.entry.js → p-2ae5acfc.entry.js} +1 -1
  358. package/dist/vega/{p-988401c3.entry.js → p-2fb26f4f.entry.js} +1 -1
  359. package/dist/vega/{p-103d20f5.js → p-34964a53.js} +1 -1
  360. package/dist/vega/{p-da742a7f.entry.js → p-35d77c9c.entry.js} +1 -1
  361. package/dist/vega/{p-e71864ff.js → p-386895e9.js} +1 -1
  362. package/dist/vega/{p-d5531d3c.js → p-3b791b5d.js} +1 -1
  363. package/dist/vega/{p-25ab7a33.entry.js → p-3c456e91.entry.js} +1 -1
  364. package/dist/vega/{p-9c1a48b9.entry.js → p-3d92d2af.entry.js} +1 -1
  365. package/dist/vega/p-3e64fa38.entry.js +1 -0
  366. package/dist/vega/{p-51d2e0ab.entry.js → p-411ea209.entry.js} +1 -1
  367. package/dist/vega/{p-0915a8d3.entry.js → p-423762ae.entry.js} +1 -1
  368. package/dist/vega/p-4530f0e1.entry.js +1 -0
  369. package/dist/vega/{p-3fae8d3f.entry.js → p-45aaaef6.entry.js} +1 -1
  370. package/dist/vega/{p-c36afa21.entry.js → p-487ecdb0.entry.js} +1 -1
  371. package/dist/vega/{p-b28d4f7d.js → p-48e3be6a.js} +1 -1
  372. package/dist/vega/{p-ea564928.entry.js → p-4afafeb3.entry.js} +1 -1
  373. package/dist/vega/{p-085de8fc.js → p-4cefd7fe.js} +1 -1
  374. package/dist/vega/p-5657f768.js +1 -0
  375. package/dist/vega/{p-783531cf.entry.js → p-56c1a8ac.entry.js} +1 -1
  376. package/dist/vega/{p-14de7ba0.entry.js → p-571a6d15.entry.js} +1 -1
  377. package/dist/vega/{p-6572e038.js → p-57f220b5.js} +1 -1
  378. package/dist/vega/{p-d4f1f007.js → p-5904616e.js} +1 -1
  379. package/dist/vega/{p-8da66d41.entry.js → p-59c6dcf7.entry.js} +1 -1
  380. package/dist/vega/{p-ef59f6f0.js → p-5bf3ab33.js} +1 -1
  381. package/dist/vega/p-5e50dbb9.js +1 -0
  382. package/dist/vega/p-5f377954.js +1 -1
  383. package/dist/vega/{p-f020738c.entry.js → p-606d7113.entry.js} +1 -1
  384. package/dist/vega/{p-8583dd34.entry.js → p-64b566be.entry.js} +1 -1
  385. package/dist/vega/{p-e340d58c.entry.js → p-69c11b7b.entry.js} +1 -1
  386. package/dist/vega/p-6ac8e655.js +1 -0
  387. package/dist/vega/{p-44044ed7.js → p-6b5cb920.js} +1 -1
  388. package/dist/vega/{p-aa985d73.js → p-6c43d54a.js} +1 -1
  389. package/dist/vega/{p-19a30f98.entry.js → p-6fadee27.entry.js} +1 -1
  390. package/dist/vega/{p-d456386a.entry.js → p-73c6669e.entry.js} +1 -1
  391. package/dist/vega/{p-475bd8bf.entry.js → p-7702a906.entry.js} +1 -1
  392. package/dist/vega/{p-c8435185.js → p-77300901.js} +1 -1
  393. package/dist/vega/{p-a6dbc63d.entry.js → p-77754d62.entry.js} +1 -1
  394. package/dist/vega/{p-cc18970f.entry.js → p-78099a83.entry.js} +1 -1
  395. package/dist/vega/{p-58b6ac33.entry.js → p-79c12a64.entry.js} +1 -1
  396. package/dist/vega/{p-cc00135a.entry.js → p-7f74cd41.entry.js} +1 -1
  397. package/dist/vega/p-82039afd.entry.js +1 -0
  398. package/dist/vega/p-887b3e2d.entry.js +1 -0
  399. package/dist/vega/{p-b9728ca8.js → p-8d48940d.js} +1 -1
  400. package/dist/vega/{p-d320496e.entry.js → p-9297f4a9.entry.js} +1 -1
  401. package/dist/vega/{p-bb46d8e6.entry.js → p-9763fbbe.entry.js} +1 -1
  402. package/dist/vega/{p-a4738b70.entry.js → p-98a6cd8e.entry.js} +1 -1
  403. package/dist/vega/p-9af0e2e7.js +1 -0
  404. package/dist/vega/{p-f89cf75a.entry.js → p-9e2b7718.entry.js} +1 -1
  405. package/dist/vega/{p-b08a70e6.entry.js → p-9eb00537.entry.js} +1 -1
  406. package/dist/vega/{p-b9a95aca.entry.js → p-9f064488.entry.js} +1 -1
  407. package/dist/vega/{p-0dbd7723.entry.js → p-9f36abf9.entry.js} +1 -1
  408. package/dist/vega/p-9f728e0b.js +1 -0
  409. package/dist/vega/{p-280f63fa.entry.js → p-9fc8bd1f.entry.js} +1 -1
  410. package/dist/vega/{p-cab70b95.entry.js → p-a050c24d.entry.js} +1 -1
  411. package/dist/vega/{p-f7a5746b.js → p-a07c5dae.js} +1 -1
  412. package/dist/vega/{p-ed01657b.entry.js → p-a49c25c2.entry.js} +1 -1
  413. package/dist/vega/{p-9751c801.js → p-a87cb7ac.js} +1 -1
  414. package/dist/vega/{p-8b217c7e.entry.js → p-a9528dbd.entry.js} +1 -1
  415. package/dist/vega/{p-0caf52e0.js → p-a9e10a64.js} +1 -1
  416. package/dist/vega/{p-02467b61.js → p-ae1aa4df.js} +1 -1
  417. package/dist/vega/{p-a0c3968b.js → p-af5cb9bc.js} +1 -1
  418. package/dist/vega/{p-29f42c27.entry.js → p-afd1b519.entry.js} +1 -1
  419. package/dist/vega/{p-ab829745.js → p-b7721666.js} +1 -1
  420. package/dist/vega/{p-d7bd2470.entry.js → p-bc74d7e7.entry.js} +1 -1
  421. package/dist/vega/p-bceee942.entry.js +1 -0
  422. package/dist/vega/{p-54ba35e3.entry.js → p-c15a58b5.entry.js} +1 -1
  423. package/dist/vega/{p-4e95248c.entry.js → p-c2388937.entry.js} +1 -1
  424. package/dist/vega/p-c2e1f33d.entry.js +1 -0
  425. package/dist/vega/p-c31a32f4.js +1 -0
  426. package/dist/vega/{p-42141782.js → p-c347e08a.js} +1 -1
  427. package/dist/vega/p-c51ebb14.entry.js +1 -0
  428. package/dist/vega/{p-c8d41cdc.entry.js → p-c601b331.entry.js} +1 -1
  429. package/dist/vega/p-c74060a7.js +1 -0
  430. package/dist/vega/{p-b7624ce4.js → p-c85e743d.js} +1 -1
  431. package/dist/vega/p-c8fe46fd.entry.js +1 -0
  432. package/dist/vega/{p-b9947846.js → p-c95dbf11.js} +1 -1
  433. package/dist/vega/{p-8559e36f.entry.js → p-cf2838c7.entry.js} +1 -1
  434. package/dist/vega/{p-eda7cd76.entry.js → p-d10ae46a.entry.js} +1 -1
  435. package/dist/vega/{p-efc8c09e.entry.js → p-d37636a5.entry.js} +1 -1
  436. package/dist/vega/{p-eb0ebf50.entry.js → p-d402eb7b.entry.js} +1 -1
  437. package/dist/vega/{p-142f371b.entry.js → p-da8bb883.entry.js} +1 -1
  438. package/dist/vega/{p-a07c0f8c.js → p-dba16739.js} +1 -1
  439. package/dist/vega/p-dffbbc3d.entry.js +1 -0
  440. package/dist/vega/{p-956b170c.js → p-e1d2c60d.js} +1 -1
  441. package/dist/vega/{p-edda10f7.js → p-e27626f6.js} +1 -1
  442. package/dist/vega/{p-90cb665e.entry.js → p-e47b2c4c.entry.js} +1 -1
  443. package/dist/vega/{p-b9386dd0.js → p-e4c4ea35.js} +1 -1
  444. package/dist/vega/{p-597588d0.entry.js → p-ecbb63a5.entry.js} +1 -1
  445. package/dist/vega/p-ed26f4c8.entry.js +1 -0
  446. package/dist/vega/p-effb285f.entry.js +1 -0
  447. package/dist/vega/p-f1c672e4.js +1 -0
  448. package/dist/vega/p-f54fb4e5.js +1 -0
  449. package/dist/vega/{p-158c6a9f.entry.js → p-f604f2c9.entry.js} +1 -1
  450. package/dist/vega/{p-513f51ec.entry.js → p-fa91805b.entry.js} +1 -1
  451. package/dist/vega/{p-5ffdea8e.js → p-fb05335d.js} +1 -1
  452. package/dist/vega/p-fcb0d4d8.js +1 -0
  453. package/dist/vega/{p-d32e83e7.js → p-fcce494e.js} +1 -1
  454. package/dist/vega/vega.esm.js +1 -1
  455. package/package.json +1 -1
  456. package/dist/vega/p-075bb809.entry.js +0 -1
  457. package/dist/vega/p-0bcb2945.entry.js +0 -1
  458. package/dist/vega/p-0bf8743f.js +0 -1
  459. package/dist/vega/p-1b48e8a5.entry.js +0 -1
  460. package/dist/vega/p-1ca95601.entry.js +0 -1
  461. package/dist/vega/p-29d31c98.entry.js +0 -1
  462. package/dist/vega/p-318f0df5.js +0 -1
  463. package/dist/vega/p-337a5e76.js +0 -1
  464. package/dist/vega/p-380abceb.entry.js +0 -1
  465. package/dist/vega/p-38af89b9.js +0 -1
  466. package/dist/vega/p-47611a83.entry.js +0 -1
  467. package/dist/vega/p-596bc4f6.entry.js +0 -1
  468. package/dist/vega/p-5be546c5.js +0 -1
  469. package/dist/vega/p-6e9f832f.js +0 -1
  470. package/dist/vega/p-7df43192.entry.js +0 -1
  471. package/dist/vega/p-81a11dc6.entry.js +0 -1
  472. package/dist/vega/p-85abe824.entry.js +0 -1
  473. package/dist/vega/p-86194314.js +0 -1
  474. package/dist/vega/p-874bf8b2.js +0 -1
  475. package/dist/vega/p-9d854d43.js +0 -1
  476. package/dist/vega/p-c5eb0fa6.js +0 -1
  477. package/dist/vega/p-e00fb667.entry.js +0 -1
@@ -1 +1 @@
1
- import{C as t}from"./p-2d0d575f.js";import{d as e}from"./p-f28a6074.js";import{d as s,e as n}from"./p-aa985d73.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-b9386dd0.js";import{T as a}from"./p-d884c644.js";import{g as l}from"./p-8b5d3a52.js";import{V as h}from"./p-8aee6b74.js";import{c as u}from"./p-a841cf13.js";import{f as d}from"./p-6e70d3cc.js";var p,f;!function(t){t.SELECTION_RANGE="SELECTION_RANGE",t.CLEAR_FORMATTING="CLEAR_FORMATTING",t.LINK_GROUP="LINK_GROUP"}(p||(p={}));class T{}!function(t){t.ALIGNMENT="ALIGNMENT",t.TEXT_STYLE="TEXT_STYLE",t.INDENT="INDENT",t.LIST="LIST",t.INTERNAL_WRAPPER="INTERNAL_WRAPPER"}(f||(f={}));class E extends T{}const x=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.constructor.name}};var g,w,A,O;!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.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"}(g||(g={}));class m{constructor(){this.isFlushable=!1}}function N(t){const e=t.getAttribute("style");return e?e.split(";").filter(Boolean).filter((t=>" "!==t)).map((t=>{const e=t.replace(/(['"])(.*?)\1/g,"$2").split(":");return{[r(e[0].trim())]:e[1].trim().replace(";","")}})).reduce(((t,e)=>Object.assign(Object.assign({},t),e)),{}):{}}class y{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=N(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`${`.${y.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]))}}y.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"}(w||(w={}));class R extends T{}class S{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.constructor.name)&&!!t.getAnnotationByType(w.LINK)}static isCodeNode(t){if(this.isTextNode(t.constructor.name)){const e=t.getAnnotationByType(w.CODE);return!!e&&e.code}return!1}static isImageNode(t){return"RTEImageNode"===t.constructor.name}static isCodeBlockNode(t){return"RTECodeBlockNode"===t.constructor.name}}S.RTE_TEXT_NODE_CLASS_NAME="RTETextNode",S.RTE_TEXT_BLOCK_CLASS_NAME="RTETextBlock";class C extends y{constructor(){super(...arguments),this.stylesToBeFiltered=b.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 S.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 b extends T{constructor(t){super(),this.type=p.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 b("");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=b.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,b.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(" ")}}b.linkGroupFilterStylesStrategy=new C;class k extends E{constructor(t){super(),this.type=f.ALIGNMENT,this.textAlign=t}static from(t){return[f.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 v extends E{constructor(t){super(),this.type=f.INDENT,this.indent=Math.max(0,t)}static from(t){return[f.INDENT,new v(t)]}toJSON(){return this.indent>0?{indent:this.indent}:null}clone(){return new v(this.indent)}renderClass(){return null}renderStyle(){return this.indent>0?{marginLeft:16*this.indent+"px"}:null}}class B{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 m?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)))}}}B.registry=new Map;class j{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=B.get(t,e),n=()=>{const s=t instanceof m?t.type:t.constructor.name,n=j.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!!j.get(t,e.constructor.name)}}j.registry=new Map,function(t){t.CUSTOM_ATTRIBUTE="CUSTOM_ATTRIBUTE",t.CUSTOM_CLASS="CUSTOM_CLASS",t.CUSTOM_STYLE="CUSTOM_STYLE"}(A||(A={}));class _ extends T{}class $ extends _{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 $(t)]}toJSON(){return{customAttribute:this.customAttribute}}clone(){return new $(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 L extends _{constructor(t){super(),this.type=A.CUSTOM_CLASS,this.customClass=t}static from(t){return[A.CUSTOM_CLASS,new L(t)]}toJSON(){return{customClass:this.customClass}}clone(){return new L(this.customClass)}toString(){return`class="${this.customClass.join(" ")}"`}renderClass(){return this.customClass}}class D extends _{constructor(t){super(),this.type=A.CUSTOM_STYLE,this.customStyle=t}static from(t){return[A.CUSTOM_STYLE,new D(t)]}toJSON(){return{customStyle:this.customStyle}}clone(){return new D(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="${Object.entries(this.customStyle).map((([t,e])=>`${t}: ${e};`)).join(" ")}"`}}class I extends E{constructor(t){super(),this.type=f.INTERNAL_WRAPPER,this.internalWrapper=t}static from(t){return[f.INTERNAL_WRAPPER,new I(t)]}clone(){return new I(this.internalWrapper)}renderClass(){}renderStyle(){}toJSON(){return this.internalWrapper?{internalWrapper:this.internalWrapper}:void 0}}class M{constructor(t){this.dtoType=t instanceof RTEBlock?"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 D)).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.dtoType?t instanceof E:t instanceof R}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 F{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.constructor.name).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(" ")}}F.registry=new Map,function(t){t.TEXT="TEXT",t.IMAGE="IMAGE",t.CODE_BLOCK_NODE="CODE_BLOCK_NODE"}(O||(O={}));class RTENode{constructor(t,e){this.annotationMap=new Map,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 $.from(e);case"customClass":return L.from(e);case"customStyle":return D.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 M(this).toJSON(t,["textDecoration"])}getClasses(t={standalone:!1}){return Array.from(this.annotationMap.values()).filter((t=>t instanceof R||t instanceof L)).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 x.getDOMByEntity(this)}generateAttributeString(t,...e){var s;const n=new M(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=F.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="${n.toCssText({standalone:!0},void 0,o)}"`:null,...e].filter(c);return l.length?` ${l.join(" ")}`:""}doApply(t){t instanceof m?this.doModifyActionApply(t):this.doAnnotationActionApply(t)}flushChange(){const n=x.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 H=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 RTEBlock)this.RTE_BLOCK_DTO_CLASS_MAP.set(t,e);else{if(!(e.prototype instanceof RTENode))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 RTEBlock{constructor(t){this.annotationMap=new Map,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=H.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 v.from(e);case"customAttribute":return $.from(e);case"customClass":return L.from(e);case"customStyle":return D.from(e);case"internalWrapper":return I.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(f.INTERNAL_WRAPPER);return!!t&&t.internalWrapper&&0===Array.from(this.annotationMap.values()).filter((t=>!(t instanceof b||t instanceof I))).length}toJSON(){const t=Array.from(this.annotationMap.values()).filter((t=>t instanceof E||t instanceof _)).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=x.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 RTEBlock?t.getFirstNode():t}isListItemBlock(){return"list-item"===this.type}getStyles(t={standalone:!1}){const e=new M(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 E||t instanceof L)).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 M(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=F.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="${n.toCssText({standalone:!0},void 0,o)}"`:null,...e].filter(c);return l.length?` ${l.join(" ")}`:""}doApply(t){t instanceof m?j.executeTheStrategy(t,this):this.applyAnnotationAction(t)}applyAnnotationAction(t){const e=t.toAnnotation();if(e instanceof b||this.annotationMap.set(e.type,e),"function"==typeof this.doAnnotationActionApply)this.doAnnotationActionApply(t);else{const e=j.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 P{}class J extends P{constructor(){super(...arguments),this.doSplit=!0}}class K extends T{constructor(t){super(),this.type=p.SELECTION_RANGE,this.range=t}clone(){return new K(this.range)}}const U="700",W="bold",G="italic",z="underline",V="line-through";class X extends R{constructor(t){super(),this.type=w.STRIKETHROUGH,this.strikethrough=t}static from(t){return[w.STRIKETHROUGH,new X(t)]}toJSON(){return{strikethrough:this.strikethrough}}clone(){return new X(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 q extends R{constructor(t){super(),this.type=w.UNDERLINE,this.underline=t}static from(t){return[w.UNDERLINE,new q(t)]}toJSON(){return{underline:this.underline}}clone(){return new q(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 Y extends R{constructor(t){super(),this.type=w.ITALIC,this.italic=t}static from(t){return[w.ITALIC,new Y(t)]}toJSON(){return{italic:this.italic}}clone(){return new Y(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 Q extends R{constructor(t){super(),this.type=w.BOLD,this.bold=t}static from(t){return[w.BOLD,new Q(t)]}toJSON(){return{bold:this.bold}}clone(){return new Q(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 Z extends R{constructor(t,e=!0){super(),this.type=w.CODE,this.code=t,this.useInternalStyle=e}static from(t,e){return[w.CODE,new Z(t,e)]}static getDefaultStyles(){return{fontFamily:"Roboto Mono",whiteSpace:"pre-wrap"}}toJSON(){return{code:this.code}}clone(){return new Z(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?Z.getDefaultStyles():null}}const tt={key:"black",light:"#111128",dark:"#E3E3E8"},et=[tt,{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"}],st="​",nt=[["textStyles"],["bold","italic","underline","strikethrough","code"],["textColor"],["horizontalAlignment","bulletsNumbers"],["moreIndent","lessIndent"],["link"],["image"],["clearStyle"]],rt=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);class it extends R{constructor(t){super(),this.type=w.TEXT_COLOR,this.textColor=this.formatTextColor(t)}static from(t){return[w.TEXT_COLOR,new it(t)]}toJSON(){return{textColor:this.textColor.key}}clone(){return new it(this.textColor.key)}renderClass(){return null}renderStyle(){return{color:h.isDarkMode()?this.textColor.dark:this.textColor.light}}formatTextColor(t){return et.find((e=>e.key===t))||et[0]}}class ot extends R{constructor(t,e=!0){super(),this.type=w.LINK,this.link=t,this.useInternalStyle=e}static from(t,e=!0){return[w.LINK,new ot(t,e)]}toJSON(){return{link:this.link}}clone(){return new ot(this.link,this.useInternalStyle)}toEqual(t){return this.link.groupKey===t.link.groupKey}renderClass(){return null}renderStyle(){return null}}class ct extends P{constructor(t,e,s){super(),this.isFlushable=!1,this.groupKey=t,this.nodes=e,this.type=s}toAnnotation(){return new b(this.groupKey)}}class at extends P{constructor(){super(),this.isFlushable=!1}toAnnotation(){return null}}class lt{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 D(s.removeStyles(e)))}createNewParagraph(t){const e=H.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.constructor.name?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 x.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 ht extends m{constructor(t){super(),this.type=g.LINK_GROUP_NODE_SPLIT,this.splittedTextNodes=t}}class ut extends lt{constructor(){super(...arguments),this.applyTargetNode=null}handleAction(t,e){const s=e.getAnnotationByType(p.SELECTION_RANGE);if(this.setApplyTargetNode(null),t instanceof J&&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 ht(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&&x.getEntityByDOM(i),l=o&&x.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 dt extends J{constructor(t){super(),this.isFlushable=!0,this.bold=t}toAnnotation(){return new Q(this.bold)}}class pt extends T{constructor(){super(...arguments),this.type=p.CLEAR_FORMATTING,this.items=[w.BOLD,w.ITALIC,w.UNDERLINE,w.STRIKETHROUGH,w.TEXT_COLOR,w.CODE,A.CUSTOM_STYLE]}}class ft extends J{constructor(){super(...arguments),this.isFlushable=!0}toAnnotation(){return new pt}}class Tt extends J{constructor(t){super(),this.isFlushable=!0,this.code=t}toAnnotation(){return new Z(this.code)}}class Et extends P{constructor(t){super(),this.isFlushable=!0,this.annotationType=t}toAnnotation(){}}class xt extends J{constructor(t){super(),this.isFlushable=!0,this.italic=t}toAnnotation(){return new Y(this.italic)}}class gt extends J{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 ot(this.link)}}class wt extends J{constructor(t){super(),this.isFlushable=!0,this.strikethrough=t}toAnnotation(){return new X(this.strikethrough)}}class At extends J{constructor(t){super(),this.isFlushable=!0,this.underline=t}toAnnotation(){return new q(this.underline)}}class Ot extends lt{handleAction(t,e){const s=t.toAnnotation();if(t instanceof Et)e.annotationMap.delete(t.annotationType);else{if(!(s instanceof pt))return s instanceof R||s instanceof K?(t instanceof gt&&(c(t.newText)&&(e.text=t.newText),e.parent.apply(new ct(t.link.groupKey,[e],t.type))),t instanceof Tt&&this.handleAction(new ft,e),t instanceof dt&&this.updateCustomStyleAnnotation(e,["fontWeight"]),t instanceof xt&&this.updateCustomStyleAnnotation(e,["fontStyle"]),(t instanceof At||t instanceof wt)&&this.updateCustomStyleAnnotation(e,["textDecoration"]),void e.annotationMap.set(s.type,s)):void 0;s.items.forEach((t=>{e.deleteAnnotationByType(t)}))}}}class mt extends m{constructor(){super(...arguments),this.type=g.DELETE_LINK_GROUP}}class Nt extends lt{handleAction(t,e){e.text=t.newTextContent,!e.text&&e.annotationMap.has("LINK")&&e.apply(new mt)}}class yt extends m{constructor(t){super(),this.type=g.UPDATE_TEXT,this.newTextContent="",this.newTextContent=t}}class Rt extends lt{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&&x.getEntityByDOM(e),h=a&&x.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 yt(c))}}}class St extends T{constructor(t){super(),this.type=w.INLINE_HTML,this.htmlTag=t}static from(t){const{htmlTag:e,child:s,customStyle:n,customClass:r,customAttribute:i}=t,o=new St(e);return o.groupId=t.groupId,o.child=s?St.from(s)[1]:void 0,o.customAttribute=i?$.from(i)[1]:void 0,o.customClass=r?L.from(r)[1]:void 0,o.customStyle=n?D.from(n)[1]:void 0,[w.INLINE_HTML,o]}clone(){var t,e,s,n;const r=new St(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 Ct extends lt{handleAction(t,e){const s=e.parent.getAnnotationByType(p.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 bt extends lt{handleAction(t,e){const s=e.parent.getAnnotationByType(p.LINK_GROUP);if(s){const t=e.annotationMap.get(w.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(p.LINK_GROUP)}}e.annotationMap.delete(w.LINK)}}class kt extends R{constructor(t){super(),this.type=w.PLAIN_TEXT,this.plainText=!0,this.plainText=t}static from(t){return[w.PLAIN_TEXT,new kt(t)]}clone(){return new kt(this.plainText)}renderClass(){}renderStyle(){}toJSON(){return this.plainText?{plainText:this.plainText}:void 0}}class vt extends J{constructor(t){super(),this.isFlushable=!0,this.textColor=t}toAnnotation(){return new it(this.textColor)}}class RTETextNode extends RTENode{constructor(t,e,s,n){super(t,n),this.type=O.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 RTETextNode(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 ct(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 Q.from(e);case"italic":return Y.from(e);case"underline":return q.from(e);case"strikethrough":return X.from(e);case"code":return Z.from(e,n);case"textColor":return it.from(e);case"link":return ot.from(e,n);case"inlineHtml":return St.from(e);case"plainText":return kt.from(e)}return RTENode.createAnnotationEntity(t,e)}toJSON(){const t=Array.from(this.annotationMap.values()).filter((t=>t instanceof R||t instanceof _||t instanceof St)).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(w.INLINE_HTML);return e?this.renderWithWrapperStr(e,t):this.renderTextStr(t)}cloneWithText(t){return new RTETextNode(l(),t,this.parent,super.cloneAnnotations())}clone(t){return new RTETextNode(this.id,this.text,t,super.cloneAnnotations())}isEmpty(){return!(this.getAnnotationByType(w.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?rt.has(e.htmlTag)?null:{htmlTag:e.htmlTag,attrStr:this.annotationAttrStr(e),groupId:e.groupId,annotation:e}:null}renderHtmlFromDepth(t,e){const s=this.getInlineHtmlAnnotationAtDepth(t);return s?this.renderWithWrapperStr(s,e):this.renderTextStr(e)}getInlineHtmlAnnotationAtDepth(t){let e=this.getAnnotationByType(w.INLINE_HTML);for(let s=0;s<t&&e;s++)e=e.child;return e}registerModifyStrategy(){const t=this.constructor.name;RTETextNode.registerActionStrategyStatus[t]||(this.isContentEditable()&&(j.register(g.UPDATE_TEXT,t,new Nt),j.register(g.REPLACE_SELECTED_TEXT,t,new Rt),j.register(g.LINK_GROUP_NODE_SPLIT,t,new Ct),j.register(gt.name,t,new Ot)),j.register(J.name,t,new ut),j.register(g.DELETE_LINK_GROUP,t,new bt),j.register(dt.name,t,new Ot),j.register(ft.name,t,new Ot),j.register(xt.name,t,new Ot),j.register(At.name,t,new Ot),j.register(vt.name,t,new Ot),j.register(wt.name,t,new Ot),j.register(Tt.name,t,new Ot),j.register(P.name,t,new Ot),RTETextNode.registerActionStrategyStatus[t]=!0)}doAnnotationActionApply(t){const e=this.getAnnotationByType(p.SELECTION_RANGE);if(t instanceof J&&t.doSplit&&e){const e=j.get(J.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){j.executeTheStrategy(t,this)}applyActionToNode(t,e){const s=e.toAnnotation();if(e instanceof at)return void this.syncUpSelectedNodes(t);s instanceof K||this.syncUpSelectedNodes(t);const n=j.get(e.constructor.name,t.constructor.name);if(n)return void n.execute(e,t);const r=j.get(P.name,RTETextNode.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}>`:rt.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(w.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}>${this.text}</${s}>`}shouldRenderAsPlainText(){const t=super.getAnnotationByType(w.PLAIN_TEXT);return!!t&&t.plainText&&0===Array.from(this.annotationMap.values()).filter((t=>t instanceof R&&!(t instanceof ot)&&!(t instanceof kt)||t instanceof _)).length}}RTETextNode.registerActionStrategyStatus={},RTETextNode.htmlTag="span";class Bt extends m{constructor(t){super(),this.type=g.APPEND_CHILDREN,this.entityToBeAppended=t}}class jt extends E{constructor(t){super(),this.type=f.TEXT_STYLE,this.textStyle=t}static from(t){return[f.TEXT_STYLE,new jt(t)]}static getDefaultStyles(t){const e={fontFamily:"Inter",fontSize:"16px",lineHeight:"22px",minHeight:"22px",fontWeight:"500"},s=Object.assign(Object.assign({},e),{marginTop:"0px",marginBottom:"0px"});switch(t){case"paragraph":return s;case"title":return Object.assign(Object.assign({},e),{fontSize:"36px",lineHeight:"40px",minHeight:"40px"});case"subtitle":return Object.assign(Object.assign({},e),{fontSize:"28px",lineHeight:"32px",minHeight:"32px"});case"heading-1":return Object.assign(Object.assign({},s),{fontSize:"22px",lineHeight:"24px",minHeight:"24px"});case"heading-2":return Object.assign(Object.assign({},s),{fontSize:"20px",lineHeight:"24px",minHeight:"24px"});case"heading-3":return Object.assign(Object.assign({},s),{fontSize:"18px"});case"heading-4":return Object.assign({},s);case"heading-5":return Object.assign(Object.assign({},s),{fontSize:"14px"});case"heading-6":return Object.assign(Object.assign({},s),{fontSize:"12px"});default:return null}}toJSON(){return{textStyle:this.textStyle}}clone(){return new jt(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?jt.getDefaultStyles(this.textStyle):null}}class _t extends P{constructor(t,e){super(),this.isFlushable=!0,this.textStyle=t,this.bold=e}toAnnotation(){return new jt(this.textStyle)}}class $t extends lt{handleAction(t,e){"list-item"!==e.type&&(e.type=t.textStyle),e.children.forEach(t.bold?t=>{const e=new dt(!0);e.doSplit=!1,t.apply(e)}:t=>{t.apply(new Et(w.BOLD))}),this.updateCustomStyleAnnotation(e,["fontFamily","lineHeight","fontWeight","fontSize"])}}class Lt extends m{constructor(t,...e){super(),this.type=g.INSERT_CHILDREN_AFTER,this.referChildren=t,this.childrenToBeInserted=e}}class Dt extends m{constructor(t){super(),this.type=g.REPLACE_CHILD_NODES,this.newChildNodes=t}}class It extends lt{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 e=s.children.slice(0,i),o=s.children.slice(i+1);n&&e.push(t.cloneWithText(n)),r&&o.unshift(t.cloneWithText(r)),s.apply(new Dt(e));const c=s.cloneWithNodes(o);return s.parent.apply(new Lt(s,c)),c}}}}class Mt extends lt{handleAction(t,e){e.children=[],e.apply(new Bt(t.newChildNodes))}}class Ft extends m{constructor(t){super(),this.type=g.DELETE_CHILDREN,this.entityToBeRemoved=t}}class Ht extends lt{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 Bt(t)),s.parent.apply(new Ft(s))}}}class Pt extends lt{handleAction(t,e){t.lineBreakNode=this.lineBreakSingleBlock(t.startContainerNode,t.startOffset,e)}lineBreakSingleBlock(t,e,s){if(t){const n=new RTETextNode(l(),"\n",s),r=t.text.slice(0,e),i=t.text.slice(e),o=s.children.indexOf(t);if(o>-1){const e=s.children.slice(0,o),c=s.children.slice(o+1);r&&e.push(t.cloneWithText(r)),i&&c.unshift(t.cloneWithText(i)),this.mergeLineBreakNodes(e,n,c,s)}return n}}mergeLineBreakNodes(t,e,s,n){(0===s.length||s[0]&&""===s[0].text)&&s.push(new RTETextNode(l(),"\n",n,t[t.length-1]&&t[t.length-1].annotationMap)),n.apply(new Dt([...t,e,...s]))}}class Jt extends lt{handleAction(t,e){t.lineBreakNode=this.lineBreakMultipleBlocks(t.selectedBlocks,e)}lineBreakMultipleBlocks(t,e){const s=e.children,n=new RTETextNode(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 Ft(t)))})),e}mergeLineBreakNodes(t,e,s,n){(0===s.length||s[0]&&""===s[0].text)&&s.push(new RTETextNode(l(),"\n",n,t[t.length-1]&&t[t.length-1].annotationMap)),n.apply(new Dt([...t,e,...s]))}}class Kt extends m{constructor(t,...e){super(),this.type=g.INSERT_CHILDREN_BEFORE,this.referChildren=t,this.childrenToBeInserted=e}}class Ut extends m{constructor(t,e){super(),this.type=g.SPLIT_BLOCK_WITH_NODE,this.splitPointNode=t,this.startOffsetOfNode=e}}class Wt extends P{constructor(t){super(),this.isFlushable=!0,this.textAlign=t}toAnnotation(){return new k(this.textAlign)}}class Gt extends lt{handleAction(t,e){this.updateCustomStyleAnnotation(e,["textAlign"])}}class zt extends P{constructor(t){super(),this.isFlushable=!0,this.indent=t}toAnnotation(){return new v(this.indent)}}class RTETextBlock extends RTEBlock{constructor(t,e,s){super(t),this.children=[],this.type=e;const{autoMatchFormat:n}=s||{autoMatchFormat:!0};n&&(this.annotationMap=RTETextBlock.isAcceptableTextStyle(e)?new Map([jt.from(e)]):new Map([jt.from("paragraph")]))}static from(t,e={autoMatchFormat:!0}){var s,n;const r=new RTETextBlock(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=H.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?jt.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 gt&&t.needMergeNode){const t=null==n?void 0:n.getAnnotationByType(w.LINK),r=s.getAnnotationByType(w.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 RTETextBlock(l(),this.type);return e.annotationMap=super.cloneAnnotations(),e.apply(new Bt(t)),e}clone(t){const e=new RTETextBlock(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(p.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=j.get(t.constructor.name,RTETextBlock.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(w.LINK),o=this.children[r+1]?this.children[r+1].getAnnotationByType(w.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}}j.register(_t.name,RTETextBlock.name,new $t),j.register(Wt.name,RTETextBlock.name,new Gt),j.register(zt.name,RTETextBlock.name,new class extends lt{handleAction(t,e){this.updateCustomStyleAnnotation(e,["marginLeft"])}}),j.register(ct.name,RTETextBlock.name,new class extends lt{handleAction(t,e){let s=e.getAnnotationByType(p.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(p.LINK_GROUP,s)}}}),j.register(g.UNLINK_LINK_GROUP,RTETextBlock.name,new class extends lt{handleAction(t,e){const s=e.getAnnotationByType(p.LINK_GROUP);s&&(s.linkGroups.size>1?s.linkGroups.delete(t.groupKey):e.annotationMap.delete(p.LINK_GROUP))}}),j.register(g.SPLIT_BLOCK_WITH_NODE,RTETextBlock.name,new It),j.register(g.REPLACE_CHILD_NODES,RTETextBlock.name,new Mt),j.register(g.MERGE_TWO_BLOCKS_NODES,RTETextBlock.name,new Ht),j.register(g.LINE_BREAK_SINGLE_BLOCK,RTETextBlock.name,new Pt),j.register(g.LINE_BREAK_MULTIPLE_BLOCKS,RTETextBlock.name,new Jt),j.register(g.INSERT_IMAGE_TO_BLOCK,RTETextBlock.name,new class extends lt{handleAction(t,e){const s=t.splitPointNode,n=t.startOffsetOfNode,r=t.imageBlockToBeInserted;if(this.isCaretPositionAtBlockEnd(e,s,n))e.parent.apply(new Lt(e,r));else if(this.isCaretPositionAtBlockStart(e,s,n))e.parent.apply(new Kt(e,r));else{const t=new Ut(s,n);e.apply(t),e.parent.apply(new Lt(e,r))}}}),j.register(g.TRANSFORM_LIST_BLOCK,RTETextBlock.name,new class extends lt{handleAction(t,e){const s=e.parent,n=s.createList(t.listType),r=t.selectedBlocks,i=r.map((t=>s.toListItem(t)));n.apply(new Bt(i)),s.apply(new Lt(t.selectedBlocks[0],n)),r.forEach((t=>{t.parent.apply(new Ft(t))}))}});class Vt extends lt{getPreviousNode(t){const e=t.parent,s=e.children.indexOf(t);if(s>0)return e.children[s-1];if(e.parent){const t=this.getPreviousBlock(e);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){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.constructor.name}}class Xt extends m{constructor(t,e){super(),this.isFlushable=!0,this.type=g.UPDATE_CODE_BLOCK,this.content=t,this.language=e}}class qt extends P{constructor(t){super(),this.isFlushable=!1,this.range=t}toAnnotation(){return new K(this.range)}}class RTEDecoratorNode extends RTENode{constructor(){super(...arguments),this.type="decorator-node",this.isSelected=!1}static isDecoratorNodeContainerElement(t){return t&&t.classList.contains(RTEDecoratorNode.DECORATOR_CONTAINER_CLASS)}static getDecoratorNodeElement(t){return t.querySelector(`.${RTEDecoratorNode.DECORATOR_NODE_CLASS}`)}getRangeEndOffset(){return 1}getRangeContainer(){const t=this.getElementRef();if(t)return d(t,`.${RTEDecoratorNode.DECORATOR_CONTAINER_CLASS}`)}isContentEditable(){return!1}}RTEDecoratorNode.DECORATOR_CONTAINER_CLASS="v-internal-decorator-container",RTEDecoratorNode.DECORATOR_NODE_CLASS="v-internal-decorator-node";class Yt extends y{constructor(){super(...arguments),this.stylesToBeFiltered=Yt.STYLES,this.elementTagName="pre code"}canFilter(t){return S.isCodeBlockNode(t)}canRefill(t,e){return!1}toCssText(){return this.buildCssTextForStyles(this.elementTagName,this.classNameToBeAdded)}}Yt.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 RTECodeBlockNode extends RTEDecoratorNode{constructor(t,e,s,n){super(t),this.type=O.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 D(Yt.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 RTECodeBlockNode(this.id,this.text,this.language,t)}doAnnotationActionApply(t){j.executeTheStrategy(t,this)}doModifyActionApply(t){j.executeTheStrategy(t,this)}}j.register(g.UPDATE_CODE_BLOCK,RTECodeBlockNode.name,new class extends lt{handleAction(t,e){const{content:s,language:n}=t;e.language=n,e.text=s}}),j.register(qt.name,RTECodeBlockNode.name,new class extends lt{handleAction(t,e){e.annotationMap.set(p.SELECTION_RANGE,t.toAnnotation())}});var Qt;!function(t){t.CSS="css",t.HTML="html",t.JavaScript="js",t.JSX="jsx",t["Plain Text"]="plainText",t.TypeScript="ts",t.TSX="tsx"}(Qt||(Qt={}));class Zt extends lt{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 Ft(e)))}}class te extends y{constructor(){super(...arguments),this.stylesToBeFiltered=te.STYLES,this.elementTagName="pre"}canFilter(t){return S.isCodeBlock(t.constructor.name)}canRefill(t,e){return!1}toCssText(){return this.buildCssTextForStyles(this.elementTagName,this.classNameToBeAdded)}}te.STYLES={backgroundColor:"rgba(var(--v-bg-secondary, 245, 247, 247, 1))",padding:"12px"};class RTECodeBlock extends RTEBlock{constructor(t,e,s){super(t),this.type="code-block",this.annotationMap=new Map([D.from(te.STYLES)]),this.children=[new RTECodeBlockNode(`${t}-1`,e,s,this)]}static from(t){return new RTECodeBlock(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=Qt["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=RTECodeBlock.from(this.toJSON());return e.parent=t,e}apply(n){if(n instanceof m&&j.executeTheStrategy(n,this),n.isFlushable){const n=x.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(p.SELECTION_RANGE)}}j.register(g.DELETE_CODE_BLOCK,RTECodeBlock.name,new class extends Vt{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 Ft(e));const i=t?x.getDOMByEntity(t):null;if(0===n.children.length){const s=RTETextBlock.from({id:l(),type:"paragraph",nodes:[{id:l(),type:"text",text:""}]});e.parent.apply(new Bt([s])),t=s.children[0],r=0}this.notifyUpdateSelection(t,i,r,e)}}notifyUpdateSelection(s,r,i,o){const c=x.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}}),j.register(g.DELETE_CHILDREN,RTECodeBlock.name,new Zt),j.register(g.SWITCH_OUT_FROM_CODE_BLOCK,RTECodeBlock.name,new class extends lt{handleAction(s,r){const{content:i,language:o}=s,c=i.split("\n"),a=new Xt(c.slice(0,c.length-2).join("\n"),o);a.isFlushable=!1,r.children[0].apply(a);const h=RTETextBlock.from({id:l(),type:"paragraph",nodes:[{id:l(),text:"",type:"text"}]});r.parent.apply(new Lt(r,h));const u=x.getDOMByEntity(r);if(u){const s=e.getSubjectFromParentNodeByEventId(u,n);s&&t.notify(s,{node:h.children[0]})}}}),j.register(g.INSERT_IMAGE_TO_BLOCK,RTECodeBlock.name,new class extends lt{handleAction(t,e){e.parent.apply(new Lt(e,t.imageBlockToBeInserted))}}),RTECodeBlock.CODE_BLOCK_PLACEHOLDER_CLASS_NAME="code-block-placeholder-element";export{tt as $,j as A,E as B,A as C,L as D,RTECodeBlock as E,w as F,RTEDecoratorNode as G,Wt as H,Lt as I,O as J,_ as K,Dt as L,m as M,R as N,Ut as O,rt as P,Vt as Q,F as R,at as S,_t as T,yt as U,nt as V,Zt as W,W as X,U as Y,N as Z,et as _,B as a,G as a0,V as a1,z as a2,jt as a3,S as a4,k as a5,Z as a6,C as a7,te as a8,RTECodeBlockNode as a9,Yt as aa,Qt as ab,st as ac,gt as ad,Xt as ae,qt as af,vt as ag,dt as ah,xt as ai,At as aj,Q as ak,ft as al,Tt as am,wt as an,zt as ao,H as b,RTETextNode as c,RTEBlock as d,RTETextBlock as e,M as f,lt as g,Bt as h,RTENode as i,Kt as j,p as k,g as l,P as m,Ft as n,$ as o,y as p,$t as q,Gt as r,x as s,Pt as t,Jt as u,It as v,Mt as w,Ht as x,f as y,D as z}
1
+ import{C as t}from"./p-2d0d575f.js";import{d as e}from"./p-f28a6074.js";import{d as s,e as n}from"./p-6c43d54a.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-e4c4ea35.js";import{T as a}from"./p-d884c644.js";import{g as l}from"./p-8b5d3a52.js";import{V as h}from"./p-8aee6b74.js";import{c as u}from"./p-a841cf13.js";import{f as d}from"./p-6e70d3cc.js";var p,f;!function(t){t.SELECTION_RANGE="SELECTION_RANGE",t.CLEAR_FORMATTING="CLEAR_FORMATTING",t.LINK_GROUP="LINK_GROUP"}(p||(p={}));class T{}!function(t){t.ALIGNMENT="ALIGNMENT",t.TEXT_STYLE="TEXT_STYLE",t.INDENT="INDENT",t.LIST="LIST",t.INTERNAL_WRAPPER="INTERNAL_WRAPPER"}(f||(f={}));class E extends T{}const x=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.constructor.name}};var g,w,A,O;!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.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"}(g||(g={}));class m{constructor(){this.isFlushable=!1}}function N(t){const e=t.getAttribute("style");return e?e.split(";").filter(Boolean).filter((t=>" "!==t)).map((t=>{const e=t.replace(/(['"])(.*?)\1/g,"$2").split(":");return{[r(e[0].trim())]:e[1].trim().replace(";","")}})).reduce(((t,e)=>Object.assign(Object.assign({},t),e)),{}):{}}class y{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=N(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`${`.${y.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]))}}y.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"}(w||(w={}));class R extends T{}class S{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.constructor.name)&&!!t.getAnnotationByType(w.LINK)}static isCodeNode(t){if(this.isTextNode(t.constructor.name)){const e=t.getAnnotationByType(w.CODE);return!!e&&e.code}return!1}static isImageNode(t){return"RTEImageNode"===t.constructor.name}static isCodeBlockNode(t){return"RTECodeBlockNode"===t.constructor.name}}S.RTE_TEXT_NODE_CLASS_NAME="RTETextNode",S.RTE_TEXT_BLOCK_CLASS_NAME="RTETextBlock";class C extends y{constructor(){super(...arguments),this.stylesToBeFiltered=b.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 S.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 b extends T{constructor(t){super(),this.type=p.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 b("");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=b.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,b.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(" ")}}b.linkGroupFilterStylesStrategy=new C;class k extends E{constructor(t){super(),this.type=f.ALIGNMENT,this.textAlign=t}static from(t){return[f.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 v extends E{constructor(t){super(),this.type=f.INDENT,this.indent=Math.max(0,t)}static from(t){return[f.INDENT,new v(t)]}toJSON(){return this.indent>0?{indent:this.indent}:null}clone(){return new v(this.indent)}renderClass(){return null}renderStyle(){return this.indent>0?{marginLeft:16*this.indent+"px"}:null}}class B{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 m?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)))}}}B.registry=new Map;class j{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=B.get(t,e),n=()=>{const s=t instanceof m?t.type:t.constructor.name,n=j.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!!j.get(t,e.constructor.name)}}j.registry=new Map,function(t){t.CUSTOM_ATTRIBUTE="CUSTOM_ATTRIBUTE",t.CUSTOM_CLASS="CUSTOM_CLASS",t.CUSTOM_STYLE="CUSTOM_STYLE"}(A||(A={}));class _ extends T{}class $ extends _{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 $(t)]}toJSON(){return{customAttribute:this.customAttribute}}clone(){return new $(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 L extends _{constructor(t){super(),this.type=A.CUSTOM_CLASS,this.customClass=t}static from(t){return[A.CUSTOM_CLASS,new L(t)]}toJSON(){return{customClass:this.customClass}}clone(){return new L(this.customClass)}toString(){return`class="${this.customClass.join(" ")}"`}renderClass(){return this.customClass}}class D extends _{constructor(t){super(),this.type=A.CUSTOM_STYLE,this.customStyle=t}static from(t){return[A.CUSTOM_STYLE,new D(t)]}toJSON(){return{customStyle:this.customStyle}}clone(){return new D(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="${Object.entries(this.customStyle).map((([t,e])=>`${t}: ${e};`)).join(" ")}"`}}class I extends E{constructor(t){super(),this.type=f.INTERNAL_WRAPPER,this.internalWrapper=t}static from(t){return[f.INTERNAL_WRAPPER,new I(t)]}clone(){return new I(this.internalWrapper)}renderClass(){}renderStyle(){}toJSON(){return this.internalWrapper?{internalWrapper:this.internalWrapper}:void 0}}class M{constructor(t){this.dtoType=t instanceof RTEBlock?"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 D)).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.dtoType?t instanceof E:t instanceof R}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 F{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.constructor.name).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(" ")}}F.registry=new Map,function(t){t.TEXT="TEXT",t.IMAGE="IMAGE",t.CODE_BLOCK_NODE="CODE_BLOCK_NODE"}(O||(O={}));class RTENode{constructor(t,e){this.annotationMap=new Map,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 $.from(e);case"customClass":return L.from(e);case"customStyle":return D.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 M(this).toJSON(t,["textDecoration"])}getClasses(t={standalone:!1}){return Array.from(this.annotationMap.values()).filter((t=>t instanceof R||t instanceof L)).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 x.getDOMByEntity(this)}generateAttributeString(t,...e){var s;const n=new M(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=F.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="${n.toCssText({standalone:!0},void 0,o)}"`:null,...e].filter(c);return l.length?` ${l.join(" ")}`:""}doApply(t){t instanceof m?this.doModifyActionApply(t):this.doAnnotationActionApply(t)}flushChange(){const n=x.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 H=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 RTEBlock)this.RTE_BLOCK_DTO_CLASS_MAP.set(t,e);else{if(!(e.prototype instanceof RTENode))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 RTEBlock{constructor(t){this.annotationMap=new Map,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=H.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 v.from(e);case"customAttribute":return $.from(e);case"customClass":return L.from(e);case"customStyle":return D.from(e);case"internalWrapper":return I.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(f.INTERNAL_WRAPPER);return!!t&&t.internalWrapper&&0===Array.from(this.annotationMap.values()).filter((t=>!(t instanceof b||t instanceof I))).length}toJSON(){const t=Array.from(this.annotationMap.values()).filter((t=>t instanceof E||t instanceof _)).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=x.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 RTEBlock?t.getFirstNode():t}isListItemBlock(){return"list-item"===this.type}getStyles(t={standalone:!1}){const e=new M(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 E||t instanceof L)).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 M(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=F.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="${n.toCssText({standalone:!0},void 0,o)}"`:null,...e].filter(c);return l.length?` ${l.join(" ")}`:""}doApply(t){t instanceof m?j.executeTheStrategy(t,this):this.applyAnnotationAction(t)}applyAnnotationAction(t){const e=t.toAnnotation();if(e instanceof b||this.annotationMap.set(e.type,e),"function"==typeof this.doAnnotationActionApply)this.doAnnotationActionApply(t);else{const e=j.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 P{}class J extends P{constructor(){super(...arguments),this.doSplit=!0}}class K extends T{constructor(t){super(),this.type=p.SELECTION_RANGE,this.range=t}clone(){return new K(this.range)}}const U="700",W="bold",G="italic",z="underline",V="line-through";class X extends R{constructor(t){super(),this.type=w.STRIKETHROUGH,this.strikethrough=t}static from(t){return[w.STRIKETHROUGH,new X(t)]}toJSON(){return{strikethrough:this.strikethrough}}clone(){return new X(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 q extends R{constructor(t){super(),this.type=w.UNDERLINE,this.underline=t}static from(t){return[w.UNDERLINE,new q(t)]}toJSON(){return{underline:this.underline}}clone(){return new q(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 Y extends R{constructor(t){super(),this.type=w.ITALIC,this.italic=t}static from(t){return[w.ITALIC,new Y(t)]}toJSON(){return{italic:this.italic}}clone(){return new Y(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 Q extends R{constructor(t){super(),this.type=w.BOLD,this.bold=t}static from(t){return[w.BOLD,new Q(t)]}toJSON(){return{bold:this.bold}}clone(){return new Q(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 Z extends R{constructor(t,e=!0){super(),this.type=w.CODE,this.code=t,this.useInternalStyle=e}static from(t,e){return[w.CODE,new Z(t,e)]}static getDefaultStyles(){return{fontFamily:"Roboto Mono",whiteSpace:"pre-wrap"}}toJSON(){return{code:this.code}}clone(){return new Z(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?Z.getDefaultStyles():null}}const tt={key:"black",light:"#111128",dark:"#E3E3E8"},et=[tt,{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"}],st="​",nt=[["textStyles"],["bold","italic","underline","strikethrough","code"],["textColor"],["horizontalAlignment","bulletsNumbers"],["moreIndent","lessIndent"],["link"],["image"],["clearStyle"]],rt=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);class it extends R{constructor(t){super(),this.type=w.TEXT_COLOR,this.textColor=this.formatTextColor(t)}static from(t){return[w.TEXT_COLOR,new it(t)]}toJSON(){return{textColor:this.textColor.key}}clone(){return new it(this.textColor.key)}renderClass(){return null}renderStyle(){return{color:h.isDarkMode()?this.textColor.dark:this.textColor.light}}formatTextColor(t){return et.find((e=>e.key===t))||et[0]}}class ot extends R{constructor(t,e=!0){super(),this.type=w.LINK,this.link=t,this.useInternalStyle=e}static from(t,e=!0){return[w.LINK,new ot(t,e)]}toJSON(){return{link:this.link}}clone(){return new ot(this.link,this.useInternalStyle)}toEqual(t){return this.link.groupKey===t.link.groupKey}renderClass(){return null}renderStyle(){return null}}class ct extends P{constructor(t,e,s){super(),this.isFlushable=!1,this.groupKey=t,this.nodes=e,this.type=s}toAnnotation(){return new b(this.groupKey)}}class at extends P{constructor(){super(),this.isFlushable=!1}toAnnotation(){return null}}class lt{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 D(s.removeStyles(e)))}createNewParagraph(t){const e=H.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.constructor.name?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 x.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 ht extends m{constructor(t){super(),this.type=g.LINK_GROUP_NODE_SPLIT,this.splittedTextNodes=t}}class ut extends lt{constructor(){super(...arguments),this.applyTargetNode=null}handleAction(t,e){const s=e.getAnnotationByType(p.SELECTION_RANGE);if(this.setApplyTargetNode(null),t instanceof J&&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 ht(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&&x.getEntityByDOM(i),l=o&&x.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 dt extends J{constructor(t){super(),this.isFlushable=!0,this.bold=t}toAnnotation(){return new Q(this.bold)}}class pt extends T{constructor(){super(...arguments),this.type=p.CLEAR_FORMATTING,this.items=[w.BOLD,w.ITALIC,w.UNDERLINE,w.STRIKETHROUGH,w.TEXT_COLOR,w.CODE,A.CUSTOM_STYLE]}}class ft extends J{constructor(){super(...arguments),this.isFlushable=!0}toAnnotation(){return new pt}}class Tt extends J{constructor(t){super(),this.isFlushable=!0,this.code=t}toAnnotation(){return new Z(this.code)}}class Et extends P{constructor(t){super(),this.isFlushable=!0,this.annotationType=t}toAnnotation(){}}class xt extends J{constructor(t){super(),this.isFlushable=!0,this.italic=t}toAnnotation(){return new Y(this.italic)}}class gt extends J{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 ot(this.link)}}class wt extends J{constructor(t){super(),this.isFlushable=!0,this.strikethrough=t}toAnnotation(){return new X(this.strikethrough)}}class At extends J{constructor(t){super(),this.isFlushable=!0,this.underline=t}toAnnotation(){return new q(this.underline)}}class Ot extends lt{handleAction(t,e){const s=t.toAnnotation();if(t instanceof Et)e.annotationMap.delete(t.annotationType);else{if(!(s instanceof pt))return s instanceof R||s instanceof K?(t instanceof gt&&(c(t.newText)&&(e.text=t.newText),e.parent.apply(new ct(t.link.groupKey,[e],t.type))),t instanceof Tt&&this.handleAction(new ft,e),t instanceof dt&&this.updateCustomStyleAnnotation(e,["fontWeight"]),t instanceof xt&&this.updateCustomStyleAnnotation(e,["fontStyle"]),(t instanceof At||t instanceof wt)&&this.updateCustomStyleAnnotation(e,["textDecoration"]),void e.annotationMap.set(s.type,s)):void 0;s.items.forEach((t=>{e.deleteAnnotationByType(t)}))}}}class mt extends m{constructor(){super(...arguments),this.type=g.DELETE_LINK_GROUP}}class Nt extends lt{handleAction(t,e){e.text=t.newTextContent,!e.text&&e.annotationMap.has("LINK")&&e.apply(new mt)}}class yt extends m{constructor(t){super(),this.type=g.UPDATE_TEXT,this.newTextContent="",this.newTextContent=t}}class Rt extends lt{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&&x.getEntityByDOM(e),h=a&&x.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 yt(c))}}}class St extends T{constructor(t){super(),this.type=w.INLINE_HTML,this.htmlTag=t}static from(t){const{htmlTag:e,child:s,customStyle:n,customClass:r,customAttribute:i}=t,o=new St(e);return o.groupId=t.groupId,o.child=s?St.from(s)[1]:void 0,o.customAttribute=i?$.from(i)[1]:void 0,o.customClass=r?L.from(r)[1]:void 0,o.customStyle=n?D.from(n)[1]:void 0,[w.INLINE_HTML,o]}clone(){var t,e,s,n;const r=new St(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 Ct extends lt{handleAction(t,e){const s=e.parent.getAnnotationByType(p.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 bt extends lt{handleAction(t,e){const s=e.parent.getAnnotationByType(p.LINK_GROUP);if(s){const t=e.annotationMap.get(w.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(p.LINK_GROUP)}}e.annotationMap.delete(w.LINK)}}class kt extends R{constructor(t){super(),this.type=w.PLAIN_TEXT,this.plainText=!0,this.plainText=t}static from(t){return[w.PLAIN_TEXT,new kt(t)]}clone(){return new kt(this.plainText)}renderClass(){}renderStyle(){}toJSON(){return this.plainText?{plainText:this.plainText}:void 0}}class vt extends J{constructor(t){super(),this.isFlushable=!0,this.textColor=t}toAnnotation(){return new it(this.textColor)}}class RTETextNode extends RTENode{constructor(t,e,s,n){super(t,n),this.type=O.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 RTETextNode(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 ct(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 Q.from(e);case"italic":return Y.from(e);case"underline":return q.from(e);case"strikethrough":return X.from(e);case"code":return Z.from(e,n);case"textColor":return it.from(e);case"link":return ot.from(e,n);case"inlineHtml":return St.from(e);case"plainText":return kt.from(e)}return RTENode.createAnnotationEntity(t,e)}toJSON(){const t=Array.from(this.annotationMap.values()).filter((t=>t instanceof R||t instanceof _||t instanceof St)).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(w.INLINE_HTML);return e?this.renderWithWrapperStr(e,t):this.renderTextStr(t)}cloneWithText(t){return new RTETextNode(l(),t,this.parent,super.cloneAnnotations())}clone(t){return new RTETextNode(this.id,this.text,t,super.cloneAnnotations())}isEmpty(){return!(this.getAnnotationByType(w.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?rt.has(e.htmlTag)?null:{htmlTag:e.htmlTag,attrStr:this.annotationAttrStr(e),groupId:e.groupId,annotation:e}:null}renderHtmlFromDepth(t,e){const s=this.getInlineHtmlAnnotationAtDepth(t);return s?this.renderWithWrapperStr(s,e):this.renderTextStr(e)}getInlineHtmlAnnotationAtDepth(t){let e=this.getAnnotationByType(w.INLINE_HTML);for(let s=0;s<t&&e;s++)e=e.child;return e}registerModifyStrategy(){const t=this.constructor.name;RTETextNode.registerActionStrategyStatus[t]||(this.isContentEditable()&&(j.register(g.UPDATE_TEXT,t,new Nt),j.register(g.REPLACE_SELECTED_TEXT,t,new Rt),j.register(g.LINK_GROUP_NODE_SPLIT,t,new Ct),j.register(gt.name,t,new Ot)),j.register(J.name,t,new ut),j.register(g.DELETE_LINK_GROUP,t,new bt),j.register(dt.name,t,new Ot),j.register(ft.name,t,new Ot),j.register(xt.name,t,new Ot),j.register(At.name,t,new Ot),j.register(vt.name,t,new Ot),j.register(wt.name,t,new Ot),j.register(Tt.name,t,new Ot),j.register(P.name,t,new Ot),RTETextNode.registerActionStrategyStatus[t]=!0)}doAnnotationActionApply(t){const e=this.getAnnotationByType(p.SELECTION_RANGE);if(t instanceof J&&t.doSplit&&e){const e=j.get(J.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){j.executeTheStrategy(t,this)}applyActionToNode(t,e){const s=e.toAnnotation();if(e instanceof at)return void this.syncUpSelectedNodes(t);s instanceof K||this.syncUpSelectedNodes(t);const n=j.get(e.constructor.name,t.constructor.name);if(n)return void n.execute(e,t);const r=j.get(P.name,RTETextNode.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}>`:rt.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(w.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}>${this.text}</${s}>`}shouldRenderAsPlainText(){const t=super.getAnnotationByType(w.PLAIN_TEXT);return!!t&&t.plainText&&0===Array.from(this.annotationMap.values()).filter((t=>t instanceof R&&!(t instanceof ot)&&!(t instanceof kt)||t instanceof _)).length}}RTETextNode.registerActionStrategyStatus={},RTETextNode.htmlTag="span";class Bt extends m{constructor(t){super(),this.type=g.APPEND_CHILDREN,this.entityToBeAppended=t}}const jt={fontFamily:"Inter",fontSize:"16px",lineHeight:"22px",minHeight:"22px",fontWeight:"500"},_t=Object.assign(Object.assign({},jt),{marginTop:"0px",marginBottom:"0px"}),$t={paragraph:_t,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({},_t),{fontSize:"22px",lineHeight:"24px",minHeight:"24px"}),"heading-2":Object.assign(Object.assign({},_t),{fontSize:"20px",lineHeight:"24px",minHeight:"24px"}),"heading-3":Object.assign(Object.assign({},_t),{fontSize:"18px"}),"heading-4":Object.assign({},_t),"heading-5":Object.assign(Object.assign({},_t),{fontSize:"14px"}),"heading-6":Object.assign(Object.assign({},_t),{fontSize:"12px"})};class Lt extends E{constructor(t){super(),this.type=f.TEXT_STYLE,this.textStyle=t}static from(t){return[f.TEXT_STYLE,new Lt(t)]}static getDefaultStyles(t){return t?$t[t]:null}toJSON(){return{textStyle:this.textStyle}}clone(){return new Lt(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?Lt.getDefaultStyles(this.textStyle):null}}class Dt extends P{constructor(t,e){super(),this.isFlushable=!0,this.textStyle=t,this.bold=e}toAnnotation(){return new Lt(this.textStyle)}}class It extends lt{handleAction(t,e){"list-item"!==e.type&&(e.type=t.textStyle),e.children.forEach(t.bold?t=>{const e=new dt(!0);e.doSplit=!1,t.apply(e)}:t=>{t.apply(new Et(w.BOLD))}),this.updateCustomStyleAnnotation(e,["fontFamily","lineHeight","fontWeight","fontSize"])}}class Mt extends m{constructor(t,...e){super(),this.type=g.INSERT_CHILDREN_AFTER,this.referChildren=t,this.childrenToBeInserted=e}}class Ft extends m{constructor(t){super(),this.type=g.REPLACE_CHILD_NODES,this.newChildNodes=t}}class Ht extends lt{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 e=s.children.slice(0,i),o=s.children.slice(i+1);n&&e.push(t.cloneWithText(n)),r&&o.unshift(t.cloneWithText(r)),s.apply(new Ft(e));const c=s.cloneWithNodes(o);return s.parent.apply(new Mt(s,c)),c}}}}class Pt extends lt{handleAction(t,e){e.children=[],e.apply(new Bt(t.newChildNodes))}}class Jt extends m{constructor(t){super(),this.type=g.DELETE_CHILDREN,this.entityToBeRemoved=t}}class Kt extends lt{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 Bt(t)),s.parent.apply(new Jt(s))}}}class Ut extends lt{handleAction(t,e){t.lineBreakNode=this.lineBreakSingleBlock(t.startContainerNode,t.startOffset,e)}lineBreakSingleBlock(t,e,s){if(t){const n=new RTETextNode(l(),"\n",s),r=t.text.slice(0,e),i=t.text.slice(e),o=s.children.indexOf(t);if(o>-1){const e=s.children.slice(0,o),c=s.children.slice(o+1);r&&e.push(t.cloneWithText(r)),i&&c.unshift(t.cloneWithText(i)),this.mergeLineBreakNodes(e,n,c,s)}return n}}mergeLineBreakNodes(t,e,s,n){(0===s.length||s[0]&&""===s[0].text)&&s.push(new RTETextNode(l(),"\n",n,t[t.length-1]&&t[t.length-1].annotationMap)),n.apply(new Ft([...t,e,...s]))}}class Wt extends lt{handleAction(t,e){t.lineBreakNode=this.lineBreakMultipleBlocks(t.selectedBlocks,e)}lineBreakMultipleBlocks(t,e){const s=e.children,n=new RTETextNode(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 Jt(t)))})),e}mergeLineBreakNodes(t,e,s,n){(0===s.length||s[0]&&""===s[0].text)&&s.push(new RTETextNode(l(),"\n",n,t[t.length-1]&&t[t.length-1].annotationMap)),n.apply(new Ft([...t,e,...s]))}}class Gt extends m{constructor(t,...e){super(),this.type=g.INSERT_CHILDREN_BEFORE,this.referChildren=t,this.childrenToBeInserted=e}}class zt extends m{constructor(t,e){super(),this.type=g.SPLIT_BLOCK_WITH_NODE,this.splitPointNode=t,this.startOffsetOfNode=e}}class Vt extends P{constructor(t){super(),this.isFlushable=!0,this.textAlign=t}toAnnotation(){return new k(this.textAlign)}}class Xt extends lt{handleAction(t,e){this.updateCustomStyleAnnotation(e,["textAlign"])}}class qt extends P{constructor(t){super(),this.isFlushable=!0,this.indent=t}toAnnotation(){return new v(this.indent)}}class RTETextBlock extends RTEBlock{constructor(t,e,s){super(t),this.children=[],this.type=e;const{autoMatchFormat:n}=s||{autoMatchFormat:!0};n&&(this.annotationMap=RTETextBlock.isAcceptableTextStyle(e)?new Map([Lt.from(e)]):new Map([Lt.from("paragraph")]))}static from(t,e={autoMatchFormat:!0}){var s,n;const r=new RTETextBlock(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=H.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?Lt.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 gt&&t.needMergeNode){const t=null==n?void 0:n.getAnnotationByType(w.LINK),r=s.getAnnotationByType(w.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 RTETextBlock(l(),this.type);return e.annotationMap=super.cloneAnnotations(),e.apply(new Bt(t)),e}clone(t){const e=new RTETextBlock(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(p.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=j.get(t.constructor.name,RTETextBlock.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(w.LINK),o=this.children[r+1]?this.children[r+1].getAnnotationByType(w.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}}j.register(Dt.name,RTETextBlock.name,new It),j.register(Vt.name,RTETextBlock.name,new Xt),j.register(qt.name,RTETextBlock.name,new class extends lt{handleAction(t,e){this.updateCustomStyleAnnotation(e,["marginLeft"])}}),j.register(ct.name,RTETextBlock.name,new class extends lt{handleAction(t,e){let s=e.getAnnotationByType(p.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(p.LINK_GROUP,s)}}}),j.register(g.UNLINK_LINK_GROUP,RTETextBlock.name,new class extends lt{handleAction(t,e){const s=e.getAnnotationByType(p.LINK_GROUP);s&&(s.linkGroups.size>1?s.linkGroups.delete(t.groupKey):e.annotationMap.delete(p.LINK_GROUP))}}),j.register(g.SPLIT_BLOCK_WITH_NODE,RTETextBlock.name,new Ht),j.register(g.REPLACE_CHILD_NODES,RTETextBlock.name,new Pt),j.register(g.MERGE_TWO_BLOCKS_NODES,RTETextBlock.name,new Kt),j.register(g.LINE_BREAK_SINGLE_BLOCK,RTETextBlock.name,new Ut),j.register(g.LINE_BREAK_MULTIPLE_BLOCKS,RTETextBlock.name,new Wt),j.register(g.INSERT_IMAGE_TO_BLOCK,RTETextBlock.name,new class extends lt{handleAction(t,e){const s=t.splitPointNode,n=t.startOffsetOfNode,r=t.imageBlockToBeInserted;if(this.isCaretPositionAtBlockEnd(e,s,n))e.parent.apply(new Mt(e,r));else if(this.isCaretPositionAtBlockStart(e,s,n))e.parent.apply(new Gt(e,r));else{const t=new zt(s,n);e.apply(t),e.parent.apply(new Mt(e,r))}}}),j.register(g.TRANSFORM_LIST_BLOCK,RTETextBlock.name,new class extends lt{handleAction(t,e){const s=e.parent,n=s.createList(t.listType),r=t.selectedBlocks,i=r.map((t=>s.toListItem(t)));n.apply(new Bt(i)),s.apply(new Mt(t.selectedBlocks[0],n)),r.forEach((t=>{t.parent.apply(new Jt(t))}))}});class Yt extends lt{getPreviousNode(t){const e=t.parent,s=e.children.indexOf(t);if(s>0)return e.children[s-1];if(e.parent){const t=this.getPreviousBlock(e);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){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.constructor.name}}class Qt extends m{constructor(t,e){super(),this.isFlushable=!0,this.type=g.UPDATE_CODE_BLOCK,this.content=t,this.language=e}}class Zt extends P{constructor(t){super(),this.isFlushable=!1,this.range=t}toAnnotation(){return new K(this.range)}}class RTEDecoratorNode extends RTENode{constructor(){super(...arguments),this.type="decorator-node",this.isSelected=!1}static isDecoratorNodeContainerElement(t){return t&&t.classList.contains(RTEDecoratorNode.DECORATOR_CONTAINER_CLASS)}static getDecoratorNodeElement(t){return t.querySelector(`.${RTEDecoratorNode.DECORATOR_NODE_CLASS}`)}getRangeEndOffset(){return 1}getRangeContainer(){const t=this.getElementRef();if(t)return d(t,`.${RTEDecoratorNode.DECORATOR_CONTAINER_CLASS}`)}isContentEditable(){return!1}}RTEDecoratorNode.DECORATOR_CONTAINER_CLASS="v-internal-decorator-container",RTEDecoratorNode.DECORATOR_NODE_CLASS="v-internal-decorator-node";class te extends y{constructor(){super(...arguments),this.stylesToBeFiltered=te.STYLES,this.elementTagName="pre code"}canFilter(t){return S.isCodeBlockNode(t)}canRefill(t,e){return!1}toCssText(){return this.buildCssTextForStyles(this.elementTagName,this.classNameToBeAdded)}}te.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 RTECodeBlockNode extends RTEDecoratorNode{constructor(t,e,s,n){super(t),this.type=O.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 D(te.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 RTECodeBlockNode(this.id,this.text,this.language,t)}doAnnotationActionApply(t){j.executeTheStrategy(t,this)}doModifyActionApply(t){j.executeTheStrategy(t,this)}}j.register(g.UPDATE_CODE_BLOCK,RTECodeBlockNode.name,new class extends lt{handleAction(t,e){const{content:s,language:n}=t;e.language=n,e.text=s}}),j.register(Zt.name,RTECodeBlockNode.name,new class extends lt{handleAction(t,e){e.annotationMap.set(p.SELECTION_RANGE,t.toAnnotation())}});var ee;!function(t){t.CSS="css",t.HTML="html",t.JavaScript="js",t.JSX="jsx",t["Plain Text"]="plainText",t.TypeScript="ts",t.TSX="tsx"}(ee||(ee={}));class se extends lt{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 Jt(e)))}}class ne extends y{constructor(){super(...arguments),this.stylesToBeFiltered=ne.STYLES,this.elementTagName="pre"}canFilter(t){return S.isCodeBlock(t.constructor.name)}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 RTECodeBlock extends RTEBlock{constructor(t,e,s){super(t),this.type="code-block",this.annotationMap=new Map([D.from(ne.STYLES)]),this.children=[new RTECodeBlockNode(`${t}-1`,e,s,this)]}static from(t){return new RTECodeBlock(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=ee["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=RTECodeBlock.from(this.toJSON());return e.parent=t,e}apply(n){if(n instanceof m&&j.executeTheStrategy(n,this),n.isFlushable){const n=x.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(p.SELECTION_RANGE)}}j.register(g.DELETE_CODE_BLOCK,RTECodeBlock.name,new class extends Yt{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 Jt(e));const i=t?x.getDOMByEntity(t):null;if(0===n.children.length){const s=RTETextBlock.from({id:l(),type:"paragraph",nodes:[{id:l(),type:"text",text:""}]});e.parent.apply(new Bt([s])),t=s.children[0],r=0}this.notifyUpdateSelection(t,i,r,e)}}notifyUpdateSelection(s,r,i,o){const c=x.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}}),j.register(g.DELETE_CHILDREN,RTECodeBlock.name,new se),j.register(g.SWITCH_OUT_FROM_CODE_BLOCK,RTECodeBlock.name,new class extends lt{handleAction(s,r){const{content:i,language:o}=s,c=i.split("\n"),a=new Qt(c.slice(0,c.length-2).join("\n"),o);a.isFlushable=!1,r.children[0].apply(a);const h=RTETextBlock.from({id:l(),type:"paragraph",nodes:[{id:l(),text:"",type:"text"}]});r.parent.apply(new Mt(r,h));const u=x.getDOMByEntity(r);if(u){const s=e.getSubjectFromParentNodeByEventId(u,n);s&&t.notify(s,{node:h.children[0]})}}}),j.register(g.INSERT_IMAGE_TO_BLOCK,RTECodeBlock.name,new class extends lt{handleAction(t,e){e.parent.apply(new Mt(e,t.imageBlockToBeInserted))}}),RTECodeBlock.CODE_BLOCK_PLACEHOLDER_CLASS_NAME="code-block-placeholder-element";export{tt as $,j as A,E as B,A as C,L as D,RTECodeBlock as E,w as F,RTEDecoratorNode as G,Vt as H,Mt as I,O as J,_ as K,Ft as L,m as M,R as N,zt as O,rt as P,Yt as Q,F as R,at as S,Dt as T,yt as U,nt as V,se as W,W as X,U as Y,N as Z,et as _,B as a,G as a0,V as a1,z as a2,Lt as a3,S as a4,k as a5,Z as a6,C as a7,ne as a8,RTECodeBlockNode as a9,te as aa,ee as ab,st as ac,gt as ad,Qt as ae,Zt as af,vt as ag,dt as ah,xt as ai,At as aj,Q as ak,ft as al,Tt as am,wt as an,qt as ao,H as b,RTETextNode as c,RTEBlock as d,RTETextBlock as e,M as f,lt as g,Bt as h,RTENode as i,Gt as j,p as k,g as l,P as m,Jt as n,$ as o,y as p,It as q,Xt as r,x as s,Ut as t,Wt as u,Ht as v,Pt as w,Kt as x,f as y,D as z}
@@ -0,0 +1 @@
1
+ export{C as CheckBoxRequiredRule}from"./p-590fd123.js";export{D as DateRequiredRule}from"./p-c95dbf11.js";export{I as InputPhoneNumberRequiredRule}from"./p-07c2725a.js";export{I as InputRangeRequiredRule}from"./p-f396c69a.js";export{R as RequiredFieldRule}from"./p-280cbcdb.js";export{R as RichTextEditorRequiredRule}from"./p-77300901.js";export{T as TimeRangeRequiredRule,a as TimeRequiredRule}from"./p-e1d2c60d.js";export{T as ToggleSwitchRequiredRule}from"./p-7c0b4c36.js";export{F as FileUploaderRequiredRule}from"./p-0bb860cc.js";import"./p-abd7aeaa.js";import"./p-e4c4ea35.js";import"./p-ed45b3b6.js";import"./p-d4ea8e22.js";import"./p-d884c644.js";import"./p-3b791b5d.js";import"./p-6e1ab235.js";import"./p-2d0d575f.js";import"./p-a528714c.js";import"./p-5904616e.js";import"./p-fb05335d.js";import"./p-f28a6074.js";import"./p-331a62d5.js";import"./p-6e70d3cc.js";import"./p-6c43d54a.js";import"./p-02841589.js";import"./p-8b5d3a52.js";import"./p-8aee6b74.js";import"./p-fb5ea4b2.js";import"./p-4866e390.js";import"./p-b75ee3ba.js";import"./p-f0e828d8.js";import"./p-a841cf13.js";
@@ -1 +1 @@
1
- import{i as t,G as s,s as i}from"./p-5ffdea8e.js";import{i as h}from"./p-6e70d3cc.js";class e{constructor(t,s,i=0,h=0,e,n,r){this._startOffset=0,this._endOffset=0,this._startContainer=t,this._endContainer=s,this._startOffset=i,this._endOffset=h,this._startNode=e,this._endNode=n,r&&(this._oldNativeRange=r)}get startContainer(){return this._startContainer}get endContainer(){return this._endContainer}get startNode(){return this._startNode}get endNode(){return this._endNode}get startOffset(){return this._startOffset}get endOffset(){return this._endOffset}updateRTERange(s,i){const{startOffset:h,endOffset:n}=s;this._startOffset=h,this._endOffset=n;const r=s.startNode,o=s.endNode;if(r instanceof t){this._startNode=r,this._endNode=o;const t=this._startNode.getRangeContainer(),s=this._startNode===this._endNode?t:this._endNode.getRangeContainer();t&&(this._startContainer=t,this._endContainer=s)}else this._startContainer=r,this._endContainer=o,this._startNode=this.getRTENodeByElement(this._startContainer),this._endNode=this._startContainer===this._endContainer?this._startNode:this.getRTENodeByElement(this._endContainer),i&&(this._oldNativeRange=i);return new e(this._startContainer,this._endContainer,this._startOffset,this._endOffset,this._startNode,this._endNode,this._oldNativeRange)}clone(){return new e(this._startContainer,this._endContainer,this._startOffset,this._endOffset,this._startNode,this._endNode,this._oldNativeRange)}toNativeRange(){let t=null;if(this._startNode){const s=this._startNode.getRangeContainer(),i=this._startNode===this._endNode?s:this._endNode.getRangeContainer();if(s&&i)return t=new Range,t.setStart(s,this._startOffset),t.setEnd(i,this._endOffset),this._startContainer=s,this._endContainer=i,this._oldNativeRange=t,t}if(!t&&this._oldNativeRange)return this._oldNativeRange}getRTENodeByElement(t){if(t){const e=t.nodeType===Node.TEXT_NODE?t.parentElement:h(t)&&s.isDecoratorNodeContainerElement(t)?s.getDecoratorNodeElement(t):t;return i.getEntityByDOM(e)}}}export{e as R}
1
+ import{i as t,G as s,s as i}from"./p-fb05335d.js";import{i as h}from"./p-6e70d3cc.js";class e{constructor(t,s,i=0,h=0,e,n,r){this._startOffset=0,this._endOffset=0,this._startContainer=t,this._endContainer=s,this._startOffset=i,this._endOffset=h,this._startNode=e,this._endNode=n,r&&(this._oldNativeRange=r)}get startContainer(){return this._startContainer}get endContainer(){return this._endContainer}get startNode(){return this._startNode}get endNode(){return this._endNode}get startOffset(){return this._startOffset}get endOffset(){return this._endOffset}updateRTERange(s,i){const{startOffset:h,endOffset:n}=s;this._startOffset=h,this._endOffset=n;const r=s.startNode,o=s.endNode;if(r instanceof t){this._startNode=r,this._endNode=o;const t=this._startNode.getRangeContainer(),s=this._startNode===this._endNode?t:this._endNode.getRangeContainer();t&&(this._startContainer=t,this._endContainer=s)}else this._startContainer=r,this._endContainer=o,this._startNode=this.getRTENodeByElement(this._startContainer),this._endNode=this._startContainer===this._endContainer?this._startNode:this.getRTENodeByElement(this._endContainer),i&&(this._oldNativeRange=i);return new e(this._startContainer,this._endContainer,this._startOffset,this._endOffset,this._startNode,this._endNode,this._oldNativeRange)}clone(){return new e(this._startContainer,this._endContainer,this._startOffset,this._endOffset,this._startNode,this._endNode,this._oldNativeRange)}toNativeRange(){let t=null;if(this._startNode){const s=this._startNode.getRangeContainer(),i=this._startNode===this._endNode?s:this._endNode.getRangeContainer();if(s&&i)return t=new Range,t.setStart(s,this._startOffset),t.setEnd(i,this._endOffset),this._startContainer=s,this._endContainer=i,this._oldNativeRange=t,t}if(!t&&this._oldNativeRange)return this._oldNativeRange}getRTENodeByElement(t){if(t){const e=t.nodeType===Node.TEXT_NODE?t.parentElement:h(t)&&s.isDecoratorNodeContainerElement(t)?s.getDecoratorNodeElement(t):t;return i.getEntityByDOM(e)}}}export{e as R}
@@ -1 +1 @@
1
- import{p as e,b as i}from"./p-6b2342e0.js";import{g as a}from"./p-0bf8743f.js";import"./p-18e8d9b7.js";import"./p-6e1ab235.js";import"./p-5a25014f.js";import"./p-5be546c5.js";import"./p-8b5d3a52.js";import"./p-6e70d3cc.js";import"./p-593e0f80.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-6e9f832f.js";import"./p-c5eb0fa6.js";import"./p-d5531d3c.js";import"./p-2d0d575f.js";import"./p-a528714c.js";import"./p-d4f1f007.js";import"./p-5ffdea8e.js";import"./p-f28a6074.js";import"./p-331a62d5.js";import"./p-aa985d73.js";import"./p-02841589.js";import"./p-b9386dd0.js";import"./p-d884c644.js";import"./p-8aee6b74.js";import"./p-fb5ea4b2.js";import"./p-4866e390.js";import"./p-f0e828d8.js";import"./p-a841cf13.js";import"./p-b6c3ce6d.js";import"./p-a7b5f497.js";import"./p-e1fbfd20.js";import"./p-e6adf829.js";import"./p-116e3963.js";import"./p-77e64f26.js";import"./p-0c667d6a.js";import"./p-1bc5b3bc.js";import"./p-c801c85d.js";import"./p-ef59f6f0.js";import"./p-abd7aeaa.js";import"./p-5f377954.js";(()=>{const i=import.meta.url,a={};return""!==i&&(a.resourcesUrl=new URL(".",i).href),e(a)})().then((e=>(a(),i(JSON.parse('[["p-158c6a9f",[[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-da742a7f",[[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-4e95248c",[[1,"vega-color-picker",{"value":[1537],"hint":[1],"disabled":[516],"required":[516],"label":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"colors":[16],"isInline":[4,"is-inline"],"columns":[2]}]]],["p-efc8c09e",[[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"],"buttonVariant":[1,"button-variant"]}]]],["p-85abe824",[[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-ea564928",[[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-596bc4f6",[[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-ed01657b",[[1,"vega-item-toggle",{"itemToggleStatusMap":[16],"statusMap":[16],"isToggled":[1028,"is-toggled"],"toggleItemStatus":[32]}]]],["p-0bcb2945",[[1,"vega-checkbox",{"identifier":[1],"value":[1032],"checked":[1028],"indeterminate":[1540],"disabled":[516],"size":[1],"required":[516],"isValid":[1540,"is-valid"],"groupDisabled":[32],"showError":[32],"setValue":[64]}],[1,"vega-checkbox-group",{"label":[1],"value":[1040],"vegaFlexProp":[16],"disabled":[516],"required":[516],"hint":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16]}]]],["p-7f46cc1e",[[1,"vega-hint"]]],["p-e340d58c",[[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"],"resizable":[4],"rows":[2],"validationRules":[16],"currentCharCount":[32]},[[0,"input","handleValueTextarea"]]]]],["p-280f63fa",[[1,"vega-toggle-switch",{"checked":[1540],"value":[1540],"size":[1],"label":[1],"required":[516],"disabled":[516],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"]}]]],["p-25ab7a33",[[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-7d85cc74",[[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-513f51ec",[[1,"vega-radio-group",{"label":[1],"value":[1537],"name":[1],"vegaFlexProp":[16],"required":[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-30445cd9",[[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-9c1a48b9",[[1,"vega-input-credit-card",{"required":[1540],"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-7df43192",[[1,"vega-table",{"columns":[16],"groupColumns":[16],"dataSource":[1040],"rowSelection":[1040],"rowExpandable":[4,"row-expandable"],"rowClickable":[4,"row-clickable"],"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],"selectedRowKeySet":[32],"expandedRowKeySet":[32],"currentBreakpoint":[32],"sortersMap":[32],"currentData":[32],"currentClickedRowKey":[32],"currentPage":[32],"pageSize":[32],"editingRows":[32],"isSelectedAll":[32],"isTemplateRenderMode":[32],"columnStructureModel":[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-cell",{"textAlign":[1,"text-align"],"breakpoint":[1],"overflow":[1],"width":[1],"currentBreakpoint":[32],"density":[32],"rowDivider":[32],"columnDivider":[32],"clickable":[32],"checked":[32],"striped":[32],"expanded":[32],"renderInput":[32]}],[1,"vega-table-expand-row",{"rowKey":[1,"row-key"],"striped":[4],"currentBreakpoint":[32],"withMultipleSelection":[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],"currentBreakpoint":[32],"density":[32],"columnDivider":[32]}],[1,"vega-table-foot-row",{"currentBreakpoint":[32],"expandable":[32],"selectionType":[32],"paddingX":[32],"columnDivider":[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],"expandable":[32],"selectionType":[32],"paddingX":[32],"checkedAll":[32],"columnDivider":[32],"density":[32],"isEmptyTable":[32],"isTemplateRenderMode":[32],"renderInput":[32]}],[1,"vega-table-row",{"rowKey":[1,"row-key"],"striped":[4],"rowDivider":[4,"row-divider"],"currentBreakpoint":[32],"clicked":[32],"expandable":[32],"clickable":[32],"paddingX":[32],"selectionType":[32],"checked":[32],"expanded":[32],"columnDivider":[32],"density":[32]}]]],["p-cc00135a",[[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"],"searchString":[32],"isDropdownShow":[32],"sourceForRender":[32],"show":[64],"hide":[64],"search":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[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],"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-783531cf",[[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-47611a83",[[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],"calendarView":[32],"currentPeriod":[32],"postOperationDate":[32],"showAllEventsInDayOrWeekView":[32],"calendarEvents":[32]}],[1,"vega-calendar-event",{"calendarEvent":[16],"timeFormat":[32],"slotMode":[32],"showColorBar":[32]}],[1,"vega-calendar-event-preview",{"previewPayload":[32],"currentEvent":[32]}],[1,"vega-calendar-event-slot",{"eventKey":[513,"event-key"]}]]],["p-1b48e8a5",[[1,"vega-rich-text-editor",{"label":[1],"required":[516],"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]}],[1,"vega-rich-text-editor-toolbar-button",{"disabled":[4],"hidden":[4],"selected":[4],"showArrowIcon":[4,"show-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]}]]],["p-c36afa21",[[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-608f234f",[[1,"vega-date-picker",{"mode":[1],"value":[1537],"label":[1],"required":[516],"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],"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],"isMobileDevice":[32],"today":[32],"currentPeriod":[32],"hoverDate":[32],"calendarSelection":[32],"maxCalendarDate":[32],"minCalendarDate":[32],"isDualMonths":[32],"reset":[64],"triggerRepick":[64]}]]],["p-a4738b70",[[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-b5497af2",[[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-58b6ac33",[[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],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-8583dd34",[[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],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-0dbd7723",[[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-e00fb667",[[1,"vega-time-picker",{"label":[1],"mode":[1],"required":[516],"placeholder":[1],"increments":[2],"timeFormat":[513,"time-format"],"value":[1537],"size":[1],"disabled":[516],"readOnly":[4,"read-only"],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"positionRelativeTo":[1,"position-relative-to"],"dropdownSource":[32],"isDropdownShow":[32],"selectedTimeValue":[32]}],[1,"vega-time-picker-dropdown"]]],["p-f020738c",[[1,"vega-accordion",{"drawsBackground":[4,"draws-background"],"prefixIcon":[1,"prefix-icon"],"accordionTitle":[1,"accordion-title"],"expandIconAlign":[1,"expand-icon-align"],"expand":[1028],"iconPosition":[1,"icon-position"],"showExpandIcon":[4,"show-expand-icon"],"groupId":[1,"group-id"]}]]],["p-115d6053",[[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-e7a4b760",[[1,"vega-backdrop",{"color":[1],"visible":[4],"duration":[2]}]]],["p-90cb665e",[[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-1deedff2",[[1,"vega-bar-chart",{"options":[16]}]]],["p-264b3309",[[1,"vega-brand-logo",{"name":[1],"size":[1],"theme":[1],"isInDarkMode":[32]}]]],["p-cab70b95",[[1,"vega-breadcrumb",{"maxItems":[8,"max-items"],"items":[16],"compactOnMobile":[4,"compact-on-mobile"],"lastItemClickable":[4,"last-item-clickable"]}]]],["p-14de7ba0",[[1,"vega-card",{"padding":[1],"margin":[1],"variant":[1],"backgroundColor":[1,"background-color"]}]]],["p-a6dbc63d",[[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-075bb809",[[1,"vega-color-swatch",{"color":[1],"selected":[1540],"label":[1],"size":[1],"disabled":[516],"variant":[1],"shape":[1]}]]],["p-1ca95601",[[1,"vega-combo-box",{"label":[1],"required":[516],"source":[1040],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"disabled":[516],"placeholder":[1],"hint":[1],"size":[1],"vegaDropdownProps":[16],"useDefaultFilter":[4,"use-default-filter"],"close":[64],"open":[64]}]]],["p-2c1a85dd",[[1,"vega-counter-badge",{"dot":[4],"color":[1],"count":[2],"offset":[16]}]]],["p-3fae8d3f",[[1,"vega-divider",{"direction":[1],"variant":[1],"margin":[1],"currentBreakpoint":[32]}]]],["p-358b4a06",[[1,"vega-field-error",{"message":[1]}]]],["p-29d31c98",[[1,"vega-file-uploader",{"label":[1],"variant":[1],"hint":[1],"value":[1040],"disabled":[4],"maxCount":[2,"max-count"],"required":[4],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"accept":[1]}]]],["p-ebdb489c",[[1,"vega-flag-icon",{"country":[1],"size":[1]}]]],["p-988401c3",[[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],"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-d456386a",[[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],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"isCompactInputWidth":[32]}]]],["p-d7bd2470",[[1,"vega-input-passcode",{"label":[1],"disabled":[516],"size":[1],"hint":[1],"length":[2],"inputType":[1,"input-type"],"value":[1537],"required":[1540],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"vegaInputValues":[32]}]]],["p-bb46d8e6",[[1,"vega-input-phone-number",{"label":[1],"size":[1],"required":[1540],"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-29f42c27",[[1,"vega-input-range",{"label":[1],"value":[1040],"prefixIcon":[513,"prefix-icon"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"required":[1540],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[16],"disabled":[516],"hint":[1],"stack":[1]}]]],["p-d8180e42",[[1,"vega-line-chart",{"options":[16],"reRender":[64]}]]],["p-a46e977b",[[1,"vega-pie-chart",{"options":[16],"reRender":[64]}]]],["p-54ba35e3",[[1,"vega-rich-text-content",{"content":[1040],"extensions":[16],"placeholder":[32],"contentEditable":[32],"extensionStyles":[32],"isInDarkMode":[32],"vegaFocus":[64]}]]],["p-295326ca",[[1,"vega-section-title",{"titleText":[1,"title"],"description":[1],"icon":[1],"iconAlign":[1,"icon-align"],"iconColor":[1,"icon-color"],"size":[1]}]]],["p-51d2e0ab",[[1,"vega-segment-control",{"block":[4],"size":[1],"segments":[16],"selected":[1025],"variant":[1],"isOverflowBlockSegments":[32]}]]],["p-eb0ebf50",[[1,"vega-signature-capture",{"mode":[1],"label":[1],"required":[516],"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-0b4880bd",[[1,"vega-skeleton",{"type":[513],"width":[8],"height":[8],"animated":[4],"corners":[1]}]]],["p-51fcb07f",[[1,"vega-slot-container"]]],["p-380abceb",[[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],"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"],"handleClose":[16],"currentBreakpoint":[32],"openState":[32],"modal":[64]},[[10,"click","listenDataTarget"],[0,"click","listenDataDismiss"],[1,"mousedown","listenMouseDown"],[1,"mouseup","listenMouseUp"]]]]],["p-b9a95aca",[[1,"vega-font",{"variant":[1],"color":[1],"disableResponsive":[4,"disable-responsive"],"textAlign":[1,"text-align"],"as":[1],"currentBreakpoint":[32]}]]],["p-597588d0",[[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],"valid":[64],"getValue":[64],"setValue":[64],"reset":[64],"setValidationStates":[64]}]]],["p-475bd8bf",[[1,"vega-grid",{"column":[8],"row":[8],"gap":[1],"justifyItems":[1,"justify-items"]}]]],["p-8da66d41",[[1,"vega-input-select",{"label":[1],"labelSuffixButtonConfig":[16],"required":[516],"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-142f371b",[[1,"vega-pagination-page-selector-mobile",{"type":[1],"pageCount":[2,"page-count"],"current":[1538],"total":[2]}]]],["p-19a30f98",[[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-8b217c7e",[[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-f89cf75a",[[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-eda7cd76",[[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-8559e36f",[[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-cc18970f",[[1,"vega-icon",{"icon":[513],"size":[1],"color":[1]}]]],["p-b08a70e6",[[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-0915a8d3",[[1,"vega-input",{"label":[513],"labelSuffixButtonProps":[16],"labelSuffixButtonConfig":[16],"value":[1537],"valueUpdateTrigger":[1,"value-update-trigger"],"type":[513],"name":[1],"autocomplete":[1],"inputmode":[1],"enterkeyhint":[1],"readOnly":[4,"read-only"],"prefixIcon":[513,"prefix-icon"],"email":[516],"required":[1540],"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-c8d41cdc",[[1,"vega-field-label",{"suffixButtonProps":[16],"suffixButtonConfig":[16],"label":[1025],"isFieldRequired":[4,"is-field-required"],"disabled":[4]}]]],["p-81a11dc6",[[1,"vega-text",{"overflow":[1],"tooltip":[16]}]]],["p-d320496e",[[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 i}from"./p-6b2342e0.js";import{g as a}from"./p-f54fb4e5.js";import"./p-18e8d9b7.js";import"./p-6e1ab235.js";import"./p-5a25014f.js";import"./p-c74060a7.js";import"./p-8b5d3a52.js";import"./p-6e70d3cc.js";import"./p-593e0f80.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-f1c672e4.js";import"./p-9af0e2e7.js";import"./p-3b791b5d.js";import"./p-2d0d575f.js";import"./p-a528714c.js";import"./p-5904616e.js";import"./p-fb05335d.js";import"./p-f28a6074.js";import"./p-331a62d5.js";import"./p-6c43d54a.js";import"./p-02841589.js";import"./p-e4c4ea35.js";import"./p-d884c644.js";import"./p-8aee6b74.js";import"./p-fb5ea4b2.js";import"./p-4866e390.js";import"./p-f0e828d8.js";import"./p-a841cf13.js";import"./p-b6c3ce6d.js";import"./p-a7b5f497.js";import"./p-e1fbfd20.js";import"./p-e6adf829.js";import"./p-1d30cab2.js";import"./p-77e64f26.js";import"./p-0c667d6a.js";import"./p-1bc5b3bc.js";import"./p-c801c85d.js";import"./p-5bf3ab33.js";import"./p-abd7aeaa.js";import"./p-5f377954.js";(()=>{const i=import.meta.url,a={};return""!==i&&(a.resourcesUrl=new URL(".",i).href),e(a)})().then((e=>(a(),i(JSON.parse('[["p-f604f2c9",[[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-35d77c9c",[[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-c2388937",[[1,"vega-color-picker",{"value":[1537],"hint":[1],"disabled":[516],"required":[516],"label":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"colors":[16],"isInline":[4,"is-inline"],"columns":[2]}]]],["p-d37636a5",[[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"],"buttonVariant":[1,"button-variant"]}]]],["p-23b38467",[[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-4afafeb3",[[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-effb285f",[[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-a49c25c2",[[1,"vega-item-toggle",{"itemToggleStatusMap":[16],"statusMap":[16],"isToggled":[1028,"is-toggled"],"toggleItemStatus":[32]}]]],["p-dffbbc3d",[[1,"vega-checkbox",{"identifier":[1],"value":[1032],"checked":[1028],"indeterminate":[1540],"disabled":[516],"size":[1],"required":[516],"isValid":[1540,"is-valid"],"groupDisabled":[32],"showError":[32],"setValue":[64]}],[1,"vega-checkbox-group",{"label":[1],"value":[1040],"vegaFlexProp":[16],"disabled":[516],"required":[516],"hint":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16]}]]],["p-7f46cc1e",[[1,"vega-hint"]]],["p-69c11b7b",[[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"],"resizable":[4],"rows":[2],"validationRules":[16],"currentCharCount":[32]},[[0,"input","handleValueTextarea"]]]]],["p-9fc8bd1f",[[1,"vega-toggle-switch",{"checked":[1540],"value":[1540],"size":[1],"label":[1],"required":[516],"disabled":[516],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"]}]]],["p-3c456e91",[[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-096d186d",[[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-fa91805b",[[1,"vega-radio-group",{"label":[1],"value":[1537],"name":[1],"vegaFlexProp":[16],"required":[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-25572ea7",[[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-3d92d2af",[[1,"vega-input-credit-card",{"required":[1540],"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-13e7f906",[[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],"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-cell",{"textAlign":[1,"text-align"],"breakpoint":[1],"overflow":[1],"width":[1],"currentBreakpoint":[32],"density":[32],"rowDivider":[32],"columnDivider":[32],"clickable":[32],"checked":[32],"striped":[32],"expanded":[32],"renderInput":[32]}],[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],"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-7f74cd41",[[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"],"searchString":[32],"isDropdownShow":[32],"sourceForRender":[32],"show":[64],"hide":[64],"search":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[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],"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-56c1a8ac",[[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-887b3e2d",[[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],"calendarView":[32],"currentPeriod":[32],"postOperationDate":[32],"showAllEventsInDayOrWeekView":[32],"calendarEvents":[32]}],[1,"vega-calendar-event",{"calendarEvent":[16],"timeFormat":[32],"slotMode":[32],"showColorBar":[32]}],[1,"vega-calendar-event-preview",{"previewPayload":[32],"currentEvent":[32]}],[1,"vega-calendar-event-slot",{"eventKey":[513,"event-key"]}]]],["p-c2e1f33d",[[1,"vega-rich-text-editor",{"label":[1],"required":[516],"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]}],[1,"vega-rich-text-editor-toolbar-button",{"disabled":[4],"hidden":[4],"selected":[4],"showArrowIcon":[4,"show-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]}]]],["p-487ecdb0",[[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-2ae5acfc",[[1,"vega-date-picker",{"mode":[1],"value":[1537],"label":[1],"required":[516],"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],"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],"isMobileDevice":[32],"today":[32],"currentPeriod":[32],"hoverDate":[32],"calendarSelection":[32],"maxCalendarDate":[32],"minCalendarDate":[32],"isDualMonths":[32],"reset":[64],"triggerRepick":[64]}]]],["p-98a6cd8e",[[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-0b5b0fd2",[[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-79c12a64",[[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],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-64b566be",[[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],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-9f36abf9",[[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-3e64fa38",[[1,"vega-time-picker",{"label":[1],"mode":[1],"required":[516],"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"],"dropdownSource":[32],"isDropdownShow":[32],"selectedTimeValue":[32]}],[1,"vega-time-picker-dropdown"]]],["p-606d7113",[[1,"vega-accordion",{"drawsBackground":[4,"draws-background"],"prefixIcon":[1,"prefix-icon"],"accordionTitle":[1,"accordion-title"],"expandIconAlign":[1,"expand-icon-align"],"expand":[1028],"iconPosition":[1,"icon-position"],"showExpandIcon":[4,"show-expand-icon"],"groupId":[1,"group-id"]}]]],["p-115d6053",[[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-e7a4b760",[[1,"vega-backdrop",{"color":[1],"visible":[4],"duration":[2]}]]],["p-e47b2c4c",[[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-1deedff2",[[1,"vega-bar-chart",{"options":[16]}]]],["p-264b3309",[[1,"vega-brand-logo",{"name":[1],"size":[1],"theme":[1],"isInDarkMode":[32]}]]],["p-a050c24d",[[1,"vega-breadcrumb",{"maxItems":[8,"max-items"],"items":[16],"compactOnMobile":[4,"compact-on-mobile"],"lastItemClickable":[4,"last-item-clickable"]}]]],["p-571a6d15",[[1,"vega-card",{"padding":[1],"margin":[1],"variant":[1],"backgroundColor":[1,"background-color"]}]]],["p-77754d62",[[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-c8fe46fd",[[1,"vega-color-swatch",{"color":[1],"selected":[1540],"label":[1],"size":[1],"disabled":[516],"variant":[1],"shape":[1]}]]],["p-ed26f4c8",[[1,"vega-color-swatch-picker",{"value":[1025],"label":[1],"disabled":[4],"required":[516],"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-4530f0e1",[[1,"vega-combo-box",{"label":[1],"required":[516],"source":[1040],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"disabled":[516],"placeholder":[1],"hint":[1],"size":[1],"vegaDropdownProps":[16],"useDefaultFilter":[4,"use-default-filter"],"close":[64],"open":[64]}]]],["p-2c1a85dd",[[1,"vega-counter-badge",{"dot":[4],"color":[1],"count":[2],"offset":[16]}]]],["p-45aaaef6",[[1,"vega-divider",{"direction":[1],"variant":[1],"margin":[1],"currentBreakpoint":[32]}]]],["p-358b4a06",[[1,"vega-field-error",{"message":[1]}]]],["p-c51ebb14",[[1,"vega-file-uploader",{"label":[1],"variant":[1],"hint":[1],"value":[1040],"disabled":[4],"maxCount":[2,"max-count"],"required":[4],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"accept":[1]}]]],["p-0bb0b521",[[1,"vega-flag-icon",{"country":[1],"size":[1]}]]],["p-2fb26f4f",[[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],"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-73c6669e",[[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],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"isCompactInputWidth":[32]}]]],["p-bc74d7e7",[[1,"vega-input-passcode",{"label":[1],"disabled":[516],"size":[1],"hint":[1],"length":[2],"inputType":[1,"input-type"],"value":[1537],"required":[1540],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"vegaInputValues":[32]}]]],["p-9763fbbe",[[1,"vega-input-phone-number",{"label":[1],"size":[1],"required":[1540],"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-afd1b519",[[1,"vega-input-range",{"label":[1],"value":[1040],"prefixIcon":[513,"prefix-icon"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"required":[1540],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[16],"disabled":[516],"hint":[1],"stack":[1]}]]],["p-d8180e42",[[1,"vega-line-chart",{"options":[16],"reRender":[64]}]]],["p-a46e977b",[[1,"vega-pie-chart",{"options":[16],"reRender":[64]}]]],["p-c15a58b5",[[1,"vega-rich-text-content",{"content":[1040],"extensions":[16],"placeholder":[32],"contentEditable":[32],"extensionStyles":[32],"isInDarkMode":[32],"vegaFocus":[64]}]]],["p-295326ca",[[1,"vega-section-title",{"titleText":[1,"title"],"description":[1],"icon":[1],"iconAlign":[1,"icon-align"],"iconColor":[1,"icon-color"],"size":[1]}]]],["p-411ea209",[[1,"vega-segment-control",{"block":[4],"size":[1],"segments":[16],"selected":[1025],"variant":[1],"isOverflowBlockSegments":[32]}]]],["p-d402eb7b",[[1,"vega-signature-capture",{"mode":[1],"label":[1],"required":[516],"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-0b4880bd",[[1,"vega-skeleton",{"type":[513],"width":[8],"height":[8],"animated":[4],"corners":[1]}]]],["p-51fcb07f",[[1,"vega-slot-container"]]],["p-bceee942",[[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],"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"],"handleClose":[16],"currentBreakpoint":[32],"openState":[32],"sectionPaddingState":[32],"modal":[64]},[[10,"click","listenDataTarget"],[0,"click","listenDataDismiss"],[1,"mousedown","listenMouseDown"],[1,"mouseup","listenMouseUp"]]]]],["p-9f064488",[[1,"vega-font",{"variant":[1],"color":[1],"disableResponsive":[4,"disable-responsive"],"textAlign":[1,"text-align"],"as":[1],"currentBreakpoint":[32]}]]],["p-ecbb63a5",[[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],"valid":[64],"getValue":[64],"setValue":[64],"reset":[64],"setValidationStates":[64]}]]],["p-7702a906",[[1,"vega-grid",{"column":[8],"row":[8],"gap":[1],"justifyItems":[1,"justify-items"]}]]],["p-59c6dcf7",[[1,"vega-input-select",{"label":[1],"labelSuffixButtonConfig":[16],"required":[516],"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-da8bb883",[[1,"vega-pagination-page-selector-mobile",{"type":[1],"pageCount":[2,"page-count"],"current":[1538],"total":[2]}]]],["p-6fadee27",[[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-a9528dbd",[[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-9e2b7718",[[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-d10ae46a",[[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-cf2838c7",[[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-78099a83",[[1,"vega-icon",{"icon":[513],"size":[1],"color":[1]}]]],["p-9eb00537",[[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-423762ae",[[1,"vega-input",{"label":[513],"labelSuffixButtonProps":[16],"labelSuffixButtonConfig":[16],"value":[1537],"valueUpdateTrigger":[1,"value-update-trigger"],"type":[513],"name":[1],"autocomplete":[1],"inputmode":[1],"enterkeyhint":[1],"readOnly":[4,"read-only"],"prefixIcon":[513,"prefix-icon"],"email":[516],"required":[1540],"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-c601b331",[[1,"vega-field-label",{"suffixButtonProps":[16],"suffixButtonConfig":[16],"label":[1025],"isFieldRequired":[4,"is-field-required"],"disabled":[4]}]]],["p-82039afd",[[1,"vega-text",{"overflow":[1],"tooltip":[16]}]]],["p-9297f4a9",[[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": "@heartlandone/vega",
3
- "version": "2.83.0",
3
+ "version": "2.85.0",
4
4
  "description": "Vega - the design system of Heartland Payment Systems",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{h as r,r as e,c as o,H as t,g as s}from"./p-6b2342e0.js";import{V as i,I as a}from"./p-4415ad28.js";import{c as l,V as c,I as d}from"./p-6e1ab235.js";import{s as h}from"./p-519a7d55.js";import{T as n}from"./p-fb5ea4b2.js";import{c as b}from"./p-86194314.js";import{i as p}from"./p-6e9f832f.js";import{c as v}from"./p-44044ed7.js";import{a as w}from"./p-c5eb0fa6.js";import{T as f}from"./p-6572e038.js";import"./p-6a334573.js";import"./p-2d0d575f.js";import"./p-f28a6074.js";import"./p-331a62d5.js";import"./p-6e70d3cc.js";import"./p-b75ee3ba.js";import"./p-d5531d3c.js";import"./p-a528714c.js";var m=function(r,e,o,t){var s,i=arguments.length,a=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,o):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(r,e,o,t);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class g extends c{constructor(){super(...arguments),this.handleClick=r=>{this.disabled?r.stopPropagation():("vega"!==p.getSemantics(this.host).namespace&&r.stopPropagation(),this.clickEventEmitter.emit())}}render(){const e="clear"===this.variant,o=!e&&!!this.color;return r("div",{class:{"vega-color-swatch-container":!0,[`size-${this.size}`]:!0,[`shape-${this.shape}`]:!0,"swatch-clear":e},role:"button","aria-label":this.getAriaLabel(),"aria-disabled":this.disabled?"true":"false",tabIndex:this.disabled?-1:0,onClick:this.handleClick,onKeyDown:b()},r("div",{class:"swatch"},o&&r("span",{class:"color-fill",style:this.getFillColorStyles()}),e&&r("span",{class:"clear-line"}),this.selected&&!e&&r("vega-icon",{class:"check-icon",icon:"checkmark",size:"size-16",color:this.getCheckMarkColor()})),this.label&&this.renderLabel())}renderLabel(){return r("vega-font",{class:"swatch-label",variant:"font-field-value",color:this.disabled?"text-disabled":"text-primary"},this.label)}getAriaLabel(){return this.label?this.label:"clear"===this.variant?this.translationSlimmer.t("Clear color"):this.color?this.translationSlimmer.t("Color {0}",this.color):this.translationSlimmer.t("Color swatch")}getFillColorStyles(){const r={};return this.color&&(r.backgroundColor=this.color),r}getCheckMarkColor(){return this.color?new n(this.color).isDark()?"text-white":"text-black":"text-primary"}}m([l()],g.prototype,"host",void 0),m([l()],g.prototype,"variant",void 0),m([l()],g.prototype,"label",void 0),m([l()],g.prototype,"color",void 0),m([l()],g.prototype,"selected",void 0),m([l()],g.prototype,"size",void 0),m([l()],g.prototype,"disabled",void 0),m([l()],g.prototype,"shape",void 0),m([l()],g.prototype,"clickEventEmitter",void 0),m([l()],g.prototype,"translationSlimmer",void 0);var u=function(r,e,o,t){var s,i=arguments.length,a=i<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,o):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(r,e,o,t);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};const x=class{constructor(r){e(this,r),this.vegaClick=o(this,"vegaClick",7),this.click=o(this,"click",7),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new i,this.translationSlimmer=new f,this.vegaColorSwatchRenderer=new g,this.clickEventEmitter=v(x,w),this.color="",this.selected=!1,this.label="",this.size="small",this.disabled=!1,this.variant="swatch",this.shape="basket"}render(){return h(r(t,{class:{disabled:this.disabled}},this.vegaColorSwatchRenderer.render()),this.host)}get host(){return s(this)}};u([a()],x.prototype,"globalSlimmers",void 0),u([d()],x.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),u([d()],x.prototype,"translationSlimmer",void 0),u([d()],x.prototype,"vegaColorSwatchRenderer",void 0),u([d()],x.prototype,"clickEventEmitter",void 0),x.style=":host{display:inline-block;vertical-align:middle}.vega-color-swatch-container{display:flex;flex-direction:row;align-items:center;border-radius:4px}.swatch{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));position:relative;flex-shrink:0;overflow:hidden}.shape-basket .swatch{border-radius:8px}.shape-block .swatch{border-radius:0px}.check-icon{position:relative;z-index:1}.swatch-clear .swatch{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));border-width:1px;border-style:solid;border-color:rgba(var(--v-border-color-danger, 230, 50, 87, 1))}.swatch-clear .swatch .clear-line{position:absolute;width:141%;height:0;border-top-width:1px;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-style:solid;border-color:rgba(var(--v-border-color-danger, 230, 50, 87, 1));transform:rotate(-45deg);transform-origin:center}.color-fill{position:absolute;display:block;top:0;left:0;width:100%;height:100%}.size-extra-small .swatch{width:24px;height:24px;min-width:24px}.size-extra-small.shape-basket .swatch{border-radius:4px}.size-small .swatch{width:40px;height:40px;min-width:40px}.size-small.shape-basket{border-radius:8px}.size-medium .swatch{width:48px;height:48px;min-width:48px}.size-medium.shape-basket{border-radius:8px}@media (hover: hover){:host(:not(.disabled)) .swatch:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}:host(:not(.disabled)) .swatch-clear .swatch:hover{border-color:rgba(var(--v-border-color-danger-hover, 255, 87, 114, 1))}:host(:not(.disabled)) .swatch-clear .swatch:hover .clear-line{border-color:rgba(var(--v-border-color-danger-hover, 255, 87, 114, 1))}}.vega-color-swatch-container:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px}.vega-color-swatch-container:focus-visible .swatch{border-width:1px;border-style:solid;border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}.vega-color-swatch-container:focus-visible.swatch-clear{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:2px}.vega-color-swatch-container:focus-visible.swatch-clear .swatch{border-color:rgba(var(--v-border-color-danger-hover, 255, 87, 114, 1))}.vega-color-swatch-container:focus-visible.swatch-clear .swatch .clear-line{border-color:rgba(var(--v-border-color-danger-hover, 255, 87, 114, 1))}:host(:not(.disabled)) .vega-color-swatch-container{cursor:pointer}:host(.disabled) .vega-color-swatch-container{cursor:not-allowed}:host(.disabled) .swatch{border-color:rgba(var(--v-border-color-input-field-disabled, 222, 225, 227, 1));pointer-events:none}:host(.disabled) .swatch .color-fill,:host(.disabled) .swatch .check-icon{opacity:0.5}:host(.disabled) .swatch .label-container{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host(.disabled) .swatch .clear-line{border-color:rgba(var(--v-border-color-input-field-disabled, 222, 225, 227, 1))}.swatch-label{margin-left:8px}";export{x as vega_color_swatch}
@@ -1 +0,0 @@
1
- import{r as e,c as i,h as t,H as a,g as n}from"./p-6b2342e0.js";import{c as r}from"./p-86194314.js";import{s as o}from"./p-519a7d55.js";import{C as s}from"./p-590fd123.js";import{C as c}from"./p-2d0d575f.js";import{C as h,F as l,g as d}from"./p-a528714c.js";import{O as p}from"./p-331a62d5.js";import{f as g,a as x}from"./p-6e70d3cc.js";import{c as b,M as v,V as f,I as m}from"./p-6e1ab235.js";import{V as k,I as u}from"./p-4415ad28.js";import{F as w}from"./p-42141782.js";import{c as y}from"./p-44044ed7.js";import{h as j}from"./p-c5eb0fa6.js";import{h as z}from"./p-aa985d73.js";import{d as C}from"./p-f28a6074.js";import{C as I}from"./p-edda10f7.js";import{R}from"./p-280cbcdb.js";import{C as D}from"./p-75b58efe.js";import{C as O}from"./p-76063dcb.js";import"./p-abd7aeaa.js";import"./p-02841589.js";import"./p-8b5d3a52.js";import"./p-6a334573.js";import"./p-d5531d3c.js";import"./p-f0e828d8.js";import"./p-b75ee3ba.js";import"./p-81dd00d0.js";import"./p-49a2e141.js";import"./p-d4ea8e22.js";import"./p-ed45b3b6.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-d27ae9ff.js";import"./p-262ec334.js";import"./p-a0c3968b.js";import"./p-6e9f832f.js";import"./p-5f377954.js";import"./p-18e8d9b7.js";import"./p-5a25014f.js";var V=function(e,i,t,a){var n,r=arguments.length,o=r<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(i,t,o):n(i,t))||o);return r>3&&o&&Object.defineProperty(i,t,o),o};class E extends f{connectedCallback(){this.checkboxGroup=g(this.host,"vega-checkbox-group")||g(this.host,"vega-selection-tile-group"),this.fieldErrorObserver=new p(this.canAcceptFieldErrorObserver.bind(this),this.fieldErrorObserverListener.bind(this)),c.register(C.getSubject(this.checkboxGroup||this.host,z),this.fieldErrorObserver)}disconnectedCallback(){c.unregister(C.getSubject(this.checkboxGroup||this.host,z),this.fieldErrorObserver)}canAcceptFieldErrorObserver(){return!0}fieldErrorObserverListener(e){this.showError=e.showError}}V([b({writable:!0})],E.prototype,"showError",void 0),V([b()],E.prototype,"host",void 0),V([v("connectedCallback")],E.prototype,"connectedCallback",null),V([v("disconnectedCallback")],E.prototype,"disconnectedCallback",null);var F=function(e,i,t,a){var n,r=arguments.length,o=r<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(i,t,o):n(i,t))||o);return r>3&&o&&Object.defineProperty(i,t,o),o};const G=class{constructor(t){e(this,t),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.globalSlimmers={},this.vegaCheckboxShowErrorController=new E,this.formFieldController=new w({propertyRules:[{propertyName:"required",ruleFactory:e=>e?new s:null}],defaultValue:e=>""!==e.identifier&&"",attributeGetter:e=>this[e],inputContainerGetter:()=>this.inputContainerRef,touchableAreaGetter:()=>[this.inputRef]}),this.changeEventEmitter=y(G,j),this.dropdownEventPrevent=new I([j],(()=>this.host),{customPreventHandle:e=>{e.stopPropagation()}}),this.vegaComponentUsageRuntimeMetricsSlimmer=new k,this.groupDisabled=!1,this.showError=!1,this.identifier="",this.value=""!==this.identifier&&"",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.size="default",this.required=!1,this.isValid=null,this.onCheckBoxChange=e=>{this.indeterminate&&(this.indeterminate=!1),this.checked=e.currentTarget.checked},this.onSelectedIconClick=e=>{e.stopPropagation()}}watchCheckedChange(){this.initValue(),this.changeEventEmitter.emit(this.value),c.notify(h,{host:this.host,detail:this.value}),c.notify(l,{host:this.host,detail:this.value})}disconnectedCallback(){this.unRegisterGroupDisabledObserver()}componentWillLoad(){this.initValue(),this.initAndRegisterGroupDisabledObserver()}componentDidRender(){""===this.host.innerHTML.trim()&&this.labelElement.classList.add("vega-hidden"),this.syncNativeIndeterminate()}async setValue(e){this.checked=this.identifier?e===this.identifier:!0===e}render(){var e;const i="VEGA-CHECKBOX-GROUP"==(null===(e=this.host.parentElement)||void 0===e?void 0:e.nodeName);return o(t(a,{class:{"vega-flex-shrink-0 v-min-w-min":i,checked:this.checked,indeterminate:this.indeterminate,disabled:this.isDisabled()}},t("label",{class:x(["vega-checkbox-container",this.showError&&"error",this.size&&`size-${this.size}`]),ref:e=>this.inputContainerRef=e},t("input",{ref:e=>this.inputRef=e,type:"checkbox",checked:this.checked,value:this.identifier,onChange:this.onCheckBoxChange,"aria-label":this.identifier||"No label defined","aria-checked":this.indeterminate?"mixed":void 0,disabled:this.isDisabled(),tabIndex:0,onKeyDown:r()}),t("span",{class:"vega-checkbox-icon",onClick:this.onSelectedIconClick,tabIndex:-1},this.renderIconDom()),t("div",{class:"vega-checkbox-label-container",ref:e=>this.labelElement=e},this.renderLabelDom(),this.renderRequireDom()))),this.host)}renderIconDom(){return this.indeterminate?t("vega-icon",{icon:"minus-sign",size:"small"===this.size?"size-12":"size-16"}):this.checked?t("vega-icon",{icon:"checkmark",size:"small"===this.size?"size-12":"size-16"}):null}renderLabelDom(){return t("span",{class:"vega-checkbox-label"},t("slot",null))}renderRequireDom(){return t("span",{class:{"vega-require":this.required}},this.required?"*":"")}initValue(){this.value=""!==this.identifier?this.checked?this.identifier:"":this.checked}syncNativeIndeterminate(){this.inputRef&&(this.inputRef.indeterminate=this.indeterminate)}isDisabled(){return this.disabled||this.groupDisabled}canAcceptGroupDisabledObserver(e){return g(this.host,"vega-checkbox-group")===e.host}groupDisabledObserverListener(e){this.groupDisabled=e.host.disabled}initAndRegisterGroupDisabledObserver(){g(this.host,"vega-checkbox-group")&&(this.groupDisabledObserver=new p(this.canAcceptGroupDisabledObserver.bind(this),this.groupDisabledObserverListener.bind(this)),c.register(d,this.groupDisabledObserver))}unRegisterGroupDisabledObserver(){this.groupDisabledObserver&&c.unregister(d,this.groupDisabledObserver)}get host(){return n(this)}static get watchers(){return{checked:["watchCheckedChange"]}}};F([u()],G.prototype,"globalSlimmers",void 0),F([m()],G.prototype,"vegaCheckboxShowErrorController",void 0),F([m()],G.prototype,"formFieldController",void 0),F([m()],G.prototype,"changeEventEmitter",void 0),F([m()],G.prototype,"dropdownEventPrevent",void 0),F([m()],G.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),G.style=':host{display:inline-block;vertical-align:middle}.vega-checkbox-container{position:relative;display:flex;-webkit-tap-highlight-color:transparent}.vega-checkbox-container>input[type=checkbox]{position:absolute;left:0px;top:0px;opacity:0;width:24px;height:24px;padding:0px;margin:0px}.vega-checkbox-container>.vega-checkbox-icon{display:inline-block;box-sizing:border-box;width:24px;height:24px;border-style:solid;border-width:2px;border-color:rgba(var(--v-border-color-action-active, 29, 65, 195, 1));position:relative;left:0px;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));border-radius:4px;min-width:24px;color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1))}.vega-checkbox-container>.vega-checkbox-icon:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}:host(.checked) .vega-checkbox-container>.vega-checkbox-icon,:host(.indeterminate) .vega-checkbox-container>.vega-checkbox-icon{background-color:rgba(var(--v-bg-action, 19, 98, 226, 1));display:inline-flex;align-items:center;justify-content:center}:host(.checked) .vega-checkbox-container>.vega-checkbox-icon:hover,:host(.indeterminate) .vega-checkbox-container>.vega-checkbox-icon:hover{background-color:rgba(var(--v-bg-action-hover, 4, 112, 236, 1))}.vega-checkbox-container>input[type=checkbox]:focus-visible+.vega-checkbox-icon{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px}.vega-checkbox-container>.vega-checkbox-icon:active{border-width:1px;border-style:solid;border-color:rgba(var(--v-border-color-action-active, 29, 65, 195, 1))}:host(.checked) .vega-checkbox-container>.vega-checkbox-icon:active,:host(.indeterminate) .vega-checkbox-container>.vega-checkbox-icon:active{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1))}:host(.disabled) .vega-checkbox-container{cursor:not-allowed}:host(:not(.disabled)) .vega-checkbox-container{cursor:pointer}.vega-checkbox-container .vega-require{color:rgba(var(--v-text-error, 189, 41, 71, 1));margin-left:4px;vertical-align:middle}.vega-checkbox-container.error>.vega-checkbox-icon{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}:host(.checked) .vega-checkbox-container.error>.vega-checkbox-icon,:host(.indeterminate) .vega-checkbox-container.error>.vega-checkbox-icon{background-color:rgba(var(--v-bg-danger, 189, 41, 71, 1))}.vega-checkbox-container.error>.vega-checkbox-icon:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}:host(.checked) .vega-checkbox-container.error>.vega-checkbox-icon:hover,:host(.indeterminate) .vega-checkbox-container.error>.vega-checkbox-icon:hover{background-color:rgba(var(--v-bg-danger-hover, 233, 71, 104, 1))}.vega-checkbox-container.error>input[type=checkbox]:focus-visible+.vega-checkbox-icon{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:3px}:host(.checked) .vega-checkbox-container.error>.vega-checkbox-icon:active,:host(.indeterminate) .vega-checkbox-container.error>.vega-checkbox-icon:active{background-color:rgba(var(--v-bg-danger-active, 230, 50, 87, 1))}.vega-checkbox-container.error>.vega-checkbox-icon:active{border-width:1px;border-style:solid;border-color:rgba(var(--v-border-color-danger-active, 189, 41, 71, 1))}:host(.disabled) .vega-checkbox-container>.vega-checkbox-icon{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}:host(.checked.disabled) .vega-checkbox-container>.vega-checkbox-icon,:host(.indeterminate.disabled) .vega-checkbox-container>.vega-checkbox-icon{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1));border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}:host(.checked.disabled) .vega-checkbox-container>.vega-checkbox-icon>vega-icon,:host(.indeterminate.disabled) .vega-checkbox-container>.vega-checkbox-icon>vega-icon{color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1))}.vega-checkbox-container>.vega-checkbox-label-container{display:inline-block;margin-left:12px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-checkbox-container>.vega-checkbox-label-container{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-checkbox-container>.vega-checkbox-label-container{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-checkbox-container>.vega-checkbox-label-container{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.disabled) .vega-checkbox-container>.vega-checkbox-label-container{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}.vega-error{display:block;margin-top:12px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-error, 189, 41, 71, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}.vega-checkbox-label-container.vega-hidden{display:none}.vega-hidden{display:none}.size-default input[type=checkbox]{width:24px;height:24px}.size-default .vega-checkbox-icon{width:24px;height:24px;min-width:24px;border-radius:4px}.size-default .vega-checkbox-label-container{margin-left:12px;font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){.size-default .vega-checkbox-label-container{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.size-default .vega-checkbox-label-container{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.size-default .vega-checkbox-label-container{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}.size-small input[type=checkbox]{width:16px;height:16px}.size-small .vega-checkbox-icon{width:16px;height:16px;min-width:16px;border-radius:2px}.size-small .vega-checkbox-label-container{margin-left:8px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){.size-small .vega-checkbox-label-container{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.size-small .vega-checkbox-label-container{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.size-small .vega-checkbox-label-container{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}';var P=function(e,i,t,a){var n,r=arguments.length,o=r<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(i,t,o):n(i,t))||o);return r>3&&o&&Object.defineProperty(i,t,o),o};const q=class{constructor(t){e(this,t),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.globalSlimmers={},this.formFieldController=new w({propertyRules:[{propertyName:"required",ruleFactory:e=>e?new R:null}],defaultValue:[],validationRulesName:"validationRules",attributeGetter:e=>this[e],inputContainerGetter:()=>this.inputContainerRef,touchableAreaGetter:()=>this.touchableAreaGetter()}),this.checkboxValueChangeObserver=new O(h,(e=>this.childCheckboxValueChange(e))),this.checkboxEventPrevent=new I([j],(()=>this.vegaFlexElement)),this.changeEventEmitter=y(q,j),this.vegaComponentUsageRuntimeMetricsSlimmer=new k,this.label="",this.value=[],this.vegaFlexProp={},this.disabled=!1,this.required=!1,this.hint="",this.isValid=null,this.autoValidation=!0,this.validationRules=[],this.childCheckboxValueChange=e=>{this.syncCheckboxItemsValue(e.detail,e.host.identifier)},this.touchableAreaGetter=()=>{const e=[];return this.vegaCheckboxArray&&this.vegaCheckboxArray.forEach((async i=>{e.push(i.shadowRoot.querySelector("input"))})),e}}async watchValue(){this.initCheckboxArray(),this.changeEventEmitter.emit(this.value),c.notify(l,{host:this.host,detail:this.value})}watchVegaFlexProp(){this.setVegaFlexProperty()}async watchDisabled(){this.notifyGroupDisabledChange()}watchValidationRules(){}componentDidLoad(){this.setVegaFlexProperty(),this.initCheckboxArray(),this.notifyGroupDisabledChange()}render(){return o(t(a,null,this.renderLabelDom(),t("div",{class:"vega-checkbox-group-container",ref:e=>this.inputContainerRef=e},t("vega-flex",{ref:e=>{this.vegaFlexElement=e}},t("slot",null))),this.renderHintDom()),this.host)}renderLabelDom(){return this.label&&t("div",{class:"vega-label"},t("label",{"aria-label":this.label},this.label,this.renderRequireDom()))}renderRequireDom(){return this.required?t("span",{class:"vega-require"},"*"):null}renderHintDom(){return this.hint&&t("div",{class:"vega-hint"},t("label",null,this.hint))}setVegaFlexProperty(){this.vegaFlexProp&&Object.assign(this.vegaFlexElement,{gap:"size-16",direction:"col"},this.vegaFlexProp)}syncCheckboxItemsValue(e,i){e&&!this.value.includes(i)?this.value=[...this.value,i]:!e&&this.value.includes(i)&&(this.value=[...this.value.filter((e=>e!==i))])}initCheckboxArray(){this.vegaCheckboxArray=Array.from(this.host.querySelectorAll("vega-checkbox")),this.vegaCheckboxArray.forEach((e=>{e.checked=!!(this.value&&this.value.length>0)&&this.value.includes(e.identifier)}))}notifyGroupDisabledChange(){c.notify(d,{host:this.host})}get host(){return n(this)}static get watchers(){return{value:["watchValue"],vegaFlexProp:["watchVegaFlexProp"],disabled:["watchDisabled"],validationRules:["watchValidationRules"]}}};P([u()],q.prototype,"globalSlimmers",void 0),P([m()],q.prototype,"formFieldController",void 0),P([m()],q.prototype,"checkboxValueChangeObserver",void 0),P([m()],q.prototype,"checkboxEventPrevent",void 0),P([m()],q.prototype,"changeEventEmitter",void 0),P([m()],q.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),P([D()],q.prototype,"watchVegaFlexProp",null),q.style=':host{display:block;text-align:left;line-height:normal}.vega-error{display:block;margin-top:12px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-error, 189, 41, 71, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}.vega-hidden{display:none}.vega-label{margin-bottom:16px}.vega-label label{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:30px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-label label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-label label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-label label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}.vega-require{color:rgba(var(--v-text-error, 189, 41, 71, 1));margin-left:4px}.vega-hint{padding-top:12px}.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}';export{G as vega_checkbox,q as vega_checkbox_group}