@globalpayments/vega 2.18.0 → 2.18.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 (278) hide show
  1. package/dist/cjs/{app-globals-99b29ee9.js → app-globals-45048ed9.js} +6 -5
  2. package/dist/cjs/{childNodesEventPreventSlimmer-2935af84.js → childNodesEventPreventSlimmer-caaafff9.js} +23 -4
  3. package/dist/cjs/{componentUsageRuntimeMetrics-1a2a592d.js → componentUsageRuntimeMetrics-1af7170c.js} +1 -1
  4. package/dist/cjs/{eventEmitSlimmer-108b5a59.js → eventEmitSlimmer-9a4428ac.js} +2 -2
  5. package/dist/cjs/{featureFlagController-f67b2620.js → featureFlagController-32c667ae.js} +9 -3
  6. package/dist/cjs/{index-3183748d.js → index-bf98b054.js} +27 -5
  7. package/dist/cjs/index.cjs.js +7 -7
  8. package/dist/cjs/{internalVegaEventManager-40a33b59.js → internalVegaEventManager-de87a0aa.js} +2 -2
  9. package/dist/cjs/loader.cjs.js +7 -7
  10. package/dist/cjs/vega-accordion.cjs.entry.js +3 -8
  11. package/dist/cjs/vega-app-footer.cjs.entry.js +1 -1
  12. package/dist/cjs/vega-app-header-button.cjs.entry.js +7 -4
  13. package/dist/cjs/vega-backdrop.cjs.entry.js +1 -1
  14. package/dist/cjs/vega-banner.cjs.entry.js +5 -6
  15. package/dist/cjs/vega-bar-chart.cjs.entry.js +1 -1
  16. package/dist/cjs/vega-box.cjs.entry.js +1 -1
  17. package/dist/cjs/vega-breadcrumb.cjs.entry.js +7 -4
  18. package/dist/cjs/vega-button-circle.cjs.entry.js +7 -4
  19. package/dist/cjs/vega-button-group_2.cjs.entry.js +7 -4
  20. package/dist/cjs/vega-button-link.cjs.entry.js +7 -4
  21. package/dist/cjs/vega-button.cjs.entry.js +7 -4
  22. package/dist/cjs/vega-calendar_2.cjs.entry.js +7 -4
  23. package/dist/cjs/vega-card.cjs.entry.js +1 -1
  24. package/dist/cjs/vega-carousel.cjs.entry.js +3 -3
  25. package/dist/cjs/vega-checkbox_2.cjs.entry.js +7 -4
  26. package/dist/cjs/vega-chip.cjs.entry.js +7 -4
  27. package/dist/cjs/vega-color-picker.cjs.entry.js +3 -3
  28. package/dist/cjs/vega-combo-box.cjs.entry.js +7 -4
  29. package/dist/cjs/vega-counter-badge.cjs.entry.js +1 -1
  30. package/dist/cjs/vega-date-picker_2.cjs.entry.js +8 -6
  31. package/dist/cjs/vega-dialog_2.cjs.entry.js +7 -4
  32. package/dist/cjs/vega-divider.cjs.entry.js +1 -1
  33. package/dist/cjs/vega-dropdown_5.cjs.entry.js +8 -5
  34. package/dist/cjs/vega-field-error.cjs.entry.js +1 -1
  35. package/dist/cjs/vega-field-label.cjs.entry.js +7 -4
  36. package/dist/cjs/vega-flex.cjs.entry.js +3 -4
  37. package/dist/cjs/vega-font.cjs.entry.js +1 -1
  38. package/dist/cjs/vega-form.cjs.entry.js +7 -4
  39. package/dist/cjs/vega-grid.cjs.entry.js +1 -1
  40. package/dist/cjs/vega-icon.cjs.entry.js +1 -1
  41. package/dist/cjs/vega-image-uploader.cjs.entry.js +7 -4
  42. package/dist/cjs/vega-input-credit-card.cjs.entry.js +7 -7
  43. package/dist/cjs/vega-input-phone-number.cjs.entry.js +7 -4
  44. package/dist/cjs/vega-input-range.cjs.entry.js +7 -4
  45. package/dist/cjs/vega-input-select.cjs.entry.js +31 -4
  46. package/dist/cjs/vega-input.cjs.entry.js +3 -3
  47. package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
  48. package/dist/cjs/vega-left-nav_5.cjs.entry.js +3 -3
  49. package/dist/cjs/vega-line-chart.cjs.entry.js +1 -1
  50. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +1 -1
  51. package/dist/cjs/vega-page-notification_2.cjs.entry.js +3 -3
  52. package/dist/cjs/vega-pagination.cjs.entry.js +7 -4
  53. package/dist/cjs/vega-pie-chart.cjs.entry.js +1 -1
  54. package/dist/cjs/vega-popover_2.cjs.entry.js +3 -3
  55. package/dist/cjs/vega-progress-tracker.cjs.entry.js +3 -3
  56. package/dist/cjs/vega-radio_2.cjs.entry.js +7 -4
  57. package/dist/cjs/vega-section-title.cjs.entry.js +1 -1
  58. package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
  59. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +7 -4
  60. package/dist/cjs/{vega-skeleton-loader-controller-00af636e.js → vega-skeleton-loader-controller-c56eb5f8.js} +7 -46
  61. package/dist/cjs/vega-skeleton.cjs.entry.js +1 -1
  62. package/dist/cjs/vega-slot-container.cjs.entry.js +1 -1
  63. package/dist/cjs/vega-stepper.cjs.entry.js +7 -4
  64. package/dist/cjs/vega-tab-group_2.cjs.entry.js +8 -5
  65. package/dist/cjs/vega-table_8.cjs.entry.js +14 -11
  66. package/dist/cjs/vega-text.cjs.entry.js +1 -1
  67. package/dist/cjs/vega-textarea.cjs.entry.js +7 -4
  68. package/dist/cjs/vega-time-picker_2.cjs.entry.js +7 -4
  69. package/dist/cjs/vega-toggle-switch.cjs.entry.js +3 -3
  70. package/dist/cjs/vega-tooltip_2.cjs.entry.js +1 -1
  71. package/dist/cjs/vega.cjs.js +7 -7
  72. package/dist/cjs/vegaEnvManager-26352c0a.js +41 -0
  73. package/dist/collection/components/vega-accordion/vega-accordion.js +1 -6
  74. package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.js +2 -2
  75. package/dist/collection/components/vega-page-notification/vega-page-notification.css +0 -2
  76. package/dist/collection/components/vega-page-notification/vega-page-notification.js +6 -5
  77. package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.js +1 -1
  78. package/dist/collection/components/vega-table/vega-table-head/vega-table-head.js +6 -0
  79. package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.js +2 -2
  80. package/dist/collection/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.js +1 -2
  81. package/dist/collection/components/vega-table/vega-table-row/vega-table-row.js +2 -2
  82. package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.js +24 -0
  83. package/dist/collection/helpers/event-manager/slimmers/childNodesEventPreventSlimmer.js +20 -1
  84. package/dist/collection/helpers/event-manager/test/childNodesEventPreventSlimmer.test.js +37 -0
  85. package/dist/collection/helpers/feature-control/featureFlagsMap.js +7 -1
  86. package/dist/collection/helpers/slimmers/test/componentUsageRuntimeMetrics.test.js +11 -9
  87. package/dist/collection/helpers/validator/test/validator/formFieldController.test.js +10 -9
  88. package/dist/collection/helpers/vega-telemetry-helper/test/vegaEnvManager.test.js +1 -1
  89. package/dist/collection/helpers/vega-telemetry-helper/vegaEnvManager.js +2 -2
  90. package/dist/esm/{app-globals-7a63f6fd.js → app-globals-59ad7d73.js} +5 -4
  91. package/dist/esm/{childNodesEventPreventSlimmer-8e071cfd.js → childNodesEventPreventSlimmer-dff60444.js} +23 -4
  92. package/dist/esm/{componentUsageRuntimeMetrics-4f08dec8.js → componentUsageRuntimeMetrics-f2f52a50.js} +1 -1
  93. package/dist/esm/{eventEmitSlimmer-2cd4efb4.js → eventEmitSlimmer-faec6394.js} +2 -2
  94. package/dist/esm/{featureFlagController-39e8e33b.js → featureFlagController-254d5886.js} +8 -2
  95. package/dist/esm/{index-4126a006.js → index-dc8f8d91.js} +22 -3
  96. package/dist/esm/index.js +5 -5
  97. package/dist/esm/{internalVegaEventManager-fc0821e2.js → internalVegaEventManager-6f331cf5.js} +2 -2
  98. package/dist/esm/loader.js +7 -7
  99. package/dist/esm/vega-accordion.entry.js +3 -8
  100. package/dist/esm/vega-app-footer.entry.js +1 -1
  101. package/dist/esm/vega-app-header-button.entry.js +7 -4
  102. package/dist/esm/vega-backdrop.entry.js +1 -1
  103. package/dist/esm/vega-banner.entry.js +5 -6
  104. package/dist/esm/vega-bar-chart.entry.js +1 -1
  105. package/dist/esm/vega-box.entry.js +1 -1
  106. package/dist/esm/vega-breadcrumb.entry.js +7 -4
  107. package/dist/esm/vega-button-circle.entry.js +7 -4
  108. package/dist/esm/vega-button-group_2.entry.js +7 -4
  109. package/dist/esm/vega-button-link.entry.js +7 -4
  110. package/dist/esm/vega-button.entry.js +7 -4
  111. package/dist/esm/vega-calendar_2.entry.js +7 -4
  112. package/dist/esm/vega-card.entry.js +1 -1
  113. package/dist/esm/vega-carousel.entry.js +3 -3
  114. package/dist/esm/vega-checkbox_2.entry.js +7 -4
  115. package/dist/esm/vega-chip.entry.js +7 -4
  116. package/dist/esm/vega-color-picker.entry.js +3 -3
  117. package/dist/esm/vega-combo-box.entry.js +7 -4
  118. package/dist/esm/vega-counter-badge.entry.js +1 -1
  119. package/dist/esm/vega-date-picker_2.entry.js +7 -5
  120. package/dist/esm/vega-dialog_2.entry.js +7 -4
  121. package/dist/esm/vega-divider.entry.js +1 -1
  122. package/dist/esm/vega-dropdown_5.entry.js +8 -5
  123. package/dist/esm/vega-field-error.entry.js +1 -1
  124. package/dist/esm/vega-field-label.entry.js +7 -4
  125. package/dist/esm/vega-flex.entry.js +3 -4
  126. package/dist/esm/vega-font.entry.js +1 -1
  127. package/dist/esm/vega-form.entry.js +7 -4
  128. package/dist/esm/vega-grid.entry.js +1 -1
  129. package/dist/esm/vega-icon.entry.js +1 -1
  130. package/dist/esm/vega-image-uploader.entry.js +7 -4
  131. package/dist/esm/vega-input-credit-card.entry.js +7 -7
  132. package/dist/esm/vega-input-phone-number.entry.js +7 -4
  133. package/dist/esm/vega-input-range.entry.js +7 -4
  134. package/dist/esm/vega-input-select.entry.js +31 -4
  135. package/dist/esm/vega-input.entry.js +3 -3
  136. package/dist/esm/vega-item-toggle.entry.js +3 -3
  137. package/dist/esm/vega-left-nav_5.entry.js +3 -3
  138. package/dist/esm/vega-line-chart.entry.js +1 -1
  139. package/dist/esm/vega-loader-wrapper_2.entry.js +1 -1
  140. package/dist/esm/vega-page-notification_2.entry.js +3 -3
  141. package/dist/esm/vega-pagination.entry.js +7 -4
  142. package/dist/esm/vega-pie-chart.entry.js +1 -1
  143. package/dist/esm/vega-popover_2.entry.js +3 -3
  144. package/dist/esm/vega-progress-tracker.entry.js +3 -3
  145. package/dist/esm/vega-radio_2.entry.js +7 -4
  146. package/dist/esm/vega-section-title.entry.js +1 -1
  147. package/dist/esm/vega-segment-control.entry.js +3 -3
  148. package/dist/esm/vega-selection-tile_2.entry.js +7 -4
  149. package/dist/esm/{vega-skeleton-loader-controller-ef5c18ee.js → vega-skeleton-loader-controller-aaee27b8.js} +6 -44
  150. package/dist/esm/vega-skeleton.entry.js +1 -1
  151. package/dist/esm/vega-slot-container.entry.js +1 -1
  152. package/dist/esm/vega-stepper.entry.js +7 -4
  153. package/dist/esm/vega-tab-group_2.entry.js +8 -5
  154. package/dist/esm/vega-table_8.entry.js +14 -11
  155. package/dist/esm/vega-text.entry.js +1 -1
  156. package/dist/esm/vega-textarea.entry.js +7 -4
  157. package/dist/esm/vega-time-picker_2.entry.js +7 -4
  158. package/dist/esm/vega-toggle-switch.entry.js +3 -3
  159. package/dist/esm/vega-tooltip_2.entry.js +1 -1
  160. package/dist/esm/vega.js +7 -7
  161. package/dist/esm/vegaEnvManager-e0c1fde1.js +39 -0
  162. package/dist/types/components/vega-accordion/vega-accordion.d.ts +0 -2
  163. package/dist/types/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.d.ts +1 -1
  164. package/dist/types/components/vega-table/vega-table-head/vega-table-head.d.ts +2 -0
  165. package/dist/types/helpers/event-manager/slimmers/childNodesEventPreventSlimmer.d.ts +7 -1
  166. package/dist/types/helpers/feature-control/featureFlag.d.ts +2 -1
  167. package/dist/vega/index.esm.js +1 -1
  168. package/dist/vega/p-069b157d.entry.js +1 -0
  169. package/dist/vega/p-0a56c329.entry.js +1 -0
  170. package/dist/vega/{p-bfc3450c.entry.js → p-0bdb21a8.entry.js} +1 -1
  171. package/dist/vega/{p-27d76db9.entry.js → p-128c2d6d.entry.js} +1 -1
  172. package/dist/vega/{p-6e0daee9.entry.js → p-16b9709c.entry.js} +1 -1
  173. package/dist/vega/p-2e096c78.entry.js +1 -0
  174. package/dist/vega/p-31548eea.entry.js +1 -0
  175. package/dist/vega/p-37e8445b.entry.js +1 -0
  176. package/dist/vega/p-3b62c5b4.entry.js +1 -0
  177. package/dist/vega/p-3dbfb6ae.entry.js +1 -0
  178. package/dist/vega/p-3de104ba.entry.js +1 -0
  179. package/dist/vega/p-3f661fad.entry.js +1 -0
  180. package/dist/vega/p-40a4822c.entry.js +1 -0
  181. package/dist/vega/{p-efcbc942.entry.js → p-4161becc.entry.js} +1 -1
  182. package/dist/vega/p-41beffdc.entry.js +1 -0
  183. package/dist/vega/p-42d1b5df.entry.js +1 -0
  184. package/dist/vega/p-46b146eb.entry.js +1 -0
  185. package/dist/vega/p-477985af.entry.js +1 -0
  186. package/dist/vega/p-4c3690ce.entry.js +1 -0
  187. package/dist/vega/{p-6d482bec.entry.js → p-4c80300f.entry.js} +1 -1
  188. package/dist/vega/{p-23422e56.entry.js → p-4d4c875f.entry.js} +1 -1
  189. package/dist/vega/{p-b01fd85f.entry.js → p-4ed1798e.entry.js} +1 -1
  190. package/dist/vega/{p-dafa770b.js → p-4f428039.js} +1 -1
  191. package/dist/vega/{p-54b3bf2f.entry.js → p-5098d161.entry.js} +1 -1
  192. package/dist/vega/p-5ca6fd55.entry.js +1 -0
  193. package/dist/vega/p-5ded9437.js +1 -0
  194. package/dist/vega/p-639fa6c7.js +1 -0
  195. package/dist/vega/p-642f28dc.entry.js +1 -0
  196. package/dist/vega/p-6639a4e0.entry.js +1 -0
  197. package/dist/vega/{p-7440d7a2.entry.js → p-69ed6b60.entry.js} +1 -1
  198. package/dist/vega/{p-be154aca.entry.js → p-7833c766.entry.js} +1 -1
  199. package/dist/vega/p-7a5a1eca.entry.js +1 -0
  200. package/dist/vega/{p-3a815548.entry.js → p-7b3a6bf0.entry.js} +1 -1
  201. package/dist/vega/{p-ec3e9353.entry.js → p-7d94fadc.entry.js} +1 -1
  202. package/dist/vega/p-8530f9b5.entry.js +1 -0
  203. package/dist/vega/{p-a5d8b4b3.entry.js → p-8759e22d.entry.js} +1 -1
  204. package/dist/vega/p-8bbc9eeb.entry.js +1 -0
  205. package/dist/vega/{p-1f20747a.entry.js → p-91e9dff1.entry.js} +1 -1
  206. package/dist/vega/{p-4bc71294.entry.js → p-a02cd178.entry.js} +1 -1
  207. package/dist/vega/p-a0f03879.entry.js +1 -0
  208. package/dist/vega/{p-3490dd8a.entry.js → p-a20a4dd0.entry.js} +1 -1
  209. package/dist/vega/{p-3fea1e7d.entry.js → p-a4ca0aac.entry.js} +1 -1
  210. package/dist/vega/{p-cf950047.js → p-a5e6da15.js} +1 -1
  211. package/dist/vega/{p-9ed83ccb.entry.js → p-a61cb86e.entry.js} +1 -1
  212. package/dist/vega/p-ae778ca4.js +1 -0
  213. package/dist/vega/p-b1b3857d.entry.js +1 -0
  214. package/dist/vega/p-b572e8a8.entry.js +1 -0
  215. package/dist/vega/{p-5eeb2fc1.entry.js → p-bd60bc0a.entry.js} +1 -1
  216. package/dist/vega/{p-0fb2da15.js → p-c450f692.js} +1 -1
  217. package/dist/vega/p-c4f50176.entry.js +1 -0
  218. package/dist/vega/p-c9e013f4.js +1 -0
  219. package/dist/vega/{p-12877976.entry.js → p-cb171374.entry.js} +1 -1
  220. package/dist/vega/p-d4eb9277.entry.js +1 -0
  221. package/dist/vega/p-d5841466.js +1 -0
  222. package/dist/vega/p-d76ae2b1.entry.js +1 -0
  223. package/dist/vega/{p-95bdac84.entry.js → p-de60ed04.entry.js} +1 -1
  224. package/dist/vega/{p-2c89a9a4.entry.js → p-e2bfa718.entry.js} +1 -1
  225. package/dist/vega/{p-3ccfbc64.entry.js → p-e45170ad.entry.js} +1 -1
  226. package/dist/vega/{p-6dc86470.entry.js → p-ebf89788.entry.js} +1 -1
  227. package/dist/vega/{p-57b85af1.entry.js → p-ecac1e94.entry.js} +1 -1
  228. package/dist/vega/{p-999b2701.entry.js → p-eddca0ac.entry.js} +1 -1
  229. package/dist/vega/p-eee98614.entry.js +1 -0
  230. package/dist/vega/p-f1008a4a.entry.js +1 -0
  231. package/dist/vega/p-f1ecbe90.js +1 -0
  232. package/dist/vega/{p-9f56c3e4.entry.js → p-f4aa53b5.entry.js} +1 -1
  233. package/dist/vega/p-f6af6224.entry.js +1 -0
  234. package/dist/vega/p-fd3cd3f5.entry.js +1 -0
  235. package/dist/vega/{p-449ad98f.entry.js → p-fd998606.entry.js} +1 -1
  236. package/dist/vega/p-fdd6772d.entry.js +1 -0
  237. package/dist/vega/vega.esm.js +1 -1
  238. package/package.json +1 -1
  239. package/dist/cjs/_commonjsHelpers-537d719a.js +0 -20
  240. package/dist/esm/_commonjsHelpers-9943807e.js +0 -17
  241. package/dist/vega/p-0157775f.js +0 -1
  242. package/dist/vega/p-0790f7e2.entry.js +0 -1
  243. package/dist/vega/p-112455b1.js +0 -1
  244. package/dist/vega/p-158a8802.entry.js +0 -1
  245. package/dist/vega/p-161a3fa0.entry.js +0 -1
  246. package/dist/vega/p-29a475a7.js +0 -1
  247. package/dist/vega/p-351cef68.entry.js +0 -1
  248. package/dist/vega/p-4365b25e.entry.js +0 -1
  249. package/dist/vega/p-43dad339.entry.js +0 -1
  250. package/dist/vega/p-452a4780.entry.js +0 -1
  251. package/dist/vega/p-509df899.entry.js +0 -1
  252. package/dist/vega/p-5cad29f5.js +0 -1
  253. package/dist/vega/p-61f18887.js +0 -1
  254. package/dist/vega/p-6793d8fd.entry.js +0 -1
  255. package/dist/vega/p-7d2eb856.entry.js +0 -1
  256. package/dist/vega/p-7f3c9aad.entry.js +0 -1
  257. package/dist/vega/p-81dff681.entry.js +0 -1
  258. package/dist/vega/p-8ea88838.entry.js +0 -1
  259. package/dist/vega/p-913b8308.entry.js +0 -1
  260. package/dist/vega/p-95cb9c08.entry.js +0 -1
  261. package/dist/vega/p-9a36e3a9.entry.js +0 -1
  262. package/dist/vega/p-9b396c06.entry.js +0 -1
  263. package/dist/vega/p-a440a4b7.entry.js +0 -1
  264. package/dist/vega/p-a66e499d.entry.js +0 -1
  265. package/dist/vega/p-a6d37f2f.entry.js +0 -1
  266. package/dist/vega/p-aea5e9d7.entry.js +0 -1
  267. package/dist/vega/p-b9691323.entry.js +0 -1
  268. package/dist/vega/p-bcef13b1.entry.js +0 -1
  269. package/dist/vega/p-cd07d6ec.entry.js +0 -1
  270. package/dist/vega/p-cd0ac90f.entry.js +0 -1
  271. package/dist/vega/p-d25e1abd.js +0 -1
  272. package/dist/vega/p-d7255174.entry.js +0 -1
  273. package/dist/vega/p-d909c9b4.entry.js +0 -1
  274. package/dist/vega/p-dc00d388.entry.js +0 -1
  275. package/dist/vega/p-e92e2d50.entry.js +0 -1
  276. package/dist/vega/p-eb0e4b0f.entry.js +0 -1
  277. package/dist/vega/p-ebe7e6d7.entry.js +0 -1
  278. package/dist/vega/p-fbd36ab8.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{L as e}from"./p-018d77cc.js";import{V as t}from"./p-639fa6c7.js";const r=Object.freeze({"VEGA_DATE_PICKER.COMPONENT_LOAD_REQUIRED_DECORATOR":{description:"Feature flag to enable the required decorator for the date picker component. <br/> <b>Note: This feature flag is for demonstration purpose and will be persisted permanently.</b>",createdTimestamp:1660330561422,createdAtVersion:"1.2.0",removedAfterVersion:"1.11.1"},"VEGA_COMPONENT.SANITIZE_VEGA_COMPONENT":{description:"Feature flag to enable sanitize vega components.",createdTimestamp:1664262689486,createdAtVersion:"1.8.1",removedAfterVersion:"2.0.0"},"VEGA_TEXT.LABEL_OR_CONTENT_NESTED_VEGA_TEXT_COMPONENT":{description:"Feature flag to enable the label or content of other component nested vega-text component.",createdTimestamp:1665218525140,createdAtVersion:"1.8.1",removedAfterVersion:"1.9.1"},"VEGA_FLEX.ENABLE_DIRECTION_ONLY":{description:"Feature flag to make direction take effect only regardless of breakpoint for vega-flex component.",createdTimestamp:1665639912117,createdAtVersion:"1.9.0"},"VEGA_FIELD_LABEL.SHOW_LABEL":{description:"Feature flag to enable the vega-field-label component for vega-input, vega-input-select and vega-date-picker.",createdTimestamp:1666184962131,createdAtVersion:"1.9.0",removedAfterVersion:"2.0.0"},"VEGA_FLEX.USE_NATIVE_FLEX_BEHAVIOR":{description:"Feature flag to enable the **default** use of native flex behavior for vega-flex component.",createdTimestamp:1668059639449,createdAtVersion:"1.11.1",removedAfterVersion:"2.0.0"},"VEGA_TABLE.DEPRECATED_ROW_SELECTION_CHANGE_PROP":{description:"Feature flag to deprecate the rowSelection.onSelectChange and rowSelection.onSelectAllChange",createdTimestamp:1673321949321,createdAtVersion:"1.18.0",removedAfterVersion:"2.0.0"},"VEGA_ICON.USE_SIZE_PROP_FOR_THIRD_PARTY_ICONS":{description:"Feature flag to make size prop of vega-icon to take effect for third party icons.",createdTimestamp:1675752744795,createdAtVersion:"1.20.0",removedAfterVersion:"2.0.0"},"VEGA_INJECT_FORM_FIELD_CONTROLLER.ADD_DATA_VEGA_FORM_FILTER":{description:"Feature flag to deprecate the form field should validate only have data-vega-from attribute",createdTimestamp:1676017004107,createdAtVersion:"1.19.0",removedAfterVersion:"2.0.0"},"VEGA_FORM_FIELD.CHANGE_BLOCK_TO_INLINE_BLOCK":{description:"Feature flag to deprecate the form fields like input/datePicker/timePicker should use inline block",createdTimestamp:1676512727310,createdAtVersion:"1.20.0",removedAfterVersion:"2.0.0"},"VEGA_CHECKBOX_RADIO_GROUP.FLEX_DIRECTION_COL_DEFAULT":{description:"Feature flag to make the checkbox group and radio group prop vegaFlexProp default direction to col",createdTimestamp:16811712e5,createdAtVersion:"1.27.3",removedAfterVersion:"2.0.0"},"VEGA_REACT.PREVENT_SSR":{description:"Feature flag to prevent the SSR in vega-react",createdTimestamp:1679450185124,createdAtVersion:"1.25.0",disabledByDefault:!0},"VEGA_STEPPER.INPUT_DISABLED":{description:"Feature flag to rename the prop input-editable to input-disabled ",createdTimestamp:1683252081350,createdAtVersion:"1.30.0",removedAfterVersion:"2.0.0"},"VEGA_FLEX.ALIGNITEM_JUSTIFYCONTENT_USE_PREFIX_V_INSTEAD_OF_VEGA":{description:"Feature flag to render vega-flex prop alignItems and justifyContent classes by using v- instead of vega-",createdTimestamp:1684128467390,createdAtVersion:"1.32.0",removedAfterVersion:"1.48.3"},"VEGA_ANGULAR.USE_JUGGLE_RESIZE_OBSERVER":{description:"Feature flag to enable the @juggle/resizeObserver to instead window resizeObserver",createdTimestamp:1684203399089,createdAtVersion:"1.31.0"},"VEGA_INPUT.FOCUS_ON_INPUT_BY_CLICK_CLEAR_BUTTON":{description:"Feature flag to keep the input focused whenever click the clear button",createdTimestamp:1685513925082,createdAtVersion:"1.34.0",removedAfterVersion:"1.38.2"},"VEGA_VUE.EMIT_CAMEL_CASE_EVENT_NAME":{description:"Feature flag to emit camel case event name for Vue framework",createdTimestamp:1688971026741,createdAtVersion:"1.37.0"},VEGA_ITEM_TOGGLE_ISERROR_DEPRECATED:{description:"Feature flag to deprecated the component vega-item-toggle property isError",createdTimestamp:1687934508330,createdAtVersion:"1.36.0",removedAfterVersion:"2.0.0"},"VEGA_BUTTON_LINK.DEPRECATED_EVENTFUL":{description:"Feature flag to deprecated eventful property",createdTimestamp:1689313658898,createdAtVersion:"1.36.1",removedAfterVersion:"2.0.0"},"VEGA_DROPDOWN.RENAME_PREFIX_TO_PREFIX_ICON":{description:"Feature flag to rename prefix to prefixIcon",createdTimestamp:1689576347049,createdAtVersion:"1.37.0",removedAfterVersion:"2.0.0"},"VEGA_REACT.PREVENT_CALL_WATCH_METHOD_BEFORE_COMPONENT_LOAD":{description:"Feature flag to prevent call watch method before componnentDidLoad",createdTimestamp:1706598728908,createdAtVersion:"2.0.0"},"VEGA_FRAMEWORK.PREVENT_CALL_WATCH_METHOD_BEFORE_COMPONENT_LOAD":{description:"Feature flag to prevent call watch method before componnentDidLoad in all framework",createdTimestamp:1708495728180,createdAtVersion:"2.0.0"},"VEGA_REACT.ENABLE_ON_CHANGE_HANDLE_UNDER_LOW_VERSION":{description:"Feature flag to enable the onChange event handle under react version 19 or below",createdTimestamp:1709603823660,createdAtVersion:"2.0.0"},"VEGA_INPUT_CREDIT_CARD.ENABLE_HIDE_NUMBER_MASK_ON_FIRST_LOAD":{description:"Feature flag to enable the hide card number mask upon initial loading of the credit card.",createdTimestamp:1715932781059,createdAtVersion:"2.9.0"},"VEGA_TABLE.ENABLE_NEW_CELL_BREAK_WORDS_STYLE":{description:"Feature flag to enable the new cell words break style",createdTimestamp:1719282763075,createdAtVersion:"2.11.2"},"VEGA_TELEMETRY.ENABLE_COLLECT_COMPONENTS_USAGE":{description:"Feature flag to enable the collection of component usage.",createdTimestamp:1717468723384,createdAtVersion:"2.11.3"},"VEGA_TELEMETRY.ENABLE_COLLECT_FEATURE_FLAG_OVERRIDDEN":{description:"Feature flag to enable the feature flag overridden.",createdTimestamp:1717468723384,createdAtVersion:"2.11.3"},"VEGA_REACT.ENABLE_ON_CLOSE_HANDLE_UNDER_LOW_VERSION":{description:"Feature flag to enable the onClose event handle under react version 19 or below",createdTimestamp:1719910557333,createdAtVersion:"2.12.0"},VEGA_BANNER_DEPRECATED_ACTION_BUTTON_PROP_VEGA_CLICK:{description:"Feature flag to deprecated the vega-banner component property actionButtons property vegaClick",createdTimestamp:1723449433833,createdAtVersion:"2.18.0"},"VEGA_REACT.SKIP_NATIVE_EVENT_PREVENT_BY_DEFAULT":{description:"Feature flag to skip the native event prevent logic in default",createdTimestamp:17239968e5,createdAtVersion:"2.18.1",disabledByDefault:!0}}),a=new class{constructor(){this.enabledFeatureFlagKeySet=new Set,this.init()}enable(...e){e.forEach((e=>{this.versionGuard(e)&&(this.enabledFeatureFlagKeySet.add(e),this.sendFeatureFlagKeyToTelemetry(e,!0))}))}disable(...e){e.forEach((e=>{this.versionGuard(e)&&(this.enabledFeatureFlagKeySet.delete(e),this.sendFeatureFlagKeyToTelemetry(e,!1))}))}isEnabled(e){return this.enabledFeatureFlagKeySet.has(e)}init(){Object.keys(r).map((e=>{r[e].disabledByDefault||this.isRemoved(e)||this.enabledFeatureFlagKeySet.add(e)}))}versionGuard(t){return!this.isRemoved(t)||(e.error(`The feature flag key '${t}' has been removed after v${r[t].removedAfterVersion}`),!1)}isRemoved(e){return!!r[e].removedAfterVersion}sendFeatureFlagKeyToTelemetry(e,r){this.canSendFeatureFlagsToTelemetry(e,r)&&t.emit("featureFlagOverridden",{featureFlagName:e,featureFlagOverriddenValue:r})}canSendFeatureFlagsToTelemetry(e,t){return!!r[e].disabledByDefault===t}};export{a as F}
@@ -0,0 +1 @@
1
+ import{h as e,r as t,c as i,H as n,g as a}from"./p-9777b1c1.js";import{s}from"./p-b81bd0bb.js";import{n as o,c as r}from"./p-344ee7cb.js";import{D as g}from"./p-0fd9f03f.js";import{n as p,t as h,e as l,a as c,B as f}from"./p-280a6d94.js";import{a as m}from"./p-320642bd.js";import{C as d}from"./p-5ded9437.js";import{c as v}from"./p-c450f692.js";import{I as u}from"./p-018d77cc.js";import{V as x,I as w}from"./p-ae778ca4.js";import"./p-bf95b189.js";import"./p-a5e6da15.js";import"./p-f1ecbe90.js";import"./p-d5841466.js";import"./p-639fa6c7.js";import"./p-d3f1d3dd.js";const b=({pageSize:t,current:i,total:n})=>{const a=n>0?t*(i-1)+1:0,s=Math.min(i*t,n);return e("vega-field-label",{label:`Viewing ${a}-${s} of ${n}`})},y=({onChange:t,pageCount:i})=>{let n;const a=()=>{if(n.value){const e=o(r(n.value,1),1,i);t(e),n.value=""}},s=e=>{e.stopPropagation()};return e("vega-flex",{alignItems:"center",justifyContent:"center",gap:"size-8"},e("vega-field-label",{label:"Go To"}),e("vega-form",{ref:e=>{g.addUniqueObserverToNode(e,p,a)}},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:s,onChange:s,ref:e=>{n=e,g.addUniqueObserverToNode(e,h,a)}})))},z=({pageSize:t,pageSizeSelectorOptions:i,onChange:n})=>{const a=i.sort(((e,t)=>e-t)),s=e=>{const t=Number(e.detail);n(t)};return e("vega-flex",{alignItems:"center",justifyContent:"center",gap:"size-8"},e("vega-field-label",{label:"Show"}),e("div",null,e("vega-input-select",{size:"small",source:a.map((e=>({id:e.toString(),displayName:e.toString()}))),value:t.toString(),placeholder:"Page Size",vegaDropdownProps:{matchTargetWidth:!1,searchable:!1},ref:e=>{g.addUniqueObserverToNode(e,l,s)}})))},C=({total:t,current:i,onChange:n,pageCount:a})=>{const s=t=>{const a=i!==t;return e("li",{key:t,class:m(["vega-pagination-item",i===t?"active":""])},e("button",{onClick:()=>a&&n(t)},t))},o=(t,i,n)=>e("li",{class:m(["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,n)}}));return e("ul",{class:"vega-pagination"},o("chevron-left",0===t||1===i,(()=>{n(i-1)})),0===t?[s(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 n=Math.max(1,Math.min(t-i+1,e-Math.floor(i/2))),a=new Array(i);for(let e=0;e<i;e+=1)a[e]=e+n;return a[0]>1&&(a[0]=1,a[1]="..."),a[a.length-1]<=t-1&&(a[a.length-1]=t,a[a.length-2]="..."),a})(i,a).map((t=>"string"==typeof t?e("li",{class:"vega-pagination-item pager-ellipsis"},"..."):s(t))),o("chevron-right",0===t||i===a,(()=>{n(i+1)})))};var S=function(e,t,i,n){var a,s=arguments.length,o=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(o=(s<3?a(o):s>3?a(t,i,o):a(t,i))||o);return s>3&&o&&Object.defineProperty(t,i,o),o};const j=class{constructor(n){t(this,n),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.childEventPrevent=new d([p],(()=>this.host)),this.childValueChangePrevent=new d([l],(()=>this.host),!0),this.vegaChangeEventEmitter=v(j,l),this.vegaPageSizeChangeEventEmitter=v(j,f),this.vegaComponentUsageRuntimeMetricsSlimmer=new x,this.vegaPaginationItemTypes=["currentPageLabel","pageSizeSelector","pageSelector","goTo"],this.pageCount=0,this.current=1,this.total=0,this.pageSize=10,this.extensions=[["pageSelector"]],this.pageSizeSelectorOptions=[10,20,50,100],this.renderPaginationItemsWrapper=t=>e("vega-flex",{gap:"size-24",alignItems:"center",key:this.generateWrapperKey(t)},t.map((t=>e("div",{key:t},this.renderPaginationItem(t))))),this.renderPaginationItem=t=>{switch(t){case"currentPageLabel":return e(b,{total:this.total,current:this.current,pageSize:this.pageSize});case"pageSizeSelector":return e(z,{pageSize:this.pageSize,pageSizeSelectorOptions:this.pageSizeSelectorOptions,onChange:this.onPageSizeSelectorChange});case"pageSelector":return e(C,{current:this.current,total:this.total,onChange:this.onPageSelectorChange,pageCount:this.pageCount});case"goTo":return e(y,{onChange:this.handlePaginationGoToChange,pageCount:this.pageCount})}},this.handlePaginationGoToChange=e=>{this.current=e},this.onPageSizeSelectorChange=e=>{this.pageSize=e,this.vegaPageSizeChangeEventEmitter.emit(this.pageSize)},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,n)=>{const a=t.indexOf(i);return a>=0?(t.splice(a,1),!0):(e.splice(n,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)}}watchPageCount(){this.currentValueGuard()}watchCurrent(){this.currentValueGuard(),this.vegaChangeEventEmitter.emit(this.current)}watchPageSize(){this.pageCount=this.calculatePages()}componentWillLoad(){this.pageCount=this.calculatePages(),this.currentValueGuard(),this.pageSizeSelectorOptions.includes(this.pageSize)||(this.pageSizeSelectorOptions=[...this.pageSizeSelectorOptions,this.pageSize])}render(){return s(e(n,null,this.removeDuplicateItems(this.extensions).map(this.renderPaginationItemsWrapper)),this.host)}get host(){return a(this)}static get watchers(){return{pageCount:["watchPageCount"],current:["watchCurrent"],total:["watchPageSize"],pageSize:["watchPageSize"]}}};S([w()],j.prototype,"globalSlimmers",void 0),S([u()],j.prototype,"childEventPrevent",void 0),S([u()],j.prototype,"childValueChangePrevent",void 0),S([u()],j.prototype,"vegaChangeEventEmitter",void 0),S([u()],j.prototype,"vegaPageSizeChangeEventEmitter",void 0),S([u()],j.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),j.style=':host{display:flex;align-items:center;justify-content:space-between;gap:20px;line-height:normal}.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{j as vega_pagination}
@@ -1 +1 @@
1
- import{r as t,h as e,g as i,H as s}from"./p-9777b1c1.js";import{B as r,a as o,L as n,P as a,b as c,c as h}from"./p-01ec38c1.js";import{Y as l,X as d,h as p,i as u}from"./p-1c2646d6.js";import{I as m}from"./p-018d77cc.js";import{V as w,I as v}from"./p-5cad29f5.js";import"./p-69b28805.js";import"./p-344ee7cb.js";import"./p-c59042c0.js";import"./p-0c667d6a.js";class b extends r{addInteractionSupport(){}draw(){const{dataSource:t=[],xScale:e,yScale:i,colors:s,direction:r}=this.options.renderOptions,o=t.map((t=>t.x)),n=t.map((t=>t.y));o.forEach(((t,o)=>{var a,c;const h=n[o]||0;let l=0,d=0,p={x:0,y:0};"horizontal"!==r?(l=(null===(a=e.bandwidth)||void 0===a?void 0:a.call(e))||5,d=Math.abs(i(0)-i(h)),p={x:e(t),y:i(Math.max(0,h))}):(d=(null===(c=i.bandwidth)||void 0===c?void 0:c.call(i))||5,l=Math.abs(e(h)-e(0)),p={x:e(Math.min(h,0)),y:i(t)}),this.renderer.drawRect(p,l,d,this.getColorFromToken(this.getColorByIndex(0,s)))}))}}class j extends l{process(t,e){const{dataSource:i,yAxis:s}=t,{innerWidth:r,innerHeight:o}=e,{scale:n,ticks:a}=this.getScale(i,[0,r],4);return{start:{x:0,y:o},end:{x:r,y:o},tickSize:a,scale:n,labelFormatter:null==s?void 0:s.labelFormatter,width:r,height:o,direction:"horizontal"}}}class f extends d{process(t,e){const{dataSource:i,xAxis:s,container:r}=t,{innerWidth:o,innerHeight:n}=e;return{start:{x:0,y:0},end:{x:0,y:n},tickSize:4,scale:this.getScale(i,n,(null==s?void 0:s.type)||"value","VEGA-LINE-CHART"===r.tagName?1:.1,null==s?void 0:s.sorter),labelFormatter:null==s?void 0:s.labelFormatter,width:o,height:n,direction:"horizontal"}}}class x extends o{constructor(){super(...arguments),this.layoutInputProcessor=new n,this.xAxisInputProcessorChain=new a([this.layoutInputProcessor,new d]),this.horizontalXAxisInputProcessorChain=new a([this.layoutInputProcessor,new j]),this.yAxisInputProcessorChain=new a([this.layoutInputProcessor,new l]),this.horizontalYAxisInputProcessorChain=new a([this.layoutInputProcessor,new f]),this.legendInputProcessorChain=new a([this.layoutInputProcessor,new c])}createDrawerChain(t,e){const{colors:i,xAxis:s,dataSource:r,direction:o}=this.options,n=Object.assign(Object.assign({},this.options),{xAxis:Object.assign(Object.assign({},s),{type:"category"})}),a="horizontal"===o?this.horizontalXAxisInputProcessorChain.process(n):this.xAxisInputProcessorChain.process(n),c="horizontal"===o?this.horizontalYAxisInputProcessorChain.process(n):this.yAxisInputProcessorChain.process(n);return[new p(t,e,{renderOptions:a}),new u(t,e,{renderOptions:c}),new h(t,e,{renderOptions:this.legendInputProcessorChain.process(n)}),new b(t,e,{renderOptions:{dataSource:r,xScale:a.scale,yScale:c.scale,colors:i,direction:o}})]}}var O=function(t,e,i,s){var r,o=arguments.length,n=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(o<3?r(n):o>3?r(e,i,n):r(e,i))||n);return o>3&&n&&Object.defineProperty(e,i,n),n};const S=class{constructor(e){t(this,e),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new w,this.options={}}watchOptions(t){this.initChart(t)}componentWillLoad(){this.initChart(this.options)}render(){return e(s,null)}initChart(t){const{mode:e="svg",dataSource:i=[]}=t,s=function(t,e){var i={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(i[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(s=Object.getOwnPropertySymbols(t);r<s.length;r++)e.indexOf(s[r])<0&&Object.prototype.propertyIsEnumerable.call(t,s[r])&&(i[s[r]]=t[s[r]])}return i}(t,["mode","dataSource"]),r=Object.assign(Object.assign({},s),{mode:e,container:this.host,dataSource:i});this.chart?this.chart.updateOptions(r):(this.chart=new x(r),this.chart.render())}get host(){return i(this)}static get watchers(){return{options:["watchOptions"]}}};O([v()],S.prototype,"globalSlimmers",void 0),O([m()],S.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),S.style=".vega-chart-legend-item{cursor:pointer}.vega-chart-line-path:hover{stroke-width:5}:host{display:block}";export{S as vega_bar_chart}
1
+ import{r as t,h as e,g as i,H as s}from"./p-9777b1c1.js";import{B as r,a as o,L as n,P as a,b as c,c as h}from"./p-01ec38c1.js";import{Y as l,X as d,h as p,i as u}from"./p-1c2646d6.js";import{I as m}from"./p-018d77cc.js";import{V as w,I as v}from"./p-ae778ca4.js";import"./p-69b28805.js";import"./p-344ee7cb.js";import"./p-c59042c0.js";import"./p-0c667d6a.js";class b extends r{addInteractionSupport(){}draw(){const{dataSource:t=[],xScale:e,yScale:i,colors:s,direction:r}=this.options.renderOptions,o=t.map((t=>t.x)),n=t.map((t=>t.y));o.forEach(((t,o)=>{var a,c;const h=n[o]||0;let l=0,d=0,p={x:0,y:0};"horizontal"!==r?(l=(null===(a=e.bandwidth)||void 0===a?void 0:a.call(e))||5,d=Math.abs(i(0)-i(h)),p={x:e(t),y:i(Math.max(0,h))}):(d=(null===(c=i.bandwidth)||void 0===c?void 0:c.call(i))||5,l=Math.abs(e(h)-e(0)),p={x:e(Math.min(h,0)),y:i(t)}),this.renderer.drawRect(p,l,d,this.getColorFromToken(this.getColorByIndex(0,s)))}))}}class j extends l{process(t,e){const{dataSource:i,yAxis:s}=t,{innerWidth:r,innerHeight:o}=e,{scale:n,ticks:a}=this.getScale(i,[0,r],4);return{start:{x:0,y:o},end:{x:r,y:o},tickSize:a,scale:n,labelFormatter:null==s?void 0:s.labelFormatter,width:r,height:o,direction:"horizontal"}}}class x extends d{process(t,e){const{dataSource:i,xAxis:s,container:r}=t,{innerWidth:o,innerHeight:n}=e;return{start:{x:0,y:0},end:{x:0,y:n},tickSize:4,scale:this.getScale(i,n,(null==s?void 0:s.type)||"value","VEGA-LINE-CHART"===r.tagName?1:.1,null==s?void 0:s.sorter),labelFormatter:null==s?void 0:s.labelFormatter,width:o,height:n,direction:"horizontal"}}}class f extends o{constructor(){super(...arguments),this.layoutInputProcessor=new n,this.xAxisInputProcessorChain=new a([this.layoutInputProcessor,new d]),this.horizontalXAxisInputProcessorChain=new a([this.layoutInputProcessor,new j]),this.yAxisInputProcessorChain=new a([this.layoutInputProcessor,new l]),this.horizontalYAxisInputProcessorChain=new a([this.layoutInputProcessor,new x]),this.legendInputProcessorChain=new a([this.layoutInputProcessor,new c])}createDrawerChain(t,e){const{colors:i,xAxis:s,dataSource:r,direction:o}=this.options,n=Object.assign(Object.assign({},this.options),{xAxis:Object.assign(Object.assign({},s),{type:"category"})}),a="horizontal"===o?this.horizontalXAxisInputProcessorChain.process(n):this.xAxisInputProcessorChain.process(n),c="horizontal"===o?this.horizontalYAxisInputProcessorChain.process(n):this.yAxisInputProcessorChain.process(n);return[new p(t,e,{renderOptions:a}),new u(t,e,{renderOptions:c}),new h(t,e,{renderOptions:this.legendInputProcessorChain.process(n)}),new b(t,e,{renderOptions:{dataSource:r,xScale:a.scale,yScale:c.scale,colors:i,direction:o}})]}}var O=function(t,e,i,s){var r,o=arguments.length,n=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(o<3?r(n):o>3?r(e,i,n):r(e,i))||n);return o>3&&n&&Object.defineProperty(e,i,n),n};const S=class{constructor(e){t(this,e),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new w,this.options={}}watchOptions(t){this.initChart(t)}componentWillLoad(){this.initChart(this.options)}render(){return e(s,null)}initChart(t){const{mode:e="svg",dataSource:i=[]}=t,s=function(t,e){var i={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(i[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(s=Object.getOwnPropertySymbols(t);r<s.length;r++)e.indexOf(s[r])<0&&Object.prototype.propertyIsEnumerable.call(t,s[r])&&(i[s[r]]=t[s[r]])}return i}(t,["mode","dataSource"]),r=Object.assign(Object.assign({},s),{mode:e,container:this.host,dataSource:i});this.chart?this.chart.updateOptions(r):(this.chart=new f(r),this.chart.render())}get host(){return i(this)}static get watchers(){return{options:["watchOptions"]}}};O([v()],S.prototype,"globalSlimmers",void 0),O([m()],S.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),S.style=".vega-chart-legend-item{cursor:pointer}.vega-chart-line-path:hover{stroke-width:5}:host{display:block}";export{S as vega_bar_chart}
@@ -1 +1 @@
1
- import{r as t,h as i,H as s,g as o}from"./p-9777b1c1.js";import{s as e}from"./p-b81bd0bb.js";import{I as r}from"./p-018d77cc.js";import{V as n,I as a}from"./p-5cad29f5.js";var h=function(t,i,s,o){var e,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,o);else for(var a=t.length-1;a>=0;a--)(e=t[a])&&(n=(r<3?e(n):r>3?e(i,s,n):e(i,s))||n);return r>3&&n&&Object.defineProperty(i,s,n),n};const l=class{constructor(i){t(this,i),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new n,this.dot=!1,this.color="bg-danger",this.count=0,this.offset=[0,0]}render(){return e(i(s,null,i("div",{class:{dot:this.count>0&&this.dot,counter:this.count>0&&!this.dot,"multi-digit":this.count>=10&&!this.dot,"v-bg-danger":"bg-action"!=this.color,"v-bg-action":"bg-action"==this.color,"default-position":this.count>0},style:{right:-this.offset[0]+"px",top:`${this.offset[1]}px`}},this.renderCounter()),i("slot",null)),this.host)}renderCounter(){if(this.count>0&&!this.dot)return i("span",null,this.count>99?"99+":this.count)}get host(){return o(this)}};h([a()],l.prototype,"globalSlimmers",void 0),h([r()],l.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),l.style=':host{display:block;position:relative;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host .dot{display:inline-block;position:absolute;border-radius:9999px;width:9px;height:9px}:host .counter{display:flex;position:absolute;height:20px;min-width:20px;border-radius:9999px;color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1));justify-content:center;align-items:center;font-family:"Inter", sans-serif;font-weight:700;font-size:12px;line-height:15px}:host .default-position{top:0px;right:0px;transform:scale(1) translate(50%, -50%)}:host .multi-digit{padding-left:4px;padding-right:4px}:host .v-bg-danger{background-color:rgba(var(--v-bg-danger, 189, 41, 71, 1))}:host .v-bg-action{background-color:rgba(var(--v-bg-action, 19, 98, 226, 1))}';export{l as vega_counter_badge}
1
+ import{r as t,h as i,H as s,g as o}from"./p-9777b1c1.js";import{s as e}from"./p-b81bd0bb.js";import{I as r}from"./p-018d77cc.js";import{V as n,I as a}from"./p-ae778ca4.js";var h=function(t,i,s,o){var e,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,o);else for(var a=t.length-1;a>=0;a--)(e=t[a])&&(n=(r<3?e(n):r>3?e(i,s,n):e(i,s))||n);return r>3&&n&&Object.defineProperty(i,s,n),n};const l=class{constructor(i){t(this,i),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new n,this.dot=!1,this.color="bg-danger",this.count=0,this.offset=[0,0]}render(){return e(i(s,null,i("div",{class:{dot:this.count>0&&this.dot,counter:this.count>0&&!this.dot,"multi-digit":this.count>=10&&!this.dot,"v-bg-danger":"bg-action"!=this.color,"v-bg-action":"bg-action"==this.color,"default-position":this.count>0},style:{right:-this.offset[0]+"px",top:`${this.offset[1]}px`}},this.renderCounter()),i("slot",null)),this.host)}renderCounter(){if(this.count>0&&!this.dot)return i("span",null,this.count>99?"99+":this.count)}get host(){return o(this)}};h([a()],l.prototype,"globalSlimmers",void 0),h([r()],l.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),l.style=':host{display:block;position:relative;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host .dot{display:inline-block;position:absolute;border-radius:9999px;width:9px;height:9px}:host .counter{display:flex;position:absolute;height:20px;min-width:20px;border-radius:9999px;color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1));justify-content:center;align-items:center;font-family:"Inter", sans-serif;font-weight:700;font-size:12px;line-height:15px}:host .default-position{top:0px;right:0px;transform:scale(1) translate(50%, -50%)}:host .multi-digit{padding-left:4px;padding-right:4px}:host .v-bg-danger{background-color:rgba(var(--v-bg-danger, 189, 41, 71, 1))}:host .v-bg-action{background-color:rgba(var(--v-bg-action, 19, 98, 226, 1))}';export{l as vega_counter_badge}
@@ -1 +1 @@
1
- import{h as t,r as e,c as i,H as n,g as a}from"./p-9777b1c1.js";import{M as r,a as s}from"./p-584cce0b.js";import{M as o,a as p}from"./p-b956e721.js";import{R as l}from"./p-d962b340.js";import{s as h}from"./p-b81bd0bb.js";import{c as d}from"./p-86194314.js";import{C as u}from"./p-8c414f6f.js";import{a as c,V as f,I as g}from"./p-018d77cc.js";import{s as x}from"./p-6bd5c49b.js";import{V as m,I as b}from"./p-5cad29f5.js";import{F as v}from"./p-5141bcac.js";import{c as w}from"./p-0fb2da15.js";import{e as y,s as j,t as z}from"./p-280a6d94.js";import{b as I}from"./p-2fa3841b.js";import{C as k}from"./p-bf95b189.js";import{S as C,a as R}from"./p-29d2d70a.js";import"./p-344ee7cb.js";import"./p-0bb29d98.js";import"./p-0fd9f03f.js";import"./p-320642bd.js";import"./p-469bc36e.js";import"./p-d3f1d3dd.js";import"./p-44f4924b.js";import"./p-cb13b4e6.js";import"./p-3542f8fe.js";import"./p-3c8b2105.js";import"./p-1ced3ae5.js";import"./p-56681feb.js";import"./p-69b28805.js";import"./p-cf950047.js";import"./p-1265732f.js";import"./p-3a0a4d15.js";import"./p-c59042c0.js";const E=/^(?:[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 N{evaluate(t){if(!this.isAcceptedInputType(t))throw new Error(`Unexpected type of input: ${typeof t}: ${t}`);const e=E.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 S extends f{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)}([c()],S.prototype,"disableCopyPaste",void 0);var V=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 F extends f{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"]')}}V([c()],F.prototype,"host",void 0),V([c()],F.prototype,"prefixIcon",void 0);class D{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}}class O{constructor(t){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){if(this.skipFormat(t))return t;const e=[...t];for(let i=t.length-1;i>=0;i--){const t=e.join("");this.inputNeedFormat(t)&&e.pop()}return e.join("")}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}inputNeedFormat(t){return!this.mask.test(t)}}class A{constructor(t){this.formatter=t}format(t){return this.formatter(t)}calculateCaretPosition(t){return this.format(t).length}shouldTriggerAtInit(){return!0}}var L=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 C{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=R.PHONE_MASK;break;case"taxId":i=R.TAX_ID_MASK;break;case"zipcode":i=R.ZIPCODE_MASK;break;case"thousand-comma":i=new D;break;case"number":i=new O(e.options);break;case"custom":i=new R(e.options);break;case"custom-formatter":i=new A(e.formatter)}return"number"!==this.type||"input"!==t||e||(i=new O),i}isBlurModeMaskConfig(t){return"custom"===t.type&&"blur"===t.trigger}}L([c()],$.prototype,"maskConfig",void 0),L([c()],$.prototype,"type",void 0);const _=[{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 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};const P=class{constructor(t){e(this,t),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.globalSlimmers={},this.formFieldController=new v({propertyRules:[{propertyName:"required",ruleFactory:t=>t?new l:null},{propertyName:"min",ruleFactory:t=>t?new r({minValue:t}):null},{propertyName:"max",ruleFactory:t=>t?new s({maxValue:t}):null},{propertyName:"minLength",ruleFactory:t=>t?new o({minStrLength:t}):null},{propertyName:"maxLength",ruleFactory:t=>t?new p({maxStrLength:t}):null},{propertyName:"email",ruleFactory:t=>t?new N:null},{propertyName:"type",ruleFactory:t=>"email"===t?new N:null}],validationRulesName:"validationRules",defaultValue:"",attributeGetter:t=>this[t],inputContainerGetter:()=>this.inputContainerRef,touchableAreaGetter:()=>[this.inputRef]}),this.copyPasteController=new S,this.maskConfigController=new $,this.prefixSlotRenderer=new F,this.changeEventEmitter=w(P,y),this.focusEventEmitter=w(P,j),this.blurEventEmitter=w(P,z),this.vegaComponentUsageRuntimeMetricsSlimmer=new m(_),this.label="",this.value="",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.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)}watchValue(t){this.changeEventEmitter.emit(t),this.inputRef.value!==this.value&&(this.inputRef.value=this.value),k.notify(I,{host:this.host,detail:this.value})}watchValidationRules(){}watchMaskChange(){this.maskConfigController.setupStringFormatter(this.inputRef)}handleValueInput(){this.value=this.inputRef.value}async doFocus(){this.focusInput()}async doBlur(){this.inputRef.blur()}render(){return x(t("slot",null)),h(t(n,{class:"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)},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":"",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",role:"textbox",tabIndex:this.disabled?null:-1,onKeyDown:d()},this.prefixSlotRenderer.render(),this.containerDom(),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})}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:d()},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{value:["watchValue"],validationRules:["watchValidationRules"],maskConfig:["watchMaskChange"]}}};M([b()],P.prototype,"globalSlimmers",void 0),M([g()],P.prototype,"formFieldController",void 0),M([g()],P.prototype,"copyPasteController",void 0),M([g()],P.prototype,"maskConfigController",void 0),M([g()],P.prototype,"prefixSlotRenderer",void 0),M([g()],P.prototype,"changeEventEmitter",void 0),M([g()],P.prototype,"focusEventEmitter",void 0),M([g()],P.prototype,"blurEventEmitter",void 0),M([g()],P.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),M([u()],P.prototype,"watchMaskChange",null),P.style=':host{cursor:text;display:block;text-align:left;line-height:normal}:host(.vega-input-inline-block){display:inline-block;width:100%}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{box-shadow:0 0 0 4px rgba(var(--v-ring-input-focus, 19, 98, 226, 0.25))}.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{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1));box-shadow:0 0 0 4px rgba(var(--v-ring-input-danger-focus, 230, 50, 87, 0.25))}.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}';export{P as vega_input}
1
+ import{h as t,r as e,c as i,H as n,g as a}from"./p-9777b1c1.js";import{M as r,a as s}from"./p-584cce0b.js";import{M as o,a as p}from"./p-b956e721.js";import{R as l}from"./p-d962b340.js";import{s as h}from"./p-b81bd0bb.js";import{c as d}from"./p-86194314.js";import{C as u}from"./p-8c414f6f.js";import{a as c,V as f,I as g}from"./p-018d77cc.js";import{s as x}from"./p-6bd5c49b.js";import{V as m,I as b}from"./p-ae778ca4.js";import{F as v}from"./p-5141bcac.js";import{c as w}from"./p-c450f692.js";import{e as y,s as j,t as z}from"./p-280a6d94.js";import{b as I}from"./p-2fa3841b.js";import{C as k}from"./p-bf95b189.js";import{S as C,a as R}from"./p-29d2d70a.js";import"./p-344ee7cb.js";import"./p-0bb29d98.js";import"./p-0fd9f03f.js";import"./p-320642bd.js";import"./p-469bc36e.js";import"./p-d3f1d3dd.js";import"./p-44f4924b.js";import"./p-cb13b4e6.js";import"./p-3542f8fe.js";import"./p-3c8b2105.js";import"./p-1ced3ae5.js";import"./p-56681feb.js";import"./p-69b28805.js";import"./p-a5e6da15.js";import"./p-1265732f.js";import"./p-3a0a4d15.js";import"./p-c59042c0.js";const E=/^(?:[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 N{evaluate(t){if(!this.isAcceptedInputType(t))throw new Error(`Unexpected type of input: ${typeof t}: ${t}`);const e=E.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 S extends f{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)}([c()],S.prototype,"disableCopyPaste",void 0);var V=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 F extends f{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"]')}}V([c()],F.prototype,"host",void 0),V([c()],F.prototype,"prefixIcon",void 0);class D{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}}class O{constructor(t){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){if(this.skipFormat(t))return t;const e=[...t];for(let i=t.length-1;i>=0;i--){const t=e.join("");this.inputNeedFormat(t)&&e.pop()}return e.join("")}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}inputNeedFormat(t){return!this.mask.test(t)}}class A{constructor(t){this.formatter=t}format(t){return this.formatter(t)}calculateCaretPosition(t){return this.format(t).length}shouldTriggerAtInit(){return!0}}var L=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 C{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=R.PHONE_MASK;break;case"taxId":i=R.TAX_ID_MASK;break;case"zipcode":i=R.ZIPCODE_MASK;break;case"thousand-comma":i=new D;break;case"number":i=new O(e.options);break;case"custom":i=new R(e.options);break;case"custom-formatter":i=new A(e.formatter)}return"number"!==this.type||"input"!==t||e||(i=new O),i}isBlurModeMaskConfig(t){return"custom"===t.type&&"blur"===t.trigger}}L([c()],$.prototype,"maskConfig",void 0),L([c()],$.prototype,"type",void 0);const _=[{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 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};const P=class{constructor(t){e(this,t),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.globalSlimmers={},this.formFieldController=new v({propertyRules:[{propertyName:"required",ruleFactory:t=>t?new l:null},{propertyName:"min",ruleFactory:t=>t?new r({minValue:t}):null},{propertyName:"max",ruleFactory:t=>t?new s({maxValue:t}):null},{propertyName:"minLength",ruleFactory:t=>t?new o({minStrLength:t}):null},{propertyName:"maxLength",ruleFactory:t=>t?new p({maxStrLength:t}):null},{propertyName:"email",ruleFactory:t=>t?new N:null},{propertyName:"type",ruleFactory:t=>"email"===t?new N:null}],validationRulesName:"validationRules",defaultValue:"",attributeGetter:t=>this[t],inputContainerGetter:()=>this.inputContainerRef,touchableAreaGetter:()=>[this.inputRef]}),this.copyPasteController=new S,this.maskConfigController=new $,this.prefixSlotRenderer=new F,this.changeEventEmitter=w(P,y),this.focusEventEmitter=w(P,j),this.blurEventEmitter=w(P,z),this.vegaComponentUsageRuntimeMetricsSlimmer=new m(_),this.label="",this.value="",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.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)}watchValue(t){this.changeEventEmitter.emit(t),this.inputRef.value!==this.value&&(this.inputRef.value=this.value),k.notify(I,{host:this.host,detail:this.value})}watchValidationRules(){}watchMaskChange(){this.maskConfigController.setupStringFormatter(this.inputRef)}handleValueInput(){this.value=this.inputRef.value}async doFocus(){this.focusInput()}async doBlur(){this.inputRef.blur()}render(){return x(t("slot",null)),h(t(n,{class:"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)},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":"",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",role:"textbox",tabIndex:this.disabled?null:-1,onKeyDown:d()},this.prefixSlotRenderer.render(),this.containerDom(),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})}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:d()},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{value:["watchValue"],validationRules:["watchValidationRules"],maskConfig:["watchMaskChange"]}}};M([b()],P.prototype,"globalSlimmers",void 0),M([g()],P.prototype,"formFieldController",void 0),M([g()],P.prototype,"copyPasteController",void 0),M([g()],P.prototype,"maskConfigController",void 0),M([g()],P.prototype,"prefixSlotRenderer",void 0),M([g()],P.prototype,"changeEventEmitter",void 0),M([g()],P.prototype,"focusEventEmitter",void 0),M([g()],P.prototype,"blurEventEmitter",void 0),M([g()],P.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),M([u()],P.prototype,"watchMaskChange",null),P.style=':host{cursor:text;display:block;text-align:left;line-height:normal}:host(.vega-input-inline-block){display:inline-block;width:100%}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{box-shadow:0 0 0 4px rgba(var(--v-ring-input-focus, 19, 98, 226, 0.25))}.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{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1));box-shadow:0 0 0 4px rgba(var(--v-ring-input-danger-focus, 230, 50, 87, 0.25))}.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}';export{P as vega_input}