genesys-spark-components 3.1.1 → 3.1.2-beta.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 (211) 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-command-palette-legacy.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-number.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
  69. package/dist/cjs/{usage-tracking-e5564ea8.js → usage-tracking-692fb1b9.js} +1 -1
  70. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  71. package/dist/esm/gux-accordion.entry.js +1 -1
  72. package/dist/esm/gux-action-button-legacy.entry.js +1 -1
  73. package/dist/esm/gux-action-button.entry.js +1 -1
  74. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  75. package/dist/esm/gux-action-toast.entry.js +1 -1
  76. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  77. package/dist/esm/gux-badge-beta.entry.js +1 -1
  78. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  79. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  80. package/dist/esm/gux-button-multi.entry.js +1 -1
  81. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  82. package/dist/esm/gux-button.entry.js +1 -1
  83. package/dist/esm/gux-calendar.entry.js +1 -1
  84. package/dist/esm/gux-card-beta.entry.js +1 -1
  85. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  86. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  87. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  88. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  89. package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
  90. package/dist/esm/gux-content-search.entry.js +1 -1
  91. package/dist/esm/gux-datepicker.entry.js +1 -1
  92. package/dist/esm/gux-disclosure-button.entry.js +1 -1
  93. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  94. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  95. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  96. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  97. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  98. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  99. package/dist/esm/gux-form-field-color.entry.js +1 -1
  100. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  101. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  102. package/dist/esm/gux-form-field-number.entry.js +1 -1
  103. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  104. package/dist/esm/gux-form-field-range.entry.js +1 -1
  105. package/dist/esm/gux-form-field-search.entry.js +1 -1
  106. package/dist/esm/gux-form-field-select.entry.js +1 -1
  107. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  108. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  109. package/dist/esm/gux-icon.entry.js +1 -1
  110. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  111. package/dist/esm/gux-list.entry.js +1 -1
  112. package/dist/esm/gux-modal.entry.js +1 -1
  113. package/dist/esm/gux-notification-toast.entry.js +1 -1
  114. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  115. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  116. package/dist/esm/gux-pagination.entry.js +1 -1
  117. package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
  118. package/dist/esm/gux-popover-list.entry.js +1 -1
  119. package/dist/esm/gux-popover.entry.js +1 -1
  120. package/dist/esm/gux-radial-loading.entry.js +1 -1
  121. package/dist/esm/gux-radial-progress.entry.js +1 -1
  122. package/dist/esm/gux-rating.entry.js +1 -1
  123. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  124. package/dist/esm/gux-simple-toast.entry.js +1 -1
  125. package/dist/esm/gux-switch.entry.js +1 -1
  126. package/dist/esm/gux-table-beta.entry.js +1 -1
  127. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  128. package/dist/esm/gux-tabs-legacy.entry.js +1 -1
  129. package/dist/esm/gux-tabs.entry.js +1 -1
  130. package/dist/esm/gux-tag-beta.entry.js +1 -1
  131. package/dist/esm/gux-text-highlight.entry.js +1 -1
  132. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  133. package/dist/esm/gux-time-picker-beta.entry.js +1 -1
  134. package/dist/esm/gux-toggle.entry.js +1 -1
  135. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  136. package/dist/esm/gux-visualization-beta.entry.js +1 -1
  137. package/dist/esm/{usage-tracking-e19350d3.js → usage-tracking-69f65648.js} +1 -1
  138. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  139. package/dist/genesys-webcomponents/{p-48b2ed5f.entry.js → p-06a59363.entry.js} +1 -1
  140. package/dist/genesys-webcomponents/{p-c4d4cd9c.entry.js → p-07ed8339.entry.js} +1 -1
  141. package/dist/genesys-webcomponents/{p-5f44078d.entry.js → p-094ac4c1.entry.js} +1 -1
  142. package/dist/genesys-webcomponents/{p-29e0832c.entry.js → p-0ccb02c5.entry.js} +1 -1
  143. package/dist/genesys-webcomponents/{p-946dca04.entry.js → p-0df4189f.entry.js} +1 -1
  144. package/dist/genesys-webcomponents/{p-a74e641c.entry.js → p-124d145f.entry.js} +1 -1
  145. package/dist/genesys-webcomponents/{p-cc7bdba6.entry.js → p-136c9b41.entry.js} +1 -1
  146. package/dist/genesys-webcomponents/{p-158e0417.entry.js → p-146232af.entry.js} +1 -1
  147. package/dist/genesys-webcomponents/{p-8e59125f.entry.js → p-15dafe3d.entry.js} +1 -1
  148. package/dist/genesys-webcomponents/{p-1f23f803.entry.js → p-16ae5445.entry.js} +1 -1
  149. package/dist/genesys-webcomponents/{p-221d0d3e.entry.js → p-1794d12b.entry.js} +1 -1
  150. package/dist/genesys-webcomponents/{p-26f39491.entry.js → p-1d6ece8f.entry.js} +1 -1
  151. package/dist/genesys-webcomponents/{p-3c94879d.entry.js → p-21ca4666.entry.js} +1 -1
  152. package/dist/genesys-webcomponents/{p-93e5a118.entry.js → p-2347d47c.entry.js} +1 -1
  153. package/dist/genesys-webcomponents/{p-03bc1fe5.entry.js → p-291d89ed.entry.js} +1 -1
  154. package/dist/genesys-webcomponents/{p-0d69aad4.entry.js → p-2a143163.entry.js} +1 -1
  155. package/dist/genesys-webcomponents/{p-c2a6be02.entry.js → p-32e3a64d.entry.js} +1 -1
  156. package/dist/genesys-webcomponents/{p-957677ac.entry.js → p-3a126e62.entry.js} +1 -1
  157. package/dist/genesys-webcomponents/{p-568be7bd.entry.js → p-3b84872e.entry.js} +1 -1
  158. package/dist/genesys-webcomponents/p-3ef7aa9b.js +1 -0
  159. package/dist/genesys-webcomponents/{p-19f72473.entry.js → p-43814d42.entry.js} +1 -1
  160. package/dist/genesys-webcomponents/{p-a8617b65.entry.js → p-4914e4a0.entry.js} +1 -1
  161. package/dist/genesys-webcomponents/{p-22101e15.entry.js → p-492889f9.entry.js} +1 -1
  162. package/dist/genesys-webcomponents/{p-200bb37f.entry.js → p-4d56f625.entry.js} +1 -1
  163. package/dist/genesys-webcomponents/{p-ae4effe8.entry.js → p-5060a7bd.entry.js} +1 -1
  164. package/dist/genesys-webcomponents/{p-0f90872f.entry.js → p-51ae3b0f.entry.js} +1 -1
  165. package/dist/genesys-webcomponents/{p-21d14781.entry.js → p-52c02347.entry.js} +1 -1
  166. package/dist/genesys-webcomponents/{p-df23b5af.entry.js → p-55ef58ca.entry.js} +1 -1
  167. package/dist/genesys-webcomponents/{p-9047a3bc.entry.js → p-5ab0e40c.entry.js} +1 -1
  168. package/dist/genesys-webcomponents/{p-817ccd1f.entry.js → p-5cdee6fa.entry.js} +1 -1
  169. package/dist/genesys-webcomponents/{p-572cd69a.entry.js → p-6086e5ec.entry.js} +1 -1
  170. package/dist/genesys-webcomponents/{p-0f10ecf7.entry.js → p-60aa2025.entry.js} +1 -1
  171. package/dist/genesys-webcomponents/{p-9269ac13.entry.js → p-6522cb07.entry.js} +1 -1
  172. package/dist/genesys-webcomponents/{p-0afea902.entry.js → p-662b29b4.entry.js} +1 -1
  173. package/dist/genesys-webcomponents/p-6a53e25e.entry.js +1 -0
  174. package/dist/genesys-webcomponents/{p-00e6eec3.entry.js → p-74721caa.entry.js} +1 -1
  175. package/dist/genesys-webcomponents/{p-062bd8a0.entry.js → p-7a3c62bf.entry.js} +1 -1
  176. package/dist/genesys-webcomponents/{p-8e0ef7c5.entry.js → p-7c2136bf.entry.js} +1 -1
  177. package/dist/genesys-webcomponents/{p-a59a9149.entry.js → p-7e1a35eb.entry.js} +1 -1
  178. package/dist/genesys-webcomponents/{p-75a62dec.entry.js → p-7e625ccf.entry.js} +1 -1
  179. package/dist/genesys-webcomponents/{p-474d25c5.entry.js → p-7eef3353.entry.js} +1 -1
  180. package/dist/genesys-webcomponents/{p-927f0ea6.entry.js → p-820df47a.entry.js} +1 -1
  181. package/dist/genesys-webcomponents/{p-070283c4.entry.js → p-82aebac8.entry.js} +1 -1
  182. package/dist/genesys-webcomponents/{p-6bdff621.entry.js → p-8b303ac8.entry.js} +1 -1
  183. package/dist/genesys-webcomponents/{p-75ca87fb.entry.js → p-92204d94.entry.js} +1 -1
  184. package/dist/genesys-webcomponents/{p-7bb25b42.entry.js → p-993b4341.entry.js} +1 -1
  185. package/dist/genesys-webcomponents/{p-3cd716f5.entry.js → p-9f74cf70.entry.js} +1 -1
  186. package/dist/genesys-webcomponents/{p-ad8cf502.entry.js → p-a0394e44.entry.js} +1 -1
  187. package/dist/genesys-webcomponents/{p-9d5eef68.entry.js → p-a061b070.entry.js} +1 -1
  188. package/dist/genesys-webcomponents/{p-8344076d.entry.js → p-a5533bee.entry.js} +1 -1
  189. package/dist/genesys-webcomponents/{p-4b9177c2.entry.js → p-a65ca708.entry.js} +1 -1
  190. package/dist/genesys-webcomponents/{p-d2071268.entry.js → p-b467fa72.entry.js} +1 -1
  191. package/dist/genesys-webcomponents/{p-47122f16.entry.js → p-b9db8490.entry.js} +1 -1
  192. package/dist/genesys-webcomponents/{p-2b1510ff.entry.js → p-bf64715f.entry.js} +1 -1
  193. package/dist/genesys-webcomponents/{p-8cbe98e9.entry.js → p-c127c736.entry.js} +1 -1
  194. package/dist/genesys-webcomponents/{p-cebc0030.entry.js → p-ca6cdbad.entry.js} +1 -1
  195. package/dist/genesys-webcomponents/{p-f6d15f14.entry.js → p-cd4be181.entry.js} +1 -1
  196. package/dist/genesys-webcomponents/{p-a8660853.entry.js → p-ce62846e.entry.js} +1 -1
  197. package/dist/genesys-webcomponents/{p-f3bde0c9.entry.js → p-d0174acf.entry.js} +1 -1
  198. package/dist/genesys-webcomponents/{p-7a825a25.entry.js → p-d2fad1b8.entry.js} +1 -1
  199. package/dist/genesys-webcomponents/{p-d844e928.entry.js → p-e18465da.entry.js} +1 -1
  200. package/dist/genesys-webcomponents/{p-20d9a533.entry.js → p-e4d95ed1.entry.js} +1 -1
  201. package/dist/genesys-webcomponents/{p-9b311643.entry.js → p-e5070b6c.entry.js} +1 -1
  202. package/dist/genesys-webcomponents/{p-821e5c0b.entry.js → p-f0c4757a.entry.js} +1 -1
  203. package/dist/genesys-webcomponents/{p-f4843078.entry.js → p-f4afa1cd.entry.js} +1 -1
  204. package/dist/genesys-webcomponents/{p-252d2d58.entry.js → p-f677609d.entry.js} +1 -1
  205. package/dist/genesys-webcomponents/{p-9603d2d2.entry.js → p-fbd97778.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/{p-b20cefc7.entry.js → p-fe3b5219.entry.js} +1 -1
  207. package/dist/stencil-wrapper.js +1 -1
  208. package/package.json +1 -1
  209. package/dist/deploy-info.json +0 -9
  210. package/dist/genesys-webcomponents/p-039ab394.entry.js +0 -1
  211. package/dist/genesys-webcomponents/p-edd6aea6.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
 
4
4
  const validFocusableItems = ['gux-list-item'];
5
5
  function getRootChildren(root) {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
 
4
4
  const guxModalCss = ":host .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(32, 41, 55, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
 
4
4
  const guxNotificationToastCss = ":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0}.gux-content .gux-title{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;font-size:14px;line-height:20px;color:#2e394c;text-overflow:ellipsis}.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:24px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
 
4
4
  const guxPageLoadingSpinnerCss = ":host{display:flex}.gux-spinner{margin:auto}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
  import { b as buildI18nForComponent } from './index-78502efc.js';
4
4
  import './get-closest-element-1597503c.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
 
4
4
  const guxPaginationCss = ":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:32px;margin-top:12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:16px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
 
4
4
  function hasSlot(element, slotName) {
5
5
  return Boolean(element.querySelector(`[slot=${slotName}]`));
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ae6f2f18.js';
2
2
  import { O as OnClickOutside } from './on-click-outside-a1375976.js';
3
3
  import { b as onHiddenChange } from './on-attribute-change-2b01c315.js';
4
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
4
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
5
5
  import { c as createPopper } from './popper-93ecb064.js';
6
6
 
7
7
  const guxPopoverListCss = ":host{color:#2e394c}.gux-popover-wrapper{z-index:2;display:inline-block;padding:8px 0;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ae6f2f18.js';
2
2
  import { O as OnClickOutside } from './on-click-outside-a1375976.js';
3
3
  import { b as onHiddenChange } from './on-attribute-change-2b01c315.js';
4
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
4
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
5
5
  import { c as createPopper } from './popper-93ecb064.js';
6
6
 
7
7
  const guxPopoverCss = ":host{color:#2e394c}.gux-popover-wrapper{z-index:2;display:inline-block;padding:16px;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-ae6f2f18.js';
2
2
  import { b as buildI18nForComponent } from './index-78502efc.js';
3
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
3
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
4
4
  import './get-closest-element-1597503c.js';
5
5
 
6
6
  const loading = "Loading";
@@ -1,5 +1,5 @@
1
1
  import { h, r as registerInstance, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
  import { l as logError } from './log-error-b1a1a086.js';
4
4
  import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
5
5
  import { c as clamp } from './clamp-6bdb0367.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-ae6f2f18.js';
2
2
  import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
3
3
  import { c as clamp } from './clamp-6bdb0367.js';
4
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
4
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
5
5
  import { l as logError } from './log-error-b1a1a086.js';
6
6
 
7
7
  const guxRatingCss = ":host{display:inline-flex;user-select:none}:host:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-star-container{color:#2e394c}.gux-rating-star-container.gux-disabled{opacity:0.5}.gux-rating-star-container gux-icon{width:24px;height:24px}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
 
4
4
  const guxSidePanelCss = "gux-side-panel-legacy aside{position:relative;display:flex;flex-direction:row-reverse;width:49px;height:100%;color:#2e394c;background-color:#fdfdfd}gux-side-panel-legacy aside.gux-left{flex-direction:row}gux-side-panel-legacy aside.gux-left .gux-panel-content{left:49px}gux-side-panel-legacy aside.gux-right .gux-panel-content{right:49px}gux-side-panel-legacy aside .gux-panel-icons{border:1px solid #e2e6ee}gux-side-panel-legacy aside .gux-panel-icons gux-side-panel-button{display:flex;flex-direction:column}gux-side-panel-legacy aside .gux-panel-content{position:absolute;width:280px;height:100%}gux-side-panel-legacy aside .gux-panel-content [slot='side-panel-content']{height:100%}gux-side-panel-legacy aside .gux-panel-content.gux-closed{display:none}.gux-side-panel-dark-theme{color:#fdfdfd}.gux-side-panel-dark-theme aside{background-color:#2e394c}.gux-side-panel-dark-theme aside .gux-panel-icons{border-color:#202937}.gux-dark-theme gux-side-panel-legacy{color:#fdfdfd}.gux-dark-theme gux-side-panel-legacy aside{background-color:#2e394c}.gux-dark-theme gux-side-panel-legacy aside .gux-panel-icons{border-color:#202937}gux-side-panel-legacy.gux-dark-theme{color:#fdfdfd}gux-side-panel-legacy.gux-dark-theme aside{background-color:#2e394c}gux-side-panel-legacy.gux-dark-theme aside .gux-panel-icons{border-color:#202937}.gux-side-panel-light-theme{color:#2e394c}.gux-light-theme gux-side-panel-legacy{color:#2e394c}gux-side-panel-legacy.gux-light-theme{color:#2e394c}gux-side-panel-legacy{color:#2e394c}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
 
4
4
  const guxSimpleToastCss = ":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:286px;padding:8px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:6px 0}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-icon gux-icon{width:12px;height:12px}.gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-ae6f2f18.js';
2
2
  import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
3
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
3
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
4
4
 
5
5
  const guxSwitchCss = "gux-switch{display:flex;align-items:flex-end}";
6
6
 
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, d as readTas
2
2
  import { b as buildI18nForComponent } from './index-78502efc.js';
3
3
  import { w as whenEventIsFrom } from './when-event-is-from-18667084.js';
4
4
  import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
5
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
5
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
6
6
  import { t as tableResources } from './en-07edddda.js';
7
7
  import './get-closest-element-1597503c.js';
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
 
4
4
  const guxTabsAdvancedCss = "gux-tabs-advanced{-custom-noop:noop}";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, d as readTask, w as writeTask, h, g as getElement } from './index-ae6f2f18.js';
2
2
  import { S as Sortable } from './sortable.esm-c4e0b0d3.js';
3
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
3
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
4
4
  import { b as buildI18nForComponent } from './index-78502efc.js';
5
5
  import { w as whenEventIsFrom } from './when-event-is-from-18667084.js';
6
6
  import './get-closest-element-1597503c.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
 
4
4
  const guxTabsCss = ".gux-tabs.gux-vertical{display:flex;height:100%}";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ae6f2f18.js';
2
2
  import { b as buildI18nForComponent } from './index-78502efc.js';
3
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
3
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
4
4
  import './get-closest-element-1597503c.js';
5
5
 
6
6
  const tag = "tag with label: {label}";
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-ae6f2f18.js';
2
2
  import { m as matchesFuzzy, g as getFuzzyReplacements } from './search-2ca67cb1.js';
3
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
3
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
4
4
 
5
5
  const GuxTextHighlight = class {
6
6
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
 
4
4
  const guxTextLabelCss = "gux-text-label-legacy .gux-label{margin-right:8px}gux-text-label-legacy .gux-text-label-container.gux-beside{display:flex;flex-direction:row;align-items:baseline}gux-text-label-legacy .gux-text-label-container.gux-beside .gux-labeled-component{flex:1 1 auto}.gux-text-label-dark-theme{color:#fdfdfd}.gux-dark-theme gux-text-label-legacy{color:#fdfdfd}gux-text-label-legacy.gux-dark-theme{color:#fdfdfd}.gux-text-label-light-theme{color:#2e394c}.gux-light-theme gux-text-label-legacy{color:#2e394c}gux-text-label-legacy.gux-light-theme{color:#2e394c}gux-text-label-legacy{color:#2e394c}";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ae6f2f18.js';
2
2
  import { O as OnClickOutside } from './on-click-outside-a1375976.js';
3
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
3
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
4
4
  import { b as buildI18nForComponent } from './index-78502efc.js';
5
5
  import './get-closest-element-1597503c.js';
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ae6f2f18.js';
2
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
2
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
3
3
  import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
4
4
  import { b as buildI18nForComponent } from './index-78502efc.js';
5
5
  import './get-closest-element-1597503c.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-ae6f2f18.js';
2
2
  import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
3
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
3
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
4
4
  import { c as createPopper } from './popper-93ecb064.js';
5
5
  import { l as logError } from './log-error-b1a1a086.js';
6
6
  import { O as OnMutation } from './on-mutation-4e2f475c.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h as h$1, g as getElement } from './index-ae6f2f18.js';
2
2
  import { c as createCommonjsModule } from './_commonjsHelpers-9943807e.js';
3
3
  import { g as getDesiredLocale } from './index-78502efc.js';
4
- import { t as trackComponent } from './usage-tracking-e19350d3.js';
4
+ import { t as trackComponent } from './usage-tracking-69f65648.js';
5
5
  import './get-closest-element-1597503c.js';
6
6
 
7
7
  /*!
@@ -1,5 +1,5 @@
1
1
  const name = "genesys-spark-components";
2
- const version = "3.1.1";
2
+ const version = "3.1.2-beta.0";
3
3
  const description = "Common webcomponents";
4
4
  const license = "MIT";
5
5
  const main = "dist/stencil-wrapper.js";
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-767fc0c6.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-75ca87fb",[[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-ae4effe8",[[1,"gux-pagination",{"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"layout":[1],"totalPages":[32]}]]],["p-9d5eef68",[[0,"gux-command-palette-legacy",{"filterValue":[32],"visible":[32],"open":[64],"close":[64]}]]],["p-7e954e77",[[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-f4843078",[[1,"gux-action-button",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-474d25c5",[[1,"gux-action-button-legacy",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-21d14781",[[1,"gux-button-multi",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-d2071268",[[1,"gux-button-multi-legacy",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-6bdff621",[[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"]},[[0,"click","onClick"],[0,"keydown","onKeydown"]]]]],["p-a74e641c",[[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-a146f73a",[[4,"gux-tab-legacy",{"tabId":[1,"tab-id"],"active":[4],"tabIconName":[1,"tab-icon-name"],"popoverHidden":[32],"hasAnimated":[32]}]]],["p-8344076d",[[1,"gux-tag-beta",{"color":[1],"value":[1],"disabled":[4],"removable":[4],"icon":[1],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-05d2df0c",[[0,"gux-all-row-select",{"selected":[1028],"setIndeterminate":[64]},[[0,"input","onCheck"]]]]],["p-19f72473",[[1,"gux-badge-beta",{"color":[1],"bold":[4],"label":[32]}]]],["p-2b1510ff",[[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-20d9a533",[[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-48b2ed5f",[[1,"gux-form-field-number",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-5f44078d",[[1,"gux-modal",{"size":[1],"trapFocus":[4,"trap-focus"],"initialFocus":[1,"initial-focus"]},[[0,"keydown","handleKeyEvent"]]]]],["p-957677ac",[[1,"gux-notification-toast",{"accent":[1]}]]],["p-039ab394",[[1,"gux-pagination-cursor",{"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"]}]]],["p-26f39491",[[1,"gux-popover",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-ab97a69b",[[0,"gux-row-select",{"selected":[1028]},[[0,"input","onCheck"]]]]],["p-9269ac13",[[1,"gux-simple-toast",{"accent":[1]}]]],["p-69497597",[[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-00e6eec3",[[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-93e5a118",[[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-200bb37f",[[4,"gux-accordion-legacy",{"headingLevel":[2,"heading-level"],"arrowPosition":[1,"arrow-position"],"sections":[32],"open":[64],"close":[64],"toggle":[64]}]]],["p-d69abb33",[[1,"gux-accordion-section",{"arrowPosition":[1,"arrow-position"],"open":[1028],"disabled":[4]}]]],["p-d6bbc0cc",[[1,"gux-breadcrumb-item",{"href":[1]}]]],["p-0d69aad4",[[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-8e59125f",[[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"],"embedOptions":[16]}]]],["p-821e5c0b",[[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-22101e15",[[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-a8617b65",[[1,"gux-content-search",{"matchCount":[1026,"match-count"],"currentMatch":[1026,"current-match"],"disabled":[32],"value":[32],"clear":[64]}]]],["p-7bb25b42",[[1,"gux-disclosure-button",{"position":[1],"label":[1],"isOpen":[1028,"is-open"],"icon":[32]}]]],["p-d844e928",[[1,"gux-form-field-color",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-572cd69a",[[1,"gux-form-field-radio",{"disabled":[32],"hasError":[32]}]]],["p-c2a6be02",[[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-0f10ecf7",[[1,"gux-form-field-select",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-8cbe98e9",[[1,"gux-form-field-textarea",{"resize":[1],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-070283c4",[[1,"gux-page-loading-spinner",{"screenreaderText":[1,"screenreader-text"]}]]],["p-df23b5af",[[1,"gux-radial-progress",{"value":[2],"max":[2],"scale":[2],"screenreaderText":[1,"screenreader-text"]}]]],["p-8e0ef7c5",[[1,"gux-icon",{"iconName":[1,"icon-name"],"decorative":[4],"screenreaderText":[1,"screenreader-text"],"svgHtml":[32]}]]],["p-3c94879d",[[1,"gux-rating",{"value":[1026],"maxValue":[2,"max-value"],"disabled":[4],"readonly":[4]},[[0,"click","onClick"],[0,"keydown","onKeyDown"]]]]],["p-30a13b1f",[[0,"gux-side-panel-button",{"icon":[1],"altText":[1,"alt-text"],"isSelected":[4,"is-selected"]}]]],["p-83bf98a2",[[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-ed4e1d83",[[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-00ae6570",[[4,"gux-tab-dropdown-option-legacy",{"optionId":[1,"option-id"],"iconName":[1,"icon-name"]}]]],["p-264bf172",[[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-f3bde0c9",[[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-03bc1fe5",[[1,"gux-accordion",{"singleOpenSection":[4,"single-open-section"]},[[0,"internalsectionopened","handleInternalsectionopened"]]]]],["p-04a5fb3d",[[1,"gux-action-item",{"text":[1],"value":[16],"disabled":[4]},[[0,"click","handleClick"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-af91699a",[[1,"gux-action-list-divider"]]],["p-cebc0030",[[1,"gux-action-toast"]]],["p-252d2d58",[[1,"gux-breadcrumbs",{"accent":[1]}]]],["p-7a825a25",[[17,"gux-button",{"type":[1],"guxTitle":[1,"gux-title"],"disabled":[4],"accent":[1]}]]],["p-47122f16",[[1,"gux-card-beta",{"accent":[1]}]]],["p-d6684dfc",[[0,"gux-command-action",{"text":[1],"details":[1],"common":[4],"recent":[4],"shortcut":[1],"invokePress":[64]}]]],["p-56041709",[[0,"gux-dropdown-option",{"value":[1],"disabled":[4],"filtered":[1540],"selected":[1540],"text":[1],"highlight":[32],"getDisplayedValue":[64],"shouldFilter":[64]}]]],["p-062bd8a0",[[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-4dc6133b",[[1,"gux-list-divider"]]],["p-c879efbe",[[1,"gux-list-divider-legacy"]]],["p-1d4ff291",[[4,"gux-menu"]]],["p-845b5c58",[[4,"gux-menu-option",{"guxFocus":[64]},[[0,"keydown","onKeydown"]]]]],["p-34eeef98",[[4,"gux-option-legacy",{"value":[1],"disabled":[4],"text":[1025],"selected":[516],"shouldFilter":[64]}]]],["p-a59a9149",[[1,"gux-panel-frame-legacy"]]],["p-9047a3bc",[[4,"gux-side-panel-legacy",{"isOpen":[4,"is-open"],"position":[1]}]]],["p-4b9177c2",[[1,"gux-switch",{"value":[1025],"layout":[1],"switchItems":[32]},[[0,"click","onClick"]]]]],["p-5bcae09f",[[4,"gux-switch-item",{"value":[1],"selected":[4],"disabled":[4]},[[0,"click","onClick"]]]]],["p-2a283e23",[[4,"gux-tab-advanced-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-b80b9692",[[4,"gux-tab-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-cc7bdba6",[[1,"gux-tabs",{"activeTab":[1025,"active-tab"],"orientation":[1],"alignment":[1],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-1f23f803",[[1,"gux-tabs-advanced",{"activeTab":[1025,"active-tab"],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-927f0ea6",[[4,"gux-text-label-legacy",{"label":[1],"position":[1]}]]],["p-158e0417",[[1,"gux-form-field-search",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"clearable":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-9b311643",[[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-61c0d6d8",[[0,"gux-toggle-slider",{"checked":[4],"disabled":[4],"guxAriaLabel":[1,"gux-aria-label"],"labelId":[1,"label-id"],"errorId":[1,"error-id"]}]]],["p-0d7692bf",[[17,"gux-list-item",{"disabled":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-75a62dec",[[1,"gux-form-field-text-like",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-0f90872f",[[1,"gux-popover-list",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-817ccd1f",[[0,"gux-text-highlight",{"text":[1],"highlight":[1],"strategy":[1]}]]],["p-a8660853",[[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-ad8cf502",[[1,"gux-error-message-beta"]]],["p-29e0832c",[[1,"gux-form-field-checkbox",{"disabled":[32],"hasError":[32]}]]],["p-376aa6e8",[[4,"gux-input-search",{"hasContent":[32],"disabled":[32]}]]],["p-53b88f3b",[[4,"gux-input-text-like",{"clearable":[4],"hasContent":[32],"disabled":[32]}]]],["p-3cd716f5",[[1,"gux-action-list-legacy",{"selectedIndex":[32],"setFocusOnFirstItem":[64],"setFocusOnLastItem":[64],"isLastItemSelected":[64],"isFirstItemSelected":[64]},[[0,"keydown","onKeyDown"]]]]],["p-076cb468",[[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-c4d4cd9c",[[17,"gux-list",{"guxFocusFirstItem":[64]},[[0,"keydown","onKeyDown"]]]]],["p-221d0d3e",[[1,"gux-radial-loading",{"context":[1],"screenreaderText":[1,"screenreader-text"]}]]],["p-f6d15f14",[[1,"gux-visualization-beta",{"visualizationSpec":[16],"embedOptions":[16]}]]],["p-3ab8ad28",[[4,"gux-color-select",{"color":[32]},[[0,"colorSelect","onColorSelect"]]],[0,"gux-input-color-option",{"active":[4],"value":[1]}]]],["p-c7e8a8db",[[1,"gux-popup",{"expanded":[4],"disabled":[4]}]]],["p-946dca04",[[1,"gux-dropdown",{"value":[1025],"disabled":[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],"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-b20cefc7",[[17,"gux-form-field-input-clear-button"]]],["p-2c957b5c",[[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-568be7bd",[[17,"gux-dismiss-button"]]],["p-0afea902",[[1,"gux-button-slot-beta",{"accent":[1]}]]],["p-9603d2d2",[[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],"isShown":[32],"showTooltip":[64],"hideTooltip":[64]},[[9,"keydown","handleKeyDown"]]]]]]'),e)));
1
+ import{p as e,b as o}from"./p-767fc0c6.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-92204d94",[[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-5060a7bd",[[1,"gux-pagination",{"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"layout":[1],"totalPages":[32]}]]],["p-a061b070",[[0,"gux-command-palette-legacy",{"filterValue":[32],"visible":[32],"open":[64],"close":[64]}]]],["p-7e954e77",[[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-f4afa1cd",[[1,"gux-action-button",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-7eef3353",[[1,"gux-action-button-legacy",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-52c02347",[[1,"gux-button-multi",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-b467fa72",[[1,"gux-button-multi-legacy",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-8b303ac8",[[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"]},[[0,"click","onClick"],[0,"keydown","onKeydown"]]]]],["p-124d145f",[[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-a146f73a",[[4,"gux-tab-legacy",{"tabId":[1,"tab-id"],"active":[4],"tabIconName":[1,"tab-icon-name"],"popoverHidden":[32],"hasAnimated":[32]}]]],["p-a5533bee",[[1,"gux-tag-beta",{"color":[1],"value":[1],"disabled":[4],"removable":[4],"icon":[1],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-05d2df0c",[[0,"gux-all-row-select",{"selected":[1028],"setIndeterminate":[64]},[[0,"input","onCheck"]]]]],["p-43814d42",[[1,"gux-badge-beta",{"color":[1],"bold":[4],"label":[32]}]]],["p-bf64715f",[[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-e4d95ed1",[[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-06a59363",[[1,"gux-form-field-number",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-094ac4c1",[[1,"gux-modal",{"size":[1],"trapFocus":[4,"trap-focus"],"initialFocus":[1,"initial-focus"]},[[0,"keydown","handleKeyEvent"]]]]],["p-3a126e62",[[1,"gux-notification-toast",{"accent":[1]}]]],["p-6a53e25e",[[1,"gux-pagination-cursor",{"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"]}]]],["p-1d6ece8f",[[1,"gux-popover",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-ab97a69b",[[0,"gux-row-select",{"selected":[1028]},[[0,"input","onCheck"]]]]],["p-6522cb07",[[1,"gux-simple-toast",{"accent":[1]}]]],["p-69497597",[[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-74721caa",[[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-2347d47c",[[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-4d56f625",[[4,"gux-accordion-legacy",{"headingLevel":[2,"heading-level"],"arrowPosition":[1,"arrow-position"],"sections":[32],"open":[64],"close":[64],"toggle":[64]}]]],["p-d69abb33",[[1,"gux-accordion-section",{"arrowPosition":[1,"arrow-position"],"open":[1028],"disabled":[4]}]]],["p-d6bbc0cc",[[1,"gux-breadcrumb-item",{"href":[1]}]]],["p-2a143163",[[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-15dafe3d",[[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"],"embedOptions":[16]}]]],["p-f0c4757a",[[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-492889f9",[[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-4914e4a0",[[1,"gux-content-search",{"matchCount":[1026,"match-count"],"currentMatch":[1026,"current-match"],"disabled":[32],"value":[32],"clear":[64]}]]],["p-993b4341",[[1,"gux-disclosure-button",{"position":[1],"label":[1],"isOpen":[1028,"is-open"],"icon":[32]}]]],["p-e18465da",[[1,"gux-form-field-color",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-6086e5ec",[[1,"gux-form-field-radio",{"disabled":[32],"hasError":[32]}]]],["p-32e3a64d",[[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-60aa2025",[[1,"gux-form-field-select",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-c127c736",[[1,"gux-form-field-textarea",{"resize":[1],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32]}]]],["p-82aebac8",[[1,"gux-page-loading-spinner",{"screenreaderText":[1,"screenreader-text"]}]]],["p-55ef58ca",[[1,"gux-radial-progress",{"value":[2],"max":[2],"scale":[2],"screenreaderText":[1,"screenreader-text"]}]]],["p-7c2136bf",[[1,"gux-icon",{"iconName":[1,"icon-name"],"decorative":[4],"screenreaderText":[1,"screenreader-text"],"svgHtml":[32]}]]],["p-21ca4666",[[1,"gux-rating",{"value":[1026],"maxValue":[2,"max-value"],"disabled":[4],"readonly":[4]},[[0,"click","onClick"],[0,"keydown","onKeyDown"]]]]],["p-30a13b1f",[[0,"gux-side-panel-button",{"icon":[1],"altText":[1,"alt-text"],"isSelected":[4,"is-selected"]}]]],["p-83bf98a2",[[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-ed4e1d83",[[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-00ae6570",[[4,"gux-tab-dropdown-option-legacy",{"optionId":[1,"option-id"],"iconName":[1,"icon-name"]}]]],["p-264bf172",[[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-d0174acf",[[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-291d89ed",[[1,"gux-accordion",{"singleOpenSection":[4,"single-open-section"]},[[0,"internalsectionopened","handleInternalsectionopened"]]]]],["p-04a5fb3d",[[1,"gux-action-item",{"text":[1],"value":[16],"disabled":[4]},[[0,"click","handleClick"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-af91699a",[[1,"gux-action-list-divider"]]],["p-ca6cdbad",[[1,"gux-action-toast"]]],["p-f677609d",[[1,"gux-breadcrumbs",{"accent":[1]}]]],["p-d2fad1b8",[[17,"gux-button",{"type":[1],"guxTitle":[1,"gux-title"],"disabled":[4],"accent":[1]}]]],["p-b9db8490",[[1,"gux-card-beta",{"accent":[1]}]]],["p-d6684dfc",[[0,"gux-command-action",{"text":[1],"details":[1],"common":[4],"recent":[4],"shortcut":[1],"invokePress":[64]}]]],["p-56041709",[[0,"gux-dropdown-option",{"value":[1],"disabled":[4],"filtered":[1540],"selected":[1540],"text":[1],"highlight":[32],"getDisplayedValue":[64],"shouldFilter":[64]}]]],["p-7a3c62bf",[[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-4dc6133b",[[1,"gux-list-divider"]]],["p-c879efbe",[[1,"gux-list-divider-legacy"]]],["p-1d4ff291",[[4,"gux-menu"]]],["p-845b5c58",[[4,"gux-menu-option",{"guxFocus":[64]},[[0,"keydown","onKeydown"]]]]],["p-34eeef98",[[4,"gux-option-legacy",{"value":[1],"disabled":[4],"text":[1025],"selected":[516],"shouldFilter":[64]}]]],["p-7e1a35eb",[[1,"gux-panel-frame-legacy"]]],["p-5ab0e40c",[[4,"gux-side-panel-legacy",{"isOpen":[4,"is-open"],"position":[1]}]]],["p-a65ca708",[[1,"gux-switch",{"value":[1025],"layout":[1],"switchItems":[32]},[[0,"click","onClick"]]]]],["p-5bcae09f",[[4,"gux-switch-item",{"value":[1],"selected":[4],"disabled":[4]},[[0,"click","onClick"]]]]],["p-2a283e23",[[4,"gux-tab-advanced-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-b80b9692",[[4,"gux-tab-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-136c9b41",[[1,"gux-tabs",{"activeTab":[1025,"active-tab"],"orientation":[1],"alignment":[1],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-16ae5445",[[1,"gux-tabs-advanced",{"activeTab":[1025,"active-tab"],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-820df47a",[[4,"gux-text-label-legacy",{"label":[1],"position":[1]}]]],["p-146232af",[[1,"gux-form-field-search",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"clearable":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-e5070b6c",[[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-61c0d6d8",[[0,"gux-toggle-slider",{"checked":[4],"disabled":[4],"guxAriaLabel":[1,"gux-aria-label"],"labelId":[1,"label-id"],"errorId":[1,"error-id"]}]]],["p-0d7692bf",[[17,"gux-list-item",{"disabled":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-7e625ccf",[[1,"gux-form-field-text-like",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32]}]]],["p-51ae3b0f",[[1,"gux-popover-list",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-5cdee6fa",[[0,"gux-text-highlight",{"text":[1],"highlight":[1],"strategy":[1]}]]],["p-ce62846e",[[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-a0394e44",[[1,"gux-error-message-beta"]]],["p-0ccb02c5",[[1,"gux-form-field-checkbox",{"disabled":[32],"hasError":[32]}]]],["p-376aa6e8",[[4,"gux-input-search",{"hasContent":[32],"disabled":[32]}]]],["p-53b88f3b",[[4,"gux-input-text-like",{"clearable":[4],"hasContent":[32],"disabled":[32]}]]],["p-9f74cf70",[[1,"gux-action-list-legacy",{"selectedIndex":[32],"setFocusOnFirstItem":[64],"setFocusOnLastItem":[64],"isLastItemSelected":[64],"isFirstItemSelected":[64]},[[0,"keydown","onKeyDown"]]]]],["p-076cb468",[[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-07ed8339",[[17,"gux-list",{"guxFocusFirstItem":[64]},[[0,"keydown","onKeyDown"]]]]],["p-1794d12b",[[1,"gux-radial-loading",{"context":[1],"screenreaderText":[1,"screenreader-text"]}]]],["p-cd4be181",[[1,"gux-visualization-beta",{"visualizationSpec":[16],"embedOptions":[16]}]]],["p-3ab8ad28",[[4,"gux-color-select",{"color":[32]},[[0,"colorSelect","onColorSelect"]]],[0,"gux-input-color-option",{"active":[4],"value":[1]}]]],["p-c7e8a8db",[[1,"gux-popup",{"expanded":[4],"disabled":[4]}]]],["p-0df4189f",[[1,"gux-dropdown",{"value":[1025],"disabled":[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],"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-fe3b5219",[[17,"gux-form-field-input-clear-button"]]],["p-2c957b5c",[[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-3b84872e",[[17,"gux-dismiss-button"]]],["p-662b29b4",[[1,"gux-button-slot-beta",{"accent":[1]}]]],["p-fbd97778",[[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],"isShown":[32],"showTooltip":[64],"hideTooltip":[64]},[[9,"keydown","handleKeyDown"]]]]]]'),e)));
@@ -1 +1 @@
1
- import{r as t,h as e,g as i}from"./p-767fc0c6.js";import{b as o}from"./p-e983e68c.js";import{O as n}from"./p-17fc6962.js";import{o as r,a as s}from"./p-e2bea786.js";import{p as a}from"./p-c10e41a9.js";import{t as l}from"./p-edd6aea6.js";import{s as u}from"./p-8fe7daff.js";import{s as p}from"./p-d176c2ae.js";import{G as c,a as x}from"./p-0074384c.js";import{h as d,c as g,G as h,a as f,v as b,g as m}from"./p-24946167.js";import"./p-8a133b9b.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";const w={increment:"Increment",decrement:"Decrement"};const v=class{constructor(e){t(this,e),this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1}onMutation(){this.hasError=d(this.root)}async componentWillLoad(){this.getI18nValue=await o(this.root,w),this.setInput(),this.setLabel(),this.hasError=d(this.root),l(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){const t=this.clearable&&this.hasContent&&!this.disabled;return e(x,{labelPosition:this.computedLabelPosition},e(c,{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-input-container":!0,"gux-disabled":this.disabled,"gux-clear":t}},e("slot",{name:"input",onSlotchange:()=>this.setInput()}),t&&e("gux-form-field-input-clear-button",{onClick:()=>g(this.input)})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),e(h,{hasError:this.hasError},e("slot",{name:"error"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.clearable?"clearable":"unclearable"}-${t}`}setInput(){this.input=this.root.querySelector('input[type="number"][slot="input"]'),this.hasContent=f(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=r(this.input,(t=>{this.disabled=t})),this.requiredObserver=s(this.input,(t=>{this.required=t})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}renderStepButtons(t,i,o){return e("div",{class:"gux-step-buttons-container"},e("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:i("increment"),disabled:o,onClick:()=>this.stepUp(t)},e("gux-icon",{"icon-name":"chevron-small-up",decorative:!0})),e("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:i("decrement"),disabled:o,onClick:()=>this.stepDown(t)},e("gux-icon",{"icon-name":"chevron-small-down",decorative:!0})))}stepDown(t){""===t.value?u(t,t.min||"0",!1):(t.stepDown(),this.simulateNativeInputAndChangeEvents(t))}stepUp(t){""===t.value?u(t,t.min||"0",!1):(t.stepUp(),this.simulateNativeInputAndChangeEvents(t))}simulateNativeInputAndChangeEvents(t){p(t,"input"),p(t,"change")}get root(){return i(this)}};(function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);r>3&&s&&Object.defineProperty(e,i,s)})([n({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.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(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px;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;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.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-container.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}.gux-step-buttons-container .gux-step-button:not(:disabled):focus,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}";export{v as gux_form_field_number}
1
+ import{r as t,h as e,g as i}from"./p-767fc0c6.js";import{b as o}from"./p-e983e68c.js";import{O as n}from"./p-17fc6962.js";import{o as r,a as s}from"./p-e2bea786.js";import{p as a}from"./p-c10e41a9.js";import{t as l}from"./p-3ef7aa9b.js";import{s as u}from"./p-8fe7daff.js";import{s as p}from"./p-d176c2ae.js";import{G as c,a as x}from"./p-0074384c.js";import{h as d,c as g,G as h,a as f,v as b,g as m}from"./p-24946167.js";import"./p-8a133b9b.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";const w={increment:"Increment",decrement:"Decrement"};const v=class{constructor(e){t(this,e),this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1}onMutation(){this.hasError=d(this.root)}async componentWillLoad(){this.getI18nValue=await o(this.root,w),this.setInput(),this.setLabel(),this.hasError=d(this.root),l(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){const t=this.clearable&&this.hasContent&&!this.disabled;return e(x,{labelPosition:this.computedLabelPosition},e(c,{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-input-container":!0,"gux-disabled":this.disabled,"gux-clear":t}},e("slot",{name:"input",onSlotchange:()=>this.setInput()}),t&&e("gux-form-field-input-clear-button",{onClick:()=>g(this.input)})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),e(h,{hasError:this.hasError},e("slot",{name:"error"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.clearable?"clearable":"unclearable"}-${t}`}setInput(){this.input=this.root.querySelector('input[type="number"][slot="input"]'),this.hasContent=f(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=r(this.input,(t=>{this.disabled=t})),this.requiredObserver=s(this.input,(t=>{this.required=t})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}renderStepButtons(t,i,o){return e("div",{class:"gux-step-buttons-container"},e("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:i("increment"),disabled:o,onClick:()=>this.stepUp(t)},e("gux-icon",{"icon-name":"chevron-small-up",decorative:!0})),e("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:i("decrement"),disabled:o,onClick:()=>this.stepDown(t)},e("gux-icon",{"icon-name":"chevron-small-down",decorative:!0})))}stepDown(t){""===t.value?u(t,t.min||"0",!1):(t.stepDown(),this.simulateNativeInputAndChangeEvents(t))}stepUp(t){""===t.value?u(t,t.min||"0",!1):(t.stepUp(),this.simulateNativeInputAndChangeEvents(t))}simulateNativeInputAndChangeEvents(t){p(t,"input"),p(t,"change")}get root(){return i(this)}};(function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);r>3&&s&&Object.defineProperty(e,i,s)})([n({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.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(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px;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;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.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-container.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}.gux-step-buttons-container .gux-step-button:not(:disabled):focus,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}";export{v as gux_form_field_number}
@@ -1 +1 @@
1
- import{r as t,h as n,H as r,g as s}from"./p-767fc0c6.js";import{t as e}from"./p-edd6aea6.js";const o=["gux-list-item"];function i(t){return function(t){const n=t.querySelector("slot");return n?n.assignedElements():Array.from(t.children)}(t).filter((t=>!!o.includes(t.tagName.toLowerCase())&&!t.disabled))}function c(t,n){a(t,(function(t){return i(t).findIndex((t=>t.matches(":focus-within")))}(t)+n)%i(t).length)}function a(t,n){var r;const s=i(t);for(;n<0;)n+=s.length;null===(r=s[n])||void 0===r||r.focus()}function u(t){a(t,0)}const l=class{constructor(n){t(this,n)}componentWillLoad(){e(this.root)}onKeyDown(t){switch(t.key){case"ArrowUp":t.preventDefault(),c(this.root,-1);break;case"Home":t.preventDefault(),u(this.root);break;case"ArrowDown":t.preventDefault(),c(this.root,1);break;case"End":t.preventDefault(),function(t){a(t,function(t){return i(t).length-1}(t))}(this.root)}}async guxFocusFirstItem(){u(this.root)}renderFocusTarget(){return n("span",{tabindex:"-1"})}render(){return n(r,{role:"list"},this.renderFocusTarget(),n("slot",null))}static get delegatesFocus(){return!0}get root(){return s(this)}};l.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}";export{l as gux_list}
1
+ import{r as t,h as n,H as r,g as s}from"./p-767fc0c6.js";import{t as o}from"./p-3ef7aa9b.js";const e=["gux-list-item"];function i(t){return function(t){const n=t.querySelector("slot");return n?n.assignedElements():Array.from(t.children)}(t).filter((t=>!!e.includes(t.tagName.toLowerCase())&&!t.disabled))}function c(t,n){a(t,(function(t){return i(t).findIndex((t=>t.matches(":focus-within")))}(t)+n)%i(t).length)}function a(t,n){var r;const s=i(t);for(;n<0;)n+=s.length;null===(r=s[n])||void 0===r||r.focus()}function u(t){a(t,0)}const l=class{constructor(n){t(this,n)}componentWillLoad(){o(this.root)}onKeyDown(t){switch(t.key){case"ArrowUp":t.preventDefault(),c(this.root,-1);break;case"Home":t.preventDefault(),u(this.root);break;case"ArrowDown":t.preventDefault(),c(this.root,1);break;case"End":t.preventDefault(),function(t){a(t,function(t){return i(t).length-1}(t))}(this.root)}}async guxFocusFirstItem(){u(this.root)}renderFocusTarget(){return n("span",{tabindex:"-1"})}render(){return n(r,{role:"list"},this.renderFocusTarget(),n("slot",null))}static get delegatesFocus(){return!0}get root(){return s(this)}};l.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}";export{l as gux_list}
@@ -1 +1 @@
1
- import{r as t,c as o,h as n,g as a}from"./p-767fc0c6.js";import{t as i}from"./p-edd6aea6.js";const s=class{constructor(n){t(this,n),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0}handleKeyEvent(t){"Escape"===t.key&&this.onDismissHandler(t)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){i(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var t,o,n;const a=this.getInitialFocusElement();a?null===(t=a.focus)||void 0===t||t.call(a):this.dismissButton&&(null===(n=(o=this.dismissButton).focus)||void 0===n||n.call(o))}render(){const t=this.hasModalTitleSlot(),o=this.hasFooterButtons();return n("div",{class:"gux-modal"},n("div",{class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),n("gux-dismiss-button",{onClick:this.onDismissHandler.bind(this),ref:t=>this.dismissButton=t}),t&&n("h1",{class:"gux-modal-header"},n("slot",{name:"title"})),n("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!o}},n("p",null,n("slot",{name:"content"}))),o&&n("div",{class:"gux-button-footer"},n("div",{class:"gux-left-align-buttons"},n("slot",{name:"left-align-buttons"})),n("div",{class:"gux-right-align-buttons"},n("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return n("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(t){var o;t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return a(this)}};s.style=":host .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(32, 41, 55, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{s as gux_modal}
1
+ import{r as t,c as o,h as n,g as a}from"./p-767fc0c6.js";import{t as i}from"./p-3ef7aa9b.js";const s=class{constructor(n){t(this,n),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0}handleKeyEvent(t){"Escape"===t.key&&this.onDismissHandler(t)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){i(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var t,o,n;const a=this.getInitialFocusElement();a?null===(t=a.focus)||void 0===t||t.call(a):this.dismissButton&&(null===(n=(o=this.dismissButton).focus)||void 0===n||n.call(o))}render(){const t=this.hasModalTitleSlot(),o=this.hasFooterButtons();return n("div",{class:"gux-modal"},n("div",{class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),n("gux-dismiss-button",{onClick:this.onDismissHandler.bind(this),ref:t=>this.dismissButton=t}),t&&n("h1",{class:"gux-modal-header"},n("slot",{name:"title"})),n("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!o}},n("p",null,n("slot",{name:"content"}))),o&&n("div",{class:"gux-button-footer"},n("div",{class:"gux-left-align-buttons"},n("slot",{name:"left-align-buttons"})),n("div",{class:"gux-right-align-buttons"},n("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return n("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(t){var o;t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return a(this)}};s.style=":host .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(32, 41, 55, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{s as gux_modal}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,g as a}from"./p-767fc0c6.js";import{O as i}from"./p-17fc6962.js";import{o as s}from"./p-e2bea786.js";import{p as r}from"./p-c10e41a9.js";import{t as l}from"./p-edd6aea6.js";import{h as n,G as h,v as c}from"./p-24946167.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const p=class{constructor(t){e(this,t),this.hasError=!1}onMutation(){this.hasError=n(this.root)}componentWillLoad(){this.setInput(),this.hasError=n(this.root),l(this.root)}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return t(o,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("div",{class:"gux-form-field-container"},t("div",{class:"gux-input"},t("slot",{name:"input",onSlotchange:()=>this.setInput()}),t("slot",{name:"label"})),t(h,{hasError:this.hasError},t("slot",{name:"error"}))))}setInput(){this.input=this.root.querySelector('input[type="checkbox"][slot="input"]'),r(this.input),this.disabled=this.input.disabled,this.disabledObserver=s(this.input,(e=>{this.disabled=e})),c(this.root,this.input)}get root(){return a(this)}};(function(e,t,o,a){var i,s=arguments.length,r=s<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,a);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(r=(s<3?i(r):s>3?i(t,o,r):i(t,o))||r);s>3&&r&&Object.defineProperty(t,o,r)})([i({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".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}:host{display:block;color:#2e394c}:host(.gux-input-error) ::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%23ea0b0b' /%3E%3C/svg%3E\")}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input{position:relative;height:24px;line-height:24px}::slotted(input[type='checkbox']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='checkbox'])::before{grid-area:1;content:'';border-radius:15%}::slotted(input[type='checkbox']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%2377828f' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%232a60c8' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:checked)::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 1.467h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zM6.8 11 3.638 7.941l.89-.932L6.8 9.2l3.947-3.861.891.932z' fill='%232a60c8' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:indeterminate)::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.138 8.467h7v-1h-7zm7-7h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zm2 10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2z' fill='%232a60c8' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}";export{p as gux_form_field_checkbox}
1
+ import{r as e,h as t,H as o,g as a}from"./p-767fc0c6.js";import{O as i}from"./p-17fc6962.js";import{o as s}from"./p-e2bea786.js";import{p as r}from"./p-c10e41a9.js";import{t as l}from"./p-3ef7aa9b.js";import{h as n,G as h,v as c}from"./p-24946167.js";import"./p-cbcbd1bb.js";import"./p-3184268e.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const p=class{constructor(t){e(this,t),this.hasError=!1}onMutation(){this.hasError=n(this.root)}componentWillLoad(){this.setInput(),this.hasError=n(this.root),l(this.root)}disconnectedCallback(){this.disabledObserver.disconnect()}render(){return t(o,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("div",{class:"gux-form-field-container"},t("div",{class:"gux-input"},t("slot",{name:"input",onSlotchange:()=>this.setInput()}),t("slot",{name:"label"})),t(h,{hasError:this.hasError},t("slot",{name:"error"}))))}setInput(){this.input=this.root.querySelector('input[type="checkbox"][slot="input"]'),r(this.input),this.disabled=this.input.disabled,this.disabledObserver=s(this.input,(e=>{this.disabled=e})),c(this.root,this.input)}get root(){return a(this)}};(function(e,t,o,a){var i,s=arguments.length,r=s<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,a);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(r=(s<3?i(r):s>3?i(t,o,r):i(t,o))||r);s>3&&r&&Object.defineProperty(t,o,r)})([i({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".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}:host{display:block;color:#2e394c}:host(.gux-input-error) ::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%23ea0b0b' /%3E%3C/svg%3E\")}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input{position:relative;height:24px;line-height:24px}::slotted(input[type='checkbox']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='checkbox'])::before{grid-area:1;content:'';border-radius:15%}::slotted(input[type='checkbox']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%2377828f' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 2.467a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7m0-1h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z' fill='%232a60c8' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:checked)::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.138 1.467h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zM6.8 11 3.638 7.941l.89-.932L6.8 9.2l3.947-3.861.891.932z' fill='%232a60c8' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:indeterminate)::before{background-image:url(\"data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.138 8.467h7v-1h-7zm7-7h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zm2 10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2z' fill='%232a60c8' /%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}";export{p as gux_form_field_checkbox}
@@ -1 +1 @@
1
- import{r as t,f as e,h as i,g as o,c as n,H as s}from"./p-767fc0c6.js";import{O as r}from"./p-d9c3f07f.js";import{b as u}from"./p-e983e68c.js";import{s as a}from"./p-d176c2ae.js";import{t as l}from"./p-edd6aea6.js";import{w as d}from"./p-76ff3e75.js";import{l as c}from"./p-3184268e.js";import{r as h}from"./p-cbcbd1bb.js";import"./p-8a133b9b.js";const x={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};function f(t){return Array.from(t.children)}function g(t){return f(t).find((t=>t.active))}function p(t,e){e&&(f(t).forEach((i=>{const o=!(i.disabled&&i.filtered||i!==e);i.active=o,o&&t.setAttribute("aria-activedescendant",i.id)})),e.scrollIntoView({block:"nearest"}))}function b(t){let e=f(t)[0];for(;e&&(e.disabled||e.filtered);)e=e.nextElementSibling;return e}function m(t){return Boolean(g(t))}function w(t,e){return f(t).find((t=>(!t.disabled||!t.filtered)&&t.textContent.toLowerCase().startsWith(e.toLowerCase())))}function v(t){f(t).forEach((t=>{t.active=!1}))}function y(t){p(t,b(t))}function F(t){p(t,function(t){const e=f(t);let i=e[e.length-1];for(;i&&(i.disabled||i.filtered);)i=i.previousElementSibling;return i}(t))}function k(t,e){m(t)&&e(g(t).value)}let j,A="";const B=class{constructor(e){t(this,e),this.disabled=!1,this.filterable=!1,this.expanded=!1,this.filter=""}focusSelectedItemAfterRender(t){t&&this.listboxElement&&requestAnimationFrame((()=>{requestAnimationFrame((()=>{this.listboxElement.focus(),this.filterable&&this.filterElement.focus()}))})),t||(this.filter="")}validateValue(t){void 0!==t?this.getOptionElementByValue(t)?this.listboxElement.value=t:this.value=void 0:this.listboxElement.value=t}onKeydown(t){switch(t.key){case"Escape":return this.filterable&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),e(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}async componentWillLoad(){l(this.root),this.i18n=await u(this.root,x),this.listboxElement=this.root.querySelector("gux-listbox"),this.validateValue(this.value)}componentDidLoad(){this.listboxElement.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),this.listboxElement.addEventListener("change",(t=>{t.stopPropagation()}))}componentWillRender(){this.validateValue(this.value),this.listboxElement.filter=this.filter}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}getOptionElementByValue(t){const e=this.root.querySelectorAll("gux-option");return Array.from(e).find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.filterable&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.filterable&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),void this.listboxElement.focus();case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){switch(t.key){case" ":return void t.preventDefault()}}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,this.collapseListbox("focusFieldButton"),a(this.root,"input"),a(this.root,"change"))}getSuggestionText(t){const e=t.length;if(e>0){const i=w(this.listboxElement,t);if(i)return i.textContent.substring(e)}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?i("div",{class:"gux-selected-option"},t.textContent):i("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderFilterInputField(){if(this.expanded&&this.filterable)return i("div",{class:"gux-field gux-input-field"},i("div",{class:"gux-field-content"},i("div",{class:"gux-filter"},i("div",{class:"gux-filter-display"},i("span",{class:"gux-filter-text"},this.filter),i("span",{class:"gux-filter-suggestion"},this.getSuggestionText(this.filter))),i("div",{class:"input-and-dropdown-button"},i("input",{onClick:this.fieldButtonClick.bind(this),class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this)})))))}renderPopup(){return i("div",{slot:"popup",class:"gux-listbox-container"},i("slot",null))}renderTarget(){return i("div",{class:{"gux-target-container-expanded":this.expanded&&this.filterable,"gux-target-container-collapsed":!(this.expanded&&this.filterable)},slot:"target"},this.renderFilterInputField(),i("button",{type:"button",class:"gux-field gux-field-button",disabled:this.disabled,onClick:this.fieldButtonClick.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),i("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:"chevron-small-down"})))}renderTargetContent(){if(!this.expanded||!this.filterable)return i("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return i("gux-popup",{expanded:this.expanded,disabled:this.disabled},this.renderTarget(),this.renderPopup())}get root(){return o(this)}static get watchers(){return{expanded:["focusSelectedItemAfterRender"],value:["validateValue"]}}};(function(t,e,i,o){var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var u=t.length-1;u>=0;u--)(n=t[u])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);s>3&&r&&Object.defineProperty(e,i,r)})([r({triggerEvents:"mousedown"})],B.prototype,"onClickOutside",null),B.style=":host{color:#2e394c}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:6px 8px 6px 6px;font-family:inherit;font-size:12px;line-height:1.6667;cursor:pointer;background-color:#f6f7f9}.gux-field.gux-input-field{height:30px}.gux-field .gux-field-content{display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:100%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:#596373}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:#596373}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;padding-left:8px;color:#596373}.gux-target-container-expanded{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-expanded:focus-within{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:30px;padding:0 0 0 8px;margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-collapsed .gux-field-button:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-listbox-container{box-sizing:border-box;margin:0;color:#2e394c}";const E={noMatches:"No matches"},L=class{constructor(e){t(this,e),this.internallistboxoptionsupdated=n(this,"internallistboxoptionsupdated",7),this.filter="",this.listboxOptions=[]}onFocus(){var t;p(t=this.root,function(t){return f(t).find((t=>t.hovered&&!t.disabled&&!t.filtered))}(t)||function(t){return f(t).find((t=>t.selected&&!t.disabled&&!t.filtered))}(t)||b(t))}onBlur(){v(this.root)}onKeydown(t){switch(t.key){case"Enter":return t.preventDefault(),void k(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(function(t){if(m(t)){let e=g(t).nextElementSibling;for(;e&&(e.disabled||e.filtered);)e=e.nextElementSibling;return Boolean(e)}return!1}(this.root)?(t.stopPropagation(),e=this.root,p(e,function(t){if(m(t)){let e=g(t).nextElementSibling;for(;e&&(e.disabled||e.filtered);)e=e.nextElementSibling;return e}return b(t)}(e))):y(this.root));case"ArrowUp":return t.preventDefault(),void(function(t){if(m(t)){let e=g(t).previousElementSibling;for(;e&&(e.disabled||e.filtered);)e=e.previousElementSibling;return Boolean(e)}return!1}(this.root)?(t.stopPropagation(),function(t){p(t,function(t){if(m(t)){let e=g(t).previousElementSibling;for(;e&&(e.disabled||e.filtered);)e=e.previousElementSibling;return e}return b(t)}(t))}(this.root)):F(this.root));case"Home":return t.preventDefault(),void y(this.root);case"End":return t.preventDefault(),void F(this.root);case" ":return void t.preventDefault()}var e;1!==t.key.length||function(t,e){clearTimeout(j),A+=e,j=setTimeout((()=>{!function(t){const e=w(t,A);e?p(t,e):v(t)}(t),A=""}),250)}(this.root,t.key)}onKeyup(t){switch(t.key){case" ":return void k(this.root,(t=>this.updateValue(t)))}}onMousemove(){v(this.root)}onClick(t){d("gux-option",t,(t=>{!function(t,e){e(t.value)}(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){k(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.listboxOptions=Array.from(this.root.children),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change"))}async componentWillLoad(){l(this.root),this.i18n=await u(this.root,E),this.setListboxOptions()}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||c("gux-listbox","`gux-listbox` requires a label. Either provide a label and associate it with the listbox using `aria-labelledby` or add an `aria-label` attribute to the gux-listbox element.")}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,t.filtered=!t.textContent.toLowerCase().startsWith(this.filter.toLowerCase())})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length,this.filter&&y(this.root)}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return i("div",{class:"gux-no-matches"},this.i18n("noMatches"))}render(){return i(s,{role:"listbox",tabindex:0},i("slot",{onSlotchange:()=>this.setListboxOptions()}),this.renderAllListboxOptionsFiltered())}get root(){return o(this)}};L.style=":host{box-sizing:border-box;display:block;max-height:20rem;padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;outline:none}:host(:focus){outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-no-matches{box-sizing:border-box;height:32px;padding:8px 16px;color:#2e394c}";const T=class{constructor(e){t(this,e),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}componentWillLoad(){this.root.id=this.root.id||h("gux-option")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){return i(s,{role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},i("slot",null))}get root(){return o(this)}};T.style="gux-option{box-sizing:border-box;display:flex;min-height:32px;padding:8px 16px;color:#2e394c;word-wrap:break-word;cursor:pointer}gux-option.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-option.gux-selected{background:#deeaff}gux-option.gux-active,gux-option.gux-hovered:not([disabled]){color:#fdfdfd;background:#2a60c8}gux-option.gux-filtered{display:none}";export{B as gux_dropdown,L as gux_listbox,T as gux_option}
1
+ import{r as t,f as e,h as i,g as o,c as n,H as s}from"./p-767fc0c6.js";import{O as r}from"./p-d9c3f07f.js";import{b as u}from"./p-e983e68c.js";import{s as a}from"./p-d176c2ae.js";import{t as l}from"./p-3ef7aa9b.js";import{w as d}from"./p-76ff3e75.js";import{l as c}from"./p-3184268e.js";import{r as h}from"./p-cbcbd1bb.js";import"./p-8a133b9b.js";const x={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};function f(t){return Array.from(t.children)}function g(t){return f(t).find((t=>t.active))}function p(t,e){e&&(f(t).forEach((i=>{const o=!(i.disabled&&i.filtered||i!==e);i.active=o,o&&t.setAttribute("aria-activedescendant",i.id)})),e.scrollIntoView({block:"nearest"}))}function b(t){let e=f(t)[0];for(;e&&(e.disabled||e.filtered);)e=e.nextElementSibling;return e}function m(t){return Boolean(g(t))}function w(t,e){return f(t).find((t=>(!t.disabled||!t.filtered)&&t.textContent.toLowerCase().startsWith(e.toLowerCase())))}function v(t){f(t).forEach((t=>{t.active=!1}))}function y(t){p(t,b(t))}function F(t){p(t,function(t){const e=f(t);let i=e[e.length-1];for(;i&&(i.disabled||i.filtered);)i=i.previousElementSibling;return i}(t))}function k(t,e){m(t)&&e(g(t).value)}let j,A="";const B=class{constructor(e){t(this,e),this.disabled=!1,this.filterable=!1,this.expanded=!1,this.filter=""}focusSelectedItemAfterRender(t){t&&this.listboxElement&&requestAnimationFrame((()=>{requestAnimationFrame((()=>{this.listboxElement.focus(),this.filterable&&this.filterElement.focus()}))})),t||(this.filter="")}validateValue(t){void 0!==t?this.getOptionElementByValue(t)?this.listboxElement.value=t:this.value=void 0:this.listboxElement.value=t}onKeydown(t){switch(t.key){case"Escape":return this.filterable&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),e(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}async componentWillLoad(){l(this.root),this.i18n=await u(this.root,x),this.listboxElement=this.root.querySelector("gux-listbox"),this.validateValue(this.value)}componentDidLoad(){this.listboxElement.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),this.listboxElement.addEventListener("change",(t=>{t.stopPropagation()}))}componentWillRender(){this.validateValue(this.value),this.listboxElement.filter=this.filter}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}getOptionElementByValue(t){const e=this.root.querySelectorAll("gux-option");return Array.from(e).find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.filterable&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.filterable&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),void this.listboxElement.focus();case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){switch(t.key){case" ":return void t.preventDefault()}}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,this.collapseListbox("focusFieldButton"),a(this.root,"input"),a(this.root,"change"))}getSuggestionText(t){const e=t.length;if(e>0){const i=w(this.listboxElement,t);if(i)return i.textContent.substring(e)}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?i("div",{class:"gux-selected-option"},t.textContent):i("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderFilterInputField(){if(this.expanded&&this.filterable)return i("div",{class:"gux-field gux-input-field"},i("div",{class:"gux-field-content"},i("div",{class:"gux-filter"},i("div",{class:"gux-filter-display"},i("span",{class:"gux-filter-text"},this.filter),i("span",{class:"gux-filter-suggestion"},this.getSuggestionText(this.filter))),i("div",{class:"input-and-dropdown-button"},i("input",{onClick:this.fieldButtonClick.bind(this),class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this)})))))}renderPopup(){return i("div",{slot:"popup",class:"gux-listbox-container"},i("slot",null))}renderTarget(){return i("div",{class:{"gux-target-container-expanded":this.expanded&&this.filterable,"gux-target-container-collapsed":!(this.expanded&&this.filterable)},slot:"target"},this.renderFilterInputField(),i("button",{type:"button",class:"gux-field gux-field-button",disabled:this.disabled,onClick:this.fieldButtonClick.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),i("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:"chevron-small-down"})))}renderTargetContent(){if(!this.expanded||!this.filterable)return i("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return i("gux-popup",{expanded:this.expanded,disabled:this.disabled},this.renderTarget(),this.renderPopup())}get root(){return o(this)}static get watchers(){return{expanded:["focusSelectedItemAfterRender"],value:["validateValue"]}}};(function(t,e,i,o){var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var u=t.length-1;u>=0;u--)(n=t[u])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);s>3&&r&&Object.defineProperty(e,i,r)})([r({triggerEvents:"mousedown"})],B.prototype,"onClickOutside",null),B.style=":host{color:#2e394c}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:6px 8px 6px 6px;font-family:inherit;font-size:12px;line-height:1.6667;cursor:pointer;background-color:#f6f7f9}.gux-field.gux-input-field{height:30px}.gux-field .gux-field-content{display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:100%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:#596373}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:#596373}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;padding-left:8px;color:#596373}.gux-target-container-expanded{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-expanded:focus-within{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:30px;padding:0 0 0 8px;margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-collapsed .gux-field-button:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-listbox-container{box-sizing:border-box;margin:0;color:#2e394c}";const E={noMatches:"No matches"},L=class{constructor(e){t(this,e),this.internallistboxoptionsupdated=n(this,"internallistboxoptionsupdated",7),this.filter="",this.listboxOptions=[]}onFocus(){var t;p(t=this.root,function(t){return f(t).find((t=>t.hovered&&!t.disabled&&!t.filtered))}(t)||function(t){return f(t).find((t=>t.selected&&!t.disabled&&!t.filtered))}(t)||b(t))}onBlur(){v(this.root)}onKeydown(t){switch(t.key){case"Enter":return t.preventDefault(),void k(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(function(t){if(m(t)){let e=g(t).nextElementSibling;for(;e&&(e.disabled||e.filtered);)e=e.nextElementSibling;return Boolean(e)}return!1}(this.root)?(t.stopPropagation(),e=this.root,p(e,function(t){if(m(t)){let e=g(t).nextElementSibling;for(;e&&(e.disabled||e.filtered);)e=e.nextElementSibling;return e}return b(t)}(e))):y(this.root));case"ArrowUp":return t.preventDefault(),void(function(t){if(m(t)){let e=g(t).previousElementSibling;for(;e&&(e.disabled||e.filtered);)e=e.previousElementSibling;return Boolean(e)}return!1}(this.root)?(t.stopPropagation(),function(t){p(t,function(t){if(m(t)){let e=g(t).previousElementSibling;for(;e&&(e.disabled||e.filtered);)e=e.previousElementSibling;return e}return b(t)}(t))}(this.root)):F(this.root));case"Home":return t.preventDefault(),void y(this.root);case"End":return t.preventDefault(),void F(this.root);case" ":return void t.preventDefault()}var e;1!==t.key.length||function(t,e){clearTimeout(j),A+=e,j=setTimeout((()=>{!function(t){const e=w(t,A);e?p(t,e):v(t)}(t),A=""}),250)}(this.root,t.key)}onKeyup(t){switch(t.key){case" ":return void k(this.root,(t=>this.updateValue(t)))}}onMousemove(){v(this.root)}onClick(t){d("gux-option",t,(t=>{!function(t,e){e(t.value)}(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){k(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.listboxOptions=Array.from(this.root.children),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change"))}async componentWillLoad(){l(this.root),this.i18n=await u(this.root,E),this.setListboxOptions()}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||c("gux-listbox","`gux-listbox` requires a label. Either provide a label and associate it with the listbox using `aria-labelledby` or add an `aria-label` attribute to the gux-listbox element.")}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,t.filtered=!t.textContent.toLowerCase().startsWith(this.filter.toLowerCase())})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length,this.filter&&y(this.root)}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return i("div",{class:"gux-no-matches"},this.i18n("noMatches"))}render(){return i(s,{role:"listbox",tabindex:0},i("slot",{onSlotchange:()=>this.setListboxOptions()}),this.renderAllListboxOptionsFiltered())}get root(){return o(this)}};L.style=":host{box-sizing:border-box;display:block;max-height:20rem;padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;outline:none}:host(:focus){outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-no-matches{box-sizing:border-box;height:32px;padding:8px 16px;color:#2e394c}";const T=class{constructor(e){t(this,e),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}componentWillLoad(){this.root.id=this.root.id||h("gux-option")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){return i(s,{role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},i("slot",null))}get root(){return o(this)}};T.style="gux-option{box-sizing:border-box;display:flex;min-height:32px;padding:8px 16px;color:#2e394c;word-wrap:break-word;cursor:pointer}gux-option.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-option.gux-selected{background:#deeaff}gux-option.gux-active,gux-option.gux-hovered:not([disabled]){color:#fdfdfd;background:#2a60c8}gux-option.gux-filtered{display:none}";export{B as gux_dropdown,L as gux_listbox,T as gux_option}