@globalpayments/vega 2.32.0 → 2.34.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 (904) hide show
  1. package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
  2. package/dist/cjs/{app-globals-19032674.js → app-globals-4e819773.js} +31 -22
  3. package/dist/cjs/block-annotation.abstract-4d88b939.js +875 -0
  4. package/dist/cjs/{breakpoints-7e2dff90.js → breakpoints-17d6c4c7.js} +2 -13
  5. package/dist/cjs/breakpoints-ebde4837.js +14 -0
  6. package/dist/cjs/{change-manager-a297e4d2.js → change-manager-bda1d107.js} +1 -1
  7. package/dist/cjs/{chevron-down-ca2fa88e.js → chevron-down-9847bf78.js} +0 -5
  8. package/dist/cjs/chevron-up-21465cf7.js +7 -0
  9. package/dist/cjs/{child-nodes-event-prevent-slimmer-88ed23c2.js → child-nodes-event-prevent-slimmer-e1a6e5ad.js} +3 -3
  10. package/dist/cjs/{child-nodes-notify-observer-slimmer-79f2f5a7.js → child-nodes-notify-observer-slimmer-03a3f79e.js} +5 -5
  11. package/dist/cjs/{component-73a88c4e.js → component-63af66ea.js} +1 -1
  12. package/dist/cjs/{component-global-style-slimmer-6749808c.js → component-global-style-slimmer-6b64a26c.js} +1 -1
  13. package/dist/cjs/{component-usage-runtime-metrics-1ee24991.js → component-usage-runtime-metrics-019d3c00.js} +2 -2
  14. package/dist/cjs/content-state-3a2724f6.js +2184 -0
  15. package/dist/cjs/{create-public-api-runtime-metrics-slimmer-5cc88124.js → create-public-api-runtime-metrics-slimmer-8c6a8fb7.js} +3 -3
  16. package/dist/cjs/{date-0a6bb035.js → date-ffe382a4.js} +1 -1
  17. package/dist/cjs/{deprecated-property-slimmer-fc729fd9.js → deprecated-property-slimmer-f36e3779.js} +2 -2
  18. package/dist/cjs/{design-token-92906579.js → design-token-908e3f69.js} +5 -5
  19. package/dist/cjs/{vega-event-id-81270f6a.js → dom-node-subject-observer-factory-093462f1.js} +170 -0
  20. package/dist/cjs/{dynamic-slimmer-f31fdfd7.js → dynamic-slimmer-dc30600a.js} +1 -1
  21. package/dist/cjs/{element-appender-slimmer-415d261a.js → element-appender-slimmer-0dd70e61.js} +17 -10
  22. package/dist/cjs/{event-emit-slimmer-83278943.js → event-emit-slimmer-a46bb411.js} +5 -5
  23. package/dist/cjs/{feature-flag-controller-f9d3ce38.js → feature-flag-controller-e97b5f29.js} +3 -3
  24. package/dist/cjs/{form-field-controller-slimmer-2a982ead.js → form-field-controller-slimmer-9aeabcdc.js} +16 -17
  25. package/dist/cjs/{index-09acd3c9.js → global-slimmer-registry-dd2691b8.js} +296 -274
  26. package/dist/cjs/{icon-manager-3787af39.js → icon-manager-36dcfb65.js} +2 -2
  27. package/dist/cjs/index-8b247c17.js +325 -0
  28. package/dist/cjs/index.cjs.js +37 -30
  29. package/dist/cjs/{inject-keyboard-manager-e79a1ade.js → inject-keyboard-manager-af37c861.js} +1 -1
  30. package/dist/cjs/{internal-icon-manager-2ff58050.js → internal-icon-manager-2282a62f.js} +1 -1
  31. package/dist/cjs/{internal-vega-event-manager-5fe83465.js → internal-vega-event-manager-d7643ec6.js} +72 -68
  32. package/dist/cjs/{internal-vega-z-index-manager-f03ddb37.js → internal-vega-z-index-manager-e24e4309.js} +1 -1
  33. package/dist/cjs/{keyboard-manager-34b78600.js → keyboard-manager-5afbc8f1.js} +1 -1
  34. package/dist/cjs/{keyboard-manager-slimmer-8e2d4b5d.js → keyboard-manager-slimmer-9be2a880.js} +2 -2
  35. package/dist/cjs/loader.cjs.js +28 -23
  36. package/dist/cjs/{mutation-observer-slimmer-895b3d3e.js → mutation-observer-slimmer-98bbbdf0.js} +1 -1
  37. package/dist/cjs/{vega-skeleton-loader-controller-4a1eedcd.js → node.abstract-f8075f84.js} +234 -840
  38. package/dist/cjs/{page-resize-observer-slimmer-a8cf1874.js → page-resize-observer-slimmer-e54fa9d4.js} +2 -2
  39. package/dist/cjs/{remote-invocation-registry-32aaf6c2.js → remote-invocation-registry-71a45468.js} +4 -4
  40. package/dist/cjs/{required-field-rule-9a57b1a0.js → required-field-rule-7f9945fa.js} +2 -1
  41. package/dist/cjs/{responsive-format-facade-ad2f67bf.js → responsive-format-facade-74079f1b.js} +3 -3
  42. package/dist/cjs/{state-background-color-formatter-418b84e6.js → state-background-color-formatter-d32a1098.js} +2 -2
  43. package/dist/cjs/{static-subject-title-471e1793.js → static-subject-title-d66b88fb.js} +2 -0
  44. package/dist/cjs/{string-input-formatter-slimmer-79272527.js → string-input-formatter-slimmer-297765c0.js} +2 -2
  45. package/dist/cjs/{style-formatter-68f3a5f8.js → style-formatter-5deb065f.js} +2 -2
  46. package/dist/cjs/{sub-state-notify-slimmer-13f1892b.js → sub-state-notify-slimmer-73201c53.js} +6 -7
  47. package/dist/cjs/{sub-state-observer-slimmer-6c0b635d.js → sub-state-observer-slimmer-10c0d402.js} +6 -7
  48. package/dist/cjs/{synchronize-task-queue-8977cf10.js → synchronize-task-queue-1ee80e94.js} +10 -1
  49. package/dist/cjs/text-color-toolbar-button-slimmer-b1c9f40e.js +210 -0
  50. package/dist/cjs/text-node-0d12da5a.js +1077 -0
  51. package/dist/cjs/{translation-42c1b2c8.js → translation-f6b7ee84.js} +4 -4
  52. package/dist/cjs/{translation-slimmer-32aa13e7.js → translation-slimmer-90f9f71f.js} +2 -2
  53. package/dist/cjs/trash-can-46a5e19a.js +7 -0
  54. package/dist/cjs/{type-guard-a07b353b.js → type-guard-4ba85fdc.js} +18 -18
  55. package/dist/cjs/{ui-08f33116.js → ui-b5906704.js} +20 -1
  56. package/dist/cjs/vega-accordion.cjs.entry.js +46 -47
  57. package/dist/cjs/vega-app-footer.cjs.entry.js +12 -13
  58. package/dist/cjs/vega-app-header-button.cjs.entry.js +48 -48
  59. package/dist/cjs/vega-backdrop.cjs.entry.js +8 -9
  60. package/dist/cjs/vega-banner.cjs.entry.js +36 -38
  61. package/dist/cjs/vega-bar-chart.cjs.entry.js +5 -6
  62. package/dist/cjs/vega-box.cjs.entry.js +15 -15
  63. package/dist/cjs/vega-breadcrumb.cjs.entry.js +34 -36
  64. package/dist/cjs/vega-button-circle.cjs.entry.js +29 -30
  65. package/dist/cjs/vega-button-group_2.cjs.entry.js +32 -34
  66. package/dist/cjs/vega-button-link.cjs.entry.js +33 -28
  67. package/dist/cjs/vega-button.cjs.entry.js +30 -31
  68. package/dist/cjs/vega-calendar_3.cjs.entry.js +139 -140
  69. package/dist/cjs/vega-card.cjs.entry.js +13 -13
  70. package/dist/cjs/vega-carousel.cjs.entry.js +27 -29
  71. package/dist/cjs/vega-checkbox_2.cjs.entry.js +49 -50
  72. package/dist/cjs/vega-chip.cjs.entry.js +39 -40
  73. package/dist/cjs/vega-color-picker.cjs.entry.js +29 -31
  74. package/dist/cjs/vega-combo-box.cjs.entry.js +52 -53
  75. package/dist/cjs/vega-counter-badge.cjs.entry.js +9 -10
  76. package/dist/cjs/vega-date-picker_2.cjs.entry.js +149 -96
  77. package/dist/cjs/{vega-dialog-controller-dce8cdaf.js → vega-dialog-controller-aaf1f43e.js} +2 -2
  78. package/dist/cjs/vega-dialog_2.cjs.entry.js +50 -51
  79. package/dist/cjs/vega-divider.cjs.entry.js +13 -13
  80. package/dist/cjs/vega-dropdown_5.cjs.entry.js +133 -134
  81. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  82. package/dist/cjs/vega-field-error.cjs.entry.js +8 -9
  83. package/dist/cjs/vega-field-label.cjs.entry.js +20 -23
  84. package/dist/cjs/vega-file-uploader.cjs.entry.js +76 -81
  85. package/dist/cjs/vega-flex.cjs.entry.js +18 -17
  86. package/dist/cjs/vega-font.cjs.entry.js +16 -16
  87. package/dist/cjs/vega-form.cjs.entry.js +41 -42
  88. package/dist/cjs/vega-grid.cjs.entry.js +13 -13
  89. package/dist/cjs/vega-hint.cjs.entry.js +6 -7
  90. package/dist/cjs/vega-icon.cjs.entry.js +18 -18
  91. package/dist/cjs/vega-image-uploader.cjs.entry.js +57 -58
  92. package/dist/cjs/vega-input-credit-card.cjs.entry.js +42 -43
  93. package/dist/cjs/vega-input-numeric.cjs.entry.js +35 -36
  94. package/dist/cjs/vega-input-phone-number.cjs.entry.js +51 -52
  95. package/dist/cjs/vega-input-range.cjs.entry.js +44 -45
  96. package/dist/cjs/vega-input-select.cjs.entry.js +71 -71
  97. package/dist/cjs/vega-input.cjs.entry.js +50 -52
  98. package/dist/cjs/{vega-internal-event-id-79be9bc5.js → vega-internal-event-id-85b68849.js} +12 -0
  99. package/dist/cjs/vega-item-toggle.cjs.entry.js +19 -22
  100. package/dist/cjs/vega-left-nav_5.cjs.entry.js +107 -107
  101. package/dist/cjs/vega-line-chart.cjs.entry.js +6 -7
  102. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +18 -18
  103. package/dist/cjs/vega-page-notification_2.cjs.entry.js +18 -21
  104. package/dist/cjs/vega-pagination.cjs.entry.js +53 -55
  105. package/dist/cjs/vega-pie-chart.cjs.entry.js +6 -7
  106. package/dist/cjs/vega-popover_2.cjs.entry.js +72 -37
  107. package/dist/cjs/vega-progress-tracker.cjs.entry.js +27 -30
  108. package/dist/cjs/vega-radio_2.cjs.entry.js +53 -54
  109. package/dist/cjs/vega-rich-text-content.cjs.entry.js +179 -0
  110. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +4894 -0
  111. package/dist/cjs/vega-section-title.cjs.entry.js +14 -15
  112. package/dist/cjs/vega-segment-control.cjs.entry.js +24 -26
  113. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +53 -54
  114. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +64 -65
  115. package/dist/cjs/vega-sidenav_3.cjs.entry.js +48 -50
  116. package/dist/cjs/vega-signature-capture.cjs.entry.js +44 -46
  117. package/dist/cjs/vega-skeleton.cjs.entry.js +25 -26
  118. package/dist/cjs/vega-slot-container.cjs.entry.js +5 -6
  119. package/dist/cjs/vega-stepper.cjs.entry.js +38 -39
  120. package/dist/cjs/vega-tab-group_2.cjs.entry.js +58 -59
  121. package/dist/cjs/vega-table_8.cjs.entry.js +183 -183
  122. package/dist/cjs/vega-text.cjs.entry.js +10 -10
  123. package/dist/cjs/vega-textarea.cjs.entry.js +39 -40
  124. package/dist/cjs/vega-time-picker_2.cjs.entry.js +88 -89
  125. package/dist/cjs/vega-toggle-switch.cjs.entry.js +25 -27
  126. package/dist/cjs/vega-tooltip_2.cjs.entry.js +22 -22
  127. package/dist/cjs/vega.cjs.js +28 -23
  128. package/dist/collection/collection-manifest.json +18 -0
  129. package/dist/collection/components/vega-button-link/vega-button-link.js +34 -1
  130. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +6 -4
  131. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-input-renderer-base.abstract.js +55 -0
  132. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +5 -9
  133. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.js +3 -1
  134. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.js +5 -9
  135. package/dist/collection/components/vega-date-picker/vega-date-picker.css +14 -0
  136. package/dist/collection/components/vega-date-picker/vega-date-picker.js +27 -0
  137. package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +2 -2
  138. package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +42 -4
  139. package/dist/collection/components/vega-rich-text-content/slimmers/controllers/vega-rich-text-content-state-controller.js +38 -0
  140. package/dist/collection/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.js +59 -0
  141. package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.css +132 -0
  142. package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.js +124 -0
  143. package/dist/collection/components/vega-rich-text-editor/assets/align-center.js +3 -0
  144. package/dist/collection/components/vega-rich-text-editor/assets/align-justify.js +3 -0
  145. package/dist/collection/components/vega-rich-text-editor/assets/align-left.js +3 -0
  146. package/dist/collection/components/vega-rich-text-editor/assets/align-right.js +3 -0
  147. package/dist/collection/components/vega-rich-text-editor/assets/bold.js +3 -0
  148. package/dist/collection/components/vega-rich-text-editor/assets/code-simple.js +3 -0
  149. package/dist/collection/components/vega-rich-text-editor/assets/image.js +3 -0
  150. package/dist/collection/components/vega-rich-text-editor/assets/indent.js +3 -0
  151. package/dist/collection/components/vega-rich-text-editor/assets/italic.js +3 -0
  152. package/dist/collection/components/vega-rich-text-editor/assets/link.js +3 -0
  153. package/dist/collection/components/vega-rich-text-editor/assets/list-ol.js +3 -0
  154. package/dist/collection/components/vega-rich-text-editor/assets/list-ul.js +3 -0
  155. package/dist/collection/components/vega-rich-text-editor/assets/outdent.js +3 -0
  156. package/dist/collection/components/vega-rich-text-editor/assets/strikethrough.js +3 -0
  157. package/dist/collection/components/vega-rich-text-editor/assets/text-size.js +3 -0
  158. package/dist/collection/components/vega-rich-text-editor/assets/text-slash.js +3 -0
  159. package/dist/collection/components/vega-rich-text-editor/assets/text.js +3 -0
  160. package/dist/collection/components/vega-rich-text-editor/assets/underline.js +3 -0
  161. package/dist/collection/components/vega-rich-text-editor/constants/constant.js +33 -0
  162. package/dist/collection/components/vega-rich-text-editor/dto/actions/annotation-action.abstract.js +5 -0
  163. package/dist/collection/components/vega-rich-text-editor/dto/actions/append-child-nodes-action.js +9 -0
  164. package/dist/collection/components/vega-rich-text-editor/dto/actions/bold-annotation-action.js +20 -0
  165. package/dist/collection/components/vega-rich-text-editor/dto/actions/break-single-block-action.js +16 -0
  166. package/dist/collection/components/vega-rich-text-editor/dto/actions/clear-child-nodes-action.js +12 -0
  167. package/dist/collection/components/vega-rich-text-editor/dto/actions/clear-formatting-annotation-action.js +19 -0
  168. package/dist/collection/components/vega-rich-text-editor/dto/actions/code-annotation-action.js +20 -0
  169. package/dist/collection/components/vega-rich-text-editor/dto/actions/delete-block-content-action.js +14 -0
  170. package/dist/collection/components/vega-rich-text-editor/dto/actions/delete-node-annotation-action.js +19 -0
  171. package/dist/collection/components/vega-rich-text-editor/dto/actions/horizontal-alignment-annotation-action.js +20 -0
  172. package/dist/collection/components/vega-rich-text-editor/dto/actions/image-annotation-action.js +21 -0
  173. package/dist/collection/components/vega-rich-text-editor/dto/actions/indent-annotation-action.js +20 -0
  174. package/dist/collection/components/vega-rich-text-editor/dto/actions/insert-blocks-after-block.js +14 -0
  175. package/dist/collection/components/vega-rich-text-editor/dto/actions/insert-blocks-before-block.js +14 -0
  176. package/dist/collection/components/vega-rich-text-editor/dto/actions/insert-image-to-block-action.js +16 -0
  177. package/dist/collection/components/vega-rich-text-editor/dto/actions/insert-nodes-after-node-action.js +14 -0
  178. package/dist/collection/components/vega-rich-text-editor/dto/actions/insert-nodes-before-node-action.js +14 -0
  179. package/dist/collection/components/vega-rich-text-editor/dto/actions/italic-annotation-action.js +20 -0
  180. package/dist/collection/components/vega-rich-text-editor/dto/actions/line-break-multiple-block-action.js +13 -0
  181. package/dist/collection/components/vega-rich-text-editor/dto/actions/line-break-single-block-action.js +14 -0
  182. package/dist/collection/components/vega-rich-text-editor/dto/actions/link-annotation-action.js +26 -0
  183. package/dist/collection/components/vega-rich-text-editor/dto/actions/link-group-annotation-action.js +21 -0
  184. package/dist/collection/components/vega-rich-text-editor/dto/actions/merge-two-blocks-nodes-action.js +13 -0
  185. package/dist/collection/components/vega-rich-text-editor/dto/actions/modify-content-action.abstract.js +32 -0
  186. package/dist/collection/components/vega-rich-text-editor/dto/actions/remove-child-action.js +14 -0
  187. package/dist/collection/components/vega-rich-text-editor/dto/actions/remove-nest-list-action.js +13 -0
  188. package/dist/collection/components/vega-rich-text-editor/dto/actions/replace-child-nodes-action.js +13 -0
  189. package/dist/collection/components/vega-rich-text-editor/dto/actions/replace-nest-list-action.js +13 -0
  190. package/dist/collection/components/vega-rich-text-editor/dto/actions/replace-selected-text-action.js +15 -0
  191. package/dist/collection/components/vega-rich-text-editor/dto/actions/selection-change-action.js +20 -0
  192. package/dist/collection/components/vega-rich-text-editor/dto/actions/split-block-with-node-action.js +15 -0
  193. package/dist/collection/components/vega-rich-text-editor/dto/actions/splittable-action.abstract.js +13 -0
  194. package/dist/collection/components/vega-rich-text-editor/dto/actions/strikethrough-annotation-action.js +20 -0
  195. package/dist/collection/components/vega-rich-text-editor/dto/actions/sync-up-selection-action.js +18 -0
  196. package/dist/collection/components/vega-rich-text-editor/dto/actions/text-color-annotation-action.js +20 -0
  197. package/dist/collection/components/vega-rich-text-editor/dto/actions/text-style-annotation-action.js +21 -0
  198. package/dist/collection/components/vega-rich-text-editor/dto/actions/transform-list-action.js +13 -0
  199. package/dist/collection/components/vega-rich-text-editor/dto/actions/transform-paragraph-action.js +12 -0
  200. package/dist/collection/components/vega-rich-text-editor/dto/actions/underline-annotation-action.js +20 -0
  201. package/dist/collection/components/vega-rich-text-editor/dto/actions/update-text-action.js +14 -0
  202. package/dist/collection/components/vega-rich-text-editor/dto/annotations/annotation.abstract.js +11 -0
  203. package/dist/collection/components/vega-rich-text-editor/dto/annotations/block-annotation.abstract.js +12 -0
  204. package/dist/collection/components/vega-rich-text-editor/dto/annotations/bold-annotation.js +48 -0
  205. package/dist/collection/components/vega-rich-text-editor/dto/annotations/clear-formatting-annotation.js +19 -0
  206. package/dist/collection/components/vega-rich-text-editor/dto/annotations/code-annotation.js +55 -0
  207. package/dist/collection/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.js +90 -0
  208. package/dist/collection/components/vega-rich-text-editor/dto/annotations/image-annotation.js +66 -0
  209. package/dist/collection/components/vega-rich-text-editor/dto/annotations/indent-annotation.js +78 -0
  210. package/dist/collection/components/vega-rich-text-editor/dto/annotations/italic-annotation.js +47 -0
  211. package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-annotation.js +62 -0
  212. package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-group-annotation.js +102 -0
  213. package/dist/collection/components/vega-rich-text-editor/dto/annotations/node-annotation.abstract.js +18 -0
  214. package/dist/collection/components/vega-rich-text-editor/dto/annotations/selection-range-annotation.js +11 -0
  215. package/dist/collection/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.js +57 -0
  216. package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-color-annotation.js +85 -0
  217. package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +105 -0
  218. package/dist/collection/components/vega-rich-text-editor/dto/annotations/underline-annotation.js +57 -0
  219. package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +354 -0
  220. package/dist/collection/components/vega-rich-text-editor/dto/blocks/image-block.js +260 -0
  221. package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-block.js +189 -0
  222. package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-item-block.js +236 -0
  223. package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +424 -0
  224. package/dist/collection/components/vega-rich-text-editor/dto/content-state.js +135 -0
  225. package/dist/collection/components/vega-rich-text-editor/dto/helper/block-base-operator.js +47 -0
  226. package/dist/collection/components/vega-rich-text-editor/dto/nodes/image-node.js +103 -0
  227. package/dist/collection/components/vega-rich-text-editor/dto/nodes/node.abstract.js +103 -0
  228. package/dist/collection/components/vega-rich-text-editor/dto/nodes/text-node.js +297 -0
  229. package/dist/collection/components/vega-rich-text-editor/dto/range.js +178 -0
  230. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/focus-controller.js +73 -0
  231. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-handler.abstract.js +135 -0
  232. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-processor.js +74 -0
  233. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/image-to-dto-handler.js +47 -0
  234. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/inline-block-to-dto-handler.js +39 -0
  235. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/link-to-dto-handler.js +50 -0
  236. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-item-to-dto-handler.js +41 -0
  237. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-to-dto-handler.js +57 -0
  238. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/paragraph-to-dto-handler.js +56 -0
  239. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-block-to-dto-handler.js +77 -0
  240. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-to-dto-handler.js +44 -0
  241. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/base-handler.js +191 -0
  242. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/delete-content-handler.js +108 -0
  243. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-line-break-handler.js +100 -0
  244. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paragraph-handler.js +90 -0
  245. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.js +91 -0
  246. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-text-handler.js +93 -0
  247. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.js +117 -0
  248. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/rich-text-content-controller.js +15 -0
  249. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/selection-controller.js +294 -0
  250. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/state-entity-rendering-registry.js +38 -0
  251. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/text-node-color-controller.js +51 -0
  252. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/text-node-rendering-registry.js +26 -0
  253. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.js +201 -0
  254. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/value-controller.js +91 -0
  255. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/toolbar-renderer.js +97 -0
  256. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/bold-toolbar-button-slimmer.js +51 -0
  257. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/bullets-numbers-toolbar-button-slimmer.js +70 -0
  258. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/bullets-toolbar-button-slimmer.js +70 -0
  259. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/numbers-toolbar-button-slimmer.js +68 -0
  260. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/clear-style-toolbar-button-slimmer.js +46 -0
  261. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/code-toolbar-button-slimmer.js +47 -0
  262. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/center-align-toolbar-button-slimmer.js +47 -0
  263. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/horizontal-alignment-toolbar-button-slimmer.js +77 -0
  264. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/justify-align-toolbar-button-slimmer.js +47 -0
  265. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/left-align-toolbar-button-slimmer.js +47 -0
  266. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/right-align-toolbar-button-slimmer.js +47 -0
  267. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.js +72 -0
  268. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/italic-toolbar-button-slimmer.js +49 -0
  269. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/less-indent-toolbar-button-slimmer.js +46 -0
  270. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/link-toolbar-button-slimmer.js +97 -0
  271. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/more-indent-toolbar-button-slimmer.js +45 -0
  272. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/strikethrough-toolbar-button-slimmer.js +52 -0
  273. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/text-color-toolbar-button-slimmer.js +129 -0
  274. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/text-styles-toolbar-button-slimmer.js +128 -0
  275. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/toolbar-button-slimmer.abstract.js +62 -0
  276. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/underline-toolbar-button-slimmer.js +52 -0
  277. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +126 -0
  278. package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-actions.test.js +38 -0
  279. package/dist/collection/components/vega-rich-text-editor/test/dto/annotations.test.js +134 -0
  280. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/image-block.test.js +90 -0
  281. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-block.test.js +224 -0
  282. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-item.test.js +228 -0
  283. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/text-block.test.js +173 -0
  284. package/dist/collection/components/vega-rich-text-editor/test/dto/content-state.test.js +172 -0
  285. package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/image-node.test.js +93 -0
  286. package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/text-node.test.js +433 -0
  287. package/dist/collection/components/vega-rich-text-editor/test/dto/range.test.js +53 -0
  288. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/slimmers/renderers/vega-rich-text-editor-toolbar-button-renderer.js +57 -0
  289. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/vega-rich-text-editor-toolbar-button.css +50 -0
  290. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/vega-rich-text-editor-toolbar-button.js +246 -0
  291. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.css +264 -0
  292. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +676 -0
  293. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-image-editor/slimmers/renderers/vega-rich-text-image-editor-renderer.js +133 -0
  294. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-image-editor/vega-rich-text-image-editor.css +13 -0
  295. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-image-editor/vega-rich-text-image-editor.js +165 -0
  296. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.js +144 -0
  297. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/vega-rich-text-link-editor.css +11 -0
  298. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/vega-rich-text-link-editor.js +247 -0
  299. package/dist/collection/constants/ui.js +1 -0
  300. package/dist/collection/global/scripts/before-vega-load.js +9 -1
  301. package/dist/collection/helpers/change-manager/subject/static-subject/static-subject-title.js +1 -0
  302. package/dist/collection/helpers/common/index.js +27 -0
  303. package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +1 -1
  304. package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +1 -1
  305. package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +5 -1
  306. package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -0
  307. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +6 -0
  308. package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +1 -1
  309. package/dist/collection/helpers/feature-control/feature-flag-controller.js +1 -1
  310. package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +1 -1
  311. package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +1 -1
  312. package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +1 -1
  313. package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +1 -1
  314. package/dist/collection/helpers/public-api.js +1 -0
  315. package/dist/collection/helpers/queue/synchronize-task-queue.js +10 -1
  316. package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +28 -0
  317. package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +1 -1
  318. package/dist/collection/helpers/slimmers/component-usage-runtime-metrics.js +1 -1
  319. package/dist/collection/helpers/slimmers/dark-mode-state-controller-slimmer.js +46 -0
  320. package/dist/collection/helpers/slimmers/element-appender-slimmer.js +10 -3
  321. package/dist/collection/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.js +1 -1
  322. package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +1 -1
  323. package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +1 -1
  324. package/dist/collection/helpers/slimmers/test/dark-mode-state-controller.test.js +65 -0
  325. package/dist/collection/helpers/theme/controllers/dark-mode-style-controller.js +45 -3
  326. package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +2 -2
  327. package/dist/collection/helpers/theme/theme-manager.js +3 -0
  328. package/dist/collection/helpers/validator/rules/{file-uploader-required-rule.js → object-array-required-rule.js} +3 -3
  329. package/dist/collection/helpers/validator/rules/required-field-rule.js +2 -1
  330. package/dist/collection/helpers/validator/rules/rich-text-editor-required-rule.js +57 -0
  331. package/dist/collection/helpers/validator/test/rules/object-array-required-rule.test.js +7 -0
  332. package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +11 -0
  333. package/dist/collection/helpers/validator/test/rules/rich-text-editor-required-rule.test.js +317 -0
  334. package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +1 -1
  335. package/dist/collection/polyfill/shadow-selection/shadow-selection-polyfill.js +164 -0
  336. package/dist/collection/polyfill/shadow-selection/test/shadow-selection-polyfill.test.js +233 -0
  337. package/dist/collection/polyfill/test-polyfill/unit/index.js +1 -0
  338. package/dist/collection/polyfill/test-polyfill/unit/methods.js +9 -0
  339. package/dist/collection/polyfill/test-polyfill/unit/range.js +15 -0
  340. package/dist/collection/polyfill/test-polyfill/unit/shadow-selection.js +17 -0
  341. package/dist/collection/utils/spec-utils.js +2 -1
  342. package/dist/collection/utils/test/ui.test.js +6 -1
  343. package/dist/collection/utils/ui.js +18 -0
  344. package/dist/collection/value-model-adapters/angular-ng-model-accessor-adapter.js +1 -0
  345. package/dist/collection/value-model-adapters/vue-component-v-model-adaptor.js +1 -0
  346. package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
  347. package/dist/esm/{app-globals-5084ae11.js → app-globals-9971ccfd.js} +22 -13
  348. package/dist/esm/block-annotation.abstract-b0554e2b.js +868 -0
  349. package/dist/esm/{breakpoints-36a3ed69.js → breakpoints-91116111.js} +2 -12
  350. package/dist/esm/breakpoints-d9faf11c.js +12 -0
  351. package/dist/esm/{change-manager-6a7eb88c.js → change-manager-8f5b72c2.js} +1 -1
  352. package/dist/esm/chevron-down-4a75d28e.js +5 -0
  353. package/dist/esm/chevron-up-b1989751.js +5 -0
  354. package/dist/esm/{child-nodes-event-prevent-slimmer-01953033.js → child-nodes-event-prevent-slimmer-8ceabe63.js} +3 -3
  355. package/dist/esm/{child-nodes-notify-observer-slimmer-3d52b843.js → child-nodes-notify-observer-slimmer-afc15e00.js} +4 -4
  356. package/dist/esm/{component-cae24190.js → component-051a594c.js} +1 -1
  357. package/dist/esm/{component-global-style-slimmer-000e0c11.js → component-global-style-slimmer-631f956f.js} +1 -1
  358. package/dist/esm/{component-usage-runtime-metrics-b3f6ac79.js → component-usage-runtime-metrics-21813c36.js} +2 -2
  359. package/dist/esm/content-state-acf55eb0.js +2164 -0
  360. package/dist/esm/{create-public-api-runtime-metrics-slimmer-cc1164bb.js → create-public-api-runtime-metrics-slimmer-14cb4599.js} +3 -3
  361. package/dist/esm/{date-732bc749.js → date-655c0af8.js} +1 -1
  362. package/dist/esm/{deprecated-property-slimmer-43d184b3.js → deprecated-property-slimmer-9ea5019c.js} +2 -2
  363. package/dist/esm/{design-token-2a527af3.js → design-token-20fdba82.js} +6 -6
  364. package/dist/esm/dom-node-subject-observer-factory-80358591.js +269 -0
  365. package/dist/esm/{dynamic-slimmer-90b8af32.js → dynamic-slimmer-85746483.js} +1 -1
  366. package/dist/esm/{element-appender-slimmer-48d826b2.js → element-appender-slimmer-4dfa326d.js} +17 -10
  367. package/dist/esm/{event-emit-slimmer-493e6b9d.js → event-emit-slimmer-c03cf145.js} +5 -5
  368. package/dist/esm/{feature-flag-controller-f72c004e.js → feature-flag-controller-dfde0cfa.js} +3 -3
  369. package/dist/esm/{form-field-controller-slimmer-88492678.js → form-field-controller-slimmer-de5fe574.js} +11 -12
  370. package/dist/esm/{index-187f71d1.js → global-slimmer-registry-6887a59f.js} +284 -275
  371. package/dist/esm/{icon-manager-1ee2c968.js → icon-manager-3cef32e7.js} +2 -2
  372. package/dist/esm/index-44c794b4.js +323 -0
  373. package/dist/esm/index.js +29 -23
  374. package/dist/esm/{inject-keyboard-manager-8a82e8c9.js → inject-keyboard-manager-45309420.js} +1 -1
  375. package/dist/esm/{internal-icon-manager-7004584d.js → internal-icon-manager-7fc7535a.js} +1 -1
  376. package/dist/esm/{internal-vega-event-manager-48ac30f1.js → internal-vega-event-manager-3a3815d3.js} +6 -2
  377. package/dist/esm/{internal-vega-z-index-manager-7d2b54c3.js → internal-vega-z-index-manager-89e8b6f5.js} +1 -1
  378. package/dist/esm/{keyboard-manager-d1f9ddc1.js → keyboard-manager-2c06eafe.js} +1 -1
  379. package/dist/esm/{keyboard-manager-slimmer-8723f20f.js → keyboard-manager-slimmer-fd177285.js} +2 -2
  380. package/dist/esm/{legend-input-processor-0cef3ebe.js → legend-input-processor-15939912.js} +1 -1
  381. package/dist/esm/loader.js +28 -23
  382. package/dist/esm/{mutation-observer-slimmer-6cef9549.js → mutation-observer-slimmer-ca2cb2e8.js} +1 -1
  383. package/dist/esm/{vega-skeleton-loader-controller-1911558d.js → node.abstract-93746055.js} +226 -833
  384. package/dist/esm/{page-resize-observer-slimmer-994c1e1b.js → page-resize-observer-slimmer-8589ebc8.js} +2 -2
  385. package/dist/esm/{remote-invocation-registry-1682b34e.js → remote-invocation-registry-2ec6936d.js} +2 -2
  386. package/dist/esm/{required-field-rule-5da360cc.js → required-field-rule-368b31fa.js} +2 -1
  387. package/dist/esm/{responsive-format-facade-3dc84e41.js → responsive-format-facade-559ec469.js} +3 -3
  388. package/dist/esm/{state-background-color-formatter-0540d006.js → state-background-color-formatter-16031a43.js} +2 -2
  389. package/dist/esm/{static-subject-title-500cf2a3.js → static-subject-title-e06a3840.js} +2 -1
  390. package/dist/esm/{string-input-formatter-slimmer-fc23bc9f.js → string-input-formatter-slimmer-c9fb1fa1.js} +2 -2
  391. package/dist/esm/{style-formatter-ccb2da0d.js → style-formatter-51845b6d.js} +2 -2
  392. package/dist/esm/{sub-state-notify-slimmer-21b1c646.js → sub-state-notify-slimmer-6e97a58a.js} +5 -6
  393. package/dist/esm/{sub-state-observer-slimmer-8c80d874.js → sub-state-observer-slimmer-0968ce04.js} +5 -6
  394. package/dist/esm/{synchronize-task-queue-8f5fbbd9.js → synchronize-task-queue-ac8acc3b.js} +10 -1
  395. package/dist/esm/text-color-toolbar-button-slimmer-d0255b98.js +207 -0
  396. package/dist/esm/text-node-6f7d736c.js +1055 -0
  397. package/dist/esm/{translation-4eb3cf85.js → translation-b3fe8e74.js} +4 -4
  398. package/dist/esm/{translation-slimmer-9d07a0ff.js → translation-slimmer-860cd766.js} +2 -2
  399. package/dist/esm/trash-can-8819a939.js +5 -0
  400. package/dist/esm/{type-guard-63caf78b.js → type-guard-158f6d7a.js} +20 -20
  401. package/dist/esm/{typography-a8fc4764.js → typography-396de03f.js} +1 -1
  402. package/dist/esm/{ui-0132dbb5.js → ui-5600b48f.js} +20 -2
  403. package/dist/esm/vega-accordion.entry.js +22 -23
  404. package/dist/esm/vega-app-footer.entry.js +3 -4
  405. package/dist/esm/vega-app-header-button.entry.js +26 -26
  406. package/dist/esm/vega-backdrop.entry.js +4 -5
  407. package/dist/esm/vega-banner.entry.js +15 -17
  408. package/dist/esm/vega-bar-chart.entry.js +5 -6
  409. package/dist/esm/vega-box.entry.js +13 -13
  410. package/dist/esm/vega-breadcrumb.entry.js +13 -15
  411. package/dist/esm/vega-button-circle.entry.js +21 -22
  412. package/dist/esm/vega-button-group_2.entry.js +16 -18
  413. package/dist/esm/vega-button-link.entry.js +21 -16
  414. package/dist/esm/vega-button.entry.js +20 -21
  415. package/dist/esm/vega-calendar_3.entry.js +29 -30
  416. package/dist/esm/vega-card.entry.js +11 -11
  417. package/dist/esm/vega-carousel.entry.js +17 -19
  418. package/dist/esm/vega-checkbox_2.entry.js +24 -25
  419. package/dist/esm/vega-chip.entry.js +21 -22
  420. package/dist/esm/vega-color-picker.entry.js +19 -21
  421. package/dist/esm/vega-combo-box.entry.js +27 -28
  422. package/dist/esm/vega-counter-badge.entry.js +3 -4
  423. package/dist/esm/vega-date-picker_2.entry.js +128 -75
  424. package/dist/esm/{vega-dialog-controller-8b343a17.js → vega-dialog-controller-5b23f68c.js} +2 -2
  425. package/dist/esm/vega-dialog_2.entry.js +24 -25
  426. package/dist/esm/vega-divider.entry.js +11 -11
  427. package/dist/esm/vega-dropdown_5.entry.js +33 -34
  428. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  429. package/dist/esm/vega-field-error.entry.js +5 -6
  430. package/dist/esm/vega-field-label.entry.js +9 -12
  431. package/dist/esm/vega-file-uploader.entry.js +27 -32
  432. package/dist/esm/vega-flex.entry.js +16 -15
  433. package/dist/esm/vega-font.entry.js +12 -12
  434. package/dist/esm/vega-form.entry.js +23 -24
  435. package/dist/esm/vega-grid.entry.js +11 -11
  436. package/dist/esm/vega-hint.entry.js +3 -4
  437. package/dist/esm/vega-icon.entry.js +14 -14
  438. package/dist/esm/vega-image-uploader.entry.js +28 -29
  439. package/dist/esm/vega-input-credit-card.entry.js +25 -26
  440. package/dist/esm/vega-input-numeric.entry.js +26 -27
  441. package/dist/esm/vega-input-phone-number.entry.js +25 -26
  442. package/dist/esm/vega-input-range.entry.js +23 -24
  443. package/dist/esm/vega-input-select.entry.js +31 -31
  444. package/dist/esm/vega-input.entry.js +23 -25
  445. package/dist/esm/{vega-internal-event-id-770faa12.js → vega-internal-event-id-4af5c6e9.js} +7 -1
  446. package/dist/esm/vega-item-toggle.entry.js +10 -13
  447. package/dist/esm/vega-left-nav_5.entry.js +32 -32
  448. package/dist/esm/vega-line-chart.entry.js +6 -7
  449. package/dist/esm/vega-loader-wrapper_2.entry.js +10 -10
  450. package/dist/esm/vega-page-notification_2.entry.js +6 -9
  451. package/dist/esm/vega-pagination.entry.js +17 -19
  452. package/dist/esm/vega-pie-chart.entry.js +5 -6
  453. package/dist/esm/vega-popover_2.entry.js +59 -24
  454. package/dist/esm/vega-progress-tracker.entry.js +10 -13
  455. package/dist/esm/vega-radio_2.entry.js +26 -27
  456. package/dist/esm/vega-rich-text-content.entry.js +175 -0
  457. package/dist/esm/vega-rich-text-editor_4.entry.js +4887 -0
  458. package/dist/esm/vega-section-title.entry.js +3 -4
  459. package/dist/esm/vega-segment-control.entry.js +12 -14
  460. package/dist/esm/vega-selection-chip_2.entry.js +28 -29
  461. package/dist/esm/vega-selection-tile_2.entry.js +26 -27
  462. package/dist/esm/vega-sidenav_3.entry.js +23 -25
  463. package/dist/esm/vega-signature-capture.entry.js +27 -29
  464. package/dist/esm/vega-skeleton.entry.js +3 -4
  465. package/dist/esm/vega-slot-container.entry.js +2 -3
  466. package/dist/esm/vega-stepper.entry.js +22 -23
  467. package/dist/esm/vega-tab-group_2.entry.js +18 -19
  468. package/dist/esm/vega-table_8.entry.js +33 -33
  469. package/dist/esm/vega-text.entry.js +6 -6
  470. package/dist/esm/vega-textarea.entry.js +23 -24
  471. package/dist/esm/vega-time-picker_2.entry.js +31 -32
  472. package/dist/esm/vega-toggle-switch.entry.js +18 -20
  473. package/dist/esm/vega-tooltip_2.entry.js +16 -16
  474. package/dist/esm/vega.js +28 -23
  475. package/dist/esm/{y-axis-input-processor-a4d6aa50.js → y-axis-input-processor-a26a57e5.js} +1 -1
  476. package/dist/types/components/vega-button-link/types.d.ts +1 -0
  477. package/dist/types/components/vega-button-link/vega-button-link.d.ts +8 -0
  478. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +1 -0
  479. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-input-renderer-base.abstract.d.ts +17 -0
  480. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +2 -4
  481. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.d.ts +2 -4
  482. package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +6 -0
  483. package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +19 -0
  484. package/dist/types/components/vega-rich-text-content/slimmers/controllers/vega-rich-text-content-state-controller.d.ts +11 -0
  485. package/dist/types/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.d.ts +20 -0
  486. package/dist/types/components/vega-rich-text-content/vega-rich-text-content.d.ts +44 -0
  487. package/dist/types/components/vega-rich-text-editor/assets/align-center.d.ts +3 -0
  488. package/dist/types/components/vega-rich-text-editor/assets/align-justify.d.ts +3 -0
  489. package/dist/types/components/vega-rich-text-editor/assets/align-left.d.ts +3 -0
  490. package/dist/types/components/vega-rich-text-editor/assets/align-right.d.ts +3 -0
  491. package/dist/types/components/vega-rich-text-editor/assets/bold.d.ts +3 -0
  492. package/dist/types/components/vega-rich-text-editor/assets/code-simple.d.ts +3 -0
  493. package/dist/types/components/vega-rich-text-editor/assets/image.d.ts +3 -0
  494. package/dist/types/components/vega-rich-text-editor/assets/indent.d.ts +3 -0
  495. package/dist/types/components/vega-rich-text-editor/assets/italic.d.ts +3 -0
  496. package/dist/types/components/vega-rich-text-editor/assets/link.d.ts +3 -0
  497. package/dist/types/components/vega-rich-text-editor/assets/list-ol.d.ts +3 -0
  498. package/dist/types/components/vega-rich-text-editor/assets/list-ul.d.ts +3 -0
  499. package/dist/types/components/vega-rich-text-editor/assets/outdent.d.ts +3 -0
  500. package/dist/types/components/vega-rich-text-editor/assets/strikethrough.d.ts +3 -0
  501. package/dist/types/components/vega-rich-text-editor/assets/text-size.d.ts +3 -0
  502. package/dist/types/components/vega-rich-text-editor/assets/text-slash.d.ts +3 -0
  503. package/dist/types/components/vega-rich-text-editor/assets/text.d.ts +3 -0
  504. package/dist/types/components/vega-rich-text-editor/assets/underline.d.ts +3 -0
  505. package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +3 -0
  506. package/dist/types/components/vega-rich-text-editor/dto/actions/annotation-action.abstract.d.ts +12 -0
  507. package/dist/types/components/vega-rich-text-editor/dto/actions/append-child-nodes-action.d.ts +9 -0
  508. package/dist/types/components/vega-rich-text-editor/dto/actions/bold-annotation-action.d.ts +16 -0
  509. package/dist/types/components/vega-rich-text-editor/dto/actions/break-single-block-action.d.ts +18 -0
  510. package/dist/types/components/vega-rich-text-editor/dto/actions/clear-child-nodes-action.d.ts +9 -0
  511. package/dist/types/components/vega-rich-text-editor/dto/actions/clear-formatting-annotation-action.d.ts +14 -0
  512. package/dist/types/components/vega-rich-text-editor/dto/actions/code-annotation-action.d.ts +16 -0
  513. package/dist/types/components/vega-rich-text-editor/dto/actions/delete-block-content-action.d.ts +16 -0
  514. package/dist/types/components/vega-rich-text-editor/dto/actions/delete-node-annotation-action.d.ts +18 -0
  515. package/dist/types/components/vega-rich-text-editor/dto/actions/horizontal-alignment-annotation-action.d.ts +17 -0
  516. package/dist/types/components/vega-rich-text-editor/dto/actions/image-annotation-action.d.ts +18 -0
  517. package/dist/types/components/vega-rich-text-editor/dto/actions/indent-annotation-action.d.ts +16 -0
  518. package/dist/types/components/vega-rich-text-editor/dto/actions/insert-blocks-after-block.d.ts +13 -0
  519. package/dist/types/components/vega-rich-text-editor/dto/actions/insert-blocks-before-block.d.ts +13 -0
  520. package/dist/types/components/vega-rich-text-editor/dto/actions/insert-image-to-block-action.d.ts +16 -0
  521. package/dist/types/components/vega-rich-text-editor/dto/actions/insert-nodes-after-node-action.d.ts +13 -0
  522. package/dist/types/components/vega-rich-text-editor/dto/actions/insert-nodes-before-node-action.d.ts +13 -0
  523. package/dist/types/components/vega-rich-text-editor/dto/actions/italic-annotation-action.d.ts +16 -0
  524. package/dist/types/components/vega-rich-text-editor/dto/actions/line-break-multiple-block-action.d.ts +15 -0
  525. package/dist/types/components/vega-rich-text-editor/dto/actions/line-break-single-block-action.d.ts +15 -0
  526. package/dist/types/components/vega-rich-text-editor/dto/actions/link-annotation-action.d.ts +24 -0
  527. package/dist/types/components/vega-rich-text-editor/dto/actions/link-group-annotation-action.d.ts +18 -0
  528. package/dist/types/components/vega-rich-text-editor/dto/actions/merge-two-blocks-nodes-action.d.ts +12 -0
  529. package/dist/types/components/vega-rich-text-editor/dto/actions/modify-content-action.abstract.d.ts +30 -0
  530. package/dist/types/components/vega-rich-text-editor/dto/actions/remove-child-action.d.ts +14 -0
  531. package/dist/types/components/vega-rich-text-editor/dto/actions/remove-nest-list-action.d.ts +12 -0
  532. package/dist/types/components/vega-rich-text-editor/dto/actions/replace-child-nodes-action.d.ts +12 -0
  533. package/dist/types/components/vega-rich-text-editor/dto/actions/replace-nest-list-action.d.ts +12 -0
  534. package/dist/types/components/vega-rich-text-editor/dto/actions/replace-selected-text-action.d.ts +13 -0
  535. package/dist/types/components/vega-rich-text-editor/dto/actions/selection-change-action.d.ts +16 -0
  536. package/dist/types/components/vega-rich-text-editor/dto/actions/split-block-with-node-action.d.ts +17 -0
  537. package/dist/types/components/vega-rich-text-editor/dto/actions/splittable-action.abstract.d.ts +10 -0
  538. package/dist/types/components/vega-rich-text-editor/dto/actions/strikethrough-annotation-action.d.ts +16 -0
  539. package/dist/types/components/vega-rich-text-editor/dto/actions/sync-up-selection-action.d.ts +16 -0
  540. package/dist/types/components/vega-rich-text-editor/dto/actions/text-color-annotation-action.d.ts +16 -0
  541. package/dist/types/components/vega-rich-text-editor/dto/actions/text-style-annotation-action.d.ts +18 -0
  542. package/dist/types/components/vega-rich-text-editor/dto/actions/transform-list-action.d.ts +13 -0
  543. package/dist/types/components/vega-rich-text-editor/dto/actions/transform-paragraph-action.d.ts +11 -0
  544. package/dist/types/components/vega-rich-text-editor/dto/actions/underline-annotation-action.d.ts +16 -0
  545. package/dist/types/components/vega-rich-text-editor/dto/actions/update-text-action.d.ts +11 -0
  546. package/dist/types/components/vega-rich-text-editor/dto/annotations/annotation.abstract.d.ts +13 -0
  547. package/dist/types/components/vega-rich-text-editor/dto/annotations/block-annotation.abstract.d.ts +22 -0
  548. package/dist/types/components/vega-rich-text-editor/dto/annotations/bold-annotation.d.ts +37 -0
  549. package/dist/types/components/vega-rich-text-editor/dto/annotations/clear-formatting-annotation.d.ts +9 -0
  550. package/dist/types/components/vega-rich-text-editor/dto/annotations/code-annotation.d.ts +43 -0
  551. package/dist/types/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.d.ts +50 -0
  552. package/dist/types/components/vega-rich-text-editor/dto/annotations/image-annotation.d.ts +41 -0
  553. package/dist/types/components/vega-rich-text-editor/dto/annotations/indent-annotation.d.ts +44 -0
  554. package/dist/types/components/vega-rich-text-editor/dto/annotations/italic-annotation.d.ts +37 -0
  555. package/dist/types/components/vega-rich-text-editor/dto/annotations/link-annotation.d.ts +44 -0
  556. package/dist/types/components/vega-rich-text-editor/dto/annotations/link-group-annotation.d.ts +16 -0
  557. package/dist/types/components/vega-rich-text-editor/dto/annotations/node-annotation.abstract.d.ts +28 -0
  558. package/dist/types/components/vega-rich-text-editor/dto/annotations/selection-range-annotation.d.ts +9 -0
  559. package/dist/types/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.d.ts +43 -0
  560. package/dist/types/components/vega-rich-text-editor/dto/annotations/text-color-annotation.d.ts +50 -0
  561. package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts +44 -0
  562. package/dist/types/components/vega-rich-text-editor/dto/annotations/underline-annotation.d.ts +43 -0
  563. package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +175 -0
  564. package/dist/types/components/vega-rich-text-editor/dto/blocks/image-block.d.ts +49 -0
  565. package/dist/types/components/vega-rich-text-editor/dto/blocks/list-block.d.ts +30 -0
  566. package/dist/types/components/vega-rich-text-editor/dto/blocks/list-item-block.d.ts +33 -0
  567. package/dist/types/components/vega-rich-text-editor/dto/blocks/text-block.d.ts +63 -0
  568. package/dist/types/components/vega-rich-text-editor/dto/content-state.d.ts +58 -0
  569. package/dist/types/components/vega-rich-text-editor/dto/helper/block-base-operator.d.ts +24 -0
  570. package/dist/types/components/vega-rich-text-editor/dto/nodes/image-node.d.ts +19 -0
  571. package/dist/types/components/vega-rich-text-editor/dto/nodes/node.abstract.d.ts +65 -0
  572. package/dist/types/components/vega-rich-text-editor/dto/nodes/text-node.d.ts +33 -0
  573. package/dist/types/components/vega-rich-text-editor/dto/range.d.ts +102 -0
  574. package/dist/types/components/vega-rich-text-editor/interface.d.ts +175 -0
  575. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/focus-controller.d.ts +33 -0
  576. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-handler.abstract.d.ts +67 -0
  577. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-processor.d.ts +29 -0
  578. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/image-to-dto-handler.d.ts +37 -0
  579. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/inline-block-to-dto-handler.d.ts +35 -0
  580. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/link-to-dto-handler.d.ts +37 -0
  581. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-item-to-dto-handler.d.ts +36 -0
  582. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-to-dto-handler.d.ts +39 -0
  583. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/paragraph-to-dto-handler.d.ts +39 -0
  584. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-block-to-dto-handler.d.ts +46 -0
  585. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-to-dto-handler.d.ts +37 -0
  586. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/base-handler.d.ts +78 -0
  587. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/delete-content-handler.d.ts +33 -0
  588. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-line-break-handler.d.ts +53 -0
  589. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paragraph-handler.d.ts +22 -0
  590. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.d.ts +44 -0
  591. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-text-handler.d.ts +25 -0
  592. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.d.ts +39 -0
  593. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/rich-text-content-controller.d.ts +13 -0
  594. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/selection-controller.d.ts +123 -0
  595. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/state-entity-rendering-registry.d.ts +33 -0
  596. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/text-node-color-controller.d.ts +22 -0
  597. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/text-node-rendering-registry.d.ts +22 -0
  598. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.d.ts +70 -0
  599. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/value-controller.d.ts +38 -0
  600. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/toolbar-renderer.d.ts +21 -0
  601. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/bold-toolbar-button-slimmer.d.ts +9 -0
  602. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/bullets-numbers-toolbar-button-slimmer.d.ts +16 -0
  603. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/bullets-toolbar-button-slimmer.d.ts +19 -0
  604. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/numbers-toolbar-button-slimmer.d.ts +19 -0
  605. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/clear-style-toolbar-button-slimmer.d.ts +9 -0
  606. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/code-toolbar-button-slimmer.d.ts +9 -0
  607. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/center-align-toolbar-button-slimmer.d.ts +9 -0
  608. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/horizontal-alignment-toolbar-button-slimmer.d.ts +19 -0
  609. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/justify-align-toolbar-button-slimmer.d.ts +9 -0
  610. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/left-align-toolbar-button-slimmer.d.ts +9 -0
  611. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/right-align-toolbar-button-slimmer.d.ts +9 -0
  612. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.d.ts +19 -0
  613. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/italic-toolbar-button-slimmer.d.ts +9 -0
  614. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/less-indent-toolbar-button-slimmer.d.ts +9 -0
  615. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/link-toolbar-button-slimmer.d.ts +16 -0
  616. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/more-indent-toolbar-button-slimmer.d.ts +9 -0
  617. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/strikethrough-toolbar-button-slimmer.d.ts +9 -0
  618. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/text-color-toolbar-button-slimmer.d.ts +28 -0
  619. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/text-styles-toolbar-button-slimmer.d.ts +21 -0
  620. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/toolbar-button-slimmer.abstract.d.ts +49 -0
  621. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/underline-toolbar-button-slimmer.d.ts +9 -0
  622. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.d.ts +53 -0
  623. package/dist/types/components/vega-rich-text-editor/test/dto/annotations.test.d.ts +1 -0
  624. package/dist/types/components/vega-rich-text-editor/test/dto/blocks/image-block.test.d.ts +1 -0
  625. package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-block.test.d.ts +1 -0
  626. package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-item.test.d.ts +1 -0
  627. package/dist/types/components/vega-rich-text-editor/test/dto/blocks/text-block.test.d.ts +1 -0
  628. package/dist/types/components/vega-rich-text-editor/test/dto/content-state.test.d.ts +1 -0
  629. package/dist/types/components/vega-rich-text-editor/test/dto/nodes/image-node.test.d.ts +1 -0
  630. package/dist/types/components/vega-rich-text-editor/test/dto/nodes/text-node.test.d.ts +1 -0
  631. package/dist/types/components/vega-rich-text-editor/test/dto/range.test.d.ts +1 -0
  632. package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/slimmers/renderers/vega-rich-text-editor-toolbar-button-renderer.d.ts +11 -0
  633. package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/vega-rich-text-editor-toolbar-button.d.ts +62 -0
  634. package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +186 -0
  635. package/dist/types/components/vega-rich-text-editor/vega-rich-text-image-editor/slimmers/renderers/vega-rich-text-image-editor-renderer.d.ts +20 -0
  636. package/dist/types/components/vega-rich-text-editor/vega-rich-text-image-editor/types.d.ts +15 -0
  637. package/dist/types/components/vega-rich-text-editor/vega-rich-text-image-editor/vega-rich-text-image-editor.d.ts +46 -0
  638. package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.d.ts +29 -0
  639. package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/types.d.ts +15 -0
  640. package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/vega-rich-text-link-editor.d.ts +64 -0
  641. package/dist/types/components.d.ts +399 -0
  642. package/dist/types/constants/ui.d.ts +1 -1
  643. package/dist/types/helpers/change-manager/subject/static-subject/static-subject-title.d.ts +2 -1
  644. package/dist/types/helpers/common/index.d.ts +8 -0
  645. package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +1 -0
  646. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +6 -0
  647. package/dist/types/helpers/public-api.d.ts +1 -0
  648. package/dist/types/helpers/queue/synchronize-task-queue.d.ts +7 -0
  649. package/dist/types/helpers/slimmers/dark-mode-state-controller-slimmer.d.ts +21 -0
  650. package/dist/types/helpers/slimmers/element-appender-slimmer.d.ts +2 -0
  651. package/dist/types/helpers/slimmers/test/dark-mode-state-controller.test.d.ts +1 -0
  652. package/dist/types/helpers/theme/controllers/dark-mode-style-controller.d.ts +20 -0
  653. package/dist/types/helpers/validator/rules/form-field-validation-rule.d.ts +7 -1
  654. package/dist/types/helpers/validator/rules/{file-uploader-required-rule.d.ts → object-array-required-rule.d.ts} +3 -3
  655. package/dist/types/helpers/validator/rules/rich-text-editor-required-rule.d.ts +39 -0
  656. package/dist/types/helpers/validator/test/rules/object-array-required-rule.test.d.ts +1 -0
  657. package/dist/types/helpers/validator/test/rules/rich-text-editor-required-rule.test.d.ts +1 -0
  658. package/dist/types/polyfill/shadow-selection/shadow-selection-polyfill.d.ts +64 -0
  659. package/dist/types/polyfill/shadow-selection/test/shadow-selection-polyfill.test.d.ts +0 -0
  660. package/dist/types/polyfill/test-polyfill/unit/index.d.ts +1 -0
  661. package/dist/types/polyfill/test-polyfill/unit/range.d.ts +7 -0
  662. package/dist/types/polyfill/test-polyfill/unit/shadow-selection.d.ts +0 -0
  663. package/dist/types/types/components.type.d.ts +16 -0
  664. package/dist/types/utils/ui.d.ts +7 -0
  665. package/dist/vega/index.esm.js +1 -1
  666. package/dist/vega/p-034e6348.entry.js +1 -0
  667. package/dist/vega/p-0cd2b50f.entry.js +1 -0
  668. package/dist/vega/{p-5453f591.js → p-0e0c47ad.js} +1 -1
  669. package/dist/vega/p-109a00cf.entry.js +1 -0
  670. package/dist/vega/p-112455b1.js +1 -0
  671. package/dist/vega/{p-bdb94242.js → p-11a19ca0.js} +1 -1
  672. package/dist/vega/{p-a04632d0.js → p-11cb477b.js} +1 -1
  673. package/dist/vega/p-1564cc4d.entry.js +1 -0
  674. package/dist/vega/p-18886765.entry.js +1 -0
  675. package/dist/vega/p-1995e98e.js +1 -0
  676. package/dist/vega/p-19b26168.entry.js +1 -0
  677. package/dist/vega/{p-b62f0454.js → p-1ec4b319.js} +1 -1
  678. package/dist/vega/p-1ec763ab.js +1 -0
  679. package/dist/vega/p-1fb56e14.js +1 -0
  680. package/dist/vega/p-21992602.entry.js +1 -0
  681. package/dist/vega/p-22563151.entry.js +1 -0
  682. package/dist/vega/p-23795da1.entry.js +1 -0
  683. package/dist/vega/p-29277e41.entry.js +1 -0
  684. package/dist/vega/{p-9b797118.js → p-296cc56b.js} +1 -1
  685. package/dist/vega/p-2a7e9422.entry.js +1 -0
  686. package/dist/vega/p-2ca6d977.entry.js +1 -0
  687. package/dist/vega/p-2e419309.entry.js +1 -0
  688. package/dist/vega/p-2fc3af2f.js +1 -0
  689. package/dist/vega/p-3039bef8.js +1 -0
  690. package/dist/vega/{p-e2acbc60.js → p-3152031c.js} +1 -1
  691. package/dist/vega/p-315667f1.js +1 -0
  692. package/dist/vega/p-34939c97.entry.js +1 -0
  693. package/dist/vega/{p-a46329bb.js → p-368d0060.js} +1 -1
  694. package/dist/vega/p-3897bb2d.entry.js +1 -0
  695. package/dist/vega/{p-69e63d21.entry.js → p-390c5236.entry.js} +1 -1
  696. package/dist/vega/{p-af7a3154.js → p-3953c705.js} +1 -1
  697. package/dist/vega/{p-30860766.js → p-39836361.js} +1 -1
  698. package/dist/vega/{p-a190c86a.js → p-3b4bde3e.js} +1 -1
  699. package/dist/vega/p-3ce31dc3.js +1 -0
  700. package/dist/vega/{p-04215e74.js → p-3f1b542a.js} +1 -1
  701. package/dist/vega/{p-2d0d575f.js → p-443ad3b3.js} +1 -1
  702. package/dist/vega/p-452e284a.js +1 -0
  703. package/dist/vega/p-49f4a666.js +1 -0
  704. package/dist/vega/p-4bcd6612.js +1 -0
  705. package/dist/vega/p-4c41dd64.js +1 -0
  706. package/dist/vega/p-55beac7f.entry.js +1 -0
  707. package/dist/vega/p-57405834.entry.js +1 -0
  708. package/dist/vega/p-589e6041.entry.js +1 -0
  709. package/dist/vega/{p-6a334573.js → p-59bdf9b8.js} +1 -1
  710. package/dist/vega/p-5e95402a.entry.js +1 -0
  711. package/dist/vega/p-5eee21b4.entry.js +1 -0
  712. package/dist/vega/p-5f377954.js +1 -1
  713. package/dist/vega/p-613ddaab.js +1 -0
  714. package/dist/vega/{p-2d5a9f66.js → p-62774231.js} +1 -1
  715. package/dist/vega/p-62cea2e7.entry.js +1 -0
  716. package/dist/vega/p-65b79fd7.js +1 -0
  717. package/dist/vega/p-6741e2b9.entry.js +1 -0
  718. package/dist/vega/p-6a084fe1.entry.js +1 -0
  719. package/dist/vega/{p-760283d1.entry.js → p-6b286226.entry.js} +1 -1
  720. package/dist/vega/p-6b722905.entry.js +1 -0
  721. package/dist/vega/p-6e4b2752.entry.js +1 -0
  722. package/dist/vega/{p-47c87634.js → p-70151c27.js} +1 -1
  723. package/dist/vega/p-7209d03b.js +1 -0
  724. package/dist/vega/p-728b029a.entry.js +1 -0
  725. package/dist/vega/p-76fc408e.entry.js +1 -0
  726. package/dist/vega/p-7a40e033.js +1 -0
  727. package/dist/vega/p-7a9f453e.entry.js +1 -0
  728. package/dist/vega/p-80ccd894.entry.js +1 -0
  729. package/dist/vega/{p-ed237efc.js → p-81ead59a.js} +1 -1
  730. package/dist/vega/{p-987fbbd0.js → p-843a0c1c.js} +1 -1
  731. package/dist/vega/p-84c597c8.entry.js +1 -0
  732. package/dist/vega/p-8b78c6a3.entry.js +1 -0
  733. package/dist/vega/p-8be45a45.entry.js +1 -0
  734. package/dist/vega/p-8c26227e.js +1 -0
  735. package/dist/vega/p-8d7b45f7.entry.js +1 -0
  736. package/dist/vega/p-8e17b9dd.entry.js +1 -0
  737. package/dist/vega/p-8f93242a.js +1 -0
  738. package/dist/vega/p-925a2137.js +1 -0
  739. package/dist/vega/p-92f88033.entry.js +1 -0
  740. package/dist/vega/p-94de7a02.entry.js +1 -0
  741. package/dist/vega/p-9968e71d.entry.js +1 -0
  742. package/dist/vega/p-9c1eeff2.js +2 -0
  743. package/dist/vega/p-9d1b9e70.entry.js +1 -0
  744. package/dist/vega/p-a5ffe912.js +1 -0
  745. package/dist/vega/p-a6104aa7.js +1 -0
  746. package/dist/vega/p-a6169ad6.entry.js +1 -0
  747. package/dist/vega/{p-6a8f1251.js → p-a6a7d0c9.js} +1 -1
  748. package/dist/vega/p-a8bf559a.js +1 -0
  749. package/dist/vega/p-aacf6920.js +1 -0
  750. package/dist/vega/p-acf7f903.js +1 -0
  751. package/dist/vega/p-afec17ad.entry.js +1 -0
  752. package/dist/vega/p-b1f65b13.js +1 -0
  753. package/dist/vega/p-b3f9cc3a.entry.js +13 -0
  754. package/dist/vega/p-b693c1ac.entry.js +1 -0
  755. package/dist/vega/p-b6af0fc1.entry.js +1 -0
  756. package/dist/vega/p-b9e2add4.entry.js +1 -0
  757. package/dist/vega/p-bd894860.entry.js +1 -0
  758. package/dist/vega/p-c0d6a587.entry.js +1 -0
  759. package/dist/vega/p-c1d97d12.entry.js +1 -0
  760. package/dist/vega/p-c26e6820.entry.js +1 -0
  761. package/dist/vega/p-c34487e1.entry.js +1 -0
  762. package/dist/vega/p-c532b132.entry.js +1 -0
  763. package/dist/vega/p-ca2fb711.js +1 -0
  764. package/dist/vega/p-cebf93f1.entry.js +1 -0
  765. package/dist/vega/p-cfdc148a.entry.js +1 -0
  766. package/dist/vega/p-d0351d71.entry.js +1 -0
  767. package/dist/vega/p-d057999f.js +1 -0
  768. package/dist/vega/{p-c7d70786.js → p-d171cf44.js} +1 -1
  769. package/dist/vega/p-d2ab6096.entry.js +1 -0
  770. package/dist/vega/p-d302f052.entry.js +1 -0
  771. package/dist/vega/p-d35643c5.entry.js +1 -0
  772. package/dist/vega/p-d400a1d9.entry.js +1 -0
  773. package/dist/vega/p-d6732a72.entry.js +1 -0
  774. package/dist/vega/p-d720b06a.entry.js +1 -0
  775. package/dist/vega/{p-c59042c0.js → p-d884c644.js} +1 -1
  776. package/dist/vega/p-d987e404.entry.js +1 -0
  777. package/dist/vega/p-d9b86108.entry.js +1 -0
  778. package/dist/vega/p-e0b25eaf.js +1 -0
  779. package/dist/vega/{p-9f3b1d77.js → p-e1e1fcf0.js} +1 -1
  780. package/dist/vega/p-e27e115d.entry.js +1 -0
  781. package/dist/vega/p-e43c2a27.js +1 -0
  782. package/dist/vega/p-e65c8ac7.entry.js +1 -0
  783. package/dist/vega/p-e79057cc.js +1 -0
  784. package/dist/vega/p-e89e9769.entry.js +1 -0
  785. package/dist/vega/{p-781fd6e0.js → p-eac38d87.js} +1 -1
  786. package/dist/vega/p-ecd64c7f.entry.js +1 -0
  787. package/dist/vega/p-ed45b3b6.js +1 -0
  788. package/dist/vega/p-f357cf46.js +1 -0
  789. package/dist/vega/p-f5b2e72a.entry.js +1 -0
  790. package/dist/vega/p-f6af3749.js +1 -0
  791. package/dist/vega/p-f763e2eb.js +1 -0
  792. package/dist/vega/p-fc622a75.js +1 -0
  793. package/dist/vega/vega.esm.js +1 -1
  794. package/package.json +3 -4
  795. package/dist/cjs/dom-node-subject-observer-factory-2e41340d.js +0 -141
  796. package/dist/cjs/global-slimmer-registry-b3bce7e0.js +0 -297
  797. package/dist/cjs/index-40a1cd3a.js +0 -15
  798. package/dist/cjs/index-5792390b.js +0 -1024
  799. package/dist/cjs/observer-f49483e8.js +0 -32
  800. package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +0 -7
  801. package/dist/esm/chevron-down-4303bddb.js +0 -9
  802. package/dist/esm/dom-node-subject-observer-factory-9461cd67.js +0 -138
  803. package/dist/esm/global-slimmer-registry-17c4efd4.js +0 -283
  804. package/dist/esm/index-0830dd1d.js +0 -13
  805. package/dist/esm/index-0863eec6.js +0 -1019
  806. package/dist/esm/observer-3959f9dd.js +0 -30
  807. package/dist/esm/vega-event-id-0f8fc134.js +0 -103
  808. package/dist/vega/p-00d1904d.entry.js +0 -1
  809. package/dist/vega/p-039abd28.entry.js +0 -1
  810. package/dist/vega/p-051fd45b.entry.js +0 -1
  811. package/dist/vega/p-07a8cf89.entry.js +0 -1
  812. package/dist/vega/p-0916da7a.entry.js +0 -1
  813. package/dist/vega/p-0e59c3b7.entry.js +0 -1
  814. package/dist/vega/p-0fe89d42.js +0 -1
  815. package/dist/vega/p-0fecf145.js +0 -1
  816. package/dist/vega/p-105d0265.entry.js +0 -1
  817. package/dist/vega/p-11786565.entry.js +0 -1
  818. package/dist/vega/p-12aa4bd2.entry.js +0 -1
  819. package/dist/vega/p-13d34a23.entry.js +0 -1
  820. package/dist/vega/p-14fc5aed.entry.js +0 -1
  821. package/dist/vega/p-1545a693.entry.js +0 -1
  822. package/dist/vega/p-16bb355d.js +0 -1
  823. package/dist/vega/p-16bfb3cb.entry.js +0 -1
  824. package/dist/vega/p-1c298d5a.js +0 -2
  825. package/dist/vega/p-24d76337.entry.js +0 -1
  826. package/dist/vega/p-2b5ab7f9.entry.js +0 -1
  827. package/dist/vega/p-3154fb6b.entry.js +0 -1
  828. package/dist/vega/p-32f651f7.js +0 -1
  829. package/dist/vega/p-331a62d5.js +0 -1
  830. package/dist/vega/p-3e591b2f.entry.js +0 -1
  831. package/dist/vega/p-4022f395.entry.js +0 -1
  832. package/dist/vega/p-4163c2c2.js +0 -1
  833. package/dist/vega/p-47e665ba.entry.js +0 -1
  834. package/dist/vega/p-4963e445.entry.js +0 -1
  835. package/dist/vega/p-4d25df7d.js +0 -1
  836. package/dist/vega/p-51200fe0.entry.js +0 -1
  837. package/dist/vega/p-535f0758.js +0 -1
  838. package/dist/vega/p-5440344e.js +0 -1
  839. package/dist/vega/p-590870e4.js +0 -1
  840. package/dist/vega/p-5915634b.js +0 -1
  841. package/dist/vega/p-5dd6ff09.entry.js +0 -1
  842. package/dist/vega/p-5fbac513.js +0 -1
  843. package/dist/vega/p-5fe479a1.js +0 -1
  844. package/dist/vega/p-61f6167c.js +0 -1
  845. package/dist/vega/p-6556932e.entry.js +0 -1
  846. package/dist/vega/p-66ffdfdf.entry.js +0 -1
  847. package/dist/vega/p-68ad953c.js +0 -1
  848. package/dist/vega/p-6c6d86da.js +0 -1
  849. package/dist/vega/p-6ca02241.entry.js +0 -13
  850. package/dist/vega/p-6e1ab235.js +0 -1
  851. package/dist/vega/p-7002cde3.entry.js +0 -1
  852. package/dist/vega/p-71939bf8.entry.js +0 -1
  853. package/dist/vega/p-7372cd79.entry.js +0 -1
  854. package/dist/vega/p-7df3aa44.entry.js +0 -1
  855. package/dist/vega/p-810ba5c3.entry.js +0 -1
  856. package/dist/vega/p-83569225.entry.js +0 -1
  857. package/dist/vega/p-84118b6d.entry.js +0 -1
  858. package/dist/vega/p-848825ff.entry.js +0 -1
  859. package/dist/vega/p-84fa8466.js +0 -1
  860. package/dist/vega/p-87640a4d.entry.js +0 -1
  861. package/dist/vega/p-8a091eb7.js +0 -1
  862. package/dist/vega/p-8b084bf9.entry.js +0 -1
  863. package/dist/vega/p-8bd327a8.js +0 -1
  864. package/dist/vega/p-8d23c56b.entry.js +0 -1
  865. package/dist/vega/p-943e89b4.js +0 -1
  866. package/dist/vega/p-94861e39.entry.js +0 -1
  867. package/dist/vega/p-9ba085c1.entry.js +0 -1
  868. package/dist/vega/p-9e9ec748.js +0 -1
  869. package/dist/vega/p-9fbdeada.js +0 -1
  870. package/dist/vega/p-a00122bb.entry.js +0 -1
  871. package/dist/vega/p-a2b4b6c3.entry.js +0 -1
  872. package/dist/vega/p-a7fdb16a.js +0 -1
  873. package/dist/vega/p-acc14aa2.js +0 -1
  874. package/dist/vega/p-ae5751fb.entry.js +0 -1
  875. package/dist/vega/p-af086582.entry.js +0 -1
  876. package/dist/vega/p-b3e754da.entry.js +0 -1
  877. package/dist/vega/p-b4e92130.entry.js +0 -1
  878. package/dist/vega/p-b5990090.js +0 -1
  879. package/dist/vega/p-b5a6f6b9.entry.js +0 -1
  880. package/dist/vega/p-b8e42c11.entry.js +0 -1
  881. package/dist/vega/p-bb6f8b70.entry.js +0 -1
  882. package/dist/vega/p-c1dfdc13.js +0 -1
  883. package/dist/vega/p-c94ddc57.entry.js +0 -1
  884. package/dist/vega/p-d642c011.entry.js +0 -1
  885. package/dist/vega/p-da106a4d.entry.js +0 -1
  886. package/dist/vega/p-db94558e.entry.js +0 -1
  887. package/dist/vega/p-dba59bd7.entry.js +0 -1
  888. package/dist/vega/p-e5cd92f0.entry.js +0 -1
  889. package/dist/vega/p-e5e0394a.entry.js +0 -1
  890. package/dist/vega/p-e74a6d22.entry.js +0 -1
  891. package/dist/vega/p-e828ee94.entry.js +0 -1
  892. package/dist/vega/p-ea285b12.entry.js +0 -1
  893. package/dist/vega/p-ead482e6.entry.js +0 -1
  894. package/dist/vega/p-ec157238.js +0 -1
  895. package/dist/vega/p-eddcb385.entry.js +0 -1
  896. package/dist/vega/p-f2685ec5.entry.js +0 -1
  897. package/dist/vega/p-f404aa83.js +0 -1
  898. package/dist/vega/p-f46c930f.js +0 -1
  899. package/dist/vega/p-f556c3cd.entry.js +0 -1
  900. package/dist/vega/p-f64fb740.entry.js +0 -1
  901. package/dist/vega/p-f7728ead.entry.js +0 -1
  902. package/dist/vega/p-faea1620.js +0 -1
  903. package/dist/vega/p-ffb832b8.entry.js +0 -1
  904. /package/dist/types/{helpers/validator/test/rules/file-uploader-required-rule.test.d.ts → components/vega-rich-text-editor/test/dto/annotation-actions.test.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ import{W as t,A as s,I as e,N as r,a as n,V as i,M as o,b as a,R as h,c,s as u}from"./p-8c26227e.js";import{O as l,d,D as f,V as p}from"./p-a5ffe912.js";import{C as w}from"./p-443ad3b3.js";import{a as m,b as k}from"./p-f357cf46.js";import{h as x}from"./p-9c1eeff2.js";import{g as O}from"./p-3ce31dc3.js";import{i as g}from"./p-b1f65b13.js";import{r as y}from"./p-1995e98e.js";import{c as T}from"./p-86194314.js";const N=async()=>t.handle(),C=async t=>new Promise((s=>{const e=new l(L.bind(null),(()=>{w.unregister(d.getSubject(t,m),e),s(null)}));w.register(d.getSubject(t,m),e)})),L=()=>!0,b=[{key:"black",light:"#111128",dark:"#E3E3E8"},{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"}],E="​";class M{}class A extends M{constructor(){super(...arguments),this.doSplit=!0}}class S extends s{constructor(t){super(),this.type=e.SELECTION_RANGE,this.range=t}}const v=new class{constructor(){this.textNodeElements=new Map}register(t,s){this.textNodeElements.set(t,s)}getTextNodeElements(){return this.textNodeElements}};class j extends r{constructor(t){super(),this.type=n.STRIKETHROUGH,this.strikethrough=t}static from(t){return[n.STRIKETHROUGH,new j(t)]}static fromHTML(t){return this.from(t.style.textDecoration.includes("line-through")||"S"===t.nodeName||t.classList.contains("v-rte--strikethrough"))}toJSON(){return{strikethrough:this.strikethrough}}renderClass(){return this.strikethrough?"v-rte--strikethrough":null}render(){return null}}class D extends r{constructor(t){super(),this.type=n.UNDERLINE,this.underline=t}static from(t){return[n.UNDERLINE,new D(t)]}static fromHTML(t){return this.from(t.style.textDecoration.includes("underline")||"U"===t.nodeName||t.classList.contains("v-rte--underline"))}toJSON(){return{underline:this.underline}}renderClass(){return this.underline?"v-rte--underline":null}render(){return null}}class H extends r{constructor(t){super(),this.type=n.ITALIC,this.italic=t}static from(t){return[n.ITALIC,new H(t)]}static fromHTML(t){return this.from("I"===t.nodeName||"italic"===t.style.fontStyle||"EM"===t.nodeName)}toJSON(){return{italic:this.italic}}render(){return this.italic?{"font-style":"italic"}:null}}class B extends r{constructor(t){super(),this.type=n.BOLD,this.bold=t}static from(t){return[n.BOLD,new B(t)]}static fromHTML(t){const s=t.style;return this.from("STRONG"===t.nodeName||"bold"===s.fontWeight||"700"===s.fontWeight)}toJSON(){return{bold:this.bold}}render(){return this.bold?{"font-weight":"700"}:null}}class I extends s{constructor(){super(...arguments),this.type=e.CLEAR_FORMATTING,this.items=[n.BOLD,n.ITALIC,n.UNDERLINE,n.STRIKETHROUGH,n.TEXT_COLOR,n.CODE]}}class F extends r{constructor(t){super(),this.type=n.CODE,this.code=t}static from(t){return[n.CODE,new F(t)]}static fromHTML(t){return this.from(t.classList.contains("v-rte--code")||"CODE"===t.nodeName)}toJSON(){return{code:this.code}}renderClass(){return this.code?"v-rte--code":null}render(){return null}}class R extends r{constructor(t){super(),this.type=n.TEXT_COLOR,this.textColor=this.formatTextColor(t)}static from(t){return[n.TEXT_COLOR,new R(t)]}static fromHTML(t){var s;const e=null===(s=y(t.style.color))||void 0===s?void 0:s.toUpperCase();if(e){const t=b.find((t=>t.light===e||t.dark===e));return t?this.from(t.key):null}for(const s of b)if(t.style.color.includes(s.key))return this.from(s.key);return null}toJSON(){return{textColor:this.textColor.key}}renderClass(){return null}render(){return{color:i.isDarkMode()?this.textColor.dark:this.textColor.light}}formatTextColor(t){return b.find((s=>s.key===t))||b[0]}}class J extends r{constructor(t){super(),this.type=n.LINK,this.link=t}static from(t){return[n.LINK,new J({href:t.href,groupKey:t.groupKey})]}static fromHTML(t){return t.hasAttribute("data-href")?this.from({href:t.getAttribute("data-href"),groupKey:t.getAttribute("data-group-key")}):null}toJSON(){return{link:{href:this.link.href,groupKey:this.link.groupKey}}}toEqual(t){return this.link.groupKey===t.link.groupKey}render(){return null}}class K extends A{constructor({link:t,newText:s,needMergeNode:e,doSplit:r}){super(),this.isFlushable=!0,this.link=t,this.needMergeNode=e,this.newText=s,g(r)&&(this.doSplit=r)}toAnnotation(){return new J(this.link)}}class U extends A{constructor(t){super(),this.isFlushable=!0,this.code=t}toAnnotation(){return new F(this.code)}}class G extends A{constructor(){super(...arguments),this.isFlushable=!0}toAnnotation(){return new I}}class W extends o{constructor(t){super(),this.type=a.UPDATE_TEXT,this.newTextContent="",this.newTextContent=t}}class _ extends s{constructor(t){super(),this.type=e.LINK_GROUP,this.linkGroups=new Map,this.linkGroups=new Map([[t,[]]])}renderNodes(t,{editable:s}){return this.groupNodesByLink(t).flatMap((t=>{if(this.isLinkGroup(t)){const e=t[0].getAnnotationByType(n.LINK);return s?this.renderLinkEditorWrapper(t,e):this.renderLink(t,e)}return t.render()}))}renderLinkEditorWrapper(t,s){const{href:e}=s.link,r=t.map((t=>t.text)).join(""),i=({detail:s})=>{switch(s.action){case"link":{const{url:e,text:n}=s.payload,i=n!==r,o=O();return void t.forEach((s=>{const r=new K({link:{href:e,groupKey:o},newText:i?n:void 0,needMergeNode:i&&t.length>1,doSplit:!1});s.apply(r)}))}case"unlink":return void t.forEach((t=>t.deleteAnnotationByType(n.LINK)))}};let o;return x("span",{class:"link-editor-wrapper",role:"link",tabIndex:0,onKeyDown:T(),ref:t=>{t&&(o=t)}},this.renderLink(t,s),x("vega-rich-text-link-editor",{record:{text:r,url:e},ref:t=>{t&&(t.target=o,f.addUniqueObserverToNode(t,p,i))}}))}renderLink(t,s){const{href:e}=s.link;return x("a",{class:"v-rte--link",href:e,target:"_blank"},t.map((t=>t.render())))}isLinkGroup(t){return Array.isArray(t)}groupNodesByLink(t){return t.reduce(((t,s)=>{const e=s.getAnnotationByType(n.LINK),r=t[t.length-1];return g(e)?r&&this.isLinkGroup(r)&&r[0].getAnnotationByType(n.LINK).toEqual(e)?r.push(s):t.push([s]):t.push(s),t}),[])}}class V extends M{constructor(t,s){super(),this.isFlushable=!1,this.groupKey=t,this.nodes=s}toAnnotation(){return new _(this.groupKey)}}class X extends M{constructor(){super(),this.isFlushable=!1}toAnnotation(){return null}}class q extends M{constructor(t){super(),this.isFlushable=!0,this.annotationType=t}toAnnotation(){}}class P extends h{constructor(t,s,e,r){super(t,r),this.type=c.TEXT,this.parentBlock=e,this.text=s}static from(t,s){const e=new P(t.id,t.text,s),{annotations:r}=t;return r&&(e.annotationMap=new Map(Object.keys(r).map((t=>(r.link&&s.apply(new V(r.link.groupKey,[e])),this.createAnnotationEntity(t,r[t])))).filter(g))),e}static fromHTML(t,s){const e=new P(O(),t.textContent,s);return t.nodeType!==Node.TEXT_NODE&&(e.annotationMap=new Map(Object.keys(n).map((s=>this.createAnnotationEntityFromHTML(s,t))).filter(g)),t.hasAttribute("data-group-key")&&s.apply(new V(t.getAttribute("data-group-key"),[e]))),e}static createAnnotationEntity(t,s){switch(t){case"bold":return B.from(s);case"italic":return H.from(s);case"underline":return D.from(s);case"strikethrough":return j.from(s);case"code":return F.from(s);case"textColor":return R.from(s);case"link":return J.from(s)}}static createAnnotationEntityFromHTML(t,s){switch(t){case"BOLD":return B.fromHTML(s);case"ITALIC":return H.fromHTML(s);case"UNDERLINE":return D.fromHTML(s);case"STRIKETHROUGH":return j.fromHTML(s);case"CODE":return F.fromHTML(s);case"TEXT_COLOR":return R.fromHTML(s);case"LINK":return J.fromHTML(s)}}toJSON(){const t=Array.from(this.annotationMap.values()).filter((t=>t instanceof r)).reduce(((t,s)=>Object.assign(Object.assign({},t),s.toJSON())),{});return Object.assign(Object.assign({id:this.id},Object.keys(t).length>0?{annotations:t}:{}),{type:"text",text:this.text})}cloneWithText(t){return new P(O(),t,this.parentBlock,new Map(this.annotationMap))}isEmpty(){return!this.text||"​"===this.text||"\n"===this.text}render(){const t=this.annotationMap.get(n.CODE);return x((null==t?void 0:t.code)?"code":"span",{style:this.getStyles(),class:this.getClasses(),ref:this.registerRef.bind(this)},this.text||"​")}doAnnotationActionApply(t){const s=this.getAnnotationByType(e.SELECTION_RANGE);if(t instanceof A&&t.doSplit&&s){const{startContainer:e,endContainer:r,startOffset:n,endOffset:i}=s.range,o=e===r&&n===i;this.parentBlock.nodes=this.parentBlock.nodes.flatMap((e=>e.id===this.id?o?this.insertNewNode(n,t):this.shouldSplitSelection(s.range)?this.splitTextNode(t,s.range):(this.applyActionToNode(this,t),this):e))}else this.applyActionToNode(this,t);this.parentBlock.mergeNodes(t)}doModifyActionApply(t){switch(t.type){case a.UPDATE_TEXT:this.updateText(t.newTextContent);break;case a.REPLACE_SELECTED_TEXT:this.replaceSelectedText(t.textToBeInsert,t.currentRange)}}registerRef(t){if(t){u.register(t,this);const s=this.getAnnotationByType("TEXT_COLOR");s&&v.register(t,s)}}splitTextNode(t,s){const{startContainer:e,endContainer:r,startOffset:n}=s,i=e.parentElement,o=r.parentElement,a=(t,s,e)=>{const r=t.substring(0,s),n=t.substring(s,e),i=t.substring(e);return[this.cloneWithText(r),this.cloneWithText(n),this.cloneWithText(i)]},h=i&&u.getEntityByDOM(i),c=o&&u.getEntityByDOM(o);if(h&&h.id===this.id){const i=e===r?s.endOffset:this.text.length,[o,h,c]=a(this.text,n,i);return this.applyActionToNode(h,t),[o,h,c].filter((t=>!!t.text))}if(c&&c.id===this.id){const[e,r,n]=a(this.text,0,s.endOffset);return this.applyActionToNode(r,t),[e,r,n].filter((t=>!!t.text))}return this.applyActionToNode(this,t),this}applyActionToNode(t,s){const e=s.toAnnotation();if(s instanceof X)this.syncUpSelectedNodes(t);else if(e instanceof S||this.syncUpSelectedNodes(t),s instanceof q)this.annotationMap.delete(s.annotationType);else{if(!(e instanceof I))return e instanceof r||e instanceof S?(s instanceof K&&(g(s.newText)&&(t.text=s.newText),this.parentBlock.apply(new V(s.link.groupKey,[t]))),s instanceof U&&this.applyActionToNode(t,new G),void t.annotationMap.set(e.type,e)):void 0;e.items.forEach((s=>{t.deleteAnnotationByType(s)}))}}replaceSelectedText(t,s){if(s&&s.startContainer&&s.endContainer){const{startContainer:e,endContainer:r,startOffset:n,endOffset:i}=s,o=e.parentElement,a=r.parentElement,h=o&&u.getEntityByDOM(o),c=a&&u.getEntityByDOM(a);let l=0,d=this.text.length;h&&h===this?(l=n,d=e===r?i:d):c&&c===this&&(d=i),this.apply(new W(this.text.slice(0,l)+t+this.text.slice(d)))}}updateText(t){this.text=t,!this.text&&this.isLinkNode()&&this.annotationMap.delete(n.LINK)}isLinkNode(){return this.annotationMap.has("LINK")}shouldSplitSelection(t){const{startContainer:s,endContainer:e,startOffset:r,endOffset:n}=t;return s!==e||r>0||n<(e.textContent?e.textContent.length:0)}syncUpSelectedNodes(t){const s=u.getDOMByEntity(this);if(s){const e=d.getSubjectFromParentNodeByEventId(s,k);e&&w.notify(e,{node:t})}}insertNewNode(t,s){if(0===t){const t=this.cloneWithText("");return this.applyActionToNode(t,s),[t,this]}if(t===this.text.length){const t=this.cloneWithText("");return this.applyActionToNode(t,s),[this,t]}const e=this.cloneWithText(this.text.substring(0,t)),r=this.cloneWithText(""),n=this.cloneWithText(this.text.substring(t));return this.applyActionToNode(r,s),[e,r,n]}}export{M as A,B,G as C,q as D,H as I,K as L,P as R,X as S,A as T,W as U,E as Z,V as a,C as b,R as c,b as d,D as e,U as f,j as g,S as h,v as i,N as w}
@@ -0,0 +1 @@
1
+ import{r as t,e as r,h as a,H as e,g as o,I as i}from"./p-9c1eeff2.js";import{s as n}from"./p-296cc56b.js";import{i as c}from"./p-3f1b542a.js";import{C as v}from"./p-443ad3b3.js";import{F as s,a as l}from"./p-d057999f.js";import{V as b,I as d}from"./p-8f93242a.js";import{c as g}from"./p-11cb477b.js";import{b as p}from"./p-a5ffe912.js";import{C as x}from"./p-39836361.js";import"./p-b1f65b13.js";import"./p-ed45b3b6.js";import"./p-74168615.js";import"./p-3a0a4d15.js";import"./p-d884c644.js";import"./p-62774231.js";import"./p-4bcd6612.js";import"./p-262ec334.js";import"./p-0c667d6a.js";import"./p-e79057cc.js";import"./p-59bdf9b8.js";import"./p-f763e2eb.js";import"./p-1995e98e.js";import"./p-5f377954.js";import"./p-acf7f903.js";import"./p-7a40e033.js";import"./p-112455b1.js";const h=[{payloadKey:"VARIANT_IS_PRIMARY",payloadDescription:"The circular button is rendered with the bg-action background color, which typically signifies a primary or important action",payloadValue:t=>"primary"===t.variant},{payloadKey:"VARIANT_IS_SECONDARY",payloadDescription:"The circular button is rendered with a transparent background and an action border color. This variant is often used for secondary or less prominent actions",payloadValue:t=>"secondary"===t.variant},{payloadKey:"VARIANT_IS_ICON_ONLY",payloadDescription:"The circular button is rendered with an icon displayed in the default state, and the circle background appears when hovering over the button",payloadValue:t=>"icon-only"===t.variant}];var u=function(t,r,a,e){var o,i=arguments.length,n=i<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,r,a,e);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(n=(i<3?o(n):i>3?o(r,a,n):o(r,a))||n);return i>3&&n&&Object.defineProperty(r,a,n),n};const y=class{constructor(a){t(this,a),this.vegaClick=r(this,"vegaClick",7),this.click=r(this,"click",7),this.globalSlimmers={},this.clickEventEmitter=g(y,p),this.eventPrevent=new x([p],(()=>this.host),{useCapture:!0,customPreventHandle:t=>{this.disabled&&t.stopImmediatePropagation()}}),this.vegaComponentUsageRuntimeMetricsSlimmer=new b(h),this.size="default",this.variant="primary",this.disabled=!1,this.danger=!1,this.type="button",this.iconColor="text-primary",this.showTooltip=!0,this.handleClick=t=>{this.disabled?t.preventDefault():(["submit","reset"].includes(this.type)&&v.notify("submit"===this.type?s:l,{host:this.host}),this.clickEventEmitter.emit(void 0,t))}}componentWillLoad(){this.host.innerHTML=""}render(){var t;return n(a(e,null,a("vega-tooltip",{text:this.label,trigger:this.label&&this.showTooltip&&!this.disabled?"hover":"none",disableInteractive:null===(t=this.tooltip)||void 0===t?void 0:t.disableInteractive},this.renderButton())),this.host)}renderButton(){var t;return a("button",{type:this.type,"aria-label":(null===(t=this.label)||void 0===t?void 0:t.trim())||"No label defined",class:{[`vega-button-circle-size-${this.size}`]:!0,[`vega-button-circle-variant-${this.variant}`]:!0,"vega-button-circle-danger":this.danger,"vega-button-circle-disabled":this.disabled,[`${c(this.iconColor)}`]:"icon-only"==this.variant},onClick:this.handleClick,disabled:this.disabled,part:"button"},this.renderContent())}renderContent(){return a("vega-icon",{icon:this.icon,size:this.getIconSize(this.size),part:"icon"})}getIconSize(t){switch(t){case"large":return"size-24";case"extra-small":return"size-12";default:return"size-16"}}get host(){return o(this)}};u([d()],y.prototype,"globalSlimmers",void 0),u([i()],y.prototype,"clickEventEmitter",void 0),u([i()],y.prototype,"eventPrevent",void 0),u([i()],y.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),y.style=":host(.v-text-primary),.v-text-primary{color:rgba(var(--v-text-primary, 32, 54, 69, 1))}:host(.v-text-secondary),.v-text-secondary{color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}:host(.v-text-inverted-primary),.v-text-inverted-primary{color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1))}:host(.v-text-inverted-secondary),.v-text-inverted-secondary{color:rgba(var(--v-text-inverted-secondary, 188, 186, 213, 1))}:host(.v-text-black),.v-text-black{color:rgba(var(--v-text-black, 32, 54, 69, 1))}:host(.v-text-white),.v-text-white{color:rgba(var(--v-text-white, 252, 252, 252, 1))}:host(.v-text-brand),.v-text-brand{color:rgba(var(--v-text-brand, 51, 57, 61, 1))}:host(.v-text-danger-link),.v-text-danger-link{color:rgba(var(--v-text-danger-link, 230, 50, 87, 1))}:host(.v-text-danger-link-hover),.v-text-danger-link-hover{color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}:host(.v-text-danger-link-active),.v-text-danger-link-active{color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1))}:host(.v-text-danger-link-focus),.v-text-danger-link-focus{color:rgba(var(--v-text-danger-link-focus, 240, 52, 91, 1))}:host(.v-text-danger-link-visited),.v-text-danger-link-visited{color:rgba(var(--v-text-danger-link-visited, 230, 50, 87, 1))}:host(.v-text-disabled),.v-text-disabled{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host(.v-text-error),.v-text-error{color:rgba(var(--v-text-error, 189, 41, 71, 1))}:host(.v-text-input-disabled),.v-text-input-disabled{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1))}:host(.v-text-input-placeholder),.v-text-input-placeholder{color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}:host(.v-text-link),.v-text-link{color:rgba(var(--v-text-link, 19, 98, 226, 1))}:host(.v-text-link-hover),.v-text-link-hover{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}:host(.v-text-link-active),.v-text-link-active{color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}:host(.v-text-link-focus),.v-text-link-focus{color:rgba(var(--v-text-link-focus, 4, 112, 236, 1))}:host(.v-text-link-visited),.v-text-link-visited{color:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}:host(.v-text-on-action),.v-text-on-action{color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}:host(.v-text-on-danger),.v-text-on-danger{color:rgba(var(--v-text-on-danger, 252, 252, 252, 1))}:host(.v-text-on-disabled),.v-text-on-disabled{color:rgba(var(--v-text-on-disabled, 252, 252, 252, 1))}:host(.v-text-sidebar-link),.v-text-sidebar-link{color:rgba(var(--v-text-sidebar-link, 188, 186, 213, 1))}:host(.v-text-sidebar-link-hover),.v-text-sidebar-link-hover{color:rgba(var(--v-text-sidebar-link-hover, 18, 18, 39, 1))}:host(.v-text-sidebar-link-selected),.v-text-sidebar-link-selected{color:rgba(var(--v-text-sidebar-link-selected, 252, 252, 252, 1))}:host(.v-text-site-footer-link),.v-text-site-footer-link{color:rgba(var(--v-text-site-footer-link, 171, 198, 216, 1))}:host(.v-text-site-footer-link-hover),.v-text-site-footer-link-hover{color:rgba(var(--v-text-site-footer-link-hover, 199, 217, 229, 1))}:host(.v-text-site-footer-link-active),.v-text-site-footer-link-active{color:rgba(var(--v-text-site-footer-link-active, 143, 179, 203, 1))}:host(.v-text-success),.v-text-success{color:rgba(var(--v-text-success, 1, 128, 31, 1))}:host(.v-text-inverted-success),.v-text-inverted-success{color:rgba(var(--v-text-inverted-success, 89, 217, 119, 1))}:host(.v-text-accent1-primary),.v-text-accent1-primary{color:rgba(var(--v-text-accent1-primary, 115, 230, 220, 1))}:host(.v-text-accent2-primary),.v-text-accent2-primary{color:rgba(var(--v-text-accent2-primary, 128, 107, 255, 1))}:host(.v-text-accent3-primary),.v-text-accent3-primary{color:rgba(var(--v-text-accent3-primary, 255, 220, 131, 1))}:host(.v-text-accent4-primary),.v-text-accent4-primary{color:rgba(var(--v-text-accent4-primary, 255, 149, 113, 1))}:host(.v-text-accent5-primary),.v-text-accent5-primary{color:rgba(var(--v-text-accent5-primary, 0, 187, 255, 1))}:host(.v-text-accent6-primary),.v-text-accent6-primary{color:rgba(var(--v-text-accent6-primary, 240, 52, 91, 1))}:host(.v-text-accent7-primary),.v-text-accent7-primary{color:rgba(var(--v-text-accent7-primary, 37, 159, 159, 1))}:host(.v-text-accent8-primary),.v-text-accent8-primary{color:rgba(var(--v-text-accent8-primary, 86, 61, 130, 1))}:host(.v-text-accent9-primary),.v-text-accent9-primary{color:rgba(var(--v-text-accent9-primary, 255, 191, 63, 1))}:host(.v-text-accent10-primary),.v-text-accent10-primary{color:rgba(var(--v-text-accent10-primary, 237, 122, 35, 1))}:host{display:inline-block;border-radius:9999px}:host vega-tooltip{border-radius:9999px}button{border-radius:9999px;cursor:pointer;outline:2px solid transparent;outline-offset:2px;line-height:normal}button:focus{outline:none}.vega-button-circle-size-extra-small{width:24px;height:24px;padding:6px}.vega-button-circle-size-extra-small vega-icon{vertical-align:top}.vega-button-circle-size-small{width:32px;height:32px;padding:8px}.vega-button-circle-size-default{width:40px;height:40px;padding:12px}.vega-button-circle-size-large{width:56px;height:56px;padding:16px}.vega-button-circle-size-extra-small.vega-button-circle-variant-secondary{padding:4px}.vega-button-circle-size-small.vega-button-circle-variant-secondary{padding:6px}.vega-button-circle-size-default.vega-button-circle-variant-secondary{padding:10px}.vega-button-circle-size-large.vega-button-circle-variant-secondary{padding:14px}.vega-button-circle-variant-primary{border-width:0px;background-color:rgba(var(--v-bg-action, 19, 98, 226, 1));color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1))}.vega-button-circle-variant-primary:hover{background-color:rgba(var(--v-bg-action-hover, 4, 112, 236, 1))}.vega-button-circle-variant-primary:active{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1))}.vega-button-circle-variant-primary:focus-visible{background-color:rgba(var(--v-bg-action-focus, 19, 98, 226, 1));box-shadow:0 0 0 4px rgba(var(--v-ring-action-focus, 19, 98, 226, 0.25))}.vega-button-circle-variant-secondary{border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1));background-color:rgba(var(--v-bg-action-secondary, 252, 252, 252, 1));color:rgba(var(--v-text-link, 19, 98, 226, 1))}.vega-button-circle-variant-secondary:hover{border:2px solid rgba(var(--v-border-secondary-btn-hover, 4, 112, 236, 1));background-color:rgba(var(--v-bg-action-secondary-hover, 4, 112, 236, 0.1));color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}.vega-button-circle-variant-secondary:active{border:2px solid rgba(var(--v-border-secondary-btn-active, 29, 65, 195, 1));color:rgba(var(--v-text-link-active, 29, 65, 195, 1));background-color:rgba(var(--v-bg-action-secondary-active, 29, 65, 195, 0.1))}.vega-button-circle-variant-secondary:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-action-focus, 19, 98, 226, 0.25))}.vega-button-circle-variant-icon-only{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));border-width:0px}.vega-button-circle-variant-icon-only:hover{background-color:rgba(var(--v-bg-action-tertiary-hover, 4, 4, 28, 0.05))}.vega-button-circle-variant-icon-only:active{background-color:rgba(var(--v-bg-action-tertiary-active, 4, 4, 28, 0.1))}.vega-button-circle-variant-icon-only:focus-visible{background-color:rgba(var(--v-bg-action-tertiary, 0, 0, 0, 0));box-shadow:0 0 0 4px rgba(var(--v-ring-action-focus, 19, 98, 226, 0.25))}.vega-button-circle-variant-primary.vega-button-circle-danger{background-color:rgba(var(--v-bg-danger, 189, 41, 71, 1))}.vega-button-circle-variant-primary.vega-button-circle-danger:hover{background-color:rgba(var(--v-bg-danger-hover, 233, 71, 104, 1))}.vega-button-circle-variant-primary.vega-button-circle-danger:active{background-color:rgba(var(--v-bg-danger-active, 230, 50, 87, 1))}.vega-button-circle-variant-primary.vega-button-circle-danger:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-action-danger-focus, 230, 50, 87, 0.25))}.vega-button-circle-variant-secondary.vega-button-circle-danger{border:2px solid rgba(var(--v-border-secondary-danger-btn, 230, 50, 87, 1));color:rgba(var(--v-text-danger-link, 230, 50, 87, 1));background-color:rgba(var(--v-bg-action-secondary, 252, 252, 252, 1))}.vega-button-circle-variant-secondary.vega-button-circle-danger:hover{border:2px solid rgba(var(--v-border-secondary-danger-btn-hover, 255, 87, 114, 1));background-color:rgba(var(--v-bg-danger-tertiary-hover, 255, 87, 114, 0.2));color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}.vega-button-circle-variant-secondary.vega-button-circle-danger:active{border:2px solid rgba(var(--v-border-secondary-danger-btn-active, 189, 41, 71, 1));color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1));background-color:rgba(var(--v-bg-danger-tertiary-active, 189, 41, 71, 0.2))}.vega-button-circle-variant-secondary.vega-button-circle-danger:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-action-danger-focus, 230, 50, 87, 0.25))}.vega-button-circle-variant-icon-only.vega-button-circle-danger{color:rgba(var(--v-text-danger-link, 230, 50, 87, 1))}.vega-button-circle-variant-icon-only.vega-button-circle-danger:hover{background-color:rgba(var(--v-bg-danger-tertiary-hover, 255, 87, 114, 0.2));color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}.vega-button-circle-variant-icon-only.vega-button-circle-danger:active{background-color:rgba(var(--v-bg-danger-tertiary-active, 189, 41, 71, 0.2));color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1))}.vega-button-circle-variant-icon-only.vega-button-circle-danger:focus-visible{background-color:rgba(var(--v-bg-danger-tertiary, 0, 0, 0, 0));box-shadow:0 0 0 4px rgba(var(--v-ring-action-danger-focus, 230, 50, 87, 0.25))}.vega-button-circle-disabled{pointer-events:none}.vega-button-circle-disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0))}.vega-button-circle-variant-primary.vega-button-circle-disabled{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1))}.vega-button-circle-variant-secondary.vega-button-circle-disabled{background-color:rgba(var(--v-bg-action-secondary, 252, 252, 252, 1));color:rgba(var(--v-text-disabled, 176, 180, 181, 1));border:2px solid rgba(var(--v-border-secondary-btn-disabled, 176, 180, 181, 1))}.vega-button-circle-variant-icon-only.vega-button-circle-disabled{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));color:rgba(var(--v-text-disabled, 176, 180, 181, 1));border-width:0px}.vega-button-circle-disabled:focus{box-shadow:unset !important}";export{y as vega_button_circle}
@@ -1 +1 @@
1
- import{M as t}from"./p-9fbdeada.js";import{c as s,V as i}from"./p-6e1ab235.js";class h{constructor(t){this.insertMode=!0,this.maskConfig=t,this.slotRegex=new RegExp(t.slot),this.acceptRegex=new RegExp(t.accept,"g"),this.insertMode=!1!==t.insertMode}format(s,i){if(s.length>this.getLengthLimit()&&t(i)){const t=[...s],h=s.length-this.getLengthLimit();return t.splice(i-h,h),t.join("")}return this.replaceMaskWithMatchedInputSlots(s,this.getMatchedInputSlotValue(s))}calculateCaretPosition(s,i){if(!t(i))return null;if(s.length>this.getLengthLimit())return i-(s.length-this.getLengthLimit());const h=s.substring(0,i);return i+(this.format(h).length-h.length)}shouldOverrideComponentValueAfterBlur(){return!(!this.maskConfig||!0!==this.maskConfig.overrideValue)}shouldTriggerAtInit(){return!(!this.maskConfig||!0!==this.maskConfig.triggerAtInit)}getLengthLimit(){return this.maskConfig.mask.length}getMatchedInputSlotValue(t){return t.match(this.acceptRegex)||[]}replaceMaskWithMatchedInputSlots(t,s){const i=[];let h=-1;for(let e=0;e<this.maskConfig.mask.length;e++){const n=this.maskConfig.mask.charAt(e);if(this.slotRegex.test(n)&&s.length){const t=s.shift();t&&(i.push(t),h=e)}else this.insertMode||s.shift(),t.charAt(e)===n&&(h=e),i.push(n)}const e=this.insertMode?h+1:t.length;return i.join("").slice(0,e)}}h.PHONE_MASK=new h({mask:"(999) 999-9999",slot:"9",accept:/\d/g}),h.ZIPCODE_MASK=new h({mask:"99999",slot:"9",accept:/\d/g}),h.TAX_ID_MASK=new h({mask:"99-9999999",slot:"9",accept:/\d/g});class e extends i{constructor(){super(...arguments),this.inputFlag=!0,this.blurFlag=!0,this.onFocus=t=>{if(this.host&&this.host.value){const s=this.host.value;t.target.value!==s&&(this.inputElement.value=s)}},this.onBlur=t=>{if(this.blurFlag=!1,this.blurFormatStrategy){const s=t.target.value,i=this.blurFormatStrategy.format(s);this.updateInputValue(s,i),this.host&&this.blurFormatStrategy.shouldOverrideComponentValueAfterBlur&&this.blurFormatStrategy.shouldOverrideComponentValueAfterBlur()&&(this.host.value=i)}},this.onKeyDown=t=>{this.inputFlag=!1;const s=t.target,i=s.value,h=s.selectionStart;if(this.inputFormatStrategy){const s=this.inputFormatStrategy.format(i,"insertFromPaste"===t.inputType?null:h);this.updateInputValue(i,s),this.updateInputCaretPosition(i,h)}},this.onPaste=t=>{this.disableCopyPaste&&t.preventDefault()}}setup(){this.destroy();const t=this.getInputElementRef();t&&(this.inputElement=t,this.inputFormatStrategy=this.getInputModeStrategy(),this.blurFormatStrategy=this.getBlurModeStrategy(),this.onInit(),this.inputFormatStrategy&&(this.inputElement.addEventListener("input",this.onKeyDown,{capture:!0}),this.inputElement.addEventListener("paste",this.onPaste,{capture:!0})),this.blurFormatStrategy&&(this.inputElement.addEventListener("blur",this.onBlur,{capture:!0}),this.inputElement.addEventListener("focus",this.onFocus,{capture:!0})))}destroy(){this.inputElement&&(this.inputFormatStrategy&&(this.inputElement.removeEventListener("input",this.onKeyDown,{capture:!0}),this.inputElement.removeEventListener("paste",this.onPaste,{capture:!0})),this.blurFormatStrategy&&(this.inputElement.removeEventListener("blur",this.onBlur,{capture:!0}),this.inputElement.removeEventListener("focus",this.onFocus,{capture:!0})))}onInit(){var t,s,i,h;(null===(s=null===(t=this.inputFormatStrategy)||void 0===t?void 0:t.shouldTriggerAtInit)||void 0===s?void 0:s.call(t))&&!this.isOnFocus()&&this.inputFlag&&(this.inputFlag=!1,this.updateInputValueOnInit("input")),(null===(h=null===(i=this.blurFormatStrategy)||void 0===i?void 0:i.shouldTriggerAtInit)||void 0===h?void 0:h.call(i))&&!this.isOnFocus()&&this.blurFlag&&(this.blurFlag=!1,this.updateInputValueOnInit("blur"))}isOnFocus(){return this.inputElement.matches(":focus")}updateInputValue(t,s){s!==t&&(this.inputElement.value=s)}updateInputCaretPosition(s,i){var h,e,n;const o=null!==(n=null===(e=(h=this.inputFormatStrategy).calculateCaretPosition)||void 0===e?void 0:e.call(h,s,i))&&void 0!==n?n:i;t(o)&&this.inputElement.setSelectionRange(o,o)}updateInputValueOnInit(t){const s=this.inputElement.value,i="input"===t?this.inputFormatStrategy.format(s):this.blurFormatStrategy.format(s);this.updateInputValue(s,i),"input"===t&&(this.host.value=i)}}!function(t,s,i,h){var e,n=arguments.length,o=n<3?s:null===h?h=Object.getOwnPropertyDescriptor(s,i):h;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,i,h);else for(var r=t.length-1;r>=0;r--)(e=t[r])&&(o=(n<3?e(o):n>3?e(s,i,o):e(s,i))||o);n>3&&o&&Object.defineProperty(s,i,o)}([s()],e.prototype,"host",void 0);export{e as S,h as a}
1
+ import{i as t}from"./p-b1f65b13.js";import{d as s,V as i}from"./p-9c1eeff2.js";class h{constructor(t){this.insertMode=!0,this.maskConfig=t,this.slotRegex=new RegExp(t.slot),this.acceptRegex=new RegExp(t.accept,"g"),this.insertMode=!1!==t.insertMode}format(s,i){if(s.length>this.getLengthLimit()&&t(i)){const t=[...s],h=s.length-this.getLengthLimit();return t.splice(i-h,h),t.join("")}return this.replaceMaskWithMatchedInputSlots(s,this.getMatchedInputSlotValue(s))}calculateCaretPosition(s,i){if(!t(i))return null;if(s.length>this.getLengthLimit())return i-(s.length-this.getLengthLimit());const h=s.substring(0,i);return i+(this.format(h).length-h.length)}shouldOverrideComponentValueAfterBlur(){return!(!this.maskConfig||!0!==this.maskConfig.overrideValue)}shouldTriggerAtInit(){return!(!this.maskConfig||!0!==this.maskConfig.triggerAtInit)}getLengthLimit(){return this.maskConfig.mask.length}getMatchedInputSlotValue(t){return t.match(this.acceptRegex)||[]}replaceMaskWithMatchedInputSlots(t,s){const i=[];let h=-1;for(let e=0;e<this.maskConfig.mask.length;e++){const n=this.maskConfig.mask.charAt(e);if(this.slotRegex.test(n)&&s.length){const t=s.shift();t&&(i.push(t),h=e)}else this.insertMode||s.shift(),t.charAt(e)===n&&(h=e),i.push(n)}const e=this.insertMode?h+1:t.length;return i.join("").slice(0,e)}}h.PHONE_MASK=new h({mask:"(999) 999-9999",slot:"9",accept:/\d/g}),h.ZIPCODE_MASK=new h({mask:"99999",slot:"9",accept:/\d/g}),h.TAX_ID_MASK=new h({mask:"99-9999999",slot:"9",accept:/\d/g});class e extends i{constructor(){super(...arguments),this.inputFlag=!0,this.blurFlag=!0,this.onFocus=t=>{if(this.host&&this.host.value){const s=this.host.value;t.target.value!==s&&(this.inputElement.value=s)}},this.onBlur=t=>{if(this.blurFlag=!1,this.blurFormatStrategy){const s=t.target.value,i=this.blurFormatStrategy.format(s);this.updateInputValue(s,i),this.host&&this.blurFormatStrategy.shouldOverrideComponentValueAfterBlur&&this.blurFormatStrategy.shouldOverrideComponentValueAfterBlur()&&(this.host.value=i)}},this.onKeyDown=t=>{this.inputFlag=!1;const s=t.target,i=s.value,h=s.selectionStart;if(this.inputFormatStrategy){const s=this.inputFormatStrategy.format(i,"insertFromPaste"===t.inputType?null:h);this.updateInputValue(i,s),this.updateInputCaretPosition(i,h)}},this.onPaste=t=>{this.disableCopyPaste&&t.preventDefault()}}setup(){this.destroy();const t=this.getInputElementRef();t&&(this.inputElement=t,this.inputFormatStrategy=this.getInputModeStrategy(),this.blurFormatStrategy=this.getBlurModeStrategy(),this.onInit(),this.inputFormatStrategy&&(this.inputElement.addEventListener("input",this.onKeyDown,{capture:!0}),this.inputElement.addEventListener("paste",this.onPaste,{capture:!0})),this.blurFormatStrategy&&(this.inputElement.addEventListener("blur",this.onBlur,{capture:!0}),this.inputElement.addEventListener("focus",this.onFocus,{capture:!0})))}destroy(){this.inputElement&&(this.inputFormatStrategy&&(this.inputElement.removeEventListener("input",this.onKeyDown,{capture:!0}),this.inputElement.removeEventListener("paste",this.onPaste,{capture:!0})),this.blurFormatStrategy&&(this.inputElement.removeEventListener("blur",this.onBlur,{capture:!0}),this.inputElement.removeEventListener("focus",this.onFocus,{capture:!0})))}onInit(){var t,s,i,h;(null===(s=null===(t=this.inputFormatStrategy)||void 0===t?void 0:t.shouldTriggerAtInit)||void 0===s?void 0:s.call(t))&&!this.isOnFocus()&&this.inputFlag&&(this.inputFlag=!1,this.updateInputValueOnInit("input")),(null===(h=null===(i=this.blurFormatStrategy)||void 0===i?void 0:i.shouldTriggerAtInit)||void 0===h?void 0:h.call(i))&&!this.isOnFocus()&&this.blurFlag&&(this.blurFlag=!1,this.updateInputValueOnInit("blur"))}isOnFocus(){return this.inputElement.matches(":focus")}updateInputValue(t,s){s!==t&&(this.inputElement.value=s)}updateInputCaretPosition(s,i){var h,e,n;const o=null!==(n=null===(e=(h=this.inputFormatStrategy).calculateCaretPosition)||void 0===e?void 0:e.call(h,s,i))&&void 0!==n?n:i;t(o)&&this.inputElement.setSelectionRange(o,o)}updateInputValueOnInit(t){const s=this.inputElement.value,i="input"===t?this.inputFormatStrategy.format(s):this.blurFormatStrategy.format(s);this.updateInputValue(s,i),"input"===t&&(this.host.value=i)}}!function(t,s,i,h){var e,n=arguments.length,o=n<3?s:null===h?h=Object.getOwnPropertyDescriptor(s,i):h;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,i,h);else for(var r=t.length-1;r>=0;r--)(e=t[r])&&(o=(n<3?e(o):n>3?e(s,i,o):e(s,i))||o);n>3&&o&&Object.defineProperty(s,i,o)}([s()],e.prototype,"host",void 0);export{e as S,h as a}
@@ -0,0 +1 @@
1
+ import{d as e,V as t,h as i,M as s,r as o,e as r,H as n,g as a,I as l}from"./p-9c1eeff2.js";import{s as c}from"./p-296cc56b.js";import{V as h,I as d}from"./p-8f93242a.js";import{c as p}from"./p-86194314.js";import{c as f}from"./p-11cb477b.js";import{O as v,d as g,V as b}from"./p-a5ffe912.js";import{C as x}from"./p-443ad3b3.js";import{S as m,C as u,R as w,b as y}from"./p-d057999f.js";import{S as j}from"./p-e0b25eaf.js";import{c as k}from"./p-f357cf46.js";import{f as R}from"./p-1995e98e.js";import{C}from"./p-39836361.js";import{C as S}from"./p-f6af3749.js";import{c as z}from"./p-a6104aa7.js";import{F as I}from"./p-4c41dd64.js";import{R as O}from"./p-3152031c.js";import"./p-59bdf9b8.js";import"./p-f763e2eb.js";import"./p-5f377954.js";import"./p-acf7f903.js";import"./p-7a40e033.js";import"./p-112455b1.js";import"./p-0bb29d98.js";import"./p-3ce31dc3.js";import"./p-e1e1fcf0.js";import"./p-70151c27.js";import"./p-4bcd6612.js";import"./p-74168615.js";import"./p-ed45b3b6.js";import"./p-843a0c1c.js";import"./p-a9354a5c.js";import"./p-b0502d01.js";import"./p-262ec334.js";var T=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class V extends t{getSelectorContainerRef(){return this.selectorContainerRef}render(){return i("vega-flex",{"align-items":"start","justify-content":"start",gap:"size-16",class:{"selection-tile":!0,disabled:this.disabled,checked:this.checked,error:this.showError},"aria-label":this.titleText||"No label defined",tabIndex:this.disabled?-1:0,onClick:()=>{"radio"===this.selectType&&this.checked||this.checkedController.onCheck(!this.checked)},onKeyDown:p()},i("div",{class:"vega-flex-grow"},this.renderContent()),this.renderSelect())}renderContent(){return this.hasContentSlot()?i("slot",{name:"content"}):i("vega-flex",{gap:"size-12"},i("vega-flex",{class:"vega-flex-shrink-0"},this.renderPrefixIcon()),i("div",{class:"vega-flex-grow"},this.renderText()))}renderPrefixIcon(){return this.hasPrefixSlot()?i("slot",{name:"prefix"}):this.prefixIcon?i("vega-icon",{icon:this.prefixIcon,size:"size-16",color:this.disabled?"text-secondary":"text-primary",class:"selection-tile-icon"}):void 0}renderText(){return i("vega-flex",{class:"vega-flex-grow",direction:"col","align-items":"start","justify-content":"start"},i("div",{class:"selection-tile-title"},this.titleText),this.note&&i("div",{class:"selection-tile-note"},this.note))}renderSelect(){return i("vega-flex",{"align-items":"start",class:"vega-flex-shrink-0 selection-tile-select",ref:e=>this.selectorContainerRef=e},"checkbox"===this.selectType?this.renderCheckbox():this.renderRadio())}renderCheckbox(){return i("vega-checkbox",{size:"small",disabled:this.disabled,checked:this.checked})}renderRadio(){return i("vega-radio",{size:"small",disabled:this.disabled,checked:this.checked})}hasPrefixSlot(){return null!==this.host.querySelector("[slot=prefix]")}hasContentSlot(){return null!==this.host.querySelector("[slot=content]")}}T([e()],V.prototype,"host",void 0),T([e()],V.prototype,"prefixIcon",void 0),T([e()],V.prototype,"titleText",void 0),T([e()],V.prototype,"note",void 0),T([e()],V.prototype,"selectType",void 0),T([e()],V.prototype,"disabled",void 0),T([e()],V.prototype,"checked",void 0),T([e()],V.prototype,"showError",void 0),T([e()],V.prototype,"checkedController",void 0);var E=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class N extends t{setChecked(e){this.checked=e}onCheck(e){const t=e?this.value:"";this.checked=e,this.changeEventEmitter.emit(t),x.notify(m,{host:this.host,detail:{checked:e,value:this.value}})}}E([e()],N.prototype,"host",void 0),E([e({writable:!0})],N.prototype,"checked",void 0),E([e()],N.prototype,"changeEventEmitter",void 0),E([e()],N.prototype,"value",void 0);var A=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class F extends j{constructor(){super({parent:"vega-selection-tile-group",subStates:[{subStateName:"selectType",parentStateName:"selectType"},{subStateName:"disabled",parentStateName:"disabled",callback:e=>{"boolean"==typeof e&&(this.disabled=e)}},{subStateName:"checked",parentStateName:"value",callback:e=>{this.checkedController.setChecked(Array.isArray(e)?e.includes(this.value):e===this.value)}}]})}}A([e()],F.prototype,"host",void 0),A([e({writable:!0})],F.prototype,"selectType",void 0),A([e({writable:!0})],F.prototype,"disabled",void 0),A([e()],F.prototype,"checked",void 0),A([e()],F.prototype,"value",void 0),A([e()],F.prototype,"checkedController",void 0);var q=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class G extends t{connectedCallback(){this.selectionTileGroup=R(this.host,"vega-selection-tile-group"),this.fieldErrorObserver=new v(this.canAcceptFieldErrorObserver.bind(this),this.fieldErrorObserverListener.bind(this)),x.register(g.getSubject(this.selectionTileGroup||this.host,k),this.fieldErrorObserver)}disconnectedCallback(){x.unregister(g.getSubject(this.selectionTileGroup,k),this.fieldErrorObserver)}canAcceptFieldErrorObserver(){return!0}fieldErrorObserverListener(e){this.showError=e.showError}}q([e({writable:!0})],G.prototype,"showError",void 0),q([e()],G.prototype,"host",void 0),q([s("connectedCallback")],G.prototype,"connectedCallback",null),q([s("disconnectedCallback")],G.prototype,"disconnectedCallback",null);var _=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};const D=class{constructor(e){o(this,e),this.vegaChange=r(this,"vegaChange",7),this.change=r(this,"change",7),this.globalSlimmers={},this.renderer=new V,this.checkedController=new N,this.stateController=new F,this.showErrorController=new G,this.changeEventEmitter=f(D,b),this.checkboxEventPrevent=new C([b],(()=>this.renderer.getSelectorContainerRef())),this.checkboxValueChangeObserver=new S(u,(e=>this.checkedController.onCheck(e.detail))),this.radioValueChangeObserver=new S(w,(e=>{e.detail&&this.checkedController.onCheck(e.detail)})),this.vegaComponentUsageRuntimeMetricsSlimmer=new h,this.showError=!1,this.titleText="",this.disabled=!1,this.selectType="radio"}render(){return c(i(n,null,this.renderer.render()),this.host)}get host(){return a(this)}};_([d()],D.prototype,"globalSlimmers",void 0),_([l()],D.prototype,"renderer",void 0),_([l()],D.prototype,"checkedController",void 0),_([l()],D.prototype,"stateController",void 0),_([l()],D.prototype,"showErrorController",void 0),_([l()],D.prototype,"changeEventEmitter",void 0),_([l()],D.prototype,"checkboxEventPrevent",void 0),_([l()],D.prototype,"checkboxValueChangeObserver",void 0),_([l()],D.prototype,"radioValueChangeObserver",void 0),_([l()],D.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),D.style=':host{display:block}:host .selection-tile{padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:12px;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));border-radius:8px;background-color:rgba(var(--v-bg-tile, 252, 252, 252, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1));cursor:pointer;margin:1px}:host .selection-tile:not(.disabled):hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1));background-color:rgba(var(--v-bg-tile-hover, 245, 247, 247, 1))}:host .selection-tile:not(.disabled):focus-visible{border:1px solid rgba(var(--v-border-input-field-focus, 19, 98, 226, 1));background-color:rgba(var(--v-bg-tile, 252, 252, 252, 1));outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px}:host .selection-tile:not(.disabled).checked{background-color:rgba(var(--v-bg-tile-selected, 242, 247, 255, 1));border:2px solid rgba(var(--v-border-tile-selected, 19, 98, 226, 1));margin:0px}:host .selection-tile:not(.disabled).checked:hover{border:2px solid rgba(var(--v-border-tile-selected-hover, 4, 112, 236, 1));background-color:rgba(var(--v-bg-tile-selected-hover, 229, 239, 255, 1))}:host .selection-tile:not(.disabled).checked:focus-visible{border:2px solid rgba(var(--v-border-tile-selected, 19, 98, 226, 1));background-color:rgba(var(--v-bg-tile-selected, 242, 247, 255, 1));outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px}:host .selection-tile:not(.disabled).error{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1));background-color:rgba(var(--v-bg-tile, 252, 252, 252, 1))}:host .selection-tile:not(.disabled).error:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1));background-color:rgba(var(--v-bg-tile-hover, 245, 247, 247, 1))}:host .selection-tile:not(.disabled).error:focus-visible{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1));background-color:rgba(var(--v-bg-tile, 252, 252, 252, 1));outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:2px}:host .selection-tile.disabled{border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1));background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));pointer-events:none}:host .selection-tile.disabled .selection-tile-title,:host .selection-tile.disabled .selection-tile-note{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1))}:host .selection-tile .selection-tile-title{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .selection-tile .selection-tile-title{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){:host .selection-tile .selection-tile-title{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){:host .selection-tile .selection-tile-title{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .selection-tile .selection-tile-note{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){:host .selection-tile .selection-tile-note{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){:host .selection-tile .selection-tile-note{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){:host .selection-tile .selection-tile-note{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .selection-tile .selection-tile-icon{margin-top:4px;margin-bottom:4px}:host .selection-tile .selection-tile-select{height:24px}:host .selection-tile .selection-tile-select vega-checkbox,:host .selection-tile .selection-tile-select vega-radio{margin-top:4px}';var P=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class L extends t{getGroupContainerRef(){return this.groupContainerRef}render(){return i("div",null,this.renderLabel(),this.renderContainer(),this.renderHint())}renderLabel(){return this.label&&i("div",{class:"vega-label"},i("label",{"aria-label":this.label},this.label,this.renderRequire()))}renderRequire(){return this.required&&i("span",{class:"vega-require"},"*")}renderContainer(){return i("div",{class:"container",ref:e=>this.groupContainerRef=e},i("vega-flex",{direction:"horizontal"===this.layout?"row":"col",gap:"size-12"},i("slot",{onSlotchange:()=>this.itemsController.syncTileArrayAndValue()})))}renderHint(){return this.hint&&i("div",{class:"vega-hint"},i("label",null,this.hint))}}P([e()],L.prototype,"host",void 0),P([e()],L.prototype,"label",void 0),P([e()],L.prototype,"required",void 0),P([e()],L.prototype,"hint",void 0),P([e()],L.prototype,"layout",void 0),P([e()],L.prototype,"selectType",void 0),P([e()],L.prototype,"itemsController",void 0);var M=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class H extends t{watchValue(){this.changeEventEmitter.emit(this.value),x.notify(y,{host:this.host,detail:this.value})}onSelectionTilesChanged(){"checkbox"===this.selectType?this.setValueFromCheckboxItems():this.setValueFromRadioItems()}onSelectionTileChecked(e){"checkbox"===this.selectType?this.setValueFromCheckbox(e):this.setValueFromRadio(e)}setValueFromCheckbox(e){e.checked&&!this.value.includes(e.value)?this.value=[...this.value,e.value]:!e.checked&&this.value.includes(e.value)&&(this.value=[...this.value.filter((t=>t!==e.value))])}setValueFromRadio(e){e.checked&&(this.value=e.value)}setValueFromCheckboxItems(){0===this.value.length&&(this.value=this.itemsController.getSelectionTileArray().filter((e=>e.checked)).map((e=>e.value)))}setValueFromRadioItems(){if(!this.value){const e=this.itemsController.getSelectionTileArray().find((e=>e.checked));e&&(this.value=e.value)}}}M([e()],H.prototype,"host",void 0),M([e({writable:!0})],H.prototype,"value",void 0),M([e()],H.prototype,"selectType",void 0),M([e()],H.prototype,"changeEventEmitter",void 0),M([e()],H.prototype,"itemsController",void 0),M([s("watchValue")],H.prototype,"watchValue",null);var U=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class K extends t{constructor(){super(...arguments),this.selectionTileArray=[]}initSelectionTileArray(){this.syncTileArrayAndValue()}getSelectionTileArray(){return this.selectionTileArray}syncTileArrayAndValue(){this.selectionTileArray=Array.from(this.host.querySelectorAll("vega-selection-tile")),this.valueController.onSelectionTilesChanged()}touchableAreaGetter(){const e="checkbox"===this.selectType?"vega-checkbox":"vega-radio";return this.selectionTileArray.map((t=>t.shadowRoot.querySelector(e).shadowRoot.querySelector("input")))}}U([e()],K.prototype,"host",void 0),U([e()],K.prototype,"selectType",void 0),U([e()],K.prototype,"valueController",void 0),U([s("componentWillLoad")],K.prototype,"initSelectionTileArray",null);var W=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};const B=class{constructor(e){o(this,e),this.vegaChange=r(this,"vegaChange",7),this.change=r(this,"change",7),this.globalSlimmers={},this.renderer=new L,this.itemsController=new K,this.valueController=new H,this.formFieldController=new I({propertyRules:[{propertyName:"required",ruleFactory:e=>e?new O:null}],validationRulesName:"validationRules",inputContainerGetter:()=>this.renderer.getGroupContainerRef(),touchableAreaGetter:()=>this.itemsController.touchableAreaGetter(),defaultValue:e=>"checkbox"===e.selectType?[]:"",attributeGetter:e=>this[e]}),this.changeEventEmitter=f(B,b),this.checkboxEventPrevent=new C([b],(()=>this.renderer.getGroupContainerRef())),this.selectionTileChangeObserver=new S(m,(e=>this.valueController.onSelectionTileChecked(e.detail))),this.selectTypeNotifySlimmer=z(B,"selectType","watchSelectType"),this.disabledNotifySlimmer=z(B,"disabled","watchDisabled"),this.valueNotifySlimmer=z(B,"value","watchValue"),this.vegaComponentUsageRuntimeMetricsSlimmer=new h,this.label="",this.selectType="radio",this.value="checkbox"===this.selectType?[]:"",this.layout="vertical",this.validationRules=[],this.isValid=null}watchSelectType(){}watchValue(){}watchDisabled(){}watchValidationRules(){}render(){return c(i(n,null,this.renderer.render()),this.host)}get host(){return a(this)}static get watchers(){return{selectType:["watchSelectType"],value:["watchValue"],disabled:["watchDisabled"],validationRules:["watchValidationRules"]}}};W([d()],B.prototype,"globalSlimmers",void 0),W([l()],B.prototype,"renderer",void 0),W([l()],B.prototype,"itemsController",void 0),W([l()],B.prototype,"valueController",void 0),W([l()],B.prototype,"formFieldController",void 0),W([l()],B.prototype,"changeEventEmitter",void 0),W([l()],B.prototype,"checkboxEventPrevent",void 0),W([l()],B.prototype,"selectionTileChangeObserver",void 0),W([l()],B.prototype,"selectTypeNotifySlimmer",void 0),W([l()],B.prototype,"disabledNotifySlimmer",void 0),W([l()],B.prototype,"valueNotifySlimmer",void 0),W([l()],B.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),B.style=':host{display:block;text-align:left;line-height:normal}:host .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){:host .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){:host .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){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .vega-hidden{display:none}:host .vega-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px;margin-bottom:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host .vega-label label{color:rgba(var(--v-text-primary, 32, 54, 69, 1))}:host .vega-label .vega-require{color:rgba(var(--v-text-error, 189, 41, 71, 1));margin-left:4px}:host .vega-hint{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));padding-top:12px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-hint{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){:host .vega-hint{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){:host .vega-hint{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}';export{D as vega_selection_tile,B as vega_selection_tile_group}
@@ -1 +1 @@
1
- import{h as e,r as t,H as n,g as i}from"./p-1c298d5a.js";import{s}from"./p-9b797118.js";import{c as o,V as a,L as l,I as f}from"./p-6e1ab235.js";import{s as r}from"./p-6bd5c49b.js";import{V as p,I as d}from"./p-61f6167c.js";import{P as h}from"./p-47c87634.js";import{g as x}from"./p-f46c930f.js";import{C as v}from"./p-ed4a57a8.js";import{R as m}from"./p-2d5a9f66.js";import{a as g}from"./p-4163c2c2.js";import{m as b,i as c,f as w}from"./p-04215e74.js";import"./p-74168615.js";import"./p-9fbdeada.js";import"./p-3a0a4d15.js";import"./p-c59042c0.js";import"./p-262ec334.js";import"./p-0c667d6a.js";import"./p-acc14aa2.js";class y extends a{getFontTokenByBreakpoint(){return m.formatCustom(this.variant)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([o()],y.prototype,"variant",void 0);const I=["h1","h2","h3","h4","h5","h6","i","p","span","q","s","del","em","cite","b","abbr",""];class z extends a{getTagNameFromPropAs(){const e=m.formatCustom(this.as)||"";return this.isSafeAs(e)?e:(l.warn(`The as value ${e} is invalid, it must be a value of: `,I),"")}isSafeAs(e){return!!I.includes(e)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([o()],z.prototype,"as",void 0);var u=function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};class k extends a{getClassName(){const e=this.variantController.getFontTokenByBreakpoint(),t=[];return e&&t.push(b(e)),this.color&&t.push(c(this.color)),this.disableResponsive&&t.push("disable-responsive"),this.textAlign&&t.push(w(this.textAlign,"textAlign")),g(t)}}u([o()],k.prototype,"color",void 0),u([o()],k.prototype,"disableResponsive",void 0),u([o()],k.prototype,"variantController",void 0),u([o()],k.prototype,"textAlign",void 0);class j extends a{render(t){const n=this.asController.getTagNameFromPropAs();return n?e(n,{className:t},[e("slot",null)]):e("slot",null)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([o()],j.prototype,"asController",void 0);const L=[{payloadKey:"VARIANT_IS_FONT_FIELD_LABEL",payloadDescription:"Specifies the typography token used for styling the text within this component. A typography token includes values for font size and line height",payloadValue:e=>"font-field-label"===e.variant},{payloadKey:"VARIANT_IS_NOT_FONT_FIELD_LABEL",payloadDescription:"Specifies the typography token used for styling the text within this component. A typography token includes values for font size and line height",payloadValue:e=>"font-field-label"!==e.variant}];var R=function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};const S=class{constructor(e){t(this,e),this.globalSlimmers={},this.pageResizeSlimmer=new h,this.variantController=new y,this.asController=new z,this.classesController=new k,this.renderer=new j,this.vegaComponentUsageRuntimeMetricsSlimmer=new p(L),this.currentBreakpoint=x(),this.variant="font-field-label",this.color="text-primary",this.disableResponsive=!1,this.as=""}watchAsChange(e){}componentDidLoad(){}componentDidUpdate(){}render(){const t=this.classesController.getClassName();return r(e("slot",null)),s(e(n,{class:t},this.renderer.render(t)),this.host)}get host(){return i(this)}static get watchers(){return{as:["watchAsChange"]}}};R([d()],S.prototype,"globalSlimmers",void 0),R([f()],S.prototype,"pageResizeSlimmer",void 0),R([f()],S.prototype,"variantController",void 0),R([f()],S.prototype,"asController",void 0),R([f()],S.prototype,"classesController",void 0),R([f()],S.prototype,"renderer",void 0),R([f()],S.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),R([v()],S.prototype,"watchAsChange",null),S.style=':host(.v-text-primary),.v-text-primary{color:rgba(var(--v-text-primary, 32, 54, 69, 1))}:host(.v-text-secondary),.v-text-secondary{color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}:host(.v-text-inverted-primary),.v-text-inverted-primary{color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1))}:host(.v-text-inverted-secondary),.v-text-inverted-secondary{color:rgba(var(--v-text-inverted-secondary, 188, 186, 213, 1))}:host(.v-text-black),.v-text-black{color:rgba(var(--v-text-black, 32, 54, 69, 1))}:host(.v-text-white),.v-text-white{color:rgba(var(--v-text-white, 252, 252, 252, 1))}:host(.v-text-brand),.v-text-brand{color:rgba(var(--v-text-brand, 51, 57, 61, 1))}:host(.v-text-danger-link),.v-text-danger-link{color:rgba(var(--v-text-danger-link, 230, 50, 87, 1))}:host(.v-text-danger-link-hover),.v-text-danger-link-hover{color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}:host(.v-text-danger-link-active),.v-text-danger-link-active{color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1))}:host(.v-text-danger-link-focus),.v-text-danger-link-focus{color:rgba(var(--v-text-danger-link-focus, 240, 52, 91, 1))}:host(.v-text-danger-link-visited),.v-text-danger-link-visited{color:rgba(var(--v-text-danger-link-visited, 230, 50, 87, 1))}:host(.v-text-disabled),.v-text-disabled{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host(.v-text-error),.v-text-error{color:rgba(var(--v-text-error, 189, 41, 71, 1))}:host(.v-text-input-disabled),.v-text-input-disabled{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1))}:host(.v-text-input-placeholder),.v-text-input-placeholder{color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}:host(.v-text-link),.v-text-link{color:rgba(var(--v-text-link, 19, 98, 226, 1))}:host(.v-text-link-hover),.v-text-link-hover{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}:host(.v-text-link-active),.v-text-link-active{color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}:host(.v-text-link-focus),.v-text-link-focus{color:rgba(var(--v-text-link-focus, 4, 112, 236, 1))}:host(.v-text-link-visited),.v-text-link-visited{color:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}:host(.v-text-on-action),.v-text-on-action{color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}:host(.v-text-on-danger),.v-text-on-danger{color:rgba(var(--v-text-on-danger, 252, 252, 252, 1))}:host(.v-text-on-disabled),.v-text-on-disabled{color:rgba(var(--v-text-on-disabled, 252, 252, 252, 1))}:host(.v-text-sidebar-link),.v-text-sidebar-link{color:rgba(var(--v-text-sidebar-link, 188, 186, 213, 1))}:host(.v-text-sidebar-link-hover),.v-text-sidebar-link-hover{color:rgba(var(--v-text-sidebar-link-hover, 18, 18, 39, 1))}:host(.v-text-sidebar-link-selected),.v-text-sidebar-link-selected{color:rgba(var(--v-text-sidebar-link-selected, 252, 252, 252, 1))}:host(.v-text-site-footer-link),.v-text-site-footer-link{color:rgba(var(--v-text-site-footer-link, 171, 198, 216, 1))}:host(.v-text-site-footer-link-hover),.v-text-site-footer-link-hover{color:rgba(var(--v-text-site-footer-link-hover, 199, 217, 229, 1))}:host(.v-text-site-footer-link-active),.v-text-site-footer-link-active{color:rgba(var(--v-text-site-footer-link-active, 143, 179, 203, 1))}:host(.v-text-success),.v-text-success{color:rgba(var(--v-text-success, 1, 128, 31, 1))}:host(.v-text-inverted-success),.v-text-inverted-success{color:rgba(var(--v-text-inverted-success, 89, 217, 119, 1))}:host(.v-text-accent1-primary),.v-text-accent1-primary{color:rgba(var(--v-text-accent1-primary, 115, 230, 220, 1))}:host(.v-text-accent2-primary),.v-text-accent2-primary{color:rgba(var(--v-text-accent2-primary, 128, 107, 255, 1))}:host(.v-text-accent3-primary),.v-text-accent3-primary{color:rgba(var(--v-text-accent3-primary, 255, 220, 131, 1))}:host(.v-text-accent4-primary),.v-text-accent4-primary{color:rgba(var(--v-text-accent4-primary, 255, 149, 113, 1))}:host(.v-text-accent5-primary),.v-text-accent5-primary{color:rgba(var(--v-text-accent5-primary, 0, 187, 255, 1))}:host(.v-text-accent6-primary),.v-text-accent6-primary{color:rgba(var(--v-text-accent6-primary, 240, 52, 91, 1))}:host(.v-text-accent7-primary),.v-text-accent7-primary{color:rgba(var(--v-text-accent7-primary, 37, 159, 159, 1))}:host(.v-text-accent8-primary),.v-text-accent8-primary{color:rgba(var(--v-text-accent8-primary, 86, 61, 130, 1))}:host(.v-text-accent9-primary),.v-text-accent9-primary{color:rgba(var(--v-text-accent9-primary, 255, 191, 63, 1))}:host(.v-text-accent10-primary),.v-text-accent10-primary{color:rgba(var(--v-text-accent10-primary, 237, 122, 35, 1))}:host(.v-font-h1),.v-font-h1{font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:50px;letter-spacing:0.42px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:50px;letter-spacing:2.52px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:48px;font-weight:700;line-height:56px;letter-spacing:0.96px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:60px;font-weight:700;line-height:70px;letter-spacing:1.8px}}:host(.v-font-h2),.v-font-h2{font-family:"Inter", sans-serif;font-size:32px;font-weight:700;line-height:40px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:32px;font-weight:700;line-height:40px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:36px;font-weight:700;line-height:44px;letter-spacing:1.8px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:52px;letter-spacing:0.42px}}:host(.v-font-h3),.v-font-h3{font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:32px;font-weight:500;line-height:44px;letter-spacing:0.32px}}:host(.v-font-h4),.v-font-h4{font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:700;line-height:36px;letter-spacing:0px}}:host(.v-font-h5),.v-font-h5{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}:host(.v-font-h6),.v-font-h6{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}:host(.v-font-p1-short),.v-font-p1-short{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}:host(.v-font-p1-long),.v-font-p1-long{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:32px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}:host(.v-font-p2-short),.v-font-p2-short{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-p2-long),.v-font-p2-long{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:30px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){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){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){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){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}:host(.v-font-btn-label),.v-font-btn-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-btn-label-lg),.v-font-btn-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-btn-label-sm),.v-font-btn-label-sm{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}:host(.v-font-btn-link-label),.v-font-btn-link-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-btn-link-label-lg),.v-font-btn-link-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-btn-link-label-sm),.v-font-btn-link-label-sm{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}:host(.v-font-field-label),.v-font-field-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-field-label-sm),.v-font-field-label-sm{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}:host(.v-font-field-label-xs),.v-font-field-label-xs{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.v-font-field-label-lg),.v-font-field-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}:host(.v-font-field-label-em),.v-font-field-label-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}:host(.v-font-field-label-sm-em),.v-font-field-label-sm-em{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.v-font-field-label-xs-em),.v-font-field-label-xs-em{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.v-font-field-label-lg-em),.v-font-field-label-lg-em{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-field-value),.v-font-field-value{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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.v-font-field-value-sm),.v-font-field-value-sm{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}:host(.v-font-field-value-em),.v-font-field-value-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-field-value-disabled),.v-font-field-value-disabled{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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.v-font-sidebar-link),.v-font-sidebar-link{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}:host(.v-font-sidebar-link-em),.v-font-sidebar-link-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-footnote1-short),.v-font-footnote1-short{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){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){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){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){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-footnote1-long),.v-font-footnote1-long{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-footnote2-short),.v-font-footnote2-short{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}:host(.v-font-footnote2-long),.v-font-footnote2-long{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-h-modal),.v-font-h-modal{font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}:host(.v-font-keypad-label),.v-font-keypad-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}:host(.v-font-keypad-label-large),.v-font-keypad-label-large{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}:host(.v-font-notification-content),.v-font-notification-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-counter-badge-label),.v-font-counter-badge-label{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}:host(.v-text-start),.v-text-start{text-align:start}:host(.v-text-end),.v-text-end{text-align:end}:host(.v-text-left),.v-text-left{text-align:left}:host(.v-text-right),.v-text-right{text-align:right}:host(.v-text-center),.v-text-center{text-align:center}:host(.v-text-justify),.v-text-justify{text-align:justify}@media (min-width: 320px){:host(.S\\:v-text-start),.S\\:v-text-start{text-align:start}:host(.S\\:v-text-end),.S\\:v-text-end{text-align:end}:host(.S\\:v-text-left),.S\\:v-text-left{text-align:left}:host(.S\\:v-text-right),.S\\:v-text-right{text-align:right}:host(.S\\:v-text-center),.S\\:v-text-center{text-align:center}:host(.S\\:v-text-justify),.S\\:v-text-justify{text-align:justify}}@media (min-width: 768px){:host(.M\\:v-text-start),.M\\:v-text-start{text-align:start}:host(.M\\:v-text-end),.M\\:v-text-end{text-align:end}:host(.M\\:v-text-left),.M\\:v-text-left{text-align:left}:host(.M\\:v-text-right),.M\\:v-text-right{text-align:right}:host(.M\\:v-text-center),.M\\:v-text-center{text-align:center}:host(.M\\:v-text-justify),.M\\:v-text-justify{text-align:justify}}@media (min-width: 1024px){:host(.L\\:v-text-start),.L\\:v-text-start{text-align:start}:host(.L\\:v-text-end),.L\\:v-text-end{text-align:end}:host(.L\\:v-text-left),.L\\:v-text-left{text-align:left}:host(.L\\:v-text-right),.L\\:v-text-right{text-align:right}:host(.L\\:v-text-center),.L\\:v-text-center{text-align:center}:host(.L\\:v-text-justify),.L\\:v-text-justify{text-align:justify}}@media (min-width: 1440px){:host(.XL\\:v-text-start),.XL\\:v-text-start{text-align:start}:host(.XL\\:v-text-end),.XL\\:v-text-end{text-align:end}:host(.XL\\:v-text-left),.XL\\:v-text-left{text-align:left}:host(.XL\\:v-text-right),.XL\\:v-text-right{text-align:right}:host(.XL\\:v-text-center),.XL\\:v-text-center{text-align:center}:host(.XL\\:v-text-justify),.XL\\:v-text-justify{text-align:justify}}';export{S as vega_font}
1
+ import{d as e,V as t,L as n,h as i,r as s,H as o,g as a,I as l}from"./p-9c1eeff2.js";import{s as f}from"./p-296cc56b.js";import{s as r}from"./p-6bd5c49b.js";import{V as p,I as d}from"./p-8f93242a.js";import{P as h}from"./p-70151c27.js";import{g as x}from"./p-4bcd6612.js";import{C as v}from"./p-ed4a57a8.js";import{R as m}from"./p-62774231.js";import{a as g}from"./p-1995e98e.js";import{m as b,i as c,f as w}from"./p-3f1b542a.js";import"./p-74168615.js";import"./p-ed45b3b6.js";import"./p-b1f65b13.js";import"./p-3a0a4d15.js";import"./p-d884c644.js";import"./p-262ec334.js";import"./p-0c667d6a.js";import"./p-e79057cc.js";class y extends t{getFontTokenByBreakpoint(){return m.formatCustom(this.variant)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([e()],y.prototype,"variant",void 0);const I=["h1","h2","h3","h4","h5","h6","i","p","span","q","s","del","em","cite","b","abbr",""];class z extends t{getTagNameFromPropAs(){const e=m.formatCustom(this.as)||"";return this.isSafeAs(e)?e:(n.warn(`The as value ${e} is invalid, it must be a value of: `,I),"")}isSafeAs(e){return!!I.includes(e)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([e()],z.prototype,"as",void 0);var u=function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};class k extends t{getClassName(){const e=this.variantController.getFontTokenByBreakpoint(),t=[];return e&&t.push(b(e)),this.color&&t.push(c(this.color)),this.disableResponsive&&t.push("disable-responsive"),this.textAlign&&t.push(w(this.textAlign,"textAlign")),g(t)}}u([e()],k.prototype,"color",void 0),u([e()],k.prototype,"disableResponsive",void 0),u([e()],k.prototype,"variantController",void 0),u([e()],k.prototype,"textAlign",void 0);class j extends t{render(e){const t=this.asController.getTagNameFromPropAs();return t?i(t,{className:e},[i("slot",null)]):i("slot",null)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([e()],j.prototype,"asController",void 0);const L=[{payloadKey:"VARIANT_IS_FONT_FIELD_LABEL",payloadDescription:"Specifies the typography token used for styling the text within this component. A typography token includes values for font size and line height",payloadValue:e=>"font-field-label"===e.variant},{payloadKey:"VARIANT_IS_NOT_FONT_FIELD_LABEL",payloadDescription:"Specifies the typography token used for styling the text within this component. A typography token includes values for font size and line height",payloadValue:e=>"font-field-label"!==e.variant}];var R=function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};const S=class{constructor(e){s(this,e),this.globalSlimmers={},this.pageResizeSlimmer=new h,this.variantController=new y,this.asController=new z,this.classesController=new k,this.renderer=new j,this.vegaComponentUsageRuntimeMetricsSlimmer=new p(L),this.currentBreakpoint=x(),this.variant="font-field-label",this.color="text-primary",this.disableResponsive=!1,this.as=""}watchAsChange(e){}componentDidLoad(){}componentDidUpdate(){}render(){const e=this.classesController.getClassName();return r(i("slot",null)),f(i(o,{class:e},this.renderer.render(e)),this.host)}get host(){return a(this)}static get watchers(){return{as:["watchAsChange"]}}};R([d()],S.prototype,"globalSlimmers",void 0),R([l()],S.prototype,"pageResizeSlimmer",void 0),R([l()],S.prototype,"variantController",void 0),R([l()],S.prototype,"asController",void 0),R([l()],S.prototype,"classesController",void 0),R([l()],S.prototype,"renderer",void 0),R([l()],S.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),R([v()],S.prototype,"watchAsChange",null),S.style=':host(.v-text-primary),.v-text-primary{color:rgba(var(--v-text-primary, 32, 54, 69, 1))}:host(.v-text-secondary),.v-text-secondary{color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}:host(.v-text-inverted-primary),.v-text-inverted-primary{color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1))}:host(.v-text-inverted-secondary),.v-text-inverted-secondary{color:rgba(var(--v-text-inverted-secondary, 188, 186, 213, 1))}:host(.v-text-black),.v-text-black{color:rgba(var(--v-text-black, 32, 54, 69, 1))}:host(.v-text-white),.v-text-white{color:rgba(var(--v-text-white, 252, 252, 252, 1))}:host(.v-text-brand),.v-text-brand{color:rgba(var(--v-text-brand, 51, 57, 61, 1))}:host(.v-text-danger-link),.v-text-danger-link{color:rgba(var(--v-text-danger-link, 230, 50, 87, 1))}:host(.v-text-danger-link-hover),.v-text-danger-link-hover{color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}:host(.v-text-danger-link-active),.v-text-danger-link-active{color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1))}:host(.v-text-danger-link-focus),.v-text-danger-link-focus{color:rgba(var(--v-text-danger-link-focus, 240, 52, 91, 1))}:host(.v-text-danger-link-visited),.v-text-danger-link-visited{color:rgba(var(--v-text-danger-link-visited, 230, 50, 87, 1))}:host(.v-text-disabled),.v-text-disabled{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host(.v-text-error),.v-text-error{color:rgba(var(--v-text-error, 189, 41, 71, 1))}:host(.v-text-input-disabled),.v-text-input-disabled{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1))}:host(.v-text-input-placeholder),.v-text-input-placeholder{color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}:host(.v-text-link),.v-text-link{color:rgba(var(--v-text-link, 19, 98, 226, 1))}:host(.v-text-link-hover),.v-text-link-hover{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}:host(.v-text-link-active),.v-text-link-active{color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}:host(.v-text-link-focus),.v-text-link-focus{color:rgba(var(--v-text-link-focus, 4, 112, 236, 1))}:host(.v-text-link-visited),.v-text-link-visited{color:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}:host(.v-text-on-action),.v-text-on-action{color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}:host(.v-text-on-danger),.v-text-on-danger{color:rgba(var(--v-text-on-danger, 252, 252, 252, 1))}:host(.v-text-on-disabled),.v-text-on-disabled{color:rgba(var(--v-text-on-disabled, 252, 252, 252, 1))}:host(.v-text-sidebar-link),.v-text-sidebar-link{color:rgba(var(--v-text-sidebar-link, 188, 186, 213, 1))}:host(.v-text-sidebar-link-hover),.v-text-sidebar-link-hover{color:rgba(var(--v-text-sidebar-link-hover, 18, 18, 39, 1))}:host(.v-text-sidebar-link-selected),.v-text-sidebar-link-selected{color:rgba(var(--v-text-sidebar-link-selected, 252, 252, 252, 1))}:host(.v-text-site-footer-link),.v-text-site-footer-link{color:rgba(var(--v-text-site-footer-link, 171, 198, 216, 1))}:host(.v-text-site-footer-link-hover),.v-text-site-footer-link-hover{color:rgba(var(--v-text-site-footer-link-hover, 199, 217, 229, 1))}:host(.v-text-site-footer-link-active),.v-text-site-footer-link-active{color:rgba(var(--v-text-site-footer-link-active, 143, 179, 203, 1))}:host(.v-text-success),.v-text-success{color:rgba(var(--v-text-success, 1, 128, 31, 1))}:host(.v-text-inverted-success),.v-text-inverted-success{color:rgba(var(--v-text-inverted-success, 89, 217, 119, 1))}:host(.v-text-accent1-primary),.v-text-accent1-primary{color:rgba(var(--v-text-accent1-primary, 115, 230, 220, 1))}:host(.v-text-accent2-primary),.v-text-accent2-primary{color:rgba(var(--v-text-accent2-primary, 128, 107, 255, 1))}:host(.v-text-accent3-primary),.v-text-accent3-primary{color:rgba(var(--v-text-accent3-primary, 255, 220, 131, 1))}:host(.v-text-accent4-primary),.v-text-accent4-primary{color:rgba(var(--v-text-accent4-primary, 255, 149, 113, 1))}:host(.v-text-accent5-primary),.v-text-accent5-primary{color:rgba(var(--v-text-accent5-primary, 0, 187, 255, 1))}:host(.v-text-accent6-primary),.v-text-accent6-primary{color:rgba(var(--v-text-accent6-primary, 240, 52, 91, 1))}:host(.v-text-accent7-primary),.v-text-accent7-primary{color:rgba(var(--v-text-accent7-primary, 37, 159, 159, 1))}:host(.v-text-accent8-primary),.v-text-accent8-primary{color:rgba(var(--v-text-accent8-primary, 86, 61, 130, 1))}:host(.v-text-accent9-primary),.v-text-accent9-primary{color:rgba(var(--v-text-accent9-primary, 255, 191, 63, 1))}:host(.v-text-accent10-primary),.v-text-accent10-primary{color:rgba(var(--v-text-accent10-primary, 237, 122, 35, 1))}:host(.v-font-h1),.v-font-h1{font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:50px;letter-spacing:0.42px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:50px;letter-spacing:2.52px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:48px;font-weight:700;line-height:56px;letter-spacing:0.96px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:60px;font-weight:700;line-height:70px;letter-spacing:1.8px}}:host(.v-font-h2),.v-font-h2{font-family:"Inter", sans-serif;font-size:32px;font-weight:700;line-height:40px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:32px;font-weight:700;line-height:40px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:36px;font-weight:700;line-height:44px;letter-spacing:1.8px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:52px;letter-spacing:0.42px}}:host(.v-font-h3),.v-font-h3{font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:32px;font-weight:500;line-height:44px;letter-spacing:0.32px}}:host(.v-font-h4),.v-font-h4{font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:700;line-height:36px;letter-spacing:0px}}:host(.v-font-h5),.v-font-h5{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}:host(.v-font-h6),.v-font-h6{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}:host(.v-font-p1-short),.v-font-p1-short{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}:host(.v-font-p1-long),.v-font-p1-long{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:32px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}:host(.v-font-p2-short),.v-font-p2-short{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-p2-long),.v-font-p2-long{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:30px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){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){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){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){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}:host(.v-font-btn-label),.v-font-btn-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-btn-label-lg),.v-font-btn-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-btn-label-sm),.v-font-btn-label-sm{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}:host(.v-font-btn-link-label),.v-font-btn-link-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-btn-link-label-lg),.v-font-btn-link-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-btn-link-label-sm),.v-font-btn-link-label-sm{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}:host(.v-font-field-label),.v-font-field-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-field-label-sm),.v-font-field-label-sm{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}:host(.v-font-field-label-xs),.v-font-field-label-xs{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.v-font-field-label-lg),.v-font-field-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}:host(.v-font-field-label-em),.v-font-field-label-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}:host(.v-font-field-label-sm-em),.v-font-field-label-sm-em{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.v-font-field-label-xs-em),.v-font-field-label-xs-em{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.v-font-field-label-lg-em),.v-font-field-label-lg-em{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-field-value),.v-font-field-value{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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.v-font-field-value-sm),.v-font-field-value-sm{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}:host(.v-font-field-value-em),.v-font-field-value-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-field-value-disabled),.v-font-field-value-disabled{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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.v-font-sidebar-link),.v-font-sidebar-link{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}:host(.v-font-sidebar-link-em),.v-font-sidebar-link-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-footnote1-short),.v-font-footnote1-short{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){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){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){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){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-footnote1-long),.v-font-footnote1-long{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-footnote2-short),.v-font-footnote2-short{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}:host(.v-font-footnote2-long),.v-font-footnote2-long{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-h-modal),.v-font-h-modal{font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}:host(.v-font-keypad-label),.v-font-keypad-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}:host(.v-font-keypad-label-large),.v-font-keypad-label-large{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}:host(.v-font-notification-content),.v-font-notification-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-counter-badge-label),.v-font-counter-badge-label{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}:host(.v-text-start),.v-text-start{text-align:start}:host(.v-text-end),.v-text-end{text-align:end}:host(.v-text-left),.v-text-left{text-align:left}:host(.v-text-right),.v-text-right{text-align:right}:host(.v-text-center),.v-text-center{text-align:center}:host(.v-text-justify),.v-text-justify{text-align:justify}@media (min-width: 320px){:host(.S\\:v-text-start),.S\\:v-text-start{text-align:start}:host(.S\\:v-text-end),.S\\:v-text-end{text-align:end}:host(.S\\:v-text-left),.S\\:v-text-left{text-align:left}:host(.S\\:v-text-right),.S\\:v-text-right{text-align:right}:host(.S\\:v-text-center),.S\\:v-text-center{text-align:center}:host(.S\\:v-text-justify),.S\\:v-text-justify{text-align:justify}}@media (min-width: 768px){:host(.M\\:v-text-start),.M\\:v-text-start{text-align:start}:host(.M\\:v-text-end),.M\\:v-text-end{text-align:end}:host(.M\\:v-text-left),.M\\:v-text-left{text-align:left}:host(.M\\:v-text-right),.M\\:v-text-right{text-align:right}:host(.M\\:v-text-center),.M\\:v-text-center{text-align:center}:host(.M\\:v-text-justify),.M\\:v-text-justify{text-align:justify}}@media (min-width: 1024px){:host(.L\\:v-text-start),.L\\:v-text-start{text-align:start}:host(.L\\:v-text-end),.L\\:v-text-end{text-align:end}:host(.L\\:v-text-left),.L\\:v-text-left{text-align:left}:host(.L\\:v-text-right),.L\\:v-text-right{text-align:right}:host(.L\\:v-text-center),.L\\:v-text-center{text-align:center}:host(.L\\:v-text-justify),.L\\:v-text-justify{text-align:justify}}@media (min-width: 1440px){:host(.XL\\:v-text-start),.XL\\:v-text-start{text-align:start}:host(.XL\\:v-text-end),.XL\\:v-text-end{text-align:end}:host(.XL\\:v-text-left),.XL\\:v-text-left{text-align:left}:host(.XL\\:v-text-right),.XL\\:v-text-right{text-align:right}:host(.XL\\:v-text-center),.XL\\:v-text-center{text-align:center}:host(.XL\\:v-text-justify),.XL\\:v-text-justify{text-align:justify}}';export{S as vega_font}
@@ -1 +1 @@
1
- import{c as t,M as e,V as c}from"./p-6e1ab235.js";var n=function(t,e,c,n){var l,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,c):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,c,n);else for(var a=t.length-1;a>=0;a--)(l=t[a])&&(s=(o<3?l(s):o>3?l(e,c,s):l(e,c))||s);return o>3&&s&&Object.defineProperty(e,c,s),s};class l extends c{constructor(t){super(),this.style=t}connectedCallback(){const t=this.host.tagName,e=l.connectedComponents.get(t);e?e.add(this.host):l.connectedComponents.set(t,new Set([this.host]))}disconnectedCallback(){const t=l.connectedComponents.get(this.host.tagName);if(t&&(t.delete(this.host),0===t.size)){const t=this.getStyleElement();t&&t.remove()}}componentWillLoad(){this.id=`${this.host.tagName}-GLOBAL-STYLE`;let t=this.getStyleElement();t||(t=document.createElement("style"),t.id=this.id,t.innerHTML=this.style,document.head.append(t))}getStyleElement(){return document.head.querySelector(`style#${this.id}`)}}l.connectedComponents=new Map,n([t()],l.prototype,"host",void 0),n([e("connectedCallback")],l.prototype,"connectedCallback",null),n([e("disconnectedCallback")],l.prototype,"disconnectedCallback",null),n([e("componentWillLoad")],l.prototype,"componentWillLoad",null);export{l as C}
1
+ import{d as t,M as e,V as c}from"./p-9c1eeff2.js";var n=function(t,e,c,n){var l,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,c):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,c,n);else for(var i=t.length-1;i>=0;i--)(l=t[i])&&(s=(o<3?l(s):o>3?l(e,c,s):l(e,c))||s);return o>3&&s&&Object.defineProperty(e,c,s),s};class l extends c{constructor(t){super(),this.style=t}connectedCallback(){const t=this.host.tagName,e=l.connectedComponents.get(t);e?e.add(this.host):l.connectedComponents.set(t,new Set([this.host]))}disconnectedCallback(){const t=l.connectedComponents.get(this.host.tagName);if(t&&(t.delete(this.host),0===t.size)){const t=this.getStyleElement();t&&t.remove()}}componentWillLoad(){this.id=`${this.host.tagName}-GLOBAL-STYLE`;let t=this.getStyleElement();t||(t=document.createElement("style"),t.id=this.id,t.innerHTML=this.style,document.head.append(t))}getStyleElement(){return document.head.querySelector(`style#${this.id}`)}}l.connectedComponents=new Map,n([t()],l.prototype,"host",void 0),n([e("connectedCallback")],l.prototype,"connectedCallback",null),n([e("disconnectedCallback")],l.prototype,"disconnectedCallback",null),n([e("componentWillLoad")],l.prototype,"componentWillLoad",null);export{l as C}
@@ -1 +1 @@
1
- import{c as t,M as e,V as s}from"./p-6e1ab235.js";import{i,j as n}from"./p-0fecf145.js";import{v as r}from"./p-5f377954.js";import{F as h}from"./p-5fe479a1.js";var o=function(t,e,s,i){var n,r=arguments.length,h=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,s,i);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(h=(r<3?n(h):r>3?n(e,s,h):n(e,s))||h);return r>3&&h&&Object.defineProperty(e,s,h),h};class a extends s{constructor(t,e,s,i){if(super(),this.eventIds=[],this.useCapture=!1,this.isEventListenerAdded=!1,this.disabled=!1,this.preventChildEvent=t=>{const e=this.getHostElement();if(!this.shouldSkipEventPrevent())if("function"==typeof this.customPreventHandle)this.customPreventHandle(t);else{const s=t.composedPath();e===t.target&&e===s[0]||t.stopImmediatePropagation()}},this.eventIds=t,this.getHostElement=e,!0===s)this.useCapture=!0;else if(s){const{useCapture:t=!1,customPreventHandle:e}=s;this.useCapture=t,this.customPreventHandle=e}this.disabled=!0===i}setup(){this.addOrRemoveEventListener("add")}checkEventListenerStatus(){this.isEventListenerAdded||this.setup(),this.setSkipEventPreventFlag()}destroy(){this.addOrRemoveEventListener("remove")}setSkipEventPreventFlag(){h.isEnabled("VEGA_REACT.SKIP_NATIVE_EVENT_PREVENT_BY_DEFAULT")&&this.disabled&&this.host&&"react"===r.getVegaEnv().framework&&"native"===i.getSemantics(this.host).namespace&&this.getHostElement().setAttribute("data-vega-no-event-prevent","true")}addOrRemoveEventListener(t){const e=this.getHostElement();this.eventIds&&this.eventIds.length&&e&&(this.eventIds.filter((t=>this.shouldPrevent(t))).forEach((s=>{e["add"===t?"addEventListener":"removeEventListener"](this.getCurrentEventName(s),this.preventChildEvent,this.useCapture)})),this.isEventListenerAdded="add"===t)}getCurrentEventName(t){return t.getCurrentName(i.getSemantics(this.host))}shouldPrevent(t){const{namespace:e,jqueryDelegatedEvent:s}=i.getSemantics(this.host);return!("native"===e&&s&&n.isSupportDelegated(this.host,t))}shouldSkipEventPrevent(){const t=this.getHostElement();return t&&"true"===t.dataset.vegaNoEventPrevent}}o([t()],a.prototype,"host",void 0),o([e("connectedCallback")],a.prototype,"setup",null),o([e("componentDidLoad")],a.prototype,"checkEventListenerStatus",null),o([e("disconnectedCallback")],a.prototype,"destroy",null);export{a as C}
1
+ import{d as t,M as e,V as s}from"./p-9c1eeff2.js";import{i,j as n}from"./p-f763e2eb.js";import{v as r}from"./p-5f377954.js";import{F as h}from"./p-acf7f903.js";var o=function(t,e,s,i){var n,r=arguments.length,h=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,s,i);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(h=(r<3?n(h):r>3?n(e,s,h):n(e,s))||h);return r>3&&h&&Object.defineProperty(e,s,h),h};class a extends s{constructor(t,e,s,i){if(super(),this.eventIds=[],this.useCapture=!1,this.isEventListenerAdded=!1,this.disabled=!1,this.preventChildEvent=t=>{const e=this.getHostElement();if(!this.shouldSkipEventPrevent())if("function"==typeof this.customPreventHandle)this.customPreventHandle(t);else{const s=t.composedPath();e===t.target&&e===s[0]||t.stopImmediatePropagation()}},this.eventIds=t,this.getHostElement=e,!0===s)this.useCapture=!0;else if(s){const{useCapture:t=!1,customPreventHandle:e}=s;this.useCapture=t,this.customPreventHandle=e}this.disabled=!0===i}setup(){this.addOrRemoveEventListener("add")}checkEventListenerStatus(){this.isEventListenerAdded||this.setup(),this.setSkipEventPreventFlag()}destroy(){this.addOrRemoveEventListener("remove")}setSkipEventPreventFlag(){h.isEnabled("VEGA_REACT.SKIP_NATIVE_EVENT_PREVENT_BY_DEFAULT")&&this.disabled&&this.host&&"react"===r.getVegaEnv().framework&&"native"===i.getSemantics(this.host).namespace&&this.getHostElement().setAttribute("data-vega-no-event-prevent","true")}addOrRemoveEventListener(t){const e=this.getHostElement();this.eventIds&&this.eventIds.length&&e&&(this.eventIds.filter((t=>this.shouldPrevent(t))).forEach((s=>{e["add"===t?"addEventListener":"removeEventListener"](this.getCurrentEventName(s),this.preventChildEvent,this.useCapture)})),this.isEventListenerAdded="add"===t)}getCurrentEventName(t){return t.getCurrentName(i.getSemantics(this.host))}shouldPrevent(t){const{namespace:e,jqueryDelegatedEvent:s}=i.getSemantics(this.host);return!("native"===e&&s&&n.isSupportDelegated(this.host,t))}shouldSkipEventPrevent(){const t=this.getHostElement();return t&&"true"===t.dataset.vegaNoEventPrevent}}o([t()],a.prototype,"host",void 0),o([e("connectedCallback")],a.prototype,"setup",null),o([e("componentDidLoad")],a.prototype,"checkEventListenerStatus",null),o([e("disconnectedCallback")],a.prototype,"destroy",null);export{a as C}
@@ -1 +1 @@
1
- import{C as s}from"./p-2d0d575f.js";import{O as r}from"./p-331a62d5.js";const e=new class{call(r,...e){let t=null;return s.notify(r,{args:e,resultCallback:s=>{t=s}}),t}register(e,t){const a=new r(this.isAcceptableObserver.bind(this),(s=>{const r=t(...s.args);s.resultCallback(r)}));s.register(e,a)}unRegister(r){s.clearObserversBySubject(r)}isAcceptableObserver(s){return!0}};export{e as r}
1
+ import{C as s}from"./p-443ad3b3.js";import{O as r}from"./p-a5ffe912.js";const e=new class{call(r,...e){let t=null;return s.notify(r,{args:e,resultCallback:s=>{t=s}}),t}register(e,t){const a=new r(this.isAcceptableObserver.bind(this),(s=>{const r=t(...s.args);s.resultCallback(r)}));s.register(e,a)}unRegister(r){s.clearObserversBySubject(r)}isAcceptableObserver(s){return!0}};export{e as r}
@@ -0,0 +1 @@
1
+ import{C as t,S as s,a as n,c as o,V as c,L as a}from"./p-9c1eeff2.js";import{c as e}from"./p-59bdf9b8.js";const i=()=>(Date.now()+Math.floor(1e4*Math.random())).toString(),r=t=>!t||0===Object.keys(t).length,u=(async()=>{}).constructor,f=t=>"function"==typeof t&&("AsyncFunction"===t[Symbol.toStringTag]||t instanceof u==1);function l(){return function(o,c){var a;Object.defineProperty(o,c,{set:(a=c,function(o){this[t]||(this[t]=new Map),this[t].set(a,o),o[s]=this,function(t,s){const o=t.constructor.prototype;if(o[n])for(const c of o[n])s[c.componentMethodName]=p(s,t,s[c.componentMethodName],c)}(o,this)})})}}function p(t,s,n,c){return function(...a){const e=n.apply(t,a);return s[o]=c.componentMethodName,e&&"function"==typeof e.then?e.then((()=>s[c.slimmerMethodName].call(s,...a))):s[c.slimmerMethodName].call(s,...a),e}}class h extends c{constructor(t,s){super(),this.className=t,this.usageDefinitions=s}sendPublicAPIPayloadToTelemetry(t){try{const s=this.getPublicAPIMetricsPayload(t);s&&import("./p-7a40e033.js").then((t=>{t.default.emit("publicAPIMetrics",s)}))}catch(t){a.log("Public API payload failed to emit telemetry:",t)}}getPublicAPIMetricsPayload(t){const s={};return this.usageDefinitions.filter((s=>s.canAccept(this.className,this[o],t))).forEach((n=>{s[n.payloadKey]=n.payloadValue(t)})),r(s)?null:{publicAPIName:this.className,data:s}}}function m(t,s,n){const o=[];return s.map((t=>o.push({mapFrom:t,mapTo:"sendPublicAPIPayloadToTelemetry"}))),e(t,h,[],o,[t.name,n])}export{l as I,r as a,m as c,i as g,f as i}
@@ -1 +1 @@
1
- import{i as r,b as e,e as t,j as a,f as s,g as o,k as n,l as i,m as u,n as f,o as c,p as l,q as d,r as b,h as v,s as p,B as m,C as $,t as h}from"./p-9fbdeada.js";import{B as j}from"./p-f46c930f.js";import{L as g}from"./p-6e1ab235.js";import{R as k}from"./p-2d5a9f66.js";import{b as w}from"./p-c59042c0.js";import{S as x,s as T}from"./p-acc14aa2.js";import{a as O}from"./p-74168615.js";const S=new class extends x{constructor(){super(...arguments),this.states=["default","focus-visible","hover","active"]}formatToken(a){return r(a)?`border-color: ${t[a]};`:(g.warn(`The borderColor value ${a} is invalid, it must be a value of: `,e),"")}getStates(){return this.states}},C=new class extends x{constructor(){super(...arguments),this.states=["default","focus-visible","hover"]}formatToken(r){return a(r)?`box-shadow: ${o[r]};`:(g.warn(`The shadow value ${r} is invalid, it must be a value of: `,s),"")}getStates(){return this.states}},B=new class extends x{constructor(){super(...arguments),this.states=["default","focus-visible","hover","active"]}formatToken(r){return n(r)?`border: ${u[r]};`:(g.warn(`The border value ${r} is invalid, it must be a value of: `,i),"")}getStates(){return this.states}},F=new class{format(r,e){switch(e){case"backgroundColor":return T.format(r);case"borderColor":return S.format(r);case"shadow":return C.format(r);case"border":return B.format(r);default:throw new Error(`Invalid flag ${e} passed into StateFormatFacade`)}}};function q(r,e,t){g.warn(`The ${r} value ${e} is invalid, it must be a value of: `,t)}function y(r,e){let t="";return e.includes("dark")&&(t+=` dark:v-dark-${r}`),t}function E(r){if(f(r))return`v-p-${r}`;q("padding",r,Object.keys(v))}function I(r){if(p(r))return`v-border-${r}`;q("border-style",r,O)}function L(r){if(c(r))return`v-${r}`;q("border-radius",r,Object.keys(m))}function R(e){if(r(e))return`v-${e}`;q("border-color",e,$.filter((()=>/^border-color-.+$/.test)))}function z(r,e=[]){if(l(r))return`v-${r}`+y(r,e);q("background-color",r,$.filter((()=>/^bg-.+$/.test)))}function A(r,e=[]){if(d(r))return`v-${r}`+y(r,e);q("text-color",r,$.filter((()=>/^text-.+$/.test)))}function D(r){if(b(r))return`vega-flex-${r}`;q("breakpoint",r,Object.keys(j))}function G(r){if(b(r))return j[r];q("breakpoint",r,Object.keys(j))}function H(r){if(f(r))return`v-gap-${r}`;q("gap",r,Object.keys(v))}function J(r,e=[]){if(a(r))return`v-${r}`+y(r,e);q("shadows",r,s)}function K(r,e){if(null!=r)return k.format(r,e)}function M(r){if(h(r))return`v-${r}`;q("font",r,w)}function N(r,e){if(null!=r)return F.format(r,e)}export{H as a,J as b,G as c,z as d,R as e,K as f,L as g,E as h,A as i,N as j,I as k,D as l,M as m}
1
+ import{j as r,b as e,e as t,k as s,f as a,g as o,l as n,m as i,n as u,o as f,p as c,q as l,r as d,s as b,h as v,t as p,B as m,C as $,u as h}from"./p-b1f65b13.js";import{B as j}from"./p-ed45b3b6.js";import{L as g}from"./p-9c1eeff2.js";import{R as k}from"./p-62774231.js";import{a as w}from"./p-d884c644.js";import{S as x,s as T}from"./p-e79057cc.js";import{a as O}from"./p-74168615.js";const S=new class extends x{constructor(){super(...arguments),this.states=["default","focus-visible","hover","active"]}formatToken(s){return r(s)?`border-color: ${t[s]};`:(g.warn(`The borderColor value ${s} is invalid, it must be a value of: `,e),"")}getStates(){return this.states}},C=new class extends x{constructor(){super(...arguments),this.states=["default","focus-visible","hover"]}formatToken(r){return s(r)?`box-shadow: ${o[r]};`:(g.warn(`The shadow value ${r} is invalid, it must be a value of: `,a),"")}getStates(){return this.states}},B=new class extends x{constructor(){super(...arguments),this.states=["default","focus-visible","hover","active"]}formatToken(r){return n(r)?`border: ${u[r]};`:(g.warn(`The border value ${r} is invalid, it must be a value of: `,i),"")}getStates(){return this.states}},F=new class{format(r,e){switch(e){case"backgroundColor":return T.format(r);case"borderColor":return S.format(r);case"shadow":return C.format(r);case"border":return B.format(r);default:throw new Error(`Invalid flag ${e} passed into StateFormatFacade`)}}};function q(r,e,t){g.warn(`The ${r} value ${e} is invalid, it must be a value of: `,t)}function y(r,e){let t="";return e.includes("dark")&&(t+=` dark:v-dark-${r}`),t}function E(r){if(f(r))return`v-p-${r}`;q("padding",r,Object.keys(v))}function I(r){if(p(r))return`v-border-${r}`;q("border-style",r,O)}function L(r){if(c(r))return`v-${r}`;q("border-radius",r,Object.keys(m))}function R(e){if(r(e))return`v-${e}`;q("border-color",e,$.filter((()=>/^border-color-.+$/.test)))}function z(r,e=[]){if(l(r))return`v-${r}`+y(r,e);q("background-color",r,$.filter((()=>/^bg-.+$/.test)))}function A(r,e=[]){if(d(r))return`v-${r}`+y(r,e);q("text-color",r,$.filter((()=>/^text-.+$/.test)))}function D(r){if(b(r))return`vega-flex-${r}`;q("breakpoint",r,Object.keys(j))}function G(r){if(b(r))return j[r];q("breakpoint",r,Object.keys(j))}function H(r){if(f(r))return`v-gap-${r}`;q("gap",r,Object.keys(v))}function J(r,e=[]){if(s(r))return`v-${r}`+y(r,e);q("shadows",r,a)}function K(r,e){if(null!=r)return k.format(r,e)}function M(r){if(h(r))return`v-${r}`;q("font",r,w)}function N(r,e){if(null!=r)return F.format(r,e)}export{H as a,J as b,G as c,z as d,R as e,K as f,L as g,E as h,A as i,N as j,I as k,D as l,M as m}
@@ -1 +1 @@
1
- import{L as s}from"./p-6e1ab235.js";const t=new class{constructor(){this.pubSubMap=new Map}register(s,t){if(this.pubSubMap.has(s)){const e=this.pubSubMap.get(s);e&&!e.includes(t)&&e.push(t)}else this.pubSubMap.set(s,[t])}unregister(s,t){if(this.pubSubMap.has(s)){const e=this.pubSubMap.get(s);e&&e.includes(t)&&e.splice(e.indexOf(t),1)}}clearObserversBySubject(s){this.pubSubMap.delete(s)}notify(t,e){this.pubSubMap.has(t)&&this.pubSubMap.get(t).forEach((r=>{try{r.notify(e)}catch(e){s.warn(`Encountered error while notifying observer for subject ${t.getDescription()}`,e)}}))}};export{t as C}
1
+ import{L as s}from"./p-9c1eeff2.js";const t=new class{constructor(){this.pubSubMap=new Map}register(s,t){if(this.pubSubMap.has(s)){const e=this.pubSubMap.get(s);e&&!e.includes(t)&&e.push(t)}else this.pubSubMap.set(s,[t])}unregister(s,t){if(this.pubSubMap.has(s)){const e=this.pubSubMap.get(s);e&&e.includes(t)&&e.splice(e.indexOf(t),1)}}clearObserversBySubject(s){this.pubSubMap.delete(s)}notify(t,e){this.pubSubMap.has(t)&&this.pubSubMap.get(t).forEach((r=>{try{r.notify(e)}catch(e){s.warn(`Encountered error while notifying observer for subject ${t.getDescription()}`,e)}}))}};export{t as C}
@@ -0,0 +1 @@
1
+ import{I as e,c as t,g as a}from"./p-3ce31dc3.js";import{a as o,g as n,D as i}from"./p-1995e98e.js";import{L as c,I as l}from"./p-9c1eeff2.js";import{I as s}from"./p-eac38d87.js";import{c as r}from"./p-59bdf9b8.js";import{P as d}from"./p-70151c27.js";import{i as p}from"./p-f763e2eb.js";import{A as u}from"./p-8c26227e.js";const f=[{payloadKey:"IS_LOAD_METHOD_CALLED",payloadDescription:"Indicate if the method load of public API VegaLoaderController is called",canAccept:(e,t)=>"VegaLoaderController"===e&&"load"===t,payloadValue:()=>!0},{payloadKey:"IS_CLOSE_METHOD_CALLED",payloadDescription:"Indicate if the method close of public API VegaLoaderController is called",canAccept:(e,t)=>"VegaLoaderController"===e&&"close"===t,payloadValue:()=>!0}];class y{constructor(){this.vegaPublicAPIRuntimeMetricsSlimmer=t(y,["load","close"],f)}load(e={}){const t=e.containerSelector||"body",a=document.querySelector(t);if(!a)return c.error("Container is not found by selector: ",t),null;const o=this.createLoadingIndicator(e.indicatorOptions),n=this.createLoader(t);return n.append(o),this.appendLoader(n,a)}close(e){const t=this.findLoader(e);if(t){if(t.dataset.container){const e=document.querySelector(t.dataset.container);e&&(e.style.position=e.dataset.vegaLoaderOriginPosition||"static")}t.remove()}}findLoader(e){var t,a;let o;if(e.includes(">>>")){const[n,i]=e.split(">>>");o=null===(a=null===(t=document.querySelector(n))||void 0===t?void 0:t.shadowRoot)||void 0===a?void 0:a.getElementById(i)}else o=document.getElementById(e);return o}createLoader(e){const t=document.createElement("vega-loader-wrapper");return t.className=o(["body"===e?"fixed-wrapper":"absolute-wrapper"]),t.dataset.container=e,t.id=`vega-loader-${a()}`,t}createLoadingIndicator(e={}){const t=document.createElement("vega-loading-indicator");return Object.assign(t,e),t}appendLoader(e,t){return t.dataset.vegaLoaderOriginPosition=t.style.position,t.style.position="relative",t.shadowRoot?(t.shadowRoot.append(e),`${e.dataset.container}>>>${e.id}`):(t.append(e),e.id)}}!function(e,t,a,o){var n,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,a,o);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(c=(i<3?n(c):i>3?n(t,a,c):n(t,a))||c);i>3&&c&&Object.defineProperty(t,a,c)}([e()],y.prototype,"vegaPublicAPIRuntimeMetricsSlimmer",void 0);const g=new y,v=[{payloadKey:"IS_OPEN_METHOD_CALLED",payloadDescription:"Indicate if the method open of public API VegaNotifyController is called",canAccept:(e,t)=>"VegaNotifyController"===e&&"open"===t,payloadValue:()=>!0},{payloadKey:"IS_CLOSE_METHOD_CALLED",payloadDescription:"Indicate if the method close of public API VegaNotifyController is called",canAccept:(e,t)=>"VegaNotifyController"===e&&"close"===t,payloadValue:()=>!0},{payloadKey:"IS_CLOSEALL_METHOD_CALLED",payloadDescription:"Indicate if the method closeAll of public API VegaNotifyController is called",canAccept:(e,t)=>"VegaNotifyController"===e&&"closeAll"===t,payloadValue:()=>!0}];var m=function(e,t,a,o){var n,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,a,o);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(c=(i<3?n(c):i>3?n(t,a,c):n(t,a))||c);return i>3&&c&&Object.defineProperty(t,a,c),c};class h{constructor(){this.resizeObserverSlimmer=r(h,d,[],[{mapFrom:"connectResizeObserver",mapTo:"connectResizeObserver"}],[{callback:e=>{var t;!(e[0].contentRect.height>0)&&(null===(t=this.container)||void 0===t?void 0:t.classList.contains("hydrated"))&&(s.removeZIndex(this.container,"top"),this.container.remove(),this.container=null)},target:()=>this.container}]),this.vegaPublicAPIRuntimeMetricsSlimmer=t(h,["open","close","closeAll"],v)}async open(e){const t=this.createPageNotification(e);return this.getContainer().append(t),t.id}async closeAll(){this.container&&Array.from(this.container.children).forEach((e=>{e.close()}))}async close(e){await document.getElementById(e).close()}connectResizeObserver(){}createPageNotification(e){const t=document.createElement("vega-page-notification");return Object.keys(e).forEach((a=>{void 0!==e[a]&&(t[a]=e[a])})),t.style.marginBottom=n()===i.MOBILE?"12px":"16px",t.id=`vega-page-notification-${a()}`,t}getContainer(){return this.container||(this.container=document.createElement("vega-page-notification-list"),s.setZIndex(this.container,"top"),n()===i.MOBILE?this.container.classList.add("vega-page-notification-list-bottom"):this.container.classList.add("vega-page-notification-list-topRight"),document.body.append(this.container),this.connectResizeObserver()),this.container}}m([l()],h.prototype,"resizeObserverSlimmer",void 0),m([e()],h.prototype,"vegaPublicAPIRuntimeMetricsSlimmer",void 0);const I=new h,A=[{payloadKey:"IS_SETSEMANTICS_METHOD_CALLED",payloadDescription:"Indicate if the method setSemantics of public API VegaEventManager is called",canAccept:(e,t)=>"VegaEventManager"===e&&"setSemantics"===t,payloadValue:()=>!0},{payloadKey:"IS_GETSEMANTICS_METHOD_CALLED",payloadDescription:"Indicate if the method getSemantics of public API VegaEventManager is called",canAccept:(e,t)=>"VegaEventManager"===e&&"getSemantics"===t,payloadValue:()=>!0},{payloadKey:"IS_GETENABLEDEVENTIDSBYCOMPONENT_METHOD_CALLED",payloadDescription:"Indicate if the method getEnabledEventIdsByComponent of public API VegaEventManager is called",canAccept:(e,t)=>"VegaEventManager"===e&&"getEnabledEventIdsByComponent"===t,payloadValue:()=>!0},{payloadKey:"globalEventIsNative",payloadDescription:"Indicate if the vega components will emit events without the vega prefix",canAccept:(e,t)=>"VegaEventManager"===e&&"setSemantics"===t,payloadValue:e=>!(!e.global||"native"!==e.global.namespace)},{payloadKey:"eventOfSpecificComponentsIsNative",payloadDescription:"Indicate if the vega components will emit events with the vega prefix, but special components will emit events without vega prefix",canAccept:(e,t)=>"VegaEventManager"===e&&"setSemantics"===t,payloadValue:e=>{const t=e;if(t.components){const e=Object.keys(t.components);return!!(e.length>0&&"native"===t.components[e[0]].namespace)}return!1}},{payloadKey:"eventOfSpecificComponentsIsVega",payloadDescription:"Indicate if the vega components will emit events without the vega prefix, but special components will emit events with vega prefix",canAccept:(e,t)=>"VegaEventManager"===e&&"setSemantics"===t,payloadValue:e=>{const t=e;if(t.global&&t.components){const e=Object.keys(t.components);return!!("native"===t.global.namespace&&e.length>0&&"vega"===t.components[e[0]].namespace)}return!1}},{payloadKey:"globalJqueryDelegatedEventIsTrue",payloadDescription:"Indicate if the use jQuery with event delegation",canAccept:(e,t)=>"VegaEventManager"===e&&"setSemantics"===t,payloadValue:e=>!(!e.global||!0!==e.global.jqueryDelegatedEvent)},{payloadKey:"jqueryDelegatedEventIsCustomStrategy",payloadDescription:"Indicate if the use jQuery with event delegation",canAccept:(e,t)=>"VegaEventManager"===e&&"setSemantics"===t,payloadValue:e=>{const t=e;return!!(t.global&&Array.isArray(t.global.jqueryDelegatedEvent)&&t.global.jqueryDelegatedEvent.length>0)}},{payloadKey:"jqueryDelegatedEventOfSpecialComponentsIsTrue",payloadDescription:"Indicate if the use jQuery with event delegation",canAccept:(e,t)=>"VegaEventManager"===e&&"setSemantics"===t,payloadValue:e=>{const t=e;if(t.components){const e=Object.keys(t.components);return!!(e.length>0&&!0===t.components[e[0]].jqueryDelegatedEvent)}return!1}}];class E{constructor(){this.vegaPublicAPIRuntimeMetricsSlimmer=t(E,["setSemantics","getSemantics","getEnabledEventIdsByComponent"],A)}setSemantics(e){p.setSemantics(e)}getSemantics(e){return p.getSemantics(e)}getEnabledEventIdsByComponent(e){return p.getEnabledEventIdsByComponent(e)}}!function(e,t,a,o){var n,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,a,o);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(c=(i<3?n(c):i>3?n(t,a,c):n(t,a))||c);i>3&&c&&Object.defineProperty(t,a,c)}([e()],E.prototype,"vegaPublicAPIRuntimeMetricsSlimmer",void 0);const b=new E,L=[{payloadKey:"IS_OVERRIDEZINDEXBASICVALUES_METHOD_CALLED",payloadDescription:"Indicate if the method overrideZIndexBasicValues of public API ZIndexManager is called",canAccept:(e,t)=>"VegaZIndexManager"===e&&"overrideZIndexBasicValues"===t,payloadValue:()=>!0},{payloadKey:"zIndexBasicValuesGreatThanTenThousand",payloadDescription:"Indicate if the basic z-index value is great than ten thousand",canAccept:(e,t)=>"VegaZIndexManager"===e&&"overrideZIndexBasicValues"===t,payloadValue:e=>e.base>1e4}];class V{constructor(){this.vegaPublicAPIRuntimeMetricsSlimmer=t(V,["overrideZIndexBasicValues"],L)}overrideZIndexBasicValues(e){s.overrideZIndexBasicValues(e)}}!function(e,t,a,o){var n,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,a,o);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(c=(i<3?n(c):i>3?n(t,a,c):n(t,a))||c);i>3&&c&&Object.defineProperty(t,a,c)}([e()],V.prototype,"vegaPublicAPIRuntimeMetricsSlimmer",void 0);const D=new V,S=[{payloadKey:"IS_LOAD_METHOD_CALLED",payloadDescription:"Indicate if the method load of public API VegaSkeletonLoaderController is called",canAccept:(e,t)=>"VegaSkeletonLoaderController"===e&&"load"===t,payloadValue:()=>!0},{payloadKey:"IS_UNLOAD_METHOD_CALLED",payloadDescription:"Indicate if the method unLoad of public API VegaSkeletonLoaderController is called",canAccept:(e,t)=>"VegaSkeletonLoaderController"===e&&"unLoad"===t,payloadValue:()=>!0},{payloadKey:"IS_UNLOADALL_METHOD_CALLED",payloadDescription:"Indicate if the method unLoadAll of public API VegaSkeletonLoaderController is called",canAccept:(e,t)=>"VegaSkeletonLoaderController"===e&&"unLoadAll"===t,payloadValue:()=>!0}];class O{constructor(){this.vegaPublicAPIRuntimeMetricsSlimmer=t(O,["load","unLoad","unLoadAll"],S),this.loaderMap=new Map}load({target:e,type:t="text",width:o,height:n,items:i,layout:c}){const l=Array.from(document.body.querySelectorAll(e)),s=`vega-skeleton-loader-${a()}`,r=[];return l.forEach((e=>{const a=i?i.map(this.createSkeleton):[this.createSkeleton({type:t,width:o,height:n})],l=(c?[this.wrapLayout(a,c)]:a).map((e=>(e.dataset[O.LOADER_DATA_SET_KEY]=s,e)));r.push(...l),e.append(...l)})),this.loaderMap.set(s,r),s}unLoad(e){this.loaderMap.has(e)&&(this.loaderMap.get(e).forEach((e=>e.remove())),this.loaderMap.delete(e))}unLoadAll(){for(const e of this.loaderMap.values())e.forEach((e=>e.remove()));this.loaderMap.clear()}createSkeleton(e){const{type:t,width:a,height:o}=e,n=document.createElement("vega-skeleton");return Object.assign(n,{animated:!0,type:t,width:a,height:o}),n}wrapLayout(e,t){const a=document.createElement("vega-flex");return Object.assign(a,Object.assign({className:"vega-skeleton-loader-template-container"},t.props)),Object.assign(a.style,t.style),a.append(...e),a}}O.LOADER_DATA_SET_KEY="vegaSkeletonLoaderKey",function(e,t,a,o){var n,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,a,o);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(c=(i<3?n(c):i>3?n(t,a,c):n(t,a))||c);i>3&&c&&Object.defineProperty(t,a,c)}([e()],O.prototype,"vegaPublicAPIRuntimeMetricsSlimmer",void 0);const C=new O;var j;!function(e){e.ALIGNMENT="ALIGNMENT",e.TEXT_STYLE="TEXT_STYLE",e.INDENT="INDENT"}(j||(j={}));class M extends u{}export{M as B,g as V,I as a,b,D as c,C as d,j as e}
@@ -0,0 +1 @@
1
+ import{d as t,V as e,h as o}from"./p-9c1eeff2.js";import{D as s,b as r,M as i,N as n,V as c}from"./p-a5ffe912.js";import{V as l}from"./p-a6a7d0c9.js";import{T as h,c as a,d as u,R as p}from"./p-315667f1.js";import{d as v,a as d}from"./p-8c26227e.js";var f=function(t,e,o,s){var r,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,s);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);return i>3&&n&&Object.defineProperty(e,o,n),n};class m extends e{constructor({icon:t,tooltip:e}){super(),this.renderBtn=({showArrowIcon:t,iconColor:e}={})=>{var i,n;return o("vega-tooltip",{text:this.tooltip.text,placement:["bottom","top"]},o("vega-rich-text-editor-toolbar-button",Object.assign({showArrowIcon:t,icon:this.icon,iconColor:e,ref:t=>{s.addUniqueObserverToNode(t,r,(()=>{this.handleClick()}))},selected:this.isSelected(),disabled:null===(i=this.isDisabled)||void 0===i?void 0:i.call(this)},this.preventLostFocus()),null===(n=this.renderSlotContent)||void 0===n?void 0:n.call(this)))},this.handleClick=()=>{"function"==typeof this.onClick&&(this.selectionController.getSelectedNodes().length?this.onClick():this.focusController.focusOnLastTextNode().then((()=>{this.onClick()})))},this.icon=t,this.tooltip=e}setIcon(t){this.icon=t}render(){return"function"==typeof this.renderBtnWrapper?this.renderBtnWrapper(this.renderBtn):this.renderBtn()}preventLostFocus(){return{onMouseDown:t=>t.preventDefault()}}}f([t()],m.prototype,"selectionController",void 0),f([t()],m.prototype,"focusController",void 0);class C extends h{constructor(t){super(),this.isFlushable=!0,this.textColor=t}toAnnotation(){return new a(this.textColor)}}var w=function(t,e,o,s){var r,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,s);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);return i>3&&n&&Object.defineProperty(e,o,n),n};class b extends m{constructor(){super({icon:"text",tooltip:{text:"Text Color"}}),this.popoverShow=!1,v.registerCustomDarkModeColor(b.formatDarkModeColor())}static formatDarkModeColor(){return u.reduce(((t,e)=>(e.dark&&(t[`rich-text-editor-${e.key}`]=e.dark),t)),{})}renderSlotContent(){return o("div",{class:"toolbar-btn-color-preview-box",style:{backgroundColor:this.getCurrentColor()}})}handlePopoverShowChange(){this.popoverShow=!0}handlePopoverHideChange(){this.popoverShow=!1}renderBtnWrapper(t){return o("vega-popover",{placement:"bottom",alignment:"center",ref:t=>{this.popoverRef=t,s.addUniqueObserverToNode(t,i,this.handlePopoverShowChange.bind(this)),s.addUniqueObserverToNode(t,n,this.handlePopoverHideChange.bind(this))}},o("div",{slot:"popover-content"},t({showArrowIcon:!1})),o("div",Object.assign({slot:"popover",style:{userSelect:"none"}},super.preventLostFocus()),this.renderPopoverContent()))}renderPopoverContent(){return o("vega-color-picker",{isInline:!0,colors:u.map((t=>t[this.isInDarkMode?"dark":"light"])),ref:t=>{s.addUniqueObserverToNode(t,c,this.handleChange.bind(this))},value:this.getCurrentColor()})}async handleChange(t){this.popoverShow&&(this.selectionController.getSelectedNodes().length||await this.focusController.focusOnLastTextNode(),this.selectionController.getSelectedNodes().filter((t=>t instanceof p)).forEach((e=>e.apply(new C(this.matchColor(t.detail).key))))),this.popoverRef.hide()}matchColor(t){return u.find((e=>e[this.isInDarkMode?"dark":"light"]===t))}getCurrentColor(){let t=u[0];const e=this.selectionController.getSelectedNodes();return e.length>1&&(t=this.isSelectedSameColor(e)?this.getTextColor(e[0]):null),1===e.length&&(t=this.getTextColor(e[0])),t?t[this.isInDarkMode?"dark":"light"]:null}isSelected(){return!1}isSelectedSameColor(t){return t.every((e=>this.getTextColor(e).key===this.getTextColor(t[0]).key))}getTextColor(t){var e;return(null===(e=t.getAnnotationByType("TEXT_COLOR"))||void 0===e?void 0:e.textColor)||u[0]}isDisabled(){return this.selectionController.getSelectedNodes().some((t=>{var e;return(null===(e=t.getAnnotationByType(d.CODE))||void 0===e?void 0:e.code)||t.getAnnotationByType(d.LINK)||t.getAnnotationByType(d.IMAGE)}))}}l.register({text:{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M64 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V80C0 53.5 21.5 32 48 32H224 400c26.5 0 48 21.5 48 48v48c0 17.7-14.3 32-32 32s-32-14.3-32-32V96H256l0 320h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H144c-17.7 0-32-14.3-32-32s14.3-32 32-32h48l0-320H64z"/></svg>'}}),w([t()],b.prototype,"host",void 0),w([t()],b.prototype,"isInDarkMode",void 0),w([t()],b.prototype,"selectionController",void 0),w([t()],b.prototype,"focusController",void 0);export{b as T,m as a}
@@ -0,0 +1 @@
1
+ import{B as t}from"./p-74168615.js";import{B as r}from"./p-ed45b3b6.js";const e=()=>{let e=t.length-1;const o=window.innerWidth;for(;e>=0;e--){const s=t[e];if("default"===s)break;if(o>=r[s])return s}return"default"},o=r=>{let e;return t.forEach((t=>{Object.prototype.hasOwnProperty.call(r,t)?e=r[t]:r[t]=e})),r};export{o as c,e as g}
@@ -0,0 +1 @@
1
+ import{d as t,V as s,I as e,M as i}from"./p-9c1eeff2.js";import{c as r}from"./p-0bb29d98.js";import{C as n}from"./p-443ad3b3.js";import{d as o,O as h,D as a}from"./p-a5ffe912.js";import{U as l,c,d,b as u,e as f,F as m,f as p,g as v}from"./p-d057999f.js";import{f as b,c as g}from"./p-1995e98e.js";import{i as R,g as y}from"./p-3ce31dc3.js";import{c as w}from"./p-59bdf9b8.js";import{c as j,d as O}from"./p-f357cf46.js";import{V as E}from"./p-e1e1fcf0.js";import{P as F}from"./p-70151c27.js";import{M as I}from"./p-843a0c1c.js";import{A as V}from"./p-a9354a5c.js";import{i as C}from"./p-b0502d01.js";class k{constructor(t){this.rule=t}getStatus(t,s,e){return{canEvaluate:this.rule.canEvaluate(t,s,e),isAsync:R(this.rule.evaluate)}}shouldShowError(t,s){try{return this.rule.shouldShowError?this.rule.shouldShowError(t,s):this.defaultShouldShowError(t)}catch(t){return!1}}handle(t){try{return this.rule.evaluate(t)}catch(t){return{isValid:!0,message:""}}}defaultShouldShowError(t){return!t.disabled&&t.visible&&(t.touched||t.modified)}}class A{constructor(){this.handlers=[],this.processId=""}checkIncludesAsyncRuleHandler(t,s,e){return!!this.handlers.find((i=>{const r=i.getStatus(t,s,e);return r.canEvaluate&&r.isAsync}))}setHandlersByRules(t){this.handlers=t&&t.length?t.map((t=>new k(t))):[]}async process(t,s,e,i,r){const n=this.preProcess();let o;for(const i of this.handlers){if(n!==this.processId)break;const r=i.getStatus(t,s,e);if(!r.canEvaluate)continue;let h;if(r.isAsync)try{h=await i.handle(t)}catch(t){}else h=i.handle(t);if(h&&!h.isValid){const t=i.shouldShowError(s,e);o=Object.assign(Object.assign({},h),{shouldShowError:t});break}}return this.postProcess(n,i,o,r),!o}preProcess(){const t=y();return this.processId=t,t}postProcess(t,s,e,i){this.processId===t&&i(s,e)}}class S{run(t){const s=t.nextElementSibling;return s&&s.querySelector(".vega-error")?s.querySelector(".vega-error"):null}}class T{run(t){let s=t.nextElementSibling;return s&&!s.classList.contains("vega-error")&&(s=document.createElement("label"),s.classList.add("vega-error"),s.setAttribute("part","field-error-message"),t.after(s)),s}}class L{run(t){let s=t.nextElementSibling;return s||(s=document.createElement("label"),s.classList.add("vega-error"),s.setAttribute("part","field-error-message"),t.after(s)),s}}var M=function(t,s,e,i){var r,n=arguments.length,o=n<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,e,i);else for(var h=t.length-1;h>=0;h--)(r=t[h])&&(o=(n<3?r(o):n>3?r(s,e,o):r(s,e))||o);return n>3&&o&&Object.defineProperty(s,e,o),o};class U extends s{constructor(){super(),this.fieldErrorUiControllerStrategies=[new S,new T,new L],this.initTranslationObserver()}applyInputInvalidUI(t){this.errorMessage=t;const s=this.getInputElementContainer();if(t&&s){const e=this.getErrorContainer(s);e.innerHTML=this.getTranslatedMessage(t),e.classList.remove("vega-hidden"),s.classList.add("error"),n.notify(o.getSubject(this.host,j),{host:this.host,showError:!0})}}resetInputInvalidUI(){this.errorMessage="";const t=this.getInputElementContainer();t&&(this.getErrorContainer(t).classList.add("vega-hidden"),t.classList.remove("error"),n.notify(o.getSubject(this.host,j),{host:this.host,showError:!1}))}getInputElementContainer(){return this.options&&this.options.inputContainerGetter?this.options.inputContainerGetter():null}getErrorContainer(t){for(const s of this.fieldErrorUiControllerStrategies){const e=s.run(t);if(e)return e}}getTranslatedMessage(t){return"string"==typeof t?E.t(t):E.t(t.key,...t.args||[])}initTranslationObserver(){const t=new h(this.isAcceptableTranslationObserver.bind(this),(()=>{if(!this.errorMessage)return;const t=this.getInputElementContainer();if(t){const s=this.getErrorContainer(t);s&&(s.innerHTML=this.getTranslatedMessage(this.errorMessage))}}));n.register(l,t)}isAcceptableTranslationObserver(){return!0}}M([t()],U.prototype,"host",void 0),M([t()],U.prototype,"options",void 0);var D=function(t,s,e,i){var r,n=arguments.length,o=n<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,e,i);else for(var h=t.length-1;h>=0;h--)(r=t[h])&&(o=(n<3?r(o):n>3?r(s,e,o):r(s,e))||o);return n>3&&o&&Object.defineProperty(s,e,o),o};class B{constructor(t,s,e,i){var r,o;this.fieldErrorUIController=new U,this.resizeObserverSlimmer=w(B,F,[],[{mapFrom:"connectResizeObserver",mapTo:"connectResizeObserver"}],[{callback:t=>{const s=this.isVisible,e=t[0].contentRect.height>0;this.isVisible=e,this.isAutoValidationEnabled()&&b(this.host,"vega-form")&&s!==e&&this.valid(["visible"])},target:()=>this.host}]),this.defaultRules=[],this.additionalRules=[],this.listeners=[],this.isTouched=!1,this.isModified=!1,this.isVisible=!1,this.formFieldValidationRuleHandlerChain=new A,this.hostChildAddedBlurEventMap=new WeakMap,this.handleValidationResult=(t,s)=>{let e=!0;return s?("rule"===t?s.shouldShowError?this.fieldErrorUIController.applyInputInvalidUI(s.message):this.fieldErrorUIController.resetInputInvalidUI():t?this.fieldErrorUIController.applyInputInvalidUI(s.message):this.fieldErrorUIController.resetInputInvalidUI(),e=!1):this.fieldErrorUIController.resetInputInvalidUI(),this.invokeListeners(e),n.notify(c,{host:this.host,detail:e}),e},this.setupTouchedListener=()=>{this.getTouchableAreaElements().filter((t=>!0!==this.hostChildAddedBlurEventMap.get(t))).forEach((t=>{t.addEventListener("blur",(()=>{this.updateIsTouched(!0)})),this.hostChildAddedBlurEventMap.set(t,!0)}))},this.defaultRules=t||[],this.host=s,this.defaultValue=e,this.options=i,this.initDisabledAttrObserver(),this.connectResizeObserver(),this.initFormResetObserver(),null===(o=(r=this.host).componentOnReady)||void 0===o||o.call(r).then((()=>{this.didRender()})),this.setupModifiedListener(),this.listenHostElementKeydown(),this.updateValidationHandlers()}async validate(t){return await this.valid([],t)}addListener(t){this.listeners.push(t)}getRules(){return[...this.defaultRules,...this.additionalRules]}setDefaultRules(t){this.defaultRules=t,this.updateValidationHandlers()}setAdditionalRules(t){this.additionalRules=t,this.updateValidationHandlers()}destroy(){n.notify(d,{host:this.host}),this.unregisterFormResetObserver(),n.unregister(u,this.hostValueChangeObserver),this.hostChildrenObserver&&this.hostChildrenObserver.disconnect()}connectResizeObserver(){}updateValidationHandlers(){this.formFieldValidationRuleHandlerChain.setHandlersByRules(this.getRules())}async valid(t,s="rule"){const e=this.getStatus(),i=this.host.value;return this.formFieldValidationRuleHandlerChain.checkIncludesAsyncRuleHandler(i,e,t)&&n.notify(c,{host:this.host,detail:null}),await this.formFieldValidationRuleHandlerChain.process(i,e,t,s,this.handleValidationResult)}invokeListeners(t){this.listeners.forEach((s=>s.callback(t)))}getStatus(){return{touched:this.isTouched,modified:this.isModified,disabled:this.host.disabled,visible:this.isVisible}}updateIsTouched(t){const s=this.isTouched;this.isTouched=t,this.isAutoValidationEnabled()&&this.valid(s===t?[]:["touched"])}updateIsModified(t){const s=this.isModified;this.isModified=t,this.isAutoValidationEnabled()&&this.valid(s===t?[]:["modified"])}initDisabledAttrObserver(){this.disabledAttrObserver=new MutationObserver((()=>{this.isAutoValidationEnabled()&&this.valid(["disabled"])})),this.disabledAttrObserver.observe(this.host,{attributes:!0,attributeFilter:["disabled"]})}canAcceptFormResetOperation(t){return b(this.host,"vega-form")===t.host}unregisterFormResetObserver(){n.unregister(f,this.formResetTriggeredObserver)}monitorTouchedListener(){const t=this.getInputContainerElements();t&&(this.hostChildrenObserver=new MutationObserver((()=>{this.setupTouchedListener()})),this.hostChildrenObserver.observe(t,{childList:!0,subtree:!0})),this.setupTouchedListener()}getTouchableAreaElements(){return this.options&&this.options.touchableAreaGetter?this.options.touchableAreaGetter():[]}getInputContainerElements(){return this.options&&this.options.inputContainerGetter?this.options.inputContainerGetter():null}setupModifiedListener(){this.hostValueChangeObserver=new h(this.isCurrentTarget.bind(this),(()=>this.updateIsModified(!0))),n.register(u,this.hostValueChangeObserver)}isCurrentTarget(t){return this.host===t.host}async reset(t){var s,e;if(this.shouldVisitElement(this.host,null===(s=t.option)||void 0===s?void 0:s.skipDisabled,null===(e=t.option)||void 0===e?void 0:e.skipInvisible)){const s=t.defaultValueMap,e=this.host.dataset.vegaForm,i=null==s[e]?this.getDefaultValue():s[e];"function"==typeof this.host.setValue?await this.host.setValue(i):this.host.value=i,this.isTouched=!1,this.isModified=!1,this.fieldErrorUIController.resetInputInvalidUI()}}getDefaultValue(){return this.defaultValue instanceof Function?this.defaultValue(this.host):this.defaultValue}didRender(){this.monitorTouchedListener()}initFormResetObserver(){this.formResetTriggeredObserver=new h(this.canAcceptFormResetOperation.bind(this),this.reset.bind(this)),n.register(f,this.formResetTriggeredObserver)}isAutoValidationEnabled(){return!1!==this.host.autoValidation}shouldVisitElement(t,s,e){return!(!t.dataset.vegaForm||s&&t.disabled||e&&!g(t))}listenHostElementKeydown(){this.host.addEventListener("keydown",(t=>{this.canSubmitFormByEvent(t)&&n.notify(m,{host:this.host})}))}canSubmitFormByEvent(t){const s="Enter"===t.key||13===t.keyCode,e=s&&t.shiftKey;switch(this.host.tagName){case"VEGA-TEXTAREA":case"VEGA-DATE-PICKER":case"VEGA-TIME-PICKER":return e&&t.preventDefault(),e;default:return s}}}D([e()],B.prototype,"fieldErrorUIController",void 0),D([e()],B.prototype,"resizeObserverSlimmer",void 0);var H=function(t,s,e,i){var r,n=arguments.length,o=n<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,e,i);else for(var h=t.length-1;h>=0;h--)(r=t[h])&&(o=(n<3?r(o):n>3?r(s,e,o):r(s,e))||o);return n>3&&o&&Object.defineProperty(s,e,o),o};class P extends s{constructor(){super(...arguments),this.fieldErrorUIController=new U,this.handleFieldErrorMessageUpdate=t=>{const{message:s}=t;s?this.fieldErrorUIController.applyInputInvalidUI(s):this.fieldErrorUIController.resetInputInvalidUI()}}handleComponentWillLoadByFieldErrorSlimmer(){this.fieldErrorMessageChangeObserver=new h(this.canAcceptFieldErrorMessageUpdate.bind(this),this.handleFieldErrorMessageUpdate),n.register(p,this.fieldErrorMessageChangeObserver)}handleUnregisterObserver(){n.unregister(p,this.fieldErrorMessageChangeObserver)}canAcceptFieldErrorMessageUpdate(t){const{host:s}=t,e=this.host.parentElement;return!(!e||e!==s)}}H([t()],P.prototype,"host",void 0),H([t()],P.prototype,"options",void 0),H([e()],P.prototype,"fieldErrorUIController",void 0),H([i("setInjectFormFieldHelper")],P.prototype,"handleComponentWillLoadByFieldErrorSlimmer",null),H([i("disconnectedCallback")],P.prototype,"handleUnregisterObserver",null);var x=function(t,s,e,i){var r,n=arguments.length,o=n<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,e,i);else for(var h=t.length-1;h>=0;h--)(r=t[h])&&(o=(n<3?r(o):n>3?r(s,e,o):r(s,e))||o);return n>3&&o&&Object.defineProperty(s,e,o),o};class z extends s{constructor(){super(...arguments),this.handleValidInvocation=async t=>{if(this.validator){void 0!==t.timerId&&clearTimeout(t.timerId);const s=await this.validator.validate(t.message);"function"==typeof t.promiseResolve&&t.promiseResolve(s)}}}registerValidInvocationObserver(){a.addUniqueObserverToNode(this.host,O,this.handleValidInvocation)}handleUnregisterObserver(){a.removeUniqueObserverFromNode(this.host,O)}}x([t()],z.prototype,"host",void 0),x([t()],z.prototype,"validator",void 0),x([i("setInjectFormFieldHelper")],z.prototype,"registerValidInvocationObserver",null),x([i("disconnectedCallback")],z.prototype,"handleUnregisterObserver",null);var G=function(t,s,e,i){var r,n=arguments.length,o=n<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,e,i);else for(var h=t.length-1;h>=0;h--)(r=t[h])&&(o=(n<3?r(o):n>3?r(s,e,o):r(s,e))||o);return n>3&&o&&Object.defineProperty(s,e,o),o};class W extends s{constructor(t){super(),this.fieldErrorSlimmer=new P,this.formFieldValidInvokeSlimmer=new z,this.mutationObserverCallBack=()=>{this.validator&&(this.setDefaultRules(),this.internalValidate())},this.options=t,this.setMutationObserverSlimmer()}connectedCallback(){null===this.validator&&this.setInjectFormFieldHelper()}disconnectedCallback(){this.validator&&(this.validator.destroy(),this.validator=null)}componentDidLoad(){}static isValidFormField(t){return t&&Boolean(t.getAttribute("data-vega-form"))}watchValidationRulesByFormControllerSlimmer(t,s){C(t,s)||(this.setAdditionalRules(),this.internalValidate())}setInjectFormFieldHelper(){if(W.isValidFormField(this.host)){const{defaultValue:t}=this.options,s=new B(this.getPropertyRules(),this.host,t,this.options);s.addListener({callback:t=>{this.isValid!=t&&(this.isValid=t,n.notify(v,{host:this.host,detail:t}))}}),this.validator=s,this.setAdditionalRules()}}setAdditionalRules(){this.options.validationRulesName&&"validationRules"===this.options.validationRulesName&&this.validator&&this.validator.setAdditionalRules(this.validationRules||[])}setDefaultRules(){this.validator&&this.validator.setDefaultRules(this.getPropertyRules())}getPropertyRules(){const{propertyRules:t,attributeGetter:s}=this.options;return t.map((t=>{const e=t.dependence&&"string"==typeof t.dependence?[s(t.dependence)]:Array.isArray(t.dependence)?t.dependence.map((t=>s(t))):[null];return t.ruleFactory(s(t.propertyName),...e)})).filter(Boolean)}internalValidate(){!this.disabled&&this.validator&&this.validator.validate()}setMutationObserverSlimmer(){this.mutationObserverSlimmer=new I({options:{attributeFilter:this.options.propertyRules.map((t=>r(t.propertyName))),attributeOldValue:!0},mutationFilter:V(),callback:this.mutationObserverCallBack})}}G([t()],W.prototype,"host",void 0),G([t({writable:!0})],W.prototype,"validationRules",void 0),G([t()],W.prototype,"disabled",void 0),G([t()],W.prototype,"autoValidation",void 0),G([t({writable:!0})],W.prototype,"isValid",void 0),G([e()],W.prototype,"fieldErrorSlimmer",void 0),G([e()],W.prototype,"formFieldValidInvokeSlimmer",void 0),G([e()],W.prototype,"mutationObserverSlimmer",void 0),G([i("connectedCallback")],W.prototype,"connectedCallback",null),G([i("disconnectedCallback")],W.prototype,"disconnectedCallback",null),G([i("componentDidLoad")],W.prototype,"componentDidLoad",null),G([i("watchValidationRules")],W.prototype,"watchValidationRulesByFormControllerSlimmer",null),G([i("componentWillLoad")],W.prototype,"setInjectFormFieldHelper",null);export{W as F}
@@ -0,0 +1 @@
1
+ import{r as t,e,h as i,H as a,g as r,I as n}from"./p-9c1eeff2.js";import{M as s,a as o}from"./p-f41102cd.js";import{R as p}from"./p-3152031c.js";import{s as h}from"./p-296cc56b.js";import{V as d,I as l}from"./p-8f93242a.js";import{F as x}from"./p-4c41dd64.js";import{b as g}from"./p-d057999f.js";import{C as f}from"./p-443ad3b3.js";import{c as m}from"./p-11cb477b.js";import{V as c,A as v}from"./p-a5ffe912.js";import{C as b}from"./p-39836361.js";import"./p-0bb29d98.js";import"./p-1995e98e.js";import"./p-3ce31dc3.js";import"./p-59bdf9b8.js";import"./p-f357cf46.js";import"./p-e1e1fcf0.js";import"./p-70151c27.js";import"./p-4bcd6612.js";import"./p-74168615.js";import"./p-ed45b3b6.js";import"./p-843a0c1c.js";import"./p-a9354a5c.js";import"./p-b0502d01.js";import"./p-262ec334.js";import"./p-f763e2eb.js";import"./p-5f377954.js";import"./p-acf7f903.js";import"./p-7a40e033.js";import"./p-112455b1.js";const u=[{payloadKey:"AUTO_VALIDATION_IS_TRUE",payloadDescription:"Determines whether automatic validation should be implemented for the text area",payloadValue:t=>!0===t.autoValidation},{payloadKey:"AUTO_VALIDATION_IS_FALSE",payloadDescription:"Determines whether automatic validation should be implemented for the text area",payloadValue:t=>!1===t.autoValidation}];var w=function(t,e,i,a){var r,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const y=class{constructor(a){t(this,a),this.vegaChange=e(this,"vegaChange",7),this.change=e(this,"change",7),this.vegaBlur=e(this,"vegaBlur",7),this.blur=e(this,"blur",7),this.globalSlimmers={},this.formFieldController=new x({propertyRules:[{propertyName:"required",ruleFactory:t=>t?new p:null},{propertyName:"minLength",ruleFactory:t=>t?new s({minStrLength:t}):null},{propertyName:"maxLength",ruleFactory:t=>t?new o({maxStrLength:t}):null}],validationRulesName:"validationRules",defaultValue:"",attributeGetter:t=>this[t],inputContainerGetter:()=>this.inputContainerRef,touchableAreaGetter:()=>[this.textareaRef]}),this.changeEventEmitter=m(y,c),this.blurEventEmitter=m(y,v),this.textareaEventPrevent=new b([c],(()=>this.inputContainerRef)),this.vegaComponentUsageRuntimeMetricsSlimmer=new d(u),this.currentCharCount=0,this.placeholder="",this.hint="",this.disabled=!1,this.label="",this.showCounter=!1,this.value="",this.isValid=null,this.autoValidation=!0,this.required=!1,this.maxLength=null,this.minLength=null,this.resizable=!0,this.validationRules=[],this.renderTextareaContainer=()=>i("div",{class:{"vega-textarea-container":!0,"vega-textarea-not-resizable":!this.resizable},ref:t=>this.inputContainerRef=t},i("textarea",{rows:4,placeholder:this.placeholder,disabled:this.disabled,required:this.required,ref:this.setTextareaRef,maxLength:this.maxLength,minLength:this.minLength,value:this.value,onBlur:this.handleTextareaBlur,"aria-label":this.label||"No label defined"}),this.showCounter&&this.renderCharacterCounter()),this.renderHintMessage=()=>i("vega-text",null,this.hint),this.renderCharacterCounter=()=>i("div",{class:{"vega-textarea-counter":!0,"counter-exceed-max-length":this.isExceedMaxLength(this.value,this.maxLength)}},i("span",{id:"current"},this.currentCharCount),null!=this.maxLength&&this.renderMaxLengthNumber()),this.renderMaxLengthNumber=()=>i("span",{id:"maximum"},"/",this.maxLength),this.setTextareaRef=t=>{t&&this.textareaRef!==t&&(this.textareaRef=t)},this.inputFocus=()=>{this.textareaRef.focus()},this.handleTextareaBlur=t=>{this.blurEventEmitter.emit(void 0,t)},this.isExceedMaxLength=(t,e)=>null!=e&&t.length>e}watchValue(t){this.changeEventEmitter.emit(t),this.textareaRef.value!==this.value&&(this.textareaRef.value=this.value),t&&(this.currentCharCount=t.length),f.notify(g,{host:this.host,detail:t})}watchValidationRules(){}componentWillLoad(){this.currentCharCount=this.value.length}handleValueTextarea(){this.value=this.textareaRef.value,this.currentCharCount=this.value.length}render(){return h(i(a,{class:{disabled:this.disabled}},this.renderLabelDom(),this.renderTextareaContainer(),this.hint&&this.renderHintMessage()),this.host)}renderLabelDom(){return i("vega-field-label",{onClick:this.inputFocus,"is-field-required":this.required,disabled:this.disabled,label:this.label})}get host(){return r(this)}static get watchers(){return{value:["watchValue"],validationRules:["watchValidationRules"]}}};w([l()],y.prototype,"globalSlimmers",void 0),w([n()],y.prototype,"formFieldController",void 0),w([n()],y.prototype,"changeEventEmitter",void 0),w([n()],y.prototype,"blurEventEmitter",void 0),w([n()],y.prototype,"textareaEventPrevent",void 0),w([n()],y.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),y.style=':host{display:inline-block;width:100%;text-align:left}:host .vega-textarea-container{display:flex;position:relative;width:100%;resize:vertical;box-sizing:border-box;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:8px;overflow:hidden;font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));min-height:50px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-textarea-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){:host .vega-textarea-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){:host .vega-textarea-container{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host textarea{display:block;position:relative;padding-top:12px;padding-right:16px;padding-bottom:32px;padding-left:16px;width:100%;resize:vertical;box-sizing:border-box;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border-radius:8px;outline:2px solid transparent;outline-offset:2px;border-style:none;overflow:auto;font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));min-height:48px}@media screen and (min-width: 768px) and (max-width: 1023px){:host textarea{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){:host textarea{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){:host textarea{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .vega-textarea-container.vega-textarea-not-resizable{resize:none}:host .vega-textarea-container.vega-textarea-not-resizable textarea{resize:none}:host vega-field-label{margin-bottom:8px}:host .vega-textarea-counter{position:absolute;bottom:8px;right:8px;display:flex;padding-left:4px;padding-right:4px;padding-top:2px;padding-bottom:2px;border-radius:4px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1));background-color:rgba(var(--v-bg-textarea-count, 4, 4, 28, 0.6))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-textarea-counter{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){:host .vega-textarea-counter{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){:host .vega-textarea-counter{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .vega-textarea-counter.counter-exceed-max-length{background-color:rgba(var(--v-bg-textarea-counter-exceed-max-length, 214, 46, 81))}:host textarea::placeholder{color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}:host .vega-error{display:inline-block;padding-left:8px;padding-right:8px;padding-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){:host .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){:host .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){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host vega-text{padding-left:8px;padding-right:8px;padding-top:12px;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){:host vega-text{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){:host vega-text{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){:host vega-text{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .vega-textarea-container:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}:host .vega-textarea-container:focus-within{border:1px solid rgba(var(--v-border-input-field-focus, 19, 98, 226, 1));box-shadow:0 0 0 4px rgba(var(--v-ring-input-focus, 19, 98, 226, 0.25))}:host .vega-textarea-container.error{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}:host .vega-textarea-container.error:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}:host .vega-textarea-container.error:focus-within{border:1px solid rgba(var(--v-border-input-field-danger-focus, 233, 71, 104, 1));box-shadow:0 0 0 4px rgba(var(--v-ring-input-danger-focus, 230, 50, 87, 0.25))}:host(.disabled) textarea{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1));background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}:host(.disabled) .vega-textarea-container{border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}:host .vega-hidden{display:none}';export{y as vega_textarea}