genesys-spark-components 3.11.1 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-button-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-action-list-legacy.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-action-toast.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-badge-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-number.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
  76. package/dist/cjs/{usage-tracking-7ec3ff77.js → usage-tracking-61683da8.js} +1 -1
  77. package/dist/deploy-info.json +3 -3
  78. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  79. package/dist/esm/gux-accordion.entry.js +1 -1
  80. package/dist/esm/gux-action-button-legacy.entry.js +1 -1
  81. package/dist/esm/gux-action-button.entry.js +1 -1
  82. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  83. package/dist/esm/gux-action-toast.entry.js +1 -1
  84. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  85. package/dist/esm/gux-badge-beta.entry.js +1 -1
  86. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  87. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  88. package/dist/esm/gux-button-multi.entry.js +1 -1
  89. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  90. package/dist/esm/gux-button.entry.js +1 -1
  91. package/dist/esm/gux-calendar.entry.js +1 -1
  92. package/dist/esm/gux-card-beta.entry.js +1 -1
  93. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  94. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  95. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  96. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  97. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  98. package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
  99. package/dist/esm/gux-content-search.entry.js +1 -1
  100. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +1 -1
  101. package/dist/esm/gux-datepicker.entry.js +1 -1
  102. package/dist/esm/gux-disclosure-button.entry.js +1 -1
  103. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  104. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  105. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  106. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  107. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  108. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  109. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  110. package/dist/esm/gux-form-field-color.entry.js +1 -1
  111. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  112. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  113. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  114. package/dist/esm/gux-form-field-number.entry.js +1 -1
  115. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  116. package/dist/esm/gux-form-field-range.entry.js +1 -1
  117. package/dist/esm/gux-form-field-search.entry.js +1 -1
  118. package/dist/esm/gux-form-field-select.entry.js +1 -1
  119. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  120. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  121. package/dist/esm/gux-icon.entry.js +1 -1
  122. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  123. package/dist/esm/gux-list.entry.js +1 -1
  124. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  125. package/dist/esm/gux-loading-message-beta.entry.js +1 -1
  126. package/dist/esm/gux-modal.entry.js +1 -1
  127. package/dist/esm/gux-notification-toast.entry.js +1 -1
  128. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  129. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  130. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  131. package/dist/esm/gux-pagination.entry.js +1 -1
  132. package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
  133. package/dist/esm/gux-popover-list.entry.js +1 -1
  134. package/dist/esm/gux-popover.entry.js +1 -1
  135. package/dist/esm/gux-radial-loading.entry.js +1 -1
  136. package/dist/esm/gux-radial-progress.entry.js +1 -1
  137. package/dist/esm/gux-rating.entry.js +1 -1
  138. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  139. package/dist/esm/gux-simple-toast.entry.js +1 -1
  140. package/dist/esm/gux-switch.entry.js +1 -1
  141. package/dist/esm/gux-table-beta.entry.js +1 -1
  142. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  143. package/dist/esm/gux-tabs-legacy.entry.js +1 -1
  144. package/dist/esm/gux-tabs.entry.js +1 -1
  145. package/dist/esm/gux-tag-beta.entry.js +1 -1
  146. package/dist/esm/gux-text-highlight.entry.js +1 -1
  147. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  148. package/dist/esm/gux-time-picker-beta.entry.js +1 -1
  149. package/dist/esm/gux-toggle.entry.js +1 -1
  150. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  151. package/dist/esm/gux-visualization-beta.entry.js +1 -1
  152. package/dist/esm/{usage-tracking-2e8d99a6.js → usage-tracking-75279a80.js} +1 -1
  153. package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
  154. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  155. package/dist/genesys-webcomponents/less/spacing.less +25 -11
  156. package/dist/genesys-webcomponents/{p-0ac4c528.entry.js → p-073a827a.entry.js} +1 -1
  157. package/dist/genesys-webcomponents/{p-6803dcab.entry.js → p-07612409.entry.js} +1 -1
  158. package/dist/genesys-webcomponents/{p-5a857a30.entry.js → p-07b6afbc.entry.js} +1 -1
  159. package/dist/genesys-webcomponents/{p-9c92cd47.entry.js → p-0b6f5507.entry.js} +1 -1
  160. package/dist/genesys-webcomponents/{p-4f6f5b7a.entry.js → p-0ca439a8.entry.js} +1 -1
  161. package/dist/genesys-webcomponents/{p-0b3ba21c.entry.js → p-1189348a.entry.js} +1 -1
  162. package/dist/genesys-webcomponents/p-154b40a5.entry.js +1 -0
  163. package/dist/genesys-webcomponents/{p-9966e384.entry.js → p-159dc16a.entry.js} +1 -1
  164. package/dist/genesys-webcomponents/{p-507c19da.entry.js → p-17cb5dc7.entry.js} +1 -1
  165. package/dist/genesys-webcomponents/{p-0f74717b.entry.js → p-1ae15c1b.entry.js} +1 -1
  166. package/dist/genesys-webcomponents/{p-da5e022c.entry.js → p-259bf27a.entry.js} +1 -1
  167. package/dist/genesys-webcomponents/{p-608807a2.entry.js → p-29d88173.entry.js} +1 -1
  168. package/dist/genesys-webcomponents/{p-0b0c5ef7.entry.js → p-2ab46a56.entry.js} +1 -1
  169. package/dist/genesys-webcomponents/{p-4f0fbbad.entry.js → p-2b56e0a6.entry.js} +1 -1
  170. package/dist/genesys-webcomponents/{p-f6f0e931.entry.js → p-32cc1cba.entry.js} +1 -1
  171. package/dist/genesys-webcomponents/{p-c9c529d6.entry.js → p-34bbd9f1.entry.js} +1 -1
  172. package/dist/genesys-webcomponents/{p-16edfc1f.entry.js → p-3864fd10.entry.js} +1 -1
  173. package/dist/genesys-webcomponents/{p-2f8c80f8.entry.js → p-3f744d5c.entry.js} +1 -1
  174. package/dist/genesys-webcomponents/{p-b678361a.entry.js → p-409abca3.entry.js} +1 -1
  175. package/dist/genesys-webcomponents/{p-e4ae8233.entry.js → p-4643bccb.entry.js} +1 -1
  176. package/dist/genesys-webcomponents/{p-8df3b248.entry.js → p-4ad0d292.entry.js} +1 -1
  177. package/dist/genesys-webcomponents/{p-9a5909d4.entry.js → p-4c358451.entry.js} +1 -1
  178. package/dist/genesys-webcomponents/p-4d492dfe.entry.js +1 -0
  179. package/dist/genesys-webcomponents/{p-e776ea24.entry.js → p-4de50498.entry.js} +1 -1
  180. package/dist/genesys-webcomponents/{p-ac62a4fd.entry.js → p-55445db9.entry.js} +1 -1
  181. package/dist/genesys-webcomponents/{p-b40b9989.entry.js → p-555bbd62.entry.js} +1 -1
  182. package/dist/genesys-webcomponents/{p-c462f792.entry.js → p-55b5f913.entry.js} +1 -1
  183. package/dist/genesys-webcomponents/{p-adff13ed.entry.js → p-5dc59c1e.entry.js} +1 -1
  184. package/dist/genesys-webcomponents/{p-2234ebcc.entry.js → p-5fbcee8c.entry.js} +1 -1
  185. package/dist/genesys-webcomponents/{p-3f2e889e.entry.js → p-67225c06.entry.js} +1 -1
  186. package/dist/genesys-webcomponents/{p-c61fb1f8.entry.js → p-68b2693b.entry.js} +1 -1
  187. package/dist/genesys-webcomponents/{p-9048b6e6.entry.js → p-6e5d7d35.entry.js} +1 -1
  188. package/dist/genesys-webcomponents/{p-3c67bb89.js → p-6ea97636.js} +1 -1
  189. package/dist/genesys-webcomponents/{p-d841941a.entry.js → p-7102d244.entry.js} +1 -1
  190. package/dist/genesys-webcomponents/{p-7a6cc31d.entry.js → p-728c3205.entry.js} +1 -1
  191. package/dist/genesys-webcomponents/{p-dc00e93d.entry.js → p-72b0ff15.entry.js} +1 -1
  192. package/dist/genesys-webcomponents/{p-ed596371.entry.js → p-73014287.entry.js} +1 -1
  193. package/dist/genesys-webcomponents/{p-8b8a868f.entry.js → p-77203258.entry.js} +1 -1
  194. package/dist/genesys-webcomponents/{p-1e183c84.entry.js → p-7bdf198e.entry.js} +1 -1
  195. package/dist/genesys-webcomponents/{p-e9e06709.entry.js → p-8144ebb2.entry.js} +1 -1
  196. package/dist/genesys-webcomponents/{p-ab99f0d1.entry.js → p-8856dc13.entry.js} +1 -1
  197. package/dist/genesys-webcomponents/{p-9c374328.entry.js → p-8ad2fc43.entry.js} +1 -1
  198. package/dist/genesys-webcomponents/{p-4141fd72.entry.js → p-8c9d7449.entry.js} +1 -1
  199. package/dist/genesys-webcomponents/{p-095b143c.entry.js → p-8f2d5985.entry.js} +1 -1
  200. package/dist/genesys-webcomponents/{p-f091a5a1.entry.js → p-92c2133a.entry.js} +1 -1
  201. package/dist/genesys-webcomponents/{p-c08134df.entry.js → p-93357d3b.entry.js} +1 -1
  202. package/dist/genesys-webcomponents/{p-904edc99.entry.js → p-9701a671.entry.js} +1 -1
  203. package/dist/genesys-webcomponents/{p-8da21137.entry.js → p-9e8c9a22.entry.js} +1 -1
  204. package/dist/genesys-webcomponents/{p-25f7abe0.entry.js → p-9fb04c83.entry.js} +1 -1
  205. package/dist/genesys-webcomponents/{p-03aa95c0.entry.js → p-a0c4845a.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/{p-d657f0c6.entry.js → p-a0f18b9e.entry.js} +1 -1
  207. package/dist/genesys-webcomponents/{p-fd300491.entry.js → p-a2b0a65b.entry.js} +1 -1
  208. package/dist/genesys-webcomponents/{p-8f07dd7f.entry.js → p-a3851ac0.entry.js} +1 -1
  209. package/dist/genesys-webcomponents/{p-2eab8458.entry.js → p-a58c35be.entry.js} +1 -1
  210. package/dist/genesys-webcomponents/p-a6ed0156.entry.js +1 -0
  211. package/dist/genesys-webcomponents/{p-ae685b48.entry.js → p-a9893d99.entry.js} +1 -1
  212. package/dist/genesys-webcomponents/{p-e85f868a.entry.js → p-b1bfd96c.entry.js} +1 -1
  213. package/dist/genesys-webcomponents/{p-8b50abec.entry.js → p-bf3f3d4f.entry.js} +1 -1
  214. package/dist/genesys-webcomponents/{p-b3ceb2ce.entry.js → p-c16768c4.entry.js} +1 -1
  215. package/dist/genesys-webcomponents/{p-2adccf26.entry.js → p-c31bfe54.entry.js} +1 -1
  216. package/dist/genesys-webcomponents/{p-ed32da98.entry.js → p-c420bb20.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-744df836.entry.js → p-c8a78f21.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/{p-f725e5eb.entry.js → p-ca900bac.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/{p-672905ad.entry.js → p-cd09adac.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/{p-e2ffe1a1.entry.js → p-cee9c885.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-6585a062.entry.js → p-da0e207a.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-f1e02ec2.entry.js → p-da811860.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-70372986.entry.js → p-dc2cb87e.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-c35ec632.entry.js → p-dd27a173.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-f6b7b331.entry.js → p-dd68143f.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-d5ad6c32.entry.js → p-eb134027.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-6b6aec75.entry.js → p-ed948125.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-7119126c.entry.js → p-ee2d3644.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-b710ed62.entry.js → p-f315c7ab.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-6ead5164.entry.js → p-fd845780.entry.js} +1 -1
  231. package/dist/stencil-wrapper.js +1 -1
  232. package/package.json +1 -1
  233. package/dist/genesys-webcomponents/p-4626ae24.entry.js +0 -1
  234. package/dist/genesys-webcomponents/p-9eef23be.entry.js +0 -1
  235. package/dist/genesys-webcomponents/p-a3dbcd6f.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-e571f861.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-d5ad6c32",[[1,"gux-icon",{"iconName":[1,"icon-name"],"decorative":[4],"screenreaderText":[1,"screenreader-text"],"svgHtml":[32]}]]],["p-507c19da",[[4,"gux-form-field-legacy",{"clearable":[4],"resize":[1],"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"labelPosition":[1,"label-position"],"slottedElementType":[32],"computedLabelPosition":[32],"required":[32],"hasError":[32]}]]],["p-70372986",[[1,"gux-pagination",{"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"layout":[1],"totalPages":[32]}]]],["p-8df3b248",[[1,"gux-pagination-beta",{"layout":[1],"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"totalPages":[32],"displayedLayout":[32]}]]],["p-9a5909d4",[[0,"gux-command-palette-legacy",{"filterValue":[32],"visible":[32],"open":[64],"close":[64]}]]],["p-332b356f",[[4,"gux-tab-advanced",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"popoverHidden":[32],"hasAnimated":[32],"guxSetActive":[64],"guxGetActive":[64],"guxFocus":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[0,"click","onClick"],[1,"mousedown","onMouseDown"]]]]],["p-608807a2",[[1,"gux-action-button",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-16edfc1f",[[1,"gux-action-button-legacy",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-3f2e889e",[[1,"gux-button-multi",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-8b8a868f",[[1,"gux-button-multi-legacy",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-904edc99",[[17,"gux-toggle",{"checked":[1028],"disabled":[4],"loading":[4],"checkedLabel":[1,"checked-label"],"uncheckedLabel":[1,"unchecked-label"],"labelPosition":[1,"label-position"],"errorMessage":[1,"error-message"],"displayInline":[4,"display-inline"]},[[0,"click","onClick"],[0,"keydown","onKeydown"]]]]],["p-da5e022c",[[1,"gux-advanced-dropdown",{"disabled":[4],"placeholder":[1],"noFilter":[4,"no-filter"],"filterDebounceTimeout":[2,"filter-debounce-timeout"],"dropdownHeight":[1,"dropdown-height"],"srLabelledby":[32],"opened":[32],"currentlySelectedOption":[32],"selectionOptions":[32],"getSelectedValues":[64],"setLabeledBy":[64]},[[0,"focusout","onFocusOut"]]]]],["p-c61fb1f8",[[1,"gux-dropdown-multi-beta",{"value":[1025],"disabled":[4],"required":[4],"placeholder":[1],"filterable":[4],"expanded":[32],"filter":[32],"getSelectedValues":[64]},[[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"guxclearselected","onGuxclearselected"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]]]],["p-17e7772d",[[4,"gux-tab-legacy",{"tabId":[1,"tab-id"],"active":[4],"tabIconName":[1,"tab-icon-name"],"popoverHidden":[32],"hasAnimated":[32]}]]],["p-c35ec632",[[1,"gux-tag-beta",{"color":[1],"value":[1],"disabled":[4],"removable":[4],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-04ecba75",[[0,"gux-all-row-select",{"selected":[1028],"setIndeterminate":[64]},[[0,"input","onCheck"]]]]],["p-e2ffe1a1",[[1,"gux-badge-beta",{"color":[1],"bold":[4],"label":[32]}]]],["p-f091a5a1",[[1,"gux-copy-to-clipboard-beta",{"tooltipContent":[32]},[[1,"mouseleave","onMouseleave"],[0,"focusout","onFocusout"],[0,"focus","onFocus"]]]]],["p-ed596371",[[1,"gux-datepicker",{"value":[1025],"label":[1],"numberOfMonths":[1026,"number-of-months"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"format":[1],"disabled":[4],"formatedValue":[32],"minDateDate":[32],"maxDateDate":[32],"toFormatedValue":[32],"active":[32]},[[0,"keydown","onKeyDown"],[0,"focusin","onFocusIn"],[0,"focusout","onFocusOut"],[1,"mousedown","onMouseDown"],[0,"mouseup","onMouseUp"]]]]],["p-9c92cd47",[[4,"gux-dropdown-legacy",{"mode":[1],"disabled":[4],"value":[1025],"placeholder":[1],"filterable":[4],"opened":[32],"forcedGhostValue":[32],"srLabeledBy":[32],"setLabeledBy":[64],"setSelected":[64]}]]],["p-2eab8458",[[1,"gux-form-field-number",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-4141fd72",[[1,"gux-modal",{"size":[1],"trapFocus":[4,"trap-focus"],"initialFocus":[1,"initial-focus"]},[[0,"keydown","handleKeyEvent"]]]]],["p-7a6cc31d",[[1,"gux-notification-toast",{"accent":[1]}]]],["p-9eef23be",[[1,"gux-pagination-cursor",{"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"]}]]],["p-d657f0c6",[[1,"gux-popover",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-d00af400",[[0,"gux-row-select",{"selected":[1028],"disabled":[4]},[[0,"input","onCheck"]]]]],["p-e85f868a",[[1,"gux-simple-toast",{"accent":[1]}]]],["p-1f1554e3",[[4,"gux-tab",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"guxSetActive":[64],"guxFocus":[64],"guxGetActive":[64]},[[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-5a857a30",[[1,"gux-table-beta",{"compact":[4],"objectTable":[4,"object-table"],"emptyMessage":[1,"empty-message"],"resizableColumns":[4,"resizable-columns"],"isVerticalScroll":[32],"isHorizontalScroll":[32],"isScrolledToFirstCell":[32],"isScrolledToLastCell":[32],"columnResizeHover":[32],"getSelected":[64]},[[3,"scroll","onScroll"],[0,"internalallrowselectchange","onInternalAllRowSelectChange"],[0,"internalrowselectchange","onInternalRowSelectChange"],[3,"mousemove","onMouseMove"],[1,"mousedown","onMouseDown"],[3,"mouseup","onMouseUp"]]]]],["p-2234ebcc",[[1,"gux-time-picker-beta",{"value":[1537],"interval":[1026],"max":[1025],"min":[1025],"label":[1],"active":[32],"openDropdown":[32],"suggestion":[32]},[[0,"keydown","onKeyDown"],[1,"mouseup","onMouseUp"],[0,"focusin","onFocusIn"]]]]],["p-b3ceb2ce",[[4,"gux-accordion-legacy",{"headingLevel":[2,"heading-level"],"arrowPosition":[1,"arrow-position"],"sections":[32],"open":[64],"close":[64],"toggle":[64]}]]],["p-fa5f3c40",[[1,"gux-accordion-section",{"arrowPosition":[1,"arrow-position"],"open":[1028],"disabled":[4],"reverseHeadings":[4,"reverse-headings"]}]]],["p-0b1bf180",[[1,"gux-breadcrumb-item",{"href":[1]}]]],["p-fd300491",[[1,"gux-chart-column-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"xFieldName":[1,"x-field-name"],"yFieldName":[1,"y-field-name"],"xAxisTitle":[1,"x-axis-title"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"legendPosition":[1,"legend-position"],"chartLayers":[16],"embedOptions":[16]}]]],["p-4f6f5b7a",[[1,"gux-chart-donut-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"innerRadius":[2,"inner-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"gauge":[4],"centerText":[1,"center-text"],"centerSubText":[1,"center-sub-text"],"showTooltip":[4,"show-tooltip"],"tooltipOptions":[16],"legendX":[2,"legend-x"],"legendY":[2,"legend-y"],"legendFontSize":[2,"legend-font-size"],"legendSymbolSize":[2,"legend-symbol-size"],"embedOptions":[16]}]]],["p-25f7abe0",[[1,"gux-chart-line-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"includeDataPointMarkers":[4,"include-data-point-markers"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"strokeDash":[4,"stroke-dash"],"interpolation":[1],"embedOptions":[16]}]]],["p-0ac4c528",[[1,"gux-chart-pie-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"embedOptions":[16]}]]],["p-adff13ed",[[1,"gux-chart-scatter-plot-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"useShape":[1,"use-shape"],"embedOptions":[16]}]]],["p-9966e384",[[1,"gux-content-search",{"matchCount":[1026,"match-count"],"currentMatch":[1026,"current-match"],"disabled":[32],"value":[32],"clear":[64]}]]],["p-672905ad",[[1,"gux-disclosure-button",{"position":[1],"label":[1],"isOpen":[1028,"is-open"],"icon":[32]}]]],["p-f725e5eb",[[1,"gux-form-field-color",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-0b0c5ef7",[[1,"gux-form-field-dropdown",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-8f07dd7f",[[1,"gux-form-field-radio",{"disabled":[32],"hasError":[32]}]]],["p-03aa95c0",[[1,"gux-form-field-range",{"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"value":[32],"active":[32],"valueWatcherId":[32]},[[0,"input","onInput"],[0,"focusin","onMousedown"],[1,"mousedown","onMousedown"],[0,"focusout","onMouseup"],[1,"mouseup","onMouseup"]]]]],["p-2adccf26",[[1,"gux-form-field-select",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-f6f0e931",[[1,"gux-form-field-textarea",{"resize":[1],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-4626ae24",[[1,"gux-page-loading-spinner",{"screenreaderText":[1,"screenreader-text"]}]]],["p-6ead5164",[[1,"gux-radial-progress",{"value":[2],"max":[2],"scale":[2],"screenreaderText":[1,"screenreader-text"]}]]],["p-ae685b48",[[1,"gux-rating",{"value":[1026],"maxValue":[2,"max-value"],"disabled":[4],"readonly":[4]},[[0,"click","onClick"],[0,"keydown","onKeyDown"]]]]],["p-1173c715",[[0,"gux-side-panel-button",{"icon":[1],"altText":[1,"alt-text"],"isSelected":[4,"is-selected"]}]]],["p-837b34bf",[[1,"gux-sort-control",{"colLabel":[32],"colSortDirection":[32]},[[16,"guxsortchanged","sortDirectionEvent"]]]]],["p-7341343a",[[4,"gux-submenu",{"label":[1],"isShown":[32],"guxFocus":[64]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-9cf81b2b",[[4,"gux-tab-advanced-list",{"showNewTabButton":[4,"show-new-tab-button"],"tabLimit":[2,"tab-limit"],"allowSort":[4,"allow-sort"],"focused":[32],"disableAddTabButton":[32],"tabTriggers":[32],"hasScrollbar":[32],"keyboardSort":[32],"initialSortIndex":[32],"sortTarget":[32],"ariaLiveAlert":[32],"guxSetActive":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-d33adb9d",[[4,"gux-tab-dropdown-option-legacy",{"optionId":[1,"option-id"],"iconName":[1,"icon-name"]}]]],["p-be37f4ca",[[4,"gux-tab-list",{"focused":[32],"tabTriggers":[32],"hasHorizontalScrollbar":[32],"hasVerticalScrollbar":[32],"isScrolledToBeginning":[32],"isScrolledToEnd":[32],"guxSetActive":[64]},[[0,"focusout","onFocusout"],[0,"hasVerticalScrollbar","onHasVerticalScrollBar"],[3,"scroll","onScroll"],[0,"keydown","onKeydown"]]]]],["p-7119126c",[[1,"gux-tabs-legacy",{"allowSort":[4,"allow-sort"],"showNewTabButton":[4,"show-new-tab-button"],"value":[1],"tabLimit":[2,"tab-limit"],"disableAddTabButton":[32],"hasScrollbar":[32]},[[0,"internaltabselected","internaltabselectedHandler"]]]]],["p-c9c529d6",[[1,"gux-accordion",{"singleOpenSection":[4,"single-open-section"]},[[0,"internalsectionopened","handleInternalsectionopened"]]]]],["p-f3f4c59f",[[1,"gux-action-item",{"text":[1],"value":[16],"disabled":[4]},[[0,"click","handleClick"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-b0c0bff1",[[1,"gux-action-list-divider"]]],["p-e776ea24",[[1,"gux-action-toast"]]],["p-9048b6e6",[[1,"gux-breadcrumbs",{"accent":[1]}]]],["p-6803dcab",[[17,"gux-button",{"type":[1],"guxTitle":[1,"gux-title"],"disabled":[4],"accent":[1]}]]],["p-0b3ba21c",[[1,"gux-card-beta",{"accent":[1]}]]],["p-1ad06cfc",[[0,"gux-command-action",{"text":[1],"details":[1],"common":[4],"recent":[4],"shortcut":[1],"invokePress":[64]}]]],["p-fee0493f",[[0,"gux-dropdown-option",{"value":[1],"disabled":[4],"filtered":[1540],"selected":[1540],"text":[1],"highlight":[32],"getDisplayedValue":[64],"shouldFilter":[64]}]]],["p-6585a062",[[1,"gux-flyout-menu-beta",{"isShown":[32]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-5647d38b",[[1,"gux-list-divider"]]],["p-5b9ed635",[[1,"gux-list-divider-legacy"]]],["p-a3dbcd6f",[[1,"gux-listbox-multi",{"value":[1025],"filter":[1],"selectedValues":[32],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]]]],["p-d841941a",[[1,"gux-loading-message-beta",{"hasAdditionalGuidance":[32],"loadingMessageSize":[32]}]]],["p-7623d68f",[[4,"gux-menu"]]],["p-356c4b29",[[4,"gux-menu-option",{"guxFocus":[64]},[[0,"keydown","onKeydown"]]]]],["p-66117fa0",[[4,"gux-option-legacy",{"value":[1],"disabled":[4],"text":[1025],"selected":[516],"shouldFilter":[64]}]]],["p-b27f0bef",[[4,"gux-option-multi",{"value":[1],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-b40b9989",[[1,"gux-panel-frame-legacy"]]],["p-4f0fbbad",[[4,"gux-side-panel-legacy",{"isOpen":[4,"is-open"],"position":[1]}]]],["p-dc00e93d",[[1,"gux-switch",{"value":[1025],"layout":[1],"switchItems":[32]},[[0,"click","onClick"]]]]],["p-6fe4eeb9",[[4,"gux-switch-item",{"value":[1],"selected":[4],"disabled":[4]},[[0,"click","onClick"]]]]],["p-e0660777",[[4,"gux-tab-advanced-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-b225ce42",[[4,"gux-tab-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-b678361a",[[1,"gux-tabs",{"activeTab":[1025,"active-tab"],"orientation":[1],"alignment":[1],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-0f74717b",[[1,"gux-tabs-advanced",{"activeTab":[1025,"active-tab"],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-8b50abec",[[4,"gux-text-label-legacy",{"label":[1],"position":[1]}]]],["p-c08134df",[[1,"gux-form-field-search",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"clearable":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-e4ae8233",[[1,"gux-calendar",{"value":[1025],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"numberOfMonths":[2,"number-of-months"],"startDayOfWeek":[32],"previewValue":[32],"selectingDate":[32],"setValue":[64],"focusPreviewDate":[64],"resetCalendarView":[64]}]]],["p-02f88e5c",[[1,"gux-dropdown-multi-tag",{"disabled":[4],"numberSelected":[2,"number-selected"],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-35c9b84c",[[0,"gux-toggle-slider",{"checked":[4],"disabled":[4],"guxAriaLabel":[1,"gux-aria-label"],"labelId":[1,"label-id"],"errorId":[1,"error-id"]}]]],["p-a41b086e",[[17,"gux-list-item",{"disabled":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-1e183c84",[[1,"gux-form-field-text-like",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-ed32da98",[[1,"gux-popover-list",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-2f8c80f8",[[1,"gux-list-item-legacy",{"text":[1],"value":[8],"strategy":[1]},[[0,"click","handleClick"],[0,"keydown","handleKeyDown"]]],[1,"gux-list-legacy",{"value":[1040],"highlight":[1],"selectedIndex":[32],"setFocusOnFirstItem":[64],"setFocusOnLastItem":[64],"isLastItemSelected":[64],"isFirstItemSelected":[64]},[[0,"selected","itemSelected"]]]]],["p-e9e06709",[[1,"gux-error-message-beta"]]],["p-f1e02ec2",[[1,"gux-form-field-checkbox",{"disabled":[32],"hasError":[32]}]]],["p-e220c05f",[[4,"gux-input-search",{"hasContent":[32],"disabled":[32]}]]],["p-536a4370",[[4,"gux-input-text-like",{"clearable":[4],"hasContent":[32],"disabled":[32]}]]],["p-6b6aec75",[[1,"gux-action-list-legacy",{"selectedIndex":[32],"setFocusOnFirstItem":[64],"setFocusOnLastItem":[64],"isLastItemSelected":[64],"isFirstItemSelected":[64]},[[0,"keydown","onKeyDown"]]]]],["p-ac62a4fd",[[0,"gux-text-highlight",{"text":[1],"highlight":[1],"strategy":[1]}]]],["p-744df836",[[1,"gux-dropdown",{"value":[1025],"disabled":[4],"required":[4],"placeholder":[1],"filterable":[4],"expanded":[32],"filter":[32]},[[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]],[1,"gux-listbox",{"value":[1025],"filter":[1],"selectedValues":[32],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]],[4,"gux-option",{"value":[1],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-5c2a8035",[[0,"gux-pagination-items-per-page",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]],[0,"gux-pagination-buttons",{"currentPage":[2,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]}],[0,"gux-pagination-item-counts",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-c68d6c4d",[[0,"gux-pagination-items-per-page-beta",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]],[0,"gux-pagination-buttons-beta",{"currentPage":[2,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]}],[0,"gux-pagination-item-counts-beta",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-095b143c",[[17,"gux-list",{"guxFocusFirstItem":[64]},[[0,"keydown","onKeyDown"]]]]],["p-9c374328",[[1,"gux-radial-loading",{"context":[1],"screenreaderText":[1,"screenreader-text"]}]]],["p-a6509d00",[[4,"gux-color-select",{"color":[32]},[[0,"colorSelect","onColorSelect"]]],[0,"gux-input-color-option",{"active":[4],"value":[1]}]]],["p-b710ed62",[[1,"gux-visualization-beta",{"visualizationSpec":[16],"embedOptions":[16]}]]],["p-8da21137",[[17,"gux-form-field-input-clear-button"]]],["p-361aa2c4",[[4,"gux-input-color",{"guxLabelDescribedby":[1,"gux-label-describedby"],"guxErrorDescribedby":[1,"gux-error-describedby"],"guxRequired":[4,"gux-required"],"disabled":[32],"color":[32],"opened":[32],"colorOnOpen":[32]},[[8,"click","onClick"],[0,"input","onInput"]]],[4,"gux-input-number",{"clearable":[4],"hasContent":[32],"disabled":[32]}],[4,"gux-input-select",{"disabled":[32]}],[4,"gux-input-checkbox"],[4,"gux-input-radio"],[4,"gux-input-range",{"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"disabled":[32],"value":[32],"active":[32],"valueWatcherId":[32]},[[0,"input","onInput"],[0,"focusin","onMousedown"],[1,"mousedown","onMousedown"],[0,"focusout","onMouseup"],[1,"mouseup","onMouseup"]]],[4,"gux-input-textarea",{"resize":[1]}]]],["p-f6b7b331",[[17,"gux-dismiss-button"]]],["p-c462f792",[[4,"gux-tooltip-title",{"hasTooltip":[32],"showTooltip":[32],"iconOnly":[32],"titleName":[32],"setShowTooltip":[64],"setHideTooltip":[64]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onmouseleave"],[1,"mousedown","onmousedown"]]],[1,"gux-tooltip",{"for":[1],"placement":[1025],"isShown":[32],"showTooltip":[64],"hideTooltip":[64]},[[9,"keydown","handleKeyDown"]]]]],["p-ab99f0d1",[[1,"gux-button-slot-beta",{"accent":[1]}]]],["p-9154b32a",[[1,"gux-popup",{"expanded":[4],"disabled":[4]}]]]]'),e)));
1
+ import{p as e,b as o}from"./p-e571f861.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-eb134027",[[1,"gux-icon",{"iconName":[1,"icon-name"],"decorative":[4],"screenreaderText":[1,"screenreader-text"],"svgHtml":[32]}]]],["p-17cb5dc7",[[4,"gux-form-field-legacy",{"clearable":[4],"resize":[1],"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"labelPosition":[1,"label-position"],"slottedElementType":[32],"computedLabelPosition":[32],"required":[32],"hasError":[32]}]]],["p-dc2cb87e",[[1,"gux-pagination",{"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"layout":[1],"totalPages":[32]}]]],["p-4ad0d292",[[1,"gux-pagination-beta",{"layout":[1],"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"totalPages":[32],"displayedLayout":[32]}]]],["p-4c358451",[[0,"gux-command-palette-legacy",{"filterValue":[32],"visible":[32],"open":[64],"close":[64]}]]],["p-332b356f",[[4,"gux-tab-advanced",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"popoverHidden":[32],"hasAnimated":[32],"guxSetActive":[64],"guxGetActive":[64],"guxFocus":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[0,"click","onClick"],[1,"mousedown","onMouseDown"]]]]],["p-29d88173",[[1,"gux-action-button",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-3864fd10",[[1,"gux-action-button-legacy",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-67225c06",[[1,"gux-button-multi",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-77203258",[[1,"gux-button-multi-legacy",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-9701a671",[[17,"gux-toggle",{"checked":[1028],"disabled":[4],"loading":[4],"checkedLabel":[1,"checked-label"],"uncheckedLabel":[1,"unchecked-label"],"labelPosition":[1,"label-position"],"errorMessage":[1,"error-message"],"displayInline":[4,"display-inline"]},[[0,"click","onClick"],[0,"keydown","onKeydown"]]]]],["p-259bf27a",[[1,"gux-advanced-dropdown",{"disabled":[4],"placeholder":[1],"noFilter":[4,"no-filter"],"filterDebounceTimeout":[2,"filter-debounce-timeout"],"dropdownHeight":[1,"dropdown-height"],"srLabelledby":[32],"opened":[32],"currentlySelectedOption":[32],"selectionOptions":[32],"getSelectedValues":[64],"setLabeledBy":[64]},[[0,"focusout","onFocusOut"]]]]],["p-68b2693b",[[1,"gux-dropdown-multi-beta",{"value":[1025],"disabled":[4],"required":[4],"placeholder":[1],"filterable":[4],"expanded":[32],"filter":[32],"getSelectedValues":[64]},[[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"guxclearselected","onGuxclearselected"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]]]],["p-17e7772d",[[4,"gux-tab-legacy",{"tabId":[1,"tab-id"],"active":[4],"tabIconName":[1,"tab-icon-name"],"popoverHidden":[32],"hasAnimated":[32]}]]],["p-dd27a173",[[1,"gux-tag-beta",{"color":[1],"value":[1],"disabled":[4],"removable":[4],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-04ecba75",[[0,"gux-all-row-select",{"selected":[1028],"setIndeterminate":[64]},[[0,"input","onCheck"]]]]],["p-cee9c885",[[1,"gux-badge-beta",{"color":[1],"bold":[4],"label":[32]}]]],["p-92c2133a",[[1,"gux-copy-to-clipboard-beta",{"tooltipContent":[32]},[[1,"mouseleave","onMouseleave"],[0,"focusout","onFocusout"],[0,"focus","onFocus"]]]]],["p-73014287",[[1,"gux-datepicker",{"value":[1025],"label":[1],"numberOfMonths":[1026,"number-of-months"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"format":[1],"disabled":[4],"formatedValue":[32],"minDateDate":[32],"maxDateDate":[32],"toFormatedValue":[32],"active":[32]},[[0,"keydown","onKeyDown"],[0,"focusin","onFocusIn"],[0,"focusout","onFocusOut"],[1,"mousedown","onMouseDown"],[0,"mouseup","onMouseUp"]]]]],["p-0b6f5507",[[4,"gux-dropdown-legacy",{"mode":[1],"disabled":[4],"value":[1025],"placeholder":[1],"filterable":[4],"opened":[32],"forcedGhostValue":[32],"srLabeledBy":[32],"setLabeledBy":[64],"setSelected":[64]}]]],["p-a58c35be",[[1,"gux-form-field-number",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-8c9d7449",[[1,"gux-modal",{"size":[1],"trapFocus":[4,"trap-focus"],"initialFocus":[1,"initial-focus"]},[[0,"keydown","handleKeyEvent"]]]]],["p-728c3205",[[1,"gux-notification-toast",{"accent":[1]}]]],["p-154b40a5",[[1,"gux-pagination-cursor",{"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"]}]]],["p-a0f18b9e",[[1,"gux-popover",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-d00af400",[[0,"gux-row-select",{"selected":[1028],"disabled":[4]},[[0,"input","onCheck"]]]]],["p-b1bfd96c",[[1,"gux-simple-toast",{"accent":[1]}]]],["p-1f1554e3",[[4,"gux-tab",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"guxSetActive":[64],"guxFocus":[64],"guxGetActive":[64]},[[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-07b6afbc",[[1,"gux-table-beta",{"compact":[4],"objectTable":[4,"object-table"],"emptyMessage":[1,"empty-message"],"resizableColumns":[4,"resizable-columns"],"isVerticalScroll":[32],"isHorizontalScroll":[32],"isScrolledToFirstCell":[32],"isScrolledToLastCell":[32],"columnResizeHover":[32],"getSelected":[64]},[[3,"scroll","onScroll"],[0,"internalallrowselectchange","onInternalAllRowSelectChange"],[0,"internalrowselectchange","onInternalRowSelectChange"],[3,"mousemove","onMouseMove"],[1,"mousedown","onMouseDown"],[3,"mouseup","onMouseUp"]]]]],["p-5fbcee8c",[[1,"gux-time-picker-beta",{"value":[1537],"interval":[1026],"max":[1025],"min":[1025],"label":[1],"active":[32],"openDropdown":[32],"suggestion":[32]},[[0,"keydown","onKeyDown"],[1,"mouseup","onMouseUp"],[0,"focusin","onFocusIn"]]]]],["p-c16768c4",[[4,"gux-accordion-legacy",{"headingLevel":[2,"heading-level"],"arrowPosition":[1,"arrow-position"],"sections":[32],"open":[64],"close":[64],"toggle":[64]}]]],["p-fa5f3c40",[[1,"gux-accordion-section",{"arrowPosition":[1,"arrow-position"],"open":[1028],"disabled":[4],"reverseHeadings":[4,"reverse-headings"]}]]],["p-0b1bf180",[[1,"gux-breadcrumb-item",{"href":[1]}]]],["p-a2b0a65b",[[1,"gux-chart-column-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"xFieldName":[1,"x-field-name"],"yFieldName":[1,"y-field-name"],"xAxisTitle":[1,"x-axis-title"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"legendPosition":[1,"legend-position"],"chartLayers":[16],"embedOptions":[16]}]]],["p-0ca439a8",[[1,"gux-chart-donut-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"innerRadius":[2,"inner-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"gauge":[4],"centerText":[1,"center-text"],"centerSubText":[1,"center-sub-text"],"showTooltip":[4,"show-tooltip"],"tooltipOptions":[16],"legendX":[2,"legend-x"],"legendY":[2,"legend-y"],"legendFontSize":[2,"legend-font-size"],"legendSymbolSize":[2,"legend-symbol-size"],"embedOptions":[16]}]]],["p-9fb04c83",[[1,"gux-chart-line-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"includeDataPointMarkers":[4,"include-data-point-markers"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"strokeDash":[4,"stroke-dash"],"interpolation":[1],"embedOptions":[16]}]]],["p-073a827a",[[1,"gux-chart-pie-beta",{"chartData":[16],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"outerRadius":[2,"outer-radius"],"labelRadius":[2,"label-radius"],"labelField":[1,"label-field"],"embedOptions":[16]}]]],["p-5dc59c1e",[[1,"gux-chart-scatter-plot-beta",{"chartData":[16],"xTickLabelSlant":[4,"x-tick-label-slant"],"includeLegend":[4,"include-legend"],"legendPosition":[1,"legend-position"],"xFieldName":[1,"x-field-name"],"xAxisTitle":[1,"x-axis-title"],"yFieldName":[1,"y-field-name"],"yAxisTitle":[1,"y-axis-title"],"legendTitle":[1,"legend-title"],"colorFieldName":[1,"color-field-name"],"useShape":[1,"use-shape"],"embedOptions":[16]}]]],["p-159dc16a",[[1,"gux-content-search",{"matchCount":[1026,"match-count"],"currentMatch":[1026,"current-match"],"disabled":[32],"value":[32],"clear":[64]}]]],["p-cd09adac",[[1,"gux-disclosure-button",{"position":[1],"label":[1],"isOpen":[1028,"is-open"],"icon":[32]}]]],["p-ca900bac",[[1,"gux-form-field-color",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-2ab46a56",[[1,"gux-form-field-dropdown",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-a3851ac0",[[1,"gux-form-field-radio",{"disabled":[32],"hasError":[32]}]]],["p-a0c4845a",[[1,"gux-form-field-range",{"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"value":[32],"active":[32],"valueWatcherId":[32]},[[0,"input","onInput"],[0,"focusin","onMousedown"],[1,"mousedown","onMousedown"],[0,"focusout","onMouseup"],[1,"mouseup","onMouseup"]]]]],["p-c31bfe54",[[1,"gux-form-field-select",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-32cc1cba",[[1,"gux-form-field-textarea",{"resize":[1],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-4d492dfe",[[1,"gux-page-loading-spinner",{"screenreaderText":[1,"screenreader-text"]}]]],["p-fd845780",[[1,"gux-radial-progress",{"value":[2],"max":[2],"scale":[2],"screenreaderText":[1,"screenreader-text"]}]]],["p-a9893d99",[[1,"gux-rating",{"value":[1026],"maxValue":[2,"max-value"],"disabled":[4],"readonly":[4]},[[0,"click","onClick"],[0,"keydown","onKeyDown"]]]]],["p-1173c715",[[0,"gux-side-panel-button",{"icon":[1],"altText":[1,"alt-text"],"isSelected":[4,"is-selected"]}]]],["p-837b34bf",[[1,"gux-sort-control",{"colLabel":[32],"colSortDirection":[32]},[[16,"guxsortchanged","sortDirectionEvent"]]]]],["p-7341343a",[[4,"gux-submenu",{"label":[1],"isShown":[32],"guxFocus":[64]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-9cf81b2b",[[4,"gux-tab-advanced-list",{"showNewTabButton":[4,"show-new-tab-button"],"tabLimit":[2,"tab-limit"],"allowSort":[4,"allow-sort"],"focused":[32],"disableAddTabButton":[32],"tabTriggers":[32],"hasScrollbar":[32],"keyboardSort":[32],"initialSortIndex":[32],"sortTarget":[32],"ariaLiveAlert":[32],"guxSetActive":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-d33adb9d",[[4,"gux-tab-dropdown-option-legacy",{"optionId":[1,"option-id"],"iconName":[1,"icon-name"]}]]],["p-be37f4ca",[[4,"gux-tab-list",{"focused":[32],"tabTriggers":[32],"hasHorizontalScrollbar":[32],"hasVerticalScrollbar":[32],"isScrolledToBeginning":[32],"isScrolledToEnd":[32],"guxSetActive":[64]},[[0,"focusout","onFocusout"],[0,"hasVerticalScrollbar","onHasVerticalScrollBar"],[3,"scroll","onScroll"],[0,"keydown","onKeydown"]]]]],["p-ee2d3644",[[1,"gux-tabs-legacy",{"allowSort":[4,"allow-sort"],"showNewTabButton":[4,"show-new-tab-button"],"value":[1],"tabLimit":[2,"tab-limit"],"disableAddTabButton":[32],"hasScrollbar":[32]},[[0,"internaltabselected","internaltabselectedHandler"]]]]],["p-34bbd9f1",[[1,"gux-accordion",{"singleOpenSection":[4,"single-open-section"]},[[0,"internalsectionopened","handleInternalsectionopened"]]]]],["p-f3f4c59f",[[1,"gux-action-item",{"text":[1],"value":[16],"disabled":[4]},[[0,"click","handleClick"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-b0c0bff1",[[1,"gux-action-list-divider"]]],["p-4de50498",[[1,"gux-action-toast"]]],["p-6e5d7d35",[[1,"gux-breadcrumbs",{"accent":[1]}]]],["p-07612409",[[17,"gux-button",{"type":[1],"guxTitle":[1,"gux-title"],"disabled":[4],"accent":[1]}]]],["p-1189348a",[[1,"gux-card-beta",{"accent":[1]}]]],["p-1ad06cfc",[[0,"gux-command-action",{"text":[1],"details":[1],"common":[4],"recent":[4],"shortcut":[1],"invokePress":[64]}]]],["p-fee0493f",[[0,"gux-dropdown-option",{"value":[1],"disabled":[4],"filtered":[1540],"selected":[1540],"text":[1],"highlight":[32],"getDisplayedValue":[64],"shouldFilter":[64]}]]],["p-da0e207a",[[1,"gux-flyout-menu-beta",{"isShown":[32]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-5647d38b",[[1,"gux-list-divider"]]],["p-5b9ed635",[[1,"gux-list-divider-legacy"]]],["p-a6ed0156",[[1,"gux-listbox-multi",{"value":[1025],"filter":[1],"selectedValues":[32],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]]]],["p-7102d244",[[1,"gux-loading-message-beta",{"hasAdditionalGuidance":[32],"loadingMessageSize":[32]}]]],["p-7623d68f",[[4,"gux-menu"]]],["p-356c4b29",[[4,"gux-menu-option",{"guxFocus":[64]},[[0,"keydown","onKeydown"]]]]],["p-66117fa0",[[4,"gux-option-legacy",{"value":[1],"disabled":[4],"text":[1025],"selected":[516],"shouldFilter":[64]}]]],["p-b27f0bef",[[4,"gux-option-multi",{"value":[1],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-555bbd62",[[1,"gux-panel-frame-legacy"]]],["p-2b56e0a6",[[4,"gux-side-panel-legacy",{"isOpen":[4,"is-open"],"position":[1]}]]],["p-72b0ff15",[[1,"gux-switch",{"value":[1025],"layout":[1],"switchItems":[32]},[[0,"click","onClick"]]]]],["p-6fe4eeb9",[[4,"gux-switch-item",{"value":[1],"selected":[4],"disabled":[4]},[[0,"click","onClick"]]]]],["p-e0660777",[[4,"gux-tab-advanced-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-b225ce42",[[4,"gux-tab-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-409abca3",[[1,"gux-tabs",{"activeTab":[1025,"active-tab"],"orientation":[1],"alignment":[1],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-1ae15c1b",[[1,"gux-tabs-advanced",{"activeTab":[1025,"active-tab"],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-bf3f3d4f",[[4,"gux-text-label-legacy",{"label":[1],"position":[1]}]]],["p-93357d3b",[[1,"gux-form-field-search",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"clearable":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-4643bccb",[[1,"gux-calendar",{"value":[1025],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"numberOfMonths":[2,"number-of-months"],"startDayOfWeek":[32],"previewValue":[32],"selectingDate":[32],"setValue":[64],"focusPreviewDate":[64],"resetCalendarView":[64]}]]],["p-02f88e5c",[[1,"gux-dropdown-multi-tag",{"disabled":[4],"numberSelected":[2,"number-selected"],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-35c9b84c",[[0,"gux-toggle-slider",{"checked":[4],"disabled":[4],"guxAriaLabel":[1,"gux-aria-label"],"labelId":[1,"label-id"],"errorId":[1,"error-id"]}]]],["p-a41b086e",[[17,"gux-list-item",{"disabled":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-7bdf198e",[[1,"gux-form-field-text-like",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-c420bb20",[[1,"gux-popover-list",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-3f744d5c",[[1,"gux-list-item-legacy",{"text":[1],"value":[8],"strategy":[1]},[[0,"click","handleClick"],[0,"keydown","handleKeyDown"]]],[1,"gux-list-legacy",{"value":[1040],"highlight":[1],"selectedIndex":[32],"setFocusOnFirstItem":[64],"setFocusOnLastItem":[64],"isLastItemSelected":[64],"isFirstItemSelected":[64]},[[0,"selected","itemSelected"]]]]],["p-8144ebb2",[[1,"gux-error-message-beta"]]],["p-da811860",[[1,"gux-form-field-checkbox",{"disabled":[32],"hasError":[32]}]]],["p-e220c05f",[[4,"gux-input-search",{"hasContent":[32],"disabled":[32]}]]],["p-536a4370",[[4,"gux-input-text-like",{"clearable":[4],"hasContent":[32],"disabled":[32]}]]],["p-ed948125",[[1,"gux-action-list-legacy",{"selectedIndex":[32],"setFocusOnFirstItem":[64],"setFocusOnLastItem":[64],"isLastItemSelected":[64],"isFirstItemSelected":[64]},[[0,"keydown","onKeyDown"]]]]],["p-55445db9",[[0,"gux-text-highlight",{"text":[1],"highlight":[1],"strategy":[1]}]]],["p-c8a78f21",[[1,"gux-dropdown",{"value":[1025],"disabled":[4],"required":[4],"placeholder":[1],"filterable":[4],"expanded":[32],"filter":[32]},[[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]],[1,"gux-listbox",{"value":[1025],"filter":[1],"selectedValues":[32],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]],[4,"gux-option",{"value":[1],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-5c2a8035",[[0,"gux-pagination-items-per-page",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]],[0,"gux-pagination-buttons",{"currentPage":[2,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]}],[0,"gux-pagination-item-counts",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-c68d6c4d",[[0,"gux-pagination-items-per-page-beta",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]],[0,"gux-pagination-buttons-beta",{"currentPage":[2,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]}],[0,"gux-pagination-item-counts-beta",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-8f2d5985",[[17,"gux-list",{"guxFocusFirstItem":[64]},[[0,"keydown","onKeyDown"]]]]],["p-8ad2fc43",[[1,"gux-radial-loading",{"context":[1],"screenreaderText":[1,"screenreader-text"]}]]],["p-a6509d00",[[4,"gux-color-select",{"color":[32]},[[0,"colorSelect","onColorSelect"]]],[0,"gux-input-color-option",{"active":[4],"value":[1]}]]],["p-f315c7ab",[[1,"gux-visualization-beta",{"visualizationSpec":[16],"embedOptions":[16]}]]],["p-9e8c9a22",[[17,"gux-form-field-input-clear-button"]]],["p-361aa2c4",[[4,"gux-input-color",{"guxLabelDescribedby":[1,"gux-label-describedby"],"guxErrorDescribedby":[1,"gux-error-describedby"],"guxRequired":[4,"gux-required"],"disabled":[32],"color":[32],"opened":[32],"colorOnOpen":[32]},[[8,"click","onClick"],[0,"input","onInput"]]],[4,"gux-input-number",{"clearable":[4],"hasContent":[32],"disabled":[32]}],[4,"gux-input-select",{"disabled":[32]}],[4,"gux-input-checkbox"],[4,"gux-input-radio"],[4,"gux-input-range",{"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"disabled":[32],"value":[32],"active":[32],"valueWatcherId":[32]},[[0,"input","onInput"],[0,"focusin","onMousedown"],[1,"mousedown","onMousedown"],[0,"focusout","onMouseup"],[1,"mouseup","onMouseup"]]],[4,"gux-input-textarea",{"resize":[1]}]]],["p-dd68143f",[[17,"gux-dismiss-button"]]],["p-55b5f913",[[4,"gux-tooltip-title",{"hasTooltip":[32],"showTooltip":[32],"iconOnly":[32],"titleName":[32],"setShowTooltip":[64],"setHideTooltip":[64]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onmouseleave"],[1,"mousedown","onmousedown"]]],[1,"gux-tooltip",{"for":[1],"placement":[1025],"isShown":[32],"showTooltip":[64],"hideTooltip":[64]},[[9,"keydown","handleKeyDown"]]]]],["p-8856dc13",[[1,"gux-button-slot-beta",{"accent":[1]}]]],["p-9154b32a",[[1,"gux-popup",{"expanded":[4],"disabled":[4]}]]]]'),e)));
@@ -1,12 +1,26 @@
1
- @soft-grid-increment: 2px;
1
+ @gux-soft-grid-increment: 2px;
2
2
 
3
- @spacing-3xs: (@soft-grid-increment * 1);
4
- @spacing-2xs: (@soft-grid-increment * 2);
5
- @spacing-xs: (@soft-grid-increment * 4);
6
- @spacing-small: (@soft-grid-increment * 6);
7
- @spacing-medium: (@soft-grid-increment * 8);
8
- @spacing-large: (@soft-grid-increment * 12);
9
- @spacing-xl: (@soft-grid-increment * 16);
10
- @spacing-2xl: (@soft-grid-increment * 20);
11
- @spacing-3xl: (@soft-grid-increment * 24);
12
- @spacing-4xl: (@soft-grid-increment * 32);
3
+ @gux-spacing-3xs: (@gux-soft-grid-increment * 1);
4
+ @gux-spacing-2xs: (@gux-soft-grid-increment * 2);
5
+ @gux-spacing-xs: (@gux-soft-grid-increment * 4);
6
+ @gux-spacing-small: (@gux-soft-grid-increment * 6);
7
+ @gux-spacing-medium: (@gux-soft-grid-increment * 8);
8
+ @gux-spacing-large: (@gux-soft-grid-increment * 12);
9
+ @gux-spacing-xl: (@gux-soft-grid-increment * 16);
10
+ @gux-spacing-2xl: (@gux-soft-grid-increment * 20);
11
+ @gux-spacing-3xl: (@gux-soft-grid-increment * 24);
12
+ @gux-spacing-4xl: (@gux-soft-grid-increment * 32);
13
+
14
+ // The following unprefixed names are deprecated and will be removed in a future release
15
+ @soft-grid-increment: @gux-soft-grid-increment;
16
+
17
+ @spacing-3xs: @gux-spacing-3xs;
18
+ @spacing-2xs: @gux-spacing-2xs;
19
+ @spacing-xs: @gux-spacing-xs;
20
+ @spacing-small: @gux-spacing-small;
21
+ @spacing-medium: @gux-spacing-medium;
22
+ @spacing-large: @gux-spacing-large;
23
+ @spacing-xl: @gux-spacing-xl;
24
+ @spacing-2xl: @gux-spacing-2xl;
25
+ @spacing-3xl: @gux-spacing-3xl;
26
+ @spacing-4xl: @gux-spacing-4xl;
@@ -1 +1 @@
1
- import{r as t,h as e,g as i}from"./p-e571f861.js";import{t as a}from"./p-3c67bb89.js";import{l as s}from"./p-3184268e.js";import{V as r}from"./p-5cacdfc9.js";const o=class{constructor(e){t(this,e),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",config:{legend:{symbolType:"circle"}},encoding:{theta:{field:"value",type:"quantitative",stack:!0},color:{field:"category",type:"nominal",scale:{range:r},legend:null},tooltip:{aggregate:"count",type:"quantitative"}},layer:[{mark:{type:"arc",outerRadius:80}},{mark:{type:"text",radius:90},encoding:{text:{field:"value",type:"quantitative"}}}],view:{stroke:null}},this.legendPosition="right"}parseData(){this.outerRadius||s("gux-chart-pie","[gux-chart-pie] requires outer-radius");let t={};this.chartData&&(t={data:this.chartData}),this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition);const e=this.colorFieldName||"category";e&&(this.baseChartSpec.encoding.color.field=e);const i=this.legendTitle;i&&(this.baseChartSpec.encoding.color.title=i),this.baseChartSpec.layer=[{mark:{type:"arc",outerRadius:this.outerRadius}}];const a=this.labelRadius;a&&this.baseChartSpec.layer.push({mark:{type:"text",radius:a},encoding:{text:{field:this.labelField||"value",type:"quantitative"}}});const r=Object.assign(this.baseChartSpec,t);this.visualizationSpec=r}componentWillLoad(){a(this.root),this.parseData()}render(){return e("gux-visualization-beta",{visualizationSpec:this.visualizationSpec})}get root(){return i(this)}static get watchers(){return{chartData:["parseData"]}}};o.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{o as gux_chart_pie_beta}
1
+ import{r as t,h as e,g as i}from"./p-e571f861.js";import{t as a}from"./p-6ea97636.js";import{l as s}from"./p-3184268e.js";import{V as r}from"./p-5cacdfc9.js";const o=class{constructor(e){t(this,e),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",config:{legend:{symbolType:"circle"}},encoding:{theta:{field:"value",type:"quantitative",stack:!0},color:{field:"category",type:"nominal",scale:{range:r},legend:null},tooltip:{aggregate:"count",type:"quantitative"}},layer:[{mark:{type:"arc",outerRadius:80}},{mark:{type:"text",radius:90},encoding:{text:{field:"value",type:"quantitative"}}}],view:{stroke:null}},this.legendPosition="right"}parseData(){this.outerRadius||s("gux-chart-pie","[gux-chart-pie] requires outer-radius");let t={};this.chartData&&(t={data:this.chartData}),this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition);const e=this.colorFieldName||"category";e&&(this.baseChartSpec.encoding.color.field=e);const i=this.legendTitle;i&&(this.baseChartSpec.encoding.color.title=i),this.baseChartSpec.layer=[{mark:{type:"arc",outerRadius:this.outerRadius}}];const a=this.labelRadius;a&&this.baseChartSpec.layer.push({mark:{type:"text",radius:a},encoding:{text:{field:this.labelField||"value",type:"quantitative"}}});const r=Object.assign(this.baseChartSpec,t);this.visualizationSpec=r}componentWillLoad(){a(this.root),this.parseData()}render(){return e("gux-visualization-beta",{visualizationSpec:this.visualizationSpec})}get root(){return i(this)}static get watchers(){return{chartData:["parseData"]}}};o.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{o as gux_chart_pie_beta}
@@ -1 +1 @@
1
- import{r as o,h as t,g as r}from"./p-e571f861.js";import{t as e}from"./p-3c67bb89.js";const n=class{constructor(t){o(this,t),this.type="button",this.disabled=!1,this.accent="secondary"}componentWillLoad(){e(this.root,{variant:this.accent}),this.makeSlotContentDisableable()}render(){return t("button",{type:this.type,title:this.guxTitle,disabled:this.disabled,class:`gux-${this.accent}`},t("slot",null))}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())})),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}))}))}static get delegatesFocus(){return!0}get root(){return r(this)}};n.style=":host{display:inline-block;min-width:32px;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){width:16px;height:16px}::slotted(*){padding-left:4px;vertical-align:middle}::slotted(*:first-child){padding:0}button{width:100%;height:32px;padding:0 16px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:#e2e6ee;border:none;border-radius:4px;font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}button[disabled]{color:rgba(46, 57, 76, 0.5);cursor:default;background-color:rgba(226, 230, 238, 0.5)}button:hover:enabled{background-color:#d7dce5}button:active:enabled{background-color:#c8cfda}button:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}button.gux-tertiary{color:#2a60c8;background-color:#fdfdfd;border:1px solid #2a60c8}button.gux-tertiary[disabled]{color:rgba(42, 96, 200, 0.5);background-color:rgba(253, 253, 253, 0.5);border-color:rgba(42, 96, 200, 0.5)}button.gux-tertiary:hover:enabled{color:#fdfdfd;background-color:#2754ac}button.gux-tertiary:active:enabled{color:#fdfdfd;background-color:#23478f}button.gux-ghost{color:#2a60c8;background:none;border:none}button.gux-ghost[disabled]{color:rgba(42, 96, 200, 0.5)}button.gux-ghost:hover:enabled{color:#2754ac;background-color:rgba(222, 234, 255, 0.33)}button.gux-ghost:active:enabled{color:#2754ac;background-color:#deeaff}button.gux-primary{color:#fdfdfd;background-color:#2a60c8}button.gux-primary[disabled]{color:rgba(253, 253, 253, 0.5);background-color:rgba(42, 96, 200, 0.5)}button.gux-primary:hover:enabled{background-color:#2754ac}button.gux-primary:active:enabled{background-color:#23478f}";export{n as gux_button}
1
+ import{r as o,h as t,g as e}from"./p-e571f861.js";import{t as r}from"./p-6ea97636.js";const n=class{constructor(t){o(this,t),this.type="button",this.disabled=!1,this.accent="secondary"}componentWillLoad(){r(this.root,{variant:this.accent}),this.makeSlotContentDisableable()}render(){return t("button",{type:this.type,title:this.guxTitle,disabled:this.disabled,class:`gux-${this.accent}`},t("slot",null))}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())})),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>{this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}))}))}static get delegatesFocus(){return!0}get root(){return e(this)}};n.style=":host{display:inline-block;min-width:32px;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){width:16px;height:16px}::slotted(*){padding-left:4px;vertical-align:middle}::slotted(*:first-child){padding:0}button{width:100%;height:32px;padding:0 16px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:#e2e6ee;border:none;border-radius:4px;font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}button[disabled]{color:rgba(46, 57, 76, 0.5);cursor:default;background-color:rgba(226, 230, 238, 0.5)}button:hover:enabled{background-color:#d7dce5}button:active:enabled{background-color:#c8cfda}button:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}button.gux-tertiary{color:#2a60c8;background-color:#fdfdfd;border:1px solid #2a60c8}button.gux-tertiary[disabled]{color:rgba(42, 96, 200, 0.5);background-color:rgba(253, 253, 253, 0.5);border-color:rgba(42, 96, 200, 0.5)}button.gux-tertiary:hover:enabled{color:#fdfdfd;background-color:#2754ac}button.gux-tertiary:active:enabled{color:#fdfdfd;background-color:#23478f}button.gux-ghost{color:#2a60c8;background:none;border:none}button.gux-ghost[disabled]{color:rgba(42, 96, 200, 0.5)}button.gux-ghost:hover:enabled{color:#2754ac;background-color:rgba(222, 234, 255, 0.33)}button.gux-ghost:active:enabled{color:#2754ac;background-color:#deeaff}button.gux-primary{color:#fdfdfd;background-color:#2a60c8}button.gux-primary[disabled]{color:rgba(253, 253, 253, 0.5);background-color:rgba(42, 96, 200, 0.5)}button.gux-primary:hover:enabled{background-color:#2754ac}button.gux-primary:active:enabled{background-color:#23478f}";export{n as gux_button}
@@ -1 +1 @@
1
- import{r as t,c as s,f as e,d as i,a as o,h as a,H as r,g as h}from"./p-e571f861.js";import{b as l}from"./p-2fb2e5b0.js";import{w as n}from"./p-76ff3e75.js";import{r as c}from"./p-cbcbd1bb.js";import{t as u}from"./p-3c67bb89.js";import{t as b}from"./p-c22ec193.js";import"./p-8a133b9b.js";const g=class{constructor(i){t(this,i),this.guxselectionchanged=s(this,"guxselectionchanged",7),this.guxsortchanged=s(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>e(this))),this.tableId=c("gux-table"),this.columnsWidths={},this.isVerticalScroll=!1,this.isHorizontalScroll=!1,this.isScrolledToFirstCell=!0,this.isScrolledToLastCell=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1}async componentWillLoad(){u(this.root),this.i18n=await l(this.root,b)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSortableColumns(),this.prepareSelectableRows(),this.checkHorizontalScroll(),this.checkVerticalScroll(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkHorizontalScroll(),this.checkVerticalScroll(),this.updateScrollState()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onScroll(){this.updateScrollState()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows()}onInternalRowSelectChange(t){t.stopPropagation(),this.handleRowSelection(t.target)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get tableColumnsDataSortable(){return Array.from(this.slottedTable.querySelectorAll("thead th[data-sortable]"))}get sortControlCol(){return Array.from(this.slottedTable.querySelectorAll("thead th gux-sort-control"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const s=this.rowCheckboxes,e=s.filter((t=>0==t.hasAttribute("disabled"))),i=e.filter((t=>t.selected)),o=Boolean(s.length),a=i.length===e.length,r=0===i.length;t.selected=o&&a,t.setIndeterminate(o&&!a&&!r)}}handleSelectAllRows(){const t=this.selectAllCheckbox;this.rowCheckboxes.forEach((s=>{s.hasAttribute("disabled")||(s.selected=t.selected,this.updateRowSelection(s))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const s=t.closest("tr");t.selected?s.setAttribute("data-selected-row",""):s.removeAttribute("data-selected-row")}nextColumn(){const t=this.tableColumns,s=this.tableContainer.getBoundingClientRect();let e=(t.find((t=>t.getBoundingClientRect().right>s.right))||t[t.length-1]).getBoundingClientRect().right-s.right;e>s.width&&(e=.9*s.width),this.tableContainer.scrollLeft+=Math.ceil(e),this.updateScrollState()}previousColumn(){const t=this.tableColumns,s=this.tableContainer.getBoundingClientRect(),e=(t.reverse().find((t=>t.getBoundingClientRect().left<s.left))||t[0]).getBoundingClientRect();let i=s.left-e.left;i>s.width&&(i=.9*s.width),this.tableContainer.scrollLeft+=-Math.ceil(i),this.updateScrollState()}updateScrollState(){const t=this.tableContainer.scrollLeft,s=this.tableContainer.scrollWidth-this.tableContainer.clientWidth;this.isScrolledToFirstCell=0===t,this.isScrolledToLastCell=s-t-this.tableScrollbarConstant<=0}checkHorizontalScroll(){const t=this.slottedTable.getBoundingClientRect().width,s=this.root.getBoundingClientRect().width;this.isHorizontalScroll=t>s}checkVerticalScroll(){const t=this.tableContainer;this.isVerticalScroll=t.scrollHeight>t.clientHeight}get tableScrollbarConstant(){const t=this.tableContainer;return t?t.offsetWidth-t.clientWidth:0}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t);const s=this.tableColumns;s.pop(),s.forEach((t=>{this.columnsWidths[t.dataset.columnName]=`${this.getElementComputedWidth(t)}px`})),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const s=this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX);this.columnsWidths[this.columnResizeState.resizableColumn.dataset.columnName]=`${s>1?s:1}px`,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,n("th",t,(s=>{this.tableColumns.length-1!==s.cellIndex&&this.isInResizeZone(t,s)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){n("th",t,(s=>{this.isInResizeZone(t,s)&&(this.columnResizeState={resizableColumn:s,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:this.getElementComputedWidth(s)})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,s){return s.getBoundingClientRect().right-t.clientX<3}getElementComputedWidth(t){return parseInt(window.getComputedStyle(t).getPropertyValue("width").split("px")[0],10)}prepareSortableColumns(){let t=[];t=document.querySelector("gux-sort-control")?this.sortControlCol:this.tableColumnsDataSortable,this.tableColumnsDataSortable.forEach((t=>{t.hasAttribute("data-sortable")&&this.prepareSortableColumnsStyles()})),t.forEach((t=>{t.onclick=s=>{if(!this.columnResizeHover){const e=s.target,i=t.hasAttribute("data-sortable")?s.currentTarget:e.parentElement;let o=null;switch(i.getAttribute("aria-sort")||""){case"":case"descending":o="ascending";break;case"ascending":o="descending"}this.guxsortchanged.emit({columnName:i.dataset.columnName,sortDirection:o})}}}))}prepareSortableColumnsStyles(){const t="gux-table-sortable-styles";if(null==document.getElementById(t)){const s=document.createElement("style");s.id=t;const e=o("./icons/arrow-solid-down.svg"),i=o("./icons/arrow-solid-up.svg"),a=this.i18n("sortAsc"),r=this.i18n("sortDesc");s.innerHTML=`\n th[data-sortable]:focus-within:after{content: "${a}";background-image: url("${e}");}\n th[aria-sort="ascending"]:after{background-image:url("${e}")!important;content:"${a}"!important;}\n th[aria-sort="descending"]:after{background-image:url("${i}")!important;content:"${r}"!important;}\n `,document.querySelector("head").appendChild(s)}}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let s="";Object.keys(this.columnsWidths).forEach((t=>{s+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])};\n min-width:${String(this.columnsWidths[t])};\n }`})),t.innerHTML=s}get isTableEmpty(){return!this.root.children[0]||this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return a(r,{"gs-table-id":this.tableId,"gs-v-scroll":this.isVerticalScroll,"gs-h-scroll":this.isHorizontalScroll,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{class:"gux-table"},a("div",{tabindex:this.isVerticalScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{name:"data"})),this.isHorizontalScroll&&a("gux-button-slot-beta",{accent:"secondary"},a("button",{class:"gux-table-scroll-left",disabled:this.isScrolledToFirstCell,onClick:!this.isScrolledToFirstCell&&this.previousColumn.bind(this)},a("gux-icon",{"icon-name":"chevron-left","screenreader-text":this.i18n("scrollLeft")}))),this.isHorizontalScroll&&a("gux-button-slot-beta",{accent:"secondary",style:{marginRight:`${this.tableScrollbarConstant}px`}},a("button",{class:"gux-table-scroll-right",disabled:this.isScrolledToLastCell,style:{marginRight:`${this.tableScrollbarConstant}px`},onClick:!this.isScrolledToLastCell&&this.nextColumn.bind(this)},a("gux-icon",{"icon-name":"chevron-right","screenreader-text":this.i18n("scrollRight")}))),this.isTableEmpty&&a("div",{class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return h(this)}};g.style=":host{display:block;isolation:isolate}:host .gux-table{position:relative;height:inherit}:host .gux-table .gux-table-scroll-left,:host .gux-table .gux-table-scroll-right{position:absolute;top:0;z-index:1;display:flex;align-items:center;justify-content:center;width:24px;min-width:0;height:40px;padding:0;color:#2e394c;cursor:pointer;border-radius:4px}:host .gux-table .gux-table-scroll-left gux-icon,:host .gux-table .gux-table-scroll-right gux-icon{width:8px;height:8px}:host .gux-table .gux-table-scroll-left{border-top-left-radius:0;border-bottom-left-radius:0}:host .gux-table .gux-table-scroll-right{right:0;border-top-right-radius:0;border-bottom-right-radius:0}:host .gux-table .gux-table-container{width:100%;max-height:100%;overflow-x:hidden;overflow-y:auto;scrollbar-color:rgba(32, 41, 55, 0.24) #fdfdfd;scrollbar-width:thin}:host .gux-table .gux-table-container::-webkit-scrollbar{width:4px}:host .gux-table .gux-table-container::-webkit-scrollbar-track{background:#fdfdfd}:host .gux-table .gux-table-container::-webkit-scrollbar-thumb{background:rgba(32, 41, 55, 0.24)}:host .gux-table .gux-table-container::-webkit-scrollbar-thumb:hover{background:rgba(32, 41, 55, 0.48)}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;height:150px;color:#596373;background:#fdfdfd;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}";export{g as gux_table_beta}
1
+ import{r as t,c as s,f as e,d as i,a as o,h as a,H as r,g as h}from"./p-e571f861.js";import{b as l}from"./p-2fb2e5b0.js";import{w as n}from"./p-76ff3e75.js";import{r as c}from"./p-cbcbd1bb.js";import{t as u}from"./p-6ea97636.js";import{t as g}from"./p-c22ec193.js";import"./p-8a133b9b.js";const b=class{constructor(i){t(this,i),this.guxselectionchanged=s(this,"guxselectionchanged",7),this.guxsortchanged=s(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>e(this))),this.tableId=c("gux-table"),this.columnsWidths={},this.isVerticalScroll=!1,this.isHorizontalScroll=!1,this.isScrolledToFirstCell=!0,this.isScrolledToLastCell=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1}async componentWillLoad(){u(this.root),this.i18n=await l(this.root,g)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSortableColumns(),this.prepareSelectableRows(),this.checkHorizontalScroll(),this.checkVerticalScroll(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkHorizontalScroll(),this.checkVerticalScroll(),this.updateScrollState()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onScroll(){this.updateScrollState()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows()}onInternalRowSelectChange(t){t.stopPropagation(),this.handleRowSelection(t.target)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get tableColumnsDataSortable(){return Array.from(this.slottedTable.querySelectorAll("thead th[data-sortable]"))}get sortControlCol(){return Array.from(this.slottedTable.querySelectorAll("thead th gux-sort-control"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const s=this.rowCheckboxes,e=s.filter((t=>0==t.hasAttribute("disabled"))),i=e.filter((t=>t.selected)),o=Boolean(s.length),a=i.length===e.length,r=0===i.length;t.selected=o&&a,t.setIndeterminate(o&&!a&&!r)}}handleSelectAllRows(){const t=this.selectAllCheckbox;this.rowCheckboxes.forEach((s=>{s.hasAttribute("disabled")||(s.selected=t.selected,this.updateRowSelection(s))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const s=t.closest("tr");t.selected?s.setAttribute("data-selected-row",""):s.removeAttribute("data-selected-row")}nextColumn(){const t=this.tableColumns,s=this.tableContainer.getBoundingClientRect();let e=(t.find((t=>t.getBoundingClientRect().right>s.right))||t[t.length-1]).getBoundingClientRect().right-s.right;e>s.width&&(e=.9*s.width),this.tableContainer.scrollLeft+=Math.ceil(e),this.updateScrollState()}previousColumn(){const t=this.tableColumns,s=this.tableContainer.getBoundingClientRect(),e=(t.reverse().find((t=>t.getBoundingClientRect().left<s.left))||t[0]).getBoundingClientRect();let i=s.left-e.left;i>s.width&&(i=.9*s.width),this.tableContainer.scrollLeft+=-Math.ceil(i),this.updateScrollState()}updateScrollState(){const t=this.tableContainer.scrollLeft,s=this.tableContainer.scrollWidth-this.tableContainer.clientWidth;this.isScrolledToFirstCell=0===t,this.isScrolledToLastCell=s-t-this.tableScrollbarConstant<=0}checkHorizontalScroll(){const t=this.slottedTable.getBoundingClientRect().width,s=this.root.getBoundingClientRect().width;this.isHorizontalScroll=t>s}checkVerticalScroll(){const t=this.tableContainer;this.isVerticalScroll=t.scrollHeight>t.clientHeight}get tableScrollbarConstant(){const t=this.tableContainer;return t?t.offsetWidth-t.clientWidth:0}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t);const s=this.tableColumns;s.pop(),s.forEach((t=>{this.columnsWidths[t.dataset.columnName]=`${this.getElementComputedWidth(t)}px`})),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const s=this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX);this.columnsWidths[this.columnResizeState.resizableColumn.dataset.columnName]=`${s>1?s:1}px`,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,n("th",t,(s=>{this.tableColumns.length-1!==s.cellIndex&&this.isInResizeZone(t,s)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){n("th",t,(s=>{this.isInResizeZone(t,s)&&(this.columnResizeState={resizableColumn:s,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:this.getElementComputedWidth(s)})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,s){return s.getBoundingClientRect().right-t.clientX<3}getElementComputedWidth(t){return parseInt(window.getComputedStyle(t).getPropertyValue("width").split("px")[0],10)}prepareSortableColumns(){let t=[];t=document.querySelector("gux-sort-control")?this.sortControlCol:this.tableColumnsDataSortable,this.tableColumnsDataSortable.forEach((t=>{t.hasAttribute("data-sortable")&&this.prepareSortableColumnsStyles()})),t.forEach((t=>{t.onclick=s=>{if(!this.columnResizeHover){const e=s.target,i=t.hasAttribute("data-sortable")?s.currentTarget:e.parentElement;let o=null;switch(i.getAttribute("aria-sort")||""){case"":case"descending":o="ascending";break;case"ascending":o="descending"}this.guxsortchanged.emit({columnName:i.dataset.columnName,sortDirection:o})}}}))}prepareSortableColumnsStyles(){const t="gux-table-sortable-styles";if(null==document.getElementById(t)){const s=document.createElement("style");s.id=t;const e=o("./icons/arrow-solid-down.svg"),i=o("./icons/arrow-solid-up.svg"),a=this.i18n("sortAsc"),r=this.i18n("sortDesc");s.innerHTML=`\n th[data-sortable]:focus-within:after{content: "${a}";background-image: url("${e}");}\n th[aria-sort="ascending"]:after{background-image:url("${e}")!important;content:"${a}"!important;}\n th[aria-sort="descending"]:after{background-image:url("${i}")!important;content:"${r}"!important;}\n `,document.querySelector("head").appendChild(s)}}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let s="";Object.keys(this.columnsWidths).forEach((t=>{s+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])};\n min-width:${String(this.columnsWidths[t])};\n }`})),t.innerHTML=s}get isTableEmpty(){return!this.root.children[0]||this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return a(r,{"gs-table-id":this.tableId,"gs-v-scroll":this.isVerticalScroll,"gs-h-scroll":this.isHorizontalScroll,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{class:"gux-table"},a("div",{tabindex:this.isVerticalScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{name:"data"})),this.isHorizontalScroll&&a("gux-button-slot-beta",{accent:"secondary"},a("button",{class:"gux-table-scroll-left",disabled:this.isScrolledToFirstCell,onClick:!this.isScrolledToFirstCell&&this.previousColumn.bind(this)},a("gux-icon",{"icon-name":"chevron-left","screenreader-text":this.i18n("scrollLeft")}))),this.isHorizontalScroll&&a("gux-button-slot-beta",{accent:"secondary",style:{marginRight:`${this.tableScrollbarConstant}px`}},a("button",{class:"gux-table-scroll-right",disabled:this.isScrolledToLastCell,style:{marginRight:`${this.tableScrollbarConstant}px`},onClick:!this.isScrolledToLastCell&&this.nextColumn.bind(this)},a("gux-icon",{"icon-name":"chevron-right","screenreader-text":this.i18n("scrollRight")}))),this.isTableEmpty&&a("div",{class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return h(this)}};b.style=":host{display:block;isolation:isolate}:host .gux-table{position:relative;height:inherit}:host .gux-table .gux-table-scroll-left,:host .gux-table .gux-table-scroll-right{position:absolute;top:0;z-index:1;display:flex;align-items:center;justify-content:center;width:24px;min-width:0;height:40px;padding:0;color:#2e394c;cursor:pointer;border-radius:4px}:host .gux-table .gux-table-scroll-left gux-icon,:host .gux-table .gux-table-scroll-right gux-icon{width:8px;height:8px}:host .gux-table .gux-table-scroll-left{border-top-left-radius:0;border-bottom-left-radius:0}:host .gux-table .gux-table-scroll-right{right:0;border-top-right-radius:0;border-bottom-right-radius:0}:host .gux-table .gux-table-container{width:100%;max-height:100%;overflow-x:hidden;overflow-y:auto;scrollbar-color:rgba(32, 41, 55, 0.24) #fdfdfd;scrollbar-width:thin}:host .gux-table .gux-table-container::-webkit-scrollbar{width:4px}:host .gux-table .gux-table-container::-webkit-scrollbar-track{background:#fdfdfd}:host .gux-table .gux-table-container::-webkit-scrollbar-thumb{background:rgba(32, 41, 55, 0.24)}:host .gux-table .gux-table-container::-webkit-scrollbar-thumb:hover{background:rgba(32, 41, 55, 0.48)}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;height:150px;color:#596373;background:#fdfdfd;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}";export{b as gux_table_beta}
@@ -1 +1 @@
1
- import{r as o,c as e,f as t,h as i,g as d}from"./p-e571f861.js";import{O as n}from"./p-49b1912a.js";import{w as g}from"./p-76ff3e75.js";import{t as u}from"./p-3c67bb89.js";import{O as r}from"./p-35578249.js";var x=function(o,e,t,i){var d,n=arguments.length,g=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(o,e,t,i);else for(var u=o.length-1;u>=0;u--)(d=o[u])&&(g=(n<3?d(g):n>3?d(e,t,g):d(e,t))||g);return n>3&&g&&Object.defineProperty(e,t,g),g};const l=class{constructor(t){o(this,t),this.change=e(this,"change",7),this.mode="default",this.disabled=!1,this.value="",this.inputIsFocused=!1,this.valueEdited=!1}emitChange(o){this.change.emit(o)}onClickOutside(o){o.relatedTarget&&this.root.contains(o.relatedTarget)||(this.opened=!1,this.forcedGhostValue="",this.getSelectionOptions().some((o=>o.text===this.value))||(this.value=""))}async setLabeledBy(o){this.srLabeledBy=o}async setSelected(){const o=this.getSelectionOptions(),e=o.map((o=>o.selected)).lastIndexOf(!0);if(e>=0)return void(this.value=o[e].text);const t=o.find((o=>this.value===o.value));this.value=t?t.text:""}onMutation(){t(this.root),this.setSelected()}onKeyDown(o){const e=this.getSelectionOptions(),t=this.getFocusIndex(e);switch(o.key){case"ArrowUp":o.preventDefault(),t>0&&e[t-1].focus();break;case"ArrowDown":o.preventDefault(),this.inputIsFocused&&(this.opened=!0),t<e.length-1&&e[t+1].focus();break;case"Home":if(!e.length)return;e[0].focus();break;case"End":if(!e.length)return;e[e.length-1].focus();break;case"Escape":case"Tab":this.textFieldElement.focus(),this.opened=!1;break;case"Enter":case"Space":break;default:if(this.valueEdited=!0,!this.filterable){const t=e.filter((e=>e.text.startsWith(o.key)));t[0]&&t[0].focus()}}}setValue(o,e){this.value=o,this.opened=!1,this.valueEdited=!1,this.emitChange(e)}_clickHandler(){this.disabled||(this.opened=!this.opened)}_focusHandler(){this.inputIsFocused=!0}_optionFocusedHandler(o){g("gux-option-legacy",o,(o=>{this.forcedGhostValue=this.value+o.text.substring(this.value.length)}))}optionSelectedHandler(o){g("gux-option-legacy",o,(o=>{const e=o;this.getSelectionOptions().forEach((o=>{o===e?(o.selected=!0,this.setValue(o.text,o.value||o.text)):o.selected=!1}))}))}optionKeyDownHandler(o){" "!==o.key&&"Enter"!==o.key||this.optionSelectedHandler(o)}_blurHandler(){this.inputIsFocused=!1,this.forcedGhostValue=""}_inputHandler(o){this.value=o.target.value,this.opened=!0}getFilteredItems(){const o=this.getSelectionOptions();return this.filterable?o.filter((o=>o.text.toLowerCase().startsWith(this.value.toLowerCase()))):o}getSuggestionText(o=""){this.searchHighlightAndFilter(this.value);const e=o.length,t=this.getFilteredItems().length?this.getFilteredItems()[0].text:"";if(e>0){const o=t;if(o)return this.opened&&this.filterable?o.substring(e):""}return""}componentWillLoad(){u(this.root,{variant:this.filterable?"filterable":"full"})}componentDidLoad(){this.setSelected(),this.filterable||(this.textFieldElement.readOnly=!0)}getSelectionOptions(){const o=[],e=this.root.getElementsByClassName("gux-options")[0];return e?(Array.from(e.children).forEach((e=>{e.matches("gux-option-legacy")&&o.push(e)})),o):[]}render(){return i("div",{class:`gux-dropdown gux-${this.mode} ${this.disabled?"gux-disabled":""} ${this.opened?"gux-active":""}`,onKeyDown:o=>this.onKeyDown(o)},i("div",{class:"gux-select-field"},i("span",{class:"gux-filter-suggestion "+(this.opened?"gux-active":""),"aria-hidden":"true"},i("span",{class:"gux-filter-text"},this.value),i("span",{class:"gux-filter-typeahead"},this.getSuggestionText(this.value))),i("gux-input-text-like",null,i("input",{placeholder:this.placeholder,slot:"input",value:this.value,"aria-labelledby":this.srLabeledBy,disabled:this.disabled,ref:o=>this.textFieldElement=o,onMouseDown:()=>{this._clickHandler()},onFocus:()=>{this._focusHandler()},onBlur:()=>{this._blurHandler()},onInput:o=>{this._inputHandler(o)}})),i("button",{class:"gux-dropdown-indicator","aria-hidden":"true",tabindex:"-1",type:"button"},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"}))),i("div",{class:"gux-options "+(this.opened?"gux-opened":""),onClick:this.optionSelectedHandler.bind(this),onFocusin:this._optionFocusedHandler.bind(this),onKeyDown:this.optionKeyDownHandler.bind(this)},i("slot",null)))}getFocusIndex(o){return o.findIndex((o=>o.matches(":focus")))}searchHighlightAndFilter(o){const e=this.getSelectionOptions();if(e)for(const t of e)t.shouldFilter(o).then((o=>{this.filterable&&o&&this.valueEdited?t.classList.add("gux-filtered"):t.classList.remove("gux-filtered")}))}get root(){return d(this)}};x([n({triggerEvents:"mousedown"})],l.prototype,"onClickOutside",null),x([r({childList:!0,subtree:!0})],l.prototype,"onMutation",null),l.style="gux-dropdown-legacy .gux-hidden{display:none}gux-dropdown-legacy div.gux-dropdown{position:relative;margin:4px 0}gux-dropdown-legacy div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-legacy div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion{position:absolute;box-sizing:border-box;width:100%;height:32px;padding:6px 25px 6px 14px;overflow:hidden;font-size:12px;line-height:1.6667;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-text{color:#2e394c}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-typeahead{color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like>div{margin:0}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like input{width:100%;padding-right:25px;font-size:12px;text-overflow:ellipsis;cursor:pointer;background-color:transparent}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like.gux-unclearable button{display:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator gux-icon{width:16px;height:16px;color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field:hover button.gux-dropdown-indicator gux-icon,gux-dropdown-legacy div.gux-dropdown .gux-select-field:focus-within button.gux-dropdown-indicator gux-icon{color:#2e394c}gux-dropdown-legacy div.gux-dropdown .gux-options{position:absolute;z-index:1;display:none;width:100%;padding:8px 0;margin-top:2px;overflow-y:auto;color:#2e394c;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-dropdown-legacy div.gux-dropdown .gux-options.gux-opened{display:block}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy{position:relative;display:flex;height:32px;padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy>div{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy>div .gux-filter-suggestion{position:absolute}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy.gux-filtered{display:none}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled])[selected]{color:#2e394c;background:#deeaff}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled]):hover,gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled]):focus{color:#fdfdfd;background:#2a60c8}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field{height:48px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{height:48px;padding:2px 25px 4px 11px;overflow:hidden;line-height:1.6667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like div.gux-input-container{height:48px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px;height:48px;line-height:1.6667;color:transparent;border:none;border-bottom:2px solid transparent;caret-color:#2e394c}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown-legacy div.gux-dropdown.gux-page.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field{height:52px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{height:52px;padding:9px 25px 4px 11px;overflow:hidden;line-height:1.6667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like div.gux-input-container{height:52px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px;height:52px;line-height:1.6667;border:none;border-bottom:2px solid transparent}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown-legacy div.gux-dropdown.gux-palette.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown-legacy:hover gux-icon,gux-dropdown-legacy:focus gux-icon{color:#2e394c}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#596373}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#2e394c;border-color:#6b7585}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#596373}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}.gux-dropdown-light-theme div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}.gux-dropdown-light-theme div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#2e394c;border-color:#6b7585}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#596373}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}gux-dropdown-legacy div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}gux-dropdown-legacy div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}";export{l as gux_dropdown_legacy}
1
+ import{r as o,c as e,f as t,h as i,g as d}from"./p-e571f861.js";import{O as n}from"./p-49b1912a.js";import{w as g}from"./p-76ff3e75.js";import{t as u}from"./p-6ea97636.js";import{O as r}from"./p-35578249.js";var x=function(o,e,t,i){var d,n=arguments.length,g=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(o,e,t,i);else for(var u=o.length-1;u>=0;u--)(d=o[u])&&(g=(n<3?d(g):n>3?d(e,t,g):d(e,t))||g);return n>3&&g&&Object.defineProperty(e,t,g),g};const l=class{constructor(t){o(this,t),this.change=e(this,"change",7),this.mode="default",this.disabled=!1,this.value="",this.inputIsFocused=!1,this.valueEdited=!1}emitChange(o){this.change.emit(o)}onClickOutside(o){o.relatedTarget&&this.root.contains(o.relatedTarget)||(this.opened=!1,this.forcedGhostValue="",this.getSelectionOptions().some((o=>o.text===this.value))||(this.value=""))}async setLabeledBy(o){this.srLabeledBy=o}async setSelected(){const o=this.getSelectionOptions(),e=o.map((o=>o.selected)).lastIndexOf(!0);if(e>=0)return void(this.value=o[e].text);const t=o.find((o=>this.value===o.value));this.value=t?t.text:""}onMutation(){t(this.root),this.setSelected()}onKeyDown(o){const e=this.getSelectionOptions(),t=this.getFocusIndex(e);switch(o.key){case"ArrowUp":o.preventDefault(),t>0&&e[t-1].focus();break;case"ArrowDown":o.preventDefault(),this.inputIsFocused&&(this.opened=!0),t<e.length-1&&e[t+1].focus();break;case"Home":if(!e.length)return;e[0].focus();break;case"End":if(!e.length)return;e[e.length-1].focus();break;case"Escape":case"Tab":this.textFieldElement.focus(),this.opened=!1;break;case"Enter":case"Space":break;default:if(this.valueEdited=!0,!this.filterable){const t=e.filter((e=>e.text.startsWith(o.key)));t[0]&&t[0].focus()}}}setValue(o,e){this.value=o,this.opened=!1,this.valueEdited=!1,this.emitChange(e)}_clickHandler(){this.disabled||(this.opened=!this.opened)}_focusHandler(){this.inputIsFocused=!0}_optionFocusedHandler(o){g("gux-option-legacy",o,(o=>{this.forcedGhostValue=this.value+o.text.substring(this.value.length)}))}optionSelectedHandler(o){g("gux-option-legacy",o,(o=>{const e=o;this.getSelectionOptions().forEach((o=>{o===e?(o.selected=!0,this.setValue(o.text,o.value||o.text)):o.selected=!1}))}))}optionKeyDownHandler(o){" "!==o.key&&"Enter"!==o.key||this.optionSelectedHandler(o)}_blurHandler(){this.inputIsFocused=!1,this.forcedGhostValue=""}_inputHandler(o){this.value=o.target.value,this.opened=!0}getFilteredItems(){const o=this.getSelectionOptions();return this.filterable?o.filter((o=>o.text.toLowerCase().startsWith(this.value.toLowerCase()))):o}getSuggestionText(o=""){this.searchHighlightAndFilter(this.value);const e=o.length,t=this.getFilteredItems().length?this.getFilteredItems()[0].text:"";if(e>0){const o=t;if(o)return this.opened&&this.filterable?o.substring(e):""}return""}componentWillLoad(){u(this.root,{variant:this.filterable?"filterable":"full"})}componentDidLoad(){this.setSelected(),this.filterable||(this.textFieldElement.readOnly=!0)}getSelectionOptions(){const o=[],e=this.root.getElementsByClassName("gux-options")[0];return e?(Array.from(e.children).forEach((e=>{e.matches("gux-option-legacy")&&o.push(e)})),o):[]}render(){return i("div",{class:`gux-dropdown gux-${this.mode} ${this.disabled?"gux-disabled":""} ${this.opened?"gux-active":""}`,onKeyDown:o=>this.onKeyDown(o)},i("div",{class:"gux-select-field"},i("span",{class:"gux-filter-suggestion "+(this.opened?"gux-active":""),"aria-hidden":"true"},i("span",{class:"gux-filter-text"},this.value),i("span",{class:"gux-filter-typeahead"},this.getSuggestionText(this.value))),i("gux-input-text-like",null,i("input",{placeholder:this.placeholder,slot:"input",value:this.value,"aria-labelledby":this.srLabeledBy,disabled:this.disabled,ref:o=>this.textFieldElement=o,onMouseDown:()=>{this._clickHandler()},onFocus:()=>{this._focusHandler()},onBlur:()=>{this._blurHandler()},onInput:o=>{this._inputHandler(o)}})),i("button",{class:"gux-dropdown-indicator","aria-hidden":"true",tabindex:"-1",type:"button"},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"}))),i("div",{class:"gux-options "+(this.opened?"gux-opened":""),onClick:this.optionSelectedHandler.bind(this),onFocusin:this._optionFocusedHandler.bind(this),onKeyDown:this.optionKeyDownHandler.bind(this)},i("slot",null)))}getFocusIndex(o){return o.findIndex((o=>o.matches(":focus")))}searchHighlightAndFilter(o){const e=this.getSelectionOptions();if(e)for(const t of e)t.shouldFilter(o).then((o=>{this.filterable&&o&&this.valueEdited?t.classList.add("gux-filtered"):t.classList.remove("gux-filtered")}))}get root(){return d(this)}};x([n({triggerEvents:"mousedown"})],l.prototype,"onClickOutside",null),x([r({childList:!0,subtree:!0})],l.prototype,"onMutation",null),l.style="gux-dropdown-legacy .gux-hidden{display:none}gux-dropdown-legacy div.gux-dropdown{position:relative;margin:4px 0}gux-dropdown-legacy div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-legacy div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion{position:absolute;box-sizing:border-box;width:100%;height:32px;padding:6px 25px 6px 14px;overflow:hidden;font-size:12px;line-height:1.6667;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-text{color:#2e394c}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-typeahead{color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like>div{margin:0}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like input{width:100%;padding-right:25px;font-size:12px;text-overflow:ellipsis;cursor:pointer;background-color:transparent}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like.gux-unclearable button{display:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator gux-icon{width:16px;height:16px;color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field:hover button.gux-dropdown-indicator gux-icon,gux-dropdown-legacy div.gux-dropdown .gux-select-field:focus-within button.gux-dropdown-indicator gux-icon{color:#2e394c}gux-dropdown-legacy div.gux-dropdown .gux-options{position:absolute;z-index:1;display:none;width:100%;padding:8px 0;margin-top:2px;overflow-y:auto;color:#2e394c;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-dropdown-legacy div.gux-dropdown .gux-options.gux-opened{display:block}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy{position:relative;display:flex;height:32px;padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy>div{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy>div .gux-filter-suggestion{position:absolute}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy.gux-filtered{display:none}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled])[selected]{color:#2e394c;background:#deeaff}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled]):hover,gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled]):focus{color:#fdfdfd;background:#2a60c8}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field{height:48px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{height:48px;padding:2px 25px 4px 11px;overflow:hidden;line-height:1.6667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like div.gux-input-container{height:48px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px;height:48px;line-height:1.6667;color:transparent;border:none;border-bottom:2px solid transparent;caret-color:#2e394c}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown-legacy div.gux-dropdown.gux-page.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field{height:52px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{height:52px;padding:9px 25px 4px 11px;overflow:hidden;line-height:1.6667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like div.gux-input-container{height:52px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px;height:52px;line-height:1.6667;border:none;border-bottom:2px solid transparent}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown-legacy div.gux-dropdown.gux-palette.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown-legacy:hover gux-icon,gux-dropdown-legacy:focus gux-icon{color:#2e394c}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#596373}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#2e394c;border-color:#6b7585}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#596373}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}.gux-dropdown-light-theme div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}.gux-dropdown-light-theme div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#2e394c;border-color:#6b7585}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#596373}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}gux-dropdown-legacy div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}gux-dropdown-legacy div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}";export{l as gux_dropdown_legacy}
@@ -1 +1 @@
1
- import{r as t,h as e,g as i}from"./p-e571f861.js";import{t as a}from"./p-3c67bb89.js";import{l as s}from"./p-3184268e.js";import{V as r}from"./p-5cacdfc9.js";const n=class{constructor(e){t(this,e),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",config:{legend:{symbolType:"circle"}},encoding:{theta:{field:"value",type:"quantitative",stack:!0},color:{field:"category",type:"nominal",scale:{range:r},legend:null}},layer:[{mark:{type:"arc",outerRadius:80}},{mark:{type:"text",radius:90},encoding:{text:{field:"value",type:"quantitative"}}}],view:{stroke:null}},this.legendPosition="right",this.showTooltip=!0}parseData(){this.outerRadius||this.innerRadius||s("gux-chart-donut","[gux-chart-donut] requires at least one of outer-radius or inner-radius");let t={};this.chartData&&(t={data:this.chartData}),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition),this.includeLegend?(this.baseChartSpec.encoding.color.legend={},(this.legendX||this.legendY)&&(this.baseChartSpec.config.legend.orient="none",this.legendX&&(this.baseChartSpec.encoding.color.legend.legendX=this.legendX),this.legendY&&(this.baseChartSpec.encoding.color.legend.legendY=this.legendY)),this.legendFontSize&&(this.baseChartSpec.encoding.color.legend.labelFontSize=this.legendFontSize),this.legendSymbolSize&&(this.baseChartSpec.encoding.color.legend.symbolSize=this.legendSymbolSize)):this.baseChartSpec.encoding.color.legend=null;const e=this.colorFieldName||"category";e&&(this.baseChartSpec.encoding.color.field=e);this.baseChartSpec.encoding.color.title=this.legendTitle||"";let i=this.outerRadius,a=this.innerRadius;i||(i=a+32),a||(a=i-32);let r=1;this.gauge?(this.baseChartSpec.layer=[{data:{values:[{progress:"default",value:100}]},mark:{type:"arc",innerRadius:a},encoding:{theta:{field:"value",type:"quantitative"},color:{value:"#E4E9F0"},tooltip:null}},{mark:{type:"arc",outerRadius:i,innerRadius:a,padAngle:.01}},{mark:{type:"arc",innerRadius:a,padAngle:.01}}],r=2):this.baseChartSpec.layer=[{mark:{type:"arc",outerRadius:i,innerRadius:a}},{mark:{type:"arc",innerRadius:a,stroke:"#fff"}}];const n=this.centerText;n&&this.baseChartSpec.layer.push({data:{values:[{centerText:n,value:0}]},mark:{align:"center",type:"text",baseline:"middle"},encoding:{color:{value:"#4C5054"},text:{field:"centerText"},size:{value:{expr:"height * 0.09"}},tooltip:null}});const h=this.centerSubText;h&&this.baseChartSpec.layer.push({data:{values:[{centerSubText:h,value:0}]},mark:{align:"center",type:"text",baseline:"middle",y:{expr:"height/2 + 20"}},encoding:{color:{value:"#6A6D70"},text:{field:"centerSubText"},size:{value:{expr:"height * 0.06"}},tooltip:null}});const o=this.labelRadius,l=this.labelField||"value";o&&this.baseChartSpec.layer.push({mark:{type:"text",radius:o},encoding:{text:{field:l,type:"quantitative"}}}),this.showTooltip&&(this.tooltipOptions?(this.baseChartSpec.layer[r].mark.tooltip={content:"data"},this.tooltipSpec={actions:!1,tooltip:this.tooltipOptions}):this.baseChartSpec.encoding.tooltip={field:l,aggregate:"count",type:"quantitative"});const u=Object.assign(this.baseChartSpec,t);this.visualizationSpec=u}componentWillLoad(){a(this.root),this.parseData()}render(){return e("gux-visualization-beta",{visualizationSpec:this.visualizationSpec,embedOptions:this.tooltipSpec})}get root(){return i(this)}static get watchers(){return{chartData:["parseData"]}}};n.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{n as gux_chart_donut_beta}
1
+ import{r as t,h as e,g as i}from"./p-e571f861.js";import{t as a}from"./p-6ea97636.js";import{l as s}from"./p-3184268e.js";import{V as r}from"./p-5cacdfc9.js";const n=class{constructor(e){t(this,e),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",config:{legend:{symbolType:"circle"}},encoding:{theta:{field:"value",type:"quantitative",stack:!0},color:{field:"category",type:"nominal",scale:{range:r},legend:null}},layer:[{mark:{type:"arc",outerRadius:80}},{mark:{type:"text",radius:90},encoding:{text:{field:"value",type:"quantitative"}}}],view:{stroke:null}},this.legendPosition="right",this.showTooltip=!0}parseData(){this.outerRadius||this.innerRadius||s("gux-chart-donut","[gux-chart-donut] requires at least one of outer-radius or inner-radius");let t={};this.chartData&&(t={data:this.chartData}),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition),this.includeLegend?(this.baseChartSpec.encoding.color.legend={},(this.legendX||this.legendY)&&(this.baseChartSpec.config.legend.orient="none",this.legendX&&(this.baseChartSpec.encoding.color.legend.legendX=this.legendX),this.legendY&&(this.baseChartSpec.encoding.color.legend.legendY=this.legendY)),this.legendFontSize&&(this.baseChartSpec.encoding.color.legend.labelFontSize=this.legendFontSize),this.legendSymbolSize&&(this.baseChartSpec.encoding.color.legend.symbolSize=this.legendSymbolSize)):this.baseChartSpec.encoding.color.legend=null;const e=this.colorFieldName||"category";e&&(this.baseChartSpec.encoding.color.field=e);this.baseChartSpec.encoding.color.title=this.legendTitle||"";let i=this.outerRadius,a=this.innerRadius;i||(i=a+32),a||(a=i-32);let r=1;this.gauge?(this.baseChartSpec.layer=[{data:{values:[{progress:"default",value:100}]},mark:{type:"arc",innerRadius:a},encoding:{theta:{field:"value",type:"quantitative"},color:{value:"#E4E9F0"},tooltip:null}},{mark:{type:"arc",outerRadius:i,innerRadius:a,padAngle:.01}},{mark:{type:"arc",innerRadius:a,padAngle:.01}}],r=2):this.baseChartSpec.layer=[{mark:{type:"arc",outerRadius:i,innerRadius:a}},{mark:{type:"arc",innerRadius:a,stroke:"#fff"}}];const n=this.centerText;n&&this.baseChartSpec.layer.push({data:{values:[{centerText:n,value:0}]},mark:{align:"center",type:"text",baseline:"middle"},encoding:{color:{value:"#4C5054"},text:{field:"centerText"},size:{value:{expr:"height * 0.09"}},tooltip:null}});const h=this.centerSubText;h&&this.baseChartSpec.layer.push({data:{values:[{centerSubText:h,value:0}]},mark:{align:"center",type:"text",baseline:"middle",y:{expr:"height/2 + 20"}},encoding:{color:{value:"#6A6D70"},text:{field:"centerSubText"},size:{value:{expr:"height * 0.06"}},tooltip:null}});const o=this.labelRadius,l=this.labelField||"value";o&&this.baseChartSpec.layer.push({mark:{type:"text",radius:o},encoding:{text:{field:l,type:"quantitative"}}}),this.showTooltip&&(this.tooltipOptions?(this.baseChartSpec.layer[r].mark.tooltip={content:"data"},this.tooltipSpec={actions:!1,tooltip:this.tooltipOptions}):this.baseChartSpec.encoding.tooltip={field:l,aggregate:"count",type:"quantitative"});const u=Object.assign(this.baseChartSpec,t);this.visualizationSpec=u}componentWillLoad(){a(this.root),this.parseData()}render(){return e("gux-visualization-beta",{visualizationSpec:this.visualizationSpec,embedOptions:this.tooltipSpec})}get root(){return i(this)}static get watchers(){return{chartData:["parseData"]}}};n.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{n as gux_chart_donut_beta}
@@ -1 +1 @@
1
- import{r as o,h as t,g as r}from"./p-e571f861.js";import{t as e}from"./p-3c67bb89.js";const s=class{constructor(t){o(this,t),this.accent="outline"}componentWillLoad(){e(this.root)}render(){return t("slot",null)}get root(){return r(this)}};s.style=":host{box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;width:fit-content;padding:16px;background-color:#fdfdfd;border:1px solid #e2e6ee;border-radius:4px}:host([accent='outline']){background-color:#fdfdfd}:host([accent='filled']){background-color:#f6f7f9}:host([accent='raised']){box-shadow:0 0 2px rgba(32, 41, 55, 0.16)}";export{s as gux_card_beta}
1
+ import{r as o,h as t,g as r}from"./p-e571f861.js";import{t as e}from"./p-6ea97636.js";const s=class{constructor(t){o(this,t),this.accent="outline"}componentWillLoad(){e(this.root)}render(){return t("slot",null)}get root(){return r(this)}};s.style=":host{box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;width:fit-content;padding:16px;background-color:#fdfdfd;border:1px solid #e2e6ee;border-radius:4px}:host([accent='outline']){background-color:#fdfdfd}:host([accent='filled']){background-color:#f6f7f9}:host([accent='raised']){box-shadow:0 0 2px rgba(32, 41, 55, 0.16)}";export{s as gux_card_beta}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e,g as s}from"./p-e571f861.js";import{t as o}from"./p-6ea97636.js";import{b as n}from"./p-2fb2e5b0.js";import"./p-8a133b9b.js";const r={previous:"Previous",next:"Next"},a=class{constructor(e){t(this,e),this.guxPaginationCursorchange=i(this,"guxPaginationCursorchange",7),this.hasPrevious=!1,this.hasNext=!1}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){o(this.root),this.i18n=await n(this.root,r)}render(){return[e("gux-button-slot-beta",{accent:"secondary"},e("button",{type:"button",title:this.i18n("previous"),disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},e("gux-icon",{decorative:!0,iconName:"ic-chevron-small-left"}))),e("gux-button-slot-beta",{accent:"secondary"},e("button",{type:"button",title:this.i18n("next"),disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},e("gux-icon",{decorative:!0,iconName:"ic-chevron-small-right"})))]}get root(){return s(this)}};a.style=":host{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:space-between}";export{a as gux_pagination_cursor}
@@ -1 +1 @@
1
- import{r as t,c as n,h as e,g as i}from"./p-e571f861.js";import{t as o}from"./p-3c67bb89.js";import{b as a}from"./p-2fb2e5b0.js";import{o as s}from"./p-e2bea786.js";import"./p-8a133b9b.js";const r={eraseBtnAria:"Clear",navigateNextBtn:"Next",navigatePreviousBtn:"Previous",totalMatches:"{currentMatch, number} of {matchCount, number}"},c=class{constructor(e){t(this,e),this.guxcurrentmatchchanged=n(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0}async clear(){this.disabled||(this.matchCount=0,this.currentMatch=0,this.value="",this.emitCurrentMatchChanged(),this.resetInputSlottedElement())}async componentWillLoad(){o(this.root),this.i18n=await a(this.root,r),this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=s(this.inputSlottedElement,(t=>{this.disabled=t})),this.inputSlottedElement.addEventListener("input",(t=>this.onInput(t)))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return e("div",{class:{"gux-content-search":!0,"gux-disabled":this.disabled}},e("div",{class:"gux-search-icon"},e("gux-icon",{decorative:!0,"icon-name":"search"})),e("slot",null),this.getNavigationPanel())}getNavigationPanel(){if(this.showNavigationPanel()){const t=this.disableNavigationPanel();return e("div",{class:"gux-content-control-panel"},e("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":t},title:this.matchCountResult()},e("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":t},"aria-label":this.matchCountResult()},this.matchCountResult()),e("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:()=>this.previousClick(),disabled:t},e("gux-icon",{decorative:!0,"icon-name":"arrow-solid-up"})),e("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:()=>this.nextClick(),disabled:t},e("gux-icon",{decorative:!0,"icon-name":"arrow-solid-down"}))),e("button",{type:"button",class:"gux-clear-button",title:this.i18n("eraseBtnAria"),"aria-label":this.i18n("eraseBtnAria"),onClick:()=>this.clear(),disabled:this.disabled},e("gux-icon",{decorative:!0,"icon-name":"close"})))}return null}matchCountResult(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}showNavigationPanel(){return""!==this.value}disableNavigationPanel(){return this.disabled||this.getNormalizedMatchCount()<=0}getNormalizedMatchCount(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}getNormalizedCurrentMatch(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}resetInputSlottedElement(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}nextClick(){this.disableNavigationPanel()||(this.currentMatch=this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?1:this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}previousClick(){this.disableNavigationPanel()||(this.currentMatch=1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.getNormalizedMatchCount():this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}onInput(t){this.value=t.target.value}emitCurrentMatchChanged(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}get root(){return i(this)}};c.style=":host{display:inline-block;width:300px;min-width:300px;color:#596373}::slotted(input){box-sizing:border-box;width:100%;height:32px;padding:4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;background-color:#fdfdfd;background-image:none;border:1px solid #6b7585;border-radius:2px;flex-basis:100%;flex-shrink:1;min-width:0;height:22px;padding:0;color:#2e394c;background-color:#f6f7f9;border:0;border-radius:0;outline:none}::slotted(input)::placeholder{color:#596373}::slotted(input).gux-focused,::slotted(input):focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}::slotted(input).gux-focused,::slotted(input):focus{border:0;outline:none;box-shadow:none}.gux-content-search{box-sizing:border-box;display:flex;flex-direction:row;width:100%;height:32px;padding:4px 0 4px 0;margin:4px 0;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-content-search.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search:focus,.gux-content-search:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}.gux-content-search .gux-search-icon{display:flex;flex-shrink:0;align-items:center;padding:0 4px 0 8px}.gux-content-search .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search .gux-search-icon gux-icon{width:16px;height:16px}.gux-content-search .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;align-content:center;align-items:center;justify-content:flex-end;height:22px;padding:0;line-height:1.6667}.gux-content-search .gux-content-control-panel button{display:block;align-items:center;overflow:hidden;color:#596373;cursor:pointer;background:none;border:none;border-radius:4px;outline:none}.gux-content-search .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search .gux-content-control-panel button:not(:disabled):hover,.gux-content-search .gux-content-control-panel button:not(:disabled):focus{color:#2e394c}.gux-content-search .gux-content-control-panel button:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-content-search .gux-content-control-panel button gux-icon{width:16px;height:16px}.gux-content-search .gux-content-control-panel .gux-clear-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:8px;margin-left:8px}.gux-content-search .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:0.5}.gux-content-search .gux-content-control-panel .gux-navigation-panel{display:flex;align-content:center;align-items:center;justify-content:flex-end;border-right:1px solid #596373}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;padding-left:8px;font-family:inherit;font-size:12px;white-space:nowrap}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-left:4px}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:4px}";export{c as gux_content_search}
1
+ import{r as t,c as n,h as e,g as i}from"./p-e571f861.js";import{t as o}from"./p-6ea97636.js";import{b as a}from"./p-2fb2e5b0.js";import{o as s}from"./p-e2bea786.js";import"./p-8a133b9b.js";const r={eraseBtnAria:"Clear",navigateNextBtn:"Next",navigatePreviousBtn:"Previous",totalMatches:"{currentMatch, number} of {matchCount, number}"},c=class{constructor(e){t(this,e),this.guxcurrentmatchchanged=n(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0}async clear(){this.disabled||(this.matchCount=0,this.currentMatch=0,this.value="",this.emitCurrentMatchChanged(),this.resetInputSlottedElement())}async componentWillLoad(){o(this.root),this.i18n=await a(this.root,r),this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=s(this.inputSlottedElement,(t=>{this.disabled=t})),this.inputSlottedElement.addEventListener("input",(t=>this.onInput(t)))}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return e("div",{class:{"gux-content-search":!0,"gux-disabled":this.disabled}},e("div",{class:"gux-search-icon"},e("gux-icon",{decorative:!0,"icon-name":"search"})),e("slot",null),this.getNavigationPanel())}getNavigationPanel(){if(this.showNavigationPanel()){const t=this.disableNavigationPanel();return e("div",{class:"gux-content-control-panel"},e("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":t},title:this.matchCountResult()},e("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":t},"aria-label":this.matchCountResult()},this.matchCountResult()),e("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:()=>this.previousClick(),disabled:t},e("gux-icon",{decorative:!0,"icon-name":"arrow-solid-up"})),e("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:()=>this.nextClick(),disabled:t},e("gux-icon",{decorative:!0,"icon-name":"arrow-solid-down"}))),e("button",{type:"button",class:"gux-clear-button",title:this.i18n("eraseBtnAria"),"aria-label":this.i18n("eraseBtnAria"),onClick:()=>this.clear(),disabled:this.disabled},e("gux-icon",{decorative:!0,"icon-name":"close"})))}return null}matchCountResult(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}showNavigationPanel(){return""!==this.value}disableNavigationPanel(){return this.disabled||this.getNormalizedMatchCount()<=0}getNormalizedMatchCount(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}getNormalizedCurrentMatch(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}resetInputSlottedElement(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}nextClick(){this.disableNavigationPanel()||(this.currentMatch=this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?1:this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}previousClick(){this.disableNavigationPanel()||(this.currentMatch=1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.getNormalizedMatchCount():this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}onInput(t){this.value=t.target.value}emitCurrentMatchChanged(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}get root(){return i(this)}};c.style=":host{display:inline-block;width:300px;min-width:300px;color:#596373}::slotted(input){box-sizing:border-box;width:100%;height:32px;padding:4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;background-color:#fdfdfd;background-image:none;border:1px solid #6b7585;border-radius:2px;flex-basis:100%;flex-shrink:1;min-width:0;height:22px;padding:0;color:#2e394c;background-color:#f6f7f9;border:0;border-radius:0;outline:none}::slotted(input)::placeholder{color:#596373}::slotted(input).gux-focused,::slotted(input):focus{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px rgba(170, 201, 255, 0.5)}::slotted(input).gux-focused,::slotted(input):focus{border:0;outline:none;box-shadow:none}.gux-content-search{box-sizing:border-box;display:flex;flex-direction:row;width:100%;height:32px;padding:4px 0 4px 0;margin:4px 0;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-content-search.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search:focus,.gux-content-search:focus-within{border:1px solid #2a60c8;outline:none;box-shadow:0 0 4px #75a8ff}.gux-content-search .gux-search-icon{display:flex;flex-shrink:0;align-items:center;padding:0 4px 0 8px}.gux-content-search .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search .gux-search-icon gux-icon{width:16px;height:16px}.gux-content-search .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;align-content:center;align-items:center;justify-content:flex-end;height:22px;padding:0;line-height:1.6667}.gux-content-search .gux-content-control-panel button{display:block;align-items:center;overflow:hidden;color:#596373;cursor:pointer;background:none;border:none;border-radius:4px;outline:none}.gux-content-search .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-content-search .gux-content-control-panel button:not(:disabled):hover,.gux-content-search .gux-content-control-panel button:not(:disabled):focus{color:#2e394c}.gux-content-search .gux-content-control-panel button:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-content-search .gux-content-control-panel button gux-icon{width:16px;height:16px}.gux-content-search .gux-content-control-panel .gux-clear-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:8px;margin-left:8px}.gux-content-search .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:0.5}.gux-content-search .gux-content-control-panel .gux-navigation-panel{display:flex;align-content:center;align-items:center;justify-content:flex-end;border-right:1px solid #596373}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;padding-left:8px;font-family:inherit;font-size:12px;white-space:nowrap}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-left:4px}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center;padding-right:0;padding-left:0;margin-right:4px}";export{c as gux_content_search}
@@ -1 +1 @@
1
- import{r as e,h as t,g as r}from"./p-e571f861.js";import{O as i}from"./p-35578249.js";import{r as n}from"./p-cbcbd1bb.js";import{l as a}from"./p-3184268e.js";import{a as s}from"./p-e2bea786.js";import{p as o}from"./p-c10e41a9.js";import{t as l}from"./p-3c67bb89.js";const u=class{constructor(t){e(this,t),this.errorId=n("gux-form-field-error"),this.labelId=n("gux-form-field-label"),this.defaultInputId=n("gux-form-field"),this.computedLabelPosition="above",this.required=!0,this.hasError=!1}onMutation(){this.hasError=Boolean(this.root.querySelector('[slot="error"]'))}componentWillLoad(){this.input=this.root.querySelector('input[slot="input"], select[slot="input"], textarea[slot="input"]'),this.label=this.root.querySelector('label[slot="label"]'),this.slottedElementType=this.input.tagName.toLowerCase(),this.required=this.input.required,this.requiredObserver=s(this.input,(e=>{this.required=e})),o(this.input);const e=this.labelPosition?this.labelPosition.toLowerCase():"none";if("input"===this.slottedElementType){const t=this.input.getAttribute("type");l(this.root,{variant:`${this.slottedElementType}-${t}-${e}`})}else l(this.root,{variant:`${this.slottedElementType}-${e}`})}componentWillRender(){this.computedLabelPosition=this.getComputedLabelPosition(this.label,this.labelPosition),this.validateFormIds()}disconnectedCallback(){this.requiredObserver.disconnect()}renderInputCheckbox(e){return t("div",null,t("gux-input-checkbox",{class:{"gux-input-error":e}},t("slot",{name:"input"}),t("slot",{name:"label"})),this.renderError(e))}renderInputRadio(){return t("gux-input-radio",null,t("slot",{name:"input"}),t("slot",{name:"label"}))}renderInputColor(e){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-color",{"gux-label-describedby":this.labelId,"gux-error-describedby":this.errorId,"gux-required":this.required,class:{"gux-input-error":e}},t("slot",{name:"input"})),this.renderError(e)))}renderInputRange(e,r){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("gux-input-range",{"display-units":e,"value-in-tooltip":r},t("slot",{name:"input"})))}renderInputNumber(e,r){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-number",{class:{"gux-input-error":r},slot:"input",clearable:e},t("slot",{name:"input"})),this.renderError(r)))}renderInputSelect(e){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-select",{slot:"input",class:{"gux-input-error":e}},t("slot",{name:"input"})),this.renderError(e)))}renderInputTextLike(e,r){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-text-like",{class:{"gux-input-error":r},slot:"input",clearable:e},t("slot",{name:"input"})),this.renderError(r)))}renderInputSearch(e){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-search",null,t("slot",{name:"input"})),this.renderError(e)))}renderInputTextArea(e){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-textarea",{class:{"gux-input-error":e},slot:"input",resize:this.resize},t("slot",{name:"input"})),this.renderError(e)))}render(){const e=this.input.getAttribute("type");switch(this.slottedElementType){case"input":switch(e){case"checkbox":return this.renderInputCheckbox(this.hasError);case"radio":return this.renderInputRadio();case"color":return this.renderInputColor(this.hasError);case"range":return this.renderInputRange(this.displayUnits,this.valueInTooltip);case"email":case"password":case"text":return this.renderInputTextLike(this.clearable,this.hasError);case"number":return this.renderInputNumber(this.clearable,this.hasError);case"search":return this.renderInputSearch(this.hasError);default:return t("div",null,t("slot",{name:"label"}),t("slot",{name:"input"}),t("slot",{name:"error"}))}case"select":return this.renderInputSelect(this.hasError);case"textarea":return this.renderInputTextArea(this.hasError);default:return t("div",null,t("slot",{name:"label"}),t("slot",{name:"input"}),t("slot",{name:"error"}))}}validateFormIds(){if(this.label){if("color"===this.input.getAttribute("type"))return this.label.getAttribute("id")&&(this.labelId=this.label.getAttribute("id")),void this.label.setAttribute("id",this.labelId);const e=!!this.input.hasAttribute("id"),t=!!this.label.hasAttribute("for");if(!e&&t)a("gux-form-field",'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(e)if(e&&!t){const e=this.input.getAttribute("id");this.label.setAttribute("for",e)}else e&&t&&this.input.getAttribute("id")!==this.label.getAttribute("for")&&a("gux-form-field","The input id and label for attribute should match.");else this.input.setAttribute("id",this.defaultInputId),this.label.setAttribute("for",this.defaultInputId)}else a("gux-form-field",'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');this.hasErrorSlot()?this.input.setAttribute("aria-describedby",this.errorId):this.input.getAttribute("aria-describedby")&&this.input.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&this.input.removeAttribute("aria-describedby")}getComputedLabelPosition(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}hasErrorSlot(){return!!this.root.querySelector('[slot="error"]')}renderLabel(e){return t("div",{class:{"gux-label-container":!0,"gux-required":e}},t("slot",{name:"label",slot:"label"}))}renderError(e){return t("div",{id:this.errorId,class:{"gux-error":!0,"gux-show":e}},t("gux-error-message-beta",null,t("slot",{name:"error"})))}get root(){return r(this)}};(function(e,t,r,i){var n,a=arguments.length,s=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var o=e.length-1;o>=0;o--)(n=e[o])&&(s=(a<3?n(s):a>3?n(t,r,s):n(t,r))||s);a>3&&s&&Object.defineProperty(t,r,s)})([i({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style="gux-form-field-legacy{display:block;color:#2e394c}gux-form-field-legacy .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field-legacy .gux-label-and-input-and-error-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field-legacy .gux-label-and-input-and-error-container input,gux-form-field-legacy .gux-label-and-input-and-error-container select{width:100%;font-size:12px}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-container input{overflow:hidden;text-overflow:ellipsis}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-container{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error textarea{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-color-main-element{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-and-error-container{flex-grow:1}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside{display:flex;flex-direction:row}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside .gux-label-container{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-range,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-select,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-text-like,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-search{flex:1 1 auto}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-screenreader label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-form-field-legacy .gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}gux-form-field-legacy .gux-error{display:none;margin:4px 0}gux-form-field-legacy .gux-error.gux-show{display:block}";export{u as gux_form_field_legacy}
1
+ import{r as e,h as t,g as r}from"./p-e571f861.js";import{O as i}from"./p-35578249.js";import{r as n}from"./p-cbcbd1bb.js";import{l as a}from"./p-3184268e.js";import{a as s}from"./p-e2bea786.js";import{p as o}from"./p-c10e41a9.js";import{t as l}from"./p-6ea97636.js";const u=class{constructor(t){e(this,t),this.errorId=n("gux-form-field-error"),this.labelId=n("gux-form-field-label"),this.defaultInputId=n("gux-form-field"),this.computedLabelPosition="above",this.required=!0,this.hasError=!1}onMutation(){this.hasError=Boolean(this.root.querySelector('[slot="error"]'))}componentWillLoad(){this.input=this.root.querySelector('input[slot="input"], select[slot="input"], textarea[slot="input"]'),this.label=this.root.querySelector('label[slot="label"]'),this.slottedElementType=this.input.tagName.toLowerCase(),this.required=this.input.required,this.requiredObserver=s(this.input,(e=>{this.required=e})),o(this.input);const e=this.labelPosition?this.labelPosition.toLowerCase():"none";if("input"===this.slottedElementType){const t=this.input.getAttribute("type");l(this.root,{variant:`${this.slottedElementType}-${t}-${e}`})}else l(this.root,{variant:`${this.slottedElementType}-${e}`})}componentWillRender(){this.computedLabelPosition=this.getComputedLabelPosition(this.label,this.labelPosition),this.validateFormIds()}disconnectedCallback(){this.requiredObserver.disconnect()}renderInputCheckbox(e){return t("div",null,t("gux-input-checkbox",{class:{"gux-input-error":e}},t("slot",{name:"input"}),t("slot",{name:"label"})),this.renderError(e))}renderInputRadio(){return t("gux-input-radio",null,t("slot",{name:"input"}),t("slot",{name:"label"}))}renderInputColor(e){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-color",{"gux-label-describedby":this.labelId,"gux-error-describedby":this.errorId,"gux-required":this.required,class:{"gux-input-error":e}},t("slot",{name:"input"})),this.renderError(e)))}renderInputRange(e,r){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("gux-input-range",{"display-units":e,"value-in-tooltip":r},t("slot",{name:"input"})))}renderInputNumber(e,r){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-number",{class:{"gux-input-error":r},slot:"input",clearable:e},t("slot",{name:"input"})),this.renderError(r)))}renderInputSelect(e){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-select",{slot:"input",class:{"gux-input-error":e}},t("slot",{name:"input"})),this.renderError(e)))}renderInputTextLike(e,r){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-text-like",{class:{"gux-input-error":r},slot:"input",clearable:e},t("slot",{name:"input"})),this.renderError(r)))}renderInputSearch(e){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-search",null,t("slot",{name:"input"})),this.renderError(e)))}renderInputTextArea(e){return t("div",{class:`gux-label-and-input-and-error-container gux-${this.computedLabelPosition}`},this.renderLabel(this.required),t("div",{class:"gux-input-and-error-container"},t("gux-input-textarea",{class:{"gux-input-error":e},slot:"input",resize:this.resize},t("slot",{name:"input"})),this.renderError(e)))}render(){const e=this.input.getAttribute("type");switch(this.slottedElementType){case"input":switch(e){case"checkbox":return this.renderInputCheckbox(this.hasError);case"radio":return this.renderInputRadio();case"color":return this.renderInputColor(this.hasError);case"range":return this.renderInputRange(this.displayUnits,this.valueInTooltip);case"email":case"password":case"text":return this.renderInputTextLike(this.clearable,this.hasError);case"number":return this.renderInputNumber(this.clearable,this.hasError);case"search":return this.renderInputSearch(this.hasError);default:return t("div",null,t("slot",{name:"label"}),t("slot",{name:"input"}),t("slot",{name:"error"}))}case"select":return this.renderInputSelect(this.hasError);case"textarea":return this.renderInputTextArea(this.hasError);default:return t("div",null,t("slot",{name:"label"}),t("slot",{name:"input"}),t("slot",{name:"error"}))}}validateFormIds(){if(this.label){if("color"===this.input.getAttribute("type"))return this.label.getAttribute("id")&&(this.labelId=this.label.getAttribute("id")),void this.label.setAttribute("id",this.labelId);const e=!!this.input.hasAttribute("id"),t=!!this.label.hasAttribute("for");if(!e&&t)a("gux-form-field",'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(e)if(e&&!t){const e=this.input.getAttribute("id");this.label.setAttribute("for",e)}else e&&t&&this.input.getAttribute("id")!==this.label.getAttribute("for")&&a("gux-form-field","The input id and label for attribute should match.");else this.input.setAttribute("id",this.defaultInputId),this.label.setAttribute("for",this.defaultInputId)}else a("gux-form-field",'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');this.hasErrorSlot()?this.input.setAttribute("aria-describedby",this.errorId):this.input.getAttribute("aria-describedby")&&this.input.getAttribute("aria-describedby").startsWith("gux-form-field-error")&&this.input.removeAttribute("aria-describedby")}getComputedLabelPosition(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}hasErrorSlot(){return!!this.root.querySelector('[slot="error"]')}renderLabel(e){return t("div",{class:{"gux-label-container":!0,"gux-required":e}},t("slot",{name:"label",slot:"label"}))}renderError(e){return t("div",{id:this.errorId,class:{"gux-error":!0,"gux-show":e}},t("gux-error-message-beta",null,t("slot",{name:"error"})))}get root(){return r(this)}};(function(e,t,r,i){var n,a=arguments.length,s=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var o=e.length-1;o>=0;o--)(n=e[o])&&(s=(a<3?n(s):a>3?n(t,r,s):n(t,r))||s);a>3&&s&&Object.defineProperty(t,r,s)})([i({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style="gux-form-field-legacy{display:block;color:#2e394c}gux-form-field-legacy .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field-legacy .gux-label-and-input-and-error-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field-legacy .gux-label-and-input-and-error-container input,gux-form-field-legacy .gux-label-and-input-and-error-container select{width:100%;font-size:12px}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-container input{overflow:hidden;text-overflow:ellipsis}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-container{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error textarea{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-color-main-element{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-and-error-container{flex-grow:1}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside{display:flex;flex-direction:row}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside .gux-label-container{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-range,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-select,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-text-like,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-search{flex:1 1 auto}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-screenreader label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-form-field-legacy .gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}gux-form-field-legacy .gux-error{display:none;margin:4px 0}gux-form-field-legacy .gux-error.gux-show{display:block}";export{u as gux_form_field_legacy}
@@ -1 +1 @@
1
- import{r as t,c as s,h as a,H as i,g as h}from"./p-e571f861.js";import{t as c}from"./p-3c67bb89.js";const e=class{constructor(a){t(this,a),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.tabPanels=[]}watchActiveTab(t){this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,a){this.activeTab=t||s.querySelector("gux-tab-advanced").getAttribute("tab-id"),s.guxSetActive(this.activeTab),a.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){c(this.root)}render(){return a(i,null,a("div",{class:"gux-tabs"},a("slot",{name:"tab-list"}),a("div",null,a("slot",{onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return h(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};e.style="gux-tabs-advanced{-custom-noop:noop}";export{e as gux_tabs_advanced}
1
+ import{r as t,c as s,h as a,H as i,g as h}from"./p-e571f861.js";import{t as e}from"./p-6ea97636.js";const c=class{constructor(a){t(this,a),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.tabPanels=[]}watchActiveTab(t){this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,a){this.activeTab=t||s.querySelector("gux-tab-advanced").getAttribute("tab-id"),s.guxSetActive(this.activeTab),a.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){e(this.root)}render(){return a(i,null,a("div",{class:"gux-tabs"},a("slot",{name:"tab-list"}),a("div",null,a("slot",{onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return h(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};c.style="gux-tabs-advanced{-custom-noop:noop}";export{c as gux_tabs_advanced}
@@ -1 +1 @@
1
- import{r as e,c as t,h as o,g as i}from"./p-e571f861.js";import{t as s}from"./p-3c67bb89.js";import{b as d}from"./p-2fb2e5b0.js";import"./p-8a133b9b.js";const n={searchAria:"Search"},r=class{constructor(o){e(this,o),this.input=t(this,"input",7),this.filter=t(this,"filter",7),this.disabled=!1,this.noFilter=!1,this.filterDebounceTimeout=500,this.dropdownHeight="320px"}watchValue(e){this.opened&&e&&this.closeDropdown(!1)}get value(){var e;return null===(e=this.currentlySelectedOption)||void 0===e?void 0:e.text}getSelectedValues(){return Promise.resolve([this.value])}async setLabeledBy(e){this.srLabelledby=e}onFocusOut(e){e.relatedTarget&&this.root.contains(e.relatedTarget)||this.closeDropdown(!1)}async componentWillLoad(){s(this.root),this.i18n=await d(this.root,n),this.handleSelectionChange=this.handleSelectionChange.bind(this),this.updateSelectionState(),this.addOptionListener(),this.slotObserver=function(e,t,o={}){const i=new MutationObserver(t);return i.observe(e,Object.assign({attributes:!0,childList:!0,subtree:!0},o)),i}(this.root,(()=>this.updateSelectionState()))}disconnectedCallback(){this.slotObserver.disconnect()}render(){return o("div",{class:`gux-dropdown\n ${this.disabled?"gux-disabled":""}\n ${this.opened?"gux-active":""}`},o("div",{class:"gux-select-field",onMouseDown:()=>this.inputMouseDown()},o("a",{ref:e=>this.inputBox=e,class:"gux-select-input","aria-labelledby":this.srLabelledby,tabindex:"0",onKeyDown:e=>this.inputKeyDown(e)},this.placeholder&&!this.value&&o("span",{class:"gux-select-placeholder",title:this.placeholder},this.placeholder),this.value&&o("span",{class:"gux-select-value",title:this.value},this.value)),o("div",{class:"gux-icon-wrapper"},o("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"}))),o("div",{class:"gux-advanced-dropdown-menu "+(this.opened?"gux-opened":"")},o("div",{class:"gux-dropdown-menu-container"},o("gux-form-field-search",{"label-position":"screenreader"},o("label",{slot:"label"},this.i18n("searchAria")),o("input",{slot:"input",type:"search",onInput:e=>{this.handleSearchInput(e)},ref:e=>this.searchInput=e})),o("div",{class:"gux-dropdown-options",style:{maxHeight:this.dropdownHeight},onKeyDown:e=>this.optionsKeyDown(e)},o("slot",null)))))}updateSelectionState(){this.selectionOptions=this.getSelectionOptions(),this.currentlySelectedOption=this.selectionOptions.find((e=>e.selected))}addOptionListener(){this.root.addEventListener("selectedChanged",(e=>this.handleSelectionChange(e)))}handleSelectionChange({target:e}){const t=e;this.closeDropdown(!0),this.currentlySelectedOption!==t&&(this.currentlySelectedOption&&(this.currentlySelectedOption.selected=!1),this.currentlySelectedOption=t,this.input.emit(t.value))}getSelectionOptions(){const e=this.root.querySelectorAll("gux-dropdown-option");return Array.from(e)}inputMouseDown(){this.disabled||(this.opened?this.closeDropdown(!0):this.openDropdown(!1))}getFocusIndex(){return this.selectionOptions.findIndex((e=>e.matches(":focus")))}optionsKeyDown(e){switch(e.key){case"ArrowUp":{e.preventDefault();const t=this.getFocusIndex();t>0&&this.selectionOptions[t-1].focus();break}case"ArrowDown":{e.preventDefault();const t=this.getFocusIndex();t<this.selectionOptions.length-1&&this.selectionOptions[t+1].focus();break}case"Home":if(!this.selectionOptions.length)return;this.selectionOptions[0].focus();break;case"End":if(!this.selectionOptions.length)return;this.selectionOptions[this.selectionOptions.length-1].focus()}}inputKeyDown(e){switch(e.key){case"ArrowUp":case"ArrowDown":case" ":this.openDropdown(!0)}}handleSearchInput(e){e.stopPropagation(),clearTimeout(this.filterDebounceTimer),this.filterDebounceTimer=setTimeout((()=>this.searchRequested()),this.filterDebounceTimeout)}searchRequested(){this.filter.emit(this.searchInput.value),this.setFilteredOptions()}setFilteredOptions(){const e=this.searchInput.value;if(!this.noFilter)for(const t of this.selectionOptions)t.shouldFilter(e).then((e=>{t.filtered=e}))}changeFocusToSearch(){setTimeout((()=>{this.searchInput.focus()}))}openDropdown(e){this.opened=!0,e&&this.changeFocusToSearch()}closeDropdown(e){this.opened=!1,this.searchInput.value="",this.setFilteredOptions(),e&&this.inputBox.focus()}get root(){return i(this)}static get watchers(){return{disabled:["watchValue"]}}};r.style=":host{color:#2e394c}div.gux-dropdown{position:relative;margin:4px 0}div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}div.gux-dropdown .gux-select-field a.gux-select-input{position:absolute;top:0;right:0;bottom:0;left:0;padding:6px 24px 6px 12px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-placeholder,div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-placeholder{color:#596373}div.gux-dropdown .gux-select-field a.gux-select-input:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}div.gux-dropdown .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}div.gux-dropdown .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px;color:#596373}div.gux-dropdown .gux-select-field:hover .gux-icon-wrapper gux-icon{color:#2e394c}div.gux-dropdown.gux-active .gux-select-field .gux-select-input{border:1px solid #2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}div.gux-dropdown.gux-active .gux-select-field .gux-select-input:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}div.gux-dropdown .gux-advanced-dropdown-menu{position:absolute;top:36px;z-index:1;display:none;width:100%;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 0 2px 0 rgba(32, 41, 55, 0.24);box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search{margin:8px 16px}div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-cancel-button,div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-results-button,div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}div.gux-dropdown .gux-advanced-dropdown-menu.gux-opened{display:block}div.gux-dropdown .gux-dropdown-options{padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border-radius:4px;box-shadow:none}";export{r as gux_advanced_dropdown}
1
+ import{r as e,c as t,h as o,g as i}from"./p-e571f861.js";import{t as s}from"./p-6ea97636.js";import{b as d}from"./p-2fb2e5b0.js";import"./p-8a133b9b.js";const n={searchAria:"Search"},r=class{constructor(o){e(this,o),this.input=t(this,"input",7),this.filter=t(this,"filter",7),this.disabled=!1,this.noFilter=!1,this.filterDebounceTimeout=500,this.dropdownHeight="320px"}watchValue(e){this.opened&&e&&this.closeDropdown(!1)}get value(){var e;return null===(e=this.currentlySelectedOption)||void 0===e?void 0:e.text}getSelectedValues(){return Promise.resolve([this.value])}async setLabeledBy(e){this.srLabelledby=e}onFocusOut(e){e.relatedTarget&&this.root.contains(e.relatedTarget)||this.closeDropdown(!1)}async componentWillLoad(){s(this.root),this.i18n=await d(this.root,n),this.handleSelectionChange=this.handleSelectionChange.bind(this),this.updateSelectionState(),this.addOptionListener(),this.slotObserver=function(e,t,o={}){const i=new MutationObserver(t);return i.observe(e,Object.assign({attributes:!0,childList:!0,subtree:!0},o)),i}(this.root,(()=>this.updateSelectionState()))}disconnectedCallback(){this.slotObserver.disconnect()}render(){return o("div",{class:`gux-dropdown\n ${this.disabled?"gux-disabled":""}\n ${this.opened?"gux-active":""}`},o("div",{class:"gux-select-field",onMouseDown:()=>this.inputMouseDown()},o("a",{ref:e=>this.inputBox=e,class:"gux-select-input","aria-labelledby":this.srLabelledby,tabindex:"0",onKeyDown:e=>this.inputKeyDown(e)},this.placeholder&&!this.value&&o("span",{class:"gux-select-placeholder",title:this.placeholder},this.placeholder),this.value&&o("span",{class:"gux-select-value",title:this.value},this.value)),o("div",{class:"gux-icon-wrapper"},o("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"}))),o("div",{class:"gux-advanced-dropdown-menu "+(this.opened?"gux-opened":"")},o("div",{class:"gux-dropdown-menu-container"},o("gux-form-field-search",{"label-position":"screenreader"},o("label",{slot:"label"},this.i18n("searchAria")),o("input",{slot:"input",type:"search",onInput:e=>{this.handleSearchInput(e)},ref:e=>this.searchInput=e})),o("div",{class:"gux-dropdown-options",style:{maxHeight:this.dropdownHeight},onKeyDown:e=>this.optionsKeyDown(e)},o("slot",null)))))}updateSelectionState(){this.selectionOptions=this.getSelectionOptions(),this.currentlySelectedOption=this.selectionOptions.find((e=>e.selected))}addOptionListener(){this.root.addEventListener("selectedChanged",(e=>this.handleSelectionChange(e)))}handleSelectionChange({target:e}){const t=e;this.closeDropdown(!0),this.currentlySelectedOption!==t&&(this.currentlySelectedOption&&(this.currentlySelectedOption.selected=!1),this.currentlySelectedOption=t,this.input.emit(t.value))}getSelectionOptions(){const e=this.root.querySelectorAll("gux-dropdown-option");return Array.from(e)}inputMouseDown(){this.disabled||(this.opened?this.closeDropdown(!0):this.openDropdown(!1))}getFocusIndex(){return this.selectionOptions.findIndex((e=>e.matches(":focus")))}optionsKeyDown(e){switch(e.key){case"ArrowUp":{e.preventDefault();const t=this.getFocusIndex();t>0&&this.selectionOptions[t-1].focus();break}case"ArrowDown":{e.preventDefault();const t=this.getFocusIndex();t<this.selectionOptions.length-1&&this.selectionOptions[t+1].focus();break}case"Home":if(!this.selectionOptions.length)return;this.selectionOptions[0].focus();break;case"End":if(!this.selectionOptions.length)return;this.selectionOptions[this.selectionOptions.length-1].focus()}}inputKeyDown(e){switch(e.key){case"ArrowUp":case"ArrowDown":case" ":this.openDropdown(!0)}}handleSearchInput(e){e.stopPropagation(),clearTimeout(this.filterDebounceTimer),this.filterDebounceTimer=setTimeout((()=>this.searchRequested()),this.filterDebounceTimeout)}searchRequested(){this.filter.emit(this.searchInput.value),this.setFilteredOptions()}setFilteredOptions(){const e=this.searchInput.value;if(!this.noFilter)for(const t of this.selectionOptions)t.shouldFilter(e).then((e=>{t.filtered=e}))}changeFocusToSearch(){setTimeout((()=>{this.searchInput.focus()}))}openDropdown(e){this.opened=!0,e&&this.changeFocusToSearch()}closeDropdown(e){this.opened=!1,this.searchInput.value="",this.setFilteredOptions(),e&&this.inputBox.focus()}get root(){return i(this)}static get watchers(){return{disabled:["watchValue"]}}};r.style=":host{color:#2e394c}div.gux-dropdown{position:relative;margin:4px 0}div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}div.gux-dropdown .gux-select-field a.gux-select-input{position:absolute;top:0;right:0;bottom:0;left:0;padding:6px 24px 6px 12px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-placeholder,div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}div.gux-dropdown .gux-select-field a.gux-select-input .gux-select-placeholder{color:#596373}div.gux-dropdown .gux-select-field a.gux-select-input:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}div.gux-dropdown .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}div.gux-dropdown .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px;color:#596373}div.gux-dropdown .gux-select-field:hover .gux-icon-wrapper gux-icon{color:#2e394c}div.gux-dropdown.gux-active .gux-select-field .gux-select-input{border:1px solid #2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}div.gux-dropdown.gux-active .gux-select-field .gux-select-input:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}div.gux-dropdown .gux-advanced-dropdown-menu{position:absolute;top:36px;z-index:1;display:none;width:100%;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 0 2px 0 rgba(32, 41, 55, 0.24);box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search{margin:8px 16px}div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-cancel-button,div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-results-button,div.gux-dropdown .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}div.gux-dropdown .gux-advanced-dropdown-menu.gux-opened{display:block}div.gux-dropdown .gux-dropdown-options{padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border-radius:4px;box-shadow:none}";export{r as gux_advanced_dropdown}
@@ -1 +1 @@
1
- import{r as t,c as i,h as o,g as s}from"./p-e571f861.js";import{t as n}from"./p-3c67bb89.js";import{O as e}from"./p-49b1912a.js";import{b as a}from"./p-2fb2e5b0.js";import"./p-8a133b9b.js";const c={actionButtonDropdown:"Dropdown for {buttonTitle}"};const r=class{constructor(o){t(this,o),this.open=i(this,"open",7),this.close=i(this,"close",7),this.actionClick=i(this,"actionClick",7),this.moveFocusDelay=100,this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const i=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,i.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":i.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){switch(t.key){case" ":t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():this.close.emit()}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){setTimeout((()=>{this.listElement.focus&&this.listElement.focus()}),this.moveFocusDelay)}focusFirstItemInPopupList(){setTimeout((()=>{this.listElement.guxFocusFirstItem()}),this.moveFocusDelay)}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}async componentWillLoad(){n(this.root,{variant:this.type}),this.i18n=await a(this.root,c)}render(){return o("div",{class:"gux-action-button-container"},o("gux-popup",{expanded:this.isOpen,disabled:this.disabled},o("div",{slot:"target",class:"gux-action-button-container"},o("gux-button-slot-beta",{class:"gux-action-button",accent:this.accent},o("button",{type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick()},this.text)),o("gux-button-slot-beta",{class:"gux-dropdown-button",accent:this.accent},o("button",{type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("actionButtonDropdown",{buttonTitle:this.text})},o("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),o("div",{class:"gux-list-container",slot:"popup"},o("gux-list",{ref:t=>this.listElement=t},o("slot",null)))))}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,i,o,s){var n,e=arguments.length,a=e<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,o,s);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(a=(e<3?n(a):e>3?n(i,o,a):n(i,o))||a);e>3&&a&&Object.defineProperty(i,o,a)})([e({triggerEvents:"click"})],r.prototype,"onClickOutside",null),r.style=":host{display:block;-webkit-user-select:none;user-select:none;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}.gux-action-button-container{min-width:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{width:calc(100% - 33px);margin-right:1px}.gux-action-button-container .gux-action-button button{width:100%;max-width:none;text-align:center;border-top-right-radius:0;border-bottom-right-radius:0}.gux-action-button-container .gux-dropdown-button button{width:32px;min-width:0;padding:0;border-top-left-radius:0;border-bottom-left-radius:0}.gux-action-button-container .gux-dropdown-button button gux-icon{width:16px;height:16px}.gux-action-button-container .gux-list-container{padding:8px 0;margin:0;list-style:none;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}";export{r as gux_action_button}
1
+ import{r as t,c as i,h as o,g as s}from"./p-e571f861.js";import{t as n}from"./p-6ea97636.js";import{O as e}from"./p-49b1912a.js";import{b as a}from"./p-2fb2e5b0.js";import"./p-8a133b9b.js";const c={actionButtonDropdown:"Dropdown for {buttonTitle}"};const r=class{constructor(o){t(this,o),this.open=i(this,"open",7),this.close=i(this,"close",7),this.actionClick=i(this,"actionClick",7),this.moveFocusDelay=100,this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const i=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,i.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":i.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){switch(t.key){case" ":t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():this.close.emit()}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){setTimeout((()=>{this.listElement.focus&&this.listElement.focus()}),this.moveFocusDelay)}focusFirstItemInPopupList(){setTimeout((()=>{this.listElement.guxFocusFirstItem()}),this.moveFocusDelay)}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}async componentWillLoad(){n(this.root,{variant:this.type}),this.i18n=await a(this.root,c)}render(){return o("div",{class:"gux-action-button-container"},o("gux-popup",{expanded:this.isOpen,disabled:this.disabled},o("div",{slot:"target",class:"gux-action-button-container"},o("gux-button-slot-beta",{class:"gux-action-button",accent:this.accent},o("button",{type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick()},this.text)),o("gux-button-slot-beta",{class:"gux-dropdown-button",accent:this.accent},o("button",{type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("actionButtonDropdown",{buttonTitle:this.text})},o("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),o("div",{class:"gux-list-container",slot:"popup"},o("gux-list",{ref:t=>this.listElement=t},o("slot",null)))))}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,i,o,s){var n,e=arguments.length,a=e<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,o,s);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(a=(e<3?n(a):e>3?n(i,o,a):n(i,o))||a);e>3&&a&&Object.defineProperty(i,o,a)})([e({triggerEvents:"click"})],r.prototype,"onClickOutside",null),r.style=":host{display:block;-webkit-user-select:none;user-select:none;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}.gux-action-button-container{min-width:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{width:calc(100% - 33px);margin-right:1px}.gux-action-button-container .gux-action-button button{width:100%;max-width:none;text-align:center;border-top-right-radius:0;border-bottom-right-radius:0}.gux-action-button-container .gux-dropdown-button button{width:32px;min-width:0;padding:0;border-top-left-radius:0;border-bottom-left-radius:0}.gux-action-button-container .gux-dropdown-button button gux-icon{width:16px;height:16px}.gux-action-button-container .gux-list-container{padding:8px 0;margin:0;list-style:none;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}";export{r as gux_action_button}
@@ -1 +1 @@
1
- import{r as t,h as o,g as e}from"./p-e571f861.js";import{O as i}from"./p-35578249.js";import{o as n,a as r}from"./p-e2bea786.js";import{t as a}from"./p-3c67bb89.js";import{G as s,a as l}from"./p-cdf5cb56.js";import{h as p,G as u,v as x,g as c}from"./p-14551b38.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const d=class{constructor(o){t(this,o),this.computedLabelPosition="above",this.hasError=!1}onMutation(){this.hasError=p(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=p(this.root),a(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return o(l,{labelPosition:this.computedLabelPosition},o(s,{position:this.computedLabelPosition,required:this.required},o("slot",{name:"label",onSlotchange:()=>this.setLabel()})),o("div",{class:"gux-input-and-error-container"},o("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{class:{"gux-dropdown-container":!0,"gux-disabled":this.disabled}},o("slot",null))),o(u,{hasError:this.hasError},o("slot",{name:"error"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi-beta"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.disabled=this.dropdownElement.disabled,this.required=this.dropdownElement.required,this.disabledObserver=n(this.dropdownElement,(t=>{this.disabled=t})),this.requiredObserver=r(this.dropdownElement,(t=>{this.required=t})),x(this.root,this.listboxElement)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return e(this)}};(function(t,o,e,i){var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,o,e,i);else for(var s=t.length-1;s>=0;s--)(n=t[s])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);r>3&&a&&Object.defineProperty(o,e,a)})([i({childList:!0,subtree:!0})],d.prototype,"onMutation",null),d.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(select){flex:1 1 auto;align-self:auto;order:0;height:32px;padding:0 32px 0 12px;margin:0;color:#2e394c;background-color:#f6f7f9;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted(select)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:#2a60c8}.gux-input-and-error-container .gux-input .gux-input-container select{flex:1 1 auto;align-self:auto;order:0;height:32px;padding:0 32px 0 12px;margin:0;color:#2e394c;background-color:#f6f7f9;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);-moz-appearance:none;-webkit-appearance:none;appearance:none}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;top:0;right:0;width:16px;height:16px;margin:8px;pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}";export{d as gux_form_field_dropdown}
1
+ import{r as t,h as e,g as o}from"./p-e571f861.js";import{O as i}from"./p-35578249.js";import{o as n,a as r}from"./p-e2bea786.js";import{t as a}from"./p-6ea97636.js";import{G as s,a as l}from"./p-cdf5cb56.js";import{h as p,G as u,v as x,g as c}from"./p-14551b38.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const d=class{constructor(e){t(this,e),this.computedLabelPosition="above",this.hasError=!1}onMutation(){this.hasError=p(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=p(this.root),a(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(l,{labelPosition:this.computedLabelPosition},e(s,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()})),e("div",{class:"gux-input-and-error-container"},e("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{class:{"gux-dropdown-container":!0,"gux-disabled":this.disabled}},e("slot",null))),e(u,{hasError:this.hasError},e("slot",{name:"error"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi-beta"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.disabled=this.dropdownElement.disabled,this.required=this.dropdownElement.required,this.disabledObserver=n(this.dropdownElement,(t=>{this.disabled=t})),this.requiredObserver=r(this.dropdownElement,(t=>{this.required=t})),x(this.root,this.listboxElement)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return o(this)}};(function(t,e,o,i){var n,r=arguments.length,a=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(n=t[s])&&(a=(r<3?n(a):r>3?n(e,o,a):n(e,o))||a);r>3&&a&&Object.defineProperty(e,o,a)})([i({childList:!0,subtree:!0})],d.prototype,"onMutation",null),d.style=".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(select){flex:1 1 auto;align-self:auto;order:0;height:32px;padding:0 32px 0 12px;margin:0;color:#2e394c;background-color:#f6f7f9;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted(select)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:#2a60c8}.gux-input-and-error-container .gux-input .gux-input-container select{flex:1 1 auto;align-self:auto;order:0;height:32px;padding:0 32px 0 12px;margin:0;color:#2e394c;background-color:#f6f7f9;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);-moz-appearance:none;-webkit-appearance:none;appearance:none}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;top:0;right:0;width:16px;height:16px;margin:8px;pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}";export{d as gux_form_field_dropdown}