genesys-spark-components 4.186.0 → 4.186.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (596) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/{get-valid-timezone-CxcDLGWB.js → get-valid-timezone-wrCyyRlV.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-branch-multi.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-branch.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  23. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +3 -3
  30. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  33. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  39. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  40. package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
  41. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  43. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  45. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  46. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  48. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  49. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  50. package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
  51. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  54. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  55. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  56. package/dist/cjs/{gux-form-field-container-3csXa1_D.js → gux-form-field-container-C_ksnWvh.js} +1 -1
  57. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
  58. package/dist/cjs/{gux-form-field-error-Zis2K2ea.js → gux-form-field-error-DsQplUhW.js} +1 -1
  59. package/dist/cjs/{gux-form-field-fieldset-container-BcJCmFTG.js → gux-form-field-fieldset-container-DDS9BG7u.js} +1 -1
  60. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
  61. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  62. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  63. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  64. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
  65. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  66. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
  67. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  68. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  69. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  70. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  71. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  72. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  73. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  74. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
  75. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  82. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
  83. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  91. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-logo-beta.cjs.entry.js +3 -3
  93. package/dist/cjs/gux-logomark-beta.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  102. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  115. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  118. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  121. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-rating.cjs.entry.js +4 -4
  123. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  124. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
  125. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
  127. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
  128. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
  129. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  130. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
  131. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  133. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  136. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  137. package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  145. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  146. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  147. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  148. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  152. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  153. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  154. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  155. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  157. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  158. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  159. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  160. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  161. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  162. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  163. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
  164. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  165. package/dist/cjs/gux-table.cjs.entry.js +3 -3
  166. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  167. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  168. package/dist/cjs/gux-tag.cjs.entry.js +4 -4
  169. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  170. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  171. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  172. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  173. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  174. package/dist/cjs/gux-toast.cjs.entry.js +2 -2
  175. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  176. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  177. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  178. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  179. package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
  180. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  181. package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
  182. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
  183. package/dist/cjs/{gux-tree-multi.service-SP7ZA2lB.js → gux-tree-multi.service-BFBspBvZ.js} +1 -1
  184. package/dist/cjs/{gux-tree.service-w78yRmzF.js → gux-tree.service-DM6q_PoD.js} +1 -1
  185. package/dist/cjs/{index-Bfx8AGPj.js → index-C1LZ-Zd8.js} +1 -1
  186. package/dist/cjs/{index-C2XfGATp.js → index-CjUBUVCO.js} +1 -1
  187. package/dist/cjs/loader.cjs.js +1 -1
  188. package/dist/cjs/{on-click-outside-DSTNdYO6.js → on-click-outside-CXDzyPsA.js} +1 -1
  189. package/dist/cjs/{on-mutation-C-pkBYfu.js → on-mutation-Bpt2qL-s.js} +1 -1
  190. package/dist/cjs/{on-resize-CCaffmJ7.js → on-resize-nisbdZkE.js} +1 -1
  191. package/dist/cjs/{usage-CIw4kGaR.js → usage-o6I3mOuO.js} +1 -1
  192. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.css +8 -7
  193. package/dist/esm/genesys-webcomponents.js +2 -2
  194. package/dist/esm/{get-valid-timezone-CNkoPKdR.js → get-valid-timezone-LDHU1yLM.js} +1 -1
  195. package/dist/esm/gux-accordion-section.entry.js +1 -1
  196. package/dist/esm/gux-accordion.entry.js +2 -2
  197. package/dist/esm/gux-action-button.entry.js +4 -4
  198. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  199. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  200. package/dist/esm/gux-all-row-select.entry.js +2 -2
  201. package/dist/esm/gux-announce-beta.entry.js +2 -2
  202. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  203. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  204. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  205. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  206. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  207. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  208. package/dist/esm/gux-badge.entry.js +4 -4
  209. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  210. package/dist/esm/gux-blank-state.entry.js +3 -3
  211. package/dist/esm/gux-branch-multi.entry.js +2 -2
  212. package/dist/esm/gux-branch.entry.js +2 -2
  213. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  214. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  215. package/dist/esm/gux-button-multi.entry.js +3 -3
  216. package/dist/esm/gux-button-slot.entry.js +2 -2
  217. package/dist/esm/gux-button_2.entry.js +3 -3
  218. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  219. package/dist/esm/gux-calendar.entry.js +3 -3
  220. package/dist/esm/gux-card.entry.js +2 -2
  221. package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
  222. package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
  223. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  224. package/dist/esm/gux-column-manager.entry.js +3 -3
  225. package/dist/esm/gux-content-search.entry.js +3 -3
  226. package/dist/esm/gux-context-menu.entry.js +4 -4
  227. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  228. package/dist/esm/gux-create-option.entry.js +2 -2
  229. package/dist/esm/gux-cta-group.entry.js +1 -1
  230. package/dist/esm/gux-date-beta.entry.js +4 -4
  231. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  232. package/dist/esm/gux-datepicker.entry.js +4 -4
  233. package/dist/esm/gux-day-beta.entry.js +2 -2
  234. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  235. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  236. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  237. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  238. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  239. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  240. package/dist/esm/gux-file-list-item.entry.js +3 -3
  241. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  242. package/dist/esm/gux-flyout-menu.entry.js +4 -4
  243. package/dist/esm/gux-form-beta.entry.js +1 -1
  244. package/dist/esm/gux-form-description.entry.js +1 -1
  245. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  246. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  247. package/dist/esm/gux-form-field-color.entry.js +5 -5
  248. package/dist/esm/{gux-form-field-container-K-R4rXST.js → gux-form-field-container-Dp9t605U.js} +1 -1
  249. package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
  250. package/dist/esm/{gux-form-field-error-DO0r_oNt.js → gux-form-field-error-CUxY2-XD.js} +1 -1
  251. package/dist/esm/{gux-form-field-fieldset-container-DAmLNsF9.js → gux-form-field-fieldset-container-BT88yCp7.js} +1 -1
  252. package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
  253. package/dist/esm/gux-form-field-file.entry.js +5 -5
  254. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  255. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  256. package/dist/esm/gux-form-field-number_2.entry.js +7 -7
  257. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  258. package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
  259. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  260. package/dist/esm/gux-form-field-range.entry.js +6 -6
  261. package/dist/esm/gux-form-field-search.entry.js +5 -5
  262. package/dist/esm/gux-form-field-select.entry.js +5 -5
  263. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  264. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  265. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  266. package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
  267. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  268. package/dist/esm/gux-form-footer.entry.js +2 -2
  269. package/dist/esm/gux-form-heading.entry.js +1 -1
  270. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  271. package/dist/esm/gux-icon.entry.js +2 -2
  272. package/dist/esm/gux-illustration-beta.entry.js +2 -2
  273. package/dist/esm/gux-inline-alert.entry.js +3 -3
  274. package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
  275. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  276. package/dist/esm/gux-leaf-multi.entry.js +2 -2
  277. package/dist/esm/gux-leaf.entry.js +2 -2
  278. package/dist/esm/gux-link-beta.entry.js +2 -2
  279. package/dist/esm/gux-list-divider.entry.js +1 -1
  280. package/dist/esm/gux-list-item.entry.js +1 -1
  281. package/dist/esm/gux-list.entry.js +2 -2
  282. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  283. package/dist/esm/gux-loading-message.entry.js +2 -2
  284. package/dist/esm/gux-logo-beta.entry.js +3 -3
  285. package/dist/esm/gux-logomark-beta.entry.js +3 -3
  286. package/dist/esm/gux-menu-option.entry.js +1 -1
  287. package/dist/esm/gux-menu.entry.js +1 -1
  288. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  289. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  290. package/dist/esm/gux-modal.entry.js +2 -2
  291. package/dist/esm/gux-month-calendar.entry.js +2 -2
  292. package/dist/esm/gux-month-list_2.entry.js +1 -1
  293. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  294. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  295. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  296. package/dist/esm/gux-option-icon.entry.js +1 -1
  297. package/dist/esm/gux-option-multi.entry.js +2 -2
  298. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  299. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  300. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  301. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  302. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  303. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  304. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  305. package/dist/esm/gux-pagination.entry.js +2 -2
  306. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  307. package/dist/esm/gux-popover-beta.entry.js +3 -3
  308. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  309. package/dist/esm/gux-popover-list.entry.js +3 -3
  310. package/dist/esm/gux-popup.entry.js +1 -1
  311. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  312. package/dist/esm/gux-radial-loading.entry.js +3 -3
  313. package/dist/esm/gux-radial-progress.entry.js +2 -2
  314. package/dist/esm/gux-rating.entry.js +4 -4
  315. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  316. package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
  317. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  318. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  319. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  320. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  321. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  322. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  323. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  324. package/dist/esm/gux-row-select.entry.js +2 -2
  325. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  326. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  327. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  328. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  329. package/dist/esm/gux-select-all.entry.js +2 -2
  330. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  331. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  332. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  333. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  334. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  335. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  336. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  337. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  338. package/dist/esm/gux-sort-control.entry.js +3 -3
  339. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  340. package/dist/esm/gux-step-title.entry.js +2 -2
  341. package/dist/esm/gux-step.entry.js +2 -2
  342. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  343. package/dist/esm/gux-submenu.entry.js +1 -1
  344. package/dist/esm/gux-switch-item.entry.js +1 -1
  345. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  346. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  347. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  348. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  349. package/dist/esm/gux-tab-list.entry.js +3 -3
  350. package/dist/esm/gux-tab-panel.entry.js +1 -1
  351. package/dist/esm/gux-tab.entry.js +1 -1
  352. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  353. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  354. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  355. package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
  356. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  357. package/dist/esm/gux-table.entry.js +3 -3
  358. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  359. package/dist/esm/gux-tabs.entry.js +2 -2
  360. package/dist/esm/gux-tag.entry.js +4 -4
  361. package/dist/esm/gux-text-highlight.entry.js +2 -2
  362. package/dist/esm/gux-time-beta.entry.js +4 -4
  363. package/dist/esm/gux-time-picker.entry.js +4 -4
  364. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  365. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  366. package/dist/esm/gux-toast.entry.js +2 -2
  367. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  368. package/dist/esm/gux-toggle.entry.js +3 -3
  369. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  370. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  371. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  372. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  373. package/dist/esm/gux-tree-beta.entry.js +3 -3
  374. package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
  375. package/dist/esm/{gux-tree-multi.service-rN4u4zJA.js → gux-tree-multi.service-BLZ1mRfa.js} +1 -1
  376. package/dist/esm/{gux-tree.service-g_oSRmLT.js → gux-tree.service-BDeQhvUY.js} +1 -1
  377. package/dist/esm/{index-T5mO569D.js → index-BcJFUYIV.js} +1 -1
  378. package/dist/esm/{index-Dz_2h4jr.js → index-CjVJoR6g.js} +1 -1
  379. package/dist/esm/loader.js +2 -2
  380. package/dist/esm/{on-click-outside-R32NST4z.js → on-click-outside-CQ9-ZPII.js} +1 -1
  381. package/dist/esm/{on-mutation-DfF7Bpf8.js → on-mutation-CEhI74kI.js} +1 -1
  382. package/dist/esm/{on-resize-CZO-3VCx.js → on-resize-BzUqKdDk.js} +1 -1
  383. package/dist/esm/{usage-P-hdUE3M.js → usage-m3Lae7sj.js} +1 -1
  384. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  385. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  386. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  387. package/dist/genesys-webcomponents/{p-5e36e00c.entry.js → p-017cb9d5.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-63fc23b7.entry.js → p-056a7c6b.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-0f906c83.entry.js → p-083804b1.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-e1c5a946.entry.js → p-099f666a.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-ae7f9a42.entry.js → p-0b052d60.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-44d918a8.entry.js → p-0b24178e.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-8d17c505.entry.js → p-0cd588f1.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-3f740896.entry.js → p-0d4c3b8f.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-1d8461af.entry.js → p-11837668.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-8b00a8b1.entry.js → p-135367e9.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-250e46d5.entry.js → p-139620e1.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-d5df8246.entry.js → p-13ac38be.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-83c72397.entry.js → p-150a39e6.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-fdc40086.entry.js → p-154def26.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-10c4aba5.entry.js → p-16b176e0.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-2b21f5b0.entry.js → p-19aae774.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-878fb957.entry.js → p-1d3c2d91.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-efd89c57.entry.js → p-1f64bf9d.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-f6be54af.entry.js → p-1fa2732f.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-8bfe887d.entry.js → p-21d62416.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/p-23ae550d.entry.js +1 -0
  408. package/dist/genesys-webcomponents/p-25b9ab49.entry.js +1 -0
  409. package/dist/genesys-webcomponents/{p-59691ec8.entry.js → p-25fd3256.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-1eb0e7e1.entry.js → p-26332854.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-5e688f82.entry.js → p-26ae37e2.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-e324984d.entry.js → p-27917cd5.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-181db322.entry.js → p-285ee4a0.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-d80ed019.entry.js → p-28bb190c.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-840e5e72.entry.js → p-2afa3fa3.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-b011264f.entry.js → p-2d4c4294.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/p-2eeb7b23.entry.js +1 -0
  418. package/dist/genesys-webcomponents/{p-e51be612.entry.js → p-324d6857.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-4378ea79.entry.js → p-32e6acb8.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-22774ede.entry.js → p-34fdea73.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-5e2583d3.entry.js → p-351b23d4.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-c7674d3e.entry.js → p-35a486e5.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-88fe97ab.entry.js → p-38f5b4f6.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-952f83d8.entry.js → p-39260f95.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-a2d4d3ba.entry.js → p-3cd17631.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-b7ded211.entry.js → p-3da05df8.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-f09ea52d.entry.js → p-3e99d726.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-25b54535.entry.js → p-3eba96cc.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-95c9d6e5.entry.js → p-42a37e44.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/p-45586ff0.entry.js +1 -0
  431. package/dist/genesys-webcomponents/{p-2eba7fa7.entry.js → p-467b440a.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-46122325.entry.js → p-46a34101.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-94dec58d.entry.js → p-48ca42f5.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/p-48de3ff3.entry.js +1 -0
  435. package/dist/genesys-webcomponents/{p-bc87db5c.entry.js → p-49ee0c6f.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-d91b4089.entry.js → p-4a7ea7e8.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-a9ae1a36.entry.js → p-4ad8978f.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-0bacc1c0.entry.js → p-4b45cd72.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-d638b856.entry.js → p-4f2bbd47.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-233754d3.entry.js → p-514148f5.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-08f65ffb.entry.js → p-52373db0.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-f92de177.entry.js → p-53e22ff1.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-a5da5222.entry.js → p-541fb3fb.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-38ca0c04.entry.js → p-556113ac.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-40a8659f.entry.js → p-5725af26.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-ba631fa5.entry.js → p-57f2d1dc.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-4e86d6b0.entry.js → p-5800a64c.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-80ac162c.entry.js → p-5942b0f1.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-cf6f951b.entry.js → p-59895996.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-DrJn2EIj.js → p-5GSd1tCA.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-3885a340.entry.js → p-5ac0a470.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-1b993de4.entry.js → p-5b40c6e6.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-a0c70c7d.entry.js → p-5cf1b2ba.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-761dfdfc.entry.js → p-5cf81958.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/p-5e48e9fb.entry.js +1 -0
  456. package/dist/genesys-webcomponents/{p-0a45b162.entry.js → p-60011440.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-a28fb4d6.entry.js → p-6041e65b.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-2d1decba.entry.js → p-6143b5da.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-7b9ee43c.entry.js → p-68dec694.entry.js} +2 -2
  460. package/dist/genesys-webcomponents/{p-10bc670e.entry.js → p-6a47bd85.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-084d7985.entry.js → p-6d83742a.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-44fccf34.entry.js → p-6f9cfe1b.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-ce75d98e.entry.js → p-7091f5b2.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-68c4c1f6.entry.js → p-70999d68.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-f9ad0cfb.entry.js → p-7122ffc2.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-8b77906f.entry.js → p-73082b46.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-ce7e92de.entry.js → p-7467d78b.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-d57f4f0f.entry.js → p-7869bfd9.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-8fe5946c.entry.js → p-7b70f2df.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-eace50ae.entry.js → p-7ee9b69d.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-416badb7.entry.js → p-7f602357.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-d71e1784.entry.js → p-8033fd0b.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-72cae5e3.entry.js → p-84f88012.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-7c225701.entry.js → p-863302cc.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-5a2afb00.entry.js → p-8a13909f.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-5df2e379.entry.js → p-8b78c6e6.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-52bf984a.entry.js → p-8e9f07a4.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-a96b217c.entry.js → p-8f4e6f19.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-9921a228.entry.js → p-8ff107e5.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/p-908be904.entry.js +1 -0
  481. package/dist/genesys-webcomponents/p-908ebad2.entry.js +1 -0
  482. package/dist/genesys-webcomponents/{p-c321b784.entry.js → p-91abcf19.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-2ba9827a.entry.js → p-941d403f.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-8125094f.entry.js → p-9445c461.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-8da560e6.entry.js → p-9579eeaa.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-d6909cfa.entry.js → p-95aa1974.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-9f072d6e.entry.js → p-95f7a089.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-cf2837df.entry.js → p-96154710.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-2c7f70e8.entry.js → p-994e4f51.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-dd96e223.entry.js → p-9a3086e6.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-aa8035f2.entry.js → p-9a59a9ca.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-edaea90f.entry.js → p-9a739818.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-d323c56f.entry.js → p-9d0d3fa8.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-8388d345.entry.js → p-9d22b1ee.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-e7fbc88d.entry.js → p-9f983574.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-14def48a.entry.js → p-9fa06bad.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-1K6Bdrw6.js → p-BS-Yw6fq.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-Ct81NxWr.js → p-BvVMx5eW.js} +1 -1
  499. package/dist/genesys-webcomponents/p-CjVJoR6g.js +2 -0
  500. package/dist/genesys-webcomponents/p-CuKTBQuB.js +1 -0
  501. package/dist/genesys-webcomponents/{p-DmaAM9UB.js → p-D1QZQXQN.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-DVjNN8WO.js → p-DTOY_vUZ.js} +1 -1
  503. package/dist/genesys-webcomponents/p-DaK6PJIg.js +1 -0
  504. package/dist/genesys-webcomponents/{p-Mjv14MGU.js → p-DcL3bWH_.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-3ef8c2ee.entry.js → p-a02a5f08.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-12879f8e.entry.js → p-a352dd2e.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-4cc59941.entry.js → p-a466db49.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-6750f1bd.entry.js → p-a619a0ff.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-8d2c4040.entry.js → p-a8143e2c.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-5f013968.entry.js → p-aaae46b8.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-50a70b04.entry.js → p-aab878b2.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-ee3875eb.entry.js → p-aede3166.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-2e560175.entry.js → p-b0d02114.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-5adef61c.entry.js → p-b12a8508.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-21925e45.entry.js → p-b21ed8c2.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-1ed1d90f.entry.js → p-b2334e35.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-355c6058.entry.js → p-b5a01b48.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/p-b5b441a3.entry.js +1 -0
  519. package/dist/genesys-webcomponents/p-b6f2fc11.entry.js +1 -0
  520. package/dist/genesys-webcomponents/{p-22fc8bc7.entry.js → p-b823a092.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/p-b90aef76.entry.js +1 -0
  522. package/dist/genesys-webcomponents/{p-70039747.entry.js → p-bd8741a3.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-f63d28a3.entry.js → p-be9f6a45.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-9c805410.entry.js → p-bf044a81.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-bd7562f2.entry.js → p-bf7dad16.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/p-c05f9f33.entry.js +1 -0
  527. package/dist/genesys-webcomponents/{p-e2c96d2c.entry.js → p-c1eb882e.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-2ca52d1d.entry.js → p-c8c0a498.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-ca3e3fbb.entry.js → p-c905638c.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-c691ee28.entry.js → p-c961265f.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-10438489.entry.js → p-cae633ff.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-4a67abbc.entry.js → p-cb4791a1.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/p-cbfda3ac.entry.js +1 -0
  534. package/dist/genesys-webcomponents/{p-e19f8f0f.entry.js → p-cd9a57b8.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-e165bcea.entry.js → p-ceb683a7.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-bb4bdcbe.entry.js → p-cf412061.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-586b74de.entry.js → p-d4cf29da.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-d28c5369.entry.js → p-d5c18713.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/p-d5e4a275.entry.js +1 -0
  540. package/dist/genesys-webcomponents/{p-0b8494e4.entry.js → p-d895c2d4.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-0e62a28a.entry.js → p-d8cbd44a.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-14e56a8a.entry.js → p-da5bf7b1.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-1567ea4b.entry.js → p-dad081b0.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-e53bba61.entry.js → p-daff771e.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-98887eea.entry.js → p-dfca7776.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-72efcee2.entry.js → p-e0314387.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-86e60f03.entry.js → p-e181a441.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-0a9b5aa9.entry.js → p-e1b2080a.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-ae35a482.entry.js → p-e1fe1a06.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-87e71f17.entry.js → p-e4a44c7d.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-62d5a576.entry.js → p-e77358d8.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-c86f2a82.entry.js → p-e7841f8f.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-34c49dae.entry.js → p-e84d3b25.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-be4dfcc9.entry.js → p-e8541175.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-73bc81ae.entry.js → p-e96fa35a.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-3c3be6b2.entry.js → p-e9973aeb.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-7c04a9a6.entry.js → p-ec5d01d6.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-0ab0a627.entry.js → p-ed882ba0.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-71bfc382.entry.js → p-eeaf3569.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-406efc68.entry.js → p-ef9c62f0.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-c619ecb1.entry.js → p-f19811e6.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-d951d08a.entry.js → p-f21766df.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-79dfd7bf.entry.js → p-f39ca032.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-8a79bc83.entry.js → p-f46d7dc9.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/p-f480585b.entry.js +1 -0
  566. package/dist/genesys-webcomponents/{p-1aefd34b.entry.js → p-f59113f5.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-7f80b420.entry.js → p-f68b47d9.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-59f93cf5.entry.js → p-f6ecef3e.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-b0f65767.entry.js → p-fa3dd755.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-f308e9ad.entry.js → p-fb37efda.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-b88e7f69.entry.js → p-fcd6e603.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-c7212fc2.entry.js → p-fcdc8ed7.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-CkugK5PE.js → p-hPZIPnvb.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-JPhxXbs4.js → p-kyGdOoF4.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-P-hdUE3M.js → p-m3Lae7sj.js} +1 -1
  576. package/dist/stencil-wrapper.js +1 -1
  577. package/dist/types/stencil-wrapper.d.ts +1 -1
  578. package/package.json +1 -1
  579. package/dist/genesys-webcomponents/p-02406da9.entry.js +0 -1
  580. package/dist/genesys-webcomponents/p-07276a2e.entry.js +0 -1
  581. package/dist/genesys-webcomponents/p-07e854e0.entry.js +0 -1
  582. package/dist/genesys-webcomponents/p-0yc9CKxX.js +0 -1
  583. package/dist/genesys-webcomponents/p-13121646.entry.js +0 -1
  584. package/dist/genesys-webcomponents/p-20f953d3.entry.js +0 -1
  585. package/dist/genesys-webcomponents/p-37fc8995.entry.js +0 -1
  586. package/dist/genesys-webcomponents/p-42cb5452.entry.js +0 -1
  587. package/dist/genesys-webcomponents/p-42fd437b.entry.js +0 -1
  588. package/dist/genesys-webcomponents/p-46ad732d.entry.js +0 -1
  589. package/dist/genesys-webcomponents/p-527f7a1a.entry.js +0 -1
  590. package/dist/genesys-webcomponents/p-5a7fcba4.entry.js +0 -1
  591. package/dist/genesys-webcomponents/p-78797c2a.entry.js +0 -1
  592. package/dist/genesys-webcomponents/p-C-1lAIfW.js +0 -1
  593. package/dist/genesys-webcomponents/p-Dz_2h4jr.js +0 -2
  594. package/dist/genesys-webcomponents/p-bff08f71.entry.js +0 -1
  595. package/dist/genesys-webcomponents/p-cb2f68ed.entry.js +0 -1
  596. package/dist/genesys-webcomponents/p-e479e4d9.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,h as o,a as r}from"./p-Dz_2h4jr.js";import{O as i}from"./p-0yc9CKxX.js";import{h as t}from"./p-qzV3vtOw.js";import{b as l}from"./p-DmaAM9UB.js";import{a,G as s}from"./p-JPhxXbs4.js";import{G as f,a as n,b as d}from"./p-DrJn2EIj.js";import{g as h}from"./p-MAoEg4ig.js";import{t as u}from"./p-P-hdUE3M.js";import"./p-Cd4R0amv.js";var g={required:"Required"};const p=class{constructor(o){e(this,o),this.required=!1,this.indicatorMark="required",this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-radio");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledRadio()}onMutation(){this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=t(this.root,"group-error"),this.hasGroupHelp=t(this.root,"group-help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.root.matches(":focus-within")&&(null===(o=this.groupLabelInfo)||void 0===o||o.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.root.matches(":focus-within")&&(null===(r=this.groupLabelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}}onFocusout(){var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}async componentWillLoad(){this.getI18nValue=await l(this.root,g),this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=t(this.root,"group-error"),this.hasGroupHelp=t(this.root,"group-help"),this.hasGroupLabelInfo=t(this.root,"group-label-info"),this.setLabel(),this.setDisabledRadio(),u(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setDisabledRadio(){const e=this.root.querySelectorAll("gux-form-field-radio");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}renderText(e,o=!1){if(o)return" "+e}render(){var e;return o(d,{key:"d59d42b7ac017dae65bdb39848d5d34e6cc15155",labelPosition:"above",disabled:this.disabled},o(n,{key:"8c4c4493d85abb8085f04b0dd0aa31aa4d9c1ee3"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(h(this.root,"group-error"),this.hasGroupError),this.renderText(h(this.root,"group-help"),this.hasGroupHelp),this.renderText(h(this.root,"group-label-info"),this.hasGroupLabelInfo)),o(f,{key:"977aa8619c01ac312ef2867af0d2b5035bffada6",position:"above",required:this.required},o("slot",{key:"363436360629d4870983e06b63ff66d4916dfabf",name:"group-label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"a417bf7381dd2b035d1a7b6a8cbe8d5be755bccd",variant:this.indicatorMark,required:this.required}),o("slot",{key:"2a4d491c1d101eced26da978adf3b9534bb8b87e",name:"group-label-info"})),o("slot",{key:"5cb9c24b82a7f95bfc42cd5234080bf3fbf60ba3"}),o(s,{key:"8aab8df8ea8220afd790231e34e9c40028481876",show:this.hasGroupError},o("slot",{key:"aa26defba2616e0e541e6d8338f15c3f97d52028",name:"group-error"})),o(a,{key:"93c099443c2d59f555f84cdb51645a8de2f80bc7",show:!this.hasGroupError&&this.hasGroupHelp},o("slot",{key:"2c11dbfc0399c3d8f48edca6eebf9f13e632f1b8",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return r(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,i){var t,l=arguments.length,a=l<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,i);else for(var s=e.length-1;s>=0;s--)(t=e[s])&&(a=(l<3?t(a):l>3?t(o,r,a):t(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(gux-form-field-radio){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-radio:first-of-type){padding-block-start:0}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{p as gux_form_field_radio_group_beta}
1
+ import{r as e,h as o,a as r}from"./p-CjVJoR6g.js";import{O as i}from"./p-DaK6PJIg.js";import{h as t}from"./p-qzV3vtOw.js";import{b as l}from"./p-D1QZQXQN.js";import{a,G as s}from"./p-kyGdOoF4.js";import{G as f,a as n,b as d}from"./p-5GSd1tCA.js";import{g as u}from"./p-MAoEg4ig.js";import{t as h}from"./p-m3Lae7sj.js";import"./p-Cd4R0amv.js";var g={required:"Required"};const p=class{constructor(o){e(this,o),this.required=!1,this.indicatorMark="required",this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-radio");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledRadio()}onMutation(){this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=t(this.root,"group-error"),this.hasGroupHelp=t(this.root,"group-help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.root.matches(":focus-within")&&(null===(o=this.groupLabelInfo)||void 0===o||o.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.root.matches(":focus-within")&&(null===(r=this.groupLabelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}}onFocusout(){var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}async componentWillLoad(){this.getI18nValue=await l(this.root,g),this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=t(this.root,"group-error"),this.hasGroupHelp=t(this.root,"group-help"),this.hasGroupLabelInfo=t(this.root,"group-label-info"),this.setLabel(),this.setDisabledRadio(),h(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setDisabledRadio(){const e=this.root.querySelectorAll("gux-form-field-radio");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}renderText(e,o=!1){if(o)return" "+e}render(){var e;return o(d,{key:"d59d42b7ac017dae65bdb39848d5d34e6cc15155",labelPosition:"above",disabled:this.disabled},o(n,{key:"8c4c4493d85abb8085f04b0dd0aa31aa4d9c1ee3"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"group-error"),this.hasGroupError),this.renderText(u(this.root,"group-help"),this.hasGroupHelp),this.renderText(u(this.root,"group-label-info"),this.hasGroupLabelInfo)),o(f,{key:"977aa8619c01ac312ef2867af0d2b5035bffada6",position:"above",required:this.required},o("slot",{key:"363436360629d4870983e06b63ff66d4916dfabf",name:"group-label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"a417bf7381dd2b035d1a7b6a8cbe8d5be755bccd",variant:this.indicatorMark,required:this.required}),o("slot",{key:"2a4d491c1d101eced26da978adf3b9534bb8b87e",name:"group-label-info"})),o("slot",{key:"5cb9c24b82a7f95bfc42cd5234080bf3fbf60ba3"}),o(s,{key:"8aab8df8ea8220afd790231e34e9c40028481876",show:this.hasGroupError},o("slot",{key:"aa26defba2616e0e541e6d8338f15c3f97d52028",name:"group-error"})),o(a,{key:"93c099443c2d59f555f84cdb51645a8de2f80bc7",show:!this.hasGroupError&&this.hasGroupHelp},o("slot",{key:"2c11dbfc0399c3d8f48edca6eebf9f13e632f1b8",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return r(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,i){var t,l=arguments.length,a=l<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,i);else for(var s=e.length-1;s>=0;s--)(t=e[s])&&(a=(l<3?t(a):l>3?t(o,r,a):t(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(gux-form-field-radio){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-radio:first-of-type){padding-block-start:0}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{p as gux_form_field_radio_group_beta}
@@ -1 +1 @@
1
- import{r as t,h as e,H as i,a as s}from"./p-Dz_2h4jr.js";import{t as o}from"./p-P-hdUE3M.js";import{f as r}from"./p-Cr5bTKWF.js";import{r as a}from"./p-D9jKBqIb.js";const n=class{constructor(e){t(this,e),this.id=a("gux-tooltip-pointer"),this.accent="light",this.placement="bottom-start",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){o(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=r(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip-pointer: invalid element supplied to 'for': "${this.for}"`)}render(){return e(i,{key:"3bea0c4a5d4b8db56ddab2a433b33475e2bc4682",id:this.id,role:this.role},e("gux-tooltip-base-beta",{key:"3ab919ab52f171529a68b7cc827fa5e77e90151a",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t,followMouse:!0},e("span",{key:"ec30dddd207a47c5680ff95c9d77949408634d13",slot:"content"},e("slot",{key:"49bc97dbf058d0a5f9c0de0766c1d597851f3e3e",name:"content"},e("slot",{key:"e81dc5abf69e80746d4c013b260998837cdd21e2"})))))}get root(){return s(this)}static get watchers(){return{for:["updateForElement"]}}};export{n as gux_tooltip_pointer_beta}
1
+ import{r as t,h as e,H as i,a as s}from"./p-CjVJoR6g.js";import{t as o}from"./p-m3Lae7sj.js";import{f as r}from"./p-Cr5bTKWF.js";import{r as a}from"./p-D9jKBqIb.js";const n=class{constructor(e){t(this,e),this.id=a("gux-tooltip-pointer"),this.accent="light",this.placement="bottom-start",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){o(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=r(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip-pointer: invalid element supplied to 'for': "${this.for}"`)}render(){return e(i,{key:"3bea0c4a5d4b8db56ddab2a433b33475e2bc4682",id:this.id,role:this.role},e("gux-tooltip-base-beta",{key:"3ab919ab52f171529a68b7cc827fa5e77e90151a",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t,followMouse:!0},e("span",{key:"ec30dddd207a47c5680ff95c9d77949408634d13",slot:"content"},e("slot",{key:"49bc97dbf058d0a5f9c0de0766c1d597851f3e3e",name:"content"},e("slot",{key:"e81dc5abf69e80746d4c013b260998837cdd21e2"})))))}get root(){return s(this)}static get watchers(){return{for:["updateForElement"]}}};export{n as gux_tooltip_pointer_beta}
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as o,a as r,H as s}from"./p-Dz_2h4jr.js";import{O as n}from"./p-Ct81NxWr.js";import{b as l}from"./p-DmaAM9UB.js";import{s as a}from"./p-BMRf5pjV.js";import{o as u,c as d}from"./p-Cb3FOYGS.js";import{b as g}from"./p-Bg4q97BS.js";import{t as h}from"./p-P-hdUE3M.js";import{O as c}from"./p-0yc9CKxX.js";import{s as f,b as p,g as x,a as b,d as v,h as m,e as w,f as C,i as y,j as k,k as z,l as F,m as j,n as O,o as T,c as S,p as E}from"./p-zrBw_m7x.js";import{h as L}from"./p-qzV3vtOw.js";import{w as D}from"./p-kLXvN2m9.js";import{g as R}from"./p-Cd4R0amv.js";import{b as W}from"./p-CK42c8Uy.js";import{r as B}from"./p-D9jKBqIb.js";import{g as H}from"./p-MAoEg4ig.js";import"./p-DjLdmWVU.js";var I={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},A=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const K=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.disabled=!1,this.required=!1,this.loading=!1,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){!t&&this.filterElement&&(this.filter="",this.filterElement.value="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&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("noFocusChange")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)));case"Enter":case" ":return void(this.expanded||this.isFilterable()||f(this.listboxElement))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t),this.isFilterable()&&!this.root.contains(null==t?void 0:t.relatedTarget)&&this.filterElement.focus()}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&g((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){h(this.root),this.i18n=await l(this.root,I),u(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.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.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType){const t=b(i);return null==t?void 0:t.substring(e)}}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":case"gux-option-status-beta":return this.renderIconOption(t);default:return e}}getOptionDefaultText(t){return b(t)}renderOption(t){return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},this.getOptionDefaultText(t))}renderIconOption(t){let e=null,i=t.textContent;return null!==t.iconColor&&(e={color:t.iconColor}),L(t,"subtext")&&(i=this.getOptionDefaultText(t)),o("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),o("gux-truncate",{ref:t=>this.truncateElement=t},i))}renderFilterInputField(){if(this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{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),onFocus:()=>this.expanded=!0,disabled:this.disabled}),this.renderTargetContent()))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-filterable":this.isFilterable(),"gux-target-container-filterable-active":this.expanded&&this.isFilterable(),"gux-target-container-not-filterable":!this.isFilterable(),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},!this.isFilterable()&&this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"c2672a5985e694e0e6ed7789efe0282619cfb56f",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};A([n({triggerEvents:"mousedown"})],K.prototype,"onClickOutside",null),A([c({childList:!0,subtree:!0})],K.prototype,"onMutation",null),K.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-filterable{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-filterable,.gux-target-container-not-filterable .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-not-filterable .gux-field-button,.gux-error.gux-target-container-filterable{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-not-filterable .gux-field-button,.gux-disabled.gux-target-container-filterable{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-not-filterable .gux-field-button:hover,.gux-target-container-filterable:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-field.gux-input-field{block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.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:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;block-size:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;inline-size:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.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:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-filterable{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-filterable.gux-target-container-filterable-active{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-filterable:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-filterable:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-filterable .gux-filter-input{background-color:inherit;border:none}.gux-target-container-filterable .gux-filter-input:focus{outline:none;border:none}.gux-target-container-filterable .gux-filter-input::selection{color:inherit;background:transparent;}.gux-target-container-filterable .gux-field-button{inline-size:auto;block-size:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-filterable .gux-field-button:focus{outline:none}.gux-target-container-not-filterable .gux-field-button{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-not-filterable .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-not-filterable .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dropdown-gap)}";const M=["gux-option","gux-option-icon","gux-option-status-beta"].join(",");var V={noMatches:"No matches",loading:"Loading..."};const U=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.filterType="none",this.disabled=!1,this.selectedValues=[],this.listboxOptions=[]}onBlur(){v(this.root)}onKeydown(t){if(!m(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void j(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(z(this.root)?(t.stopPropagation(),F(this.root)):C(this.root));case"ArrowUp":return t.preventDefault(),void(y(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"Home":return t.preventDefault(),void C(this.root);case"End":return t.preventDefault(),void w(this.root);case" ":return void t.preventDefault()}1!==t.key.length||O(this.root,t.key)}onKeyup(t){" "!==t.key||j(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){D(M,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){j(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.selectedValues=S(this.value),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),a(this.root,"input"),a(this.root,"change")}async componentWillLoad(){h(this.root),this.i18n=await l(this.root,V),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!E(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(s,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return r(this)}};U.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";const N=class{constructor(e){t(this,e),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||B("gux-option"),this.onSubtextChange()}onSubtextChange(){const t=H(this.root,"subtext");this.hasSubtext=!!(null==t?void 0:t.trim())}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const t=R("gux-listbox",this.root);return null==t?void 0:t.disabled}render(){return o(s,{key:"1cd58023d7aabfe7be14cc2b1ba8128ee79ad75f",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":W(this.disabled||this.hasDisabledParent())},o("div",{key:"77a46069a8a6d24ced60cd9f3f3098f8b562c895",class:"gux-option-wrapper"},o("gux-truncate",{key:"a77b3bb3b0a9356d9f4e75a28ae325beaeb304b3","tooltip-placement":"right",ref:t=>this.truncateElement=t},o("slot",{key:"b73597354bcd5e4c904cb0d35a60019f1f057d75"})),o("slot",{key:"28893950327aed82016a5f0584228b5838550906",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};N.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}";export{K as gux_dropdown,U as gux_listbox,N as gux_option}
1
+ import{r as t,c as e,f as i,h as o,a as r,H as s}from"./p-CjVJoR6g.js";import{O as n}from"./p-BvVMx5eW.js";import{b as l}from"./p-D1QZQXQN.js";import{s as a}from"./p-BMRf5pjV.js";import{o as u,c as d}from"./p-Cb3FOYGS.js";import{b as g}from"./p-Bg4q97BS.js";import{t as h}from"./p-m3Lae7sj.js";import{O as c}from"./p-DaK6PJIg.js";import{s as f,b as p,g as x,a as b,d as v,h as m,e as w,f as C,i as y,j as k,k as z,l as F,m as j,n as O,o as T,c as S,p as L}from"./p-zrBw_m7x.js";import{h as E}from"./p-qzV3vtOw.js";import{w as R}from"./p-kLXvN2m9.js";import{g as D}from"./p-Cd4R0amv.js";import{b as W}from"./p-CK42c8Uy.js";import{r as B}from"./p-D9jKBqIb.js";import{g as I}from"./p-MAoEg4ig.js";import"./p-DjLdmWVU.js";var H={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},V=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const A=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.disabled=!1,this.required=!1,this.loading=!1,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){!t&&this.filterElement&&(this.filter="",this.filterElement.value="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&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("noFocusChange")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)));case"Enter":case" ":return void(this.expanded||this.isFilterable()||f(this.listboxElement))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t),this.isFilterable()&&!this.root.contains(null==t?void 0:t.relatedTarget)&&this.filterElement.focus()}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&g((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){h(this.root),this.i18n=await l(this.root,H),u(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.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.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType){const t=b(i);return null==t?void 0:t.substring(e)}}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":case"gux-option-status-beta":return this.renderIconOption(t);default:return e}}getOptionDefaultText(t){return b(t)}renderOption(t){return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},this.getOptionDefaultText(t))}renderIconOption(t){let e=null,i=t.textContent;return null!==t.iconColor&&(e={color:t.iconColor}),E(t,"subtext")&&(i=this.getOptionDefaultText(t)),o("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),o("gux-truncate",{ref:t=>this.truncateElement=t},i))}renderFilterInputField(){if(this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{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),onFocus:()=>this.expanded=!0,disabled:this.disabled}),this.renderTargetContent()))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-filterable":this.isFilterable(),"gux-target-container-filterable-active":this.expanded&&this.isFilterable(),"gux-target-container-not-filterable":!this.isFilterable(),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},!this.isFilterable()&&this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"c2672a5985e694e0e6ed7789efe0282619cfb56f",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};V([n({triggerEvents:"mousedown"})],A.prototype,"onClickOutside",null),V([c({childList:!0,subtree:!0})],A.prototype,"onMutation",null),A.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-filterable{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-filterable,.gux-target-container-not-filterable .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-not-filterable .gux-field-button,.gux-error.gux-target-container-filterable{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-not-filterable .gux-field-button,.gux-disabled.gux-target-container-filterable{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-not-filterable .gux-field-button:hover,.gux-target-container-filterable:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-field.gux-input-field{block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.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:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;block-size:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;inline-size:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.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:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-filterable{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-filterable.gux-target-container-filterable-active{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-filterable:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-filterable:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-filterable .gux-filter-input{background-color:inherit;border:none}.gux-target-container-filterable .gux-filter-input:focus{outline:none;border:none}.gux-target-container-filterable .gux-filter-input::selection{color:inherit;background:transparent;}.gux-target-container-filterable .gux-field-button{inline-size:auto;block-size:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-filterable .gux-field-button:focus{outline:none}.gux-target-container-not-filterable .gux-field-button{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-not-filterable .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-not-filterable .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dropdown-gap)}";const K=["gux-option","gux-option-icon","gux-option-status-beta"].join(",");var M={noMatches:"No matches",loading:"Loading..."};const N=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.filterType="none",this.disabled=!1,this.selectedValues=[],this.listboxOptions=[]}onBlur(){v(this.root)}onKeydown(t){if(!m(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void j(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(z(this.root)?(t.stopPropagation(),F(this.root)):C(this.root));case"ArrowUp":return t.preventDefault(),void(y(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"Home":return t.preventDefault(),void C(this.root);case"End":return t.preventDefault(),void w(this.root);case" ":return void t.preventDefault()}1!==t.key.length||O(this.root,t.key)}onKeyup(t){" "!==t.key||j(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){R(K,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){j(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.selectedValues=S(this.value),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),a(this.root,"input"),a(this.root,"change")}async componentWillLoad(){h(this.root),this.i18n=await l(this.root,M),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!L(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(s,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return r(this)}};N.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";const P=class{constructor(e){t(this,e),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||B("gux-option"),this.onSubtextChange()}onSubtextChange(){const t=I(this.root,"subtext");this.hasSubtext=!!(null==t?void 0:t.trim())}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const t=D("gux-listbox",this.root);return null==t?void 0:t.disabled}render(){return o(s,{key:"1cd58023d7aabfe7be14cc2b1ba8128ee79ad75f",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":W(this.disabled||this.hasDisabledParent())},o("div",{key:"77a46069a8a6d24ced60cd9f3f3098f8b562c895",class:"gux-option-wrapper"},o("gux-truncate",{key:"a77b3bb3b0a9356d9f4e75a28ae325beaeb304b3","tooltip-placement":"right",ref:t=>this.truncateElement=t},o("slot",{key:"b73597354bcd5e4c904cb0d35a60019f1f057d75"})),o("slot",{key:"28893950327aed82016a5f0584228b5838550906",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};P.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}";export{A as gux_dropdown,N as gux_listbox,P as gux_option}
@@ -1 +1 @@
1
- import{r as t,h as s,a as i}from"./p-Dz_2h4jr.js";import{s as r}from"./p-D8NvUiBF.js";import{t as n}from"./p-P-hdUE3M.js";const e=/[ +]/g,h=new Map,a=new Map;function o(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&#x2F;")}const u=class{constructor(s){t(this,s),this.strategy="start",this.dimmed=!1}componentWillLoad(){n(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),i)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=o(i)+`<mark>${o(r)}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+o(t.remaining)})}renderFuzzy(){if(function(t,s){let i=h.get(t);return i||(i=function(t){const s=t.split(e).map(r);return 0===s.length?/(?!)/:1===s.length?new RegExp(s[0],"i"):new RegExp("("+s.join(").*?(")+").*?$","i")}(t),h.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(e).map(r).map((t=>{let s=a.get(t);return s||(s=new RegExp(t,"i"),a.set(t,s)),s}))).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),e=n.substring(0,r);return{highlighted:`${t.highlighted+o(e)}<mark>${o(i)}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+o(i.remaining)})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};u.style="span mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{u as gux_text_highlight}
1
+ import{r as t,h as s,a as i}from"./p-CjVJoR6g.js";import{s as r}from"./p-D8NvUiBF.js";import{t as n}from"./p-m3Lae7sj.js";const e=/[ +]/g,a=new Map,h=new Map;function o(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&#x2F;")}const u=class{constructor(s){t(this,s),this.strategy="start",this.dimmed=!1}componentWillLoad(){n(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),i)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=o(i)+`<mark>${o(r)}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+o(t.remaining)})}renderFuzzy(){if(function(t,s){let i=a.get(t);return i||(i=function(t){const s=t.split(e).map(r);return 0===s.length?/(?!)/:1===s.length?new RegExp(s[0],"i"):new RegExp("("+s.join(").*?(")+").*?$","i")}(t),a.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(e).map(r).map((t=>{let s=h.get(t);return s||(s=new RegExp(t,"i"),h.set(t,s)),s}))).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),e=n.substring(0,r);return{highlighted:`${t.highlighted+o(e)}<mark>${o(i)}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+o(i.remaining)})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};u.style="span mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{u as gux_text_highlight}
@@ -1 +1 @@
1
- import{h as r,r as a,a as e}from"./p-Dz_2h4jr.js";import{b as s}from"./p-DmaAM9UB.js";import{t}from"./p-P-hdUE3M.js";import"./p-Cd4R0amv.js";const o=({context:a="modal",screenreaderText:e})=>{let s=48,t=22;return"input"===a&&(s=16,t=7),r("div",{class:`gux-${a}`,role:"progressbar","aria-label":e},r("svg",{class:"gux-svg-container",viewBox:`0 0 ${s} ${s}`,role:"presentation"},r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-static-circle"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle","stroke-linecap":"round"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle-mask","stroke-linecap":"round"})))};var n={loading:"Loading"};const i=class{constructor(r){a(this,r),this.context="modal",this.screenreaderText=""}async componentWillLoad(){t(this.root,{variant:this.context}),this.getI18nValue=await s(this.root,n)}render(){return r(o,{key:"dcd635ecbb8eeca7274b9400d61490524559acfc",context:this.context,screenreaderText:this.screenreaderText||this.getI18nValue("loading")})}get root(){return e(this)}};i.style="@keyframes largeSpin{0%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}7.5%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}20%{stroke-dasharray:1 68.115038379;transform:rotate(90deg)}30%{stroke-dasharray:34.5575191895;transform:rotate(180deg)}40%{stroke-dasharray:34.5575191895}50%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}57.5%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}70%{stroke-dasharray:34.5575191895;transform:rotate(540deg)}80%{stroke-dasharray:34.5575191895;transform:rotate(630deg)}90%{stroke-dasharray:34.5575191895}100%{stroke-dasharray:1 68.115038379;transform:rotate(900deg)}}@keyframes smallSpin{0%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}7.5%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}20%{stroke-dasharray:1 20.9911485751;transform:rotate(90deg)}30%{stroke-dasharray:10.9955742876;transform:rotate(180deg)}40%{stroke-dasharray:10.9955742876}50%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}57.5%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}70%{stroke-dasharray:10.9955742876;transform:rotate(540deg)}80%{stroke-dasharray:10.9955742876;transform:rotate(630deg)}90%{stroke-dasharray:10.9955742876}100%{stroke-dasharray:1 20.9911485751;transform:rotate(900deg)}}@keyframes largeThinSpin{0%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}7.5%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}20%{stroke-dasharray:1 71.2566310326;transform:rotate(90deg)}30%{stroke-dasharray:36.1283155163;transform:rotate(180deg)}40%{stroke-dasharray:36.1283155163}50%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}57.5%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}70%{stroke-dasharray:36.1283155163;transform:rotate(540deg)}80%{stroke-dasharray:36.1283155163;transform:rotate(630deg)}90%{stroke-dasharray:36.1283155163}100%{stroke-dasharray:1 71.2566310326;transform:rotate(900deg)}}:host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;inline-size:var(--gse-ui-progressAndLoading-spinner-large);block-size:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle,div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform-origin:50% 50%;animation-name:largeSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{display:none;stroke:var(--gse-semantic-background-container-page-default);stroke-width:2}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar].gux-full-page .gux-svg-container .gux-dynamic-circle-mask{display:initial}div[role=progressbar].gux-full-page .gux-svg-container .gux-static-circle{display:none}div[role=progressbar].gux-input .gux-svg-container{inline-size:var(--gse-ui-progressAndLoading-spinner-small);block-size:var(--gse-ui-progressAndLoading-spinner-small)}div[role=progressbar].gux-input .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:2;transform-origin:50% 50%;animation-name:smallSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar].gux-input .gux-svg-container .gux-static-circle{stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:2}";export{i as gux_radial_loading}
1
+ import{h as r,r as a,a as e}from"./p-CjVJoR6g.js";import{b as s}from"./p-D1QZQXQN.js";import{t}from"./p-m3Lae7sj.js";import"./p-Cd4R0amv.js";const o=({context:a="modal",screenreaderText:e})=>{let s=48,t=22;return"input"===a&&(s=16,t=7),r("div",{class:`gux-${a}`,role:"progressbar","aria-label":e},r("svg",{class:"gux-svg-container",viewBox:`0 0 ${s} ${s}`,role:"presentation"},r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-static-circle"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle","stroke-linecap":"round"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle-mask","stroke-linecap":"round"})))};var n={loading:"Loading"};const i=class{constructor(r){a(this,r),this.context="modal",this.screenreaderText=""}async componentWillLoad(){t(this.root,{variant:this.context}),this.getI18nValue=await s(this.root,n)}render(){return r(o,{key:"dcd635ecbb8eeca7274b9400d61490524559acfc",context:this.context,screenreaderText:this.screenreaderText||this.getI18nValue("loading")})}get root(){return e(this)}};i.style="@keyframes largeSpin{0%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}7.5%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}20%{stroke-dasharray:1 68.115038379;transform:rotate(90deg)}30%{stroke-dasharray:34.5575191895;transform:rotate(180deg)}40%{stroke-dasharray:34.5575191895}50%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}57.5%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}70%{stroke-dasharray:34.5575191895;transform:rotate(540deg)}80%{stroke-dasharray:34.5575191895;transform:rotate(630deg)}90%{stroke-dasharray:34.5575191895}100%{stroke-dasharray:1 68.115038379;transform:rotate(900deg)}}@keyframes smallSpin{0%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}7.5%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}20%{stroke-dasharray:1 20.9911485751;transform:rotate(90deg)}30%{stroke-dasharray:10.9955742876;transform:rotate(180deg)}40%{stroke-dasharray:10.9955742876}50%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}57.5%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}70%{stroke-dasharray:10.9955742876;transform:rotate(540deg)}80%{stroke-dasharray:10.9955742876;transform:rotate(630deg)}90%{stroke-dasharray:10.9955742876}100%{stroke-dasharray:1 20.9911485751;transform:rotate(900deg)}}@keyframes largeThinSpin{0%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}7.5%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}20%{stroke-dasharray:1 71.2566310326;transform:rotate(90deg)}30%{stroke-dasharray:36.1283155163;transform:rotate(180deg)}40%{stroke-dasharray:36.1283155163}50%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}57.5%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}70%{stroke-dasharray:36.1283155163;transform:rotate(540deg)}80%{stroke-dasharray:36.1283155163;transform:rotate(630deg)}90%{stroke-dasharray:36.1283155163}100%{stroke-dasharray:1 71.2566310326;transform:rotate(900deg)}}:host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;inline-size:var(--gse-ui-progressAndLoading-spinner-large);block-size:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle,div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform-origin:50% 50%;animation-name:largeSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{display:none;stroke:var(--gse-semantic-background-container-page-default);stroke-width:2}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar].gux-full-page .gux-svg-container .gux-dynamic-circle-mask{display:initial}div[role=progressbar].gux-full-page .gux-svg-container .gux-static-circle{display:none}div[role=progressbar].gux-input .gux-svg-container{inline-size:var(--gse-ui-progressAndLoading-spinner-small);block-size:var(--gse-ui-progressAndLoading-spinner-small)}div[role=progressbar].gux-input .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:2;transform-origin:50% 50%;animation-name:smallSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar].gux-input .gux-svg-container .gux-static-circle{stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:2}";export{i as gux_radial_loading}
@@ -1 +1 @@
1
- import{r as e,c as t,h as o,H as i,a as s}from"./p-Dz_2h4jr.js";import{b as n}from"./p-CK42c8Uy.js";import{g as a}from"./p-Cd4R0amv.js";import{g as r}from"./p-MAoEg4ig.js";import{r as u}from"./p-D9jKBqIb.js";import{b as l}from"./p-DmaAM9UB.js";var h={removeCustomElementInstructions:", unselecting this custom option will remove it from the list"};const c=class{constructor(o){e(this,o),this.guxremovecustomoption=t(this,"guxremovecustomoption",7),this.internalselectcustomoption=t(this,"internalselectcustomoption",7),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.custom=!1,this.hasSubtext=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(e){var t,o;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(o=this.truncateElement)||void 0===o||o.setHideTooltip()}async componentWillLoad(){this.i18n=await l(this.root,h),this.root.id=this.root.id||u("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){const e=r(this.root,"subtext");this.hasSubtext=!!(null==e?void 0:e.trim())}hasDisabledParent(){const e=a("gux-listbox-multi",this.root);return null==e?void 0:e.disabled}renderSVGCheckbox(){return o("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},o("path",this.selected?{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"}:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return o("span",{class:"gux-screenreader"},this.i18n("removeCustomElementInstructions"))}render(){return o(i,{key:"92fa416d3aa3d5d8f6665555ceea58fc1b5d33d7",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.selected.toString(),"aria-disabled":n(this.disabled||this.hasDisabledParent())},this.renderSVGCheckbox(),o("div",{key:"82da6b33d053a5fc47d383218094e9abc9d1e297",class:"gux-option-wrapper"},o("gux-truncate",{key:"e656fd3a535da55c5b33aa3b6f5f8a19d79c4518","tooltip-placement":"right",ref:e=>this.truncateElement=e},o("slot",{key:"2e686dac69430fb62447f9b6b267842d0c62f7ac"})),o("slot",{key:"34d04ea615a8ecac07d7a9e376673b0903bbf34f",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderCustomOptionInstructions())}get root(){return s(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};c.style=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;min-inline-size:0;user-select:none}:host .gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-selected-foregroundColor)}:host:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host:host(.gux-show-subtext){place-content:stretch flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host:host(:hover:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(:hover:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(:hover:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}';export{c as gux_option_multi}
1
+ import{r as e,c as t,h as o,H as i,a as s}from"./p-CjVJoR6g.js";import{b as n}from"./p-CK42c8Uy.js";import{g as a}from"./p-Cd4R0amv.js";import{g as r}from"./p-MAoEg4ig.js";import{r as u}from"./p-D9jKBqIb.js";import{b as l}from"./p-D1QZQXQN.js";var h={removeCustomElementInstructions:", unselecting this custom option will remove it from the list"};const c=class{constructor(o){e(this,o),this.guxremovecustomoption=t(this,"guxremovecustomoption",7),this.internalselectcustomoption=t(this,"internalselectcustomoption",7),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.custom=!1,this.hasSubtext=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(e){var t,o;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(o=this.truncateElement)||void 0===o||o.setHideTooltip()}async componentWillLoad(){this.i18n=await l(this.root,h),this.root.id=this.root.id||u("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){const e=r(this.root,"subtext");this.hasSubtext=!!(null==e?void 0:e.trim())}hasDisabledParent(){const e=a("gux-listbox-multi",this.root);return null==e?void 0:e.disabled}renderSVGCheckbox(){return o("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},o("path",this.selected?{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"}:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return o("span",{class:"gux-screenreader"},this.i18n("removeCustomElementInstructions"))}render(){return o(i,{key:"92fa416d3aa3d5d8f6665555ceea58fc1b5d33d7",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.selected.toString(),"aria-disabled":n(this.disabled||this.hasDisabledParent())},this.renderSVGCheckbox(),o("div",{key:"82da6b33d053a5fc47d383218094e9abc9d1e297",class:"gux-option-wrapper"},o("gux-truncate",{key:"e656fd3a535da55c5b33aa3b6f5f8a19d79c4518","tooltip-placement":"right",ref:e=>this.truncateElement=e},o("slot",{key:"2e686dac69430fb62447f9b6b267842d0c62f7ac"})),o("slot",{key:"34d04ea615a8ecac07d7a9e376673b0903bbf34f",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderCustomOptionInstructions())}get root(){return s(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};c.style=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;min-inline-size:0;user-select:none}:host .gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-selected-foregroundColor)}:host:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host:host(.gux-show-subtext){place-content:stretch flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host:host(:hover:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(:hover:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(:hover:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}';export{c as gux_option_multi}
@@ -1 +1 @@
1
- import{r as e,h as a,H as t,a as o}from"./p-Dz_2h4jr.js";import{t as s}from"./p-P-hdUE3M.js";const i=class{constructor(a){e(this,a)}componentWillLoad(){s(this.root)}render(){return a(t,{key:"c247dd5cbd7e7620b347b0a39cf937b2ea7c2171"},a("div",{key:"d856dfd6f551d4d6f6d408d639a21b216eba6ee0",class:"gux-header"},a("div",{key:"ba1a0a71a9e55b5e9e3f0972e92ffda6958c63dc",class:"gux-icon"},a("slot",{key:"e085d4035e1ebb19edb541fed82382527728a50b",name:"icon"})),a("div",{key:"d10fa331919b6c5a1c1b1b1c745cd48133bd3c0e",class:"gux-title"},a("slot",{key:"e1577f8fa958aad571d9eb589204accea2a2fbda",name:"title"}))),a("div",{key:"10db9f24afcb2076e8d7dbd338875dc5e61588fe",class:"gux-message"},a("slot",{key:"8d6f447b703271e529531cf04ac258e39a7d23ce",name:"message"})),a("div",{key:"a6d25ca4a46bca49fe2cb0a860a27658c3417a0d",class:"gux-action-buttons"},a("div",{key:"5d5bae0c44b425c73935e6cc79ee6018fb4f6ea2",class:"gux-positive-button"},a("slot",{key:"1f50efb6d242eaa1d7bfa98a09f679321ad13bca",name:"positive-button"})),a("div",{key:"262d59329ae9d874ba717806077291a2679beebf",class:"gux-negative-button"},a("slot",{key:"325d5a1ecaa27945ae181fb3838e799564eeac2d",name:"negative-button"}))))}get root(){return o(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:var(--gse-core-colorLegacy-secondary-aquaGreen)}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}";export{i as gux_action_toast_legacy}
1
+ import{r as e,h as a,H as t,a as o}from"./p-CjVJoR6g.js";import{t as s}from"./p-m3Lae7sj.js";const i=class{constructor(a){e(this,a)}componentWillLoad(){s(this.root)}render(){return a(t,{key:"c247dd5cbd7e7620b347b0a39cf937b2ea7c2171"},a("div",{key:"d856dfd6f551d4d6f6d408d639a21b216eba6ee0",class:"gux-header"},a("div",{key:"ba1a0a71a9e55b5e9e3f0972e92ffda6958c63dc",class:"gux-icon"},a("slot",{key:"e085d4035e1ebb19edb541fed82382527728a50b",name:"icon"})),a("div",{key:"d10fa331919b6c5a1c1b1b1c745cd48133bd3c0e",class:"gux-title"},a("slot",{key:"e1577f8fa958aad571d9eb589204accea2a2fbda",name:"title"}))),a("div",{key:"10db9f24afcb2076e8d7dbd338875dc5e61588fe",class:"gux-message"},a("slot",{key:"8d6f447b703271e529531cf04ac258e39a7d23ce",name:"message"})),a("div",{key:"a6d25ca4a46bca49fe2cb0a860a27658c3417a0d",class:"gux-action-buttons"},a("div",{key:"5d5bae0c44b425c73935e6cc79ee6018fb4f6ea2",class:"gux-positive-button"},a("slot",{key:"1f50efb6d242eaa1d7bfa98a09f679321ad13bca",name:"positive-button"})),a("div",{key:"262d59329ae9d874ba717806077291a2679beebf",class:"gux-negative-button"},a("slot",{key:"325d5a1ecaa27945ae181fb3838e799564eeac2d",name:"negative-button"}))))}get root(){return o(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:var(--gse-core-colorLegacy-secondary-aquaGreen)}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}";export{i as gux_action_toast_legacy}
@@ -1 +1 @@
1
- import{r as a,h as i,H as t,a as e}from"./p-Dz_2h4jr.js";import{t as r}from"./p-P-hdUE3M.js";import{l as o}from"./p-DxtJDeL9.js";import{g as n}from"./p-vciQk5kR.js";import{g as s,a as c}from"./p-BV03_Ljp.js";import"./p-Cd4R0amv.js";const u=class{constructor(i){a(this,i),this.accent="auto"}async componentWillLoad(){r(this.root)}componentDidLoad(){this.validatingInputs()}async hideTooltip(){return await this.tooltip.hideTooltip()}onKeydown(a){n(a,this.root)}isLastItemInGroup(){const a=Array.from(this.root.parentElement.children);return a.findIndex((a=>a===this.root))===a.length-1}validatingInputs(){const a=this.root.querySelector("img");this.name||o(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&o(this.root,"Alt attribute is required for slotted image.")}render(){return i(t,{key:"1e9608a932ae26ad4147c4020e33ade149ebaa4f",role:"menuitem"},i("button",{key:"8c32c0016c57655af3923bada1dcea3482b7997e",type:"button","aria-label":this.name,tabIndex:-1,class:{"gux-avatar":!0,[s(this.accent,this.name)]:!0,"gux-last-item":this.isLastItemInGroup()}},i("slot",{key:"c78ace1bb5c36acdc1c47d337349b932f01db8e1",name:"image"},i("span",{key:"93a995dcc7a43f1bafda1b218fda166db604ed0d",class:"gux-avatar-initials","aria-hidden":"true"},c(this.name))),i("gux-tooltip-beta",{key:"ded1d19eee9dc77a4c643ac644447a4b1f21832d","aria-hidden":"true","visual-only":!0,placement:"top",ref:a=>this.tooltip=a},i("div",{key:"67ff35a3122caf24ad277755d98936b327dce2e0",slot:"content"},this.name))))}static get delegatesFocus(){return!0}get root(){return e(this)}};u.style="::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);padding:0;margin:0;margin-inline-end:var(--gse-ui-avatar-groupSet-gap);overflow:hidden;color:var(--gse-ui-avatar-media-initialsForeground-inverse);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:none;border-radius:50%;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\")}button:focus-visible,button:hover{position:relative;z-index:var(--gse-semantic-zIndex-showFocus);mask:none}button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}button.gux-last-item{mask:none}button .gux-avatar-initials{font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);text-transform:uppercase}button.gux-accent-1{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}button.gux-accent-2{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}button.gux-accent-3{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}button.gux-accent-4{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}button.gux-accent-5{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}button.gux-accent-6{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}button.gux-accent-7{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}button.gux-accent-8{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}button.gux-accent-9{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}button.gux-accent-10{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}button.gux-accent-11{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}button.gux-accent-12{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}button.gux-accent-inherit{color:inherit;background-color:inherit}";export{u as gux_avatar_group_item_beta}
1
+ import{r as a,h as i,H as t,a as e}from"./p-CjVJoR6g.js";import{t as r}from"./p-m3Lae7sj.js";import{l as o}from"./p-DxtJDeL9.js";import{g as n}from"./p-vciQk5kR.js";import{g as s,a as c}from"./p-BV03_Ljp.js";import"./p-Cd4R0amv.js";const u=class{constructor(i){a(this,i),this.accent="auto"}async componentWillLoad(){r(this.root)}componentDidLoad(){this.validatingInputs()}async hideTooltip(){return await this.tooltip.hideTooltip()}onKeydown(a){n(a,this.root)}isLastItemInGroup(){const a=Array.from(this.root.parentElement.children);return a.findIndex((a=>a===this.root))===a.length-1}validatingInputs(){const a=this.root.querySelector("img");this.name||o(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&o(this.root,"Alt attribute is required for slotted image.")}render(){return i(t,{key:"1e9608a932ae26ad4147c4020e33ade149ebaa4f",role:"menuitem"},i("button",{key:"8c32c0016c57655af3923bada1dcea3482b7997e",type:"button","aria-label":this.name,tabIndex:-1,class:{"gux-avatar":!0,[s(this.accent,this.name)]:!0,"gux-last-item":this.isLastItemInGroup()}},i("slot",{key:"c78ace1bb5c36acdc1c47d337349b932f01db8e1",name:"image"},i("span",{key:"93a995dcc7a43f1bafda1b218fda166db604ed0d",class:"gux-avatar-initials","aria-hidden":"true"},c(this.name))),i("gux-tooltip-beta",{key:"ded1d19eee9dc77a4c643ac644447a4b1f21832d","aria-hidden":"true","visual-only":!0,placement:"top",ref:a=>this.tooltip=a},i("div",{key:"67ff35a3122caf24ad277755d98936b327dce2e0",slot:"content"},this.name))))}static get delegatesFocus(){return!0}get root(){return e(this)}};u.style="::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);padding:0;margin:0;margin-inline-end:var(--gse-ui-avatar-groupSet-gap);overflow:hidden;color:var(--gse-ui-avatar-media-initialsForeground-inverse);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:none;border-radius:50%;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\")}button:focus-visible,button:hover{position:relative;z-index:var(--gse-semantic-zIndex-showFocus);mask:none}button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}button.gux-last-item{mask:none}button .gux-avatar-initials{font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);text-transform:uppercase}button.gux-accent-1{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}button.gux-accent-2{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}button.gux-accent-3{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}button.gux-accent-4{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}button.gux-accent-5{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}button.gux-accent-6{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}button.gux-accent-7{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}button.gux-accent-8{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}button.gux-accent-9{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}button.gux-accent-10{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}button.gux-accent-11{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}button.gux-accent-12{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}button.gux-accent-inherit{color:inherit;background-color:inherit}";export{u as gux_avatar_group_item_beta}
@@ -1 +1 @@
1
- import{r as t,h as e,a as s}from"./p-Dz_2h4jr.js";import{g as o}from"./p-DCZG2J0G.js";import{t as i}from"./p-P-hdUE3M.js";import{g as n}from"./p-MAoEg4ig.js";const a=class{constructor(e){t(this,e),this.iconOnly=!1,this.accent="secondary",this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}hideText(){const t=o(this.root,"gux-table-toolbar"),e="condensed"!==(null==t?void 0:t.getAttribute("gs-layout"));return this.iconOnly&&e}renderTooltip(){if(this.hideText())return e("gux-tooltip",null,e("div",{slot:"content"},n(this.root,"text")))}componentWillLoad(){i(this.root)}render(){return e("gux-button-slot",{key:"b1d4a04d4e236e7c85429a1fd6d9fdc5bbbf2d95",accent:this.accent},e("button",{key:"5e7e799b1e5f79a6ba0b8d20b380ee94c6e13cde",disabled:this.disabled,type:"button",class:"gux-action-title"},e("slot",{key:"5d798a2702eeb3db2577c72bf8839e3a329144fb",name:"icon"}),e("span",{key:"abe2a68bfc705af60ca5900530acb3b6afbb575f",class:{"gux-sr-only":this.hideText()}},e("slot",{key:"2f462e8fef8f14721a17bd180be16f0a48e64955",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return s(this)}};a.style=":host([disabled]),button[disabled]{pointer-events:none;user-select:none}.gux-sr-only{display:flex;}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}gux-button-slot{inline-size:100%}.gux-action-title{display:flex;flex-direction:row;gap:var(--gse-ui-button-gap);align-items:center}.gux-action-title slot[name=icon]::slotted(gux-icon){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{a as gux_table_toolbar_custom_action}
1
+ import{r as t,h as e,a as s}from"./p-CjVJoR6g.js";import{g as o}from"./p-DCZG2J0G.js";import{t as i}from"./p-m3Lae7sj.js";import{g as a}from"./p-MAoEg4ig.js";const n=class{constructor(e){t(this,e),this.iconOnly=!1,this.accent="secondary",this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}hideText(){const t=o(this.root,"gux-table-toolbar"),e="condensed"!==(null==t?void 0:t.getAttribute("gs-layout"));return this.iconOnly&&e}renderTooltip(){if(this.hideText())return e("gux-tooltip",null,e("div",{slot:"content"},a(this.root,"text")))}componentWillLoad(){i(this.root)}render(){return e("gux-button-slot",{key:"b1d4a04d4e236e7c85429a1fd6d9fdc5bbbf2d95",accent:this.accent},e("button",{key:"5e7e799b1e5f79a6ba0b8d20b380ee94c6e13cde",disabled:this.disabled,type:"button",class:"gux-action-title"},e("slot",{key:"5d798a2702eeb3db2577c72bf8839e3a329144fb",name:"icon"}),e("span",{key:"abe2a68bfc705af60ca5900530acb3b6afbb575f",class:{"gux-sr-only":this.hideText()}},e("slot",{key:"2f462e8fef8f14721a17bd180be16f0a48e64955",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return s(this)}};n.style=":host([disabled]),button[disabled]{pointer-events:none;user-select:none}.gux-sr-only{display:flex;}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}gux-button-slot{inline-size:100%}.gux-action-title{display:flex;flex-direction:row;gap:var(--gse-ui-button-gap);align-items:center}.gux-action-title slot[name=icon]::slotted(gux-icon){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{n as gux_table_toolbar_custom_action}
@@ -1 +1 @@
1
- import{r as i,c as e,h as a,a as l}from"./p-Dz_2h4jr.js";import{b as r}from"./p-DmaAM9UB.js";import{t as o}from"./p-P-hdUE3M.js";import"./p-Cd4R0amv.js";var t={removeFile:"Remove {filename} file",uploadingFile:"Uploading {filename} file",success:"{filename} file uploaded successfully",error:"{filename} file has an error"};const d=class{constructor(a){i(this,a),this.guxremovefile=e(this,"guxremovefile",7),this.disabled=!1}async componentWillLoad(){this.getI18nValue=await r(this.root,t),o(this.root)}render(){return a("div",{key:"74a67e3eb8594b03e2e51107ba5d253bf6cdc358",class:{"gux-file-list-item":!0,[`gux-${this.status}`]:!0,"gux-disabled":this.disabled}},a("div",{key:"982761871ea387f92c3f4043029a17e829e6d0da",class:"gux-info"},a("gux-truncate",{key:"7ec0bc6695144d62d316e1be0947be6991310661"},a("span",{key:"da1dc4d9381b52ed0d837fa343225b80b5fdbd2a",class:"gux-file-name"},this.name)),this.renderStatusIndicator(),this.renderFileRemoveButton()),this.renderAdditionalInfo())}renderStatusIndicator(){switch(this.status){case"loading":return a("gux-radial-loading",{context:"input","screenreader-text":this.getI18nValue("uploadingFile",{filename:this.name})});case"success":return a("gux-icon-tooltip-beta",{"icon-name":"fa/circle-check-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("success",{filename:this.name})));case"error":return a("gux-icon-tooltip-beta",{"icon-name":"fa/hexagon-exclamation-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("error",{filename:this.name})));default:return null}}renderFileRemoveButton(){return this.disabled?null:a("gux-button-slot",{accent:"ghost","icon-only":!0},a("button",{type:"button",onClick:()=>this.guxremovefile.emit(this.index)},a("gux-icon",{"icon-name":"fa/xmark-large-regular",size:"small",decorative:!0}),a("gux-screen-reader-beta",null,this.getI18nValue("removeFile",{filename:this.name}))))}renderAdditionalInfo(){return"error"===this.status?a("div",{class:"gux-additional-info"},a("div",{class:"gux-additional-info-header"},a("slot",{name:"additional-info-header"})),a("div",{class:"gux-additional-info-content"},a("slot",{name:"additional-info-content"}))):null}get root(){return l(this)}};d.style=':host{display:block}.gux-file-list-item{display:flex;flex-direction:column;align-items:flex-start;background-color:var(--gse-ui-fileUpload-fileCard-foregroundColor);border:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color);border-radius:var(--gse-ui-fileUpload-fileCard-borderRadius);box-shadow:var(--gse-ui-fileUpload-fileCard-boxShadow)}.gux-file-list-item.gux-disabled{opacity:0.5}.gux-file-list-item.gux-error{padding-block-start:0;border:var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-color)}.gux-file-list-item .gux-info{box-sizing:border-box;display:flex;gap:var(--gse-ui-fileUpload-fileCard-card-gap);align-items:center;inline-size:100%;block-size:32px;padding:var(--gse-ui-fileUpload-fileCard-card-padding)}.gux-file-list-item .gux-info .gux-file-name{font-family:var(--gse-ui-fileUpload-fileCard-fileName-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-fileName-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-fileName-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-fileName-text-lineHeight);color:var(--gse-ui-fileUpload-fileCard-fileName-default)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/circle-check-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(--gse-ui-fileUpload-fileCard-statusIcon-success)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/hexagon-exclamation-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(--gse-ui-fileUpload-fileCard-statusIcon-error)}.gux-file-list-item .gux-info gux-button-slot{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-info gux-button-slot button{--gse-ui-button-default-paddingIconOnly:4px;inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-additional-info{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-card-errorCard-errorTextSection-gap);inline-size:100%;padding:var(--gse-ui-fileUpload-fileCard-card-errorCard-mainContainer-padding);font-family:var(--gse-ui-fileUpload-fileCard-error-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-error-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-error-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-error-text-lineHeight);border-block-start:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color)}.gux-file-list-item .gux-additional-info .gux-additional-info-header{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorMessage)}.gux-file-list-item .gux-additional-info .gux-additional-info-content{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorHelper)}';export{d as gux_file_list_item}
1
+ import{r as i,c as e,h as a,a as l}from"./p-CjVJoR6g.js";import{b as r}from"./p-D1QZQXQN.js";import{t as o}from"./p-m3Lae7sj.js";import"./p-Cd4R0amv.js";var t={removeFile:"Remove {filename} file",uploadingFile:"Uploading {filename} file",success:"{filename} file uploaded successfully",error:"{filename} file has an error"};const d=class{constructor(a){i(this,a),this.guxremovefile=e(this,"guxremovefile",7),this.disabled=!1}async componentWillLoad(){this.getI18nValue=await r(this.root,t),o(this.root)}render(){return a("div",{key:"74a67e3eb8594b03e2e51107ba5d253bf6cdc358",class:{"gux-file-list-item":!0,[`gux-${this.status}`]:!0,"gux-disabled":this.disabled}},a("div",{key:"982761871ea387f92c3f4043029a17e829e6d0da",class:"gux-info"},a("gux-truncate",{key:"7ec0bc6695144d62d316e1be0947be6991310661"},a("span",{key:"da1dc4d9381b52ed0d837fa343225b80b5fdbd2a",class:"gux-file-name"},this.name)),this.renderStatusIndicator(),this.renderFileRemoveButton()),this.renderAdditionalInfo())}renderStatusIndicator(){switch(this.status){case"loading":return a("gux-radial-loading",{context:"input","screenreader-text":this.getI18nValue("uploadingFile",{filename:this.name})});case"success":return a("gux-icon-tooltip-beta",{"icon-name":"fa/circle-check-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("success",{filename:this.name})));case"error":return a("gux-icon-tooltip-beta",{"icon-name":"fa/hexagon-exclamation-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("error",{filename:this.name})));default:return null}}renderFileRemoveButton(){return this.disabled?null:a("gux-button-slot",{accent:"ghost","icon-only":!0},a("button",{type:"button",onClick:()=>this.guxremovefile.emit(this.index)},a("gux-icon",{"icon-name":"fa/xmark-large-regular",size:"small",decorative:!0}),a("gux-screen-reader-beta",null,this.getI18nValue("removeFile",{filename:this.name}))))}renderAdditionalInfo(){return"error"===this.status?a("div",{class:"gux-additional-info"},a("div",{class:"gux-additional-info-header"},a("slot",{name:"additional-info-header"})),a("div",{class:"gux-additional-info-content"},a("slot",{name:"additional-info-content"}))):null}get root(){return l(this)}};d.style=':host{display:block}.gux-file-list-item{display:flex;flex-direction:column;align-items:flex-start;background-color:var(--gse-ui-fileUpload-fileCard-foregroundColor);border:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color);border-radius:var(--gse-ui-fileUpload-fileCard-borderRadius);box-shadow:var(--gse-ui-fileUpload-fileCard-boxShadow)}.gux-file-list-item.gux-disabled{opacity:0.5}.gux-file-list-item.gux-error{padding-block-start:0;border:var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-color)}.gux-file-list-item .gux-info{box-sizing:border-box;display:flex;gap:var(--gse-ui-fileUpload-fileCard-card-gap);align-items:center;inline-size:100%;block-size:32px;padding:var(--gse-ui-fileUpload-fileCard-card-padding)}.gux-file-list-item .gux-info .gux-file-name{font-family:var(--gse-ui-fileUpload-fileCard-fileName-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-fileName-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-fileName-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-fileName-text-lineHeight);color:var(--gse-ui-fileUpload-fileCard-fileName-default)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/circle-check-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(--gse-ui-fileUpload-fileCard-statusIcon-success)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/hexagon-exclamation-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(--gse-ui-fileUpload-fileCard-statusIcon-error)}.gux-file-list-item .gux-info gux-button-slot{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-info gux-button-slot button{--gse-ui-button-default-paddingIconOnly:4px;inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-additional-info{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-card-errorCard-errorTextSection-gap);inline-size:100%;padding:var(--gse-ui-fileUpload-fileCard-card-errorCard-mainContainer-padding);font-family:var(--gse-ui-fileUpload-fileCard-error-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-error-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-error-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-error-text-lineHeight);border-block-start:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color)}.gux-file-list-item .gux-additional-info .gux-additional-info-header{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorMessage)}.gux-file-list-item .gux-additional-info .gux-additional-info-content{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorHelper)}';export{d as gux_file_list_item}
@@ -1 +1 @@
1
- import{r as e,f as o,h as t,a as r}from"./p-Dz_2h4jr.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-0yc9CKxX.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-JPhxXbs4.js";import{G as p,a as g}from"./p-C-1lAIfW.js";import{h as c,c as h,g as m,v as b,a as x}from"./p-DHLxhscH.js";import{t as v}from"./p-P-hdUE3M.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,t;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(g,{key:"fd6c5b29b670241a7274565b60c512314ab8f383",labelPosition:this.computedLabelPosition},t(p,{key:"c55ff8ad630dc94c527409b5ae311a3418b34496",required:this.required,position:this.computedLabelPosition},t("slot",{key:"b97c16c1b697337e83b6425ea61dc8cd29b277d0",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"f902dd50993fd669ab34555a2b885d9fd2c17b20",variant:this.indicatorMark,required:this.required}),t("slot",{key:"052b9371690257976bd2f427fe2acedf9286833b",name:"label-info"})),t("div",{key:"9fd52a6b9f3278c29a8d82192f291e36590e1c2b",class:"gux-input-and-error-container"},t("div",{key:"77724793917db9866f3ad178944217a05c9c7ca3",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"62f5c3221ac6fa1c76a65debd59bfc4041d047f2",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"834aed9635d9356b920795bf76d3aca4a0b0de93","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"4fee400396150e594f7b8139ffa6be376bf77d15",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"3c06d303acd96f4abcac5e33c13083bc5b6c793e",onClick:()=>h(this.input)}))),t(f,{key:"0a5ddf4eb6c946482a5d549ebf47fe8e409a0e52",show:this.hasError},t("slot",{key:"96ae030d8262c09d64443dc2fb6c8c73d3cb4764",name:"error"})),t(d,{key:"996725a6feacf9703909edf57940a21e1d1550ae",show:!this.hasError&&this.hasHelp},t("slot",{key:"1d96b320eb1f3a2ea923eaf9b34470d52fbc36a6",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=c(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,l=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,t,l):i(o,t))||l);n>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);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;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
1
+ import{r as e,f as o,h as t,a as r}from"./p-CjVJoR6g.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-DaK6PJIg.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-kyGdOoF4.js";import{G as g,a as p}from"./p-CuKTBQuB.js";import{h as c,c as h,g as m,v as b,a as x}from"./p-DHLxhscH.js";import{t as v}from"./p-m3Lae7sj.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,t;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(p,{key:"fd6c5b29b670241a7274565b60c512314ab8f383",labelPosition:this.computedLabelPosition},t(g,{key:"c55ff8ad630dc94c527409b5ae311a3418b34496",required:this.required,position:this.computedLabelPosition},t("slot",{key:"b97c16c1b697337e83b6425ea61dc8cd29b277d0",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"f902dd50993fd669ab34555a2b885d9fd2c17b20",variant:this.indicatorMark,required:this.required}),t("slot",{key:"052b9371690257976bd2f427fe2acedf9286833b",name:"label-info"})),t("div",{key:"9fd52a6b9f3278c29a8d82192f291e36590e1c2b",class:"gux-input-and-error-container"},t("div",{key:"77724793917db9866f3ad178944217a05c9c7ca3",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"62f5c3221ac6fa1c76a65debd59bfc4041d047f2",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"834aed9635d9356b920795bf76d3aca4a0b0de93","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"4fee400396150e594f7b8139ffa6be376bf77d15",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"3c06d303acd96f4abcac5e33c13083bc5b6c793e",onClick:()=>h(this.input)}))),t(f,{key:"0a5ddf4eb6c946482a5d549ebf47fe8e409a0e52",show:this.hasError},t("slot",{key:"96ae030d8262c09d64443dc2fb6c8c73d3cb4764",name:"error"})),t(d,{key:"996725a6feacf9703909edf57940a21e1d1550ae",show:!this.hasError&&this.hasHelp},t("slot",{key:"1d96b320eb1f3a2ea923eaf9b34470d52fbc36a6",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=c(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,l=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,t,l):i(o,t))||l);n>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);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;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
@@ -1 +1 @@
1
- import{r as t,h as i,H as e,a as o}from"./p-Dz_2h4jr.js";import{a as s,c as a,o as r,f as n,s as h,h as l}from"./p-C8aV-TzO.js";import{r as d}from"./p-D9jKBqIb.js";import{t as c}from"./p-P-hdUE3M.js";import{b as u}from"./p-Bg4q97BS.js";import{o as p}from"./p-DKtwSwJx.js";import{f as g}from"./p-Cr5bTKWF.js";const b=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler],["mousemove",this.handlePointerMove.bind(this)]]),this.id=d("gux-tooltip-base"),this.placement="bottom-start",this.offsetX=0,this.offsetY=0,this.accent="light",this.visualOnly=!1,this.followMouse=!1,this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}handlePointerMove(t){this.followMouse&&this.isShown&&(this.refElement=this.getRefElement(t.clientX,t.clientY),this.runUpdatePosition())}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition();const t=this.followMouse&&this.refElement?this.refElement:this.forElement;this.cleanupUpdatePosition=s(t,this.root,(()=>this.updatePosition(t)),{ancestorScroll:!0,elementResize:!0,animationFrame:this.followMouse,ancestorResize:!0})}updatePosition(t){const i=[r(12),n({fallbackAxisSideDirection:"start",crossAxis:!1}),h(),l(),p()];a(t,this.root,{placement:this.placement,strategy:"fixed",middleware:i}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t+this.offsetX}px`,top:`${i+this.offsetY}px`,visibility:(null===(o=e.hide)||void 0===o?void 0:o.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0,u((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1,this.refElement=void 0,this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}),350)}setForElement(){this.forElement&&(this.visualOnly||this.forElement.setAttribute("aria-describedby",this.tooltipId?this.tooltipId:this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t))))}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}getRefElement(t,i){return{getBoundingClientRect:()=>({x:t,y:i,top:i,left:t,bottom:i,right:t,width:10,height:10})}}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"8491a0175476cf1ec71b9319456a46bc74c7e4a0",id:this.tooltipId?void 0:this.id,role:this.tooltipId&&!this.isShown?void 0:"tooltip",class:{"gux-show":this.isShown},"aria-hidden":this.visualOnly},i("div",{key:"562e4472da69c1470fd5a51eea529364c61a99ef",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"b858cfb93cb24a434796abfec6220ae05e70895d",name:"content"})))}get root(){return o(this)}static get watchers(){return{offsetX:["runUpdatePosition"],offsetY:["runUpdatePosition"],forElement:["updateForElement"]}}};b.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:var(--gse-ui-tooltip-maxWidth);border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";const f=class{constructor(i){t(this,i),this.id=d("gux-tooltip"),this.placement="bottom-start",this.accent="light",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=g(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}render(){return i(e,{key:"7ae07bc68d40a81a9e4d23e8f9ab9bf90fce4d04",id:this.id,role:this.role},i("gux-tooltip-base-beta",{key:"46b6671361fda967c9f23167878a46f2635f839d",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t},i("span",{key:"3c6e742c96cd49e082c2f75f7c90254db09a46bd",slot:"content"},i("slot",{key:"03f4cbcd9d2cf027941cef504896355fc138654b",name:"content"},i("slot",{key:"65befdc2ab6bbc1b46b62b0a4eac38e012de4a1a"})))))}get root(){return o(this)}static get watchers(){return{for:["updateForElement"]}}};export{b as gux_tooltip_base_beta,f as gux_tooltip_beta}
1
+ import{r as t,h as i,H as e,a as o}from"./p-CjVJoR6g.js";import{a as s,c as a,o as r,f as n,s as h,h as l}from"./p-C8aV-TzO.js";import{r as d}from"./p-D9jKBqIb.js";import{t as c}from"./p-m3Lae7sj.js";import{b as u}from"./p-Bg4q97BS.js";import{o as p}from"./p-DKtwSwJx.js";import{f as g}from"./p-Cr5bTKWF.js";const b=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler],["mousemove",this.handlePointerMove.bind(this)]]),this.id=d("gux-tooltip-base"),this.placement="bottom-start",this.offsetX=0,this.offsetY=0,this.accent="light",this.visualOnly=!1,this.followMouse=!1,this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}handlePointerMove(t){this.followMouse&&this.isShown&&(this.refElement=this.getRefElement(t.clientX,t.clientY),this.runUpdatePosition())}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition();const t=this.followMouse&&this.refElement?this.refElement:this.forElement;this.cleanupUpdatePosition=s(t,this.root,(()=>this.updatePosition(t)),{ancestorScroll:!0,elementResize:!0,animationFrame:this.followMouse,ancestorResize:!0})}updatePosition(t){const i=[r(12),n({fallbackAxisSideDirection:"start",crossAxis:!1}),h(),l(),p()];a(t,this.root,{placement:this.placement,strategy:"fixed",middleware:i}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t+this.offsetX}px`,top:`${i+this.offsetY}px`,visibility:(null===(o=e.hide)||void 0===o?void 0:o.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0,u((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1,this.refElement=void 0,this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}),350)}setForElement(){this.forElement&&(this.visualOnly||this.forElement.setAttribute("aria-describedby",this.tooltipId?this.tooltipId:this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t))))}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}getRefElement(t,i){return{getBoundingClientRect:()=>({x:t,y:i,top:i,left:t,bottom:i,right:t,width:10,height:10})}}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"8491a0175476cf1ec71b9319456a46bc74c7e4a0",id:this.tooltipId?void 0:this.id,role:this.tooltipId&&!this.isShown?void 0:"tooltip",class:{"gux-show":this.isShown},"aria-hidden":this.visualOnly},i("div",{key:"562e4472da69c1470fd5a51eea529364c61a99ef",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"b858cfb93cb24a434796abfec6220ae05e70895d",name:"content"})))}get root(){return o(this)}static get watchers(){return{offsetX:["runUpdatePosition"],offsetY:["runUpdatePosition"],forElement:["updateForElement"]}}};b.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:var(--gse-ui-tooltip-maxWidth);border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";const f=class{constructor(i){t(this,i),this.id=d("gux-tooltip"),this.placement="bottom-start",this.accent="light",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=g(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}render(){return i(e,{key:"7ae07bc68d40a81a9e4d23e8f9ab9bf90fce4d04",id:this.id,role:this.role},i("gux-tooltip-base-beta",{key:"46b6671361fda967c9f23167878a46f2635f839d",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t},i("span",{key:"3c6e742c96cd49e082c2f75f7c90254db09a46bd",slot:"content"},i("slot",{key:"03f4cbcd9d2cf027941cef504896355fc138654b",name:"content"},i("slot",{key:"65befdc2ab6bbc1b46b62b0a4eac38e012de4a1a"})))))}get root(){return o(this)}static get watchers(){return{for:["updateForElement"]}}};export{b as gux_tooltip_base_beta,f as gux_tooltip_beta}
@@ -1 +1 @@
1
- import{r as o,h as t,a as s}from"./p-Dz_2h4jr.js";import{t as e}from"./p-P-hdUE3M.js";const r=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),e(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"96b3f7b3ae4881a16d9a81a872ceae69e34eaeec"})}get root(){return s(this)}};r.style="gux-accordion{-custom-noop:noop}";export{r as gux_accordion}
1
+ import{r as o,h as t,a as s}from"./p-CjVJoR6g.js";import{t as e}from"./p-m3Lae7sj.js";const r=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),e(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"96b3f7b3ae4881a16d9a81a872ceae69e34eaeec"})}get root(){return s(this)}};r.style="gux-accordion{-custom-noop:noop}";export{r as gux_accordion}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-Dz_2h4jr.js";import{b as r}from"./p-DmaAM9UB.js";import{O as o}from"./p-0yc9CKxX.js";import{a as l,o as s}from"./p-De1NnCmO.js";import{h as a}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as h}from"./p-JPhxXbs4.js";import{G as d,a as u,b as c}from"./p-DrJn2EIj.js";import{v as m,a as p}from"./p-DHLxhscH.js";import{t as g}from"./p-P-hdUE3M.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-picker");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var i;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-within")&&clearTimeout(this.hideLabelInfoTimeout)}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await r(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasLabelInfo=a(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"c86f878682d56aab8d90f73d6e56289489cc3322",labelPosition:this.computedLabelPosition},i(u,{key:"a0fe3d70e3855e8c8b4ee3a7690b14f5abdee9c5"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(d,{key:"5888ac404f0e0cac23e1ca04e4a452414f44ed45",position:this.computedLabelPosition,required:this.required},i("slot",{key:"741f6b7f28b2c5f0c3adc617915641d4b918fd49",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"7aede71397ef309176cdf77ab60633ed33f8b30a",variant:this.indicatorMark,required:this.required}),i("slot",{key:"6a65059bd887118d482c8cdd1f4f199e8b22759a",name:"label-info"})),i("div",{key:"377cd793aa4ae4b944cbcfd51b6388f870023f87",class:"gux-input-and-error-container"},i("div",{key:"0b8e945242fff2658fecfd4e97e43166d6987c94",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"c4173257e2320d4a83594bffb660615a3dd40d60",class:{"gux-time-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"b71447cc1b40f30973f71e0b48dd4f8a0d77853b"}))),i(f,{key:"8097b073bfd19070aa2ed26b8c7f0a926fea649c",show:this.hasError},i("slot",{key:"46bc35916f767d2d86a2c0fe3e4c7fdbc94cf881",name:"error"})),i(h,{key:"e8d2af70cb2edfe05d8792adc68b8ba084631c6e",show:!this.hasError&&this.hasHelp},i("slot",{key:"4c4d27e4e0c92d4a60cc890070977d98ec9cbc68",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-picker"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,r){var o,l=arguments.length,s=l<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(l<3?o(s):l>3?o(i,t,s):o(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([o({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_picker}
1
+ import{r as e,h as i,a as t}from"./p-CjVJoR6g.js";import{b as o}from"./p-D1QZQXQN.js";import{O as r}from"./p-DaK6PJIg.js";import{a as l,o as s}from"./p-De1NnCmO.js";import{h as a}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as d}from"./p-kyGdOoF4.js";import{G as h,a as u,b as c}from"./p-5GSd1tCA.js";import{v as m,a as p}from"./p-DHLxhscH.js";import{t as g}from"./p-m3Lae7sj.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-picker");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var i;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-within")&&clearTimeout(this.hideLabelInfoTimeout)}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasLabelInfo=a(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"c86f878682d56aab8d90f73d6e56289489cc3322",labelPosition:this.computedLabelPosition},i(u,{key:"a0fe3d70e3855e8c8b4ee3a7690b14f5abdee9c5"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"5888ac404f0e0cac23e1ca04e4a452414f44ed45",position:this.computedLabelPosition,required:this.required},i("slot",{key:"741f6b7f28b2c5f0c3adc617915641d4b918fd49",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"7aede71397ef309176cdf77ab60633ed33f8b30a",variant:this.indicatorMark,required:this.required}),i("slot",{key:"6a65059bd887118d482c8cdd1f4f199e8b22759a",name:"label-info"})),i("div",{key:"377cd793aa4ae4b944cbcfd51b6388f870023f87",class:"gux-input-and-error-container"},i("div",{key:"0b8e945242fff2658fecfd4e97e43166d6987c94",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"c4173257e2320d4a83594bffb660615a3dd40d60",class:{"gux-time-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"b71447cc1b40f30973f71e0b48dd4f8a0d77853b"}))),i(f,{key:"8097b073bfd19070aa2ed26b8c7f0a926fea649c",show:this.hasError},i("slot",{key:"46bc35916f767d2d86a2c0fe3e4c7fdbc94cf881",name:"error"})),i(d,{key:"e8d2af70cb2edfe05d8792adc68b8ba084631c6e",show:!this.hasError&&this.hasHelp},i("slot",{key:"4c4d27e4e0c92d4a60cc890070977d98ec9cbc68",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-picker"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_picker}
@@ -1 +1 @@
1
- import{h as e}from"./p-Dz_2h4jr.js";const l=({position:l,required:s},a)=>e("div",{class:{"gux-form-field-visual-label":!0,[`gux-${l}`]:!0,"gux-required":s},role:"presentation"},a),s=(l,s)=>e("legend",{class:"gux-form-field-screenreader-label"},s),a=({labelPosition:l,disabled:s},a)=>e("fieldset",s?{class:{"gux-form-field-fieldset-container":!0,[`gux-${l}`]:Boolean(l)},"aria-disabled":"true"}:{class:{"gux-form-field-fieldset-container":!0,[`gux-${l}`]:Boolean(l)}},a);export{l as G,s as a,a as b}
1
+ import{h as e}from"./p-CjVJoR6g.js";const l=({position:l,required:s},a)=>e("div",{class:{"gux-form-field-visual-label":!0,[`gux-${l}`]:!0,"gux-required":s},role:"presentation"},a),s=(l,s)=>e("legend",{class:"gux-form-field-screenreader-label"},s),a=({labelPosition:l,disabled:s},a)=>e("fieldset",s?{class:{"gux-form-field-fieldset-container":!0,[`gux-${l}`]:Boolean(l)},"aria-disabled":"true"}:{class:{"gux-form-field-fieldset-container":!0,[`gux-${l}`]:Boolean(l)}},a);export{l as G,s as a,a as b}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,a as s}from"./p-Dz_2h4jr.js";import{O as a}from"./p-Ct81NxWr.js";import{w as o}from"./p-kLXvN2m9.js";import{a as n}from"./p-Bg4q97BS.js";import{t as r}from"./p-P-hdUE3M.js";import{b as c}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var u={moreOptions:"More options"};const d=["primary","secondary","tertiary","danger"];function b(t){return d.find((e=>e===t))?t:"secondary"}const l=class{constructor(i){t(this,i),this.open=e(this,"open",7),this.close=e(this,"close",7),this.actionClick=e(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){n((()=>{var t;null===(t=this.listElement)||void 0===t||t.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){n((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){r(this.root,{variant:this.type}),this.i18n=await c(this.root,u)}render(){return i("div",{key:"eaceaf40bbaad8e9304be688e7ae8c189abfc650",class:"gux-action-button-container"},i("gux-popup",{key:"00294a5f5b091533348034b839069b76258d9791",expanded:this.isOpen,disabled:this.disabled,placement:"bottom-end","exceed-target-width":!0},i("div",{key:"5d09f6014e489c84e7b2d360a1aea1f6675f6ee0",slot:"target",class:"gux-action-button-container"},i("gux-button-slot",{key:"ff1c7bed309707b93f48c733ba43c9bf3ef5e54f",class:"gux-action-button",accent:b(this.accent)},i("button",{key:"82c69514641d2e18c9964c643f19e812ccc5a809",type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick(),"data-testid":"action-button"},i("slot",{key:"f501ff3ae4accbb5ec854d6479a3ca7ecedca964",name:"title"}))),i("gux-button-slot",{key:"7c7b3ba548f28740e302267697c7ba6b8bc6f376",class:"gux-dropdown-button",accent:b(this.accent)},i("button",{key:"fa9a7fd7b8f14eeefa8b0ec3f6147dff048aeee3",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("moreOptions"),"data-testid":"dropdown-button"},i("gux-icon",{key:"3b887471b3e7963b1fcc7ed7ed7f4e661b0386a5",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),i("div",{key:"ca403251caf9d5d35406fa7541e4ac7761955569",class:"gux-list-container",slot:"popup"},i("gux-list",{key:"67510e019481b2bae5e4de61be043d53074b5af0",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",{key:"676cb29cdc40384069a03379b8a78ec6b0a63060"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,i,s){var a,o=arguments.length,n=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(n=(o<3?a(n):o>3?a(e,i,n):a(e,i))||n);o>3&&n&&Object.defineProperty(e,i,n)})([a({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-action-button-container{min-inline-size:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{inline-size:calc(100% - 33px);margin-inline-end:1px}.gux-action-button-container .gux-action-button button{inline-size:100%;max-inline-size:none;text-align:center;border-start-end-radius:0;border-end-end-radius:0}.gux-action-button-container .gux-action-button button:focus-visible:enabled{position:relative}.gux-action-button-container .gux-dropdown-button button{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);padding:0;border-start-start-radius:0;border-end-start-radius:0}.gux-action-button-container .gux-list-container{max-inline-size:220px;max-block-size:var(--gse-ui-menu-maxHeight);margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{l as gux_action_button}
1
+ import{r as t,c as e,h as i,a as s}from"./p-CjVJoR6g.js";import{O as a}from"./p-BvVMx5eW.js";import{w as o}from"./p-kLXvN2m9.js";import{a as n}from"./p-Bg4q97BS.js";import{t as c}from"./p-m3Lae7sj.js";import{b as r}from"./p-D1QZQXQN.js";import"./p-Cd4R0amv.js";var u={moreOptions:"More options"};const d=["primary","secondary","tertiary","danger"];function b(t){return d.find((e=>e===t))?t:"secondary"}const l=class{constructor(i){t(this,i),this.open=e(this,"open",7),this.close=e(this,"close",7),this.actionClick=e(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){n((()=>{var t;null===(t=this.listElement)||void 0===t||t.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){n((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){c(this.root,{variant:this.type}),this.i18n=await r(this.root,u)}render(){return i("div",{key:"eaceaf40bbaad8e9304be688e7ae8c189abfc650",class:"gux-action-button-container"},i("gux-popup",{key:"00294a5f5b091533348034b839069b76258d9791",expanded:this.isOpen,disabled:this.disabled,placement:"bottom-end","exceed-target-width":!0},i("div",{key:"5d09f6014e489c84e7b2d360a1aea1f6675f6ee0",slot:"target",class:"gux-action-button-container"},i("gux-button-slot",{key:"ff1c7bed309707b93f48c733ba43c9bf3ef5e54f",class:"gux-action-button",accent:b(this.accent)},i("button",{key:"82c69514641d2e18c9964c643f19e812ccc5a809",type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick(),"data-testid":"action-button"},i("slot",{key:"f501ff3ae4accbb5ec854d6479a3ca7ecedca964",name:"title"}))),i("gux-button-slot",{key:"7c7b3ba548f28740e302267697c7ba6b8bc6f376",class:"gux-dropdown-button",accent:b(this.accent)},i("button",{key:"fa9a7fd7b8f14eeefa8b0ec3f6147dff048aeee3",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("moreOptions"),"data-testid":"dropdown-button"},i("gux-icon",{key:"3b887471b3e7963b1fcc7ed7ed7f4e661b0386a5",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),i("div",{key:"ca403251caf9d5d35406fa7541e4ac7761955569",class:"gux-list-container",slot:"popup"},i("gux-list",{key:"67510e019481b2bae5e4de61be043d53074b5af0",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",{key:"676cb29cdc40384069a03379b8a78ec6b0a63060"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,i,s){var a,o=arguments.length,n=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(o<3?a(n):o>3?a(e,i,n):a(e,i))||n);o>3&&n&&Object.defineProperty(e,i,n)})([a({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-action-button-container{min-inline-size:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{inline-size:calc(100% - 33px);margin-inline-end:1px}.gux-action-button-container .gux-action-button button{inline-size:100%;max-inline-size:none;text-align:center;border-start-end-radius:0;border-end-end-radius:0}.gux-action-button-container .gux-action-button button:focus-visible:enabled{position:relative}.gux-action-button-container .gux-dropdown-button button{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);padding:0;border-start-start-radius:0;border-end-start-radius:0}.gux-action-button-container .gux-list-container{max-inline-size:220px;max-block-size:var(--gse-ui-menu-maxHeight);margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{l as gux_action_button}
@@ -1 +1 @@
1
- import{r as t,c as a,h as s,H as i,a as e}from"./p-Dz_2h4jr.js";import{t as h}from"./p-P-hdUE3M.js";const c=class{constructor(s){t(this,s),this.guxactivetabchange=a(this,"guxactivetabchange",7),this.tabPanels=[]}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,a]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=a.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,a,s){var i;this.activeTab=t||(null===(i=null==a?void 0:a.querySelector("gux-tab-advanced"))||void 0===i?void 0:i.getAttribute("tab-id")),a.guxSetActive(this.activeTab),s.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){h(this.root)}render(){return s(i,{key:"3e8ecadce9ab2ee8ba9c811fc9c77ffe50029505"},s("slot",{key:"86ea8be9212910e682d12d252c4b4c15b74103ce",name:"tab-list"}),s("slot",{key:"2529132dc889ad8cdf4a878a4f6d3d47ede5936d",onSlotchange:this.onSlotchange.bind(this)}))}get root(){return e(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};export{c as gux_tabs_advanced}
1
+ import{r as t,c as a,h as s,H as i,a as e}from"./p-CjVJoR6g.js";import{t as c}from"./p-m3Lae7sj.js";const h=class{constructor(s){t(this,s),this.guxactivetabchange=a(this,"guxactivetabchange",7),this.tabPanels=[]}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,a]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=a.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,a,s){var i;this.activeTab=t||(null===(i=null==a?void 0:a.querySelector("gux-tab-advanced"))||void 0===i?void 0:i.getAttribute("tab-id")),a.guxSetActive(this.activeTab),s.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){c(this.root)}render(){return s(i,{key:"3e8ecadce9ab2ee8ba9c811fc9c77ffe50029505"},s("slot",{key:"86ea8be9212910e682d12d252c4b4c15b74103ce",name:"tab-list"}),s("slot",{key:"2529132dc889ad8cdf4a878a4f6d3d47ede5936d",onSlotchange:this.onSlotchange.bind(this)}))}get root(){return e(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};export{h as gux_tabs_advanced}
@@ -1 +1 @@
1
- import{r as e,h as i,H as t,a}from"./p-Dz_2h4jr.js";import{o as s}from"./p-CF55kYjc.js";const o=class{constructor(i){e(this,i),this.filtered=!1,this.showDivider=!0}componentDidLoad(){this.rootParent=this.root.parentNode,this.rootParent&&(this.parentObserver=s(this.rootParent,(()=>{var e;const i=Array.from(null===(e=this.root)||void 0===e?void 0:e.children).filter((e=>this.isOption(e)&&!e.filtered)).length>0;this.filtered=!i,this.filtered||(this.showDivider=this.hasVisibleNextSibling(this.root)&&i)})))}disconnectedCallback(){this.rootParent&&this.parentObserver.disconnect()}isOption(e){return["GUX-OPTION","GUX-OPTION-ICON"].includes(e.tagName)}hasVisibleNextSibling(e){let i=e.nextElementSibling;if(null===i)return!1;for(;i&&i.classList.contains("gux-filtered");)i=i.nextElementSibling;return Boolean(i)}renderDivider(){if(this.showDivider)return i("gux-list-divider",null)}render(){return i(t,{key:"4d68edbab7b566bb5cdc8f4cbf5226eae9c27d3c",class:{"gux-filtered":this.filtered}},i("div",{key:"0eaaf5d04d296b4980ba4eb08a39b3ddf64cff4d",class:"gux-option-group"},i("div",{key:"1775f43cb0cca2e08c1dc9a72b23077d00624316",class:"gux-option-group-label",role:"presentation"},this.label),i("div",{key:"2479f308e29a36a78e5e0fd00bed9e316099a10a",role:"group"},i("slot",{key:"9a93bf6a129a7e11346ab388a1b6620b464d82aa"})),this.renderDivider()))}get root(){return a(this)}};o.style=".gux-option-group{display:block;flex:1 1 auto;align-self:auto}.gux-option-group .gux-option-group-label{display:block;padding:var(--gse-ui-menu-groupedMenu-title-padding);color:var(--gse-ui-menu-groupedMenu-title-foregroundColor);font-family:var(--gse-semantic-heading-overline-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-overline-fontSize);line-height:var(--gse-semantic-heading-overline-lineHeight);text-transform:var(--gse-semantic-heading-overline-textCase);letter-spacing:var(--gse-semantic-heading-overline-letterSpacing);font-weight:var(--gse-semantic-heading-overline-fontWeight)}:host(.gux-filtered){display:none}";export{o as gux_option_group_beta}
1
+ import{r as e,h as i,H as t,a}from"./p-CjVJoR6g.js";import{o as s}from"./p-CF55kYjc.js";const o=class{constructor(i){e(this,i),this.filtered=!1,this.showDivider=!0}componentDidLoad(){this.rootParent=this.root.parentNode,this.rootParent&&(this.parentObserver=s(this.rootParent,(()=>{var e;const i=Array.from(null===(e=this.root)||void 0===e?void 0:e.children).filter((e=>this.isOption(e)&&!e.filtered)).length>0;this.filtered=!i,this.filtered||(this.showDivider=this.hasVisibleNextSibling(this.root)&&i)})))}disconnectedCallback(){this.rootParent&&this.parentObserver.disconnect()}isOption(e){return["GUX-OPTION","GUX-OPTION-ICON"].includes(e.tagName)}hasVisibleNextSibling(e){let i=e.nextElementSibling;if(null===i)return!1;for(;i&&i.classList.contains("gux-filtered");)i=i.nextElementSibling;return Boolean(i)}renderDivider(){if(this.showDivider)return i("gux-list-divider",null)}render(){return i(t,{key:"4d68edbab7b566bb5cdc8f4cbf5226eae9c27d3c",class:{"gux-filtered":this.filtered}},i("div",{key:"0eaaf5d04d296b4980ba4eb08a39b3ddf64cff4d",class:"gux-option-group"},i("div",{key:"1775f43cb0cca2e08c1dc9a72b23077d00624316",class:"gux-option-group-label",role:"presentation"},this.label),i("div",{key:"2479f308e29a36a78e5e0fd00bed9e316099a10a",role:"group"},i("slot",{key:"9a93bf6a129a7e11346ab388a1b6620b464d82aa"})),this.renderDivider()))}get root(){return a(this)}};o.style=".gux-option-group{display:block;flex:1 1 auto;align-self:auto}.gux-option-group .gux-option-group-label{display:block;padding:var(--gse-ui-menu-groupedMenu-title-padding);color:var(--gse-ui-menu-groupedMenu-title-foregroundColor);font-family:var(--gse-semantic-heading-overline-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-overline-fontSize);line-height:var(--gse-semantic-heading-overline-lineHeight);text-transform:var(--gse-semantic-heading-overline-textCase);letter-spacing:var(--gse-semantic-heading-overline-letterSpacing);font-weight:var(--gse-semantic-heading-overline-fontWeight)}:host(.gux-filtered){display:none}";export{o as gux_option_group_beta}
@@ -1 +1 @@
1
- import{r,h as e,a}from"./p-Dz_2h4jr.js";import{b as o}from"./p-DmaAM9UB.js";import{t as i}from"./p-P-hdUE3M.js";import"./p-Cd4R0amv.js";var t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"};const l=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){i(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{key:"797b301e8b9f87174fd005f8c1871d87a51bb1c6",role:"alert",class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("div",{key:"f40a9a6ed37f9a9967d73d5b11402647fee00cf4",class:"gux-message-wrapper"},e("gux-icon",{key:"e805a29ce69fa7e7989a74907b29dc4797a89a9f","icon-name":this.getIcon(this.accent),decorative:!0,size:"small"}),e("gux-screen-reader-beta",{key:"905c65cfc0198c9023b77a1aa4332c1e930a690f"},this.i18n(this.accent)),e("div",{key:"4a6bc7abd60fb47d526ca3d5e343b8c2d421c449",class:"gux-content"},e("slot",{key:"963a4f1cc0b93d66c99b35213903902bcf752ad8",name:"content"},e("slot",{key:"a5063a61c0ae7d42dd2401c53c44f044653dff36"})))))}get root(){return a(this)}};l.style=":host{display:flex;inline-size:fit-content}.gux-inline-alert{display:inline-flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;margin-block-start:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;gap:var(--gse-ui-alert-gap);font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-content{flex:1 1 auto}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{l as gux_inline_alert}
1
+ import{r,h as e,a}from"./p-CjVJoR6g.js";import{b as o}from"./p-D1QZQXQN.js";import{t as i}from"./p-m3Lae7sj.js";import"./p-Cd4R0amv.js";var t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"};const l=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){i(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{key:"797b301e8b9f87174fd005f8c1871d87a51bb1c6",role:"alert",class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("div",{key:"f40a9a6ed37f9a9967d73d5b11402647fee00cf4",class:"gux-message-wrapper"},e("gux-icon",{key:"e805a29ce69fa7e7989a74907b29dc4797a89a9f","icon-name":this.getIcon(this.accent),decorative:!0,size:"small"}),e("gux-screen-reader-beta",{key:"905c65cfc0198c9023b77a1aa4332c1e930a690f"},this.i18n(this.accent)),e("div",{key:"4a6bc7abd60fb47d526ca3d5e343b8c2d421c449",class:"gux-content"},e("slot",{key:"963a4f1cc0b93d66c99b35213903902bcf752ad8",name:"content"},e("slot",{key:"a5063a61c0ae7d42dd2401c53c44f044653dff36"})))))}get root(){return a(this)}};l.style=":host{display:flex;inline-size:fit-content}.gux-inline-alert{display:inline-flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;margin-block-start:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;gap:var(--gse-ui-alert-gap);font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-content{flex:1 1 auto}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{l as gux_inline_alert}