@globalpayments/vega 2.46.0 → 2.47.1

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 (1020) hide show
  1. package/dist/cjs/{app-globals-7f00a8e5.js → app-globals-fdf98585.js} +19 -10
  2. package/dist/cjs/brand-switch-state-controller-slimmer-5efa1b24.js +51 -0
  3. package/dist/cjs/{child-nodes-event-prevent-slimmer-61f9c022.js → child-nodes-event-prevent-slimmer-37870b2e.js} +1 -1
  4. package/dist/cjs/{child-nodes-notify-observer-slimmer-3c7f4074.js → child-nodes-notify-observer-slimmer-5817a53b.js} +2 -2
  5. package/dist/cjs/{content-state-0ee9ced5.js → content-state-b1ec39e3.js} +4 -3023
  6. package/dist/cjs/dark-mode-state-controller-slimmer-add5d8a8.js +51 -0
  7. package/dist/cjs/dark-mode-style-controller-4adb7fb2.js +3470 -0
  8. package/dist/cjs/{design-token-ff558841.js → design-token-0c22ffa8.js} +1 -1
  9. package/dist/cjs/{dom-node-subject-factory-ab72ad1e.js → dom-node-subject-factory-d5826bff.js} +0 -30
  10. package/dist/cjs/{dom-node-subject-observer-factory-fee69743.js → dom-node-subject-observer-factory-a7a3b196.js} +3 -2
  11. package/dist/cjs/{element-appender-slimmer-9ef6cf74.js → element-appender-slimmer-b3109dd1.js} +8 -7
  12. package/dist/cjs/{event-emit-slimmer-739c6ae2.js → event-emit-slimmer-8247249c.js} +11 -3
  13. package/dist/cjs/{form-field-controller-slimmer-dc80ef32.js → form-field-controller-slimmer-2432e295.js} +88 -30
  14. package/dist/cjs/{image-annotation-action-3556655b.js → image-annotation-action-becd6f24.js} +6 -5
  15. package/dist/cjs/index-09acd3c9.js +4 -0
  16. package/dist/cjs/{index-3b33064d.js → index-ec9a1f36.js} +6 -5
  17. package/dist/cjs/index.cjs.js +22 -20
  18. package/dist/cjs/{internal-vega-event-manager-6b50f11d.js → internal-vega-event-manager-c9948b59.js} +1 -1
  19. package/dist/cjs/loader.cjs.js +16 -14
  20. package/dist/cjs/observer-f49483e8.js +32 -0
  21. package/dist/cjs/{public-rules-26da3a16.js → public-rules-3c2a69b4.js} +7 -5
  22. package/dist/cjs/{remote-invocation-registry-19e462cf.js → remote-invocation-registry-fc22fdd0.js} +3 -3
  23. package/dist/cjs/{responsive-format-facade-ae9b936d.js → responsive-format-facade-e48962dd.js} +3 -3
  24. package/dist/cjs/{rich-text-editor-required-rule-a847592c.js → rich-text-editor-required-rule-f08f5891.js} +1 -1
  25. package/dist/cjs/{static-subject-title-1c9670d5.js → static-subject-title-7e7d791a.js} +2 -0
  26. package/dist/cjs/{string-input-formatter-slimmer-87d92bbe.js → string-input-formatter-slimmer-56a2401f.js} +3 -3
  27. package/dist/cjs/{style-formatter-6fe93889.js → style-formatter-48ef74d4.js} +1 -1
  28. package/dist/cjs/{sub-state-notify-slimmer-d1cbcaa1.js → sub-state-notify-slimmer-b16c9094.js} +4 -3
  29. package/dist/cjs/{sub-state-observer-slimmer-4ff5cbf5.js → sub-state-observer-slimmer-1b6de09f.js} +4 -3
  30. package/dist/cjs/{translation-0e0f06ca.js → translation-212b1875.js} +1 -1
  31. package/dist/cjs/{translation-slimmer-777f4558.js → translation-slimmer-d1512c6d.js} +1 -1
  32. package/dist/cjs/vega-accordion.cjs.entry.js +16 -14
  33. package/dist/cjs/vega-app-footer.cjs.entry.js +52 -9
  34. package/dist/cjs/vega-app-header-button.cjs.entry.js +18 -16
  35. package/dist/cjs/vega-banner.cjs.entry.js +6 -5
  36. package/dist/cjs/vega-box.cjs.entry.js +14 -12
  37. package/dist/cjs/vega-brand-logo.cjs.entry.js +232 -0
  38. package/dist/cjs/vega-breadcrumb.cjs.entry.js +6 -5
  39. package/dist/cjs/vega-button-circle.cjs.entry.js +16 -14
  40. package/dist/cjs/vega-button-group_2.cjs.entry.js +11 -10
  41. package/dist/cjs/vega-button-link.cjs.entry.js +14 -11
  42. package/dist/cjs/vega-button.cjs.entry.js +15 -13
  43. package/dist/cjs/vega-calendar_3.cjs.entry.js +13 -12
  44. package/dist/cjs/vega-card.cjs.entry.js +13 -11
  45. package/dist/cjs/vega-carousel.cjs.entry.js +15 -13
  46. package/dist/cjs/vega-checkbox_2.cjs.entry.js +15 -13
  47. package/dist/cjs/vega-chip.cjs.entry.js +17 -15
  48. package/dist/cjs/vega-color-picker.cjs.entry.js +20 -15
  49. package/dist/cjs/vega-combo-box.cjs.entry.js +12 -10
  50. package/dist/cjs/vega-date-picker_2.cjs.entry.js +22 -19
  51. package/dist/cjs/vega-dialog_2.cjs.entry.js +15 -13
  52. package/dist/cjs/vega-divider.cjs.entry.js +13 -11
  53. package/dist/cjs/vega-dropdown_5.cjs.entry.js +22 -20
  54. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  55. package/dist/cjs/vega-field-error.cjs.entry.js +1 -1
  56. package/dist/cjs/vega-field-label.cjs.entry.js +5 -4
  57. package/dist/cjs/vega-file-uploader.cjs.entry.js +12 -10
  58. package/dist/cjs/vega-flag-icon.cjs.entry.js +14 -12
  59. package/dist/cjs/vega-flex.cjs.entry.js +12 -10
  60. package/dist/cjs/vega-font.cjs.entry.js +13 -11
  61. package/dist/cjs/vega-form.cjs.entry.js +71 -15
  62. package/dist/cjs/vega-grid.cjs.entry.js +13 -11
  63. package/dist/cjs/vega-icon.cjs.entry.js +13 -11
  64. package/dist/cjs/vega-image-uploader.cjs.entry.js +18 -15
  65. package/dist/cjs/vega-input-credit-card.cjs.entry.js +12 -10
  66. package/dist/cjs/vega-input-numeric.cjs.entry.js +12 -10
  67. package/dist/cjs/vega-input-phone-number.cjs.entry.js +86 -2472
  68. package/dist/cjs/vega-input-range.cjs.entry.js +13 -11
  69. package/dist/cjs/vega-input-select.cjs.entry.js +128 -74
  70. package/dist/cjs/vega-input.cjs.entry.js +13 -12
  71. package/dist/cjs/{vega-internal-event-id-a0ca9af9.js → vega-internal-event-id-dc866d43.js} +2 -0
  72. package/dist/cjs/vega-item-toggle.cjs.entry.js +5 -4
  73. package/dist/cjs/vega-left-nav_5.cjs.entry.js +40 -20
  74. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +12 -10
  75. package/dist/cjs/vega-page-notification_2.cjs.entry.js +3 -2
  76. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +6 -5
  77. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +7 -6
  78. package/dist/cjs/vega-pagination.cjs.entry.js +16 -14
  79. package/dist/cjs/vega-popover_2.cjs.entry.js +15 -13
  80. package/dist/cjs/vega-progress-tracker.cjs.entry.js +6 -5
  81. package/dist/cjs/vega-radio_2.cjs.entry.js +15 -13
  82. package/dist/cjs/vega-rich-text-content.cjs.entry.js +13 -11
  83. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +136 -176
  84. package/dist/cjs/vega-segment-control.cjs.entry.js +5 -4
  85. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +18 -16
  86. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +14 -13
  87. package/dist/cjs/vega-sidenav_3.cjs.entry.js +18 -16
  88. package/dist/cjs/vega-signature-capture.cjs.entry.js +19 -16
  89. package/dist/cjs/{vega-skeleton-loader-controller-cca8e896.js → vega-skeleton-loader-controller-db868c98.js} +177 -6
  90. package/dist/cjs/vega-stepper.cjs.entry.js +12 -10
  91. package/dist/cjs/vega-tab-group_2.cjs.entry.js +9 -8
  92. package/dist/cjs/vega-table_8.cjs.entry.js +30 -28
  93. package/dist/cjs/vega-textarea.cjs.entry.js +12 -10
  94. package/dist/cjs/vega-time-picker_2.cjs.entry.js +19 -16
  95. package/dist/cjs/vega-toggle-switch.cjs.entry.js +11 -9
  96. package/dist/cjs/vega-tooltip_2.cjs.entry.js +14 -12
  97. package/dist/cjs/vega.cjs.js +16 -14
  98. package/dist/collection/collection-manifest.json +6 -0
  99. package/dist/collection/components/vega-app-footer/vega-app-footer.css +3 -4
  100. package/dist/collection/components/vega-app-footer/vega-app-footer.js +55 -17
  101. package/dist/collection/components/vega-app-header-button/vega-app-header-button.css +9 -4
  102. package/dist/collection/components/vega-brand-logo/assets/dark-mode/g-symbol-large.js +4 -0
  103. package/dist/collection/components/vega-brand-logo/assets/dark-mode/g-symbol-medium.js +4 -0
  104. package/dist/collection/components/vega-brand-logo/assets/dark-mode/g-symbol-small.js +4 -0
  105. package/dist/collection/components/vega-brand-logo/assets/dark-mode/genius-large.js +4 -0
  106. package/dist/collection/components/vega-brand-logo/assets/dark-mode/genius-medium.js +4 -0
  107. package/dist/collection/components/vega-brand-logo/assets/dark-mode/genius-small.js +4 -0
  108. package/dist/collection/components/vega-brand-logo/assets/dark-mode/global-payments-large.js +4 -0
  109. package/dist/collection/components/vega-brand-logo/assets/dark-mode/global-payments-medium.js +4 -0
  110. package/dist/collection/components/vega-brand-logo/assets/dark-mode/global-payments-small.js +4 -0
  111. package/dist/collection/components/vega-brand-logo/assets/index.js +18 -0
  112. package/dist/collection/components/vega-brand-logo/assets/light-mode/g-symbol-large.js +4 -0
  113. package/dist/collection/components/vega-brand-logo/assets/light-mode/g-symbol-medium.js +4 -0
  114. package/dist/collection/components/vega-brand-logo/assets/light-mode/g-symbol-small.js +4 -0
  115. package/dist/collection/components/vega-brand-logo/assets/light-mode/genius-large.js +4 -0
  116. package/dist/collection/components/vega-brand-logo/assets/light-mode/genius-medium.js +4 -0
  117. package/dist/collection/components/vega-brand-logo/assets/light-mode/genius-small.js +4 -0
  118. package/dist/collection/components/vega-brand-logo/assets/light-mode/global-payments-large.js +4 -0
  119. package/dist/collection/components/vega-brand-logo/assets/light-mode/global-payments-medium.js +4 -0
  120. package/dist/collection/components/vega-brand-logo/assets/light-mode/global-payments-small.js +4 -0
  121. package/dist/collection/components/vega-brand-logo/slimmers/renderers/vega-brand-logo-renderer.js +62 -0
  122. package/dist/collection/components/vega-brand-logo/vega-brand-logo.css +8 -0
  123. package/dist/collection/components/vega-brand-logo/vega-brand-logo.js +140 -0
  124. package/dist/collection/components/vega-button/vega-button.css +11 -6
  125. package/dist/collection/components/vega-button-circle/vega-button-circle.css +15 -10
  126. package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.css +11 -12
  127. package/dist/collection/components/vega-button-group/vega-button-group.css +0 -2
  128. package/dist/collection/components/vega-button-link/vega-button-link.css +21 -37
  129. package/dist/collection/components/vega-button-link/vega-button-link.js +7 -6
  130. package/dist/collection/components/vega-carousel/vega-carousel.css +2 -1
  131. package/dist/collection/components/vega-checkbox/vega-checkbox.css +4 -6
  132. package/dist/collection/components/vega-chip/vega-chip.css +5 -4
  133. package/dist/collection/components/vega-color-picker/vega-color-picker.css +14 -8
  134. package/dist/collection/components/vega-color-picker/vega-color-picker.js +9 -6
  135. package/dist/collection/components/vega-combo-box/vega-combo-box.css +4 -2
  136. package/dist/collection/components/vega-date-picker/vega-date-picker.css +6 -4
  137. package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.css +3 -3
  138. package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.css +4 -2
  139. package/dist/collection/components/vega-dropdown/vega-dropdown.js +3 -0
  140. package/dist/collection/components/vega-form/slimmers/controllers/vega-form-nest-state-controller.js +31 -0
  141. package/dist/collection/components/vega-form/vega-form.js +50 -1
  142. package/dist/collection/components/vega-image-uploader/vega-image-uploader.css +19 -9
  143. package/dist/collection/components/vega-input/vega-input.css +2 -2
  144. package/dist/collection/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.js +28 -52
  145. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +35 -7
  146. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +10 -3
  147. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.css +1 -1
  148. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +1 -1
  149. package/dist/collection/components/vega-input-range/vega-input-range.css +2 -2
  150. package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +8 -6
  151. package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-prefix-icon-renderer.js +48 -0
  152. package/dist/collection/components/vega-input-select/vega-input-select.css +2 -2
  153. package/dist/collection/components/vega-input-select/vega-input-select.js +5 -0
  154. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.js +13 -1
  155. package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.css +0 -5
  156. package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +8 -0
  157. package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.css +2 -2
  158. package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.css +2 -4
  159. package/dist/collection/components/vega-pagination/vega-pagination.css +2 -1
  160. package/dist/collection/components/vega-popover/vega-popover.js +3 -0
  161. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.css +2 -1
  162. package/dist/collection/components/vega-radio/vega-radio.css +6 -5
  163. package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.css +2 -1
  164. package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-color-annotation.js +2 -2
  165. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.css +2 -2
  166. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +2 -2
  167. package/dist/collection/components/vega-signature-capture/vega-signature-capture.css +2 -2
  168. package/dist/collection/components/vega-stepper/vega-stepper.css +1 -1
  169. package/dist/collection/components/vega-tab-group/vega-tab-group.css +1 -1
  170. package/dist/collection/components/vega-tab-group/vega-tab-group.js +3 -0
  171. package/dist/collection/components/vega-textarea/vega-textarea.css +6 -2
  172. package/dist/collection/components/vega-time-picker/vega-time-picker.css +2 -2
  173. package/dist/collection/components/vega-time-picker/vega-time-picker.js +3 -0
  174. package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.css +2 -1
  175. package/dist/collection/components/vega-tooltip/vega-tooltip.js +3 -0
  176. package/dist/collection/constants/misc.js +4 -0
  177. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.js +20 -0
  178. package/dist/collection/constants/tokens/themes/v2-new-brand/dark-mode-border-tokens.js +32 -0
  179. package/dist/collection/constants/tokens/themes/v2-new-brand/dark-mode-color-tokens.js +184 -0
  180. package/dist/collection/constants/tokens/themes/v2-new-brand/dark-mode-ring-tokens.js +7 -0
  181. package/dist/collection/constants/tokens/themes/v2-new-brand/dark-mode-shadow-tokens.js +12 -0
  182. package/dist/collection/constants/tokens/themes/v2-new-brand/light-mode-border-tokens.js +32 -0
  183. package/dist/collection/constants/tokens/themes/v2-new-brand/light-mode-color-tokens.js +184 -0
  184. package/dist/collection/constants/tokens/themes/v2-new-brand/light-mode-shadow-tokens.js +12 -0
  185. package/dist/collection/global/scripts/before-vega-load.js +9 -0
  186. package/dist/collection/global/tests/before-vega-load.test.js +7 -0
  187. package/dist/collection/helpers/change-manager/subject/static-subject/static-subject-title.js +1 -0
  188. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
  189. package/dist/collection/helpers/event-manager/slimmers/event-emit-slimmer.js +8 -0
  190. package/dist/collection/helpers/event-manager/test/event-emit-slimmer.test.js +28 -1
  191. package/dist/collection/helpers/slimmers/brand-switch-state-controller-slimmer.js +46 -0
  192. package/dist/collection/helpers/slimmers/form-field-controller-slimmer.js +6 -1
  193. package/dist/collection/helpers/slimmers/form-field-state-controller-slimmer.js +45 -0
  194. package/dist/collection/helpers/slimmers/test/brand-switch-state-controller-slimmer.test.js +75 -0
  195. package/dist/collection/helpers/theme/controllers/brand-style-controller.js +50 -0
  196. package/dist/collection/helpers/theme/controllers/dark-mode-style-controller.js +17 -30
  197. package/dist/collection/helpers/theme/controllers/style-controller.abstract.js +31 -0
  198. package/dist/collection/helpers/theme/internal-theme-manager.js +71 -0
  199. package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +17 -0
  200. package/dist/collection/helpers/theme/theme-manager.js +16 -17
  201. package/dist/collection/helpers/validator/form-field-controller.js +9 -1
  202. package/dist/esm/{app-globals-6041875b.js → app-globals-53b6125a.js} +16 -7
  203. package/dist/esm/brand-switch-state-controller-slimmer-05c85e6d.js +49 -0
  204. package/dist/esm/{child-nodes-event-prevent-slimmer-1571f1b2.js → child-nodes-event-prevent-slimmer-d3a94ef2.js} +1 -1
  205. package/dist/esm/{child-nodes-notify-observer-slimmer-356d5c5e.js → child-nodes-notify-observer-slimmer-ddaad39a.js} +1 -1
  206. package/dist/esm/{content-state-8b844253.js → content-state-7437e069.js} +6 -3023
  207. package/dist/esm/dark-mode-state-controller-slimmer-f1c2c299.js +49 -0
  208. package/dist/esm/dark-mode-style-controller-2ada8e22.js +3467 -0
  209. package/dist/esm/{design-token-3851662a.js → design-token-fb43f78a.js} +1 -1
  210. package/dist/esm/{dom-node-subject-factory-e8898f61.js → dom-node-subject-factory-f77cf9cc.js} +1 -30
  211. package/dist/esm/{dom-node-subject-observer-factory-809b0cf0.js → dom-node-subject-observer-factory-715dccf9.js} +2 -1
  212. package/dist/esm/{element-appender-slimmer-538e3117.js → element-appender-slimmer-0a0b20e9.js} +7 -6
  213. package/dist/esm/{event-emit-slimmer-d56587c9.js → event-emit-slimmer-b7d511f6.js} +11 -3
  214. package/dist/esm/{form-field-controller-slimmer-470e7cae.js → form-field-controller-slimmer-2978abd4.js} +83 -25
  215. package/dist/esm/{image-annotation-action-6231c7e6.js → image-annotation-action-51248df9.js} +5 -4
  216. package/dist/esm/index-187f71d1.js +4 -0
  217. package/dist/esm/{index-116d1c98.js → index-96374234.js} +3 -2
  218. package/dist/esm/index.js +15 -13
  219. package/dist/esm/{internal-vega-event-manager-18379085.js → internal-vega-event-manager-87dc436c.js} +1 -1
  220. package/dist/esm/loader.js +16 -14
  221. package/dist/esm/observer-3959f9dd.js +30 -0
  222. package/dist/esm/{public-rules-ef7bcfb9.js → public-rules-cfc196c9.js} +7 -5
  223. package/dist/esm/{remote-invocation-registry-dc7682d4.js → remote-invocation-registry-d69245c2.js} +1 -1
  224. package/dist/esm/{responsive-format-facade-86cdc58c.js → responsive-format-facade-ae799f25.js} +3 -3
  225. package/dist/esm/{rich-text-editor-required-rule-fec25fa5.js → rich-text-editor-required-rule-baf61553.js} +1 -1
  226. package/dist/esm/{static-subject-title-97eb1f19.js → static-subject-title-ca83d6b6.js} +2 -1
  227. package/dist/esm/{string-input-formatter-slimmer-42c02528.js → string-input-formatter-slimmer-8c7987ac.js} +3 -3
  228. package/dist/esm/{style-formatter-be0be447.js → style-formatter-bf71b8e7.js} +1 -1
  229. package/dist/esm/{sub-state-notify-slimmer-7d0d98b4.js → sub-state-notify-slimmer-2216c7dc.js} +3 -2
  230. package/dist/esm/{sub-state-observer-slimmer-da6cde6a.js → sub-state-observer-slimmer-da938c88.js} +3 -2
  231. package/dist/esm/{translation-2bdcfdb3.js → translation-cf7f020a.js} +1 -1
  232. package/dist/esm/{translation-slimmer-607ed804.js → translation-slimmer-88966d5c.js} +1 -1
  233. package/dist/esm/vega-accordion.entry.js +15 -13
  234. package/dist/esm/vega-app-footer.entry.js +52 -9
  235. package/dist/esm/vega-app-header-button.entry.js +18 -16
  236. package/dist/esm/vega-banner.entry.js +6 -5
  237. package/dist/esm/vega-box.entry.js +14 -12
  238. package/dist/esm/vega-brand-logo.entry.js +228 -0
  239. package/dist/esm/vega-breadcrumb.entry.js +6 -5
  240. package/dist/esm/vega-button-circle.entry.js +16 -14
  241. package/dist/esm/vega-button-group_2.entry.js +11 -10
  242. package/dist/esm/vega-button-link.entry.js +14 -11
  243. package/dist/esm/vega-button.entry.js +15 -13
  244. package/dist/esm/vega-calendar_3.entry.js +13 -12
  245. package/dist/esm/vega-card.entry.js +13 -11
  246. package/dist/esm/vega-carousel.entry.js +15 -13
  247. package/dist/esm/vega-checkbox_2.entry.js +13 -11
  248. package/dist/esm/vega-chip.entry.js +17 -15
  249. package/dist/esm/vega-color-picker.entry.js +20 -15
  250. package/dist/esm/vega-combo-box.entry.js +12 -10
  251. package/dist/esm/vega-date-picker_2.entry.js +22 -19
  252. package/dist/esm/vega-dialog_2.entry.js +15 -13
  253. package/dist/esm/vega-divider.entry.js +13 -11
  254. package/dist/esm/vega-dropdown_5.entry.js +22 -20
  255. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  256. package/dist/esm/vega-field-error.entry.js +1 -1
  257. package/dist/esm/vega-field-label.entry.js +5 -4
  258. package/dist/esm/vega-file-uploader.entry.js +12 -10
  259. package/dist/esm/vega-flag-icon.entry.js +13 -11
  260. package/dist/esm/vega-flex.entry.js +12 -10
  261. package/dist/esm/vega-font.entry.js +13 -11
  262. package/dist/esm/vega-form.entry.js +68 -12
  263. package/dist/esm/vega-grid.entry.js +13 -11
  264. package/dist/esm/vega-icon.entry.js +13 -11
  265. package/dist/esm/vega-image-uploader.entry.js +18 -15
  266. package/dist/esm/vega-input-credit-card.entry.js +12 -10
  267. package/dist/esm/vega-input-numeric.entry.js +12 -10
  268. package/dist/esm/vega-input-phone-number.entry.js +86 -2472
  269. package/dist/esm/vega-input-range.entry.js +13 -11
  270. package/dist/esm/vega-input-select.entry.js +128 -74
  271. package/dist/esm/vega-input.entry.js +13 -12
  272. package/dist/esm/{vega-internal-event-id-d7113cf7.js → vega-internal-event-id-7d1ff289.js} +2 -1
  273. package/dist/esm/vega-item-toggle.entry.js +5 -4
  274. package/dist/esm/vega-left-nav_5.entry.js +38 -18
  275. package/dist/esm/vega-loader-wrapper_2.entry.js +12 -10
  276. package/dist/esm/vega-page-notification_2.entry.js +3 -2
  277. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +6 -5
  278. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +7 -6
  279. package/dist/esm/vega-pagination.entry.js +16 -14
  280. package/dist/esm/vega-popover_2.entry.js +15 -13
  281. package/dist/esm/vega-progress-tracker.entry.js +6 -5
  282. package/dist/esm/vega-radio_2.entry.js +13 -11
  283. package/dist/esm/vega-rich-text-content.entry.js +12 -10
  284. package/dist/esm/vega-rich-text-editor_4.entry.js +132 -172
  285. package/dist/esm/vega-segment-control.entry.js +5 -4
  286. package/dist/esm/vega-selection-chip_2.entry.js +17 -15
  287. package/dist/esm/vega-selection-tile_2.entry.js +13 -12
  288. package/dist/esm/vega-sidenav_3.entry.js +16 -14
  289. package/dist/esm/vega-signature-capture.entry.js +19 -16
  290. package/dist/esm/{vega-skeleton-loader-controller-da0ed23d.js → vega-skeleton-loader-controller-c2a8bd27.js} +177 -7
  291. package/dist/esm/vega-stepper.entry.js +12 -10
  292. package/dist/esm/vega-tab-group_2.entry.js +8 -7
  293. package/dist/esm/vega-table_8.entry.js +19 -17
  294. package/dist/esm/vega-textarea.entry.js +12 -10
  295. package/dist/esm/vega-time-picker_2.entry.js +19 -16
  296. package/dist/esm/vega-toggle-switch.entry.js +11 -9
  297. package/dist/esm/vega-tooltip_2.entry.js +14 -12
  298. package/dist/esm/vega.js +16 -14
  299. package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +12 -3
  300. package/dist/types/components/{vega-input-phone-number/assets/flags/ac.d.ts → vega-brand-logo/assets/dark-mode/g-symbol-large.d.ts} +1 -2
  301. package/dist/types/components/{vega-input-phone-number/assets/flags/af.d.ts → vega-brand-logo/assets/dark-mode/g-symbol-medium.d.ts} +1 -2
  302. package/dist/types/components/{vega-input-phone-number/assets/flags/ad.d.ts → vega-brand-logo/assets/dark-mode/g-symbol-small.d.ts} +1 -2
  303. package/dist/types/components/{vega-input-phone-number/assets/flags/ae.d.ts → vega-brand-logo/assets/dark-mode/genius-large.d.ts} +1 -2
  304. package/dist/types/components/vega-brand-logo/assets/dark-mode/genius-medium.d.ts +2 -0
  305. package/dist/types/components/vega-brand-logo/assets/dark-mode/genius-small.d.ts +2 -0
  306. package/dist/types/components/vega-brand-logo/assets/dark-mode/global-payments-large.d.ts +2 -0
  307. package/dist/types/components/vega-brand-logo/assets/dark-mode/global-payments-medium.d.ts +2 -0
  308. package/dist/types/components/vega-brand-logo/assets/dark-mode/global-payments-small.d.ts +2 -0
  309. package/dist/types/components/vega-brand-logo/assets/index.d.ts +18 -0
  310. package/dist/types/components/vega-brand-logo/assets/light-mode/g-symbol-large.d.ts +2 -0
  311. package/dist/types/components/vega-brand-logo/assets/light-mode/g-symbol-medium.d.ts +2 -0
  312. package/dist/types/components/vega-brand-logo/assets/light-mode/g-symbol-small.d.ts +2 -0
  313. package/dist/types/components/vega-brand-logo/assets/light-mode/genius-large.d.ts +2 -0
  314. package/dist/types/components/vega-brand-logo/assets/light-mode/genius-medium.d.ts +2 -0
  315. package/dist/types/components/vega-brand-logo/assets/light-mode/genius-small.d.ts +2 -0
  316. package/dist/types/components/vega-brand-logo/assets/light-mode/global-payments-large.d.ts +2 -0
  317. package/dist/types/components/vega-brand-logo/assets/light-mode/global-payments-medium.d.ts +2 -0
  318. package/dist/types/components/vega-brand-logo/assets/light-mode/global-payments-small.d.ts +2 -0
  319. package/dist/types/components/vega-brand-logo/slimmers/renderers/vega-brand-logo-renderer.d.ts +12 -0
  320. package/dist/types/components/vega-brand-logo/vega-brand-logo.d.ts +39 -0
  321. package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +3 -0
  322. package/dist/types/components/vega-form/slimmers/controllers/vega-form-nest-state-controller.d.ts +10 -0
  323. package/dist/types/components/vega-form/vega-form.d.ts +16 -0
  324. package/dist/types/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.d.ts +11 -28
  325. package/dist/types/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.d.ts +14 -0
  326. package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.d.ts +2 -1
  327. package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-prefix-icon-renderer.d.ts +21 -0
  328. package/dist/types/components/vega-input-select/vega-input-select.d.ts +2 -0
  329. package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.d.ts +2 -0
  330. package/dist/types/components/vega-nav/vega-left-nav/vega-left-nav.d.ts +4 -0
  331. package/dist/types/components/vega-popover/vega-popover.d.ts +3 -0
  332. package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +3 -0
  333. package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +3 -0
  334. package/dist/types/components/vega-tooltip/vega-tooltip.d.ts +3 -0
  335. package/dist/types/components.d.ts +69 -6
  336. package/dist/types/constants/misc.d.ts +4 -0
  337. package/dist/types/constants/tokens/themes/v2-new-brand/dark-mode-border-tokens.d.ts +1 -0
  338. package/dist/types/constants/tokens/themes/v2-new-brand/dark-mode-color-tokens.d.ts +1 -0
  339. package/dist/types/constants/tokens/themes/v2-new-brand/dark-mode-ring-tokens.d.ts +1 -0
  340. package/dist/types/constants/tokens/themes/v2-new-brand/dark-mode-shadow-tokens.d.ts +1 -0
  341. package/dist/types/constants/tokens/themes/v2-new-brand/light-mode-border-tokens.d.ts +1 -0
  342. package/dist/types/constants/tokens/themes/v2-new-brand/light-mode-color-tokens.d.ts +1 -0
  343. package/dist/types/constants/tokens/themes/v2-new-brand/light-mode-shadow-tokens.d.ts +1 -0
  344. package/dist/types/helpers/change-manager/subject/static-subject/static-subject-title.d.ts +2 -1
  345. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
  346. package/dist/types/helpers/event-manager/slimmers/event-emit-slimmer.d.ts +9 -0
  347. package/dist/types/helpers/slimmers/brand-switch-state-controller-slimmer.d.ts +22 -0
  348. package/dist/types/helpers/slimmers/form-field-controller-slimmer.d.ts +4 -2
  349. package/dist/types/helpers/slimmers/form-field-state-controller-slimmer.d.ts +15 -0
  350. package/dist/types/helpers/slimmers/test/brand-switch-state-controller-slimmer.test.d.ts +1 -0
  351. package/dist/types/helpers/theme/controllers/brand-style-controller.d.ts +22 -0
  352. package/dist/types/helpers/theme/controllers/dark-mode-style-controller.d.ts +4 -12
  353. package/dist/types/helpers/theme/controllers/style-controller.abstract.d.ts +19 -0
  354. package/dist/types/helpers/theme/internal-theme-manager.d.ts +48 -0
  355. package/dist/types/helpers/theme/theme-manager.d.ts +9 -1
  356. package/dist/types/helpers/theme/theme.d.ts +7 -0
  357. package/dist/types/helpers/validator/form-field-controller.d.ts +7 -0
  358. package/dist/types/types/public-api.d.ts +1 -1
  359. package/dist/vega/index.esm.js +1 -1
  360. package/dist/vega/p-0073c3de.entry.js +1 -0
  361. package/dist/vega/p-01b4d6ba.entry.js +1 -0
  362. package/dist/vega/p-0523efe8.entry.js +1 -0
  363. package/dist/vega/p-08679cd9.entry.js +1 -0
  364. package/dist/vega/p-0969877b.entry.js +1 -0
  365. package/dist/vega/p-0b56725e.entry.js +1 -0
  366. package/dist/vega/p-10a40dfb.entry.js +1 -0
  367. package/dist/vega/p-12d60f5f.js +1 -0
  368. package/dist/vega/{p-38cd5b2e.js → p-1503f791.js} +1 -1
  369. package/dist/vega/p-1b731247.entry.js +1 -0
  370. package/dist/vega/p-1c08e94a.entry.js +1 -0
  371. package/dist/vega/{p-79c55889.js → p-1e2886b5.js} +1 -1
  372. package/dist/vega/{p-636a3a8c.js → p-213752bd.js} +1 -1
  373. package/dist/vega/p-214aa52e.js +1 -0
  374. package/dist/vega/p-27003a81.entry.js +1 -0
  375. package/dist/vega/p-27e56c67.entry.js +1 -0
  376. package/dist/vega/p-2863aa51.entry.js +1 -0
  377. package/dist/vega/p-28b7d6ba.entry.js +1 -0
  378. package/dist/vega/p-2c1c88c0.entry.js +1 -0
  379. package/dist/vega/p-31de5cb4.entry.js +1 -0
  380. package/dist/vega/p-324dd09a.entry.js +1 -0
  381. package/dist/vega/p-331a62d5.js +1 -0
  382. package/dist/vega/p-343b4522.entry.js +1 -0
  383. package/dist/vega/p-3d3cd394.js +1 -0
  384. package/dist/vega/p-3e285c35.js +1 -0
  385. package/dist/vega/p-410755ca.entry.js +1 -0
  386. package/dist/vega/{p-47facbb4.js → p-431ab4dd.js} +1 -1
  387. package/dist/vega/p-48517a5d.entry.js +1 -0
  388. package/dist/vega/p-4b1a7d31.entry.js +1 -0
  389. package/dist/vega/p-4b541ce8.entry.js +1 -0
  390. package/dist/vega/p-4f54ba1f.entry.js +1 -0
  391. package/dist/vega/p-4f7f93ef.entry.js +1 -0
  392. package/dist/vega/p-5064a804.js +1 -0
  393. package/dist/vega/p-50677c8e.js +1 -0
  394. package/dist/vega/p-50a076d0.entry.js +1 -0
  395. package/dist/vega/{p-317018ba.js → p-5773a9a3.js} +1 -1
  396. package/dist/vega/p-59e9f57a.js +1 -0
  397. package/dist/vega/p-5f377954.js +1 -1
  398. package/dist/vega/p-611282a7.entry.js +1 -0
  399. package/dist/vega/p-6586e2a2.entry.js +1 -0
  400. package/dist/vega/p-69cc3fa2.js +1 -0
  401. package/dist/vega/p-6be16084.js +1 -0
  402. package/dist/vega/p-6cd8e6f4.entry.js +1 -0
  403. package/dist/vega/p-6e898779.js +1 -0
  404. package/dist/vega/p-6f81fe1e.js +1 -0
  405. package/dist/vega/p-7594875a.entry.js +1 -0
  406. package/dist/vega/p-77e64f26.js +1 -0
  407. package/dist/vega/p-79cc1f41.entry.js +1 -0
  408. package/dist/vega/p-7bc3a42b.js +1 -0
  409. package/dist/vega/{p-97ded803.js → p-804f71b3.js} +1 -1
  410. package/dist/vega/p-8ade44bf.js +1 -0
  411. package/dist/vega/p-8af3fc79.entry.js +1 -0
  412. package/dist/vega/p-8c32ff75.entry.js +1 -0
  413. package/dist/vega/{p-7cb3666d.js → p-8d283666.js} +1 -1
  414. package/dist/vega/p-8ee31f00.entry.js +1 -0
  415. package/dist/vega/p-8f80b321.entry.js +1 -0
  416. package/dist/vega/p-904d1b43.js +1 -0
  417. package/dist/vega/p-952913fc.entry.js +1 -0
  418. package/dist/vega/p-96410d71.entry.js +1 -0
  419. package/dist/vega/p-a1bdf9a0.entry.js +1 -0
  420. package/dist/vega/p-a5c39ba2.entry.js +1 -0
  421. package/dist/vega/{p-f95b164c.js → p-a821bcf3.js} +1 -1
  422. package/dist/vega/p-a8e9bfae.entry.js +1 -0
  423. package/dist/vega/p-aa109e80.entry.js +1 -0
  424. package/dist/vega/{p-633ab02b.js → p-ab26cad6.js} +1 -1
  425. package/dist/vega/p-aea89be5.entry.js +1 -0
  426. package/dist/vega/p-b06e5916.entry.js +1 -0
  427. package/dist/vega/p-b07add9c.entry.js +1 -0
  428. package/dist/vega/p-b2643e88.js +1 -0
  429. package/dist/vega/p-b4dfa967.entry.js +1 -0
  430. package/dist/vega/p-b64d5c3a.entry.js +1 -0
  431. package/dist/vega/p-b65de502.entry.js +1 -0
  432. package/dist/vega/{p-79525036.entry.js → p-b6caa1e2.entry.js} +2 -2
  433. package/dist/vega/p-b9f48611.js +1 -0
  434. package/dist/vega/{p-42b53970.js → p-bab6ca81.js} +1 -1
  435. package/dist/vega/p-bcb43c54.entry.js +1 -0
  436. package/dist/vega/{p-b97c8ac4.entry.js → p-bd5ca7cc.entry.js} +1 -1
  437. package/dist/vega/p-c2321aa8.entry.js +1 -0
  438. package/dist/vega/p-c706de06.entry.js +1 -0
  439. package/dist/vega/p-c86a4896.entry.js +1 -0
  440. package/dist/vega/p-ceb9f5aa.entry.js +1 -0
  441. package/dist/vega/p-d4a61b1d.entry.js +1 -0
  442. package/dist/vega/p-d6620b42.entry.js +1 -0
  443. package/dist/vega/p-d6c37085.entry.js +1 -0
  444. package/dist/vega/p-d6d9c300.entry.js +1 -0
  445. package/dist/vega/p-d7642125.js +1 -0
  446. package/dist/vega/p-db7a6878.entry.js +1 -0
  447. package/dist/vega/p-df44a712.entry.js +1 -0
  448. package/dist/vega/p-e1a06741.entry.js +1 -0
  449. package/dist/vega/p-e5695801.entry.js +1 -0
  450. package/dist/vega/p-e59ff7d1.entry.js +1 -0
  451. package/dist/vega/p-f0bc8f6d.js +1 -0
  452. package/dist/vega/p-f9b07b5e.entry.js +1 -0
  453. package/dist/vega/vega.esm.js +1 -1
  454. package/package.json +1 -1
  455. package/dist/collection/components/vega-input-phone-number/assets/country-flags.js +0 -493
  456. package/dist/collection/components/vega-input-phone-number/assets/flags/ac.js +0 -692
  457. package/dist/collection/components/vega-input-phone-number/assets/flags/ad.js +0 -4
  458. package/dist/collection/components/vega-input-phone-number/assets/flags/ae.js +0 -4
  459. package/dist/collection/components/vega-input-phone-number/assets/flags/af.js +0 -4
  460. package/dist/collection/components/vega-input-phone-number/assets/flags/ag.js +0 -4
  461. package/dist/collection/components/vega-input-phone-number/assets/flags/ai.js +0 -4
  462. package/dist/collection/components/vega-input-phone-number/assets/flags/al.js +0 -4
  463. package/dist/collection/components/vega-input-phone-number/assets/flags/am.js +0 -4
  464. package/dist/collection/components/vega-input-phone-number/assets/flags/ao.js +0 -4
  465. package/dist/collection/components/vega-input-phone-number/assets/flags/ar.js +0 -4
  466. package/dist/collection/components/vega-input-phone-number/assets/flags/as.js +0 -4
  467. package/dist/collection/components/vega-input-phone-number/assets/flags/at.js +0 -4
  468. package/dist/collection/components/vega-input-phone-number/assets/flags/au.js +0 -4
  469. package/dist/collection/components/vega-input-phone-number/assets/flags/aw.js +0 -4
  470. package/dist/collection/components/vega-input-phone-number/assets/flags/ax.js +0 -4
  471. package/dist/collection/components/vega-input-phone-number/assets/flags/az.js +0 -4
  472. package/dist/collection/components/vega-input-phone-number/assets/flags/ba.js +0 -4
  473. package/dist/collection/components/vega-input-phone-number/assets/flags/bb.js +0 -4
  474. package/dist/collection/components/vega-input-phone-number/assets/flags/bd.js +0 -4
  475. package/dist/collection/components/vega-input-phone-number/assets/flags/be.js +0 -4
  476. package/dist/collection/components/vega-input-phone-number/assets/flags/bf.js +0 -4
  477. package/dist/collection/components/vega-input-phone-number/assets/flags/bg.js +0 -4
  478. package/dist/collection/components/vega-input-phone-number/assets/flags/bh.js +0 -4
  479. package/dist/collection/components/vega-input-phone-number/assets/flags/bi.js +0 -4
  480. package/dist/collection/components/vega-input-phone-number/assets/flags/bj.js +0 -4
  481. package/dist/collection/components/vega-input-phone-number/assets/flags/bl.js +0 -4
  482. package/dist/collection/components/vega-input-phone-number/assets/flags/bm.js +0 -4
  483. package/dist/collection/components/vega-input-phone-number/assets/flags/bn.js +0 -4
  484. package/dist/collection/components/vega-input-phone-number/assets/flags/bo.js +0 -4
  485. package/dist/collection/components/vega-input-phone-number/assets/flags/bq.js +0 -4
  486. package/dist/collection/components/vega-input-phone-number/assets/flags/br.js +0 -4
  487. package/dist/collection/components/vega-input-phone-number/assets/flags/bs.js +0 -4
  488. package/dist/collection/components/vega-input-phone-number/assets/flags/bt.js +0 -4
  489. package/dist/collection/components/vega-input-phone-number/assets/flags/bw.js +0 -4
  490. package/dist/collection/components/vega-input-phone-number/assets/flags/by.js +0 -4
  491. package/dist/collection/components/vega-input-phone-number/assets/flags/bz.js +0 -4
  492. package/dist/collection/components/vega-input-phone-number/assets/flags/ca.js +0 -4
  493. package/dist/collection/components/vega-input-phone-number/assets/flags/cc.js +0 -4
  494. package/dist/collection/components/vega-input-phone-number/assets/flags/cd.js +0 -4
  495. package/dist/collection/components/vega-input-phone-number/assets/flags/cf.js +0 -4
  496. package/dist/collection/components/vega-input-phone-number/assets/flags/cg.js +0 -4
  497. package/dist/collection/components/vega-input-phone-number/assets/flags/ch.js +0 -4
  498. package/dist/collection/components/vega-input-phone-number/assets/flags/ci.js +0 -4
  499. package/dist/collection/components/vega-input-phone-number/assets/flags/ck.js +0 -4
  500. package/dist/collection/components/vega-input-phone-number/assets/flags/cl.js +0 -4
  501. package/dist/collection/components/vega-input-phone-number/assets/flags/cm.js +0 -4
  502. package/dist/collection/components/vega-input-phone-number/assets/flags/cn.js +0 -4
  503. package/dist/collection/components/vega-input-phone-number/assets/flags/co.js +0 -4
  504. package/dist/collection/components/vega-input-phone-number/assets/flags/cr.js +0 -4
  505. package/dist/collection/components/vega-input-phone-number/assets/flags/cu.js +0 -4
  506. package/dist/collection/components/vega-input-phone-number/assets/flags/cv.js +0 -4
  507. package/dist/collection/components/vega-input-phone-number/assets/flags/cw.js +0 -4
  508. package/dist/collection/components/vega-input-phone-number/assets/flags/cx.js +0 -4
  509. package/dist/collection/components/vega-input-phone-number/assets/flags/cy.js +0 -4
  510. package/dist/collection/components/vega-input-phone-number/assets/flags/cz.js +0 -4
  511. package/dist/collection/components/vega-input-phone-number/assets/flags/de.js +0 -4
  512. package/dist/collection/components/vega-input-phone-number/assets/flags/dj.js +0 -4
  513. package/dist/collection/components/vega-input-phone-number/assets/flags/dk.js +0 -4
  514. package/dist/collection/components/vega-input-phone-number/assets/flags/dm.js +0 -4
  515. package/dist/collection/components/vega-input-phone-number/assets/flags/do.js +0 -4
  516. package/dist/collection/components/vega-input-phone-number/assets/flags/dz.js +0 -4
  517. package/dist/collection/components/vega-input-phone-number/assets/flags/ec.js +0 -4
  518. package/dist/collection/components/vega-input-phone-number/assets/flags/ee.js +0 -4
  519. package/dist/collection/components/vega-input-phone-number/assets/flags/eg.js +0 -4
  520. package/dist/collection/components/vega-input-phone-number/assets/flags/eh.js +0 -4
  521. package/dist/collection/components/vega-input-phone-number/assets/flags/er.js +0 -4
  522. package/dist/collection/components/vega-input-phone-number/assets/flags/es.js +0 -4
  523. package/dist/collection/components/vega-input-phone-number/assets/flags/et.js +0 -4
  524. package/dist/collection/components/vega-input-phone-number/assets/flags/fi.js +0 -4
  525. package/dist/collection/components/vega-input-phone-number/assets/flags/fj.js +0 -4
  526. package/dist/collection/components/vega-input-phone-number/assets/flags/fk.js +0 -4
  527. package/dist/collection/components/vega-input-phone-number/assets/flags/fm.js +0 -4
  528. package/dist/collection/components/vega-input-phone-number/assets/flags/fo.js +0 -4
  529. package/dist/collection/components/vega-input-phone-number/assets/flags/fr.js +0 -4
  530. package/dist/collection/components/vega-input-phone-number/assets/flags/ga.js +0 -4
  531. package/dist/collection/components/vega-input-phone-number/assets/flags/gb.js +0 -4
  532. package/dist/collection/components/vega-input-phone-number/assets/flags/gd.js +0 -4
  533. package/dist/collection/components/vega-input-phone-number/assets/flags/ge.js +0 -4
  534. package/dist/collection/components/vega-input-phone-number/assets/flags/gf.js +0 -4
  535. package/dist/collection/components/vega-input-phone-number/assets/flags/gg.js +0 -4
  536. package/dist/collection/components/vega-input-phone-number/assets/flags/gh.js +0 -4
  537. package/dist/collection/components/vega-input-phone-number/assets/flags/gi.js +0 -4
  538. package/dist/collection/components/vega-input-phone-number/assets/flags/gl.js +0 -4
  539. package/dist/collection/components/vega-input-phone-number/assets/flags/gm.js +0 -4
  540. package/dist/collection/components/vega-input-phone-number/assets/flags/gn.js +0 -4
  541. package/dist/collection/components/vega-input-phone-number/assets/flags/gp.js +0 -4
  542. package/dist/collection/components/vega-input-phone-number/assets/flags/gq.js +0 -4
  543. package/dist/collection/components/vega-input-phone-number/assets/flags/gr.js +0 -4
  544. package/dist/collection/components/vega-input-phone-number/assets/flags/gt.js +0 -4
  545. package/dist/collection/components/vega-input-phone-number/assets/flags/gu.js +0 -4
  546. package/dist/collection/components/vega-input-phone-number/assets/flags/gw.js +0 -4
  547. package/dist/collection/components/vega-input-phone-number/assets/flags/gy.js +0 -4
  548. package/dist/collection/components/vega-input-phone-number/assets/flags/hk.js +0 -4
  549. package/dist/collection/components/vega-input-phone-number/assets/flags/hn.js +0 -4
  550. package/dist/collection/components/vega-input-phone-number/assets/flags/hr.js +0 -4
  551. package/dist/collection/components/vega-input-phone-number/assets/flags/ht.js +0 -4
  552. package/dist/collection/components/vega-input-phone-number/assets/flags/hu.js +0 -4
  553. package/dist/collection/components/vega-input-phone-number/assets/flags/id.js +0 -4
  554. package/dist/collection/components/vega-input-phone-number/assets/flags/ie.js +0 -4
  555. package/dist/collection/components/vega-input-phone-number/assets/flags/il.js +0 -4
  556. package/dist/collection/components/vega-input-phone-number/assets/flags/im.js +0 -4
  557. package/dist/collection/components/vega-input-phone-number/assets/flags/in.js +0 -4
  558. package/dist/collection/components/vega-input-phone-number/assets/flags/io.js +0 -4
  559. package/dist/collection/components/vega-input-phone-number/assets/flags/iq.js +0 -4
  560. package/dist/collection/components/vega-input-phone-number/assets/flags/ir.js +0 -4
  561. package/dist/collection/components/vega-input-phone-number/assets/flags/is.js +0 -4
  562. package/dist/collection/components/vega-input-phone-number/assets/flags/it.js +0 -4
  563. package/dist/collection/components/vega-input-phone-number/assets/flags/je.js +0 -4
  564. package/dist/collection/components/vega-input-phone-number/assets/flags/jm.js +0 -4
  565. package/dist/collection/components/vega-input-phone-number/assets/flags/jo.js +0 -4
  566. package/dist/collection/components/vega-input-phone-number/assets/flags/jp.js +0 -4
  567. package/dist/collection/components/vega-input-phone-number/assets/flags/ke.js +0 -4
  568. package/dist/collection/components/vega-input-phone-number/assets/flags/kg.js +0 -4
  569. package/dist/collection/components/vega-input-phone-number/assets/flags/kh.js +0 -4
  570. package/dist/collection/components/vega-input-phone-number/assets/flags/ki.js +0 -4
  571. package/dist/collection/components/vega-input-phone-number/assets/flags/km.js +0 -4
  572. package/dist/collection/components/vega-input-phone-number/assets/flags/kn.js +0 -4
  573. package/dist/collection/components/vega-input-phone-number/assets/flags/kp.js +0 -4
  574. package/dist/collection/components/vega-input-phone-number/assets/flags/kr.js +0 -4
  575. package/dist/collection/components/vega-input-phone-number/assets/flags/kw.js +0 -4
  576. package/dist/collection/components/vega-input-phone-number/assets/flags/ky.js +0 -4
  577. package/dist/collection/components/vega-input-phone-number/assets/flags/kz.js +0 -4
  578. package/dist/collection/components/vega-input-phone-number/assets/flags/la.js +0 -4
  579. package/dist/collection/components/vega-input-phone-number/assets/flags/lb.js +0 -4
  580. package/dist/collection/components/vega-input-phone-number/assets/flags/lc.js +0 -4
  581. package/dist/collection/components/vega-input-phone-number/assets/flags/li.js +0 -4
  582. package/dist/collection/components/vega-input-phone-number/assets/flags/lk.js +0 -4
  583. package/dist/collection/components/vega-input-phone-number/assets/flags/lr.js +0 -4
  584. package/dist/collection/components/vega-input-phone-number/assets/flags/ls.js +0 -4
  585. package/dist/collection/components/vega-input-phone-number/assets/flags/lt.js +0 -4
  586. package/dist/collection/components/vega-input-phone-number/assets/flags/lu.js +0 -4
  587. package/dist/collection/components/vega-input-phone-number/assets/flags/lv.js +0 -4
  588. package/dist/collection/components/vega-input-phone-number/assets/flags/ly.js +0 -4
  589. package/dist/collection/components/vega-input-phone-number/assets/flags/ma.js +0 -4
  590. package/dist/collection/components/vega-input-phone-number/assets/flags/mc.js +0 -4
  591. package/dist/collection/components/vega-input-phone-number/assets/flags/md.js +0 -4
  592. package/dist/collection/components/vega-input-phone-number/assets/flags/me.js +0 -4
  593. package/dist/collection/components/vega-input-phone-number/assets/flags/mf.js +0 -4
  594. package/dist/collection/components/vega-input-phone-number/assets/flags/mg.js +0 -4
  595. package/dist/collection/components/vega-input-phone-number/assets/flags/mh.js +0 -4
  596. package/dist/collection/components/vega-input-phone-number/assets/flags/mk.js +0 -4
  597. package/dist/collection/components/vega-input-phone-number/assets/flags/ml.js +0 -4
  598. package/dist/collection/components/vega-input-phone-number/assets/flags/mm.js +0 -4
  599. package/dist/collection/components/vega-input-phone-number/assets/flags/mn.js +0 -4
  600. package/dist/collection/components/vega-input-phone-number/assets/flags/mo.js +0 -4
  601. package/dist/collection/components/vega-input-phone-number/assets/flags/mp.js +0 -4
  602. package/dist/collection/components/vega-input-phone-number/assets/flags/mq.js +0 -4
  603. package/dist/collection/components/vega-input-phone-number/assets/flags/mr.js +0 -4
  604. package/dist/collection/components/vega-input-phone-number/assets/flags/ms.js +0 -4
  605. package/dist/collection/components/vega-input-phone-number/assets/flags/mt.js +0 -4
  606. package/dist/collection/components/vega-input-phone-number/assets/flags/mu.js +0 -4
  607. package/dist/collection/components/vega-input-phone-number/assets/flags/mv.js +0 -4
  608. package/dist/collection/components/vega-input-phone-number/assets/flags/mw.js +0 -4
  609. package/dist/collection/components/vega-input-phone-number/assets/flags/mx.js +0 -4
  610. package/dist/collection/components/vega-input-phone-number/assets/flags/my.js +0 -4
  611. package/dist/collection/components/vega-input-phone-number/assets/flags/mz.js +0 -4
  612. package/dist/collection/components/vega-input-phone-number/assets/flags/na.js +0 -4
  613. package/dist/collection/components/vega-input-phone-number/assets/flags/nc.js +0 -4
  614. package/dist/collection/components/vega-input-phone-number/assets/flags/ne.js +0 -4
  615. package/dist/collection/components/vega-input-phone-number/assets/flags/nf.js +0 -4
  616. package/dist/collection/components/vega-input-phone-number/assets/flags/ng.js +0 -4
  617. package/dist/collection/components/vega-input-phone-number/assets/flags/ni.js +0 -4
  618. package/dist/collection/components/vega-input-phone-number/assets/flags/nl.js +0 -4
  619. package/dist/collection/components/vega-input-phone-number/assets/flags/no.js +0 -4
  620. package/dist/collection/components/vega-input-phone-number/assets/flags/np.js +0 -4
  621. package/dist/collection/components/vega-input-phone-number/assets/flags/nr.js +0 -4
  622. package/dist/collection/components/vega-input-phone-number/assets/flags/nu.js +0 -4
  623. package/dist/collection/components/vega-input-phone-number/assets/flags/nz.js +0 -4
  624. package/dist/collection/components/vega-input-phone-number/assets/flags/om.js +0 -4
  625. package/dist/collection/components/vega-input-phone-number/assets/flags/pa.js +0 -4
  626. package/dist/collection/components/vega-input-phone-number/assets/flags/pe.js +0 -4
  627. package/dist/collection/components/vega-input-phone-number/assets/flags/pf.js +0 -4
  628. package/dist/collection/components/vega-input-phone-number/assets/flags/pg.js +0 -4
  629. package/dist/collection/components/vega-input-phone-number/assets/flags/ph.js +0 -4
  630. package/dist/collection/components/vega-input-phone-number/assets/flags/pk.js +0 -4
  631. package/dist/collection/components/vega-input-phone-number/assets/flags/pl.js +0 -4
  632. package/dist/collection/components/vega-input-phone-number/assets/flags/pm.js +0 -4
  633. package/dist/collection/components/vega-input-phone-number/assets/flags/pr.js +0 -4
  634. package/dist/collection/components/vega-input-phone-number/assets/flags/ps.js +0 -4
  635. package/dist/collection/components/vega-input-phone-number/assets/flags/pt.js +0 -4
  636. package/dist/collection/components/vega-input-phone-number/assets/flags/pw.js +0 -4
  637. package/dist/collection/components/vega-input-phone-number/assets/flags/py.js +0 -4
  638. package/dist/collection/components/vega-input-phone-number/assets/flags/qa.js +0 -4
  639. package/dist/collection/components/vega-input-phone-number/assets/flags/re.js +0 -4
  640. package/dist/collection/components/vega-input-phone-number/assets/flags/ro.js +0 -4
  641. package/dist/collection/components/vega-input-phone-number/assets/flags/rs.js +0 -4
  642. package/dist/collection/components/vega-input-phone-number/assets/flags/ru.js +0 -4
  643. package/dist/collection/components/vega-input-phone-number/assets/flags/rw.js +0 -4
  644. package/dist/collection/components/vega-input-phone-number/assets/flags/sa.js +0 -4
  645. package/dist/collection/components/vega-input-phone-number/assets/flags/sb.js +0 -4
  646. package/dist/collection/components/vega-input-phone-number/assets/flags/sc.js +0 -4
  647. package/dist/collection/components/vega-input-phone-number/assets/flags/sd.js +0 -4
  648. package/dist/collection/components/vega-input-phone-number/assets/flags/se.js +0 -4
  649. package/dist/collection/components/vega-input-phone-number/assets/flags/sg.js +0 -4
  650. package/dist/collection/components/vega-input-phone-number/assets/flags/sh.js +0 -167
  651. package/dist/collection/components/vega-input-phone-number/assets/flags/si.js +0 -4
  652. package/dist/collection/components/vega-input-phone-number/assets/flags/sj.js +0 -4
  653. package/dist/collection/components/vega-input-phone-number/assets/flags/sk.js +0 -4
  654. package/dist/collection/components/vega-input-phone-number/assets/flags/sl.js +0 -4
  655. package/dist/collection/components/vega-input-phone-number/assets/flags/sm.js +0 -4
  656. package/dist/collection/components/vega-input-phone-number/assets/flags/sn.js +0 -4
  657. package/dist/collection/components/vega-input-phone-number/assets/flags/so.js +0 -4
  658. package/dist/collection/components/vega-input-phone-number/assets/flags/sr.js +0 -4
  659. package/dist/collection/components/vega-input-phone-number/assets/flags/ss.js +0 -4
  660. package/dist/collection/components/vega-input-phone-number/assets/flags/st.js +0 -4
  661. package/dist/collection/components/vega-input-phone-number/assets/flags/sv.js +0 -4
  662. package/dist/collection/components/vega-input-phone-number/assets/flags/sx.js +0 -4
  663. package/dist/collection/components/vega-input-phone-number/assets/flags/sy.js +0 -4
  664. package/dist/collection/components/vega-input-phone-number/assets/flags/sz.js +0 -4
  665. package/dist/collection/components/vega-input-phone-number/assets/flags/ta.js +0 -79
  666. package/dist/collection/components/vega-input-phone-number/assets/flags/tc.js +0 -4
  667. package/dist/collection/components/vega-input-phone-number/assets/flags/td.js +0 -4
  668. package/dist/collection/components/vega-input-phone-number/assets/flags/tg.js +0 -4
  669. package/dist/collection/components/vega-input-phone-number/assets/flags/th.js +0 -4
  670. package/dist/collection/components/vega-input-phone-number/assets/flags/tj.js +0 -4
  671. package/dist/collection/components/vega-input-phone-number/assets/flags/tk.js +0 -4
  672. package/dist/collection/components/vega-input-phone-number/assets/flags/tl.js +0 -4
  673. package/dist/collection/components/vega-input-phone-number/assets/flags/tm.js +0 -4
  674. package/dist/collection/components/vega-input-phone-number/assets/flags/tn.js +0 -4
  675. package/dist/collection/components/vega-input-phone-number/assets/flags/to.js +0 -4
  676. package/dist/collection/components/vega-input-phone-number/assets/flags/tr.js +0 -4
  677. package/dist/collection/components/vega-input-phone-number/assets/flags/tt.js +0 -4
  678. package/dist/collection/components/vega-input-phone-number/assets/flags/tv.js +0 -4
  679. package/dist/collection/components/vega-input-phone-number/assets/flags/tw.js +0 -4
  680. package/dist/collection/components/vega-input-phone-number/assets/flags/tz.js +0 -4
  681. package/dist/collection/components/vega-input-phone-number/assets/flags/ua.js +0 -4
  682. package/dist/collection/components/vega-input-phone-number/assets/flags/ug.js +0 -4
  683. package/dist/collection/components/vega-input-phone-number/assets/flags/us.js +0 -4
  684. package/dist/collection/components/vega-input-phone-number/assets/flags/uy.js +0 -4
  685. package/dist/collection/components/vega-input-phone-number/assets/flags/uz.js +0 -4
  686. package/dist/collection/components/vega-input-phone-number/assets/flags/va.js +0 -4
  687. package/dist/collection/components/vega-input-phone-number/assets/flags/vc.js +0 -4
  688. package/dist/collection/components/vega-input-phone-number/assets/flags/ve.js +0 -4
  689. package/dist/collection/components/vega-input-phone-number/assets/flags/vg.js +0 -4
  690. package/dist/collection/components/vega-input-phone-number/assets/flags/vi.js +0 -4
  691. package/dist/collection/components/vega-input-phone-number/assets/flags/vn.js +0 -4
  692. package/dist/collection/components/vega-input-phone-number/assets/flags/vu.js +0 -4
  693. package/dist/collection/components/vega-input-phone-number/assets/flags/wf.js +0 -4
  694. package/dist/collection/components/vega-input-phone-number/assets/flags/ws.js +0 -4
  695. package/dist/collection/components/vega-input-phone-number/assets/flags/xk.js +0 -4
  696. package/dist/collection/components/vega-input-phone-number/assets/flags/ye.js +0 -4
  697. package/dist/collection/components/vega-input-phone-number/assets/flags/yt.js +0 -4
  698. package/dist/collection/components/vega-input-phone-number/assets/flags/za.js +0 -4
  699. package/dist/collection/components/vega-input-phone-number/assets/flags/zm.js +0 -4
  700. package/dist/collection/components/vega-input-phone-number/assets/flags/zw.js +0 -4
  701. package/dist/types/components/vega-input-phone-number/assets/country-flags.d.ts +0 -5
  702. package/dist/types/components/vega-input-phone-number/assets/flags/ag.d.ts +0 -3
  703. package/dist/types/components/vega-input-phone-number/assets/flags/ai.d.ts +0 -3
  704. package/dist/types/components/vega-input-phone-number/assets/flags/al.d.ts +0 -3
  705. package/dist/types/components/vega-input-phone-number/assets/flags/am.d.ts +0 -3
  706. package/dist/types/components/vega-input-phone-number/assets/flags/ao.d.ts +0 -3
  707. package/dist/types/components/vega-input-phone-number/assets/flags/ar.d.ts +0 -3
  708. package/dist/types/components/vega-input-phone-number/assets/flags/as.d.ts +0 -3
  709. package/dist/types/components/vega-input-phone-number/assets/flags/at.d.ts +0 -3
  710. package/dist/types/components/vega-input-phone-number/assets/flags/au.d.ts +0 -3
  711. package/dist/types/components/vega-input-phone-number/assets/flags/aw.d.ts +0 -3
  712. package/dist/types/components/vega-input-phone-number/assets/flags/ax.d.ts +0 -3
  713. package/dist/types/components/vega-input-phone-number/assets/flags/az.d.ts +0 -3
  714. package/dist/types/components/vega-input-phone-number/assets/flags/ba.d.ts +0 -3
  715. package/dist/types/components/vega-input-phone-number/assets/flags/bb.d.ts +0 -3
  716. package/dist/types/components/vega-input-phone-number/assets/flags/bd.d.ts +0 -3
  717. package/dist/types/components/vega-input-phone-number/assets/flags/be.d.ts +0 -3
  718. package/dist/types/components/vega-input-phone-number/assets/flags/bf.d.ts +0 -3
  719. package/dist/types/components/vega-input-phone-number/assets/flags/bg.d.ts +0 -3
  720. package/dist/types/components/vega-input-phone-number/assets/flags/bh.d.ts +0 -3
  721. package/dist/types/components/vega-input-phone-number/assets/flags/bi.d.ts +0 -3
  722. package/dist/types/components/vega-input-phone-number/assets/flags/bj.d.ts +0 -3
  723. package/dist/types/components/vega-input-phone-number/assets/flags/bl.d.ts +0 -3
  724. package/dist/types/components/vega-input-phone-number/assets/flags/bm.d.ts +0 -3
  725. package/dist/types/components/vega-input-phone-number/assets/flags/bn.d.ts +0 -3
  726. package/dist/types/components/vega-input-phone-number/assets/flags/bo.d.ts +0 -3
  727. package/dist/types/components/vega-input-phone-number/assets/flags/bq.d.ts +0 -3
  728. package/dist/types/components/vega-input-phone-number/assets/flags/br.d.ts +0 -3
  729. package/dist/types/components/vega-input-phone-number/assets/flags/bs.d.ts +0 -3
  730. package/dist/types/components/vega-input-phone-number/assets/flags/bt.d.ts +0 -3
  731. package/dist/types/components/vega-input-phone-number/assets/flags/bw.d.ts +0 -3
  732. package/dist/types/components/vega-input-phone-number/assets/flags/by.d.ts +0 -3
  733. package/dist/types/components/vega-input-phone-number/assets/flags/bz.d.ts +0 -3
  734. package/dist/types/components/vega-input-phone-number/assets/flags/ca.d.ts +0 -3
  735. package/dist/types/components/vega-input-phone-number/assets/flags/cc.d.ts +0 -3
  736. package/dist/types/components/vega-input-phone-number/assets/flags/cd.d.ts +0 -3
  737. package/dist/types/components/vega-input-phone-number/assets/flags/cf.d.ts +0 -3
  738. package/dist/types/components/vega-input-phone-number/assets/flags/cg.d.ts +0 -3
  739. package/dist/types/components/vega-input-phone-number/assets/flags/ch.d.ts +0 -3
  740. package/dist/types/components/vega-input-phone-number/assets/flags/ci.d.ts +0 -3
  741. package/dist/types/components/vega-input-phone-number/assets/flags/ck.d.ts +0 -3
  742. package/dist/types/components/vega-input-phone-number/assets/flags/cl.d.ts +0 -3
  743. package/dist/types/components/vega-input-phone-number/assets/flags/cm.d.ts +0 -3
  744. package/dist/types/components/vega-input-phone-number/assets/flags/cn.d.ts +0 -3
  745. package/dist/types/components/vega-input-phone-number/assets/flags/co.d.ts +0 -3
  746. package/dist/types/components/vega-input-phone-number/assets/flags/cr.d.ts +0 -3
  747. package/dist/types/components/vega-input-phone-number/assets/flags/cu.d.ts +0 -3
  748. package/dist/types/components/vega-input-phone-number/assets/flags/cv.d.ts +0 -3
  749. package/dist/types/components/vega-input-phone-number/assets/flags/cw.d.ts +0 -3
  750. package/dist/types/components/vega-input-phone-number/assets/flags/cx.d.ts +0 -3
  751. package/dist/types/components/vega-input-phone-number/assets/flags/cy.d.ts +0 -3
  752. package/dist/types/components/vega-input-phone-number/assets/flags/cz.d.ts +0 -3
  753. package/dist/types/components/vega-input-phone-number/assets/flags/de.d.ts +0 -3
  754. package/dist/types/components/vega-input-phone-number/assets/flags/dj.d.ts +0 -3
  755. package/dist/types/components/vega-input-phone-number/assets/flags/dk.d.ts +0 -3
  756. package/dist/types/components/vega-input-phone-number/assets/flags/dm.d.ts +0 -3
  757. package/dist/types/components/vega-input-phone-number/assets/flags/do.d.ts +0 -3
  758. package/dist/types/components/vega-input-phone-number/assets/flags/dz.d.ts +0 -3
  759. package/dist/types/components/vega-input-phone-number/assets/flags/ec.d.ts +0 -3
  760. package/dist/types/components/vega-input-phone-number/assets/flags/ee.d.ts +0 -3
  761. package/dist/types/components/vega-input-phone-number/assets/flags/eg.d.ts +0 -3
  762. package/dist/types/components/vega-input-phone-number/assets/flags/eh.d.ts +0 -3
  763. package/dist/types/components/vega-input-phone-number/assets/flags/er.d.ts +0 -3
  764. package/dist/types/components/vega-input-phone-number/assets/flags/es.d.ts +0 -3
  765. package/dist/types/components/vega-input-phone-number/assets/flags/et.d.ts +0 -3
  766. package/dist/types/components/vega-input-phone-number/assets/flags/fi.d.ts +0 -3
  767. package/dist/types/components/vega-input-phone-number/assets/flags/fj.d.ts +0 -3
  768. package/dist/types/components/vega-input-phone-number/assets/flags/fk.d.ts +0 -3
  769. package/dist/types/components/vega-input-phone-number/assets/flags/fm.d.ts +0 -3
  770. package/dist/types/components/vega-input-phone-number/assets/flags/fo.d.ts +0 -3
  771. package/dist/types/components/vega-input-phone-number/assets/flags/fr.d.ts +0 -3
  772. package/dist/types/components/vega-input-phone-number/assets/flags/ga.d.ts +0 -3
  773. package/dist/types/components/vega-input-phone-number/assets/flags/gb.d.ts +0 -3
  774. package/dist/types/components/vega-input-phone-number/assets/flags/gd.d.ts +0 -3
  775. package/dist/types/components/vega-input-phone-number/assets/flags/ge.d.ts +0 -3
  776. package/dist/types/components/vega-input-phone-number/assets/flags/gf.d.ts +0 -3
  777. package/dist/types/components/vega-input-phone-number/assets/flags/gg.d.ts +0 -3
  778. package/dist/types/components/vega-input-phone-number/assets/flags/gh.d.ts +0 -3
  779. package/dist/types/components/vega-input-phone-number/assets/flags/gi.d.ts +0 -3
  780. package/dist/types/components/vega-input-phone-number/assets/flags/gl.d.ts +0 -3
  781. package/dist/types/components/vega-input-phone-number/assets/flags/gm.d.ts +0 -3
  782. package/dist/types/components/vega-input-phone-number/assets/flags/gn.d.ts +0 -3
  783. package/dist/types/components/vega-input-phone-number/assets/flags/gp.d.ts +0 -3
  784. package/dist/types/components/vega-input-phone-number/assets/flags/gq.d.ts +0 -3
  785. package/dist/types/components/vega-input-phone-number/assets/flags/gr.d.ts +0 -3
  786. package/dist/types/components/vega-input-phone-number/assets/flags/gt.d.ts +0 -3
  787. package/dist/types/components/vega-input-phone-number/assets/flags/gu.d.ts +0 -3
  788. package/dist/types/components/vega-input-phone-number/assets/flags/gw.d.ts +0 -3
  789. package/dist/types/components/vega-input-phone-number/assets/flags/gy.d.ts +0 -3
  790. package/dist/types/components/vega-input-phone-number/assets/flags/hk.d.ts +0 -3
  791. package/dist/types/components/vega-input-phone-number/assets/flags/hn.d.ts +0 -3
  792. package/dist/types/components/vega-input-phone-number/assets/flags/hr.d.ts +0 -3
  793. package/dist/types/components/vega-input-phone-number/assets/flags/ht.d.ts +0 -3
  794. package/dist/types/components/vega-input-phone-number/assets/flags/hu.d.ts +0 -3
  795. package/dist/types/components/vega-input-phone-number/assets/flags/id.d.ts +0 -3
  796. package/dist/types/components/vega-input-phone-number/assets/flags/ie.d.ts +0 -3
  797. package/dist/types/components/vega-input-phone-number/assets/flags/il.d.ts +0 -3
  798. package/dist/types/components/vega-input-phone-number/assets/flags/im.d.ts +0 -3
  799. package/dist/types/components/vega-input-phone-number/assets/flags/in.d.ts +0 -3
  800. package/dist/types/components/vega-input-phone-number/assets/flags/io.d.ts +0 -3
  801. package/dist/types/components/vega-input-phone-number/assets/flags/iq.d.ts +0 -3
  802. package/dist/types/components/vega-input-phone-number/assets/flags/ir.d.ts +0 -3
  803. package/dist/types/components/vega-input-phone-number/assets/flags/is.d.ts +0 -3
  804. package/dist/types/components/vega-input-phone-number/assets/flags/it.d.ts +0 -3
  805. package/dist/types/components/vega-input-phone-number/assets/flags/je.d.ts +0 -3
  806. package/dist/types/components/vega-input-phone-number/assets/flags/jm.d.ts +0 -3
  807. package/dist/types/components/vega-input-phone-number/assets/flags/jo.d.ts +0 -3
  808. package/dist/types/components/vega-input-phone-number/assets/flags/jp.d.ts +0 -3
  809. package/dist/types/components/vega-input-phone-number/assets/flags/ke.d.ts +0 -3
  810. package/dist/types/components/vega-input-phone-number/assets/flags/kg.d.ts +0 -3
  811. package/dist/types/components/vega-input-phone-number/assets/flags/kh.d.ts +0 -3
  812. package/dist/types/components/vega-input-phone-number/assets/flags/ki.d.ts +0 -3
  813. package/dist/types/components/vega-input-phone-number/assets/flags/km.d.ts +0 -3
  814. package/dist/types/components/vega-input-phone-number/assets/flags/kn.d.ts +0 -3
  815. package/dist/types/components/vega-input-phone-number/assets/flags/kp.d.ts +0 -3
  816. package/dist/types/components/vega-input-phone-number/assets/flags/kr.d.ts +0 -3
  817. package/dist/types/components/vega-input-phone-number/assets/flags/kw.d.ts +0 -3
  818. package/dist/types/components/vega-input-phone-number/assets/flags/ky.d.ts +0 -3
  819. package/dist/types/components/vega-input-phone-number/assets/flags/kz.d.ts +0 -3
  820. package/dist/types/components/vega-input-phone-number/assets/flags/la.d.ts +0 -3
  821. package/dist/types/components/vega-input-phone-number/assets/flags/lb.d.ts +0 -3
  822. package/dist/types/components/vega-input-phone-number/assets/flags/lc.d.ts +0 -3
  823. package/dist/types/components/vega-input-phone-number/assets/flags/li.d.ts +0 -3
  824. package/dist/types/components/vega-input-phone-number/assets/flags/lk.d.ts +0 -3
  825. package/dist/types/components/vega-input-phone-number/assets/flags/lr.d.ts +0 -3
  826. package/dist/types/components/vega-input-phone-number/assets/flags/ls.d.ts +0 -3
  827. package/dist/types/components/vega-input-phone-number/assets/flags/lt.d.ts +0 -3
  828. package/dist/types/components/vega-input-phone-number/assets/flags/lu.d.ts +0 -3
  829. package/dist/types/components/vega-input-phone-number/assets/flags/lv.d.ts +0 -3
  830. package/dist/types/components/vega-input-phone-number/assets/flags/ly.d.ts +0 -3
  831. package/dist/types/components/vega-input-phone-number/assets/flags/ma.d.ts +0 -3
  832. package/dist/types/components/vega-input-phone-number/assets/flags/mc.d.ts +0 -3
  833. package/dist/types/components/vega-input-phone-number/assets/flags/md.d.ts +0 -3
  834. package/dist/types/components/vega-input-phone-number/assets/flags/me.d.ts +0 -3
  835. package/dist/types/components/vega-input-phone-number/assets/flags/mf.d.ts +0 -3
  836. package/dist/types/components/vega-input-phone-number/assets/flags/mg.d.ts +0 -3
  837. package/dist/types/components/vega-input-phone-number/assets/flags/mh.d.ts +0 -3
  838. package/dist/types/components/vega-input-phone-number/assets/flags/mk.d.ts +0 -3
  839. package/dist/types/components/vega-input-phone-number/assets/flags/ml.d.ts +0 -3
  840. package/dist/types/components/vega-input-phone-number/assets/flags/mm.d.ts +0 -3
  841. package/dist/types/components/vega-input-phone-number/assets/flags/mn.d.ts +0 -3
  842. package/dist/types/components/vega-input-phone-number/assets/flags/mo.d.ts +0 -3
  843. package/dist/types/components/vega-input-phone-number/assets/flags/mp.d.ts +0 -3
  844. package/dist/types/components/vega-input-phone-number/assets/flags/mq.d.ts +0 -3
  845. package/dist/types/components/vega-input-phone-number/assets/flags/mr.d.ts +0 -3
  846. package/dist/types/components/vega-input-phone-number/assets/flags/ms.d.ts +0 -3
  847. package/dist/types/components/vega-input-phone-number/assets/flags/mt.d.ts +0 -3
  848. package/dist/types/components/vega-input-phone-number/assets/flags/mu.d.ts +0 -3
  849. package/dist/types/components/vega-input-phone-number/assets/flags/mv.d.ts +0 -3
  850. package/dist/types/components/vega-input-phone-number/assets/flags/mw.d.ts +0 -3
  851. package/dist/types/components/vega-input-phone-number/assets/flags/mx.d.ts +0 -3
  852. package/dist/types/components/vega-input-phone-number/assets/flags/my.d.ts +0 -3
  853. package/dist/types/components/vega-input-phone-number/assets/flags/mz.d.ts +0 -3
  854. package/dist/types/components/vega-input-phone-number/assets/flags/na.d.ts +0 -3
  855. package/dist/types/components/vega-input-phone-number/assets/flags/nc.d.ts +0 -3
  856. package/dist/types/components/vega-input-phone-number/assets/flags/ne.d.ts +0 -3
  857. package/dist/types/components/vega-input-phone-number/assets/flags/nf.d.ts +0 -3
  858. package/dist/types/components/vega-input-phone-number/assets/flags/ng.d.ts +0 -3
  859. package/dist/types/components/vega-input-phone-number/assets/flags/ni.d.ts +0 -3
  860. package/dist/types/components/vega-input-phone-number/assets/flags/nl.d.ts +0 -3
  861. package/dist/types/components/vega-input-phone-number/assets/flags/no.d.ts +0 -3
  862. package/dist/types/components/vega-input-phone-number/assets/flags/np.d.ts +0 -3
  863. package/dist/types/components/vega-input-phone-number/assets/flags/nr.d.ts +0 -3
  864. package/dist/types/components/vega-input-phone-number/assets/flags/nu.d.ts +0 -3
  865. package/dist/types/components/vega-input-phone-number/assets/flags/nz.d.ts +0 -3
  866. package/dist/types/components/vega-input-phone-number/assets/flags/om.d.ts +0 -3
  867. package/dist/types/components/vega-input-phone-number/assets/flags/pa.d.ts +0 -3
  868. package/dist/types/components/vega-input-phone-number/assets/flags/pe.d.ts +0 -3
  869. package/dist/types/components/vega-input-phone-number/assets/flags/pf.d.ts +0 -3
  870. package/dist/types/components/vega-input-phone-number/assets/flags/pg.d.ts +0 -3
  871. package/dist/types/components/vega-input-phone-number/assets/flags/ph.d.ts +0 -3
  872. package/dist/types/components/vega-input-phone-number/assets/flags/pk.d.ts +0 -3
  873. package/dist/types/components/vega-input-phone-number/assets/flags/pl.d.ts +0 -3
  874. package/dist/types/components/vega-input-phone-number/assets/flags/pm.d.ts +0 -3
  875. package/dist/types/components/vega-input-phone-number/assets/flags/pr.d.ts +0 -3
  876. package/dist/types/components/vega-input-phone-number/assets/flags/ps.d.ts +0 -3
  877. package/dist/types/components/vega-input-phone-number/assets/flags/pt.d.ts +0 -3
  878. package/dist/types/components/vega-input-phone-number/assets/flags/pw.d.ts +0 -3
  879. package/dist/types/components/vega-input-phone-number/assets/flags/py.d.ts +0 -3
  880. package/dist/types/components/vega-input-phone-number/assets/flags/qa.d.ts +0 -3
  881. package/dist/types/components/vega-input-phone-number/assets/flags/re.d.ts +0 -3
  882. package/dist/types/components/vega-input-phone-number/assets/flags/ro.d.ts +0 -3
  883. package/dist/types/components/vega-input-phone-number/assets/flags/rs.d.ts +0 -3
  884. package/dist/types/components/vega-input-phone-number/assets/flags/ru.d.ts +0 -3
  885. package/dist/types/components/vega-input-phone-number/assets/flags/rw.d.ts +0 -3
  886. package/dist/types/components/vega-input-phone-number/assets/flags/sa.d.ts +0 -3
  887. package/dist/types/components/vega-input-phone-number/assets/flags/sb.d.ts +0 -3
  888. package/dist/types/components/vega-input-phone-number/assets/flags/sc.d.ts +0 -3
  889. package/dist/types/components/vega-input-phone-number/assets/flags/sd.d.ts +0 -3
  890. package/dist/types/components/vega-input-phone-number/assets/flags/se.d.ts +0 -3
  891. package/dist/types/components/vega-input-phone-number/assets/flags/sg.d.ts +0 -3
  892. package/dist/types/components/vega-input-phone-number/assets/flags/sh.d.ts +0 -3
  893. package/dist/types/components/vega-input-phone-number/assets/flags/si.d.ts +0 -3
  894. package/dist/types/components/vega-input-phone-number/assets/flags/sj.d.ts +0 -3
  895. package/dist/types/components/vega-input-phone-number/assets/flags/sk.d.ts +0 -3
  896. package/dist/types/components/vega-input-phone-number/assets/flags/sl.d.ts +0 -3
  897. package/dist/types/components/vega-input-phone-number/assets/flags/sm.d.ts +0 -3
  898. package/dist/types/components/vega-input-phone-number/assets/flags/sn.d.ts +0 -3
  899. package/dist/types/components/vega-input-phone-number/assets/flags/so.d.ts +0 -3
  900. package/dist/types/components/vega-input-phone-number/assets/flags/sr.d.ts +0 -3
  901. package/dist/types/components/vega-input-phone-number/assets/flags/ss.d.ts +0 -3
  902. package/dist/types/components/vega-input-phone-number/assets/flags/st.d.ts +0 -3
  903. package/dist/types/components/vega-input-phone-number/assets/flags/sv.d.ts +0 -3
  904. package/dist/types/components/vega-input-phone-number/assets/flags/sx.d.ts +0 -3
  905. package/dist/types/components/vega-input-phone-number/assets/flags/sy.d.ts +0 -3
  906. package/dist/types/components/vega-input-phone-number/assets/flags/sz.d.ts +0 -3
  907. package/dist/types/components/vega-input-phone-number/assets/flags/ta.d.ts +0 -3
  908. package/dist/types/components/vega-input-phone-number/assets/flags/tc.d.ts +0 -3
  909. package/dist/types/components/vega-input-phone-number/assets/flags/td.d.ts +0 -3
  910. package/dist/types/components/vega-input-phone-number/assets/flags/tg.d.ts +0 -3
  911. package/dist/types/components/vega-input-phone-number/assets/flags/th.d.ts +0 -3
  912. package/dist/types/components/vega-input-phone-number/assets/flags/tj.d.ts +0 -3
  913. package/dist/types/components/vega-input-phone-number/assets/flags/tk.d.ts +0 -3
  914. package/dist/types/components/vega-input-phone-number/assets/flags/tl.d.ts +0 -3
  915. package/dist/types/components/vega-input-phone-number/assets/flags/tm.d.ts +0 -3
  916. package/dist/types/components/vega-input-phone-number/assets/flags/tn.d.ts +0 -3
  917. package/dist/types/components/vega-input-phone-number/assets/flags/to.d.ts +0 -3
  918. package/dist/types/components/vega-input-phone-number/assets/flags/tr.d.ts +0 -3
  919. package/dist/types/components/vega-input-phone-number/assets/flags/tt.d.ts +0 -3
  920. package/dist/types/components/vega-input-phone-number/assets/flags/tv.d.ts +0 -3
  921. package/dist/types/components/vega-input-phone-number/assets/flags/tw.d.ts +0 -3
  922. package/dist/types/components/vega-input-phone-number/assets/flags/tz.d.ts +0 -3
  923. package/dist/types/components/vega-input-phone-number/assets/flags/ua.d.ts +0 -3
  924. package/dist/types/components/vega-input-phone-number/assets/flags/ug.d.ts +0 -3
  925. package/dist/types/components/vega-input-phone-number/assets/flags/us.d.ts +0 -3
  926. package/dist/types/components/vega-input-phone-number/assets/flags/uy.d.ts +0 -3
  927. package/dist/types/components/vega-input-phone-number/assets/flags/uz.d.ts +0 -3
  928. package/dist/types/components/vega-input-phone-number/assets/flags/va.d.ts +0 -3
  929. package/dist/types/components/vega-input-phone-number/assets/flags/vc.d.ts +0 -3
  930. package/dist/types/components/vega-input-phone-number/assets/flags/ve.d.ts +0 -3
  931. package/dist/types/components/vega-input-phone-number/assets/flags/vg.d.ts +0 -3
  932. package/dist/types/components/vega-input-phone-number/assets/flags/vi.d.ts +0 -3
  933. package/dist/types/components/vega-input-phone-number/assets/flags/vn.d.ts +0 -3
  934. package/dist/types/components/vega-input-phone-number/assets/flags/vu.d.ts +0 -3
  935. package/dist/types/components/vega-input-phone-number/assets/flags/wf.d.ts +0 -3
  936. package/dist/types/components/vega-input-phone-number/assets/flags/ws.d.ts +0 -3
  937. package/dist/types/components/vega-input-phone-number/assets/flags/xk.d.ts +0 -3
  938. package/dist/types/components/vega-input-phone-number/assets/flags/ye.d.ts +0 -3
  939. package/dist/types/components/vega-input-phone-number/assets/flags/yt.d.ts +0 -3
  940. package/dist/types/components/vega-input-phone-number/assets/flags/za.d.ts +0 -3
  941. package/dist/types/components/vega-input-phone-number/assets/flags/zm.d.ts +0 -3
  942. package/dist/types/components/vega-input-phone-number/assets/flags/zw.d.ts +0 -3
  943. package/dist/vega/p-00433d02.entry.js +0 -1
  944. package/dist/vega/p-043ee49b.entry.js +0 -1
  945. package/dist/vega/p-076fafdb.entry.js +0 -1
  946. package/dist/vega/p-08c6d5ab.entry.js +0 -1
  947. package/dist/vega/p-0a6986dd.entry.js +0 -1
  948. package/dist/vega/p-0a8b91f5.entry.js +0 -1
  949. package/dist/vega/p-0af09a86.js +0 -1
  950. package/dist/vega/p-0ddc1605.entry.js +0 -1
  951. package/dist/vega/p-141a5d82.entry.js +0 -1
  952. package/dist/vega/p-1a2c7868.entry.js +0 -1
  953. package/dist/vega/p-1d1eba9a.js +0 -1
  954. package/dist/vega/p-1e499bbc.js +0 -1
  955. package/dist/vega/p-2168b00d.entry.js +0 -1
  956. package/dist/vega/p-2951342f.entry.js +0 -1
  957. package/dist/vega/p-2c197dcc.entry.js +0 -1
  958. package/dist/vega/p-2c79b20a.entry.js +0 -1
  959. package/dist/vega/p-36dabeeb.entry.js +0 -1
  960. package/dist/vega/p-378b8359.entry.js +0 -1
  961. package/dist/vega/p-3a5b223e.entry.js +0 -1
  962. package/dist/vega/p-3c3307f9.entry.js +0 -1
  963. package/dist/vega/p-3dafea54.entry.js +0 -1
  964. package/dist/vega/p-494b26ea.entry.js +0 -1
  965. package/dist/vega/p-4a565ffa.entry.js +0 -1
  966. package/dist/vega/p-4dbf3bf1.entry.js +0 -1
  967. package/dist/vega/p-512408f0.entry.js +0 -1
  968. package/dist/vega/p-5292294a.entry.js +0 -1
  969. package/dist/vega/p-5304d92c.entry.js +0 -1
  970. package/dist/vega/p-5575c5b9.entry.js +0 -1
  971. package/dist/vega/p-560fbbfa.js +0 -1
  972. package/dist/vega/p-5ba0a9f7.js +0 -1
  973. package/dist/vega/p-5e4a0c04.js +0 -1
  974. package/dist/vega/p-5e9b499b.entry.js +0 -1
  975. package/dist/vega/p-603e7332.entry.js +0 -1
  976. package/dist/vega/p-6079a927.entry.js +0 -1
  977. package/dist/vega/p-61f36ce3.entry.js +0 -1
  978. package/dist/vega/p-6a1e7e2e.js +0 -1
  979. package/dist/vega/p-6bf10619.entry.js +0 -1
  980. package/dist/vega/p-6f677e61.entry.js +0 -1
  981. package/dist/vega/p-757e262f.entry.js +0 -1
  982. package/dist/vega/p-7710cbf9.entry.js +0 -1
  983. package/dist/vega/p-8148e608.entry.js +0 -1
  984. package/dist/vega/p-878dceb7.js +0 -1
  985. package/dist/vega/p-888bbb49.entry.js +0 -1
  986. package/dist/vega/p-8f20fee5.entry.js +0 -1
  987. package/dist/vega/p-912b7444.js +0 -1
  988. package/dist/vega/p-9351c45f.entry.js +0 -1
  989. package/dist/vega/p-95883f88.entry.js +0 -1
  990. package/dist/vega/p-97abc592.entry.js +0 -1
  991. package/dist/vega/p-9c725036.entry.js +0 -1
  992. package/dist/vega/p-a9ce2dd9.entry.js +0 -1
  993. package/dist/vega/p-ae6f20c3.entry.js +0 -1
  994. package/dist/vega/p-b8cfdb9d.entry.js +0 -1
  995. package/dist/vega/p-befae6ba.js +0 -1
  996. package/dist/vega/p-bfd89ca7.entry.js +0 -1
  997. package/dist/vega/p-c2e7d93e.entry.js +0 -1
  998. package/dist/vega/p-c4635a1b.entry.js +0 -1
  999. package/dist/vega/p-c4a29efd.entry.js +0 -1
  1000. package/dist/vega/p-ca0da74d.entry.js +0 -1
  1001. package/dist/vega/p-ca40dc54.entry.js +0 -1
  1002. package/dist/vega/p-caeb3663.js +0 -1
  1003. package/dist/vega/p-cb531c91.entry.js +0 -1
  1004. package/dist/vega/p-cd5b6b73.entry.js +0 -1
  1005. package/dist/vega/p-d1b927b5.entry.js +0 -1
  1006. package/dist/vega/p-d92f5296.js +0 -1
  1007. package/dist/vega/p-e06361df.js +0 -1
  1008. package/dist/vega/p-e4049b65.js +0 -1
  1009. package/dist/vega/p-e4f018dd.entry.js +0 -1
  1010. package/dist/vega/p-ee7f2d0c.entry.js +0 -1
  1011. package/dist/vega/p-f0b988aa.entry.js +0 -1
  1012. package/dist/vega/p-f38e97a4.entry.js +0 -1
  1013. package/dist/vega/p-f7cf81b6.js +0 -1
  1014. package/dist/vega/p-f8301c01.entry.js +0 -1
  1015. package/dist/vega/p-fa0f1143.entry.js +0 -1
  1016. package/dist/vega/p-fcdd9251.js +0 -1
  1017. package/dist/vega/p-ff0523b8.entry.js +0 -1
  1018. /package/dist/cjs/{internal-icon-manager-14cef77c.js → internal-icon-manager-00f49470.js} +0 -0
  1019. /package/dist/esm/{internal-icon-manager-9c0c4ce4.js → internal-icon-manager-58cf8aa6.js} +0 -0
  1020. /package/dist/vega/{p-38e3c739.js → p-c9b9322b.js} +0 -0
@@ -1 +0,0 @@
1
- import{h as e,H as t,r as i,c as o,g as a}from"./p-1c298d5a.js";import{s as r}from"./p-9b797118.js";import{R as n}from"./p-280cbcdb.js";import{c as s,V as l,M as d,I as p}from"./p-6e1ab235.js";import{R as c}from"./p-79c55889.js";import{m as h}from"./p-6bd5c49b.js";import{V as g,I as v}from"./p-4387d550.js";import{D as m}from"./p-fcdd9251.js";import{a as f,f as u,t as b,z as x}from"./p-6a1e7e2e.js";import{b as w}from"./p-317018ba.js";import{C as y}from"./p-2d0d575f.js";import{c as j}from"./p-86194314.js";import{b as R}from"./p-878dceb7.js";import{F as I}from"./p-5ba0a9f7.js";import{f as C,d as k}from"./p-bf953152.js";import{C as U}from"./p-47facbb4.js";import{c as O}from"./p-f95b164c.js";import{T as z}from"./p-38cd5b2e.js";import"./p-abd7aeaa.js";import"./p-b1f65b13.js";import"./p-ed45b3b6.js";import"./p-74168615.js";import"./p-3a0a4d15.js";import"./p-d884c644.js";import"./p-c0291e2e.js";import"./p-262ec334.js";import"./p-0c667d6a.js";import"./p-3647d61d.js";import"./p-5f377954.js";import"./p-1e940ce8.js";import"./p-7a40e033.js";import"./p-112455b1.js";import"./p-f7cf81b6.js";import"./p-e06361df.js";import"./p-37b05e0b.js";import"./p-6a334573.js";import"./p-cc63e827.js";import"./p-0fd6c35b.js";import"./p-7cb3666d.js";import"./p-97ded803.js";import"./p-0bb29d98.js";import"./p-987fbbd0.js";import"./p-b5f5a5e0.js";var V=function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class F extends l{getImageUploaderContainer(){return this.imageUploaderContainerRef}render(){return e(t,{class:{disabled:this.disabled}},this.renderLabelDom(),e("div",{ref:e=>this.imageUploaderContainerRef=e,class:{"vega-image-uploader-select":!0,"disabled-border":this.disabled&&!this.value},style:{width:this.getSize(this.width),height:this.getSize(this.height)}},this.renderContentByStatus()),this.inputRenderer.render(),this.renderHint())}renderLabelDom(){return e("vega-field-label",{"is-field-required":this.required,disabled:this.disabled,label:this.label})}renderContentByStatus(){if("uploading"===this.status)return this.uploadingContentRenderer.render();{const e=this.previewController.getImagePreviewURL();return e?this.previewContentRenderer.render(e):this.defaultContentRenderer.render()}}renderHint(){return this.hint&&e("div",{class:"vega-hint"},e("label",null,this.hint))}getSize(e){if(e){const t=c.format(e,"size");return"number"==typeof t?`${t}px`:`${t}`}}}V([s({componentFieldName:"vegaImageUploaderInputRenderer"})],F.prototype,"inputRenderer",void 0),V([s({componentFieldName:"vegaImageUploaderDefaultContentRenderer"})],F.prototype,"defaultContentRenderer",void 0),V([s({componentFieldName:"vegaImageUploaderPreviewContentRenderer"})],F.prototype,"previewContentRenderer",void 0),V([s({componentFieldName:"vegaImageUploaderUploadingContentRenderer"})],F.prototype,"uploadingContentRenderer",void 0),V([s({componentFieldName:"vegaImageUploaderPreviewController"})],F.prototype,"previewController",void 0),V([s()],F.prototype,"value",void 0),V([s()],F.prototype,"disabled",void 0),V([s()],F.prototype,"status",void 0),V([s()],F.prototype,"label",void 0),V([s()],F.prototype,"required",void 0),V([s()],F.prototype,"width",void 0),V([s()],F.prototype,"height",void 0),V([s()],F.prototype,"hint",void 0);var N=function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class D extends l{constructor(){super(...arguments),this.handleFileInputChange=e=>{e.stopPropagation();const t=e.target;t.files.length&&this.valueController.setValue(t.files[0])}}getFileInputRef(){return this.fileInputRef}render(){return e("input",{type:"file",accept:this.accept,class:"v-hidden",ref:e=>this.fileInputRef=e,onChange:this.handleFileInputChange})}}N([s({componentFieldName:"vegaImageUploaderValueController"})],D.prototype,"valueController",void 0),N([s()],D.prototype,"accept",void 0);var E=function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class A extends l{triggerInputClick(){this.disabled||this.inputRenderer.getFileInputRef().click()}resetInput(){this.inputRenderer.getFileInputRef().value=""}}E([s({componentFieldName:"vegaImageUploaderInputRenderer"})],A.prototype,"inputRenderer",void 0),E([s()],A.prototype,"disabled",void 0);var P=function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class S extends l{constructor(){super(...arguments),this.renderActionButton=t=>{const i=this.getButtonOptions(t);return e("vega-button-circle",Object.assign({size:"small",variant:"icon-only",iconColor:"text-inverted-primary",role:"menuitem",ref:e=>{m.addUniqueObserverToNode(e,f,(()=>{this.handleClick(t)}))}},i))}}handleClick(e){switch(e){case"Preview":this.previewController.showPreview();break;case"Delete":this.removeController.showRemoveDialog();break;case"Replace":this.inputController.triggerInputClick()}}render(){return this.showRemoveButton||this.showPreviewButton||this.showReplaceButton?e("span",{class:"actions"},this.showPreviewButton&&this.renderActionButton("Preview"),this.showReplaceButton&&!this.disabled&&this.renderActionButton("Replace"),this.showRemoveButton&&!this.disabled&&this.renderActionButton("Delete")):null}getButtonOptions(e){let t;switch(e){case"Preview":t={icon:"zoom-in",label:e};break;case"Delete":t={icon:"delete-bin",label:e};break;case"Replace":t={icon:"photo",label:e}}return t}}P([s({componentFieldName:"vegaImageUploaderInputController"})],S.prototype,"inputController",void 0),P([s({componentFieldName:"vegaImageUploaderValueController"})],S.prototype,"valueController",void 0),P([s({componentFieldName:"vegaImageUploaderPreviewController"})],S.prototype,"previewController",void 0),P([s({componentFieldName:"vegaImageUploaderRemoveController"})],S.prototype,"removeController",void 0),P([s()],S.prototype,"disabled",void 0),P([s()],S.prototype,"showPreviewButton",void 0),P([s()],S.prototype,"showRemoveButton",void 0),P([s()],S.prototype,"showReplaceButton",void 0),P([s()],S.prototype,"removeEventEmitter",void 0);var L=function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class T extends l{handleValueChange(){this.value||this.inputController.resetInput(),this.changeEventEmitter.emit(this.value),y.notify(w,{host:this.host,detail:this.value})}setValue(e){this.value=e}}L([s({writable:!0})],T.prototype,"value",void 0),L([s()],T.prototype,"changeEventEmitter",void 0),L([s()],T.prototype,"host",void 0),L([s({componentFieldName:"vegaImageUploaderInputController"})],T.prototype,"inputController",void 0),L([d("watchValue")],T.prototype,"handleValueChange",null);var _=function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class B extends l{constructor(){super(...arguments),this.getImagePreviewURL=e=>{if(e=e||this.value)return e.url||URL.createObjectURL(e)},this.generatePreviewModal=e=>{const t=document.createElement("vega-modal");return this.value&&this.value.name&&(t.modalTitle=this.value.name),t.innerHTML=`\n <div style='text-align: center'>\n <img style='width: 100%' class="preview-image" src="${e}" alt="" />\n </div>\n `,this.previewModalRef=t,document.body.append(t),t}}disconnectedCallback(){var e;null===(e=this.previewModalRef)||void 0===e||e.remove()}showPreview(){const e=this.getImagePreviewURL();if(this.previewModalRef){const t=this.previewModalRef.querySelector(".preview-image");t&&e&&(t.src=e),this.value&&this.value.name&&(this.previewModalRef.modalTitle=this.value.name),this.previewModalRef.modal("show")}else this.generatePreviewModal(e).modal("show")}}_([s()],B.prototype,"value",void 0),_([d("disconnectedCallback")],B.prototype,"disconnectedCallback",null),_([d("getContentURL")],B.prototype,"getImagePreviewURL",void 0);class K extends l{render(t){const i=this.actionsRenderer.render();return e("div",{class:{"image-preview-container":!0,"actions-backdrop":!!i},tabIndex:0,role:"menu"},e("img",{src:t,alt:""}),i)}}!function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);r>3&&n&&Object.defineProperty(t,i,n)}([s({componentFieldName:"vegaImageUploaderActionsRenderer"})],K.prototype,"actionsRenderer",void 0);var $=function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class q extends l{constructor(){super(...arguments),this.handleCancelUploading=e=>{e.stopPropagation(),this.status=void 0,this.removeController.handleRemoveFile(),this.cancelEventEmitter.emit()}}render(){return e("div",{class:"action-wrapper",role:"button",tabIndex:0,onClick:this.handleCancelUploading,onKeyDown:j()},e("span",{class:"action-loading"}),e("div",{class:"vega-image-uploader-text cancel-action"},"Cancel"))}}$([s({componentFieldName:"vegaImageUploaderRemoveController"})],q.prototype,"removeController",void 0),$([s({writable:!0})],q.prototype,"status",void 0),$([s()],q.prototype,"cancelEventEmitter",void 0);var G=function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class H extends l{constructor(){super(...arguments),this.handleUploaderClick=e=>{e.stopPropagation(),this.inputController.triggerInputClick()}}render(){return e("div",{class:"action-wrapper",role:"button",tabIndex:0,onClick:this.handleUploaderClick,onKeyDown:j()},e("vega-icon",{icon:"plus-sign",size:"size-24"}),e("div",{class:"vega-image-uploader-text"},this.translationSlimmer.t(this.actionTitle)),this.renderSubtitle())}renderSubtitle(){return this.actionSubTitle&&e("div",{class:"sub-title"},this.actionSubTitle)}}G([s({componentFieldName:"vegaImageUploaderInputController"})],H.prototype,"inputController",void 0),G([s()],H.prototype,"actionTitle",void 0),G([s()],H.prototype,"actionSubTitle",void 0),G([s()],H.prototype,"translationSlimmer",void 0);var M=function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class J extends l{constructor(){super(...arguments),this.showRemoveDialog=()=>{this.removeDialogRef=R.open({type:"danger",title:"Delete Image",content:"Are you sure you want to delete this image?",handleOk:()=>(this.handleRemoveFile(),!0),okButton:{label:"Delete"}})},this.handleRemoveFile=()=>{this.valueController.setValue(null),this.removeEventEmitter.emit()}}disconnectedCallback(){var e;null===(e=this.removeDialogRef)||void 0===e||e.remove()}}M([s({componentFieldName:"vegaImageUploaderValueController"})],J.prototype,"valueController",void 0),M([s()],J.prototype,"removeEventEmitter",void 0),M([d("disconnectedCallback")],J.prototype,"disconnectedCallback",null);var Q=function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class W extends l{handleValueChange(){this.value&&this.hideBackDropAndActions()}hideBackDropAndActions(){const e=k();e&&C(e,"vega-image-uploader")===this.host&&e.blur()}}Q([s()],W.prototype,"host",void 0),Q([s()],W.prototype,"value",void 0),Q([d("watchValue")],W.prototype,"handleValueChange",null);const X=[{payloadKey:"AUTO_VALIDATION_IS_TRUE",payloadDescription:"Determines whether automatic validation should be implemented for image uploads",payloadValue:e=>!0===e.autoValidation},{payloadKey:"AUTO_VALIDATION_IS_FALSE",payloadDescription:"Determines whether automatic validation should be implemented for image uploads",payloadValue:e=>!1===e.autoValidation}];var Y=function(e,t,i,o){var a,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(r<3?a(n):r>3?a(t,i,n):a(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};const Z=["jpg","png","jpeg"],ee=class{constructor(e){i(this,e),this.vegaChange=o(this,"vegaChange",7),this.change=o(this,"change",7),this.vegaRemove=o(this,"vegaRemove",7),this.remove=o(this,"remove",7),this.vegaCancel=o(this,"vegaCancel",7),this.cancel=o(this,"cancel",7),this.globalSlimmers={},this.translationSlimmer=new z,this.vegaImageUploaderRenderer=new F,this.vegaImageUploaderUploadingContentRenderer=new q,this.vegaImageUploaderPreviewContentRenderer=new K,this.vegaImageUploaderDefaultContentRenderer=new H,this.vegaImageUploaderInputRenderer=new D,this.vegaImageUploaderActionsRenderer=new S,this.vegaImageUploaderInputController=new A,this.vegaImageUploaderValueController=new T,this.vegaImageUploaderPreviewController=new B,this.vegaImageUploaderRemoveController=new J,this.actionsVisibilityController=new W,this.formFieldController=new I({propertyRules:[{propertyName:"required",ruleFactory:e=>e?new n:null}],validationRulesName:"validationRules",defaultValue:null,attributeGetter:e=>this[e],inputContainerGetter:()=>this.vegaImageUploaderRenderer.getImageUploaderContainer(),touchableAreaGetter:()=>[this.vegaImageUploaderInputRenderer.getFileInputRef()]}),this.changeEventEmitter=O(ee,u),this.removeEventEmitter=O(ee,b),this.cancelEventEmitter=O(ee,x),this.buttonCircleEventPrevent=new U([f],(()=>this.vegaImageUploaderRenderer.getImageUploaderContainer())),this.vegaComponentUsageRuntimeMetricsSlimmer=new g(X),this.value=null,this.accept=Z.map((e=>`.${e}`)).join(","),this.showPreviewButton=!0,this.showRemoveButton=!0,this.showReplaceButton=!0,this.disabled=!1,this.required=!1,this.isValid=null,this.autoValidation=!0,this.validationRules=[],this.label="",this.actionTitle="Upload",this.width=120,this.height=120}watchValue(){}watchValidationRules(){}disconnectedCallback(){}async getContentURL(e){return h(e)}render(){return r(this.vegaImageUploaderRenderer.render(),this.host)}get host(){return a(this)}static get watchers(){return{value:["watchValue"],validationRules:["watchValidationRules"]}}};Y([v()],ee.prototype,"globalSlimmers",void 0),Y([p()],ee.prototype,"translationSlimmer",void 0),Y([p()],ee.prototype,"vegaImageUploaderRenderer",void 0),Y([p()],ee.prototype,"vegaImageUploaderUploadingContentRenderer",void 0),Y([p()],ee.prototype,"vegaImageUploaderPreviewContentRenderer",void 0),Y([p()],ee.prototype,"vegaImageUploaderDefaultContentRenderer",void 0),Y([p()],ee.prototype,"vegaImageUploaderInputRenderer",void 0),Y([p()],ee.prototype,"vegaImageUploaderActionsRenderer",void 0),Y([p()],ee.prototype,"vegaImageUploaderInputController",void 0),Y([p()],ee.prototype,"vegaImageUploaderValueController",void 0),Y([p()],ee.prototype,"vegaImageUploaderPreviewController",void 0),Y([p()],ee.prototype,"vegaImageUploaderRemoveController",void 0),Y([p()],ee.prototype,"actionsVisibilityController",void 0),Y([p()],ee.prototype,"formFieldController",void 0),Y([p()],ee.prototype,"changeEventEmitter",void 0),Y([p()],ee.prototype,"removeEventEmitter",void 0),Y([p()],ee.prototype,"cancelEventEmitter",void 0),Y([p()],ee.prototype,"buttonCircleEventPrevent",void 0),Y([p()],ee.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),ee.style=':host{display:inline-block;vertical-align:middle}:host .vega-image-uploader-select{box-sizing:border-box;background-color:rgba(var(--v-bg-tertiary, 240, 243, 247, 1));border-radius:8px;border-color:rgba(var(--v-border-color-input-field, 171, 198, 216, 1));display:flex;flex-direction:row;align-items:center;border-width:1px;border-style:dashed;min-width:120px;min-height:120px}:host .vega-image-uploader-select .action-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;width:100%;height:100%;padding:12px;box-sizing:border-box;cursor:pointer;flex-grow:1;outline:none}:host(.disabled) .vega-image-uploader-select.disabled-border{border-color:rgba(var(--v-border-color-input-field-disabled, 222, 225, 227, 1))}:host(:not(.disabled)) .vega-image-uploader-select:hover{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border-color:rgba(var(--v-border-color-input-field-hover, 115, 160, 190, 1));background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}:host(:not(.disabled)) .vega-image-uploader-select:hover .vega-image-uploader-text{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}:host(:not(.disabled)) .vega-image-uploader-select .action-wrapper:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-input-focus, 19, 98, 226, 0.25))}:host(:not(.disabled)) .vega-image-uploader-select .actions-backdrop:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-input-focus, 19, 98, 226, 0.25))}:host(:not(.disabled)) .vega-image-uploader-select .error .action-wrapper:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-input-danger-focus, 230, 50, 87, 0.25))}:host(.disabled) .vega-image-uploader-select .action-wrapper{cursor:not-allowed}:host(.disabled) .vega-image-uploader-select .action-wrapper vega-icon{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host(.disabled) .vega-image-uploader-select .action-wrapper .vega-image-uploader-text{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host .vega-image-uploader-select .vega-image-uploader-text{padding-top:20px;color:rgba(var(--v-text-link, 19, 98, 226, 1));font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px;text-align:center}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-image-uploader-select .vega-image-uploader-text{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 .vega-image-uploader-select .vega-image-uploader-text{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 .vega-image-uploader-select .vega-image-uploader-text{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}:host .vega-image-uploader-select .action-wrapper vega-icon{color:rgba(var(--v-text-link, 19, 98, 226, 1))}:host(:not(.disabled)) .vega-image-uploader-select:not(.error):focus-within{border-color:rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1))}:host .image-preview-container{display:flex;align-items:center;justify-content:center;position:relative;height:100%;width:100%;border-radius:8px;outline:none}:host .image-preview-container img{width:100%;height:100%;border-radius:8px;object-fit:contain}:host .image-preview-container.actions-backdrop::before{width:100%;height:100%;border-radius:8px;position:absolute;top:0px;right:0px;bottom:0px;left:0px;opacity:0;transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;background-color:rgba(0, 0, 0, 0.6);content:" "}:host .vega-image-uploader-select .actions{position:absolute;top:0px;right:0px;bottom:0px;left:0px;opacity:0;transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;display:flex;align-items:center;justify-content:center;gap:2px;pointer-events:none}:host .image-preview-container.actions-backdrop:hover::before{opacity:1;pointer-events:auto}:host .image-preview-container:hover .actions{opacity:1;pointer-events:auto}:host .vega-image-uploader-select .actions-backdrop:focus-visible::before{opacity:1;pointer-events:auto}:host .vega-image-uploader-select .actions-backdrop:focus-visible .actions{opacity:1;pointer-events:auto}:host .vega-image-uploader-select .actions-backdrop:focus-within::before{opacity:1;pointer-events:auto}:host .vega-image-uploader-select .actions-backdrop:focus-within .actions{opacity:1;pointer-events:auto}:host .vega-image-uploader-select .action-loading{position:relative;display:inline-block;width:24px;height:24px}:host .vega-image-uploader-select .action-loading::before{content:" ";display:block;border-radius:9999px;position:absolute;top:0px;right:0px;bottom:0px;left:0px;border:4px solid rgb(229, 239, 255)}:host .vega-image-uploader-select .action-loading::after{display:block;border-radius:9999px;position:absolute;top:0px;right:0px;bottom:0px;left:0px;content:" ";border-style:solid;border-width:4px;border-color:rgb(153, 192, 255) transparent transparent transparent;animation:loading 1.2s linear infinite}@keyframes loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host .vega-image-uploader-select .action-wrapper .cancel-action{color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}:host vega-input{display:none}:host input[type=file]{display:none}:host .vega-error{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));display:block;padding-top:12px;padding-right:8px;padding-left:8px}@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-image-uploader-select.error{border-color:rgba(var(--v-border-color-input-field-danger, 230, 50, 87, 1))}:host .vega-image-uploader-select.error:hover{border-color:rgba(var(--v-border-color-input-field-danger-hover, 255, 87, 114, 1))}:host .vega-image-uploader-select.error .action-wrapper:focus-within{box-shadow:0 0 0 4px rgba(var(--v-ring-input-danger-focus, 230, 50, 87, 0.25))}:host .vega-image-uploader-select.error .actions-backdrop:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-input-danger-focus, 230, 50, 87, 0.25))}:host .vega-hidden{display:none}:host vega-field-label{margin-bottom:8px}:host .sub-title{padding-top:4px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;text-align:center}@media screen and (min-width: 768px) and (max-width: 1023px){:host .sub-title{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 .sub-title{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 .sub-title{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host .vega-hint{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-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{ee as vega_image_uploader}
@@ -1 +0,0 @@
1
- import{i as e}from"./p-bf953152.js";class a{constructor(e,a){this.accept=e,this.listener=a}notify(e){this.accept(e)&&this.listener(e)}}class t{constructor(e,a){this.vegaName=e,this.nativeName=a}getName(){return this.getVegaName()}getCurrentName(e){return"native"!==e.namespace?this.getVegaName():this.getNativeName()}getVegaName(){return this.vegaName}getNativeName(){return this.nativeName}isBrowserRawEvent(){return Y.includes(this)}}const s=new t("vegaChange","change"),n=new t("vegaClick","click"),i=new t("vegaFocus","focus"),r=new t("vegaBlur","blur"),o=new t("vegaClose","close"),g=new t("vegaOpen","modalOpen"),c=new t("vegaValidate","validate"),w=new t("vegaFormSubmit","formSubmit"),l=new t("vegaFormReset","formReset"),v=new t("vegaRowClick","rowClick"),h=new t("vegaRowExpand","rowExpand"),d=new t("vegaSelectChange","selectChange"),u=new t("vegaRowSelect","rowSelect"),C=new t("vegaRowSelectAll","rowSelectAll"),p=new t("vegaSelectAllChange","selectAllChange"),S=new t("vegaPageSizeChange","pageSizeChange"),k=new t("vegaDropdownClick","dropdownClick"),m=new t("vegaCreate","create"),b=new t("vegaSearch","search"),f=new t("vegaSearchTrigger","searchTrigger"),R=new t("vegaHide","hide"),A=new t("vegaShow","show"),B=new t("vegaPopoverShow","popoverShow"),E=new t("vegaPopoverHide","popoverHide"),x=new t("vegaCancel","cancel"),y=new t("vegaRemove","remove"),F=new t("vegaPageUpdate","pageUpdate"),N=new t("vegaCurrentStepUpdate","currentStepUpdate"),P=new t("vegaToggleStatus","toggleStatus"),U=new t("vegaStateUpdate","stateUpdate"),j=new t("vegaGroupClick","groupClick"),D=new t("vegaMenuClick","menuClick"),H=new t("vegaExpand","expand"),I=new t("vegaShow","dropdownShow"),M=new t("vegaHide","dropdownHide"),$=new t("vegaSearch","dropdownSearch"),T=new t("vegaActionClick","actionClick"),z=new t("vegaEventClick","eventClick"),O=new t("vegaDateDblClick","dateDblClick"),V=new t("vegaCountryChange","countryChange"),G=new t("vegaActionButtonClick","actionButtonClick"),L=new t("vegaMoreActionClick","moreActionClick"),q=new t("vegaSelectedFileChange","selectedFileChange"),J=new t("vegaImageInserted","imageInserted"),K=new t("vegaRetry","retry"),Q=new t("vegaPreview","preview"),W=new t("vegaLabelButtonClick","labelButtonClick"),X=new t("vegaReset","reset"),Y=[s,n,i,r];class Z{constructor(e,a){this.title=e,this.host=a}getDescription(){return`, this is a dom nodes subject of ${this.title}.(class name:${this.host.className}, id:${this.host.id})`}}const _=new class{constructor(){this.cache=new Map}getSubject(e,a){return this.isExist(e,a)?this.cache.get(e).get(a):this.setSubject(e,a)}isExist(e,a){return!!e&&this.cache.has(e)&&void 0!==this.cache.get(e)&&this.cache.get(e).has(a)}getSubjectFromParentNodeByEventId(a,t){let s;for(const n of this.cache)if(e(a,n[0])&&n[1].has(t)){s=n[1].get(t);break}return s}setSubject(e,a){const t=`${e.tagName}:${a.getName()}`,s=new Z(t,e);return this.cache.get(e)||this.cache.set(e,new Map),this.cache.get(e).set(a,s),s}};export{i as A,r as B,V as C,A as D,R as E,P as F,g as G,U as H,j as I,D as J,T as K,S as L,B as M,E as N,a as O,N as P,J as Q,d as R,p as S,v as T,h as U,H as V,u as W,C as X,n as a,k as b,o as c,_ as d,G as e,s as f,z as g,O as h,L as i,F as j,m as k,b as l,I as m,M as n,X as o,$ as p,f as q,W as r,q as s,y as t,K as u,Q as v,w,l as x,c as y,x as z}
@@ -1 +0,0 @@
1
- import{h as i,F as t,r as o,c as n,H as e,g as r}from"./p-1c298d5a.js";import{c as s,V as c,M as a,I as d}from"./p-6e1ab235.js";import{s as l}from"./p-6bd5c49b.js";import{V as p,I as h}from"./p-4387d550.js";import{s as m}from"./p-9b797118.js";import{f}from"./p-636a3a8c.js";import{a as b}from"./p-bf953152.js";import{D as v}from"./p-fcdd9251.js";import{a as x,O as g,V as u}from"./p-6a1e7e2e.js";import{c as j}from"./p-1ec763ab.js";import{c as k}from"./p-613ddaab.js";import{V as w}from"./p-38e3c739.js";import{C as y}from"./p-2d0d575f.js";import{A as E}from"./p-317018ba.js";import{M as I}from"./p-b1f65b13.js";import{c as z}from"./p-f95b164c.js";import"./p-ed45b3b6.js";import"./p-79c55889.js";import"./p-c0291e2e.js";import"./p-74168615.js";import"./p-262ec334.js";import"./p-0c667d6a.js";import"./p-3647d61d.js";import"./p-5f377954.js";import"./p-878dceb7.js";import"./p-37b05e0b.js";import"./p-6a334573.js";import"./p-97ded803.js";import"./p-1e940ce8.js";import"./p-7a40e033.js";import"./p-112455b1.js";import"./p-f7cf81b6.js";import"./p-e06361df.js";import"./p-cc63e827.js";import"./p-0fd6c35b.js";import"./p-7cb3666d.js";import"./p-d884c644.js";import"./p-2205ee4c.js";import"./p-3a0a4d15.js";var L=function(i,t,o,n){var e,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(i,t,o,n);else for(var c=i.length-1;c>=0;c--)(e=i[c])&&(s=(r<3?e(s):r>3?e(t,o,s):e(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s};class O extends c{render(){return i("div",{class:{accordion:!0,background:this.drawsBackground,expanded:this.expand,collapsed:!this.expand,"icon-position-center":"center"===this.iconPosition}},this.renderHeader(),this.renderContent())}renderHeader(){const o=i(t,null,this.renderPrefixIcon(),this.accordionTitle?this.renderTitle():this.renderTitleSlot());return i("div",{class:"accordion-header"},i("vega-flex",{gap:"size-8","align-items":"start"},"left"===this.expandIconAlign&&this.renderExpandIcon(),o,"right"===this.expandIconAlign&&this.renderExpandIcon()))}renderPrefixIcon(){return this.prefixIcon&&i("div",{class:"accordion-prefix-icon"},i("vega-icon",{icon:this.prefixIcon,size:"size-24"}))}renderTitle(){return i("div",{class:"accordion-title"},this.accordionTitle)}renderExpandIcon(){const t=["accordion-expand-icon",`accordion-expand-icon-align-${this.expandIconAlign}`,f(this.showExpandIcon,"display")];return i("div",{class:`${b(t)}`},i("vega-button-circle",{size:"small","icon-color":"text-link",variant:"icon-only",icon:w.getIconKey("left"===this.expandIconAlign?"chevron-down":"chevron-up"),ref:i=>{v.addUniqueObserverToNode(i,x,(()=>{this.expandController.flipExpand()}))}}))}renderContent(){return i("div",{class:"accordion-content"},i("slot",{name:"content"}),i("slot",{name:"accordion-content"}))}renderTitleSlot(){return i("div",{class:"accordion-title-slot"},i("slot",{name:"title"}),i("slot",{name:"accordion-title"}))}}w.register({"chevron-up":j,"chevron-down":k}),L([s()],O.prototype,"drawsBackground",void 0),L([s()],O.prototype,"prefixIcon",void 0),L([s()],O.prototype,"accordionTitle",void 0),L([s()],O.prototype,"expandIconAlign",void 0),L([s()],O.prototype,"expand",void 0),L([s()],O.prototype,"iconPosition",void 0),L([s()],O.prototype,"showExpandIcon",void 0),L([s()],O.prototype,"expandController",void 0);var R=function(i,t,o,n){var e,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(i,t,o,n);else for(var c=i.length-1;c>=0;c--)(e=i[c])&&(s=(r<3?e(s):r>3?e(t,o,s):e(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s};class S extends c{flipExpand(){this.expand=!this.expand}onExpand(){this.groupId&&this.expand&&y.notify(E,{groupId:this.groupId,element:this.host}),this.expandEventEmitter.emit(this.expand)}registerObserver(){this.observer=new g(I,this.shouldCollapseSelfIfOtherExpand.bind(this)),y.register(E,this.observer)}unregisterObserver(){this.observer&&(y.unregister(E,this.observer),this.observer=null)}shouldCollapseSelfIfOtherExpand(i){this.groupId===i.groupId&&this.host!==i.element&&(this.expand=!1)}}R([s()],S.prototype,"host",void 0),R([s()],S.prototype,"groupId",void 0),R([s({writable:!0})],S.prototype,"expand",void 0),R([s()],S.prototype,"expandEventEmitter",void 0),R([a("watchExpand")],S.prototype,"onExpand",null),R([a("componentWillLoad")],S.prototype,"registerObserver",null),R([a("disconnectedCallback")],S.prototype,"unregisterObserver",null);var M=function(i,t,o,n){var e,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(i,t,o,n);else for(var c=i.length-1;c>=0;c--)(e=i[c])&&(s=(r<3?e(s):r>3?e(t,o,s):e(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s};const C=class{constructor(i){o(this,i),this.vegaExpand=n(this,"vegaExpand",7),this.accordionExpand=n(this,"accordionExpand",7),this.globalSlimmers={},this.renderer=new O,this.expandController=new S,this.expandEventEmitter=z(C,u,"accordionExpand"),this.vegaComponentUsageRuntimeMetricsSlimmer=new p,this.drawsBackground=!0,this.expandIconAlign="right",this.expand=!0,this.iconPosition="top",this.showExpandIcon=!0}watchExpand(){}render(){return l(i("slot",null)),m(i(e,null,this.renderer.render()),this.host)}get host(){return r(this)}static get watchers(){return{expand:["watchExpand"]}}};M([h()],C.prototype,"globalSlimmers",void 0),M([d()],C.prototype,"renderer",void 0),M([d()],C.prototype,"expandController",void 0),M([d()],C.prototype,"expandEventEmitter",void 0),M([d()],C.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),C.style=':host(.v-block),.v-block{display:block}:host(.v-inline-block),.v-inline-block{display:inline-block}:host(.v-hidden),.v-hidden{display:none}@media (min-width: 320px){:host(.S\\:v-block),.S\\:v-block{display:block}:host(.S\\:v-inline-block),.S\\:v-inline-block{display:inline-block}:host(.S\\:v-hidden),.S\\:v-hidden{display:none}}@media (min-width: 768px){:host(.M\\:v-block),.M\\:v-block{display:block}:host(.M\\:v-inline-block),.M\\:v-inline-block{display:inline-block}:host(.M\\:v-hidden),.M\\:v-hidden{display:none}}@media (min-width: 1024px){:host(.L\\:v-block),.L\\:v-block{display:block}:host(.L\\:v-inline-block),.L\\:v-inline-block{display:inline-block}:host(.L\\:v-hidden),.L\\:v-hidden{display:none}}@media (min-width: 1440px){:host(.XL\\:v-block),.XL\\:v-block{display:block}:host(.XL\\:v-inline-block),.XL\\:v-inline-block{display:inline-block}:host(.XL\\:v-hidden),.XL\\:v-hidden{display:none}}:host{display:block;text-align:left;line-height:normal}.accordion{display:block;border-radius:16px}.accordion-title,.accordion-title-slot{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));overflow:hidden;flex-basis:0;flex-grow:1;padding-top:2px;padding-bottom:2px}@media screen and (min-width: 768px) and (max-width: 1023px){.accordion-title,.accordion-title-slot{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){.accordion-title,.accordion-title-slot{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){.accordion-title,.accordion-title-slot{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}.accordion-prefix-icon{width:24px;height:32px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));box-sizing:border-box;padding-top:4px;padding-bottom:4px;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;flex-shrink:0}.icon-position-center .accordion-prefix-icon{align-self:center}.accordion-content{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.accordion.background{padding:24px;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}.accordion.expanded .accordion-content{margin-top:24px}.accordion.collapsed .accordion-content{max-height:0px;overflow:hidden}.accordion.collapsed .accordion-expand-icon-align-left{transform:rotate(-90deg)}.accordion.collapsed .accordion-expand-icon-align-right{transform:rotate(180deg)}.accordion-expand-icon{transition-property:transform;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;flex-shrink:0}.icon-position-center .accordion-expand-icon{align-self:center}';export{C as vega_accordion}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as a,g as r}from"./p-1c298d5a.js";import{M as n,a as s}from"./p-cdbbdcc2.js";import{R as o}from"./p-280cbcdb.js";import{s as p}from"./p-9b797118.js";import{I as h}from"./p-6e1ab235.js";import{V as d,I as l}from"./p-4387d550.js";import{F as x}from"./p-5ba0a9f7.js";import{b as g}from"./p-317018ba.js";import{C as f}from"./p-2d0d575f.js";import{c as m}from"./p-f95b164c.js";import{f as c,B as b}from"./p-6a1e7e2e.js";import{C as v}from"./p-47facbb4.js";import"./p-abd7aeaa.js";import"./p-0bb29d98.js";import"./p-bf953152.js";import"./p-37b05e0b.js";import"./p-6a334573.js";import"./p-e06361df.js";import"./p-7cb3666d.js";import"./p-c0291e2e.js";import"./p-74168615.js";import"./p-ed45b3b6.js";import"./p-fcdd9251.js";import"./p-987fbbd0.js";import"./p-b5f5a5e0.js";import"./p-3647d61d.js";import"./p-262ec334.js";import"./p-97ded803.js";import"./p-5f377954.js";import"./p-1e940ce8.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 o:null},{propertyName:"minLength",ruleFactory:t=>t?new n({minStrLength:t}):null},{propertyName:"maxLength",ruleFactory:t=>t?new s({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,b),this.textareaEventPrevent=new v([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 p(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([h()],y.prototype,"formFieldController",void 0),w([h()],y.prototype,"changeEventEmitter",void 0),w([h()],y.prototype,"blurEventEmitter",void 0),w([h()],y.prototype,"textareaEventPrevent",void 0),w([h()],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}
@@ -1 +0,0 @@
1
- import{h as e,F as t,r as a,c as i,H as o,g as n}from"./p-1c298d5a.js";import{s as r}from"./p-9b797118.js";import{c as s,V as l,M as d,I as c}from"./p-6e1ab235.js";import{s as b}from"./p-6bd5c49b.js";import{V as h,I as g}from"./p-4387d550.js";import{P as v}from"./p-c0291e2e.js";import{d as p}from"./p-1bc5b3bc.js";import{c as u}from"./p-86194314.js";import{D as f}from"./p-fcdd9251.js";import{b as m,O as y,a as x}from"./p-6a1e7e2e.js";import{C as T}from"./p-2d0d575f.js";import{T as w}from"./p-317018ba.js";import{f as C}from"./p-bf953152.js";import{S as R}from"./p-1fb56e14.js";import{C as j}from"./p-47facbb4.js";import{c as D}from"./p-f95b164c.js";import"./p-74168615.js";import"./p-ed45b3b6.js";import"./p-97ded803.js";import"./p-5f377954.js";import"./p-1e940ce8.js";import"./p-7a40e033.js";import"./p-112455b1.js";import"./p-6a334573.js";var P=function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r};class I extends l{getTabMenuContainer(){return this.tabMenuContainer}render(){return e(t,null,e("div",{class:{"tab-content-container":!0,"more-tab":this.tabPages.length>1,"tab-style-secondary":"secondary"===this.variant,"tab-style-primary":"secondary"!==this.variant},ref:e=>this.tabMenuContainer=e},this.directionButtonRenderer.render("left"),this.tabListRenderer.render(),this.directionButtonRenderer.render("right")),e("div",{class:"horizontal-divider"}),this.contentRenderer.render())}}P([s()],I.prototype,"tabPages",void 0),P([s()],I.prototype,"variant",void 0),P([s({componentFieldName:"vegaTabGroupTabListRenderer"})],I.prototype,"tabListRenderer",void 0),P([s({componentFieldName:"vegaTabGroupDirectionButtonRenderer"})],I.prototype,"directionButtonRenderer",void 0),P([s({componentFieldName:"vegaTabGroupContentRenderer"})],I.prototype,"contentRenderer",void 0);var k=function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r};class S extends l{setSelectedDataTarget(e){this.selectedTabDataTarget=e}handleTabItemClick(e){const t=this.clickEventEmitter.emit(e);t&&!t.defaultPrevented&&(e===this.selectedTabDataTarget?this.vegaTabGroupPageIndexController.setCurrentPageIndexBySelectedTab(e):this.setSelectedDataTarget(e))}}k([s()],S.prototype,"clickEventEmitter",void 0),k([s({writable:!0})],S.prototype,"selectedTabDataTarget",void 0),k([s()],S.prototype,"vegaTabGroupPageIndexController",void 0);class G{paginate(e,t,a){const i=e.map(t);return this.doPaginateByCapacity(e,i,a)}doPaginateByCapacity(e,t,a){const i=[];let o=0;for(;o<t.length;){const n=this.valueSum(o,t,a);if(0===n)break;i.push(e.slice(o,o+n)),o+=n}return i}valueSum(e,t,a){let i=0,o=!1,n=0;const r="function"==typeof a?a(e,t):a;return t.slice(e).forEach(((e,t)=>{i+=e,i>r&&!o&&(o=!0,n=t)})),o||(n=t.slice(e).length),n}}var A=function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r};class O extends v{constructor(){super({callback:()=>{this.initTabPagesWithDebounce()},target:()=>this.host,shouldTrigger:()=>!this.sliderStateController.isAnimationInProgress()}),this.TAB_SIDE_BUTTON_WIDTH=37,this.TAB_SIDE_BUTTON_AND_CONTENT_SPACE=8,this.valuePaginator=new G,this.initTabPagesWithDebounce=p(this.initTabPages,80,this),this.getTabContainerSpace=(e,t)=>{const a=this.host.getBoundingClientRect().width;let i="secondary"===this.variant?a:a-48;return e>0&&(i-=this.TAB_SIDE_BUTTON_WIDTH+this.TAB_SIDE_BUTTON_AND_CONTENT_SPACE),t.length>0&&t.slice(e).reduce(((e,t)=>e+t))>i&&i>0&&(i-=this.TAB_SIDE_BUTTON_WIDTH),i},this.emptySourceAndHiddenDropdown=()=>{Array.from(this.host.shadowRoot.querySelectorAll("vega-dropdown")).forEach((async e=>{0===e.source.length&&await e.hide()}))}}componentDidLoad(){this.initTabPages()}componentDidRender(){this.initTabsWidthArray(),this.emptySourceAndHiddenDropdown()}handleGapChange(){this.initTabPages()}handleTabWidthArrayChange(){this.tabWidthArray.length>0&&this.initTabPages()}setTabItems(e){this.tabItems=e}setTabWidthArray(e){this.tabWidthArray=e}initTabPages(){this.tabItems&&(this.tabPages=this.valuePaginator.paginate(this.tabItems,((e,t)=>this.tabWidthArray[t]>0?this.tabWidthArray[t]+Number(this.formatAndValidGap(this.gap)):this.tabWidthArray[t]),this.getTabContainerSpace))}formatAndValidGap(e){return e.replace("size-","")}initTabsWidthArray(){if(0===this.tabWidthArray.length||this.tabWidthArray.some((e=>0===e))){const e=[];this.tabItems.forEach((t=>{const a=this.host.shadowRoot.querySelector(`.vega-tab[data-target='${t.dataTarget}']`);if(a){const t=a.getBoundingClientRect().width;e.push(t)}})),e.length>0&&!e.some((e=>0===e))&&(this.tabWidthArray=[...e])}}}A([s()],O.prototype,"host",void 0),A([s()],O.prototype,"gap",void 0),A([s({writable:!0})],O.prototype,"tabPages",void 0),A([s({writable:!0})],O.prototype,"tabWidthArray",void 0),A([s({writable:!0})],O.prototype,"tabItems",void 0),A([s()],O.prototype,"variant",void 0),A([s({componentFieldName:"vegaTabGroupSliderStateController"})],O.prototype,"sliderStateController",void 0),A([d("componentDidLoad")],O.prototype,"componentDidLoad",null),A([d("componentDidRender")],O.prototype,"componentDidRender",null),A([d("watchGapChange")],O.prototype,"handleGapChange",null),A([d("watchTabWidthArrayChange")],O.prototype,"handleTabWidthArrayChange",null);var z=function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r};class B extends l{handleTabPagesChange(){this.selectedTabDataTarget?this.setCurrentPageIndexBySelectedTab(this.selectedTabDataTarget):this.setCurrentPageIndexWhenTabPagesChange()}handleSelectedDataTargetChange(){this.setCurrentPageIndexBySelectedTab(this.selectedTabDataTarget)}setCurrentPageIndexBySelectedTab(e){let t=-1;this.tabPages.forEach(((a,i)=>{-1!==a.findIndex((t=>t.dataTarget===e))&&(t=i)})),t>=0&&(this.currentPageIndex=t)}setPageIndex(e){this.currentPageIndex=e}setCurrentPageIndexWhenTabPagesChange(){this.tabPages&&this.tabPages.length&&!this.tabPages[this.currentPageIndex]&&(this.currentPageIndex=this.tabPages.length-1)}}z([s()],B.prototype,"tabPages",void 0),z([s({writable:!0})],B.prototype,"currentPageIndex",void 0),z([s()],B.prototype,"selectedTabDataTarget",void 0),z([d("watchTabPagesChange")],B.prototype,"handleTabPagesChange",null),z([d("watchSelectedTabDataTargetChange")],B.prototype,"handleSelectedDataTargetChange",null);var L=function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r};class N extends l{constructor(){super(...arguments),this.onCloseTab=e=>{const t=e.currentTarget.closest(".vega-tab"),a=this.tabItems.findIndex((e=>e.dataTarget===t.getAttribute("data-target")));t.classList.contains("selected")&&this.selectedTargetController.setSelectedDataTarget(this.tabItems[a===this.tabItems.length-1?a-1:a+1].dataTarget);const i=this.tabItems.slice(0,a).concat(this.tabItems.slice(a+1));this.tabPagesController.setTabItems(i);const o=this.tabWidthArray.slice(0,a).concat(this.tabWidthArray.slice(a+1));this.tabPagesController.setTabWidthArray(o),e.stopPropagation()}}render(t){return this.showCloseButton&&this.tabItems.length>1&&e("div",{class:this.showCloseButton?"vega-close-icon":"vega-close-icon vega-hidden",onClick:this.onCloseTab,role:"button",tabIndex:t.disabled?-1:0,onKeyDown:u(),"aria-label":"Close Button"},e("vega-icon",{icon:"close",size:"size-12"}))}}L([s()],N.prototype,"tabWidthArray",void 0),L([s()],N.prototype,"showCloseButton",void 0),L([s()],N.prototype,"tabItems",void 0),L([s({componentFieldName:"vegaTabGroupSelectedTargetController"})],N.prototype,"selectedTargetController",void 0),L([s({componentFieldName:"vegaTabGroupPagesController"})],N.prototype,"tabPagesController",void 0);var F=function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r};class W extends l{constructor(){super(...arguments),this.onDirectionButtonClick=e=>{this.pageIndexController.setPageIndex("left"===e?this.currentPageIndex-1:this.currentPageIndex+1)}}getDropdownRef(){return this.dropdownRef}render(t){const a=[];this.tabPages.slice("left"===t?0:this.currentPageIndex+1,"left"===t?this.currentPageIndex:this.tabPages.length).flat().map((e=>{a.push({key:e.dataTarget,label:e.label,disabled:e.disabled})}));const i="left"===t?0===this.currentPageIndex:this.currentPageIndex+1===this.tabPages.length||this.tabPages.length<=1,o="left"===t?"chevron-backward-rounded":"chevron-forward-rounded",n=a.find((e=>e.key===this.selectedTabDataTarget))?this.selectedTabDataTarget:"";return e("div",{class:{"tab-left-button":"left"===t,"tab-right-button":"right"===t,"vega-hidden":i},onClick:()=>this.onDirectionButtonClick(t),"aria-label":"No label defined",role:"button",tabIndex:0,onKeyDown:u()},e("vega-dropdown",{source:a,translocation:{X:0,Y:16},selectType:"single",selectedSourceKey:n,"position-relative-to":this.positionRelativeTo,ref:e=>{this.dropdownRef=e,f.addUniqueObserverToNode(e,m,(e=>{this.vegaTabGroupSelectedTargetController.handleTabItemClick(e.detail)}))}},e("vega-icon",{size:"size-12",icon:o})))}}F([s()],W.prototype,"tabPages",void 0),F([s()],W.prototype,"currentPageIndex",void 0),F([s()],W.prototype,"selectedTabDataTarget",void 0),F([s()],W.prototype,"positionRelativeTo",void 0),F([s({componentFieldName:"vegaTabGroupPageIndexController"})],W.prototype,"pageIndexController",void 0),F([s()],W.prototype,"vegaTabGroupSelectedTargetController",void 0);var E=function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r};class _ extends l{constructor(){super(...arguments),this.tabPanels=[],this.handlePanelUpdate=e=>{const{host:t,type:a}=e;"ADD"===a?this.tabPanels.push(t):this.tabPanels=this.tabPanels.filter((e=>e!==t))}}connectedCallback(){this.tabPanelUpdateObserver=new y(this.canAcceptPanelUpdate.bind(this),this.handlePanelUpdate),T.register(w,this.tabPanelUpdateObserver)}disconnectedCallback(){T.unregister(w,this.tabPanelUpdateObserver),this.tabPanels=[]}componentDidLoad(){this.initSelectedTabDataTarget()}watchSelectedTabDataTargetChange(){this.updateTabPanelsStatus(this.selectedTabDataTarget)}canAcceptPanelUpdate(e){const{host:t,type:a}=e;return"ADD"===a?C(e.host,"VEGA-TAB-GROUP")===this.host&&!this.tabPanels.includes(t):this.tabPanels&&this.tabPanels.includes(t)}initSelectedTabDataTarget(){if(this.selectedTabDataTarget)this.updateTabPanelsStatus(this.selectedTabDataTarget);else{let e=this.getDefaultActivePanelId();!e&&this.tabItems&&this.tabItems.length&&(e=this.tabItems[0].dataTarget),e&&this.selectTargetController.setSelectedDataTarget(e)}}getDefaultActivePanelId(){if(this.tabPanels&&this.tabPanels.length){const e=this.tabPanels.find((e=>!0===e.isActive));return e?e.getAttribute("id"):null}}updateTabPanelsStatus(e){this.tabPanels.length&&e&&this.tabPanels.forEach((t=>{const a=t.getAttribute("id");t.isActive=a===e}))}}E([s()],_.prototype,"host",void 0),E([s()],_.prototype,"selectedTabDataTarget",void 0),E([s()],_.prototype,"tabItems",void 0),E([s({componentFieldName:"vegaTabGroupSelectedTargetController"})],_.prototype,"selectTargetController",void 0),E([d("connectedCallback")],_.prototype,"connectedCallback",null),E([d("disconnectedCallback")],_.prototype,"disconnectedCallback",null),E([d("componentDidLoad")],_.prototype,"componentDidLoad",null),E([d("watchSelectedTabDataTargetChange")],_.prototype,"watchSelectedTabDataTargetChange",null);var V=function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r};class K extends l{constructor(){super(...arguments),this.TAB_LABEL_MAX_SIZE=32,this.getCarouselDomRef=()=>this.carouselDom}render(){return e("div",{class:"tab-list"},e("vega-carousel",{showSlider:!1,ref:e=>this.carouselDom=e},this.tabPages.length>0?this.tabPages.map((t=>e("div",null,this.renderTabList(t)))):e("div",null,this.renderTabList(this.tabItems))))}renderTabList(t){return e("vega-flex",{gap:this.gap},t.map((t=>e("div",{class:{"vega-tab":!0,selected:this.selectedTabDataTarget===t.dataTarget,"last-page":this.currentPageIndex+1===this.tabPages.length,"vega-flex-shrink-0":!0,"v-min-w-min":!0,disabled:Boolean(t.disabled)},"data-target":t.dataTarget,key:t.dataTarget},e("div",{class:"vega-tab-container"},e("div",{class:{label:!0,"vega-close-icon-space":this.showCloseButton},onClick:()=>this.handleTabItemClick(t.dataTarget),"aria-label":t.dataTarget,role:"button",tabIndex:t.disabled?-1:0,onKeyDown:u()},this.renderPrefixIconDom(t),this.renderTabLabelDom(t),this.renderCounterBadgeDom(t)),this.closeButtonRenderer.render(t))))))}renderPrefixIconDom(t){const a=t.prefixIcon;return a&&e("vega-icon",{icon:a})}renderTabLabelDom(t){return t.label.length>this.TAB_LABEL_MAX_SIZE?e("vega-tooltip",{text:t.label,placement:"bottom","position-relative-to":this.positionRelativeTo},e("span",null,t.label.substring(0,this.TAB_LABEL_MAX_SIZE),"...")):t.label}renderCounterBadgeDom(t){const a=t.counterBadge,i=this.getCounterBadgeClassByCount(a);return void 0!==(null==a?void 0:a.count)&&a.count>0&&e("div",{class:`vega-counter-badge ${i}`},e("vega-counter-badge",{count:a.count,color:a.color}))}getCounterBadgeClassByCount(e){if(e&&e.count){const t=e.count.toString().length;return 1===t?"one-digit":2===t?"two-digits":"multi-digits"}return""}handleTabItemClick(e){this.selectedTargetController.handleTabItemClick(e)}}V([s()],K.prototype,"tabPages",void 0),V([s()],K.prototype,"currentPageIndex",void 0),V([s()],K.prototype,"selectedTabDataTarget",void 0),V([s()],K.prototype,"gap",void 0),V([s()],K.prototype,"showCloseButton",void 0),V([s()],K.prototype,"tabItems",void 0),V([s()],K.prototype,"positionRelativeTo",void 0),V([s({componentFieldName:"vegaTabGroupCloseButtonRenderer"})],K.prototype,"closeButtonRenderer",void 0),V([s({componentFieldName:"vegaTabGroupSelectedTargetController"})],K.prototype,"selectedTargetController",void 0);class M extends l{render(){return"secondary"===this.variant?e("div",{class:"vega-tab-group-content"},e("slot",null)):e("vega-card",{margin:"0",padding:{default:"size-24",S:"size-12"},variant:"shadow",backgroundColor:"bg-primary"},e("div",{class:"vega-tab-group-content"},e("slot",null)))}}!function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);n>3&&r&&Object.defineProperty(t,a,r)}([s()],M.prototype,"variant",void 0);var U=function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r};class q extends l{constructor(){super(...arguments),this.UPDATE_ANIMATION_FLAG_DELAY=32,this.goToPageTaskQueue=new R,this.pendingCarouselActionCount=0}async componentDidRender(){await this.goToPageTaskQueue.runTask()}async handlePageIndexChange(){const e=this.tabListRenderer.getCarouselDomRef();e&&(this.pendingCarouselActionCount+=1,setTimeout((()=>{this&&"number"==typeof this.pendingCarouselActionCount&&(this.pendingCarouselActionCount-=1)}),this.UPDATE_ANIMATION_FLAG_DELAY),await this.goToPageTaskQueue.enqueue({run:async()=>await e.goToPage(this.currentPageIndex+1)},!1))}isAnimationInProgress(){return this.pendingCarouselActionCount>0}}U([s({componentFieldName:"vegaTabGroupTabListRenderer"})],q.prototype,"tabListRenderer",void 0),U([s()],q.prototype,"currentPageIndex",void 0),U([d("componentDidRender")],q.prototype,"componentDidRender",null),U([d("watchCurrentPageIndexChange")],q.prototype,"handlePageIndexChange",null);const Y=[{payloadKey:"VARIANT_IS_PRIMARY",payloadDescription:"Specifies the visual style and prominence of the tab group",payloadValue:e=>"primary"===e.variant},{payloadKey:"VARIANT_IS_SECONDARY",payloadDescription:"Specifies the visual style and prominence of the tab group",payloadValue:e=>"secondary"===e.variant}];var $=function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r};const H=class{constructor(e){a(this,e),this.vegaClick=i(this,"vegaClick",7),this.click=i(this,"click",7),this.globalSlimmers={},this.vegaTabGroupRenderer=new I,this.vegaTabGroupDirectionButtonRenderer=new W,this.vegaTabGroupTabListRenderer=new K,this.vegaTabGroupCloseButtonRenderer=new N,this.vegaTabGroupPagesController=new O,this.vegaTabGroupSelectedTargetController=new S,this.vegaTabGroupPageIndexController=new B,this.vegaTabGroupPanelController=new _,this.vegaTabGroupContentRenderer=new M,this.vegaTabGroupSliderStateController=new q,this.clickEventEmitter=D(H,x),this.dropdownEventPrevent=new j([x],(()=>this.vegaTabGroupRenderer.getTabMenuContainer())),this.vegaComponentUsageRuntimeMetricsSlimmer=new h(Y),this.tabPages=[],this.tabWidthArray=[],this.currentPageIndex=0,this.selectedTabDataTarget="",this.gap="size-8",this.showCloseButton=!1,this.tabItems=[],this.variant="primary"}watchTabPagesChange(){}watchTabWidthArrayChange(){}async watchCurrentPageIndexChange(e){}watchSelectedTabDataTargetChange(){}watchGapChange(){}componentDidLoad(){}componentDidRender(){}render(){return b(e("slot",null)),r(e(o,null,this.vegaTabGroupRenderer.render()),this.host)}get host(){return n(this)}static get watchers(){return{tabPages:["watchTabPagesChange"],tabWidthArray:["watchTabWidthArrayChange"],currentPageIndex:["watchCurrentPageIndexChange"],selectedTabDataTarget:["watchSelectedTabDataTargetChange"],gap:["watchGapChange"]}}};$([g()],H.prototype,"globalSlimmers",void 0),$([c()],H.prototype,"vegaTabGroupRenderer",void 0),$([c()],H.prototype,"vegaTabGroupDirectionButtonRenderer",void 0),$([c()],H.prototype,"vegaTabGroupTabListRenderer",void 0),$([c()],H.prototype,"vegaTabGroupCloseButtonRenderer",void 0),$([c()],H.prototype,"vegaTabGroupPagesController",void 0),$([c()],H.prototype,"vegaTabGroupSelectedTargetController",void 0),$([c()],H.prototype,"vegaTabGroupPageIndexController",void 0),$([c()],H.prototype,"vegaTabGroupPanelController",void 0),$([c()],H.prototype,"vegaTabGroupContentRenderer",void 0),$([c()],H.prototype,"vegaTabGroupSliderStateController",void 0),$([c()],H.prototype,"clickEventEmitter",void 0),$([c()],H.prototype,"dropdownEventPrevent",void 0),$([c()],H.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),H.style='.tab-content-container.tab-style-primary{margin-left:24px;margin-right:24px}.vega-tab{cursor:pointer;border-top-left-radius:8px;border-top-right-radius:8px;background-color:rgba(var(--v-bg-action-quaternary, 222, 225, 227, 1))}.tab-content-container.more-tab .vega-tab{flex-grow:1}.tab-content-container.more-tab .vega-tab.last-page{flex-grow:0}.vega-tab>div.vega-tab-container{display:flex;align-items:center}.vega-tab>div.vega-tab-container>div{flex-grow:1}.tab-style-primary .vega-tab:hover{background-color:rgba(var(--v-bg-tab-hover, 245, 247, 247, 1))}.tab-style-primary .vega-tab.selected,.tab-style-primary .vega-tab.selected:hover{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}.vega-tab>div>.label{display:inline-flex;align-items:center;font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px;padding-top:8px;padding-bottom:8px;padding-left:16px;padding-right:16px;cursor:pointer;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-tab>div>.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){.vega-tab>div>.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){.vega-tab>div>.label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}.vega-tab>div>.label vega-icon{padding-right:8px}.vega-tab>div>.label .vega-counter-badge{position:relative;height:20px;padding-left:8px}.vega-tab>div>.label .vega-counter-badge vega-counter-badge{position:absolute;padding-left:8px;top:10px}.vega-tab>div>.label .vega-counter-badge.one-digit{width:20px}.vega-tab>div>.label .vega-counter-badge.one-digit vega-counter-badge{left:10px}.vega-tab>div>.label .vega-counter-badge.two-digits{width:28px}.vega-tab>div>.label .vega-counter-badge.two-digits vega-counter-badge{left:14px}.vega-tab>div>.label .vega-counter-badge.multi-digits{width:32px}.vega-tab>div>.label .vega-counter-badge.multi-digits vega-counter-badge{left:16px}.vega-tab>div>.label.vega-close-icon-space{padding-right:12px}.vega-tab>div>div.vega-close-icon{padding-left:0px;flex-grow:0;padding-right:13px}.vega-tab>div>div.vega-hidden{display:none}.vega-tab>div vega-icon{color:rgba(var(--v-text-primary, 32, 54, 69, 1));box-sizing:content-box}.vega-tab>div>div.vega-close-icon vega-icon{color:rgba(var(--v-text-inverted-secondary, 188, 186, 213, 1))}.vega-tab.disabled{pointer-events:none;background-color:rgba(var(--v-bg-action-quaternary, 222, 225, 227, 1))}.vega-tab.disabled .label,.vega-tab.disabled vega-icon{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host{display:block;width:100%;text-align:left;line-height:normal;min-width:270px}.horizontal-divider{height:1px;background-color:rgba(var(--v-bg-divider, 171, 198, 216, 1));width:100%;display:none;margin-top:-1px}.tab-content-container{display:flex;gap:8px;justify-content:space-between}.tab-content-container.more-tab .tab-list{width:100%}div.tab-left-button,div.tab-right-button{display:inline-block;cursor:pointer;border-top-left-radius:8px;border-top-right-radius:8px;background-color:rgba(var(--v-bg-action-quaternary, 222, 225, 227, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1))}div.tab-left-button.vega-hidden,div.tab-right-button.vega-hidden{display:none}div.tab-left-button vega-icon,div.tab-right-button vega-icon{box-sizing:content-box;padding:13px 13px 13px 12px}.vega-tab-group-content vega-tab-group-panel{display:none}.vega-tab-group-content vega-tab-group-panel.active{display:block}.tab-style-secondary .vega-tab>div.vega-tab-container{align-items:baseline}.tab-style-secondary+.horizontal-divider{display:block}.tab-style-secondary .vega-tab{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0))}.tab-style-secondary .vega-tab>div>.label{padding-left:16px;padding-right:16px;padding-top:0px;padding-bottom:12px}.tab-style-secondary .vega-tab.selected>div>.label,.tab-style-secondary .vega-tab.selected>div>.label vega-icon,.tab-style-secondary .vega-tab:hover>div>.label,.tab-style-secondary .vega-tab:hover>div>.label vega-icon{color:rgba(var(--v-text-link, 19, 98, 226, 1))}.tab-style-secondary .vega-tab{border-top-width:0px;border-left-width:0px;border-right-width:0px;border-bottom-width:2px;border-style:solid;border-color:transparent}.tab-style-secondary .vega-tab.selected{border-color:rgba(var(--v-border-color-action, 19, 98, 226, 1))}.tab-style-secondary div.tab-left-button,.tab-style-secondary div.tab-right-button{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0))}.tab-style-secondary div.tab-left-button vega-icon,.tab-style-secondary div.tab-right-button vega-icon{padding:6px 13px 13px 6px}.tab-style-secondary div.tab-left-button:hover vega-icon,.tab-style-secondary div.tab-right-button:hover vega-icon{color:rgba(var(--v-text-link, 19, 98, 226, 1))}';var X=function(e,t,a,i){var o,n=arguments.length,r=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(r=(n<3?o(r):n>3?o(t,a,r):o(t,a))||r);return n>3&&r&&Object.defineProperty(t,a,r),r};const J=class{constructor(e){a(this,e),this.globalSlimmers={},this.clickEventPrevent=new j([x],(()=>this.host),void 0,!0),this.vegaComponentUsageRuntimeMetricsSlimmer=new h,this.isActive=!1}connectedCallback(){this.notifyGroupAddOrDelPanel("ADD")}disconnectedCallback(){this.notifyGroupAddOrDelPanel("DEL")}componentWillLoad(){this.notifyGroupAddOrDelPanel("ADD")}render(){return r(e(o,{class:this.isActive?"active":""},e("slot",null)),this.host)}notifyGroupAddOrDelPanel(e){T.notify(w,{host:this.host,type:e})}get host(){return n(this)}};X([g()],J.prototype,"globalSlimmers",void 0),X([c()],J.prototype,"clickEventPrevent",void 0),X([c()],J.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),J.style=":host{display:none}:host(.active){display:block}";export{H as vega_tab_group,J as vega_tab_group_panel}
@@ -1 +0,0 @@
1
- import{h as t,r as e,c as i,H as n,g as a}from"./p-1c298d5a.js";import{I as r}from"./p-abd7aeaa.js";import{M as s,a as o}from"./p-b9051ad2.js";import{M as p,a as l}from"./p-cdbbdcc2.js";import{R as h}from"./p-280cbcdb.js";import{s as d}from"./p-9b797118.js";import{c as u}from"./p-86194314.js";import{C as c}from"./p-75b58efe.js";import{c as f,V as x,M as g,I as m}from"./p-6e1ab235.js";import{s as v}from"./p-6bd5c49b.js";import{V as b,I as w}from"./p-4387d550.js";import{F as y}from"./p-5ba0a9f7.js";import{c as j}from"./p-f95b164c.js";import{f as I,A as z,B as C,r as k}from"./p-6a1e7e2e.js";import{b as S}from"./p-317018ba.js";import{C as R}from"./p-2d0d575f.js";import{S as N,a as T,b as E}from"./p-1d1eba9a.js";import{i as A}from"./p-b1f65b13.js";import{D as O}from"./p-fcdd9251.js";import{P as D}from"./p-c0291e2e.js";import{S as V}from"./p-1e499bbc.js";import{i as $}from"./p-3647d61d.js";import"./p-262ec334.js";import"./p-0bb29d98.js";import"./p-bf953152.js";import"./p-37b05e0b.js";import"./p-6a334573.js";import"./p-e06361df.js";import"./p-7cb3666d.js";import"./p-987fbbd0.js";import"./p-b5f5a5e0.js";import"./p-97ded803.js";import"./p-caeb3663.js";import"./p-0fd6c35b.js";import"./p-ed45b3b6.js";import"./p-74168615.js";import"./p-3a0a4d15.js";import"./p-d884c644.js";const F=/^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/;class L extends r{evaluate(t){if(!this.isAcceptedInputType(t))throw new Error(`Unexpected type of input: ${typeof t}: ${t}`);const e=F.test(t.toLowerCase());return{isValid:e,message:e?"":"Please enter the correct email format."}}canEvaluate(t,e){return e?this.isAcceptedInputType(t)&&!e.disabled&&e.visible:this.isAcceptedInputType(t)}shouldShowError(t){return!t.disabled&&t.visible&&(t.touched||t.modified)}isAcceptedInputType(t){return"string"==typeof t&&t.length>0}}class P extends x{getCopyPasteProps(){return this.disableCopyPaste?{onCopy:this.preventDefault,onCut:this.preventDefault,onPaste:this.preventDefault}:{}}preventDefault(t){t.preventDefault()}}!function(t,e,i,n){var a,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(s=(r<3?a(s):r>3?a(e,i,s):a(e,i))||s);r>3&&s&&Object.defineProperty(e,i,s)}([f()],P.prototype,"disableCopyPaste",void 0);var M=function(t,e,i,n){var a,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(s=(r<3?a(s):r>3?a(e,i,s):a(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class _ extends x{render(){const e=this.hasPrefixSlot();if(this.prefixIcon||e)return t("div",{class:{"vega-input-prefix":!0,"vega-input-prefix-slot":e},part:"prefix-icon-container"},this.prefixIcon&&!e?t("vega-icon",{icon:this.prefixIcon,size:"size-16"}):null,t("slot",{name:"prefix-icon"}))}hasPrefixSlot(){return!!this.host.querySelector('[slot="prefix-icon"]')}}M([f()],_.prototype,"host",void 0),M([f()],_.prototype,"prefixIcon",void 0);class B extends N{format(t){if(!t.length)return t;const e=Number(t.replace(/,/g,""));return!isNaN(e)&&e<=Number.MAX_SAFE_INTEGER?e.toLocaleString("en-US"):t}calculateCaretPosition(t,e){const i=this.format(t),n=t.substring(0,e),a=i.substring(0,e),r=(n.match(/,/g)||[]).length;return e+((a.match(/,/g)||[]).length-r)}}class U extends N{constructor(t){super(),this.maskConfig={allowNegative:!0},this.skipFormat=t=>this.maskConfig.allowNegative&&"-"===t||null!=this.maskConfig.precision&&this.maskConfig.precision>0&&t.split(".").length-1==1&&t.endsWith(".")&&!t.startsWith("."),this.maskConfig=Object.assign(Object.assign({},this.maskConfig),t),this.mask=new RegExp(this.getRegExp())}format(t){const e=this.redressAbnormalNumber(t);if(this.skipFormat(e))return e;const i=[...e];for(let t=e.length-1;t>=0;t--){const t=i.join("");this.inputNeedFormat(t)&&i.pop()}return i.join("")}calculateCaretPosition(t,e){if(A(e)){const i=this.redressAbnormalNumber(t);return e-(t.length-i.length)}}inputNeedFormat(t){return!this.mask.test(t)}redressAbnormalNumber(t){let e=t.replace(/^0+(?!$)/,"");return e.startsWith(".")&&(e=`0${e}`),e}getRegExp(){const t=this.maskConfig.allowNegative?"(\\-)?":"";let e;return e=0===this.maskConfig.precision?`^${t}(0|[1-9][0-9]*)$`:this.maskConfig.precision&&this.maskConfig.precision>0?`^${t}(0|0\\.\\d{1,${this.maskConfig.precision}}|[1-9][0-9]*(\\.\\d{1,${this.maskConfig.precision}})?)$`:`^${t}(0|0\\.\\d*|[1-9][0-9]*(\\.\\d*)?)$`,e}}class W extends N{constructor(t,e=!1){super(),this.resetCaretPositionFlag=!1,this.formatter=t,this.resetCaretPositionFlag=e}format(t){return this.formatter(t)}calculateCaretPosition(t,e){if(!0===this.resetCaretPositionFlag)return this.format(t).length;if(A(e)){const i=t.substring(0,e);return e+(this.format(i).length-i.length)}}shouldTriggerAtInit(){return!0}}class K extends U{constructor(t){super(t)}format(t){const e=this.redressAbnormalNumber(t);if(this.skipFormat(e))return e;const i=[...e];for(let t=e.length-1;t>=0;t--){const t=i.join("");this.inputNeedFormat(t.replace(/,/g,""))&&i.pop()}return this.thousandCommaFormat(i.join(""))}calculateCaretPosition(t,e){const i=this.redressAbnormalNumber(t),n=this.format(t),a=t.substring(0,e),r=n.substring(0,e),s=(a.match(/,/g)||[]).length;return e+((r.match(/,/g)||[]).length-s)-(t.length-i.length)}thousandCommaFormat(t){if(!t.length)return t;const e=t.replace(/[^\d.-]/g,""),i=e.indexOf("."),n=e.length>1&&i>=1?e.slice(i):"",a=Number(e.split(".")[0]);return!isNaN(a)&&a<=Number.MAX_SAFE_INTEGER?a.toLocaleString("en-US")+n:e}}var G=function(t,e,i,n){var a,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(s=(r<3?a(s):r>3?a(e,i,s):a(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class q extends T{constructor(){super(...arguments),this.getInputElementRef=()=>this.inputRef,this.getInputModeStrategy=()=>this.generateMaskStrategy("input"),this.getBlurModeStrategy=()=>this.generateMaskStrategy("blur")}setupStringFormatter(t){this.inputRef=t,this.setup()}generateMaskStrategy(t){let e=null;Array.isArray(this.maskConfig)?e=this.maskConfig.find((e=>"blur"===t?this.isBlurModeMaskConfig(e):!this.isBlurModeMaskConfig(e))):this.maskConfig&&("blur"===t&&this.isBlurModeMaskConfig(this.maskConfig)?e=this.maskConfig:"input"!==t||this.isBlurModeMaskConfig(this.maskConfig)||(e=this.maskConfig));let i=null;switch(null==e?void 0:e.type){case"phone":i=E.PHONE_MASK;break;case"taxId":i=E.TAX_ID_MASK;break;case"zipcode":i=E.ZIPCODE_MASK;break;case"thousand-comma":i=new B;break;case"number":i=this.getNumberTypeMaskStrategy(e.options);break;case"custom":i=new E(e.options);break;case"custom-formatter":i=new W(e.formatter,e.resetCaretPosition)}return"number"!==this.type||"input"!==t||e||(i=new U),i}getNumberTypeMaskStrategy(t){return t&&t.thousandComma?new K(t):new U(t)}isBlurModeMaskConfig(t){return"custom"===t.type&&"blur"===t.trigger}}G([f()],q.prototype,"maskConfig",void 0),G([f()],q.prototype,"disableCopyPaste",void 0),G([f()],q.prototype,"type",void 0);const H=[{payloadKey:"AUTO_VALIDATION_IS_TRUE",payloadDescription:"Determines whether the input field should undergo automatic validation during the user's input",payloadValue:t=>!0===t.autoValidation},{payloadKey:"AUTO_VALIDATION_IS_FALSE",payloadDescription:"Determines whether the input field should undergo automatic validation during the user's input",payloadValue:t=>!1===t.autoValidation},{payloadKey:"EMAIL_IS_TRUE",payloadDescription:"@deprecated Enforces proper email format validation for the input field.",payloadValue:t=>!0===t.email},{payloadKey:"EMAIL_IS_FALSE",payloadDescription:"@deprecated Enforces proper email format validation for the input field.",payloadValue:t=>!1===t.email}];var J=function(t,e,i,n){var a,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(s=(r<3?a(s):r>3?a(e,i,s):a(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Q extends x{componentDidLoad(){this.setInputAutoWidth()}watchValue(){this.setInputAutoWidth()}watchSuffixText(){this.setInputAutoWidth()}setInputAutoWidth(){const t=this.host.shadowRoot.querySelector(".vega-input-container"),e=null==t?void 0:t.querySelector(".vega-input-input"),i=null==e?void 0:e.querySelector("input");if(i&&(t.classList.remove("auto-width"),i.style.removeProperty("width"),this.isCompactInputWidth&&this.suffixText)){const n=this.getActualInputWidth();e.getBoundingClientRect().width>n&&(i.style.width=`${n}px`,t.classList.add("auto-width"))}}getActualInputWidth(){const t=this.getCalculateTextWidthContainer();t.style.display="inline-block",t.textContent=`${this.value||this.placeholder||""}`;const e=t.getBoundingClientRect().width;return t.style.display="none",e}getCalculateTextWidthContainer(){if(!this.calculateTextWidthContainer){const t=document.createElement("div");t.classList.add("v-font-field-value"),t.style.visibility="hidden",t.style.display="none",this.host.shadowRoot.append(t),this.calculateTextWidthContainer=t}return this.calculateTextWidthContainer}}J([f()],Q.prototype,"host",void 0),J([f()],Q.prototype,"value",void 0),J([f()],Q.prototype,"placeholder",void 0),J([f()],Q.prototype,"isCompactInputWidth",void 0),J([f()],Q.prototype,"suffixText",void 0),J([g("componentDidLoad")],Q.prototype,"componentDidLoad",null),J([g("watchValue")],Q.prototype,"watchValue",null),J([g("watchSuffixText")],Q.prototype,"watchSuffixText",null);var X=function(t,e,i,n){var a,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(s=(r<3?a(s):r>3?a(e,i,s):a(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Y extends V{constructor(){super({parent:"vega-input-numeric",subStates:[{subStateName:"prefixText",parentStateName:"prefixText"},{subStateName:"suffixText",parentStateName:"suffixText"},{subStateName:"isCompactInputWidth",parentStateName:"isCompactInputWidth"}]})}}X([f()],Y.prototype,"host",void 0),X([f({writable:!0})],Y.prototype,"prefixText",void 0),X([f({writable:!0})],Y.prototype,"suffixText",void 0),X([f({writable:!0})],Y.prototype,"isCompactInputWidth",void 0);var Z=function(t,e,i,n){var a,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(s=(r<3?a(s):r>3?a(e,i,s):a(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const tt=class{constructor(n){e(this,n),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.vegaBlur=i(this,"vegaBlur",7),this.blur=i(this,"blur",7),this.vegaFocus=i(this,"vegaFocus",7),this.focus=i(this,"focus",7),this.vegaLabelButtonClick=i(this,"vegaLabelButtonClick",7),this.labelButtonClick=i(this,"labelButtonClick",7),this.globalSlimmers={},this.formFieldController=new y({propertyRules:[{propertyName:"required",ruleFactory:t=>t?new h:null},{propertyName:"min",ruleFactory:t=>t?new s({minValue:t}):null},{propertyName:"max",ruleFactory:t=>t?new o({maxValue:t}):null},{propertyName:"minLength",ruleFactory:t=>t?new p({minStrLength:t}):null},{propertyName:"maxLength",ruleFactory:t=>t?new l({maxStrLength:t}):null},{propertyName:"email",ruleFactory:t=>t?new L:null},{propertyName:"type",ruleFactory:t=>"email"===t?new L:null}],validationRulesName:"validationRules",defaultValue:"",attributeGetter:t=>this[t],inputContainerGetter:()=>this.inputContainerRef,touchableAreaGetter:()=>[this.inputRef]}),this.pageResizeObserverSlimmer=new D({callback:()=>this.compactWidthController.setInputAutoWidth()}),this.copyPasteController=new P,this.compactWidthController=new Q,this.stateController=new Y,this.maskConfigController=new q,this.prefixSlotRenderer=new _,this.changeEventEmitter=j(tt,I),this.focusEventEmitter=j(tt,z),this.blurEventEmitter=j(tt,C),this.labelButtonClickEventEmitter=j(tt,k),this.vegaComponentUsageRuntimeMetricsSlimmer=new b(H),this.label="",this.labelSuffixButtonProps=null,this.value="",this.valueUpdateTrigger="input",this.type="text",this.name="",this.autocomplete="off",this.email=!1,this.required=!1,this.min=null,this.max=null,this.minLength=null,this.maxLength=null,this.showClearIcon=!0,this.isValid=null,this.autoValidation=!0,this.validationRules=[],this.size="default",this.disabled=!1,this.hint="",this.disableCopyPaste=!1,this.focusInput=()=>{this.inputRef.focus()},this.setInputRef=t=>{t&&this.inputRef!==t&&(this.inputRef=t,this.maskConfigController.setupStringFormatter(t))},this.renderPrefixText=()=>this.prefixText&&t("div",{class:"prefix-text"},this.prefixText),this.renderSuffixText=()=>this.suffixText&&t("div",{class:"suffix-text"},this.suffixText),this.handleInputFocus=t=>{this.focusEventEmitter.emit(void 0,t)},this.handleInputBlur=t=>{this.blurEventEmitter.emit(void 0,t)},this.onClickClearIcon=()=>{this.value=""},this.isClearIconVisible=()=>!this.disabled&&Boolean(this.value),this.onInputHandler=t=>{"change"!==this.valueUpdateTrigger&&(this.value=t.target.value)},this.inputChangeHandler=t=>{"change"===this.valueUpdateTrigger&&(this.value=t.target.value)},this.handleLabelButtonClick=()=>{this.labelButtonClickEventEmitter.emit()}}watchSuffixText(){}watchValue(t){this.changeEventEmitter.emit(t),this.inputRef.value!==this.value&&(this.inputRef.value=this.value),R.notify(S,{host:this.host,detail:this.value})}watchValidationRules(){}watchMaskChange(t,e){Array.isArray(t)&&Array.isArray(e)&&$(t,e,!0)||this.maskConfigController.setupStringFormatter(this.inputRef)}async doFocus(){this.focusInput()}async doBlur(){this.inputRef.blur()}render(){return v(t("slot",null)),d(t(n,{class:"hidden"===this.type?"vega-input-hidden":"vega-input-inline-block"},this.groupDom()),this.host)}containerDom(){return t("div",{class:"vega-input-input"},t("input",Object.assign({part:"input",name:this.name,type:"number"===this.type?"text":this.type,autoComplete:this.autocomplete,value:this.value,ref:this.setInputRef,placeholder:this.placeholder,disabled:this.disabled,"aria-label":this.label||"No label defined",minLength:this.minLength,maxLength:this.maxLength,onBlur:t=>this.handleInputBlur(t),onFocus:t=>this.handleInputFocus(t),onChange:this.inputChangeHandler,onInput:this.onInputHandler},this.copyPasteController.getCopyPasteProps())))}groupDom(){let e="vega-input-container";return this.value&&(e+=" with-value"),e+="small"===this.size?" vega-input-size-small":" vega-input-size-default",e+=this.disabled?" vega-input-disabled":"",this.isCompactInputWidth&&(e+=" compact-input-width"),t("div",{class:"vega-input",part:"container-wrapper"},this.renderLabelDom(),t("div",{ref:t=>this.inputContainerRef=t,part:"input-container",class:e,onClick:this.focusInput,"aria-label":"input container","aria-disabled":`${this.disabled}`,role:"textbox",tabIndex:this.disabled?null:-1,onKeyDown:u()},this.prefixSlotRenderer.render(),this.renderPrefixText(),this.containerDom(),this.renderSuffixText(),this.showClearIcon&&this.renderClearIcon()),this.renderHintDom())}renderLabelDom(){return t("vega-field-label",{onClick:this.focusInput,"is-field-required":this.required,disabled:this.disabled,label:this.label,suffixButtonProps:this.labelSuffixButtonProps,ref:t=>{O.addUniqueObserverToNode(t,k,this.handleLabelButtonClick)}})}renderClearIcon(){return t("div",{class:{"vega-input-clear-icon":!0,invisible:!this.isClearIconVisible()},tabIndex:-1,"aria-label":"clear input",role:"button",onClick:this.onClickClearIcon,onKeyDown:u()},t("vega-icon",{icon:"close"}))}renderHintDom(){return""!==this.hint?t("div",{class:"vega-hint"},t("label",null,this.hint)):null}get host(){return a(this)}static get watchers(){return{suffixText:["watchSuffixText"],value:["watchValue"],validationRules:["watchValidationRules"],maskConfig:["watchMaskChange"]}}};Z([w()],tt.prototype,"globalSlimmers",void 0),Z([m()],tt.prototype,"formFieldController",void 0),Z([m()],tt.prototype,"pageResizeObserverSlimmer",void 0),Z([m()],tt.prototype,"copyPasteController",void 0),Z([m()],tt.prototype,"compactWidthController",void 0),Z([m()],tt.prototype,"stateController",void 0),Z([m()],tt.prototype,"maskConfigController",void 0),Z([m()],tt.prototype,"prefixSlotRenderer",void 0),Z([m()],tt.prototype,"changeEventEmitter",void 0),Z([m()],tt.prototype,"focusEventEmitter",void 0),Z([m()],tt.prototype,"blurEventEmitter",void 0),Z([m()],tt.prototype,"labelButtonClickEventEmitter",void 0),Z([m()],tt.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),Z([c()],tt.prototype,"watchMaskChange",null),tt.style=':host{cursor:text;display:block;text-align:left;line-height:normal}:host(.vega-input-inline-block){display:inline-block;width:100%}:host(.vega-input-hidden){display:none}vega-field-label{margin-bottom:8px}.vega-input-container{display:flex;align-items:center;border-radius:8px;gap:8px;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1))}.vega-input-container:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}.vega-input-container.vega-input-disabled{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}.vega-input-container.vega-input-disabled:hover{border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}.vega-input-container.vega-input-disabled input{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1))}.vega-input-container.with-value{border-width:1px;border-style:solid;border-radius:8px}.vega-input-container:focus-within{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1))}.vega-input-container.error{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}.vega-input-container.error:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}.vega-input-container.error:focus-within{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:2px;border:1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1))}.vega-input-prefix{text-align:center;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));font-size:0px}.vega-input-prefix.vega-input-prefix-slot{height:24px;overflow:hidden}.vega-input-input{flex:1 1 0%;position:relative}.vega-input-input input{width:100%;outline:2px solid transparent;outline-offset:2px;border-style:none;height:24px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;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));background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-input-input input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-input-input input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-input-input input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}.vega-input-input input::placeholder{color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}.vega-input-size-small{padding-top:8px;padding-right:12px;padding-bottom:8px;padding-left:12px}.vega-input-size-default{padding-top:12px;padding-right:16px;padding-bottom:12px;padding-left:16px}.vega-input-input input:disabled{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}.vega-hint{padding-top:12px;padding-right:8px;padding-left:8px}.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}.vega-error{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));display:block;padding-top:12px;padding-right:8px;padding-left:8px}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}.vega-hidden{display:none}.vega-input-clear-icon{width:16px;height:16px;cursor:pointer;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}.vega-input-clear-icon.invisible{visibility:hidden}.vega-input-clear-icon vega-icon{min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;flex-shrink:0}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.vega-input-container.compact-input-width{gap:0px}.vega-input-container.compact-input-width .vega-input-prefix{margin-right:8px}.vega-input-container.compact-input-width .prefix-text,.vega-input-container.compact-input-width .suffix-text{margin-right:2px}.vega-input-container.compact-input-width .vega-input-clear-icon{margin-left:2px}.vega-input-container.compact-input-width .vega-input-input input{padding:0px;min-width:1px}.vega-input-container.compact-input-width.auto-width .vega-input-input{flex-grow:0}.vega-input-container.compact-input-width.auto-width .suffix-text{flex-grow:1}.vega-input-container .prefix-text,.vega-input-container .suffix-text{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;flex-shrink:0;flex-grow:0}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-input-container .prefix-text,.vega-input-container .suffix-text{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-input-container .prefix-text,.vega-input-container .suffix-text{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-input-container .prefix-text,.vega-input-container .suffix-text{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}.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){.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: 1024px) and (max-width: 1439px){.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: 1440px) and (max-width: 9999px){.v-font-field-value{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}';export{tt as vega_input}
@@ -1 +0,0 @@
1
- import{h as t,r as e,c as i,H as s,g as o}from"./p-1c298d5a.js";import{s as r}from"./p-9b797118.js";import{c as a,V as n,M as p,I as l}from"./p-6e1ab235.js";import{V as c,I as h}from"./p-4387d550.js";import{D as f}from"./p-fcdd9251.js";import{f as m}from"./p-6a1e7e2e.js";import{C as u}from"./p-47facbb4.js";import{c as d}from"./p-f95b164c.js";import{b as v}from"./p-317018ba.js";import{C as b}from"./p-2d0d575f.js";import{K as j}from"./p-80c86d79.js";import{c as w,b as x}from"./p-262ec334.js";import{F as y}from"./p-5ba0a9f7.js";import{R}from"./p-280cbcdb.js";import{c as C}from"./p-5e4a0c04.js";import"./p-bf953152.js";import"./p-97ded803.js";import"./p-5f377954.js";import"./p-1e940ce8.js";import"./p-7a40e033.js";import"./p-112455b1.js";import"./p-6a334573.js";import"./p-2e65e175.js";import"./p-0bb29d98.js";import"./p-37b05e0b.js";import"./p-e06361df.js";import"./p-7cb3666d.js";import"./p-c0291e2e.js";import"./p-74168615.js";import"./p-ed45b3b6.js";import"./p-abd7aeaa.js";import"./p-987fbbd0.js";import"./p-b5f5a5e0.js";import"./p-3647d61d.js";var g=function(t,e,i,s){var o,r=arguments.length,a=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};class I extends n{constructor(){super(...arguments),this.onInputChange=t=>{this.valueController.updateValue(t.detail)}}getInputRef(){return this.vegaInputRef.shadowRoot.querySelector("input")}getContainerRef(){return this.vegaInputRef.shadowRoot.querySelector(".vega-input-container")}render(){const e={thousandComma:this.thousandComma};return this.integerOnly&&(e.precision=0),t("vega-input",{value:this.value||"",showClearIcon:!0,disabled:this.disabled,label:this.label,hint:this.hint,required:this.required,type:"number",placeholder:this.placeholder,size:"small"===this.size?"small":"default",prefixIcon:this.prefixIcon,ref:t=>{this.vegaInputRef=t,f.addUniqueObserverToNode(t,m,(t=>this.onInputChange(t)))},maskConfig:{type:"number",options:e}})}}g([a()],I.prototype,"prefixIcon",void 0),g([a()],I.prototype,"value",void 0),g([a()],I.prototype,"size",void 0),g([a()],I.prototype,"disabled",void 0),g([a()],I.prototype,"placeholder",void 0),g([a()],I.prototype,"label",void 0),g([a()],I.prototype,"hint",void 0),g([a()],I.prototype,"required",void 0),g([a()],I.prototype,"thousandComma",void 0),g([a()],I.prototype,"integerOnly",void 0),g([a()],I.prototype,"valueController",void 0);var T=function(t,e,i,s){var o,r=arguments.length,a=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};class V extends n{watchValue(){this.changeEventEmitter.emit(this.value),b.notify(v,{host:this.host,detail:this.value})}updateValue(t){this.value=t}}T([a()],V.prototype,"host",void 0),T([a({writable:!0})],V.prototype,"value",void 0),T([a()],V.prototype,"changeEventEmitter",void 0),T([p("watchValue")],V.prototype,"watchValue",null);var S=function(t,e,i,s){var o,r=arguments.length,a=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};class O extends j{constructor(){super((t=>[{keyCode:["ArrowUp","ArrowDown"],activeElementInScope:[t.host],callback:t.onArrowUpOrDown},{keyCode:["ArrowUp"],eventName:"keydown",activeElementInScope:[t.host],callback:t=>{t.preventDefault()}}])),this.onArrowUpOrDown=t=>{const e=t.shiftKey?this.majorIncrement:this.minorIncrement,i=w(this.value.replace(/,/g,""))||0,s=Math.max(x(i),x(e));"ArrowUp"===t.code?this.valueController.updateValue(`${(i+e).toFixed(s)}`):"ArrowDown"===t.code&&this.valueController.updateValue(`${(i-e).toFixed(s)}`)}}}S([a()],O.prototype,"host",void 0),S([a()],O.prototype,"value",void 0),S([a()],O.prototype,"minorIncrement",void 0),S([a()],O.prototype,"majorIncrement",void 0),S([a()],O.prototype,"valueController",void 0);var k=function(t,e,i,s){var o,r=arguments.length,a=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};const E=class{constructor(t){e(this,t),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.globalSlimmers={},this.valueController=new V,this.keyboardController=new O,this.renderer=new I,this.changeEventEmitter=d(E,m),this.inputEventPrevent=new u([m],(()=>this.host),{useCapture:!0}),this.formFieldController=new y({propertyRules:[{propertyName:"required",ruleFactory:t=>t?new R:null}],validationRulesName:"validationRules",inputContainerGetter:()=>this.renderer.getContainerRef(),touchableAreaGetter:()=>[this.renderer.getInputRef()],defaultValue:"",attributeGetter:t=>this[t]}),this.prefixTextNotifySlimmer=C(E,"prefixText","watchPrefixText"),this.suffixTextNotifySlimmer=C(E,"suffixText","watchSuffixText"),this.isCompactInputWidthNotifySlimmer=C(E,"isCompactInputWidth"),this.vegaComponentUsageRuntimeMetricsSlimmer=new c,this.isCompactInputWidth=!0,this.prefixText="",this.value="",this.size="medium",this.thousandComma=!1,this.integerOnly=!1,this.disabled=!1,this.minorIncrement=1,this.majorIncrement=10,this.label="",this.validationRules=[],this.isValid=null,this.autoValidation=!0}watchPrefixText(){}watchSuffixText(){}watchValue(){}watchValidationRules(){}render(){return r(t(s,null,this.renderer.render()),this.host)}get host(){return o(this)}static get watchers(){return{prefixText:["watchPrefixText"],suffixText:["watchSuffixText"],value:["watchValue"],validationRules:["watchValidationRules"]}}};k([h()],E.prototype,"globalSlimmers",void 0),k([l()],E.prototype,"valueController",void 0),k([l()],E.prototype,"keyboardController",void 0),k([l()],E.prototype,"renderer",void 0),k([l()],E.prototype,"changeEventEmitter",void 0),k([l()],E.prototype,"inputEventPrevent",void 0),k([l()],E.prototype,"formFieldController",void 0),k([l()],E.prototype,"prefixTextNotifySlimmer",void 0),k([l()],E.prototype,"suffixTextNotifySlimmer",void 0),k([l()],E.prototype,"isCompactInputWidthNotifySlimmer",void 0),k([l()],E.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),E.style=":host{display:inline-block;width:100%}";export{E as vega_input_numeric}
@@ -1 +0,0 @@
1
- import{I as e,c as t,g as a}from"./p-37b05e0b.js";import{a as o,g as n,D as i}from"./p-bf953152.js";import{L as l,I as c}from"./p-6e1ab235.js";import{c as s}from"./p-6a334573.js";import{P as r}from"./p-c0291e2e.js";import{i as d}from"./p-97ded803.js";import{c as p}from"./p-262ec334.js";const u=[{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 f{constructor(){this.vegaPublicAPIRuntimeMetricsSlimmer=t(f,["load","close"],u)}load(e={}){let t=e.containerSelector||"body",a=document.querySelector(t);if(a&&f.SPECIAL_ELEMENT_TO_WRAP_FULL_BODY.includes(a.tagName)&&(t="body",a=document.querySelector("body")),!a)return l.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.dataset.vegaLoaderOriginPosition&&(e.style.position=e.dataset.vegaLoaderOriginPosition)}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)}}f.SPECIAL_ELEMENT_TO_WRAP_FULL_BODY=["VEGA-MODAL"],function(e,t,a,o){var n,i=arguments.length,l=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,a,o);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(l=(i<3?n(l):i>3?n(t,a,l):n(t,a))||l);i>3&&l&&Object.defineProperty(t,a,l)}([e()],f.prototype,"vegaPublicAPIRuntimeMetricsSlimmer",void 0);const h=new f,y=new class{constructor(){this.baseBasicZIndex=1e4,this.topBasicZIndex=11e3,this.levelEntry={base:{zIndex:this.baseBasicZIndex,elements:[]},top:{zIndex:this.topBasicZIndex,elements:[]}}}setZIndex(e,t="base"){if(null===e)return;this.removeZIndex(e,t);const a=this.levelEntry[t];e&&a&&("base"===t&&this.isBaseLevelOver()&&(l.warn("The max 'z-index' of base level is '11000', but the current 'z-index' is over, Please optimize the use of 'z-index', otherwise there will be some performance overhead."),this.increaseTopEntry()),a.elements.push(e),a.zIndex+=1,e.style.zIndex=a.zIndex.toString())}removeZIndex(e,t="base"){if(null===e)return;const a=this.levelEntry[t];if(e&&a){let t=-1;a.elements.forEach(((a,o)=>{a===e&&(t=o),t>=0&&o>t&&(a.style.zIndex=""+(p(a.style.zIndex)-1))})),t>=0&&(e.style.removeProperty("z-index"),a.elements.splice(t,1),a.zIndex-=1)}}overrideZIndexBasicValues(e){const t=this.formatZIndexBasicValues(e);this.validBasicValues(t)&&this.updateBasicValues(t)}formatZIndexBasicValues(e){return Object.assign({base:this.baseBasicZIndex,top:this.topBasicZIndex},e)}validBasicValues(e){return"number"!=typeof e.base||"number"!=typeof e.top?(l.error("Change z-index basic value failed, both base level and top level should be of type number!"),!1):!(e.base>=e.top&&(l.error("Change z-index basic value failed, the base level should be smaller than the top level!"),1))}updateBasicValues(e){this.baseBasicZIndex=e.base,this.topBasicZIndex=e.top;const t=this.levelEntry.base;t.elements.forEach(((e,t)=>{e.style.zIndex=`${this.baseBasicZIndex+t+1}`})),t.zIndex=this.baseBasicZIndex+t.elements.length;const a=this.levelEntry.top;a.elements.forEach(((e,t)=>{e.style.zIndex=`${this.topBasicZIndex+t+1}`})),a.zIndex=this.topBasicZIndex+a.elements.length}increaseTopEntry(){const e=this.levelEntry.top;e.elements.forEach((e=>{e.style.zIndex=`${p(e.style.zIndex)+1}`})),e.zIndex+=1}isBaseLevelOver(){return this.levelEntry.base.zIndex>=this.topBasicZIndex}},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 g=function(e,t,a,o){var n,i=arguments.length,l=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,a,o);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(l=(i<3?n(l):i>3?n(t,a,l):n(t,a))||l);return i>3&&l&&Object.defineProperty(t,a,l),l};class m{constructor(){this.resizeObserverSlimmer=s(m,r,[],[{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"))&&(y.removeZIndex(this.container,"top"),this.container.remove(),this.container=null)},target:()=>this.container}]),this.vegaPublicAPIRuntimeMetricsSlimmer=t(m,["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"),y.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}}g([c()],m.prototype,"resizeObserverSlimmer",void 0),g([e()],m.prototype,"vegaPublicAPIRuntimeMetricsSlimmer",void 0);const b=new m,I=[{payloadKey:"IS_OPEN_METHOD_CALLED",payloadDescription:"Indicate if the method open of public API VegaDialogController is called",canAccept:(e,t)=>"VegaDialogController"===e&&"open"===t,payloadValue:()=>!0}];class A{constructor(){this.vegaPublicAPIRuntimeMetricsSlimmer=t(A,["open"],I)}open(e){const t=document.createElement("vega-dialog"),{isVerticallyCenter:o,isVerticallyCentered:n,showCloseButton:i,size:l,title:c,handleClose:s}=e,r=function(e,t){var a={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(a[o[n]]=e[o[n]])}return a}(e,["isVerticallyCenter","isVerticallyCentered","showCloseButton","size","title","handleClose"]);return t.id=`vega-dialog-${a()}`,t.dialogTitle=c,t.modalProps={isVerticallyCenter:o,isVerticallyCentered:n,showCloseButton:i,size:l,handleClose:s},Object.keys(r).forEach((e=>{void 0!==r[e]&&(t[e]=r[e])})),document.body.append(t),t}}!function(e,t,a,o){var n,i=arguments.length,l=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,a,o);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(l=(i<3?n(l):i>3?n(t,a,l):n(t,a))||l);i>3&&l&&Object.defineProperty(t,a,l)}([e()],A.prototype,"vegaPublicAPIRuntimeMetricsSlimmer",void 0);const V=new A,E=[{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 L{constructor(){this.vegaPublicAPIRuntimeMetricsSlimmer=t(L,["setSemantics","getSemantics","getEnabledEventIdsByComponent"],E)}setSemantics(e){d.setSemantics(e)}getSemantics(e){return d.getSemantics(e)}getEnabledEventIdsByComponent(e){return d.getEnabledEventIdsByComponent(e)}}!function(e,t,a,o){var n,i=arguments.length,l=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,a,o);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(l=(i<3?n(l):i>3?n(t,a,l):n(t,a))||l);i>3&&l&&Object.defineProperty(t,a,l)}([e()],L.prototype,"vegaPublicAPIRuntimeMetricsSlimmer",void 0);const C=new L,D=[{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 O{constructor(){this.vegaPublicAPIRuntimeMetricsSlimmer=t(O,["overrideZIndexBasicValues"],D)}overrideZIndexBasicValues(e){y.overrideZIndexBasicValues(e)}}!function(e,t,a,o){var n,i=arguments.length,l=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,a,o);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(l=(i<3?n(l):i>3?n(t,a,l):n(t,a))||l);i>3&&l&&Object.defineProperty(t,a,l)}([e()],O.prototype,"vegaPublicAPIRuntimeMetricsSlimmer",void 0);const S=new O,j=[{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 M{constructor(){this.vegaPublicAPIRuntimeMetricsSlimmer=t(M,["load","unLoad","unLoadAll"],j),this.loaderMap=new Map}load({target:e,type:t="text",width:o,height:n,items:i,layout:l}){const c=Array.from(document.body.querySelectorAll(e)),s=`vega-skeleton-loader-${a()}`,r=[];return c.forEach((e=>{const a=i?i.map(this.createSkeleton):[this.createSkeleton({type:t,width:o,height:n})],c=(l?[this.wrapLayout(a,l)]:a).map((e=>(e.dataset[M.LOADER_DATA_SET_KEY]=s,e)));r.push(...c),e.append(...c)})),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}}M.LOADER_DATA_SET_KEY="vegaSkeletonLoaderKey",function(e,t,a,o){var n,i=arguments.length,l=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,a,o);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(l=(i<3?n(l):i>3?n(t,a,l):n(t,a))||l);i>3&&l&&Object.defineProperty(t,a,l)}([e()],M.prototype,"vegaPublicAPIRuntimeMetricsSlimmer",void 0);const _=new M;export{y as I,h as V,b as a,V as b,C as c,S as d,_ as e}
@@ -1 +0,0 @@
1
- import{h as e,r as t,c as i,H as a,g as n}from"./p-1c298d5a.js";import{s as o}from"./p-9b797118.js";import{n as s,c as r}from"./p-262ec334.js";import{D as g}from"./p-fcdd9251.js";import{w as p,B as l,f as h,a as c,L as m}from"./p-6a1e7e2e.js";import{a as f}from"./p-bf953152.js";import{C as u}from"./p-47facbb4.js";import{c as v}from"./p-f95b164c.js";import{c as d,M as b,V as w,I as x}from"./p-6e1ab235.js";import{V as S,I as y}from"./p-4387d550.js";import{T as C}from"./p-38cd5b2e.js";import{R as z}from"./p-79c55889.js";import{P as j,g as P}from"./p-c0291e2e.js";import{j as O,k}from"./p-e06361df.js";import"./p-5f377954.js";import"./p-878dceb7.js";import{F as I}from"./p-1e940ce8.js";import"./p-f7cf81b6.js";import"./p-cc63e827.js";import"./p-0fd6c35b.js";import"./p-7cb3666d.js";import"./p-2d0d575f.js";import"./p-97ded803.js";import"./p-6a334573.js";import"./p-b1f65b13.js";import"./p-ed45b3b6.js";import"./p-74168615.js";import"./p-3a0a4d15.js";import"./p-d884c644.js";import"./p-0c667d6a.js";import"./p-3647d61d.js";import"./p-37b05e0b.js";import"./p-7a40e033.js";import"./p-112455b1.js";import"./p-317018ba.js";const L=({pageSize:t,current:i,total:a,translationSlimmer:n})=>{const o=a>0?t*(i-1)+1:0,s=Math.min(i*t,a);return e("vega-field-label",{label:n.t("Viewing {0}-{1} of {2}",o,s,a)})},M=({onChange:t,pageCount:i,translationSlimmer:a})=>{let n;const o=()=>{if(n.value){const e=s(r(n.value,1),1,i);t(e),n.value=""}},h=e=>{e.stopPropagation()};return e("vega-flex",{alignItems:"center",justifyContent:"center",gap:"size-8"},e("vega-field-label",{label:a.t("Go To")}),e("vega-form",{ref:e=>{g.addUniqueObserverToNode(e,p,o)}},e("vega-input",{"data-vega-form":"paginationGoTo",type:"number",size:"small",showClearIcon:!1,style:{width:"60px"},maskConfig:{type:"number",options:{allowNegative:!1,precision:0}},onVegaChange:h,onChange:h,ref:e=>{n=e,g.addUniqueObserverToNode(e,l,o)}})))},E=({pageSize:t,pageSizeSelectorOptions:i,dropdownProps:a,onChange:n,translationSlimmer:o})=>{const s=i.sort(((e,t)=>e-t)),r=e=>{const t=Number(e.detail);n(t)};return e("vega-flex",{alignItems:"center",justifyContent:"center",gap:"size-8"},e("vega-field-label",{label:o.t("Show")}),e("div",null,e("vega-input-select",{size:"small",source:s.map((e=>({id:e.toString(),displayName:e.toString()}))),value:t.toString(),placeholder:"Page Size",vegaDropdownProps:Object.assign({matchTargetWidth:!1,searchable:!1},a),ref:e=>{g.addUniqueObserverToNode(e,h,r)}})))},R=({total:t,current:i,onChange:a,pageCount:n})=>{const o=t=>{const n=i!==t;return e("li",{key:t,class:f(["vega-pagination-item",i===t?"active":""])},e("button",{onClick:()=>n&&a(t)},t))},s=(t,i,a)=>e("li",{class:f(["vega-pagination-button",i&&"disabled"])},e("vega-button-circle",{variant:"icon-only",icon:t,iconColor:"text-link",size:"small",disabled:i,ref:e=>{g.addUniqueObserverToNode(e,c,a)}}));return e("ul",{class:"vega-pagination"},s("chevron-left",0===t||1===i,(()=>{a(i-1)})),0===t?[o(1)]:((e,t,i=7)=>{if(i<7)throw new Error("Must allow at least 7 pager items");if(i%2==0)throw new Error("Must allow odd number of pager items");if(t<i)return Array(t).fill(0).map(((e,t)=>t+1));const a=Math.max(1,Math.min(t-i+1,e-Math.floor(i/2))),n=new Array(i);for(let e=0;e<i;e+=1)n[e]=e+a;return Number(n[0])>1&&(n[0]=1,n[1]="..."),Number(n[n.length-1])<=t-1&&(n[n.length-1]=t,n[n.length-2]="..."),n})(i,n).map((t=>"string"==typeof t?e("li",{class:"vega-pagination-item pager-ellipsis"},"..."):o(t))),s("chevron-right",0===t||i===n,(()=>{a(i+1)})))};var T=function(e,t,i,a){var n,o=arguments.length,s=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,a);else for(var r=e.length-1;r>=0;r--)(n=e[r])&&(s=(o<3?n(s):o>3?n(t,i,s):n(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class N extends w{registerPaginationPageSizeChangeObserver(){g.addUniqueObserverToNode(this.host,O,(e=>{this.pageSize=Number(e.detail)}))}unregisterPaginationPageSizeChangeObserver(){g.removeUniqueObserverFromNode(this.host,O)}}T([d()],N.prototype,"host",void 0),T([d({writable:!0})],N.prototype,"pageSize",void 0),T([b("connectedCallback")],N.prototype,"registerPaginationPageSizeChangeObserver",null),T([b("disconnectedCallback")],N.prototype,"unregisterPaginationPageSizeChangeObserver",null);var _=function(e,t,i,a){var n,o=arguments.length,s=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,a);else for(var r=e.length-1;r>=0;r--)(n=e[r])&&(s=(o<3?n(s):o>3?n(t,i,s):n(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class A extends w{registerPaginationCurrentChangeObserver(){g.addUniqueObserverToNode(this.host,k,(e=>{this.current=Number(e.detail)}))}unregisterPaginationCurrentChangeObserver(){g.removeUniqueObserverFromNode(this.host,k)}}_([d()],A.prototype,"host",void 0),_([d({writable:!0})],A.prototype,"current",void 0),_([b("connectedCallback")],A.prototype,"registerPaginationCurrentChangeObserver",null),_([b("disconnectedCallback")],A.prototype,"unregisterPaginationCurrentChangeObserver",null);var V=function(e,t,i,a){var n,o=arguments.length,s=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,a);else for(var r=e.length-1;r>=0;r--)(n=e[r])&&(s=(o<3?n(s):o>3?n(t,i,s):n(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class B extends j{constructor(){super({callback:()=>{this.calculatePaginationLayout()}}),this.calculatePaginationLayout=()=>{if("vertical"===this.currentLayout)this.host.classList.add("vega-pagination-vertical"),this.host.classList.remove("vega-pagination-horizontal");else{this.host.classList.remove("vega-pagination-vertical"),this.host.classList.add("vega-pagination-horizontal");const e=this.host.offsetHeight;Array.from(this.host.shadowRoot.children).filter((e=>"VEGA-FLEX"===e.tagName)).every((t=>e>t.offsetHeight))&&(this.host.classList.add("vega-pagination-vertical"),this.host.classList.remove("vega-pagination-horizontal"))}}}componentWillLoad(){this.setCurrentLayout()}watchCurrentBreakpoint(){this.setCurrentLayout()}watchLayout(){this.setCurrentLayout(),this.calculatePaginationLayout()}setCurrentLayout(){this.currentLayout=z.formatCustom(this.layout)}}V([d()],B.prototype,"host",void 0),V([d()],B.prototype,"layout",void 0),V([b("componentWillLoad")],B.prototype,"componentWillLoad",null),V([b("watchCurrentBreakpoint")],B.prototype,"watchCurrentBreakpoint",null),V([b("watchLayout")],B.prototype,"watchLayout",null);var W=function(e,t,i,a){var n,o=arguments.length,s=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,a);else for(var r=e.length-1;r>=0;r--)(n=e[r])&&(s=(o<3?n(s):o>3?n(t,i,s):n(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};const G=class{constructor(a){t(this,a),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.vegaPageSizeChange=i(this,"vegaPageSizeChange",7),this.pageSizeChange=i(this,"pageSizeChange",7),this.globalSlimmers={},this.translationSlimmer=new C,this.childEventPrevent=new u([p],(()=>this.host)),this.childValueChangePrevent=new u([h],(()=>this.host),!0),this.vegaChangeEventEmitter=v(G,h),this.vegaPageSizeChangeEventEmitter=v(G,m),this.vegaComponentUsageRuntimeMetricsSlimmer=new S,this.vegaPaginationPageSizeObserverController=new N,this.vegaPaginationCurrentPageObserverController=new A,this.breakpointPageResizeObserverSlimmer=new j,this.vegaPaginationLayoutController=new B,this.vegaPaginationItemTypes=["currentPageLabel","pageSizeSelector","pageSelector","goTo","pageSelectorMobile","pageSizeSelectorMobile","pageSelectorMobile_goTo","pageSizeSelectorMobile_currentPageLabel"],this.currentBreakpoint=P(),this.pageCount=0,this.current=1,this.total=0,this.pageSize=10,this.extensions=I.isEnabled("VEGA_PAGINATION.ENABLE_EXTENSIONS_RESPONSIVE_DEFAULT_VALUE")?{default:[["pageSizeSelectorMobile_currentPageLabel"],["pageSelectorMobile_goTo"]],M:[["pageSelector"]]}:[["pageSelector"]],this.layout="horizontal",this.pageSizeSelectorOptions=[10,20,50,100],this.renderPaginationItemsWrapper=t=>e("vega-flex",{gap:{default:"size-4",M:"size-24"},flexWrap:"wrap",alignItems:"center",justifyContent:"center",key:this.generateWrapperKey(t)},t.map((t=>e("div",{key:t},this.renderPaginationItem(t))))),this.renderPaginationItem=t=>{switch(t){case"currentPageLabel":return e(L,{total:this.total,current:this.current,pageSize:this.pageSize,translationSlimmer:this.translationSlimmer});case"pageSizeSelector":{const t=this.pageSizeSelectorOptions.includes(this.pageSize)?this.pageSizeSelectorOptions:[...this.pageSizeSelectorOptions,this.pageSize];return e(E,{pageSize:this.pageSize,pageSizeSelectorOptions:t,dropdownProps:this.dropdownProps,onChange:this.onPageSizeSelectorChange,translationSlimmer:this.translationSlimmer})}case"pageSelector":return e(R,{current:this.current,total:this.total,onChange:this.onPageSelectorChange,pageCount:this.pageCount});case"goTo":return e(M,{onChange:this.handlePaginationGoToChange,pageCount:this.pageCount,translationSlimmer:this.translationSlimmer});case"pageSelectorMobile":case"pageSelectorMobile_goTo":return e("vega-pagination-page-selector-mobile",{type:t,pageCount:this.pageCount,current:this.current,total:this.total});case"pageSizeSelectorMobile":case"pageSizeSelectorMobile_currentPageLabel":return e("vega-pagination-page-size-selector-mobile",{type:t,pageSize:this.pageSize,current:this.current,total:this.total,pageSizeSelectorOptions:this.pageSizeSelectorOptions,dropdownProps:this.dropdownProps})}},this.handlePaginationGoToChange=e=>{this.current=e},this.onPageSizeSelectorChange=e=>{this.pageSize=e},this.calculatePages=()=>this.total?Math.floor((this.total-1)/this.pageSize)+1:0,this.onPageSelectorChange=e=>{this.current=e},this.removeDuplicateItems=e=>{const t=[...this.vegaPaginationItemTypes];return[...e].map((e=>e.filter(((i,a)=>{const n=t.indexOf(i);return n>=0?(t.splice(n,1),!0):(e.splice(a,1),!1)})))).filter((e=>e.length>0))},this.generateWrapperKey=e=>e.map(String).reduce(((e,t)=>`${e}-${t}`)),this.currentValueGuard=()=>{0===this.pageCount?this.current=1:this.current>this.pageCount&&(this.current=this.pageCount)}}watchCurrentBreakpoint(){}watchPageCount(){this.currentValueGuard()}watchCurrent(){this.currentValueGuard(),this.vegaChangeEventEmitter.emit(this.current)}watchTotal(){this.pageCount=this.calculatePages()}watchPageSize(){this.vegaPageSizeChangeEventEmitter.emit(this.pageSize),this.pageCount=this.calculatePages()}watchLayout(){}componentWillLoad(){this.pageCount=this.calculatePages(),this.currentValueGuard(),this.pageSizeSelectorOptions.includes(this.pageSize)||(this.pageSizeSelectorOptions=[...this.pageSizeSelectorOptions,this.pageSize])}render(){const t=z.formatCustom(this.extensions);return o(e(a,null,this.removeDuplicateItems(t).map(this.renderPaginationItemsWrapper)),this.host)}get host(){return n(this)}static get watchers(){return{currentBreakpoint:["watchCurrentBreakpoint"],pageCount:["watchPageCount"],current:["watchCurrent"],total:["watchTotal"],pageSize:["watchPageSize"],layout:["watchLayout"]}}};W([y()],G.prototype,"globalSlimmers",void 0),W([x()],G.prototype,"translationSlimmer",void 0),W([x()],G.prototype,"childEventPrevent",void 0),W([x()],G.prototype,"childValueChangePrevent",void 0),W([x()],G.prototype,"vegaChangeEventEmitter",void 0),W([x()],G.prototype,"vegaPageSizeChangeEventEmitter",void 0),W([x()],G.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),W([x()],G.prototype,"vegaPaginationPageSizeObserverController",void 0),W([x()],G.prototype,"vegaPaginationCurrentPageObserverController",void 0),W([x()],G.prototype,"breakpointPageResizeObserverSlimmer",void 0),W([x()],G.prototype,"vegaPaginationLayoutController",void 0),G.style=':host{display:flex;align-items:center;line-height:normal;flex-wrap:wrap}:host(.vega-pagination-horizontal){flex-direction:row;justify-content:space-between}:host(.vega-pagination-vertical){flex-direction:column;gap:16px;justify-content:center}@media (min-width: 320px){:host(.vega-pagination-horizontal){gap:4px}}@media (min-width: 768px){:host(.vega-pagination-horizontal){gap:24px}}.vega-pagination{display:flex;padding:0px;margin:0px}.vega-pagination .vega-pagination-item{list-style-type:none;display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;color:rgba(var(--v-text-link, 19, 98, 226, 1));cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-pagination .vega-pagination-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-pagination .vega-pagination-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-pagination .vega-pagination-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}.vega-pagination .vega-pagination-item button{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));border-width:0px;outline:2px solid transparent;outline-offset:2px;width:100%;height:100%;cursor:pointer;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;color:rgba(var(--v-text-link, 19, 98, 226, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-pagination .vega-pagination-item button{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-pagination .vega-pagination-item button{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-pagination .vega-pagination-item button{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}.vega-pagination .vega-pagination-item.pager-ellipsis{cursor:default}.vega-pagination .vega-pagination-item:not(.pager-ellipsis):not(:active):hover{text-decoration:underline;text-underline-offset:2px}.vega-pagination .vega-pagination-item button:active,.vega-pagination .vega-pagination-item.active button{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-pagination .vega-pagination-item button:active,.vega-pagination .vega-pagination-item.active button{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-pagination .vega-pagination-item button:active,.vega-pagination .vega-pagination-item.active button{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-pagination .vega-pagination-item button:active,.vega-pagination .vega-pagination-item.active button{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}.vega-pagination .vega-pagination-item button:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-action-focus, 19, 98, 226, 0.25));border-radius:9999px}.vega-pagination .vega-pagination-button{list-style-type:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}';export{G as vega_pagination}
@@ -1 +0,0 @@
1
- import{r as e,h as s,H as t,g as o}from"./p-1c298d5a.js";import{s as a}from"./p-9b797118.js";import{c as r,M as n,V as i,I as l}from"./p-6e1ab235.js";import{V as c,I as f}from"./p-4387d550.js";import{C as h}from"./p-2d0d575f.js";import{f as m}from"./p-317018ba.js";var d=function(e,s,t,o){var a,r=arguments.length,n=r<3?s:null===o?o=Object.getOwnPropertyDescriptor(s,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,s,t,o);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r<3?a(n):r>3?a(s,t,n):a(s,t))||n);return r>3&&n&&Object.defineProperty(s,t,n),n};class p extends i{handleMessageChange(){this.notifyMessageUpdate()}handleComponentDidLoad(){this.notifyMessageUpdate()}notifyMessageUpdate(){h.notify(m,{host:this.host,message:this.message})}}d([r()],p.prototype,"host",void 0),d([r()],p.prototype,"message",void 0),d([n("watchMessage")],p.prototype,"handleMessageChange",null),d([n("componentDidLoad")],p.prototype,"handleComponentDidLoad",null);var g=function(e,s,t,o){var a,r=arguments.length,n=r<3?s:null===o?o=Object.getOwnPropertyDescriptor(s,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,s,t,o);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r<3?a(n):r>3?a(s,t,n):a(s,t))||n);return r>3&&n&&Object.defineProperty(s,t,n),n};const u=class{constructor(s){e(this,s),this.globalSlimmers={},this.messageController=new p,this.vegaComponentUsageRuntimeMetricsSlimmer=new c,this.message=""}watchMessage(){}render(){return a(s(t,null,s("slot",null)),this.host)}get host(){return o(this)}static get watchers(){return{message:["watchMessage"]}}};g([f()],u.prototype,"globalSlimmers",void 0),g([l()],u.prototype,"messageController",void 0),g([l()],u.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),u.style=":host{display:block}";export{u as vega_field_error}
@@ -1 +0,0 @@
1
- import{c as t,I as e,V as i,L as s,M as o}from"./p-6e1ab235.js";import{f as n,c as h,i as r}from"./p-bf953152.js";import{I as c}from"./p-878dceb7.js";import{c as l}from"./p-6a334573.js";import{P as a}from"./p-c0291e2e.js";import{P as d,A as u}from"./p-74168615.js";import{A as f}from"./p-b1f65b13.js";import{R as p}from"./p-79c55889.js";import{C as v}from"./p-2d0d575f.js";import{S as m}from"./p-317018ba.js";import{d as g,O as b}from"./p-6a1e7e2e.js";import{o as w}from"./p-e06361df.js";import{D as R}from"./p-fcdd9251.js";class j{canRetrieve(){return!0}retrieve(){const t=document.body;return this.showConfig.appendableElement.parentElement!==t&&t.append(this.showConfig.appendableElement),t}}!function(t,e,i,s){var o,n=arguments.length,h=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(h=(n<3?o(h):n>3?o(e,i,h):o(e,i))||h);n>3&&h&&Object.defineProperty(e,i,h)}([t()],j.prototype,"showConfig",void 0);class y{canRetrieve(){return!this.showConfig.isScreenPosition}}class C extends y{canRetrieve(){return super.canRetrieve()&&!!this.showConfig.positionRelativeTo&&!!document.querySelector(this.showConfig.positionRelativeTo)}retrieve(){const t=document.querySelector(this.showConfig.positionRelativeTo);return this.showConfig.appendableElement.parentElement!==t&&t.append(this.showConfig.appendableElement),t}}!function(t,e,i,s){var o,n=arguments.length,h=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(h=(n<3?o(h):n>3?o(e,i,h):o(e,i))||h);n>3&&h&&Object.defineProperty(e,i,h)}([t()],C.prototype,"showConfig",void 0);class x extends y{canRetrieve(){return super.canRetrieve()&&!!n(this.showConfig.target,"vega-modal")}retrieve(){return this.getVegaModalShowConfigContainer()}setElementSlot(t,e){var i;const s=null===(i=Array.from(t.children).find((t=>{const e=t.getAttribute("slot");return e&&["content","modal-content"].includes(e)})))||void 0===i?void 0:i.getAttribute("slot");s&&e.setAttribute("slot",s)}getVegaModalShowConfigContainer(){const t=n(this.showConfig.target,"vega-modal"),e=t.shadowRoot.querySelector(".vega-modal-content-with-scroll"),i=t.shadowRoot.querySelector(".modal-dialog");return this.setElementSlot(t,this.showConfig.appendableElement),t.append(this.showConfig.appendableElement),e||i}}!function(t,e,i,s){var o,n=arguments.length,h=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(h=(n<3?o(h):n>3?o(e,i,h):o(e,i))||h);n>3&&h&&Object.defineProperty(e,i,h)}([t({writable:!0})],x.prototype,"showConfig",void 0);class O extends y{canRetrieve(){return super.canRetrieve()&&!!n(this.showConfig.target,".vega-popover")}retrieve(){const t=n(this.showConfig.target,".vega-popover");return t.append(this.showConfig.appendableElement),t}}!function(t,e,i,s){var o,n=arguments.length,h=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(h=(n<3?o(h):n>3?o(e,i,h):o(e,i))||h);n>3&&h&&Object.defineProperty(e,i,h)}([t()],O.prototype,"showConfig",void 0);var S=function(t,e,i,s){var o,n=arguments.length,h=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(h=(n<3?o(h):n>3?o(e,i,h):o(e,i))||h);return n>3&&h&&Object.defineProperty(e,i,h),h};class E extends i{constructor(){super(...arguments),this.positionRelativeToWrapper=new C,this.vegaPopoverWrapper=new O,this.vegaModalWrapper=new x,this.defaultWrapper=new j}setContainer(){this.setContainerRetrievers();for(const t of this.containerRetrievers)if(t.canRetrieve())return void(this.container=t.retrieve())}setContainerRetrievers(){this.containerRetrievers=[this.positionRelativeToWrapper,this.vegaPopoverWrapper,this.vegaModalWrapper,this.defaultWrapper]}}S([t({writable:!0})],E.prototype,"container",void 0),S([t({writable:!0})],E.prototype,"showConfig",void 0),S([e()],E.prototype,"positionRelativeToWrapper",void 0),S([e()],E.prototype,"vegaPopoverWrapper",void 0),S([e()],E.prototype,"vegaModalWrapper",void 0),S([e()],E.prototype,"defaultWrapper",void 0);class A extends i{getPositionBox(t,e){const i=t||this.getPlacements(),s=e||this.getAlignments(),o=this.getTargetBoundBox(),n=this.getElementBoundBox(),h=this.getElementScrollDimension(),r=this.getSuitablePlacement(h,n,o,i),c=this.getSuitableAlignment(h,n,o,r,s),l=this.calculatePosition(n,o,r,c),a=this.getTranslocationBox(r);return l.placement=r,l.alignment=c,l.left+=a.X,l.top+=a.Y,l}getElementBoundBox(){const t=this.showConfig.appendableElement,e=t.classList.contains("vega-force-hidden");e&&t.classList.remove("vega-force-hidden");const i=t.getBoundingClientRect();return e&&t.classList.add("vega-force-hidden"),{width:i.width,height:i.height,left:i.left,top:i.top}}getPlacements(){const t=this.showConfig.placement;if("string"==typeof t){const e=d.filter((e=>e!==t));return[t,...e]}return Array.isArray(t)?t:[...d]}getAlignments(){const t=this.showConfig.alignment;if("string"==typeof t){const e=u.filter((e=>e!==t));return[t,...e]}return Array.isArray(t)?t:[...u]}calculatePosition(t,e,i,s){return{top:this.calculateTop(t,e,i,s),left:this.calculateLeft(t,e,i,s)}}getTranslocationBox(t){const e=Array.isArray(this.showConfig.placement)?this.showConfig.placement[0]:this.showConfig.placement,i=this.getTranslocation(),s={X:0,Y:0};if(f(i)){let o=i.X,n=i.Y;(e&&["left","right"].includes(e)&&["top","bottom"].includes(t)||e&&["top","bottom"].includes(e)&&["left","right"].includes(t))&&(o=i.Y,n=i.X),["bottom","top"].includes(t)&&(s.Y="top"===t?-n:n,s.X=o),["left","right"].includes(t)&&(s.X="left"===t?-o:o,s.Y=n)}return s}calculateLeft(t,e,i,s){switch(i){case"top":case"bottom":return"end"===s?e.left+e.width-t.width:"center"===s?e.left-(t.width-e.width)/2:e.left;case"left":return e.left-t.width;case"right":return e.left+e.width;default:throw new Error(`Unexpected placement: ${i}. Expected values are top, bottom, left, or right.`)}}calculateTop(t,e,i,s){switch(i){case"left":case"right":return"end"===s?e.top+e.height-t.height:"center"===s?e.top-(t.height-e.height)/2:e.top;case"top":return e.top-t.height;case"bottom":return e.top+e.height;default:throw new Error(`Unexpected placement: ${i}. Expected values are top, bottom, left, or right.`)}}getSuitablePlacement(t,e,i,o){const n=o[0];return o.find((s=>this.hasEnoughSpace(t,s,i,e)))||(s.warn(`\n No enough space found for placing element and we will keep using the defined placement:\n ${n}\n `),n)}getSuitableAlignment(t,e,i,o,n){const h=n[0];return n.find((s=>this.hasEnoughAlignmentSpace(t,i,e,o,s)))||(s.warn(`\n No enough space found for placing element and we will keep using the defined alignment:\n ${h}\n `),h)}hasEnoughAlignmentSpace(t,e,i,s,o){if(["top","bottom"].includes(s))switch(o){case"start":return e.left+i.width<=t.width;case"center":return e.left>=(i.width-e.width)/2&&e.left+e.width/2+i.width/2<=t.width;case"end":return e.left+e.width>=i.width}if(["right","left"].includes(s))switch(o){case"start":return e.top+i.height<=t.height;case"center":return e.top>=(i.height-e.height)/2&&e.top+e.height/2+i.height/2<=t.height;case"end":return e.top+e.height>=i.height}return!1}hasEnoughSpace(t,e,i,s){switch(e){case"top":return i.top>=s.height;case"bottom":return t.height-i.top-i.height>=s.height;case"left":return i.left>=s.width;case"right":return t.width-i.left-i.width>=s.width;default:return!1}}getTranslocation(){const t=this.showConfig.translocation;return t&&p.format(t,"translocation")}}var P=function(t,e,i,s){var o,n=arguments.length,h=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(h=(n<3?o(h):n>3?o(e,i,h):o(e,i))||h);return n>3&&h&&Object.defineProperty(e,i,h),h};class k extends A{getPosition(){return"relative"!==window.getComputedStyle(this.container).position&&s.warn("Calculate position should make container as 'position: relative', otherwise the result might not be accurate."),this.getPositionBox()}getTargetBoundBox(){const t=this.container.getBoundingClientRect(),e=this.showConfig.target.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top-t.top+this.container.scrollTop,left:e.left-t.left+this.container.scrollLeft}}getElementScrollDimension(){return{width:this.container.scrollWidth,height:this.container.scrollHeight}}}P([t()],k.prototype,"container",void 0),P([t()],k.prototype,"showConfig",void 0);class T extends A{getPosition(t){const e=t?this.getPositionBox([this.previousPositionBox.placement],[this.previousPositionBox.alignment]):this.getPositionBox();return this.previousPositionBox=e,e}getTargetBoundBox(){const t=this.showConfig.target.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,left:t.left}}getElementScrollDimension(){return{width:window.innerWidth,height:window.innerHeight}}}!function(t,e,i,s){var o,n=arguments.length,h=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(h=(n<3?o(h):n>3?o(e,i,h):o(e,i))||h);n>3&&h&&Object.defineProperty(e,i,h)}([t()],T.prototype,"showConfig",void 0);var $=function(t,e,i,s){var o,n=arguments.length,h=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(h=(n<3?o(h):n>3?o(e,i,h):o(e,i))||h);return n>3&&h&&Object.defineProperty(e,i,h),h};class D extends i{constructor(){super(...arguments),this.bodyPositionStrategy=new k,this.screenPositionStrategy=new T}setCalculationStrategy(){this.positionStrategy=this.showConfig.isScreenPosition?this.screenPositionStrategy:this.bodyPositionStrategy}adjustPosition(t){this.adjustWidth(),this.adjustHeight(),this.applyPosition(this.positionStrategy.getPosition(t))}applyPosition(t){const e=this.showConfig.appendableElement;this.showConfig.isScreenPosition&&(e.style.position="fixed"),e.style.left=`${t.left}px`,e.style.top=`${t.top}px`,e.classList.remove("vega-placement-left","vega-placement-right","vega-placement-top","vega-placement-bottom"),e.classList.remove("vega-alignment-start","vega-alignment-center","vega-alignment-end"),e.classList.add(`vega-placement-${t.placement}`),e.classList.add(`vega-alignment-${t.alignment}`)}adjustWidth(){if(this.showConfig.matchTargetWidth){const{width:t}=this.showConfig.target.getBoundingClientRect();this.setRelatedWidth("width",t)}else this.setRelatedWidth("width",this.showConfig.size),this.setRelatedWidth("minWidth",this.showConfig.minWidth),this.setRelatedWidth("maxWidth",this.showConfig.maxWidth)}setRelatedWidth(t,e){if(!e)return;const i=p.format(e,"size");i&&(this.showConfig.appendableElement.style[t]="number"==typeof i?`${i}px`:i)}adjustHeight(){if(this.showConfig.matchContainerHeight&&!this.showConfig.isScreenPosition){const{height:t}=this.showConfig.target.getBoundingClientRect();let e=this.container.scrollHeight-this.showConfig.target.offsetTop-t;this.showConfig.maxHeight&&(e=Math.min(e,this.showConfig.maxHeight)),this.showConfig.appendableElement.style.maxHeight=`${e}px`}else this.showConfig.maxHeight&&(this.showConfig.appendableElement.style.maxHeight=`${this.showConfig.maxHeight}px`)}}$([t()],D.prototype,"container",void 0),$([t()],D.prototype,"showConfig",void 0),$([e()],D.prototype,"bodyPositionStrategy",void 0),$([e()],D.prototype,"screenPositionStrategy",void 0);var B=function(t,e,i,s){var o,n=arguments.length,h=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(h=(n<3?o(h):n>3?o(e,i,h):o(e,i))||h);return n>3&&h&&Object.defineProperty(e,i,h),h};class L{constructor(t,e){var i,s;this.resizeObserverSlimmer=l(L,a,[],[{mapFrom:"connectResizeObserver",mapTo:"connectResizeObserver"},{mapFrom:"disconnectResizeObserver",mapTo:"disconnectResizeObserver"}],[{callback:()=>{h(this.showConfig.target)&&h(this.showConfig.appendableElement)&&this.adjustPosition()},target:()=>[document.body,this.showConfig.appendableElement,this.showConfig.target]}]),this.elementAppenderContainerController=new E,this.positionCalculationController=new D,this.showConfigCallback=t,this.showConfigCallbackTarget=e;const o=this.getShowConfig();null===(i=o.appendableElement)||void 0===i||i.classList.add("vega-force-hidden"),null===(s=o.appendableElement)||void 0===s||s.classList.add("vega-element-appender-appendable")}show(){this.setShowConfig(),this.showConfig.target?this.showConfig.appendableElement?(this.prepareShow(),this.adjustPosition(),this.setZIndex(),this.toggleShow(!0),this.connectResizeObserver()):s.error("No appendable element found, please add it at new elementAppender."):s.error("No target element found, please add it at new elementAppender.")}hide(){this.showConfig&&(this.toggleShow(!1),this.resetContainerPosition(),c.removeZIndex(this.showConfig.appendableElement,"base"))}onScroll(){var t;const e=this.showConfig.target.getBoundingClientRect();!this.showConfig.isScreenPosition||e.left===(null===(t=this.previousTargetRect)||void 0===t?void 0:t.left)&&e.top===this.previousTargetRect.top||this.adjustPosition(!0)}destroy(){this.showConfig&&(this.removeVisibleAppendElement(this.showConfig.appendableElement),this.resetContainerPosition(),c.removeZIndex(this.showConfig.appendableElement,"base"),this.showConfig.appendableElement.remove(),this.disconnectResizeObserver())}connectResizeObserver(){}disconnectResizeObserver(){}toggleShow(t){t?(this.showConfig.appendableElement.classList.remove("vega-force-hidden"),this.saveVisibleAppendElement(this.showConfig.appendableElement)):(this.showConfig.appendableElement.classList.add("vega-force-hidden"),this.removeVisibleAppendElement(this.showConfig.appendableElement))}saveVisibleAppendElement(t){const e=L.containerMap.get(this.container);e&&e.visibleAppendElements.add(t)}removeVisibleAppendElement(t){const e=L.containerMap.get(this.container);e&&e.visibleAppendElements.delete(t)}resetContainerPosition(){const t=L.containerMap.get(this.container);if(t){const{visibleAppendElements:e,originPosition:i="static"}=t;0===e.size&&(this.container.style.position=i,L.containerMap.delete(this.container))}}setShowConfig(){this.showConfig=this.getShowConfig(),this.showConfig=Object.assign({matchTargetWidth:!1,matchContainerHeight:!1},this.showConfig),this.showConfig.target&&this.showConfig.appendableElement&&this.elementAppenderContainerController.setContainer()}prepareShow(){this.showConfig.isScreenPosition||this.initVisibleAppendElement(),this.showConfig.appendableElement.style.boxSizing="border-box",this.positionCalculationController.setCalculationStrategy()}initVisibleAppendElement(){const t=window.getComputedStyle(this.container).position;L.containerMap.has(this.container)||L.containerMap.set(this.container,{visibleAppendElements:new Set,originPosition:t}),"static"===t&&(this.container.style.position="relative")}adjustPosition(t){this.positionCalculationController.adjustPosition(t)}setZIndex(){c.setZIndex(this.showConfig.appendableElement,"base")}getShowConfig(){return this.showConfigCallback instanceof Function?this.showConfigCallback(this.showConfigCallbackTarget):this.showConfigCallback}}L.containerMap=new Map,B([e()],L.prototype,"resizeObserverSlimmer",void 0),B([e()],L.prototype,"elementAppenderContainerController",void 0),B([e()],L.prototype,"positionCalculationController",void 0);var W,z=function(t,e,i,s){var o,n=arguments.length,h=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(h=(n<3?o(h):n>3?o(e,i,h):o(e,i))||h);return n>3&&h&&Object.defineProperty(e,i,h),h};!function(t){t.SHOW="show",t.HIDE="hide"}(W||(W={}));class M extends i{constructor(t){super(),this.childrenEA=[],this.currentEA=t}componentDidLoad(){this.register()}onShow(){this.notify(W.SHOW)}onHide(){this.notify(W.HIDE)}getParent(){return this.parentEA}getChildren(){return this.childrenEA}notify(t){const e=n(this.showConfig.target,".vega-element-appender-appendable");e&&v.notify(g.getSubject(e,w),{type:t,child:this.currentEA,callback:t=>{this.parentEA=t}})}register(){this.showConfig&&R.addUniqueObserverToNode(this.showConfig.appendableElement,w,(t=>{t.type===W.SHOW?this.childrenEA.push(t.child):t.type===W.HIDE&&(this.childrenEA=this.childrenEA.filter((e=>e!==t.child))),t.callback(this.currentEA)}))}}z([t()],M.prototype,"showConfig",void 0),z([o("componentDidLoad")],M.prototype,"componentDidLoad",null),z([o("show")],M.prototype,"onShow",null),z([o("hide")],M.prototype,"onHide",null);var V=function(t,e,i,s){var o,n=arguments.length,h=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(h=(n<3?o(h):n>3?o(e,i,h):o(e,i))||h);return n>3&&h&&Object.defineProperty(e,i,h),h};class F extends i{constructor(t,e,i="isDropdownShow",s=(()=>!1)){super(),this.hierarchyTreeManager=new M(this),this.registerElementAppenderListener=()=>{var t,e,i,s,o,n;this.unRegisterElementAppenderListener(),this.showConfig&&(null===(t=this.showConfig.target)||void 0===t||t.addEventListener("click",this.targetClickHandler),null===(e=this.showConfig.target)||void 0===e||e.addEventListener("mouseenter",this.targetMouseEnterHandler),null===(i=this.showConfig.target)||void 0===i||i.addEventListener("mouseleave",this.targetMouseLeaveHandler),null===(s=this.showConfig.target)||void 0===s||s.addEventListener("focusout",this.targetFocusoutHandler),null===(o=this.showConfig.appendableElement)||void 0===o||o.addEventListener("mouseenter",this.elementMouseEnterHandler),null===(n=this.showConfig.appendableElement)||void 0===n||n.addEventListener("mouseleave",this.elementMouseLeaveHandler)),window.addEventListener("mousedown",this.globalMouseDownHandler),document.addEventListener("scroll",this.globalScrollHandler,{capture:!0}),this.listenShadowRootElementScrolling()},this.targetClickHandler=()=>{this.shouldListenerWork("click")&&(this.isShowing()?this.hide():this.show())},this.targetMouseEnterHandler=()=>{this.shouldListenerWork("hover")&&(!1===this.isShowing()&&this.show(),this.clearDelayHideTimer())},this.targetMouseLeaveHandler=()=>{this.shouldListenerWork("hover")&&this.createDelayHideTimer()},this.targetFocusoutHandler=t=>{var e;t.relatedTarget!==(null===(e=this.showConfig)||void 0===e?void 0:e.appendableElement)&&this.targetMouseLeaveHandler()},this.elementMouseEnterHandler=()=>{var t;null===(t=this.hierarchyTreeManager.getParent())||void 0===t||t.elementMouseEnterHandler(),this.shouldListenerWork("hover")&&!this.disableInteractiveGetter()&&this.clearDelayHideTimer()},this.elementMouseLeaveHandler=()=>{var t;null===(t=this.hierarchyTreeManager.getParent())||void 0===t||t.elementMouseLeaveHandler(),this.shouldListenerWork("hover")&&!this.disableInteractiveGetter()&&this.createDelayHideTimer()},this.globalMouseDownHandler=t=>{const e=t.composedPath()[0];!this.hierarchyTreeManager.getChildren().some((t=>t.isShowing()))&&this.shouldListenerWork("custom")&&this.isShowing()&&this.showConfig&&!r(e,this.showConfig.appendableElement)&&!r(e,this.showConfig.target)&&n(e,"vega-modal")===n(this.showConfig.target,"vega-modal")&&this.hide()},this.globalScrollHandler=()=>{var t;this.showConfig&&this.showConfig.isScreenPosition&&this.isShowing()&&(null===(t=this.elementAppender)||void 0===t||t.onScroll())},this.createDelayHideTimer=()=>{this.delayHideTimer=setTimeout((()=>{this.hide(),clearTimeout(this.delayHideTimer)}),F.DELAY_HIDE_TIME)},this.clearDelayHideTimer=()=>{this.delayHideTimer&&clearTimeout(this.delayHideTimer)},this.shouldListenerWork=t=>{const e=this.getTrigger();switch(t){case"custom":return"none"!==e;case"click":return"click"===e;case"hover":return"hover"===e}throw new Error(`Unexpected trigger: ${t}. Expected values are custom, click, or hover.`)},this.showConfigFactory=t,this.getTrigger=e,this.isDropdownShowName=i,this.disableInteractiveGetter=s}connectedCallback(){null===this.elementAppender&&(this.setElementAppender(),this.registerElementAppenderListener())}disconnectedCallback(){this.unRegisterElementAppenderListener(),this.destroyElementAppender()}componentDidLoad(){this.initElementAppender()}getElementAppender(){return this.elementAppender}show(){this.elementAppender&&this.elementAppender.show(),this[this.isDropdownShowName]=!0}hide(){this.elementAppender&&this.elementAppender.hide(),this[this.isDropdownShowName]=!1,this.hierarchyTreeManager.getChildren().map((t=>{t.hide()}))}destroy(){this.destroyElementAppender(),this[this.isDropdownShowName]=!1}updateShowConfigFactory(t){this.showConfigFactory=t,this.initElementAppender()}destroyElementAppender(){this.elementAppender&&(this.elementAppender.destroy(),this.elementAppender=null)}initElementAppender(){this.setShowConfig(),this.setElementAppender(),this.registerElementAppenderListener()}setElementAppender(){this.elementAppender=new L(this.showConfigFactory,this)}isShowing(){return this[this.isDropdownShowName]}setShowConfig(){this.showConfig=this.showConfigFactory()}unRegisterElementAppenderListener(){var t,e,i,s,o,n;this.showConfig&&(null===(t=this.showConfig.target)||void 0===t||t.removeEventListener("click",this.targetClickHandler),null===(e=this.showConfig.target)||void 0===e||e.removeEventListener("mouseenter",this.targetMouseEnterHandler),null===(i=this.showConfig.target)||void 0===i||i.removeEventListener("mouseleave",this.targetMouseLeaveHandler),null===(s=this.showConfig.target)||void 0===s||s.removeEventListener("focusout",this.targetMouseLeaveHandler),null===(o=this.showConfig.appendableElement)||void 0===o||o.removeEventListener("mouseenter",this.elementMouseEnterHandler),null===(n=this.showConfig.appendableElement)||void 0===n||n.removeEventListener("mouseleave",this.elementMouseLeaveHandler)),window.removeEventListener("mousedown",this.globalMouseDownHandler),document.removeEventListener("scroll",this.globalScrollHandler),this.removeShadowRootElementScrolling()}listenShadowRootElementScrolling(){this.shadowRootElementScrollingObserver=new b(this.canAcceptShadowRootScrollEvent.bind(this),this.globalScrollHandler.bind(this)),v.register(m,this.shadowRootElementScrollingObserver)}canAcceptShadowRootScrollEvent(t){return Boolean(this.showConfig&&r(this.showConfig.target,t.host))}removeShadowRootElementScrolling(){v.unregister(m,this.shadowRootElementScrollingObserver)}}F.DELAY_HIDE_TIME=100,V([e()],F.prototype,"hierarchyTreeManager",void 0),V([o("connectedCallback")],F.prototype,"connectedCallback",null),V([o("disconnectedCallback")],F.prototype,"disconnectedCallback",null),V([o("componentDidLoad")],F.prototype,"componentDidLoad",null);export{F as E}
@@ -1 +0,0 @@
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-4387d550.js";import{P as h,g as x}from"./p-c0291e2e.js";import{C as v}from"./p-75b58efe.js";import{R as m}from"./p-79c55889.js";import{a as g}from"./p-bf953152.js";import{m as b,i as c,f as w}from"./p-636a3a8c.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-3647d61d.js";import"./p-5f377954.js";import"./p-878dceb7.js";import"./p-37b05e0b.js";import"./p-6a334573.js";import"./p-97ded803.js";import"./p-6a1e7e2e.js";import"./p-1e940ce8.js";import"./p-7a40e033.js";import"./p-112455b1.js";import"./p-f7cf81b6.js";import"./p-2d0d575f.js";import"./p-e06361df.js";import"./p-317018ba.js";import"./p-cc63e827.js";import"./p-0fd6c35b.js";import"./p-7cb3666d.js";import"./p-2205ee4c.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,{class: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}