genesys-spark-components 4.185.4 → 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 (755) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  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 +6 -6
  4. package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
  5. package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  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 +5 -5
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
  19. package/dist/cjs/gux-branch-multi.cjs.entry.js +85 -0
  20. package/dist/cjs/gux-branch.cjs.entry.js +78 -0
  21. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
  24. package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-button_2.cjs.entry.js +7 -7
  26. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-card.cjs.entry.js +4 -4
  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 +5 -5
  32. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  34. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  35. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  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 +5 -5
  41. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  44. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
  46. package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
  47. package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
  48. package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
  49. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  50. package/dist/cjs/gux-flyout-menu.cjs.entry.js +6 -6
  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 +8 -8
  54. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
  55. package/dist/cjs/gux-form-field-color.cjs.entry.js +8 -8
  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 +9 -9
  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 +7 -7
  61. package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
  62. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
  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 +14 -14
  65. package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
  66. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
  67. package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
  68. package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
  69. package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
  70. package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
  71. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +8 -8
  72. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
  73. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
  74. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
  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 +3 -3
  80. package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  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 +70 -0
  85. package/dist/cjs/gux-leaf.cjs.entry.js +68 -0
  86. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-list.cjs.entry.js +3 -3
  90. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  91. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
  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 +2 -2
  95. package/dist/cjs/gux-menu.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
  97. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-modal.cjs.entry.js +3 -3
  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 +3 -3
  103. package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
  105. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  106. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
  108. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  109. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
  110. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  112. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
  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 +5 -5
  118. package/dist/cjs/gux-popup.cjs.entry.js +4 -4
  119. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-rating.cjs.entry.js +5 -5
  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 +4 -4
  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 +4 -4
  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 +3 -3
  144. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  146. package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
  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 +4 -4
  152. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  153. package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
  154. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
  155. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  156. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  157. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  158. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-tab.cjs.entry.js +3 -3
  160. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  161. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
  162. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  163. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
  164. package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
  165. package/dist/cjs/gux-table.cjs.entry.js +4 -4
  166. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
  167. package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
  168. package/dist/cjs/gux-tag.cjs.entry.js +5 -5
  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 +5 -5
  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 +4 -4
  175. package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
  176. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  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 +5 -5
  180. package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
  181. package/dist/cjs/gux-tree-beta.cjs.entry.js +183 -0
  182. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +204 -0
  183. package/dist/cjs/gux-tree-multi.service-BFBspBvZ.js +313 -0
  184. package/dist/cjs/gux-tree.service-DM6q_PoD.js +240 -0
  185. package/dist/cjs/{index-Bfx8AGPj.js → index-C1LZ-Zd8.js} +25 -1
  186. package/dist/cjs/{index-C2XfGATp.js → index-CjUBUVCO.js} +1 -1
  187. package/dist/cjs/loader.cjs.js +2 -2
  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-D2AUYEBS.js → usage-o6I3mOuO.js} +1 -1
  192. package/dist/collection/collection-manifest.json +6 -0
  193. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.css +114 -0
  194. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.js +209 -0
  195. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.css +86 -0
  196. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +179 -0
  197. package/dist/collection/components/beta/gux-tree/gux-tree.css +13 -0
  198. package/dist/collection/components/beta/gux-tree/gux-tree.js +296 -0
  199. package/dist/collection/components/beta/gux-tree/gux-tree.service.js +220 -0
  200. package/dist/collection/components/beta/gux-tree/gux-tree.types.js +1 -0
  201. package/dist/collection/components/beta/gux-tree/tests/gux-tree.common.js +137 -0
  202. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.css +122 -0
  203. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +236 -0
  204. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.css +100 -0
  205. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +181 -0
  206. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.css +13 -0
  207. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +318 -0
  208. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.service.js +320 -0
  209. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.types.js +1 -0
  210. package/dist/collection/components/beta/gux-tree-multi/tests/gux-tree-multi.common.js +56 -0
  211. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  212. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  213. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  214. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  215. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  216. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  217. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  218. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  219. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  220. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  221. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  222. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  223. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  224. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  225. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  226. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  227. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  228. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  229. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  230. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  231. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  232. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  233. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  234. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  235. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  236. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  237. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  238. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  239. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  240. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  241. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  242. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  243. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  244. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  245. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  246. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.css +8 -7
  247. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  248. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  249. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  250. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  251. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  252. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  253. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  254. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  255. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  256. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
  257. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  258. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  259. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  260. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  261. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  262. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  263. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  264. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  265. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  266. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  267. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  268. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  269. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
  270. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  271. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  272. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  273. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  274. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  275. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  276. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  277. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  278. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  279. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  280. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +2 -2
  281. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  282. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  283. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  284. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  285. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  286. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  287. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  288. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  289. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  290. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  291. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  292. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  293. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  294. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  295. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  296. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  297. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  298. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
  299. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  300. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  301. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  302. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  303. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  304. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  305. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  306. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  307. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  308. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  309. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  310. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  311. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  312. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  313. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  314. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  315. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  316. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  317. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  318. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  319. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  320. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  321. package/dist/collection/utils/decorator/aria.js +17 -0
  322. package/dist/esm/genesys-webcomponents.js +3 -3
  323. package/dist/esm/{get-valid-timezone-CNkoPKdR.js → get-valid-timezone-LDHU1yLM.js} +1 -1
  324. package/dist/esm/gux-accordion-section.entry.js +6 -6
  325. package/dist/esm/gux-accordion.entry.js +3 -3
  326. package/dist/esm/gux-action-button.entry.js +5 -5
  327. package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
  328. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
  329. package/dist/esm/gux-all-row-select.entry.js +3 -3
  330. package/dist/esm/gux-announce-beta.entry.js +2 -2
  331. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  332. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  333. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  334. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  335. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  336. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  337. package/dist/esm/gux-badge.entry.js +5 -5
  338. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  339. package/dist/esm/gux-blank-state.entry.js +4 -4
  340. package/dist/esm/gux-branch-multi.entry.js +83 -0
  341. package/dist/esm/gux-branch.entry.js +76 -0
  342. package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
  343. package/dist/esm/gux-breadcrumbs.entry.js +4 -4
  344. package/dist/esm/gux-button-multi.entry.js +4 -4
  345. package/dist/esm/gux-button-slot.entry.js +3 -3
  346. package/dist/esm/gux-button_2.entry.js +7 -7
  347. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  348. package/dist/esm/gux-calendar.entry.js +4 -4
  349. package/dist/esm/gux-card.entry.js +4 -4
  350. package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
  351. package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
  352. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  353. package/dist/esm/gux-column-manager.entry.js +4 -4
  354. package/dist/esm/gux-content-search.entry.js +5 -5
  355. package/dist/esm/gux-context-menu.entry.js +6 -6
  356. package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
  357. package/dist/esm/gux-create-option.entry.js +4 -4
  358. package/dist/esm/gux-cta-group.entry.js +1 -1
  359. package/dist/esm/gux-date-beta.entry.js +4 -4
  360. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  361. package/dist/esm/gux-datepicker.entry.js +5 -5
  362. package/dist/esm/gux-day-beta.entry.js +2 -2
  363. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  364. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  365. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  366. package/dist/esm/gux-dropdown-multi.entry.js +6 -6
  367. package/dist/esm/gux-dropdown-option.entry.js +2 -2
  368. package/dist/esm/gux-dropdown_3.entry.js +8 -8
  369. package/dist/esm/gux-file-list-item.entry.js +5 -5
  370. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  371. package/dist/esm/gux-flyout-menu.entry.js +6 -6
  372. package/dist/esm/gux-form-beta.entry.js +1 -1
  373. package/dist/esm/gux-form-description.entry.js +1 -1
  374. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
  375. package/dist/esm/gux-form-field-checkbox.entry.js +6 -6
  376. package/dist/esm/gux-form-field-color.entry.js +8 -8
  377. package/dist/esm/{gux-form-field-container-K-R4rXST.js → gux-form-field-container-Dp9t605U.js} +1 -1
  378. package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
  379. package/dist/esm/{gux-form-field-error-DO0r_oNt.js → gux-form-field-error-CUxY2-XD.js} +1 -1
  380. package/dist/esm/{gux-form-field-fieldset-container-DAmLNsF9.js → gux-form-field-fieldset-container-BT88yCp7.js} +1 -1
  381. package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
  382. package/dist/esm/gux-form-field-file.entry.js +6 -6
  383. package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
  384. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  385. package/dist/esm/gux-form-field-number_2.entry.js +14 -14
  386. package/dist/esm/gux-form-field-phone.entry.js +10 -10
  387. package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
  388. package/dist/esm/gux-form-field-radio.entry.js +6 -6
  389. package/dist/esm/gux-form-field-range.entry.js +8 -8
  390. package/dist/esm/gux-form-field-search.entry.js +8 -8
  391. package/dist/esm/gux-form-field-select.entry.js +8 -8
  392. package/dist/esm/gux-form-field-text-like.entry.js +8 -8
  393. package/dist/esm/gux-form-field-textarea.entry.js +7 -7
  394. package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
  395. package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
  396. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  397. package/dist/esm/gux-form-footer.entry.js +2 -2
  398. package/dist/esm/gux-form-heading.entry.js +1 -1
  399. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  400. package/dist/esm/gux-icon.entry.js +3 -3
  401. package/dist/esm/gux-illustration-beta.entry.js +2 -2
  402. package/dist/esm/gux-inline-alert.entry.js +5 -5
  403. package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
  404. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  405. package/dist/esm/gux-leaf-multi.entry.js +68 -0
  406. package/dist/esm/gux-leaf.entry.js +66 -0
  407. package/dist/esm/gux-link-beta.entry.js +2 -2
  408. package/dist/esm/gux-list-divider.entry.js +2 -2
  409. package/dist/esm/gux-list-item.entry.js +2 -2
  410. package/dist/esm/gux-list.entry.js +3 -3
  411. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  412. package/dist/esm/gux-loading-message.entry.js +3 -3
  413. package/dist/esm/gux-logo-beta.entry.js +3 -3
  414. package/dist/esm/gux-logomark-beta.entry.js +3 -3
  415. package/dist/esm/gux-menu-option.entry.js +2 -2
  416. package/dist/esm/gux-menu.entry.js +2 -2
  417. package/dist/esm/gux-modal-legacy.entry.js +4 -4
  418. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  419. package/dist/esm/gux-modal.entry.js +3 -3
  420. package/dist/esm/gux-month-calendar.entry.js +2 -2
  421. package/dist/esm/gux-month-list_2.entry.js +1 -1
  422. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  423. package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
  424. package/dist/esm/gux-option-group-beta.entry.js +2 -2
  425. package/dist/esm/gux-option-icon.entry.js +3 -3
  426. package/dist/esm/gux-option-multi.entry.js +4 -4
  427. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  428. package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
  429. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  430. package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
  431. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  432. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  433. package/dist/esm/gux-pagination-legacy.entry.js +3 -3
  434. package/dist/esm/gux-pagination.entry.js +3 -3
  435. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  436. package/dist/esm/gux-popover-beta.entry.js +3 -3
  437. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  438. package/dist/esm/gux-popover-list.entry.js +5 -5
  439. package/dist/esm/gux-popup.entry.js +4 -4
  440. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  441. package/dist/esm/gux-radial-loading.entry.js +4 -4
  442. package/dist/esm/gux-radial-progress.entry.js +2 -2
  443. package/dist/esm/gux-rating.entry.js +5 -5
  444. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  445. package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
  446. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  447. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  448. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  449. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  450. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  451. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  452. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  453. package/dist/esm/gux-row-select.entry.js +4 -4
  454. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  455. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  456. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  457. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  458. package/dist/esm/gux-select-all.entry.js +4 -4
  459. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  460. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  461. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  462. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  463. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  464. package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
  465. package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
  466. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  467. package/dist/esm/gux-sort-control.entry.js +5 -5
  468. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  469. package/dist/esm/gux-step-title.entry.js +2 -2
  470. package/dist/esm/gux-step.entry.js +2 -2
  471. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  472. package/dist/esm/gux-submenu.entry.js +4 -4
  473. package/dist/esm/gux-switch-item.entry.js +2 -2
  474. package/dist/esm/gux-switch-legacy.entry.js +3 -3
  475. package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
  476. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  477. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  478. package/dist/esm/gux-tab-list.entry.js +5 -5
  479. package/dist/esm/gux-tab-panel.entry.js +2 -2
  480. package/dist/esm/gux-tab.entry.js +3 -3
  481. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  482. package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
  483. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  484. package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
  485. package/dist/esm/gux-table-toolbar.entry.js +6 -6
  486. package/dist/esm/gux-table.entry.js +4 -4
  487. package/dist/esm/gux-tabs-advanced.entry.js +3 -3
  488. package/dist/esm/gux-tabs.entry.js +3 -3
  489. package/dist/esm/gux-tag.entry.js +5 -5
  490. package/dist/esm/gux-text-highlight.entry.js +2 -2
  491. package/dist/esm/gux-time-beta.entry.js +4 -4
  492. package/dist/esm/gux-time-picker.entry.js +5 -5
  493. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  494. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  495. package/dist/esm/gux-toast.entry.js +4 -4
  496. package/dist/esm/gux-toggle-slider.entry.js +3 -3
  497. package/dist/esm/gux-toggle.entry.js +5 -5
  498. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  499. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  500. package/dist/esm/gux-tooltip-title.entry.js +5 -5
  501. package/dist/esm/gux-tooltip_2.entry.js +9 -9
  502. package/dist/esm/gux-tree-beta.entry.js +181 -0
  503. package/dist/esm/gux-tree-multi-beta.entry.js +202 -0
  504. package/dist/esm/gux-tree-multi.service-BLZ1mRfa.js +295 -0
  505. package/dist/esm/gux-tree.service-BDeQhvUY.js +223 -0
  506. package/dist/esm/{index-T5mO569D.js → index-BcJFUYIV.js} +1 -1
  507. package/dist/esm/{index-Dz_2h4jr.js → index-CjVJoR6g.js} +25 -1
  508. package/dist/esm/loader.js +3 -3
  509. package/dist/esm/{on-click-outside-R32NST4z.js → on-click-outside-CQ9-ZPII.js} +1 -1
  510. package/dist/esm/{on-mutation-DfF7Bpf8.js → on-mutation-CEhI74kI.js} +1 -1
  511. package/dist/esm/{on-resize-CZO-3VCx.js → on-resize-BzUqKdDk.js} +1 -1
  512. package/dist/esm/{usage-CqFA-9uw.js → usage-m3Lae7sj.js} +1 -1
  513. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  514. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  515. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  516. package/dist/genesys-webcomponents/{p-aeb7034c.entry.js → p-017cb9d5.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/p-056a7c6b.entry.js +1 -0
  518. package/dist/genesys-webcomponents/p-083804b1.entry.js +1 -0
  519. package/dist/genesys-webcomponents/{p-8ea4a492.entry.js → p-099f666a.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-fd316112.entry.js → p-0b052d60.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-44d918a8.entry.js → p-0b24178e.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-78eaa0d4.entry.js → p-0cd588f1.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-3f740896.entry.js → p-0d4c3b8f.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-adf7dd6a.entry.js → p-11837668.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-612dc777.entry.js → p-135367e9.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-a9af6f24.entry.js → p-139620e1.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-539fb3fe.entry.js → p-13ac38be.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-c242bb23.entry.js → p-150a39e6.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-99137082.entry.js → p-154def26.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-40d081da.entry.js → p-16b176e0.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-83209428.entry.js → p-19aae774.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-4a1529e5.entry.js → p-1d3c2d91.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-f8c169cd.entry.js → p-1f64bf9d.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-40ea83f0.entry.js → p-1fa2732f.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-10e4fe74.entry.js → p-21d62416.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/p-23ae550d.entry.js +1 -0
  537. package/dist/genesys-webcomponents/p-25b9ab49.entry.js +1 -0
  538. package/dist/genesys-webcomponents/{p-84e0896b.entry.js → p-25fd3256.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-90caff1a.entry.js → p-26332854.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-f02b5c08.entry.js → p-26ae37e2.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-b6fd9593.entry.js → p-27917cd5.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-3c7ddb88.entry.js → p-285ee4a0.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-f20f3970.entry.js → p-28bb190c.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-893f62be.entry.js → p-2afa3fa3.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-23c41f6a.entry.js → p-2d4c4294.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/p-2eeb7b23.entry.js +1 -0
  547. package/dist/genesys-webcomponents/p-324d6857.entry.js +1 -0
  548. package/dist/genesys-webcomponents/{p-544e996a.entry.js → p-32e6acb8.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-eae2d50f.entry.js → p-34fdea73.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-5e2583d3.entry.js → p-351b23d4.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-489b6f7e.entry.js → p-35a486e5.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-5c1b8f06.entry.js → p-38f5b4f6.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-bfff8a6b.entry.js → p-39260f95.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-a2d4d3ba.entry.js → p-3cd17631.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-e556fa9f.entry.js → p-3da05df8.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-8045e63b.entry.js → p-3e99d726.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-2a29ce57.entry.js → p-3eba96cc.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-21a1faf1.entry.js → p-42a37e44.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/p-45586ff0.entry.js +1 -0
  560. package/dist/genesys-webcomponents/{p-4349f0ca.entry.js → p-467b440a.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-f594e172.entry.js → p-46a34101.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-53b2f894.entry.js → p-48ca42f5.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/p-48de3ff3.entry.js +1 -0
  564. package/dist/genesys-webcomponents/{p-22c776f0.entry.js → p-49ee0c6f.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-2ca488ce.entry.js → p-4a7ea7e8.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-5594fa74.entry.js → p-4ad8978f.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-b37969e2.entry.js → p-4b45cd72.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-98e56fc8.entry.js → p-4f2bbd47.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-a2a6afc3.entry.js → p-514148f5.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-9f0b943d.entry.js → p-52373db0.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-7065d860.entry.js → p-53e22ff1.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-15692d0d.entry.js → p-541fb3fb.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-8bc25cf3.entry.js → p-556113ac.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-75f9bd17.entry.js → p-5725af26.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-b63f7073.entry.js → p-57f2d1dc.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/{p-3144413b.entry.js → p-5800a64c.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/p-5942b0f1.entry.js +1 -0
  578. package/dist/genesys-webcomponents/{p-a7e70e2a.entry.js → p-59895996.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-DrJn2EIj.js → p-5GSd1tCA.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-d5ba3136.entry.js → p-5ac0a470.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/{p-1485f433.entry.js → p-5b40c6e6.entry.js} +1 -1
  582. package/dist/genesys-webcomponents/p-5cf1b2ba.entry.js +1 -0
  583. package/dist/genesys-webcomponents/{p-4941fe4c.entry.js → p-5cf81958.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/p-5e48e9fb.entry.js +1 -0
  585. package/dist/genesys-webcomponents/{p-6de55d53.entry.js → p-60011440.entry.js} +1 -1
  586. package/dist/genesys-webcomponents/{p-1547811e.entry.js → p-6041e65b.entry.js} +1 -1
  587. package/dist/genesys-webcomponents/{p-bafac823.entry.js → p-6143b5da.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/{p-27a31162.entry.js → p-68dec694.entry.js} +2 -2
  589. package/dist/genesys-webcomponents/p-6a47bd85.entry.js +1 -0
  590. package/dist/genesys-webcomponents/{p-e1d6e045.entry.js → p-6d83742a.entry.js} +1 -1
  591. package/dist/genesys-webcomponents/{p-b778feee.entry.js → p-6f9cfe1b.entry.js} +1 -1
  592. package/dist/genesys-webcomponents/{p-375cd724.entry.js → p-7091f5b2.entry.js} +1 -1
  593. package/dist/genesys-webcomponents/{p-868f1326.entry.js → p-70999d68.entry.js} +1 -1
  594. package/dist/genesys-webcomponents/{p-7adb4b41.entry.js → p-7122ffc2.entry.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-1427f966.entry.js → p-73082b46.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-1eaaf233.entry.js → p-7467d78b.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/p-7869bfd9.entry.js +1 -0
  598. package/dist/genesys-webcomponents/p-7b70f2df.entry.js +1 -0
  599. package/dist/genesys-webcomponents/{p-48bc1a43.entry.js → p-7ee9b69d.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/{p-416badb7.entry.js → p-7f602357.entry.js} +1 -1
  601. package/dist/genesys-webcomponents/{p-b5052251.entry.js → p-8033fd0b.entry.js} +1 -1
  602. package/dist/genesys-webcomponents/{p-6b11eab9.entry.js → p-84f88012.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/{p-480528c6.entry.js → p-863302cc.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/{p-80f96c1f.entry.js → p-8a13909f.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-84630362.entry.js → p-8b78c6e6.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/{p-e2ba70cb.entry.js → p-8e9f07a4.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/{p-5d4b57ce.entry.js → p-8f4e6f19.entry.js} +1 -1
  608. package/dist/genesys-webcomponents/{p-86066630.entry.js → p-8ff107e5.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/p-908be904.entry.js +1 -0
  610. package/dist/genesys-webcomponents/{p-2d774310.entry.js → p-908ebad2.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/{p-2b5a926f.entry.js → p-91abcf19.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/{p-2ba9827a.entry.js → p-941d403f.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-2c059a6c.entry.js → p-9445c461.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-f9b60e9d.entry.js → p-9579eeaa.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-d6909cfa.entry.js → p-95aa1974.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-e50f271a.entry.js → p-95f7a089.entry.js} +1 -1
  617. package/dist/genesys-webcomponents/{p-c234f86c.entry.js → p-96154710.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/{p-8594ff89.entry.js → p-994e4f51.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/{p-787ceb33.entry.js → p-9a3086e6.entry.js} +1 -1
  620. package/dist/genesys-webcomponents/{p-0755b783.entry.js → p-9a59a9ca.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/p-9a739818.entry.js +1 -0
  622. package/dist/genesys-webcomponents/p-9d0d3fa8.entry.js +1 -0
  623. package/dist/genesys-webcomponents/{p-2d679237.entry.js → p-9d22b1ee.entry.js} +1 -1
  624. package/dist/genesys-webcomponents/p-9f983574.entry.js +1 -0
  625. package/dist/genesys-webcomponents/{p-487d34ff.entry.js → p-9fa06bad.entry.js} +1 -1
  626. package/dist/genesys-webcomponents/p-BS-Yw6fq.js +1 -0
  627. package/dist/genesys-webcomponents/{p-Ct81NxWr.js → p-BvVMx5eW.js} +1 -1
  628. package/dist/genesys-webcomponents/p-CjVJoR6g.js +2 -0
  629. package/dist/genesys-webcomponents/p-CuKTBQuB.js +1 -0
  630. package/dist/genesys-webcomponents/{p-DmaAM9UB.js → p-D1QZQXQN.js} +1 -1
  631. package/dist/genesys-webcomponents/{p-DVjNN8WO.js → p-DTOY_vUZ.js} +1 -1
  632. package/dist/genesys-webcomponents/p-DaK6PJIg.js +1 -0
  633. package/dist/genesys-webcomponents/{p-Mjv14MGU.js → p-DcL3bWH_.js} +1 -1
  634. package/dist/genesys-webcomponents/{p-b571eabb.entry.js → p-a02a5f08.entry.js} +1 -1
  635. package/dist/genesys-webcomponents/{p-0ee86062.entry.js → p-a352dd2e.entry.js} +1 -1
  636. package/dist/genesys-webcomponents/{p-c5739404.entry.js → p-a466db49.entry.js} +1 -1
  637. package/dist/genesys-webcomponents/{p-a2d45e7a.entry.js → p-a619a0ff.entry.js} +1 -1
  638. package/dist/genesys-webcomponents/{p-c243addb.entry.js → p-a8143e2c.entry.js} +1 -1
  639. package/dist/genesys-webcomponents/{p-e3f192d1.entry.js → p-aaae46b8.entry.js} +1 -1
  640. package/dist/genesys-webcomponents/{p-0f0c7576.entry.js → p-aab878b2.entry.js} +1 -1
  641. package/dist/genesys-webcomponents/{p-01a0c3f5.entry.js → p-aede3166.entry.js} +1 -1
  642. package/dist/genesys-webcomponents/p-b0d02114.entry.js +1 -0
  643. package/dist/genesys-webcomponents/{p-ef689aba.entry.js → p-b12a8508.entry.js} +1 -1
  644. package/dist/genesys-webcomponents/{p-c9a5aa58.entry.js → p-b21ed8c2.entry.js} +1 -1
  645. package/dist/genesys-webcomponents/{p-671dfa9e.entry.js → p-b2334e35.entry.js} +1 -1
  646. package/dist/genesys-webcomponents/{p-3e068aae.entry.js → p-b5a01b48.entry.js} +1 -1
  647. package/dist/genesys-webcomponents/{p-d99703d1.entry.js → p-b5b441a3.entry.js} +1 -1
  648. package/dist/genesys-webcomponents/p-b6f2fc11.entry.js +1 -0
  649. package/dist/genesys-webcomponents/{p-3f1cd13d.entry.js → p-b823a092.entry.js} +1 -1
  650. package/dist/genesys-webcomponents/p-b90aef76.entry.js +1 -0
  651. package/dist/genesys-webcomponents/{p-9251c76b.entry.js → p-bd8741a3.entry.js} +1 -1
  652. package/dist/genesys-webcomponents/p-be9f6a45.entry.js +1 -0
  653. package/dist/genesys-webcomponents/{p-b8be5587.entry.js → p-bf044a81.entry.js} +1 -1
  654. package/dist/genesys-webcomponents/p-bf7dad16.entry.js +1 -0
  655. package/dist/genesys-webcomponents/p-c05f9f33.entry.js +1 -0
  656. package/dist/genesys-webcomponents/p-c1eb882e.entry.js +1 -0
  657. package/dist/genesys-webcomponents/{p-6386c7e1.entry.js → p-c8c0a498.entry.js} +1 -1
  658. package/dist/genesys-webcomponents/{p-605d874e.entry.js → p-c905638c.entry.js} +1 -1
  659. package/dist/genesys-webcomponents/{p-5d1a929a.entry.js → p-c961265f.entry.js} +1 -1
  660. package/dist/genesys-webcomponents/{p-10438489.entry.js → p-cae633ff.entry.js} +1 -1
  661. package/dist/genesys-webcomponents/{p-4a67abbc.entry.js → p-cb4791a1.entry.js} +1 -1
  662. package/dist/genesys-webcomponents/p-cbfda3ac.entry.js +1 -0
  663. package/dist/genesys-webcomponents/p-cd9a57b8.entry.js +1 -0
  664. package/dist/genesys-webcomponents/{p-b1e84bbd.entry.js → p-ceb683a7.entry.js} +1 -1
  665. package/dist/genesys-webcomponents/{p-2198a87f.entry.js → p-cf412061.entry.js} +1 -1
  666. package/dist/genesys-webcomponents/{p-b242698f.entry.js → p-d4cf29da.entry.js} +1 -1
  667. package/dist/genesys-webcomponents/{p-153f816e.entry.js → p-d5c18713.entry.js} +1 -1
  668. package/dist/genesys-webcomponents/p-d5e4a275.entry.js +1 -0
  669. package/dist/genesys-webcomponents/{p-71174517.entry.js → p-d895c2d4.entry.js} +1 -1
  670. package/dist/genesys-webcomponents/p-d8cbd44a.entry.js +1 -0
  671. package/dist/genesys-webcomponents/{p-dab22b10.entry.js → p-da5bf7b1.entry.js} +1 -1
  672. package/dist/genesys-webcomponents/{p-14f59f78.entry.js → p-dad081b0.entry.js} +1 -1
  673. package/dist/genesys-webcomponents/{p-9536e0c6.entry.js → p-daff771e.entry.js} +1 -1
  674. package/dist/genesys-webcomponents/p-dfca7776.entry.js +1 -0
  675. package/dist/genesys-webcomponents/{p-be3bc25f.entry.js → p-e0314387.entry.js} +1 -1
  676. package/dist/genesys-webcomponents/p-e181a441.entry.js +1 -0
  677. package/dist/genesys-webcomponents/{p-67b71af5.entry.js → p-e1b2080a.entry.js} +1 -1
  678. package/dist/genesys-webcomponents/{p-5d17f3bd.entry.js → p-e1fe1a06.entry.js} +1 -1
  679. package/dist/genesys-webcomponents/{p-87e71f17.entry.js → p-e4a44c7d.entry.js} +1 -1
  680. package/dist/genesys-webcomponents/{p-ecc889c1.entry.js → p-e77358d8.entry.js} +1 -1
  681. package/dist/genesys-webcomponents/{p-e7289e53.entry.js → p-e7841f8f.entry.js} +1 -1
  682. package/dist/genesys-webcomponents/{p-4b4adbc6.entry.js → p-e84d3b25.entry.js} +1 -1
  683. package/dist/genesys-webcomponents/{p-177ecae4.entry.js → p-e8541175.entry.js} +1 -1
  684. package/dist/genesys-webcomponents/{p-847c37dd.entry.js → p-e96fa35a.entry.js} +1 -1
  685. package/dist/genesys-webcomponents/{p-bc6e01fd.entry.js → p-e9973aeb.entry.js} +1 -1
  686. package/dist/genesys-webcomponents/p-ec5d01d6.entry.js +1 -0
  687. package/dist/genesys-webcomponents/{p-0ab0a627.entry.js → p-ed882ba0.entry.js} +1 -1
  688. package/dist/genesys-webcomponents/{p-d9cdc0da.entry.js → p-eeaf3569.entry.js} +1 -1
  689. package/dist/genesys-webcomponents/{p-831fb4cc.entry.js → p-ef9c62f0.entry.js} +1 -1
  690. package/dist/genesys-webcomponents/p-f19811e6.entry.js +1 -0
  691. package/dist/genesys-webcomponents/{p-51fda966.entry.js → p-f21766df.entry.js} +1 -1
  692. package/dist/genesys-webcomponents/{p-79dfd7bf.entry.js → p-f39ca032.entry.js} +1 -1
  693. package/dist/genesys-webcomponents/{p-4ece6ace.entry.js → p-f46d7dc9.entry.js} +1 -1
  694. package/dist/genesys-webcomponents/p-f480585b.entry.js +1 -0
  695. package/dist/genesys-webcomponents/{p-69c8e846.entry.js → p-f59113f5.entry.js} +1 -1
  696. package/dist/genesys-webcomponents/p-f68b47d9.entry.js +1 -0
  697. package/dist/genesys-webcomponents/{p-53dec3d9.entry.js → p-f6ecef3e.entry.js} +1 -1
  698. package/dist/genesys-webcomponents/p-fa3dd755.entry.js +1 -0
  699. package/dist/genesys-webcomponents/{p-061ea741.entry.js → p-fb37efda.entry.js} +1 -1
  700. package/dist/genesys-webcomponents/{p-b88e7f69.entry.js → p-fcd6e603.entry.js} +1 -1
  701. package/dist/genesys-webcomponents/p-fcdc8ed7.entry.js +1 -0
  702. package/dist/genesys-webcomponents/p-hPZIPnvb.js +1 -0
  703. package/dist/genesys-webcomponents/{p-JPhxXbs4.js → p-kyGdOoF4.js} +1 -1
  704. package/dist/genesys-webcomponents/{p-CqFA-9uw.js → p-m3Lae7sj.js} +1 -1
  705. package/dist/stencil-wrapper.js +1 -1
  706. package/dist/types/components/beta/gux-tree/gux-branch/gux-branch.d.ts +25 -0
  707. package/dist/types/components/beta/gux-tree/gux-leaf/gux-leaf.d.ts +23 -0
  708. package/dist/types/components/beta/gux-tree/gux-tree.d.ts +27 -0
  709. package/dist/types/components/beta/gux-tree/gux-tree.service.d.ts +21 -0
  710. package/dist/types/components/beta/gux-tree/gux-tree.types.d.ts +3 -0
  711. package/dist/types/components/beta/gux-tree/tests/gux-tree.common.d.ts +8 -0
  712. package/dist/types/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.d.ts +27 -0
  713. package/dist/types/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.d.ts +24 -0
  714. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.d.ts +28 -0
  715. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.service.d.ts +24 -0
  716. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.types.d.ts +16 -0
  717. package/dist/types/components/beta/gux-tree-multi/tests/gux-tree-multi.common.d.ts +10 -0
  718. package/dist/types/components.d.ts +264 -0
  719. package/dist/types/stencil-wrapper.d.ts +1 -1
  720. package/dist/types/utils/decorator/aria.d.ts +47 -0
  721. package/package.json +1 -1
  722. package/dist/genesys-webcomponents/p-078c349b.entry.js +0 -1
  723. package/dist/genesys-webcomponents/p-0a8991dc.entry.js +0 -1
  724. package/dist/genesys-webcomponents/p-0yc9CKxX.js +0 -1
  725. package/dist/genesys-webcomponents/p-116268dd.entry.js +0 -1
  726. package/dist/genesys-webcomponents/p-2d6e6ef9.entry.js +0 -1
  727. package/dist/genesys-webcomponents/p-2f8645cd.entry.js +0 -1
  728. package/dist/genesys-webcomponents/p-2fb25236.entry.js +0 -1
  729. package/dist/genesys-webcomponents/p-37b9c630.entry.js +0 -1
  730. package/dist/genesys-webcomponents/p-3b7c7a93.entry.js +0 -1
  731. package/dist/genesys-webcomponents/p-4551fc1a.entry.js +0 -1
  732. package/dist/genesys-webcomponents/p-49f4288e.entry.js +0 -1
  733. package/dist/genesys-webcomponents/p-63e3b1f3.entry.js +0 -1
  734. package/dist/genesys-webcomponents/p-71ff1a25.entry.js +0 -1
  735. package/dist/genesys-webcomponents/p-777ea613.entry.js +0 -1
  736. package/dist/genesys-webcomponents/p-79d0c705.entry.js +0 -1
  737. package/dist/genesys-webcomponents/p-7a9be627.entry.js +0 -1
  738. package/dist/genesys-webcomponents/p-7ba8755f.entry.js +0 -1
  739. package/dist/genesys-webcomponents/p-82c3e4ab.entry.js +0 -1
  740. package/dist/genesys-webcomponents/p-83c0a686.entry.js +0 -1
  741. package/dist/genesys-webcomponents/p-8eb7f37d.entry.js +0 -1
  742. package/dist/genesys-webcomponents/p-8ebf81fb.entry.js +0 -1
  743. package/dist/genesys-webcomponents/p-94cb27d3.entry.js +0 -1
  744. package/dist/genesys-webcomponents/p-97ad70c2.entry.js +0 -1
  745. package/dist/genesys-webcomponents/p-C-1lAIfW.js +0 -1
  746. package/dist/genesys-webcomponents/p-Dz_2h4jr.js +0 -2
  747. package/dist/genesys-webcomponents/p-a2f29975.entry.js +0 -1
  748. package/dist/genesys-webcomponents/p-ab3c9fe0.entry.js +0 -1
  749. package/dist/genesys-webcomponents/p-c372d8f5.entry.js +0 -1
  750. package/dist/genesys-webcomponents/p-c76a57f2.entry.js +0 -1
  751. package/dist/genesys-webcomponents/p-cb2f68ed.entry.js +0 -1
  752. package/dist/genesys-webcomponents/p-df234f82.entry.js +0 -1
  753. package/dist/genesys-webcomponents/p-e1de4af9.entry.js +0 -1
  754. package/dist/genesys-webcomponents/p-eaeb9124.entry.js +0 -1
  755. package/dist/genesys-webcomponents/p-f47b496d.entry.js +0 -1
@@ -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-CqFA-9uw.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-CqFA-9uw.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 A}from"./p-MAoEg4ig.js";import"./p-DjLdmWVU.js";var H={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},I=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,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}),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:"b44699ea3b45c8f05e8bb8b14b1e111d0ea4b12d",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"]}}};I([n({triggerEvents:"mousedown"})],K.prototype,"onClickOutside",null),I([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 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){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)}};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 U=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=A(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:"d5f34265c114817fbe44e2acd6ac7210facbb600",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:"30bd78c10e9ff8fab4136c00e940210606b56133",class:"gux-option-wrapper"},o("gux-truncate",{key:"3d56da75449c4db342f72d0c456a28c09eec7e80","tooltip-placement":"right",ref:t=>this.truncateElement=t},o("slot",{key:"0b6e1f1d2043c77f8b844536337579c5a666a66d"})),o("slot",{key:"c531948a74d1024d5e33507e0ac0709df9a7942d",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};U.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,N as gux_listbox,U 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-CqFA-9uw.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
+ 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-CqFA-9uw.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:"e183ef692aea28a284c5841da0e6aa148853f862",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 r}from"./p-Cd4R0amv.js";import{g as a}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=a(this.root,"subtext");this.hasSubtext=!!(null==e?void 0:e.trim())}hasDisabledParent(){const e=r("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:"c3c02424eb204b0c41d30f252df8a843bcd75a11",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:"90b28ff1d61e773b90c0f0341d27ff2b362af7d5",class:"gux-option-wrapper"},o("gux-truncate",{key:"3582a2fdf9118acbebaea8ea9c52fde3cd64f8f3","tooltip-placement":"right",ref:e=>this.truncateElement=e},o("slot",{key:"63fe83905cd4522bbb4b1ad996ad551061e34e58"})),o("slot",{key:"e612fb5134f471adbb8fd2d5614b8389cac91236",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-CqFA-9uw.js";const i=class{constructor(a){e(this,a)}componentWillLoad(){s(this.root)}render(){return a(t,{key:"75d67820ae309e19d2913fe1857ea0e8d5c62936"},a("div",{key:"b86ff4e2dfbdf83290db95e7b45976fb27e9f8d1",class:"gux-header"},a("div",{key:"3d1f75da3fce6792c0c69b83527d9a5a24c3e2da",class:"gux-icon"},a("slot",{key:"3894a22dd04c410b5762d7cc73636d4085ab61c7",name:"icon"})),a("div",{key:"f7297544f0ecd9fe053f7ede98a145f106d7a879",class:"gux-title"},a("slot",{key:"ea0a1c5f9cc2d8b98f6b90056dff5e69fb3e1fd7",name:"title"}))),a("div",{key:"f5d7b3b430ef5fbb73cdeacf214c18cee158c17d",class:"gux-message"},a("slot",{key:"e23a21e7314a7b3c06b2b74511ed5b268b8fbacd",name:"message"})),a("div",{key:"1bcf28249bc1f9fa4fced9e2f2b56e6fc939399a",class:"gux-action-buttons"},a("div",{key:"47ee8eb8af2fab9c7ed7358071976daf4f687486",class:"gux-positive-button"},a("slot",{key:"abfb9f2ba3b313e5615fcc949a17b60db32b59cb",name:"positive-button"})),a("div",{key:"31cb0927ac3ac76ea49a6d36e03303ef7c6e121c",class:"gux-negative-button"},a("slot",{key:"4f7808777bc3c63b733e6f711405c7bc35dcced6",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-CqFA-9uw.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-CqFA-9uw.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:"55aee5f8b48828e9669a132f6145aa5bd746a24a",accent:this.accent},e("button",{key:"78f544c8670e9c1563c35f999b0b51e04d922251",disabled:this.disabled,type:"button",class:"gux-action-title"},e("slot",{key:"20bbbd020a98e735094e3a8d2b148fcbddfcd0a6",name:"icon"}),e("span",{key:"9ab9a7deb5bd582a2bd0aa38bb2171f978ec59c5",class:{"gux-sr-only":this.hideText()}},e("slot",{key:"512102ec50daf0dcaf2bbccfae1e93ba3d7d0715",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
+ 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-CqFA-9uw.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:"6d4424b8b3099d8154fc19f1ffdfa03a1b4816e3",class:{"gux-file-list-item":!0,[`gux-${this.status}`]:!0,"gux-disabled":this.disabled}},a("div",{key:"23ee8ae1fdb817b51e676858473d5d29a9abec3a",class:"gux-info"},a("gux-truncate",{key:"dc0dbbb443efcdb4150be7917f5e4b24a0655d1f"},a("span",{key:"8ecebb9c66d7b34a64174ce30fd6903c6527ca06",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 c,a as p}from"./p-C-1lAIfW.js";import{h as g,c as h,g as m,v as x,a as b}from"./p-DHLxhscH.js";import{t as v}from"./p-CqFA-9uw.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=g(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:"1800f6b5551a09413912e1a58d4a089058d3152f",labelPosition:this.computedLabelPosition},t(c,{key:"98573195cbe1985347b122c23ac7f68867a72348",required:this.required,position:this.computedLabelPosition},t("slot",{key:"fa42ce1c5c480bd36e72ee0ef98e334920fc3a3d",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"e75d18eac5cec8e717601b59fc86cce41780c4e2",variant:this.indicatorMark,required:this.required}),t("slot",{key:"54d70d22db1a653f6db0faf3326edc92ae9bcf92",name:"label-info"})),t("div",{key:"22c69828bc6fa7dbf487e4771ca4299b7db9907f",class:"gux-input-and-error-container"},t("div",{key:"4b64e4fcca08bc440633b902efc884acc8d2bcc4",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"72fb6cae3a019031bf13e5417e503377c605c346",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"042971671d5690e3c8c84ce6da48d50fc31750f3","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"1e1c08b4766fe614cef65c9ba331e3d012a35996",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"95dd854f278f2f77b98825f713f2a13e0fc50181",onClick:()=>h(this.input)}))),t(f,{key:"5074b697a51e69bf4c175999a92e4066321716cd",show:this.hasError},t("slot",{key:"6245bb63df86f6f748ea89e30ad7ec87b6194f66",name:"error"})),t(d,{key:"565eeea70347bc87c15aa60022f9d98ce6a5404d",show:!this.hasError&&this.hasHelp},t("slot",{key:"7df43b6ac9dfd6481ed9aecdf97d69955d07176e",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=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(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})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(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-CqFA-9uw.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}
@@ -0,0 +1 @@
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-CqFA-9uw.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:"6a2012f017745772b1a69b0b94c5f8f7e2eb4202",labelPosition:this.computedLabelPosition},i(u,{key:"cd3f903f7af3beb84e9b5e2daa753eb8618291f3"},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:"eb3959ed533237b42c93671825a4bd6de69432be",position:this.computedLabelPosition,required:this.required},i("slot",{key:"f4833dcae1eabc46f0de8d803f610d5288148a0d",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"1e42c23f9ec45e2d9dfcf8e1b3bbb1bf9d3fc205",variant:this.indicatorMark,required:this.required}),i("slot",{key:"71732d76611c46ed386a6b08f6c03e2928c7c79d",name:"label-info"})),i("div",{key:"ff7e0947995691e987dcf42fbec99c1d5c622cec",class:"gux-input-and-error-container"},i("div",{key:"ec18e51458412567571124d6b7eacb950e6fdf3e",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"ccf8ee54133582b481870e229f28a83248f0487a",class:{"gux-time-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"8701269f8885bbdb7981aa6aaa7dae6b30e72d0d"}))),i(f,{key:"a65aaba4d23658ce94c058de4dfc2686f05379f1",show:this.hasError},i("slot",{key:"302b92bf63067d652beeaa391f8a129a586a33b2",name:"error"})),i(h,{key:"87fc02b79a538a2ef2ad6c1087dc962319cdd549",show:!this.hasError&&this.hasHelp},i("slot",{key:"6807bff1ed27a58f3a88120fcae2abfb1e5ca9e0",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-CqFA-9uw.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:"cba509955410a8eea707ee62ad9a1b2eecf3d3f9",class:"gux-action-button-container"},i("gux-popup",{key:"489a13723e4f9eacf34042d437bb19ef5f1dca9c",expanded:this.isOpen,disabled:this.disabled,placement:"bottom-end","exceed-target-width":!0},i("div",{key:"0cbc9b4ba4d88ef783b31c4a74803bfc26c01cd9",slot:"target",class:"gux-action-button-container"},i("gux-button-slot",{key:"94f5f5de00e871babe3b60047fefc861f55faa6b",class:"gux-action-button",accent:b(this.accent)},i("button",{key:"634d5a301381c19224ed3179ce8c0c33500307f3",type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick(),"data-testid":"action-button"},i("slot",{key:"758282b3eaf6818e08f06a49d4115f2fc63160b0",name:"title"}))),i("gux-button-slot",{key:"73795fe95ef79f820093fc5567427df128bdaa19",class:"gux-dropdown-button",accent:b(this.accent)},i("button",{key:"dd1b4db154fe120ef48b40a7439d008724e9bf6b",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:"813a6d0578618d67938429708808d442b303f65b",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),i("div",{key:"3baa84628c41bf1e8b297919ce1aea7db7b227e4",class:"gux-list-container",slot:"popup"},i("gux-list",{key:"0057461327491f1d9096c79be6cd1431db9cca73",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",{key:"f283ab8d08ffbd2c7615a516355ff633398f9548"})))))}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-CqFA-9uw.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:"0e5c3d87c1a8e9fac02a825a8336dc5164d6ffee"},s("slot",{key:"23a907d5929ea0102f222442d2c39be0d6bb641f",name:"tab-list"}),s("slot",{key:"9e3d33f96e6305a86f8e23c1febdf2d3f689f592",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}
@@ -0,0 +1 @@
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-CqFA-9uw.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:"3d1f2df2104800464589bb0cd8daa48c5c006353",role:"alert",class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("div",{key:"3641675acb3bf99bd8580a7288b03590d939013c",class:"gux-message-wrapper"},e("gux-icon",{key:"fbdadcdd5f58ab0a8d50c0e0c0efcf90a92622e6","icon-name":this.getIcon(this.accent),decorative:!0,size:"small"}),e("gux-screen-reader-beta",{key:"984c038533c9042f22b7222feae12782071bde61"},this.i18n(this.accent)),e("div",{key:"816930f37f09919b07d817dc1b96d658f5a71068",class:"gux-content"},e("slot",{key:"32ec1c52fa3da9c08346564574fe7ab5f2d2e07e",name:"content"},e("slot",{key:"0c2a79edc4c07d28b158a7977d048c819c310248"})))))}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}
@@ -0,0 +1 @@
1
+ import{r as s,h as t,H as a,a as e}from"./p-CjVJoR6g.js";import{l as o,n as r,f as c,p as i,b as n,a as l}from"./p-BebXX5IS.js";import{t as m}from"./p-m3Lae7sj.js";const p=["gux-list-item"],u=class{constructor(t){s(this,t)}componentWillLoad(){m(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),i(this.root,p);break;case"Home":s.preventDefault(),c(this.root,p);break;case"ArrowDown":s.preventDefault(),r(this.root,p);break;case"End":s.preventDefault(),o(this.root,p)}}async guxFocusFirstItem(){c(this.root,p)}async guxFocusItemById(s){n(this.root,p,s)}async guxFocusItemByClosestId(s){l(this.root,p,s)}async guxFocusLastItem(){o(this.root,p)}render(){return t(a,{key:"5a527fac514f95a9c88b31f86ea871055417cab3",tabindex:"-1",role:"list"},t("slot",{key:"c4b45d259bbf1e81cc8e42fd8bcb4bf405782c38"}))}get root(){return e(this)}};u.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{u as gux_list}
@@ -1 +1 @@
1
- import{r as t,h as o,H as e,a as n}from"./p-Dz_2h4jr.js";import{t as r}from"./p-CqFA-9uw.js";import{a}from"./p-DxtJDeL9.js";const i=class{constructor(o){t(this,o),this.accent="secondary"}validateSlotContent(){let t=this.root.children[0],o=t.tagName;if("SLOT"===o&&(t=t.assignedNodes()[0],o=t.tagName),"BUTTON"!==o){if("INPUT"===o){const o=t.getAttribute("type");if("button"===o||"submit"===o)return}a(this.root,'You must slot a button, input[type="button"] or input[type="submit"] element.')}}componentWillLoad(){r(this.root),this.validateSlotContent()}render(){return o(e,{key:"dd85e7b2e61d8a311d861faa2e56075fc7c81748",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"30d12e7075b5476c40bb4fa65910bd3cb0d079c7"}))}get root(){return n(this)}};i.style=":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-links-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}:host([accent=copilot]) ::slotted(input[type=button]),:host([accent=copilot]) ::slotted(input[type=submit]),:host([accent=copilot]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background:linear-gradient(64deg, var(--gse-ui-copilotButton-default-backgroundColor-bottomLeft) 5.51%, var(--gse-ui-copilotButton-default-backgroundColor-middle) 48.28%, var(--gse-ui-copilotButton-default-backgroundColor-topRight) 88.65%);border:none;box-shadow:var(--gse-ui-copilotButton-glow-default)}:host([accent=copilot]) ::slotted(input[type=button]:hover:enabled),:host([accent=copilot]) ::slotted(input[type=submit]:hover:enabled),:host([accent=copilot]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background:linear-gradient(54deg, var(--gse-ui-copilotButton-hover-backgroundColor-bottomLeft) 7.09%, var(--gse-ui-copilotButton-hover-backgroundColor-middle) 47.64%, var(--gse-ui-copilotButton-hover-backgroundColor-topRight) 103.51%);box-shadow:var(--gse-ui-copilotButton-glow-hover)}:host([accent=copilot]) ::slotted(input[type=button]:active:enabled),:host([accent=copilot]) ::slotted(input[type=submit]:active:enabled),:host([accent=copilot]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background:linear-gradient(54deg, var(--gse-ui-copilotButton-active-backgroundColor-bottomLeft) 7.17%, var(--gse-ui-copilotButton-active-backgroundColor-middle) 46.7%, var(--gse-ui-copilotButton-active-backgroundColor-topRight) 83.3%);box-shadow:var(--gse-ui-copilotButton-glow-active)}";export{i as gux_button_slot}
1
+ import{r as t,h as o,H as e,a as n}from"./p-CjVJoR6g.js";import{t as r}from"./p-m3Lae7sj.js";import{a}from"./p-DxtJDeL9.js";const i=class{constructor(o){t(this,o),this.accent="secondary"}validateSlotContent(){let t=this.root.children[0],o=t.tagName;if("SLOT"===o&&(t=t.assignedNodes()[0],o=t.tagName),"BUTTON"!==o){if("INPUT"===o){const o=t.getAttribute("type");if("button"===o||"submit"===o)return}a(this.root,'You must slot a button, input[type="button"] or input[type="submit"] element.')}}componentWillLoad(){r(this.root),this.validateSlotContent()}render(){return o(e,{key:"31ca4b09af9bb76bd9a4a15f7fd2ee9e640c759a",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"16ee328a47ab75d0d4ccecf70c57f373d83c3d92"}))}get root(){return n(this)}};i.style=":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-links-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}:host([accent=copilot]) ::slotted(input[type=button]),:host([accent=copilot]) ::slotted(input[type=submit]),:host([accent=copilot]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background:linear-gradient(64deg, var(--gse-ui-copilotButton-default-backgroundColor-bottomLeft) 5.51%, var(--gse-ui-copilotButton-default-backgroundColor-middle) 48.28%, var(--gse-ui-copilotButton-default-backgroundColor-topRight) 88.65%);border:none;box-shadow:var(--gse-ui-copilotButton-glow-default)}:host([accent=copilot]) ::slotted(input[type=button]:hover:enabled),:host([accent=copilot]) ::slotted(input[type=submit]:hover:enabled),:host([accent=copilot]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background:linear-gradient(54deg, var(--gse-ui-copilotButton-hover-backgroundColor-bottomLeft) 7.09%, var(--gse-ui-copilotButton-hover-backgroundColor-middle) 47.64%, var(--gse-ui-copilotButton-hover-backgroundColor-topRight) 103.51%);box-shadow:var(--gse-ui-copilotButton-glow-hover)}:host([accent=copilot]) ::slotted(input[type=button]:active:enabled),:host([accent=copilot]) ::slotted(input[type=submit]:active:enabled),:host([accent=copilot]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background:linear-gradient(54deg, var(--gse-ui-copilotButton-active-backgroundColor-bottomLeft) 7.17%, var(--gse-ui-copilotButton-active-backgroundColor-middle) 46.7%, var(--gse-ui-copilotButton-active-backgroundColor-topRight) 83.3%);box-shadow:var(--gse-ui-copilotButton-glow-active)}";export{i as gux_button_slot}