genesys-spark-components 4.186.0 → 4.186.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (596) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/{get-valid-timezone-CxcDLGWB.js → get-valid-timezone-wrCyyRlV.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-branch-multi.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-branch.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  23. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +3 -3
  30. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  33. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  39. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  40. package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
  41. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  43. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  45. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  46. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  48. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  49. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  50. package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
  51. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  54. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  55. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  56. package/dist/cjs/{gux-form-field-container-3csXa1_D.js → gux-form-field-container-C_ksnWvh.js} +1 -1
  57. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
  58. package/dist/cjs/{gux-form-field-error-Zis2K2ea.js → gux-form-field-error-DsQplUhW.js} +1 -1
  59. package/dist/cjs/{gux-form-field-fieldset-container-BcJCmFTG.js → gux-form-field-fieldset-container-DDS9BG7u.js} +1 -1
  60. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
  61. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  62. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  63. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  64. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
  65. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  66. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
  67. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  68. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  69. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  70. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  71. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  72. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  73. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  74. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
  75. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  82. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
  83. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  91. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-logo-beta.cjs.entry.js +3 -3
  93. package/dist/cjs/gux-logomark-beta.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  102. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  115. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  118. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  121. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-rating.cjs.entry.js +4 -4
  123. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  124. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
  125. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
  127. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
  128. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
  129. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  130. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
  131. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  133. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  136. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  137. package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  145. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  146. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  147. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  148. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  152. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  153. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  154. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  155. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  157. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  158. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  159. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  160. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  161. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  162. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  163. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
  164. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  165. package/dist/cjs/gux-table.cjs.entry.js +3 -3
  166. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  167. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  168. package/dist/cjs/gux-tag.cjs.entry.js +4 -4
  169. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  170. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  171. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  172. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  173. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  174. package/dist/cjs/gux-toast.cjs.entry.js +2 -2
  175. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  176. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  177. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  178. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  179. package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
  180. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  181. package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
  182. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
  183. package/dist/cjs/{gux-tree-multi.service-SP7ZA2lB.js → gux-tree-multi.service-BFBspBvZ.js} +1 -1
  184. package/dist/cjs/{gux-tree.service-w78yRmzF.js → gux-tree.service-DM6q_PoD.js} +1 -1
  185. package/dist/cjs/{index-Bfx8AGPj.js → index-C1LZ-Zd8.js} +1 -1
  186. package/dist/cjs/{index-C2XfGATp.js → index-CjUBUVCO.js} +1 -1
  187. package/dist/cjs/loader.cjs.js +1 -1
  188. package/dist/cjs/{on-click-outside-DSTNdYO6.js → on-click-outside-CXDzyPsA.js} +1 -1
  189. package/dist/cjs/{on-mutation-C-pkBYfu.js → on-mutation-Bpt2qL-s.js} +1 -1
  190. package/dist/cjs/{on-resize-CCaffmJ7.js → on-resize-nisbdZkE.js} +1 -1
  191. package/dist/cjs/{usage-CIw4kGaR.js → usage-o6I3mOuO.js} +1 -1
  192. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.css +8 -7
  193. package/dist/esm/genesys-webcomponents.js +2 -2
  194. package/dist/esm/{get-valid-timezone-CNkoPKdR.js → get-valid-timezone-LDHU1yLM.js} +1 -1
  195. package/dist/esm/gux-accordion-section.entry.js +1 -1
  196. package/dist/esm/gux-accordion.entry.js +2 -2
  197. package/dist/esm/gux-action-button.entry.js +4 -4
  198. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  199. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  200. package/dist/esm/gux-all-row-select.entry.js +2 -2
  201. package/dist/esm/gux-announce-beta.entry.js +2 -2
  202. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  203. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  204. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  205. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  206. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  207. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  208. package/dist/esm/gux-badge.entry.js +4 -4
  209. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  210. package/dist/esm/gux-blank-state.entry.js +3 -3
  211. package/dist/esm/gux-branch-multi.entry.js +2 -2
  212. package/dist/esm/gux-branch.entry.js +2 -2
  213. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  214. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  215. package/dist/esm/gux-button-multi.entry.js +3 -3
  216. package/dist/esm/gux-button-slot.entry.js +2 -2
  217. package/dist/esm/gux-button_2.entry.js +3 -3
  218. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  219. package/dist/esm/gux-calendar.entry.js +3 -3
  220. package/dist/esm/gux-card.entry.js +2 -2
  221. package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
  222. package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
  223. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  224. package/dist/esm/gux-column-manager.entry.js +3 -3
  225. package/dist/esm/gux-content-search.entry.js +3 -3
  226. package/dist/esm/gux-context-menu.entry.js +4 -4
  227. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  228. package/dist/esm/gux-create-option.entry.js +2 -2
  229. package/dist/esm/gux-cta-group.entry.js +1 -1
  230. package/dist/esm/gux-date-beta.entry.js +4 -4
  231. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  232. package/dist/esm/gux-datepicker.entry.js +4 -4
  233. package/dist/esm/gux-day-beta.entry.js +2 -2
  234. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  235. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  236. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  237. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  238. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  239. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  240. package/dist/esm/gux-file-list-item.entry.js +3 -3
  241. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  242. package/dist/esm/gux-flyout-menu.entry.js +4 -4
  243. package/dist/esm/gux-form-beta.entry.js +1 -1
  244. package/dist/esm/gux-form-description.entry.js +1 -1
  245. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  246. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  247. package/dist/esm/gux-form-field-color.entry.js +5 -5
  248. package/dist/esm/{gux-form-field-container-K-R4rXST.js → gux-form-field-container-Dp9t605U.js} +1 -1
  249. package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
  250. package/dist/esm/{gux-form-field-error-DO0r_oNt.js → gux-form-field-error-CUxY2-XD.js} +1 -1
  251. package/dist/esm/{gux-form-field-fieldset-container-DAmLNsF9.js → gux-form-field-fieldset-container-BT88yCp7.js} +1 -1
  252. package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
  253. package/dist/esm/gux-form-field-file.entry.js +5 -5
  254. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  255. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  256. package/dist/esm/gux-form-field-number_2.entry.js +7 -7
  257. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  258. package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
  259. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  260. package/dist/esm/gux-form-field-range.entry.js +6 -6
  261. package/dist/esm/gux-form-field-search.entry.js +5 -5
  262. package/dist/esm/gux-form-field-select.entry.js +5 -5
  263. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  264. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  265. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  266. package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
  267. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  268. package/dist/esm/gux-form-footer.entry.js +2 -2
  269. package/dist/esm/gux-form-heading.entry.js +1 -1
  270. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  271. package/dist/esm/gux-icon.entry.js +2 -2
  272. package/dist/esm/gux-illustration-beta.entry.js +2 -2
  273. package/dist/esm/gux-inline-alert.entry.js +3 -3
  274. package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
  275. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  276. package/dist/esm/gux-leaf-multi.entry.js +2 -2
  277. package/dist/esm/gux-leaf.entry.js +2 -2
  278. package/dist/esm/gux-link-beta.entry.js +2 -2
  279. package/dist/esm/gux-list-divider.entry.js +1 -1
  280. package/dist/esm/gux-list-item.entry.js +1 -1
  281. package/dist/esm/gux-list.entry.js +2 -2
  282. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  283. package/dist/esm/gux-loading-message.entry.js +2 -2
  284. package/dist/esm/gux-logo-beta.entry.js +3 -3
  285. package/dist/esm/gux-logomark-beta.entry.js +3 -3
  286. package/dist/esm/gux-menu-option.entry.js +1 -1
  287. package/dist/esm/gux-menu.entry.js +1 -1
  288. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  289. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  290. package/dist/esm/gux-modal.entry.js +2 -2
  291. package/dist/esm/gux-month-calendar.entry.js +2 -2
  292. package/dist/esm/gux-month-list_2.entry.js +1 -1
  293. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  294. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  295. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  296. package/dist/esm/gux-option-icon.entry.js +1 -1
  297. package/dist/esm/gux-option-multi.entry.js +2 -2
  298. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  299. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  300. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  301. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  302. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  303. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  304. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  305. package/dist/esm/gux-pagination.entry.js +2 -2
  306. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  307. package/dist/esm/gux-popover-beta.entry.js +3 -3
  308. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  309. package/dist/esm/gux-popover-list.entry.js +3 -3
  310. package/dist/esm/gux-popup.entry.js +1 -1
  311. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  312. package/dist/esm/gux-radial-loading.entry.js +3 -3
  313. package/dist/esm/gux-radial-progress.entry.js +2 -2
  314. package/dist/esm/gux-rating.entry.js +4 -4
  315. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  316. package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
  317. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  318. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  319. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  320. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  321. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  322. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  323. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  324. package/dist/esm/gux-row-select.entry.js +2 -2
  325. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  326. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  327. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  328. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  329. package/dist/esm/gux-select-all.entry.js +2 -2
  330. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  331. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  332. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  333. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  334. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  335. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  336. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  337. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  338. package/dist/esm/gux-sort-control.entry.js +3 -3
  339. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  340. package/dist/esm/gux-step-title.entry.js +2 -2
  341. package/dist/esm/gux-step.entry.js +2 -2
  342. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  343. package/dist/esm/gux-submenu.entry.js +1 -1
  344. package/dist/esm/gux-switch-item.entry.js +1 -1
  345. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  346. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  347. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  348. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  349. package/dist/esm/gux-tab-list.entry.js +3 -3
  350. package/dist/esm/gux-tab-panel.entry.js +1 -1
  351. package/dist/esm/gux-tab.entry.js +1 -1
  352. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  353. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  354. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  355. package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
  356. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  357. package/dist/esm/gux-table.entry.js +3 -3
  358. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  359. package/dist/esm/gux-tabs.entry.js +2 -2
  360. package/dist/esm/gux-tag.entry.js +4 -4
  361. package/dist/esm/gux-text-highlight.entry.js +2 -2
  362. package/dist/esm/gux-time-beta.entry.js +4 -4
  363. package/dist/esm/gux-time-picker.entry.js +4 -4
  364. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  365. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  366. package/dist/esm/gux-toast.entry.js +2 -2
  367. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  368. package/dist/esm/gux-toggle.entry.js +3 -3
  369. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  370. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  371. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  372. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  373. package/dist/esm/gux-tree-beta.entry.js +3 -3
  374. package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
  375. package/dist/esm/{gux-tree-multi.service-rN4u4zJA.js → gux-tree-multi.service-BLZ1mRfa.js} +1 -1
  376. package/dist/esm/{gux-tree.service-g_oSRmLT.js → gux-tree.service-BDeQhvUY.js} +1 -1
  377. package/dist/esm/{index-T5mO569D.js → index-BcJFUYIV.js} +1 -1
  378. package/dist/esm/{index-Dz_2h4jr.js → index-CjVJoR6g.js} +1 -1
  379. package/dist/esm/loader.js +2 -2
  380. package/dist/esm/{on-click-outside-R32NST4z.js → on-click-outside-CQ9-ZPII.js} +1 -1
  381. package/dist/esm/{on-mutation-DfF7Bpf8.js → on-mutation-CEhI74kI.js} +1 -1
  382. package/dist/esm/{on-resize-CZO-3VCx.js → on-resize-BzUqKdDk.js} +1 -1
  383. package/dist/esm/{usage-P-hdUE3M.js → usage-m3Lae7sj.js} +1 -1
  384. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  385. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  386. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  387. package/dist/genesys-webcomponents/{p-5e36e00c.entry.js → p-017cb9d5.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-63fc23b7.entry.js → p-056a7c6b.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-0f906c83.entry.js → p-083804b1.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-e1c5a946.entry.js → p-099f666a.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-ae7f9a42.entry.js → p-0b052d60.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-44d918a8.entry.js → p-0b24178e.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-8d17c505.entry.js → p-0cd588f1.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-3f740896.entry.js → p-0d4c3b8f.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-1d8461af.entry.js → p-11837668.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-8b00a8b1.entry.js → p-135367e9.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-250e46d5.entry.js → p-139620e1.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-d5df8246.entry.js → p-13ac38be.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-83c72397.entry.js → p-150a39e6.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-fdc40086.entry.js → p-154def26.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-10c4aba5.entry.js → p-16b176e0.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-2b21f5b0.entry.js → p-19aae774.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-878fb957.entry.js → p-1d3c2d91.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-efd89c57.entry.js → p-1f64bf9d.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-f6be54af.entry.js → p-1fa2732f.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-8bfe887d.entry.js → p-21d62416.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/p-23ae550d.entry.js +1 -0
  408. package/dist/genesys-webcomponents/p-25b9ab49.entry.js +1 -0
  409. package/dist/genesys-webcomponents/{p-59691ec8.entry.js → p-25fd3256.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-1eb0e7e1.entry.js → p-26332854.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-5e688f82.entry.js → p-26ae37e2.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-e324984d.entry.js → p-27917cd5.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-181db322.entry.js → p-285ee4a0.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-d80ed019.entry.js → p-28bb190c.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-840e5e72.entry.js → p-2afa3fa3.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-b011264f.entry.js → p-2d4c4294.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/p-2eeb7b23.entry.js +1 -0
  418. package/dist/genesys-webcomponents/{p-e51be612.entry.js → p-324d6857.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-4378ea79.entry.js → p-32e6acb8.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-22774ede.entry.js → p-34fdea73.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-5e2583d3.entry.js → p-351b23d4.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-c7674d3e.entry.js → p-35a486e5.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-88fe97ab.entry.js → p-38f5b4f6.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-952f83d8.entry.js → p-39260f95.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-a2d4d3ba.entry.js → p-3cd17631.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-b7ded211.entry.js → p-3da05df8.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-f09ea52d.entry.js → p-3e99d726.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-25b54535.entry.js → p-3eba96cc.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-95c9d6e5.entry.js → p-42a37e44.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/p-45586ff0.entry.js +1 -0
  431. package/dist/genesys-webcomponents/{p-2eba7fa7.entry.js → p-467b440a.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-46122325.entry.js → p-46a34101.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-94dec58d.entry.js → p-48ca42f5.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/p-48de3ff3.entry.js +1 -0
  435. package/dist/genesys-webcomponents/{p-bc87db5c.entry.js → p-49ee0c6f.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-d91b4089.entry.js → p-4a7ea7e8.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-a9ae1a36.entry.js → p-4ad8978f.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-0bacc1c0.entry.js → p-4b45cd72.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-d638b856.entry.js → p-4f2bbd47.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-233754d3.entry.js → p-514148f5.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-08f65ffb.entry.js → p-52373db0.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-f92de177.entry.js → p-53e22ff1.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-a5da5222.entry.js → p-541fb3fb.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-38ca0c04.entry.js → p-556113ac.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-40a8659f.entry.js → p-5725af26.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-ba631fa5.entry.js → p-57f2d1dc.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-4e86d6b0.entry.js → p-5800a64c.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-80ac162c.entry.js → p-5942b0f1.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-cf6f951b.entry.js → p-59895996.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-DrJn2EIj.js → p-5GSd1tCA.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-3885a340.entry.js → p-5ac0a470.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-1b993de4.entry.js → p-5b40c6e6.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-a0c70c7d.entry.js → p-5cf1b2ba.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-761dfdfc.entry.js → p-5cf81958.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/p-5e48e9fb.entry.js +1 -0
  456. package/dist/genesys-webcomponents/{p-0a45b162.entry.js → p-60011440.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-a28fb4d6.entry.js → p-6041e65b.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-2d1decba.entry.js → p-6143b5da.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-7b9ee43c.entry.js → p-68dec694.entry.js} +2 -2
  460. package/dist/genesys-webcomponents/{p-10bc670e.entry.js → p-6a47bd85.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-084d7985.entry.js → p-6d83742a.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-44fccf34.entry.js → p-6f9cfe1b.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-ce75d98e.entry.js → p-7091f5b2.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-68c4c1f6.entry.js → p-70999d68.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-f9ad0cfb.entry.js → p-7122ffc2.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-8b77906f.entry.js → p-73082b46.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-ce7e92de.entry.js → p-7467d78b.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-d57f4f0f.entry.js → p-7869bfd9.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-8fe5946c.entry.js → p-7b70f2df.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-eace50ae.entry.js → p-7ee9b69d.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-416badb7.entry.js → p-7f602357.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-d71e1784.entry.js → p-8033fd0b.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-72cae5e3.entry.js → p-84f88012.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-7c225701.entry.js → p-863302cc.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-5a2afb00.entry.js → p-8a13909f.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-5df2e379.entry.js → p-8b78c6e6.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-52bf984a.entry.js → p-8e9f07a4.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-a96b217c.entry.js → p-8f4e6f19.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-9921a228.entry.js → p-8ff107e5.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/p-908be904.entry.js +1 -0
  481. package/dist/genesys-webcomponents/p-908ebad2.entry.js +1 -0
  482. package/dist/genesys-webcomponents/{p-c321b784.entry.js → p-91abcf19.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-2ba9827a.entry.js → p-941d403f.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-8125094f.entry.js → p-9445c461.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-8da560e6.entry.js → p-9579eeaa.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-d6909cfa.entry.js → p-95aa1974.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-9f072d6e.entry.js → p-95f7a089.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-cf2837df.entry.js → p-96154710.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-2c7f70e8.entry.js → p-994e4f51.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-dd96e223.entry.js → p-9a3086e6.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-aa8035f2.entry.js → p-9a59a9ca.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-edaea90f.entry.js → p-9a739818.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-d323c56f.entry.js → p-9d0d3fa8.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-8388d345.entry.js → p-9d22b1ee.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-e7fbc88d.entry.js → p-9f983574.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-14def48a.entry.js → p-9fa06bad.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-1K6Bdrw6.js → p-BS-Yw6fq.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-Ct81NxWr.js → p-BvVMx5eW.js} +1 -1
  499. package/dist/genesys-webcomponents/p-CjVJoR6g.js +2 -0
  500. package/dist/genesys-webcomponents/p-CuKTBQuB.js +1 -0
  501. package/dist/genesys-webcomponents/{p-DmaAM9UB.js → p-D1QZQXQN.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-DVjNN8WO.js → p-DTOY_vUZ.js} +1 -1
  503. package/dist/genesys-webcomponents/p-DaK6PJIg.js +1 -0
  504. package/dist/genesys-webcomponents/{p-Mjv14MGU.js → p-DcL3bWH_.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-3ef8c2ee.entry.js → p-a02a5f08.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-12879f8e.entry.js → p-a352dd2e.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-4cc59941.entry.js → p-a466db49.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-6750f1bd.entry.js → p-a619a0ff.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-8d2c4040.entry.js → p-a8143e2c.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-5f013968.entry.js → p-aaae46b8.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-50a70b04.entry.js → p-aab878b2.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-ee3875eb.entry.js → p-aede3166.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-2e560175.entry.js → p-b0d02114.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-5adef61c.entry.js → p-b12a8508.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-21925e45.entry.js → p-b21ed8c2.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-1ed1d90f.entry.js → p-b2334e35.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-355c6058.entry.js → p-b5a01b48.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/p-b5b441a3.entry.js +1 -0
  519. package/dist/genesys-webcomponents/p-b6f2fc11.entry.js +1 -0
  520. package/dist/genesys-webcomponents/{p-22fc8bc7.entry.js → p-b823a092.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/p-b90aef76.entry.js +1 -0
  522. package/dist/genesys-webcomponents/{p-70039747.entry.js → p-bd8741a3.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-f63d28a3.entry.js → p-be9f6a45.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-9c805410.entry.js → p-bf044a81.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-bd7562f2.entry.js → p-bf7dad16.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/p-c05f9f33.entry.js +1 -0
  527. package/dist/genesys-webcomponents/{p-e2c96d2c.entry.js → p-c1eb882e.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-2ca52d1d.entry.js → p-c8c0a498.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-ca3e3fbb.entry.js → p-c905638c.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-c691ee28.entry.js → p-c961265f.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-10438489.entry.js → p-cae633ff.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-4a67abbc.entry.js → p-cb4791a1.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/p-cbfda3ac.entry.js +1 -0
  534. package/dist/genesys-webcomponents/{p-e19f8f0f.entry.js → p-cd9a57b8.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-e165bcea.entry.js → p-ceb683a7.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-bb4bdcbe.entry.js → p-cf412061.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-586b74de.entry.js → p-d4cf29da.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-d28c5369.entry.js → p-d5c18713.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/p-d5e4a275.entry.js +1 -0
  540. package/dist/genesys-webcomponents/{p-0b8494e4.entry.js → p-d895c2d4.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-0e62a28a.entry.js → p-d8cbd44a.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-14e56a8a.entry.js → p-da5bf7b1.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-1567ea4b.entry.js → p-dad081b0.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-e53bba61.entry.js → p-daff771e.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-98887eea.entry.js → p-dfca7776.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-72efcee2.entry.js → p-e0314387.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-86e60f03.entry.js → p-e181a441.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-0a9b5aa9.entry.js → p-e1b2080a.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-ae35a482.entry.js → p-e1fe1a06.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-87e71f17.entry.js → p-e4a44c7d.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-62d5a576.entry.js → p-e77358d8.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-c86f2a82.entry.js → p-e7841f8f.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-34c49dae.entry.js → p-e84d3b25.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-be4dfcc9.entry.js → p-e8541175.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-73bc81ae.entry.js → p-e96fa35a.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-3c3be6b2.entry.js → p-e9973aeb.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-7c04a9a6.entry.js → p-ec5d01d6.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-0ab0a627.entry.js → p-ed882ba0.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-71bfc382.entry.js → p-eeaf3569.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-406efc68.entry.js → p-ef9c62f0.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-c619ecb1.entry.js → p-f19811e6.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-d951d08a.entry.js → p-f21766df.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-79dfd7bf.entry.js → p-f39ca032.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-8a79bc83.entry.js → p-f46d7dc9.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/p-f480585b.entry.js +1 -0
  566. package/dist/genesys-webcomponents/{p-1aefd34b.entry.js → p-f59113f5.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-7f80b420.entry.js → p-f68b47d9.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-59f93cf5.entry.js → p-f6ecef3e.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-b0f65767.entry.js → p-fa3dd755.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-f308e9ad.entry.js → p-fb37efda.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-b88e7f69.entry.js → p-fcd6e603.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-c7212fc2.entry.js → p-fcdc8ed7.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-CkugK5PE.js → p-hPZIPnvb.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-JPhxXbs4.js → p-kyGdOoF4.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-P-hdUE3M.js → p-m3Lae7sj.js} +1 -1
  576. package/dist/stencil-wrapper.js +1 -1
  577. package/dist/types/stencil-wrapper.d.ts +1 -1
  578. package/package.json +1 -1
  579. package/dist/genesys-webcomponents/p-02406da9.entry.js +0 -1
  580. package/dist/genesys-webcomponents/p-07276a2e.entry.js +0 -1
  581. package/dist/genesys-webcomponents/p-07e854e0.entry.js +0 -1
  582. package/dist/genesys-webcomponents/p-0yc9CKxX.js +0 -1
  583. package/dist/genesys-webcomponents/p-13121646.entry.js +0 -1
  584. package/dist/genesys-webcomponents/p-20f953d3.entry.js +0 -1
  585. package/dist/genesys-webcomponents/p-37fc8995.entry.js +0 -1
  586. package/dist/genesys-webcomponents/p-42cb5452.entry.js +0 -1
  587. package/dist/genesys-webcomponents/p-42fd437b.entry.js +0 -1
  588. package/dist/genesys-webcomponents/p-46ad732d.entry.js +0 -1
  589. package/dist/genesys-webcomponents/p-527f7a1a.entry.js +0 -1
  590. package/dist/genesys-webcomponents/p-5a7fcba4.entry.js +0 -1
  591. package/dist/genesys-webcomponents/p-78797c2a.entry.js +0 -1
  592. package/dist/genesys-webcomponents/p-C-1lAIfW.js +0 -1
  593. package/dist/genesys-webcomponents/p-Dz_2h4jr.js +0 -2
  594. package/dist/genesys-webcomponents/p-bff08f71.entry.js +0 -1
  595. package/dist/genesys-webcomponents/p-cb2f68ed.entry.js +0 -1
  596. package/dist/genesys-webcomponents/p-e479e4d9.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,f as t,h as o,a as i}from"./p-Dz_2h4jr.js";import{c as r,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 p}from"./p-JPhxXbs4.js";import{G as d,a as h}from"./p-C-1lAIfW.js";import{h as g,s as c,c as x,g as m,v as b,a as v}from"./p-DHLxhscH.js";import{t as C}from"./p-P-hdUE3M.js";import{f as y}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const k=class{constructor(t){e(this,t),this.loading=!1,this.indicatorMark="required",this.computedLabelPosition="above",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 t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.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===(o=this.labelInfo)||void 0===o||o.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"),t(this.root)}renderRadialLoading(){if(this.loading)return o("div",{role:"status"},o("gux-radial-loading",{context:"input"}))}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"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{key:"3c62db2addf2fb4d2d5be8dc3e51d4385a618b4c",labelPosition:this.computedLabelPosition},o(d,{key:"997b62cf46227fa695e8a93af07e6f3d3b510680",required:this.required,position:this.computedLabelPosition},o("slot",{key:"1bb7da1969e42ec527c5895e97581308dc25e3e4",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"645502cbb48a7c5127ac0e0575631a30a456bb45",variant:this.indicatorMark,required:this.required}),o("slot",{key:"9b96929ef963b2b965d1c4e0905b914fc56f241f",name:"label-info"})),o("div",{key:"e30f3b623011037ee9fe78c41a8ff178a112470f",class:"gux-input-and-error-container"},o("div",{key:"0f37f77962bcaf5ecdda78a98a9d3d0d2354307a",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"83e415a576eefdc52ea982168b0ba4bb525a2640",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>y(this.input)},o("slot",{key:"b5b3e7ed43c62346d62fae820488bbd220f21c78",name:"prefix"}),o("slot",{key:"b863ade92899094495a12faa0cb978e5e82aa629",name:"input"}),this.renderRadialLoading(),o("slot",{key:"7381412da44e249055eb87962e8df615ef8a2f9d",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"43310be87e705154229229ba19587faa4705a1ce",onClick:()=>x(this.input)}))),o(f,{key:"d92e5a18ab41c974eda35a40351e7b93a91bc226",show:this.hasError},o("slot",{key:"698ea30abfd156114594669cbf62aac2f0dc7b14",name:"error"})),o(p,{key:"b9b4a0deefe1c4cdb056fc713fb873577e487636",show:!this.hasError&&this.hasHelp},o("slot",{key:"e710981660c84dda0a1a99b13943f15817175dc6",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=m(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=r(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=v(this.label,this.labelPosition)}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(l=(n<3?r(l):n>3?r(t,o,l):r(t,o))||l);n>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.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}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;white-space:nowrap;text-decoration:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;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-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.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: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{k as gux_form_field_text_like}
1
+ import{r as e,f as t,h as o,a as i}from"./p-CjVJoR6g.js";import{c as r,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 p}from"./p-kyGdOoF4.js";import{G as d,a as h}from"./p-CuKTBQuB.js";import{h as g,s as c,c as x,g as m,v as b,a as v}from"./p-DHLxhscH.js";import{t as C}from"./p-m3Lae7sj.js";import{f as y}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const k=class{constructor(t){e(this,t),this.loading=!1,this.indicatorMark="required",this.computedLabelPosition="above",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 t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.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===(o=this.labelInfo)||void 0===o||o.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"),t(this.root)}renderRadialLoading(){if(this.loading)return o("div",{role:"status"},o("gux-radial-loading",{context:"input"}))}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"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{key:"3c62db2addf2fb4d2d5be8dc3e51d4385a618b4c",labelPosition:this.computedLabelPosition},o(d,{key:"997b62cf46227fa695e8a93af07e6f3d3b510680",required:this.required,position:this.computedLabelPosition},o("slot",{key:"1bb7da1969e42ec527c5895e97581308dc25e3e4",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"645502cbb48a7c5127ac0e0575631a30a456bb45",variant:this.indicatorMark,required:this.required}),o("slot",{key:"9b96929ef963b2b965d1c4e0905b914fc56f241f",name:"label-info"})),o("div",{key:"e30f3b623011037ee9fe78c41a8ff178a112470f",class:"gux-input-and-error-container"},o("div",{key:"0f37f77962bcaf5ecdda78a98a9d3d0d2354307a",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"83e415a576eefdc52ea982168b0ba4bb525a2640",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>y(this.input)},o("slot",{key:"b5b3e7ed43c62346d62fae820488bbd220f21c78",name:"prefix"}),o("slot",{key:"b863ade92899094495a12faa0cb978e5e82aa629",name:"input"}),this.renderRadialLoading(),o("slot",{key:"7381412da44e249055eb87962e8df615ef8a2f9d",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"43310be87e705154229229ba19587faa4705a1ce",onClick:()=>x(this.input)}))),o(f,{key:"d92e5a18ab41c974eda35a40351e7b93a91bc226",show:this.hasError},o("slot",{key:"698ea30abfd156114594669cbf62aac2f0dc7b14",name:"error"})),o(p,{key:"b9b4a0deefe1c4cdb056fc713fb873577e487636",show:!this.hasError&&this.hasHelp},o("slot",{key:"e710981660c84dda0a1a99b13943f15817175dc6",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=m(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=r(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=v(this.label,this.labelPosition)}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(l=(n<3?r(l):n>3?r(t,o,l):r(t,o))||l);n>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.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}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;white-space:nowrap;text-decoration:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;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-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.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: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{k as gux_form_field_text_like}
@@ -1 +1 @@
1
- import{r as o,c as a,h as t,a as e}from"./p-Dz_2h4jr.js";import{b as g}from"./p-DmaAM9UB.js";import{t as r}from"./p-P-hdUE3M.js";import{O as u}from"./p-0yc9CKxX.js";import"./p-Cd4R0amv.js";var c={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"};const l=class{constructor(t){o(this,t),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold"}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onMutation(){const o=this.root.textContent.trim();this.label!==o&&(this.label=o)}onSlotChange(o){const a=o.composedPath()[0].assignedNodes();this.label=a.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return t("gux-tooltip-title",null,t("span",null,t("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return t("gux-screen-reader-beta",null,this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return t("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},t("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular",decorative:!0}),t("gux-screen-reader-beta",null,this.i18n("remove-tag",{label:this.label})))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,c)}render(){return t("div",{key:"a164107bdca07f9aa576eec1900a17f4c9b9cbc3",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};(function(o,a,t,e){var g,r=arguments.length,u=r<3?a:null===e?e=Object.getOwnPropertyDescriptor(a,t):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(o,a,t,e);else for(var c=o.length-1;c>=0;c--)(g=o[c])&&(u=(r<3?g(u):r>3?g(a,t,u):g(a,t))||u);r>3&&u&&Object.defineProperty(a,t,u)})([u({childList:!0,subtree:!0,characterData:!0})],l.prototype,"onMutation",null),l.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-size-large .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline-offset:10px}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:5px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{l as gux_tag}
1
+ import{r as o,c as a,h as t,a as e}from"./p-CjVJoR6g.js";import{b as g}from"./p-D1QZQXQN.js";import{t as r}from"./p-m3Lae7sj.js";import{O as u}from"./p-DaK6PJIg.js";import"./p-Cd4R0amv.js";var c={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"};const l=class{constructor(t){o(this,t),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold"}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onMutation(){const o=this.root.textContent.trim();this.label!==o&&(this.label=o)}onSlotChange(o){const a=o.composedPath()[0].assignedNodes();this.label=a.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return t("gux-tooltip-title",null,t("span",null,t("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return t("gux-screen-reader-beta",null,this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return t("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},t("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular",decorative:!0}),t("gux-screen-reader-beta",null,this.i18n("remove-tag",{label:this.label})))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,c)}render(){return t("div",{key:"a164107bdca07f9aa576eec1900a17f4c9b9cbc3",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};(function(o,a,t,e){var g,r=arguments.length,u=r<3?a:null===e?e=Object.getOwnPropertyDescriptor(a,t):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(o,a,t,e);else for(var c=o.length-1;c>=0;c--)(g=o[c])&&(u=(r<3?g(u):r>3?g(a,t,u):g(a,t))||u);r>3&&u&&Object.defineProperty(a,t,u)})([u({childList:!0,subtree:!0,characterData:!0})],l.prototype,"onMutation",null),l.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-size-large .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline-offset:10px}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:5px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{l as gux_tag}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a as o}from"./p-Dz_2h4jr.js";import{t as s}from"./p-P-hdUE3M.js";import{g as n}from"./p-Cd4R0amv.js";import{b as a}from"./p-DmaAM9UB.js";import{t as r}from"./p-DN3YAdAX.js";import{O as u}from"./p-Ct81NxWr.js";import{b as l}from"./p-Bg4q97BS.js";import{w as c}from"./p-kLXvN2m9.js";import{h as d}from"./p-wqCHc7t7.js";import{a as b,c as h,o as g,f,s as p}from"./p-C8aV-TzO.js";import{n as m,p as v}from"./p-BebXX5IS.js";import"./p-DCZG2J0G.js";const x=class{constructor(t){e(this,t),this.disabled=!1}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const e=n("gux-rich-text-editor-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus({preventScroll:!0}))}componentWillLoad(){s(this.root)}render(){return t(i,{key:"25d4347499b9715747d5c116092ce27c2b589ff4",role:"listitem"},t("button",{key:"7c755ff897f2783787b8f3f08f47ab064735d5e1",type:"button",tabIndex:-1,disabled:this.disabled},t("gux-truncate",{key:"6a1ce0fdd0ad442b75a5f117b3bd397ece3fa8e3","max-lines":1},t("slot",{key:"6b48cb49b70d59d163474c7f8a59ef406b052241"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};x.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;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;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){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);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button: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);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}";const k=class{constructor(t){e(this,t),this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(e){const t=e.composedPath().includes(this.listElement),i=e.composedPath().includes(this.button);switch(e.key){case"Escape":t&&(e.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(e){" "===e.key&&e.composedPath().includes(this.button)&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){l((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){l((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.isOpen=!this.isOpen,this.isOpen&&this.focusFirstListItem()}onListClick(e){c("gux-rich-style-list-item",e,(()=>{this.isOpen=!1,this.button.focus()}))}renderTooltip(){return t("gux-tooltip-beta",null,t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){s(this.root),this.i18n=await a(this.root,r)}render(){return t(i,{key:"51d764cc48010d4f4e662926012216626be9bd63"},t("gux-popup",{key:"4c3a2ee673491a5e64699fa3bd5a70a129b477a8",expanded:this.isOpen,offset:4,"exceed-target-width":!0},t("div",{key:"45decb494e5fe6e320748b32e75da62c93230705",slot:"target"},t("gux-button-slot",{key:"768f432b0830c2322a808e4a42c29861cebdec30",accent:"ghost"},t("button",{key:"526c34ea643d55df4325a30a56102a0a5fa734b1",type:"button",onClick:()=>this.onActionClick(),ref:e=>this.button=e,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:d(this.root)},t("gux-icon",{key:"e115e20d7a782e1a7ca8b91c468aee62d5af87cc","icon-name":"fa/ellipsis-vertical-regular",decorative:!0,size:"small"}),t("gux-screen-reader-beta",{key:"8bf358640723d267a6fe4eec3bc066aaa3fd49e2"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"a1787a7cf2391fb167b49bbdea03248f9d04b268",slot:"popup",class:"gux-list-container"},t("gux-rich-text-editor-list",{key:"09aea25cd4063d889aa62239ff08630e49b261b7",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"8577801422d1ea85f4e3592a2bc1b2a8a726a9bc"})))))}static get delegatesFocus(){return!0}get root(){return o(this)}};(function(e,t,i,o){var s,n=arguments.length,a=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(n<3?s(a):n>3?s(t,i,a):s(t,i))||a);n>3&&a&&Object.defineProperty(t,i,a)})([u({triggerEvents:"click"})],k.prototype,"onClickOutside",null),k.style=":host{display:block;max-inline-size:fit-content;white-space:normal}button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-list-container{inline-size:var(--gse-ui-contextMenu-menu-width);max-block-size:var(--gse-ui-contextMenu-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)}";const y=class{constructor(t){e(this,t),this.isShown=!1}onKeydown(e){switch(e.key){case"Enter":e.stopPropagation(),this.focusOnSubList();break;case"ArrowUp":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),v(this.root,["gux-rich-style-list-item"]));break;case"ArrowDown":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),m(this.root,["gux-rich-style-list-item"]));break;case"ArrowRight":e.stopPropagation(),this.show(),this.focusOnSubList();break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.buttonElement.focus()}}onMouseEnter(){this.show()}onMouseLeave(){this.hide()}onClick(e){"GUX-RICH-STYLE-LIST-ITEM"!==e.target.nodeName||this.hide()}onFocusIn(){this.show()}onFocusOut(){this.hide()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}focusOnSubList(){this.subListContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].focus()}show(){this.isShown=!0}hide(){this.isShown&&(this.isShown=!1)}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=b(this.buttonElement,this.subListElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.subListElement&&h(this.buttonElement,this.subListElement,{placement:"right-start",strategy:"fixed",middleware:[g(4),f(),p()]}).then((({x:e,y:t})=>{Object.assign(this.subListElement.style,{left:`${e}px`,top:`${t}px`})}))}render(){return t(i,{key:"e799039c1f54c7fb084fb5c2b093803328acf969"},t("button",{key:"b95de16ee62bded43a42ce6c4aee285c6005f8c2",type:"button",class:{"gux-sub-list-button":!0,"gux-sub-list-button-active":this.isShown},tabIndex:-1,role:"listitem",ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},t("span",{key:"b464bb0cfc33ee68c73bd1e8893c3ad418c654db",class:"gux-sub-list-button-text"},this.label),t("gux-icon",{key:"b387c3e8887f33740b4497821bc473b40803e5f7",size:"small","icon-name":"custom/chevron-right-small-regular",decorative:!0})),t("div",{key:"12bac188af6f749b9b011e856974e70ee1a11b2f",ref:e=>this.subListElement=e,class:{"gux-sub-list-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"ccc252da7fab47c5ef57cbb86ecf7c1e4b1deb40",role:"list",class:"gux-sub-list-content",ref:e=>this.subListContentElement=e},t("slot",{key:"1ee391f65c287b3e4548918b716217c950b7cd4d"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};y.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;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;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){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);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button: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);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}button.gux-sub-list-button{display:flex;flex-direction:row;justify-content:space-between}button gux-icon{align-self:center;color:var(--gse-ui-menu-option-parentIcon-selected-foregroundColor)}.gux-sub-list-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;visibility:hidden;flex-direction:column;inline-size:130px;padding:var(--gse-ui-menu-padding);margin:0;background-color:var(--gse-ui-menu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-sub-list-wrapper.gux-shown{visibility:visible}";export{x as gux_rich_style_list_item,k as gux_rich_text_editor_menu,y as gux_rich_text_editor_sub_list}
1
+ import{r as e,h as t,H as i,a as o}from"./p-CjVJoR6g.js";import{t as s}from"./p-m3Lae7sj.js";import{g as n}from"./p-Cd4R0amv.js";import{b as a}from"./p-D1QZQXQN.js";import{t as r}from"./p-DN3YAdAX.js";import{O as u}from"./p-BvVMx5eW.js";import{b as l}from"./p-Bg4q97BS.js";import{w as c}from"./p-kLXvN2m9.js";import{h as d}from"./p-wqCHc7t7.js";import{a as b,c as g,o as h,f,s as p}from"./p-C8aV-TzO.js";import{n as m,p as v}from"./p-BebXX5IS.js";import"./p-DCZG2J0G.js";const x=class{constructor(t){e(this,t),this.disabled=!1}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const e=n("gux-rich-text-editor-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus({preventScroll:!0}))}componentWillLoad(){s(this.root)}render(){return t(i,{key:"25d4347499b9715747d5c116092ce27c2b589ff4",role:"listitem"},t("button",{key:"7c755ff897f2783787b8f3f08f47ab064735d5e1",type:"button",tabIndex:-1,disabled:this.disabled},t("gux-truncate",{key:"6a1ce0fdd0ad442b75a5f117b3bd397ece3fa8e3","max-lines":1},t("slot",{key:"6b48cb49b70d59d163474c7f8a59ef406b052241"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};x.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;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;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){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);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button: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);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}";const k=class{constructor(t){e(this,t),this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(e){const t=e.composedPath().includes(this.listElement),i=e.composedPath().includes(this.button);switch(e.key){case"Escape":t&&(e.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(e){" "===e.key&&e.composedPath().includes(this.button)&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){l((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){l((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.isOpen=!this.isOpen,this.isOpen&&this.focusFirstListItem()}onListClick(e){c("gux-rich-style-list-item",e,(()=>{this.isOpen=!1,this.button.focus()}))}renderTooltip(){return t("gux-tooltip-beta",null,t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){s(this.root),this.i18n=await a(this.root,r)}render(){return t(i,{key:"51d764cc48010d4f4e662926012216626be9bd63"},t("gux-popup",{key:"4c3a2ee673491a5e64699fa3bd5a70a129b477a8",expanded:this.isOpen,offset:4,"exceed-target-width":!0},t("div",{key:"45decb494e5fe6e320748b32e75da62c93230705",slot:"target"},t("gux-button-slot",{key:"768f432b0830c2322a808e4a42c29861cebdec30",accent:"ghost"},t("button",{key:"526c34ea643d55df4325a30a56102a0a5fa734b1",type:"button",onClick:()=>this.onActionClick(),ref:e=>this.button=e,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:d(this.root)},t("gux-icon",{key:"e115e20d7a782e1a7ca8b91c468aee62d5af87cc","icon-name":"fa/ellipsis-vertical-regular",decorative:!0,size:"small"}),t("gux-screen-reader-beta",{key:"8bf358640723d267a6fe4eec3bc066aaa3fd49e2"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"a1787a7cf2391fb167b49bbdea03248f9d04b268",slot:"popup",class:"gux-list-container"},t("gux-rich-text-editor-list",{key:"09aea25cd4063d889aa62239ff08630e49b261b7",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"8577801422d1ea85f4e3592a2bc1b2a8a726a9bc"})))))}static get delegatesFocus(){return!0}get root(){return o(this)}};(function(e,t,i,o){var s,n=arguments.length,a=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(n<3?s(a):n>3?s(t,i,a):s(t,i))||a);n>3&&a&&Object.defineProperty(t,i,a)})([u({triggerEvents:"click"})],k.prototype,"onClickOutside",null),k.style=":host{display:block;max-inline-size:fit-content;white-space:normal}button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-list-container{inline-size:var(--gse-ui-contextMenu-menu-width);max-block-size:var(--gse-ui-contextMenu-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)}";const y=class{constructor(t){e(this,t),this.isShown=!1}onKeydown(e){switch(e.key){case"Enter":e.stopPropagation(),this.focusOnSubList();break;case"ArrowUp":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),v(this.root,["gux-rich-style-list-item"]));break;case"ArrowDown":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),m(this.root,["gux-rich-style-list-item"]));break;case"ArrowRight":e.stopPropagation(),this.show(),this.focusOnSubList();break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.buttonElement.focus()}}onMouseEnter(){this.show()}onMouseLeave(){this.hide()}onClick(e){"GUX-RICH-STYLE-LIST-ITEM"!==e.target.nodeName||this.hide()}onFocusIn(){this.show()}onFocusOut(){this.hide()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}focusOnSubList(){this.subListContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].focus()}show(){this.isShown=!0}hide(){this.isShown&&(this.isShown=!1)}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=b(this.buttonElement,this.subListElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.subListElement&&g(this.buttonElement,this.subListElement,{placement:"right-start",strategy:"fixed",middleware:[h(4),f(),p()]}).then((({x:e,y:t})=>{Object.assign(this.subListElement.style,{left:`${e}px`,top:`${t}px`})}))}render(){return t(i,{key:"e799039c1f54c7fb084fb5c2b093803328acf969"},t("button",{key:"b95de16ee62bded43a42ce6c4aee285c6005f8c2",type:"button",class:{"gux-sub-list-button":!0,"gux-sub-list-button-active":this.isShown},tabIndex:-1,role:"listitem",ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},t("span",{key:"b464bb0cfc33ee68c73bd1e8893c3ad418c654db",class:"gux-sub-list-button-text"},this.label),t("gux-icon",{key:"b387c3e8887f33740b4497821bc473b40803e5f7",size:"small","icon-name":"custom/chevron-right-small-regular",decorative:!0})),t("div",{key:"12bac188af6f749b9b011e856974e70ee1a11b2f",ref:e=>this.subListElement=e,class:{"gux-sub-list-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"ccc252da7fab47c5ef57cbb86ecf7c1e4b1deb40",role:"list",class:"gux-sub-list-content",ref:e=>this.subListContentElement=e},t("slot",{key:"1ee391f65c287b3e4548918b716217c950b7cd4d"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};y.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;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;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){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);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button: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);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}button.gux-sub-list-button{display:flex;flex-direction:row;justify-content:space-between}button gux-icon{align-self:center;color:var(--gse-ui-menu-option-parentIcon-selected-foregroundColor)}.gux-sub-list-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;visibility:hidden;flex-direction:column;inline-size:130px;padding:var(--gse-ui-menu-padding);margin:0;background-color:var(--gse-ui-menu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-sub-list-wrapper.gux-shown{visibility:visible}";export{x as gux_rich_style_list_item,k as gux_rich_text_editor_menu,y as gux_rich_text_editor_sub_list}
@@ -1 +1 @@
1
- import{r as e,h as t,H as s,a as o}from"./p-Dz_2h4jr.js";import{a as i}from"./p-Bg4q97BS.js";import{e as n}from"./p-C6ZfOd6U.js";import{r}from"./p-D9jKBqIb.js";import{b as a}from"./p-DmaAM9UB.js";import{t as l}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const u=class{constructor(t){e(this,t),this.dropdownOptionsButtonId=r("gux-table-select-menu"),this.hasSelectMenuOptions=!1,this.dropdownDisabled=!1,this.popoverHidden=!0}focusFirstItemInPopupList(){const e=this.root.querySelector("gux-list");i((()=>{null==e||e.guxFocusFirstItem()}))}async componentWillLoad(){this.hasSelectMenuOptions=!!this.root.querySelector('[slot="select-menu-options"]'),this.i18n=await a(this.root,l,"gux-table")}onKeydown(e){var t;switch(e.key){case"ArrowDown":n(".gux-select-menu-button",e)&&(this.toggleOptions(),this.focusFirstItemInPopupList());break;case"Enter":n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList();break;case"Escape":n("gux-list",e)&&(e.stopPropagation(),this.popoverHidden=!0,null===(t=this.tableSelectMenuButtonElement)||void 0===t||t.focus());break;case"Tab":this.popoverHidden=!0}}onKeyup(e){" "===e.key&&n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList()}toggleOptions(){this.popoverHidden=!this.popoverHidden}renderSelectDropdown(){if(this.hasSelectMenuOptions)return[t("button",{id:this.dropdownOptionsButtonId,"aria-haspopup":"listbox","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-select-menu-button",ref:e=>this.tableSelectMenuButtonElement=e,onClick:()=>this.toggleOptions(),disabled:this.dropdownDisabled},t("gux-icon",{"icon-name":"custom/chevron-down-small-regular","screenreader-text":this.i18n("tableOptions"),size:"small"})),t("gux-popover-list",{for:this.dropdownOptionsButtonId,isOpen:!this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0},t("div",null,t("slot",{name:"select-menu-options"})))]}render(){return t(s,{key:"66d4856b09df8d582a332e3744d79b7ef368c61d"},t("slot",{key:"9981f74c127533d5f9289279f2a7bc471583e71f"}),this.renderSelectDropdown())}get root(){return o(this)}};u.style="gux-table-select-menu{display:inline-flex;font-family:var(--gse-ui-popover-body-text-fontFamily);font-size:var(--gse-ui-popover-body-text-fontSize);font-weight:var(--gse-ui-popover-body-text-fontWeight);line-height:var(--gse-ui-popover-body-text-lineHeight)}gux-table-select-menu .gux-select-menu-button{padding:0;margin-inline-start:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-cell-chevron-foregroundColor);outline:none;background-color:inherit;border:none}gux-table-select-menu .gux-select-menu-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:4px}";export{u as gux_table_select_menu}
1
+ import{r as e,h as t,H as s,a as o}from"./p-CjVJoR6g.js";import{a as i}from"./p-Bg4q97BS.js";import{e as n}from"./p-C6ZfOd6U.js";import{r}from"./p-D9jKBqIb.js";import{b as a}from"./p-D1QZQXQN.js";import{t as l}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const u=class{constructor(t){e(this,t),this.dropdownOptionsButtonId=r("gux-table-select-menu"),this.hasSelectMenuOptions=!1,this.dropdownDisabled=!1,this.popoverHidden=!0}focusFirstItemInPopupList(){const e=this.root.querySelector("gux-list");i((()=>{null==e||e.guxFocusFirstItem()}))}async componentWillLoad(){this.hasSelectMenuOptions=!!this.root.querySelector('[slot="select-menu-options"]'),this.i18n=await a(this.root,l,"gux-table")}onKeydown(e){var t;switch(e.key){case"ArrowDown":n(".gux-select-menu-button",e)&&(this.toggleOptions(),this.focusFirstItemInPopupList());break;case"Enter":n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList();break;case"Escape":n("gux-list",e)&&(e.stopPropagation(),this.popoverHidden=!0,null===(t=this.tableSelectMenuButtonElement)||void 0===t||t.focus());break;case"Tab":this.popoverHidden=!0}}onKeyup(e){" "===e.key&&n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList()}toggleOptions(){this.popoverHidden=!this.popoverHidden}renderSelectDropdown(){if(this.hasSelectMenuOptions)return[t("button",{id:this.dropdownOptionsButtonId,"aria-haspopup":"listbox","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-select-menu-button",ref:e=>this.tableSelectMenuButtonElement=e,onClick:()=>this.toggleOptions(),disabled:this.dropdownDisabled},t("gux-icon",{"icon-name":"custom/chevron-down-small-regular","screenreader-text":this.i18n("tableOptions"),size:"small"})),t("gux-popover-list",{for:this.dropdownOptionsButtonId,isOpen:!this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0},t("div",null,t("slot",{name:"select-menu-options"})))]}render(){return t(s,{key:"66d4856b09df8d582a332e3744d79b7ef368c61d"},t("slot",{key:"9981f74c127533d5f9289279f2a7bc471583e71f"}),this.renderSelectDropdown())}get root(){return o(this)}};u.style="gux-table-select-menu{display:inline-flex;font-family:var(--gse-ui-popover-body-text-fontFamily);font-size:var(--gse-ui-popover-body-text-fontSize);font-weight:var(--gse-ui-popover-body-text-fontWeight);line-height:var(--gse-ui-popover-body-text-lineHeight)}gux-table-select-menu .gux-select-menu-button{padding:0;margin-inline-start:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-cell-chevron-foregroundColor);outline:none;background-color:inherit;border:none}gux-table-select-menu .gux-select-menu-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:4px}";export{u as gux_table_select_menu}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,a}from"./p-CjVJoR6g.js";import{b as i}from"./p-D1QZQXQN.js";import{r as o}from"./p-D9jKBqIb.js";import{t as r}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const c=class{constructor(s){e(this,s),this.internalallrowselectchange=t(this,"internalallrowselectchange",7),this.id=o("gux-all-row-select"),this.selected=!1}onCheck(e){e.stopPropagation(),this.selected=this.inputElement.checked,this.internalallrowselectchange.emit(this.selected)}async setIndeterminate(e=!0){this.inputElement.indeterminate=e}async componentWillLoad(){this.i18n=await i(this.root,r,"gux-table")}render(){return s("gux-form-field-checkbox",{key:"b3de61cda00ba6eb13857ba4ff1bdee6aacad81f","label-position":"screenreader"},s("input",{key:"8bb8f763d9b2bdb5339c9f35ac4906187290edd1",ref:e=>this.inputElement=e,slot:"input",id:this.id,type:"checkbox",checked:this.selected,disabled:this.disabled}),s("label",{key:"3d624140113c9964a8e796bc19ff3ac7f9df20b0",slot:"label",htmlFor:this.id},"​",s("span",{key:"cef8d0f8c06441ba458a2dae3345fd6125499eac"},this.i18n("selectAllTableRows"))))}get root(){return a(this)}};c.style=":host{display:flex;flex-direction:row;justify-content:center}";export{c as gux_all_row_select}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,f as n,h as s,a}from"./p-CjVJoR6g.js";import{b as o}from"./p-D1QZQXQN.js";import{t as c}from"./p-m3Lae7sj.js";import{g as i,s as r,a as h,b as d,c as l,d as u,e as m,f as g,h as p}from"./p-ygfGN0jf.js";import"./p-Cd4R0amv.js";import"./p-CcCycvZh.js";import"./p-BMRf5pjV.js";var b={search:"Search",searchResults:"search results",selectedColumnCount:"{count} / {total} Columns Selected",selectAllColumnsScreenReader:"{count} of {total} columns selected: check checkbox to select all {total} columns",unselectAllColumnsScreenReader:"{count} of {total} columns selected: uncheck checkbox to unselect all {total} columns",movePositionPrompt:"Press space or enter to move the {columnName} column to position {newPositionNumber} from position {oldPositionNumber}.",reorderingModeActive:"Reordering mode active. Reposition the {columnName} column using the up arrow key, the down arrow key, the home key and the end key. Press Escape to deactivate reordering mode."};const f=class{constructor(n){e(this,n),this.guxorderchange=t(this,"guxorderchange",7),this.highlightResults={matchCount:0,currentMatch:0},this.keyboardOrderChange=i()}watchKeyboardOrderChange(){r(this.root,this.keyboardOrderChange)}async componentWillLoad(){c(this.root),this.i18n=await o(this.root,b)}componentDidLoad(){h(this.root,this.mainCheckboxElement)}handleInternalorderchange(e){e.stopPropagation(),this.emitOrderChange(e.detail)}emitOrderChange(e){const{oldIndex:t,newIndex:n}=e;if(t!==n){const t=d(this.root,e);this.guxorderchange.emit(t)}}handleInternalkeyboardorderstart(e){e.stopPropagation();const t=e.detail,n=l(e.target);this.keyboardOrderChange={oldIndex:n,newIndex:n},this.announceElement.guxAnnounce(this.i18n("reorderingModeActive",{columnName:t}))}handleInternalkeyboardreordermove(e){e.stopPropagation();const{delta:t,column:n}=e.detail;this.keyboardOrderChange=u(this.root,this.keyboardOrderChange,t),this.announceElement.guxAnnounce(this.i18n("movePositionPrompt",{columnName:n,newPositionNumber:this.keyboardOrderChange.newIndex+1,oldPositionNumber:this.keyboardOrderChange.oldIndex+1}))}handleInternalkeyboarddoreorder(e){e.stopPropagation(),this.emitOrderChange(this.keyboardOrderChange),e.target.guxFocus()}handleInternalkeyboardorderfinish(e){e.stopPropagation(),this.keyboardOrderChange=i()}onSearchInput(){this.highlightResults=m(this.root,this.searchElement)}onGuxCurrentMatchChanged(e){this.highlightResults=m(this.root,this.searchElement,e.detail)}onMainCheckboxChange(){g(this.root,this.mainCheckboxElement.checked),n(this.root)}onListChange(){h(this.root,this.mainCheckboxElement),n(this.root)}onSlotChange(){this.onListChange()}renderSelectedColumnCount(){const{count:e,total:t}=p(this.root);return s("div",null,s("span",{"aria-hidden":"true"},this.i18n("selectedColumnCount",{count:e,total:t})),s("span",{class:"gux-sr-only"},s("span",null,": ",this.i18n(e===t?"unselectAllColumnsScreenReader":"selectAllColumnsScreenReader",{count:e,total:t}))))}render(){return s("div",{key:"40b00dccbbc3b9dd2d79f0a7e558a592e7a647c3",class:"gux-container"},s("div",{key:"b5fb241078d0acb83118b016e3b667fc54e2f31b",class:"gux-sr-only","aria-live":"polite"},`${this.highlightResults.matchCount} ${this.i18n("searchResults")}`),s("div",{key:"2eb3f96dc3f109dcca02466eff1d9038ea2dceae",class:"gux-search"},s("gux-content-search",{key:"8c86cce49bb3ef53bc548c60bd80d1ca648f1a11","match-count":this.highlightResults.matchCount,"current-match":this.highlightResults.currentMatch,onGuxcurrentmatchchanged:e=>this.onGuxCurrentMatchChanged(e)},s("input",{key:"3d9a303ef7e13e3bf049009616d78ac03fd268f3",type:"search",placeholder:this.i18n("search"),onInput:()=>this.onSearchInput(),ref:e=>this.searchElement=e}))),s("div",{key:"2fe55a8bc3f231ee7901723912c6e2f439ea27f6",class:"gux-select"},s("gux-form-field-checkbox",{key:"d5460b9363adb42f5a59b03771850aecdfa9ae08"},s("input",{key:"93d46d6f32a95b9e38046e95ac419b238ce0cec2",slot:"input",type:"checkbox",ref:e=>this.mainCheckboxElement=e,onChange:()=>this.onMainCheckboxChange()}),s("label",{key:"2bf04216379485802176367913dfb3943a7f7aaf",slot:"label"},this.renderSelectedColumnCount()))),s("div",{key:"77332327dddcdbd52f4d4fdfd7779b2eb86dd347",class:"gux-list",onChange:()=>this.onListChange()},s("slot",{key:"1afc970e4de08ab42a607d790a3ad25c4f816c8b",onSlotchange:()=>this.onSlotChange()})),s("gux-announce-beta",{key:"5923c285545fe76641d276e51e7f257914912b7a",ref:e=>this.announceElement=e}))}get root(){return a(this)}static get watchers(){return{keyboardOrderChange:["watchKeyboardOrderChange"]}}};f.style=".gux-container{inline-size:320px;min-inline-size:320px;padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding)}.gux-container .gux-search gux-content-search{inline-size:100%}.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-decoration,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-cancel-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-decoration{display:none;-webkit-appearance:none}.gux-container .gux-select{padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding);margin-inline-start:24px}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{f as gux_column_manager}
@@ -1 +1 @@
1
- import{r as a,h as o,a as r}from"./p-Dz_2h4jr.js";import{t as e}from"./p-P-hdUE3M.js";import{b as s}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var l={genesysLogomark:"Genesys Logomark"};const g=class{constructor(o){a(this,o),this.variant="primary"}async componentWillLoad(){this.i18n=await s(this.root,l),e(this.root,{variant:this.variant})}render(){return o("svg",{key:"abf83c5cc51c9f369eed1c2b351b4c58f341c7a9",class:`gux-${this.variant}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 50","aria-label":this.i18n("genesysLogomark"),role:"img",focusable:"false"},o("path",{key:"7996a793cb114a2cd06cd6b702974387f8c80222",class:"gux-foreground-fill",d:"M21.7947 34.7408H16.7148C14.6475 34.7408 12.6648 35.5446 11.203 36.9754C9.74117 38.4061 8.91992 40.3466 8.91992 42.37C8.91992 44.3933 9.74117 46.3338 11.203 47.7645C12.6648 49.1953 14.6475 49.9991 16.7148 49.9991H21.7947C23.862 49.9991 25.8447 49.1953 27.3065 47.7645C28.7683 46.3338 29.5896 44.3933 29.5896 42.37C29.5896 40.3466 28.7683 38.4061 27.3065 36.9754C25.8447 35.5446 23.862 34.7408 21.7947 34.7408Z"}),o("path",{key:"c0b4dc987b0aacc28d0de2826a436f1982bbe879",class:"gux-foreground-fill",d:"M21.3004 15.0225H8.38053C6.15787 15.0225 4.02625 15.8881 2.4546 17.4289C0.882946 18.9697 0 21.0594 0 23.2384C0 25.4174 0.882946 27.5072 2.4546 29.048C4.02625 30.5888 6.15787 31.4544 8.38053 31.4544H21.3004C22.401 31.4544 23.4907 31.2419 24.5075 30.829C25.5243 30.4161 26.4481 29.8109 27.2264 29.048C28.0046 28.2851 28.6219 27.3793 29.043 26.3825C29.4642 25.3857 29.681 24.3174 29.681 23.2384C29.681 22.1595 29.4642 21.0911 29.043 20.0943C28.6219 19.0975 28.0046 18.1918 27.2264 17.4289C26.4481 16.6659 25.5243 16.0608 24.5075 15.6479C23.4907 15.235 22.401 15.0225 21.3004 15.0225Z"}),o("path",{key:"4e6e91ec6881b9f45c054850302b476a508e73d0",class:"gux-foreground-fill",d:"M17.8403 5.8683C17.8403 2.62719 20.4678 -0.000244141 23.7089 -0.000244141C26.95 -0.000244141 29.5774 2.62719 29.5774 5.8683C29.5774 9.10941 26.95 11.7368 23.7089 11.7368C20.4678 11.7368 17.8403 9.10941 17.8403 5.8683Z"}),o("path",{key:"ea39caba0b3c8d6ece7e519b8b45e54c3a76c650",class:"gux-foreground-outline",d:"M16.7153 35.5144H21.7954C23.6628 35.5145 25.4506 36.2406 26.7661 37.5281C28.0811 38.815 28.8168 40.5572 28.8169 42.3699C28.8169 44.1826 28.081 45.9247 26.7661 47.2117C25.4506 48.4992 23.6628 49.2253 21.7954 49.2253H16.7153C14.8478 49.2253 13.0602 48.4992 11.7446 47.2117C10.4297 45.9247 9.69385 44.1826 9.69385 42.3699C9.6939 40.5572 10.4297 38.815 11.7446 37.5281C13.0602 36.2406 14.8479 35.5144 16.7153 35.5144Z"}),o("path",{key:"d6df09739b307b7a2537246565a7adc42a3d1872",class:"gux-foreground-outline",d:"M8.38086 15.7959H21.3008C22.3017 15.7959 23.2928 15.9891 24.2168 16.3643C25.1408 16.7395 25.9789 17.2897 26.6846 17.9814C27.3902 18.6733 27.949 19.4937 28.3301 20.3955C28.7111 21.2973 28.9072 22.2631 28.9072 23.2383C28.9072 24.2134 28.7111 25.1793 28.3301 26.0811C27.949 26.9829 27.3902 27.8043 26.6846 28.4961C25.979 29.1877 25.1406 29.7371 24.2168 30.1123C23.2928 30.4875 22.3017 30.6806 21.3008 30.6807H8.38086C6.35857 30.6807 4.42154 29.8934 2.99609 28.4961C1.57115 27.0991 0.773438 25.2071 0.773438 23.2383C0.773476 21.2695 1.57126 19.3784 2.99609 17.9814C4.42156 16.584 6.35846 15.7959 8.38086 15.7959Z"}),o("path",{key:"907daf16f1d243aa230fa7782d769b3e505f3380",class:"gux-foreground-outline",d:"M23.7085 0.773193C26.5223 0.773193 28.804 3.05419 28.8042 5.86792C28.8042 8.68182 26.5224 10.9636 23.7085 10.9636C20.8948 10.9634 18.6138 8.68169 18.6138 5.86792C18.614 3.05432 20.8949 0.773399 23.7085 0.773193Z"}))}get root(){return r(this)}};g.style=":host{display:inline-block}svg{inline-size:100%;block-size:100%;fill:var(--gse-core-color-transparent)}svg .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-primary)}svg.gux-neutral .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-neutral)}svg.gux-outlined .gux-foreground-fill{fill:var(--gse-core-color-transparent)}svg.gux-outlined .gux-foreground-outline{stroke:var(--gse-ui-logo-brand-logomark-outlined);stroke-width:1.5}";export{g as gux_logomark_beta}
1
+ import{r as a,h as o,a as e}from"./p-CjVJoR6g.js";import{t as r}from"./p-m3Lae7sj.js";import{b as s}from"./p-D1QZQXQN.js";import"./p-Cd4R0amv.js";var l={genesysLogomark:"Genesys Logomark"};const g=class{constructor(o){a(this,o),this.variant="primary"}async componentWillLoad(){this.i18n=await s(this.root,l),r(this.root,{variant:this.variant})}render(){return o("svg",{key:"abf83c5cc51c9f369eed1c2b351b4c58f341c7a9",class:`gux-${this.variant}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 50","aria-label":this.i18n("genesysLogomark"),role:"img",focusable:"false"},o("path",{key:"7996a793cb114a2cd06cd6b702974387f8c80222",class:"gux-foreground-fill",d:"M21.7947 34.7408H16.7148C14.6475 34.7408 12.6648 35.5446 11.203 36.9754C9.74117 38.4061 8.91992 40.3466 8.91992 42.37C8.91992 44.3933 9.74117 46.3338 11.203 47.7645C12.6648 49.1953 14.6475 49.9991 16.7148 49.9991H21.7947C23.862 49.9991 25.8447 49.1953 27.3065 47.7645C28.7683 46.3338 29.5896 44.3933 29.5896 42.37C29.5896 40.3466 28.7683 38.4061 27.3065 36.9754C25.8447 35.5446 23.862 34.7408 21.7947 34.7408Z"}),o("path",{key:"c0b4dc987b0aacc28d0de2826a436f1982bbe879",class:"gux-foreground-fill",d:"M21.3004 15.0225H8.38053C6.15787 15.0225 4.02625 15.8881 2.4546 17.4289C0.882946 18.9697 0 21.0594 0 23.2384C0 25.4174 0.882946 27.5072 2.4546 29.048C4.02625 30.5888 6.15787 31.4544 8.38053 31.4544H21.3004C22.401 31.4544 23.4907 31.2419 24.5075 30.829C25.5243 30.4161 26.4481 29.8109 27.2264 29.048C28.0046 28.2851 28.6219 27.3793 29.043 26.3825C29.4642 25.3857 29.681 24.3174 29.681 23.2384C29.681 22.1595 29.4642 21.0911 29.043 20.0943C28.6219 19.0975 28.0046 18.1918 27.2264 17.4289C26.4481 16.6659 25.5243 16.0608 24.5075 15.6479C23.4907 15.235 22.401 15.0225 21.3004 15.0225Z"}),o("path",{key:"4e6e91ec6881b9f45c054850302b476a508e73d0",class:"gux-foreground-fill",d:"M17.8403 5.8683C17.8403 2.62719 20.4678 -0.000244141 23.7089 -0.000244141C26.95 -0.000244141 29.5774 2.62719 29.5774 5.8683C29.5774 9.10941 26.95 11.7368 23.7089 11.7368C20.4678 11.7368 17.8403 9.10941 17.8403 5.8683Z"}),o("path",{key:"ea39caba0b3c8d6ece7e519b8b45e54c3a76c650",class:"gux-foreground-outline",d:"M16.7153 35.5144H21.7954C23.6628 35.5145 25.4506 36.2406 26.7661 37.5281C28.0811 38.815 28.8168 40.5572 28.8169 42.3699C28.8169 44.1826 28.081 45.9247 26.7661 47.2117C25.4506 48.4992 23.6628 49.2253 21.7954 49.2253H16.7153C14.8478 49.2253 13.0602 48.4992 11.7446 47.2117C10.4297 45.9247 9.69385 44.1826 9.69385 42.3699C9.6939 40.5572 10.4297 38.815 11.7446 37.5281C13.0602 36.2406 14.8479 35.5144 16.7153 35.5144Z"}),o("path",{key:"d6df09739b307b7a2537246565a7adc42a3d1872",class:"gux-foreground-outline",d:"M8.38086 15.7959H21.3008C22.3017 15.7959 23.2928 15.9891 24.2168 16.3643C25.1408 16.7395 25.9789 17.2897 26.6846 17.9814C27.3902 18.6733 27.949 19.4937 28.3301 20.3955C28.7111 21.2973 28.9072 22.2631 28.9072 23.2383C28.9072 24.2134 28.7111 25.1793 28.3301 26.0811C27.949 26.9829 27.3902 27.8043 26.6846 28.4961C25.979 29.1877 25.1406 29.7371 24.2168 30.1123C23.2928 30.4875 22.3017 30.6806 21.3008 30.6807H8.38086C6.35857 30.6807 4.42154 29.8934 2.99609 28.4961C1.57115 27.0991 0.773438 25.2071 0.773438 23.2383C0.773476 21.2695 1.57126 19.3784 2.99609 17.9814C4.42156 16.584 6.35846 15.7959 8.38086 15.7959Z"}),o("path",{key:"907daf16f1d243aa230fa7782d769b3e505f3380",class:"gux-foreground-outline",d:"M23.7085 0.773193C26.5223 0.773193 28.804 3.05419 28.8042 5.86792C28.8042 8.68182 26.5224 10.9636 23.7085 10.9636C20.8948 10.9634 18.6138 8.68169 18.6138 5.86792C18.614 3.05432 20.8949 0.773399 23.7085 0.773193Z"}))}get root(){return e(this)}};g.style=":host{display:inline-block}svg{inline-size:100%;block-size:100%;fill:var(--gse-core-color-transparent)}svg .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-primary)}svg.gux-neutral .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-neutral)}svg.gux-outlined .gux-foreground-fill{fill:var(--gse-core-color-transparent)}svg.gux-outlined .gux-foreground-outline{stroke:var(--gse-ui-logo-brand-logomark-outlined);stroke-width:1.5}";export{g as gux_logomark_beta}
@@ -1 +1 @@
1
- import{r as t,h as e}from"./p-Dz_2h4jr.js";const i=class{constructor(e){t(this,e)}render(){return e("slot",{key:"a1997c383b78306c46f250bad562bc3106887dcd"})}};i.style="::slotted(*){margin:0;font-family:var(--gse-semantic-heading-md-bold-fontFamily) !important;font-size:var(--gse-semantic-heading-md-bold-fontSize) !important;font-weight:var(--gse-semantic-heading-md-bold-fontWeight) !important;line-height:var(--gse-semantic-heading-md-bold-lineHeight) !important;color:var(--gse-semantic-foreground-container-highEmphasis) !important}";export{i as gux_form_fieldset_heading}
1
+ import{r as t,h as e}from"./p-CjVJoR6g.js";const i=class{constructor(e){t(this,e)}render(){return e("slot",{key:"a1997c383b78306c46f250bad562bc3106887dcd"})}};i.style="::slotted(*){margin:0;font-family:var(--gse-semantic-heading-md-bold-fontFamily) !important;font-size:var(--gse-semantic-heading-md-bold-fontSize) !important;font-weight:var(--gse-semantic-heading-md-bold-fontWeight) !important;line-height:var(--gse-semantic-heading-md-bold-lineHeight) !important;color:var(--gse-semantic-foreground-container-highEmphasis) !important}";export{i as gux_form_fieldset_heading}
@@ -1 +1 @@
1
- import{e as t,r as a,h as s,a as i}from"./p-Dz_2h4jr.js";import{t as l}from"./p-P-hdUE3M.js";const n=new Map;async function r(a,s){const i=function(t,a){return`${a}-${t}`}(a,s);if(n.has(i))return n.get(i);const l=async function(a,s){const i=await fetch(t(function(t,a){return"background-shapes"===a?`./illustrations/${a}/${t.includes("narrow")?"narrow":"wide"}.svg`:`./illustrations/${a}/${t}.svg`}(a,s)));if(200===i.status)return i.text();throw new Error(`[gux-illustration] fetching failed for illustration "${a}" with status "${i.statusText} (${i.status})".`)}(a,s).then((t=>t)).catch((t=>(setTimeout((()=>{throw t}),0),r({variants:"add",status:"success","background-shapes":"solid-wide"}[s],s))));return n.set(i,l),l}const u=class{constructor(t){a(this,t),this.backgroundShape="solid-wide"}async prepVariant(t){t&&(this.variantSvgHtml=await r(t,"variants"),this.variantHtml=this.variantSvgHtml)}async prepStatus(t){t&&(this.statusSvgHtml=await r(t,"status"),this.statusHtml=this.statusSvgHtml)}async prepBackgroundShape(t){t&&(this.backgroundShapeSvgHtml=await r(t,"background-shapes"),this.backgroundShapeHtml=this.backgroundShapeSvgHtml)}async componentWillLoad(){l(this.root,{variant:this.variant}),await Promise.all([this.prepVariant(this.variant),this.prepStatus(this.status),this.prepBackgroundShape(this.backgroundShape)])}render(){return s("div",{key:"b784dff16a5af2bcea05f22e3478f1d78722080c",class:"gux-illustration"},this.backgroundShapeHtml&&s("div",{key:"d57aaeea21e7a23f73aea017e97f46690faddb0d",class:{"gux-background-shape":!0,[`gux-background-shape-${this.backgroundShape}`]:!0},innerHTML:this.backgroundShapeHtml}),this.variantHtml&&s("div",{key:"7c319cf6ee37a229e560656b662f58431f6f6f80",class:"gux-illustration-variant",innerHTML:this.variantHtml}),this.statusHtml&&s("div",{key:"df8b54846668fe2517d497dbedea6e2bdc339956",class:{"gux-illustration-status":!0,[`gux-illustration-status-${this.status}`]:!0},innerHTML:this.statusHtml}))}static get assetsDirs(){return["illustrations"]}get root(){return i(this)}static get watchers(){return{variant:["prepVariant"],status:["prepStatus"],backgroundShape:["prepBackgroundShape"]}}};u.style='.gux-illustration{position:relative;display:grid;place-items:center;inline-size:var(--gse-ui-blankState-mainIllustration-width);block-size:var(--gse-ui-blankState-mainIllustration-height)}.gux-background-shape{grid-area:1/1;inline-size:var(--gse-ui-blankState-mainIllustration-background-width);block-size:var(--gse-ui-blankState-mainIllustration-background-height)}.gux-background-shape.gux-background-shape-solid-wide,.gux-background-shape.gux-background-shape-solid-narrow,.gux-background-shape svg{fill:var(--gse-ui-blankState-mainIllustration-background-solidColor)}.gux-background-shape.gux-background-shape-gradient-wide svg,.gux-background-shape.gux-background-shape-gradient-narrow svg{fill:url("#gux-background-gradient");--gradient-start:#ffffff0d;--gradient-end:#bfc6d933}.gux-illustration-variant{display:flex;grid-area:1/1;place-items:center}.gux-illustration-variant svg{inline-size:var(--gse-ui-blankState-mainIllustration-illustration-height);block-size:var(--gse-ui-blankState-mainIllustration-illustration-height);fill:var(--gse-ui-blankState-mainIllustration-illustrationColor)}.gux-illustration-status{position:absolute;inset-block-start:var(--gse-ui-blankState-mainIllustration-smallIcon-position-left);inset-inline-start:var(--gse-ui-blankState-mainIllustration-smallIcon-position-top)}.gux-illustration-status svg{inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-illustration-status.gux-illustration-status-success svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successBaseColor)}.gux-illustration-status.gux-illustration-status-success svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successSymbolColor)}.gux-illustration-status.gux-illustration-status-error svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorBaseColor)}.gux-illustration-status.gux-illustration-status-error svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorSymbolColor)}.gux-illustration-status.gux-illustration-status-info svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoBaseColor)}.gux-illustration-status.gux-illustration-status-info svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoSymbolColor)}.gux-illustration-status.gux-illustration-status-add svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationBaseColor)}.gux-illustration-status.gux-illustration-status-add svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationSymbolColor)}.gux-illustration-status.gux-illustration-status-warning svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningBaseColor)}.gux-illustration-status.gux-illustration-status-warning svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningSymbolColor)}';export{u as gux_illustration_beta}
1
+ import{e as t,r as a,h as s,a as i}from"./p-CjVJoR6g.js";import{t as l}from"./p-m3Lae7sj.js";const n=new Map;async function r(a,s){const i=function(t,a){return`${a}-${t}`}(a,s);if(n.has(i))return n.get(i);const l=async function(a,s){const i=await fetch(t(function(t,a){return"background-shapes"===a?`./illustrations/${a}/${t.includes("narrow")?"narrow":"wide"}.svg`:`./illustrations/${a}/${t}.svg`}(a,s)));if(200===i.status)return i.text();throw new Error(`[gux-illustration] fetching failed for illustration "${a}" with status "${i.statusText} (${i.status})".`)}(a,s).then((t=>t)).catch((t=>(setTimeout((()=>{throw t}),0),r({variants:"add",status:"success","background-shapes":"solid-wide"}[s],s))));return n.set(i,l),l}const u=class{constructor(t){a(this,t),this.backgroundShape="solid-wide"}async prepVariant(t){t&&(this.variantSvgHtml=await r(t,"variants"),this.variantHtml=this.variantSvgHtml)}async prepStatus(t){t&&(this.statusSvgHtml=await r(t,"status"),this.statusHtml=this.statusSvgHtml)}async prepBackgroundShape(t){t&&(this.backgroundShapeSvgHtml=await r(t,"background-shapes"),this.backgroundShapeHtml=this.backgroundShapeSvgHtml)}async componentWillLoad(){l(this.root,{variant:this.variant}),await Promise.all([this.prepVariant(this.variant),this.prepStatus(this.status),this.prepBackgroundShape(this.backgroundShape)])}render(){return s("div",{key:"b784dff16a5af2bcea05f22e3478f1d78722080c",class:"gux-illustration"},this.backgroundShapeHtml&&s("div",{key:"d57aaeea21e7a23f73aea017e97f46690faddb0d",class:{"gux-background-shape":!0,[`gux-background-shape-${this.backgroundShape}`]:!0},innerHTML:this.backgroundShapeHtml}),this.variantHtml&&s("div",{key:"7c319cf6ee37a229e560656b662f58431f6f6f80",class:"gux-illustration-variant",innerHTML:this.variantHtml}),this.statusHtml&&s("div",{key:"df8b54846668fe2517d497dbedea6e2bdc339956",class:{"gux-illustration-status":!0,[`gux-illustration-status-${this.status}`]:!0},innerHTML:this.statusHtml}))}static get assetsDirs(){return["illustrations"]}get root(){return i(this)}static get watchers(){return{variant:["prepVariant"],status:["prepStatus"],backgroundShape:["prepBackgroundShape"]}}};u.style='.gux-illustration{position:relative;display:grid;place-items:center;inline-size:var(--gse-ui-blankState-mainIllustration-width);block-size:var(--gse-ui-blankState-mainIllustration-height)}.gux-background-shape{grid-area:1/1;inline-size:var(--gse-ui-blankState-mainIllustration-background-width);block-size:var(--gse-ui-blankState-mainIllustration-background-height)}.gux-background-shape.gux-background-shape-solid-wide,.gux-background-shape.gux-background-shape-solid-narrow,.gux-background-shape svg{fill:var(--gse-ui-blankState-mainIllustration-background-solidColor)}.gux-background-shape.gux-background-shape-gradient-wide svg,.gux-background-shape.gux-background-shape-gradient-narrow svg{fill:url("#gux-background-gradient");--gradient-start:#ffffff0d;--gradient-end:#bfc6d933}.gux-illustration-variant{display:flex;grid-area:1/1;place-items:center}.gux-illustration-variant svg{inline-size:var(--gse-ui-blankState-mainIllustration-illustration-height);block-size:var(--gse-ui-blankState-mainIllustration-illustration-height);fill:var(--gse-ui-blankState-mainIllustration-illustrationColor)}.gux-illustration-status{position:absolute;inset-block-start:var(--gse-ui-blankState-mainIllustration-smallIcon-position-left);inset-inline-start:var(--gse-ui-blankState-mainIllustration-smallIcon-position-top)}.gux-illustration-status svg{inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-illustration-status.gux-illustration-status-success svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successBaseColor)}.gux-illustration-status.gux-illustration-status-success svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successSymbolColor)}.gux-illustration-status.gux-illustration-status-error svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorBaseColor)}.gux-illustration-status.gux-illustration-status-error svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorSymbolColor)}.gux-illustration-status.gux-illustration-status-info svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoBaseColor)}.gux-illustration-status.gux-illustration-status-info svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoSymbolColor)}.gux-illustration-status.gux-illustration-status-add svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationBaseColor)}.gux-illustration-status.gux-illustration-status-add svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationSymbolColor)}.gux-illustration-status.gux-illustration-status-warning svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningBaseColor)}.gux-illustration-status.gux-illustration-status-warning svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningSymbolColor)}';export{u as gux_illustration_beta}
@@ -1 +1 @@
1
- import{r as e,h as r,H as a,a as t}from"./p-Dz_2h4jr.js";import{a as i}from"./p-DxtJDeL9.js";const n=class{constructor(r){e(this,r)}getAccent(){const e=this.root.closest("gux-breadcrumbs");if(e)return e.accent;i(this.root,"This component must be a child of a gux-breadcrumbs component.")}isActiveBreadcrumb(){const e=this.root.parentNode.children;return e[e.length-1]===this.root}getBreadcrumb(e){return this.isActiveBreadcrumb()?r("span",{class:"gux-breadcrumb-content gux-active","aria-current":"page"},r("slot",null)):this.href?r("gux-link-beta",{size:"secondary"===e?"small":"medium",standalone:!0},r("a",{href:this.href},r("slot",null))):r("span",{class:"gux-breadcrumb-content"},r("slot",null))}getSeparatorIcon(){return this.isActiveBreadcrumb()?null:r("span",{class:"gux-breadcrumb-separator","aria-hidden":"true"},"/")}render(){const e=this.getAccent();return r(a,{key:"357d0819c8848eee39f617f5618d94e1ad3f6777",role:"listitem"},r("span",{key:"d741cd79b32a7caf22ec3fd1c15777e45cf93f05",class:`gux-breadcrumb-generation gux-${e}`},this.getBreadcrumb(e),this.getSeparatorIcon()))}get root(){return t(this)}};n.style=".gux-breadcrumb-generation{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;min-block-size:var(--gse-ui-breadcrumbs-secondary-height)}.gux-breadcrumb-generation .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-small-text-fontFamily);font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight);text-decoration:none;color:var(--gse-ui-links-default-foregroundColor);pointer-events:none}.gux-breadcrumb-generation .gux-breadcrumb-content.gux-active{color:var(--gse-ui-links-active-foregroundColor)}.gux-breadcrumb-generation .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-secondary-separator-padding);font-family:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-secondary-separator-typography-lineHeight);color:var(--gse-ui-breadcrumbs-separator-color)}.gux-breadcrumb-generation.gux-primary{min-block-size:var(--gse-ui-breadcrumbs-primary-height)}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-medium-text-fontFamily);font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);text-decoration:none}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-primary-separator-padding);font-family:var(--gse-ui-breadcrumbs-primary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-primary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-primary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-primary-separator-typography-lineHeight)}";export{n as gux_breadcrumb_item}
1
+ import{r as e,h as r,H as a,a as t}from"./p-CjVJoR6g.js";import{a as i}from"./p-DxtJDeL9.js";const n=class{constructor(r){e(this,r)}getAccent(){const e=this.root.closest("gux-breadcrumbs");if(e)return e.accent;i(this.root,"This component must be a child of a gux-breadcrumbs component.")}isActiveBreadcrumb(){const e=this.root.parentNode.children;return e[e.length-1]===this.root}getBreadcrumb(e){return this.isActiveBreadcrumb()?r("span",{class:"gux-breadcrumb-content gux-active","aria-current":"page"},r("slot",null)):this.href?r("gux-link-beta",{size:"secondary"===e?"small":"medium",standalone:!0},r("a",{href:this.href},r("slot",null))):r("span",{class:"gux-breadcrumb-content"},r("slot",null))}getSeparatorIcon(){return this.isActiveBreadcrumb()?null:r("span",{class:"gux-breadcrumb-separator","aria-hidden":"true"},"/")}render(){const e=this.getAccent();return r(a,{key:"357d0819c8848eee39f617f5618d94e1ad3f6777",role:"listitem"},r("span",{key:"d741cd79b32a7caf22ec3fd1c15777e45cf93f05",class:`gux-breadcrumb-generation gux-${e}`},this.getBreadcrumb(e),this.getSeparatorIcon()))}get root(){return t(this)}};n.style=".gux-breadcrumb-generation{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;min-block-size:var(--gse-ui-breadcrumbs-secondary-height)}.gux-breadcrumb-generation .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-small-text-fontFamily);font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight);text-decoration:none;color:var(--gse-ui-links-default-foregroundColor);pointer-events:none}.gux-breadcrumb-generation .gux-breadcrumb-content.gux-active{color:var(--gse-ui-links-active-foregroundColor)}.gux-breadcrumb-generation .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-secondary-separator-padding);font-family:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-secondary-separator-typography-lineHeight);color:var(--gse-ui-breadcrumbs-separator-color)}.gux-breadcrumb-generation.gux-primary{min-block-size:var(--gse-ui-breadcrumbs-primary-height)}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-medium-text-fontFamily);font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);text-decoration:none}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-primary-separator-padding);font-family:var(--gse-ui-breadcrumbs-primary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-primary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-primary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-primary-separator-typography-lineHeight)}";export{n as gux_breadcrumb_item}
@@ -1 +1 @@
1
- import{r as e,f as t,h as a,a as s}from"./p-Dz_2h4jr.js";import{q as n}from"./p-B10WAyAx.js";import{g as i,a as r,b as o}from"./p-DmaAM9UB.js";import{a as d}from"./p-Bg4q97BS.js";import{a as u}from"./p-DxtJDeL9.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-BFTU3MAI.js";import"./p-Cd4R0amv.js";function l(e,t){return e.toLocaleString(t,{calendar:"gregory",year:"numeric",month:"long"})}class c{constructor(e){this.writeTarget=e.writeTo,this.mappings=e.mappings,this.observer=new MutationObserver((e=>{e.forEach((e=>{this.syncAttribute(e.attributeName)}))})),this.setSourceElement(e.readFrom)}setSourceElement(e){this.observer.disconnect(),this.sourceElement=e,this.syncAll(),this.observer.observe(e,{attributes:!0,attributeFilter:Object.keys(this.mappings)})}disconnect(){this.observer.disconnect()}syncAll(){Object.keys(this.mappings).forEach((e=>{Object.prototype.hasOwnProperty.call(this.mappings,e)&&(this.writeTarget[e]=this.mappings[e](this.sourceElement[e]))}))}syncAttribute(e){Object.prototype.hasOwnProperty.call(this.mappings,e)&&(this.writeTarget[e]=this.mappings[e](this.sourceElement[e]))}}var g={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"};const x=class{constructor(t){e(this,t),this.focusDate=n.Now.plainDateISO(),this.disabled=!1,this.locale="en",this.MONTH_DATE_COUNT=42}async guxForceUpdate(){t(this.root)}get slottedInput(){return this.root.querySelector('input[type="date"]')}async componentWillLoad(){this.slottedInput||u(this.root,'You must slot a date input element like so: input[type="date"].'),this.locale=i(this.root),this.startDayOfWeek=this.startDayOfWeek||r(this.locale),this.i18n=await o(this.root,g);const e=this.getSelectedDate();e&&(this.focusDate=e),this.attributeSynchronizer=new c({readFrom:this.slottedInput,writeTo:this,mappings:{min:e=>e?n.PlainDate.from(e):void 0,max:e=>e?n.PlainDate.from(e):void 0,disabled:e=>e}})}onSlotChange(){this.attributeSynchronizer.setSourceElement(this.slottedInput)}async disconnectedCallback(){this.attributeSynchronizer.disconnect()}detectDayClick(e){if("GUX-DAY-BETA"!==e.target.tagName)return;const t=n.PlainDate.from(e.target.day);this.selectDate(t),e.stopPropagation()}getGuxDayForDate(e){return this.root.shadowRoot.querySelector(`.day-${e}`)}selectDate(e){if(this.isInvalidDate(e))return;const t=e.toString();this.slottedInput.value=t,this.focusDate=e,this.focusOnFocusDate(),h(this.root,"input"),h(this.root,"change")}shiftFocusDate(e){const t=n.Duration.from(e);let a=this.focusDate.add(t);this.min&&-1==n.PlainDate.compare(a,this.min)?a=this.min:this.max&&1==n.PlainDate.compare(a,this.max)&&(a=this.max),this.focusDate=a}focusOnFocusDate(){d((()=>{const e=this.focusDate.toString(),t=this.getGuxDayForDate(e);t&&t.focus()}))}onKeyDown(e){switch(e.key){case" ":break;case"ArrowDown":e.preventDefault(),this.shiftFocusDate({weeks:1}),this.focusOnFocusDate();break;case"ArrowUp":e.preventDefault(),this.shiftFocusDate({weeks:-1}),this.focusOnFocusDate();break;case"ArrowLeft":e.preventDefault(),this.shiftFocusDate({days:-1}),this.focusOnFocusDate();break;case"ArrowRight":e.preventDefault(),this.shiftFocusDate({days:1}),this.focusOnFocusDate();break;case"PageUp":e.preventDefault(),this.shiftFocusDate({months:1}),this.focusOnFocusDate();break;case"PageDown":e.preventDefault(),this.shiftFocusDate({months:-1}),this.focusOnFocusDate()}}isInvalidDate(e){return this.min&&-1==n.PlainDate.compare(e,this.min)||this.max&&1==n.PlainDate.compare(e,this.max)}getMonthDays(){const e=n.Now.plainDateISO(),t=(a=this.getFocusDate(),n.PlainDate.from({day:1,month:a.month,year:a.year}));var a;const s=[];let i={dates:[]},r=0;const o=t.month,d=this.getSelectedDate();let u=function(e,t){let a=t-e.dayOfWeek;return a>0&&(a-=7),e.add({days:a})}(t,this.startDayOfWeek);for(let t=0;t<this.MONTH_DATE_COUNT+1;t+=1)r>0&&r%7==0&&(s.push(i),i={dates:[]}),i.dates.push({date:n.PlainDate.from(u),disabled:this.isInvalidDate(u),inCurrentMonth:o===u.month,selected:null==d?void 0:d.equals(u),focused:this.getFocusDate().equals(u),isCurrentDate:u.equals(e)}),r+=1,u=u.add({days:1});return s}getFocusDate(){return this.focusDate}getSelectedDate(){return this.slottedInput.value?n.PlainDate.from(this.slottedInput.value):null}renderHeader(){return a("div",{class:"gux-header"},a("button",{type:"button",class:"gux-left","aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:l(this.getFocusDate().add({months:-1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:-1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),a("span",{class:"gux-header-month-and-year"},l(this.getFocusDate(),this.locale)),a("button",{type:"button",class:"gux-right","aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:l(this.getFocusDate().add({months:1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"})))}renderContent(){return a("div",{onKeyDown:e=>{this.onKeyDown(e)},onClick:e=>{this.detectDayClick(e)}},a("div",{class:"gux-content"},a("div",{class:"gux-week-days"},function(e,t){const a=[],s=new Date(1970,0,4);for(let t=0;t<7;t++){const t=s.toLocaleString(e,{weekday:"narrow"});a.push(t),s.setDate(s.getDate()+1)}return(n=a).concat(n.splice(0,t%n.length));var n}(this.locale,this.startDayOfWeek).map((e=>a("div",{class:"gux-week-day"},e)))),a("div",null,this.getMonthDays().map((e=>a("div",{class:"gux-content-week"},e.dates.map((e=>{const t=e.date.toString();return a("gux-day-beta",{day:t,"aria-current":e.selected?"true":"false",disabled:!!e.disabled,tabindex:e.selected||e.focused?"0":"-1",class:`\n ${!e.inCurrentMonth||e.disabled?"gux-muted":""}\n day-${t} \n `})}))))))))}render(){return a("div",{key:"fe73d841f223be6ddca2961f70218cc3eb670ae2",class:"gux-calendar-beta "+(this.disabled?"gux-disabled":"")},a("slot",{key:"963de79dccf6552e1861f47543992f11d0078e32",onSlotchange:()=>{this.onSlotChange()}}),this.renderHeader(),this.renderContent())}get root(){return s(this)}};x.style=".gux-calendar-beta.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-backgroundColor);border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar-beta .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar-beta .gux-content{display:flex;flex-direction:column;gap:var(--gse-ui-calendarMenu-dateBody-gap);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-week-days{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-range-height);block-size:var(--gse-ui-calendarMenu-day-range-width)}";export{x as gux_calendar_beta}
1
+ import{r as e,f as t,h as a,a as s}from"./p-CjVJoR6g.js";import{q as n}from"./p-B10WAyAx.js";import{g as i,a as r,b as o}from"./p-D1QZQXQN.js";import{a as d}from"./p-Bg4q97BS.js";import{a as u}from"./p-DxtJDeL9.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-BFTU3MAI.js";import"./p-Cd4R0amv.js";function l(e,t){return e.toLocaleString(t,{calendar:"gregory",year:"numeric",month:"long"})}class c{constructor(e){this.writeTarget=e.writeTo,this.mappings=e.mappings,this.observer=new MutationObserver((e=>{e.forEach((e=>{this.syncAttribute(e.attributeName)}))})),this.setSourceElement(e.readFrom)}setSourceElement(e){this.observer.disconnect(),this.sourceElement=e,this.syncAll(),this.observer.observe(e,{attributes:!0,attributeFilter:Object.keys(this.mappings)})}disconnect(){this.observer.disconnect()}syncAll(){Object.keys(this.mappings).forEach((e=>{Object.prototype.hasOwnProperty.call(this.mappings,e)&&(this.writeTarget[e]=this.mappings[e](this.sourceElement[e]))}))}syncAttribute(e){Object.prototype.hasOwnProperty.call(this.mappings,e)&&(this.writeTarget[e]=this.mappings[e](this.sourceElement[e]))}}var g={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"};const x=class{constructor(t){e(this,t),this.focusDate=n.Now.plainDateISO(),this.disabled=!1,this.locale="en",this.MONTH_DATE_COUNT=42}async guxForceUpdate(){t(this.root)}get slottedInput(){return this.root.querySelector('input[type="date"]')}async componentWillLoad(){this.slottedInput||u(this.root,'You must slot a date input element like so: input[type="date"].'),this.locale=i(this.root),this.startDayOfWeek=this.startDayOfWeek||r(this.locale),this.i18n=await o(this.root,g);const e=this.getSelectedDate();e&&(this.focusDate=e),this.attributeSynchronizer=new c({readFrom:this.slottedInput,writeTo:this,mappings:{min:e=>e?n.PlainDate.from(e):void 0,max:e=>e?n.PlainDate.from(e):void 0,disabled:e=>e}})}onSlotChange(){this.attributeSynchronizer.setSourceElement(this.slottedInput)}async disconnectedCallback(){this.attributeSynchronizer.disconnect()}detectDayClick(e){if("GUX-DAY-BETA"!==e.target.tagName)return;const t=n.PlainDate.from(e.target.day);this.selectDate(t),e.stopPropagation()}getGuxDayForDate(e){return this.root.shadowRoot.querySelector(`.day-${e}`)}selectDate(e){if(this.isInvalidDate(e))return;const t=e.toString();this.slottedInput.value=t,this.focusDate=e,this.focusOnFocusDate(),h(this.root,"input"),h(this.root,"change")}shiftFocusDate(e){const t=n.Duration.from(e);let a=this.focusDate.add(t);this.min&&-1==n.PlainDate.compare(a,this.min)?a=this.min:this.max&&1==n.PlainDate.compare(a,this.max)&&(a=this.max),this.focusDate=a}focusOnFocusDate(){d((()=>{const e=this.focusDate.toString(),t=this.getGuxDayForDate(e);t&&t.focus()}))}onKeyDown(e){switch(e.key){case" ":break;case"ArrowDown":e.preventDefault(),this.shiftFocusDate({weeks:1}),this.focusOnFocusDate();break;case"ArrowUp":e.preventDefault(),this.shiftFocusDate({weeks:-1}),this.focusOnFocusDate();break;case"ArrowLeft":e.preventDefault(),this.shiftFocusDate({days:-1}),this.focusOnFocusDate();break;case"ArrowRight":e.preventDefault(),this.shiftFocusDate({days:1}),this.focusOnFocusDate();break;case"PageUp":e.preventDefault(),this.shiftFocusDate({months:1}),this.focusOnFocusDate();break;case"PageDown":e.preventDefault(),this.shiftFocusDate({months:-1}),this.focusOnFocusDate()}}isInvalidDate(e){return this.min&&-1==n.PlainDate.compare(e,this.min)||this.max&&1==n.PlainDate.compare(e,this.max)}getMonthDays(){const e=n.Now.plainDateISO(),t=(a=this.getFocusDate(),n.PlainDate.from({day:1,month:a.month,year:a.year}));var a;const s=[];let i={dates:[]},r=0;const o=t.month,d=this.getSelectedDate();let u=function(e,t){let a=t-e.dayOfWeek;return a>0&&(a-=7),e.add({days:a})}(t,this.startDayOfWeek);for(let t=0;t<this.MONTH_DATE_COUNT+1;t+=1)r>0&&r%7==0&&(s.push(i),i={dates:[]}),i.dates.push({date:n.PlainDate.from(u),disabled:this.isInvalidDate(u),inCurrentMonth:o===u.month,selected:null==d?void 0:d.equals(u),focused:this.getFocusDate().equals(u),isCurrentDate:u.equals(e)}),r+=1,u=u.add({days:1});return s}getFocusDate(){return this.focusDate}getSelectedDate(){return this.slottedInput.value?n.PlainDate.from(this.slottedInput.value):null}renderHeader(){return a("div",{class:"gux-header"},a("button",{type:"button",class:"gux-left","aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:l(this.getFocusDate().add({months:-1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:-1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),a("span",{class:"gux-header-month-and-year"},l(this.getFocusDate(),this.locale)),a("button",{type:"button",class:"gux-right","aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:l(this.getFocusDate().add({months:1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"})))}renderContent(){return a("div",{onKeyDown:e=>{this.onKeyDown(e)},onClick:e=>{this.detectDayClick(e)}},a("div",{class:"gux-content"},a("div",{class:"gux-week-days"},function(e,t){const a=[],s=new Date(1970,0,4);for(let t=0;t<7;t++){const t=s.toLocaleString(e,{weekday:"narrow"});a.push(t),s.setDate(s.getDate()+1)}return(n=a).concat(n.splice(0,t%n.length));var n}(this.locale,this.startDayOfWeek).map((e=>a("div",{class:"gux-week-day"},e)))),a("div",null,this.getMonthDays().map((e=>a("div",{class:"gux-content-week"},e.dates.map((e=>{const t=e.date.toString();return a("gux-day-beta",{day:t,"aria-current":e.selected?"true":"false",disabled:!!e.disabled,tabindex:e.selected||e.focused?"0":"-1",class:`\n ${!e.inCurrentMonth||e.disabled?"gux-muted":""}\n day-${t} \n `})}))))))))}render(){return a("div",{key:"fe73d841f223be6ddca2961f70218cc3eb670ae2",class:"gux-calendar-beta "+(this.disabled?"gux-disabled":"")},a("slot",{key:"963de79dccf6552e1861f47543992f11d0078e32",onSlotchange:()=>{this.onSlotChange()}}),this.renderHeader(),this.renderContent())}get root(){return s(this)}};x.style=".gux-calendar-beta.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-backgroundColor);border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar-beta .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar-beta .gux-content{display:flex;flex-direction:column;gap:var(--gse-ui-calendarMenu-dateBody-gap);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-week-days{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-range-height);block-size:var(--gse-ui-calendarMenu-day-range-width)}";export{x as gux_calendar_beta}
@@ -1 +1 @@
1
- import{r as e,f as t,h as s,H as r,a as o}from"./p-Dz_2h4jr.js";import{s as i}from"./p-BMRf5pjV.js";import{t as n}from"./p-P-hdUE3M.js";const a=class{constructor(t){e(this,t),this.disabled=!1,this.items=[]}onClick(e){e.stopPropagation();const t=e.target.closest("gux-segmented-control-item");t&&this.value!==t.value&&(this.value=t.value,i(this.root,"input"),i(this.root,"change"))}watchDisabled(){this.items.forEach((e=>{t(e)}))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){n(this.root)}componentWillRender(){this.items.forEach((e=>{e.selected=e.value===this.value}))}render(){return s(r,{key:"5633b4ece2873cf8e70ce8713189f884405856ba",role:"group"},s("slot",{key:"8fadb4810a1ec06276da44a016d47da6fde89431",onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}static get watchers(){return{disabled:["watchDisabled"]}}};a.style=":host{display:inline-flex;block-size:var(--gse-ui-segmentedControl-height);padding:var(--gse-ui-segmentedControl-padding);background-color:var(--gse-ui-segmentedControl-container-background);border:var(--gse-ui-segmentedControl-border-width) var(--gse-ui-segmentedControl-border-style) var(--gse-ui-segmentedControl-border-color);border-radius:var(--gse-ui-segmentedControl-borderRadius)}";export{a as gux_segmented_control_beta}
1
+ import{r as e,f as t,h as s,H as o,a as r}from"./p-CjVJoR6g.js";import{s as i}from"./p-BMRf5pjV.js";import{t as a}from"./p-m3Lae7sj.js";const n=class{constructor(t){e(this,t),this.disabled=!1,this.items=[]}onClick(e){e.stopPropagation();const t=e.target.closest("gux-segmented-control-item");t&&this.value!==t.value&&(this.value=t.value,i(this.root,"input"),i(this.root,"change"))}watchDisabled(){this.items.forEach((e=>{t(e)}))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){a(this.root)}componentWillRender(){this.items.forEach((e=>{e.selected=e.value===this.value}))}render(){return s(o,{key:"5633b4ece2873cf8e70ce8713189f884405856ba",role:"group"},s("slot",{key:"8fadb4810a1ec06276da44a016d47da6fde89431",onSlotchange:this.slotChanged.bind(this)}))}get root(){return r(this)}static get watchers(){return{disabled:["watchDisabled"]}}};n.style=":host{display:inline-flex;block-size:var(--gse-ui-segmentedControl-height);padding:var(--gse-ui-segmentedControl-padding);background-color:var(--gse-ui-segmentedControl-container-background);border:var(--gse-ui-segmentedControl-border-width) var(--gse-ui-segmentedControl-border-style) var(--gse-ui-segmentedControl-border-color);border-radius:var(--gse-ui-segmentedControl-borderRadius)}";export{n as gux_segmented_control_beta}
@@ -1 +1 @@
1
- import{r as t,h as s,a as o}from"./p-Dz_2h4jr.js";import{t as i}from"./p-P-hdUE3M.js";import{b as r}from"./p-DmaAM9UB.js";import{t as e}from"./p-DN3YAdAX.js";import{h as n,r as a}from"./p-wqCHc7t7.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const u=class{constructor(s){t(this,s),this.disabled=!1,this.isActive=!1}async componentWillLoad(){i(this.root,{variant:this.action}),this.i18n=await r(this.root,e)}renderTooltip(){if(!this.disabled)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n(this.action)))}renderActionButton(){return s("gux-button-slot",{accent:"ghost","icon-only":!0},s("button",{type:"button",disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive},"aria-pressed":this.isActive.toString()},s("gux-icon",{"icon-name":a(this.action),decorative:!0,size:"small"}),s("gux-screen-reader-beta",null,this.i18n(this.action))),this.renderTooltip())}render(){return this.renderActionButton()}get root(){return o(this)}};u.style=":host{display:block}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{u as gux_rich_text_editor_action}
1
+ import{r as t,h as s,a as o}from"./p-CjVJoR6g.js";import{t as i}from"./p-m3Lae7sj.js";import{b as r}from"./p-D1QZQXQN.js";import{t as e}from"./p-DN3YAdAX.js";import{h as n,r as a}from"./p-wqCHc7t7.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const u=class{constructor(s){t(this,s),this.disabled=!1,this.isActive=!1}async componentWillLoad(){i(this.root,{variant:this.action}),this.i18n=await r(this.root,e)}renderTooltip(){if(!this.disabled)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n(this.action)))}renderActionButton(){return s("gux-button-slot",{accent:"ghost","icon-only":!0},s("button",{type:"button",disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive},"aria-pressed":this.isActive.toString()},s("gux-icon",{"icon-name":a(this.action),decorative:!0,size:"small"}),s("gux-screen-reader-beta",null,this.i18n(this.action))),this.renderTooltip())}render(){return this.renderActionButton()}get root(){return o(this)}};u.style=":host{display:block}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{u as gux_rich_text_editor_action}
@@ -1 +1 @@
1
- import{r as t,h as i,H as a,a as e}from"./p-Dz_2h4jr.js";import{s as r}from"./p-BMRf5pjV.js";import{c as s}from"./p-CcCycvZh.js";import{t as n}from"./p-P-hdUE3M.js";import{l as o}from"./p-DxtJDeL9.js";import{b as l}from"./p-DmaAM9UB.js";import{O as g}from"./p-Ct81NxWr.js";import"./p-Cd4R0amv.js";var h={editRating:"Edit Rating"};const u=class{constructor(i){t(this,i),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1,this.increment="default",this.compact=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}onFocusIn(){this.compact&&this.compactRatingElement.focus()}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly||this.compact)return;const[i]=t.composedPath(),a=i.getRootNode(),e=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===a))+1;e===this.value+.5?this.updateRatingValue(e):e===this.value?this.updateRatingValue(0):e!==Math.floor(this.value)?this.updateRatingValue("half"===this.increment?e-.5:e):this.updateRatingValue(e)}onKeyDown(t){if(t.stopPropagation(),this.disabled||this.readonly||this.isOpen)return;const i="half"===this.increment?.5:1;switch(t.key){case"ArrowUp":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+i);break;case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-i);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}get ariaLabel(){var t;return null===(t=this.root)||void 0===t?void 0:t.getAttribute("aria-label")}get ariaLabelledby(){var t;return null===(t=this.root)||void 0===t?void 0:t.getAttribute("aria-labelledby")}updateRatingValue(t){const i=s(t,0,this.maxValue),a="half"===this.increment?.5:1,e=Math.round(i/a)*a;this.value!==e&&(this.value=e,r(this.root,"input"),r(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,i)=>t.concat(i+.5===this.value?"fa/star-sharp-half-stroke-regular":i+1<=this.value?"fa/star-solid":"fa/star-regular")),[]).map((t=>i("gux-icon",{"icon-name":t,decorative:!0,size:"small"})))}getCompactRatingElement(){let t;return t=0===this.value?"fa/star-regular":"fa/star-solid",i("div",{class:"gux-star-rating-compact"},i("div",{class:"gux-star-rating-label-value"},i("gux-icon",{tabindex:"0",ref:t=>this.compactRatingElement=t,"icon-name":t,decorative:!0,size:"small"}),i("span",{class:"gux-star-rating-value"},this.value)),this.renderEditRatingButton())}renderEditRatingButton(){if(!this.readonly)return i("div",{class:"gux-edit-rating-button"},i("gux-button",{tabindex:"-1",onClick:()=>{this.togglePopover()},id:"popover-target",accent:"inline",disabled:this.disabled},this.i18n("editRating")),i("gux-popover-beta",{position:"bottom-start",for:"popover-target","is-open":this.isOpen},i("gux-rating",{tabindex:"-1",value:this.value,"max-value":this.maxValue,increment:this.increment,readonly:this.readonly,onClick:t=>this.handlePopoverRatingChange(t),"aria-label":this.ariaLabel,"aria-labelledby":this.ariaLabelledby})))}togglePopover(){this.isOpen=!this.isOpen}handlePopoverRatingChange(t){this.value=t.target.value,r(this.root,"input"),r(this.root,"change")}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){n(this.root)}async componentWillRender(){this.i18n=await l(this.root,h)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||o(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}renderStars(){return this.compact?this.getCompactRatingElement():this.getRatingStarElements()}render(){return i(a,{key:"7a585f6ede727d62bd7110dd82c01cc726f7e9e1",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{key:"a9034c64efb3b62714e21eab59f879baf9cb27fc",ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled,"gux-compact":this.compact}},this.renderStars()))}get root(){return e(this)}};(function(t,i,a,e){var r,s=arguments.length,n=s<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,a,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(s<3?r(n):s>3?r(i,a,n):r(i,a))||n);s>3&&n&&Object.defineProperty(i,a,n)})([g({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:inline-block;min-inline-size:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);box-shadow:0 0 0 1px var(--gse-semantic-border-focus)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container:not(.gux-compact) gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color);cursor:pointer}.gux-rating-star-container .gux-star-rating-compact{display:flex;flex-direction:column;gap:var(--gse-ui-ratingGroup-shortened-edit-gap);align-items:flex-start;justify-content:center}.gux-rating-star-container .gux-star-rating-compact .gux-star-rating-label-value{display:flex;flex-direction:row;gap:var(--gse-ui-ratingGroup-shortened-gap);align-items:center;justify-content:center}.gux-rating-star-container .gux-star-rating-compact .gux-star-rating-value{font-family:var(--gse-ui-ratingGroup-text-fontFamily);font-size:var(--gse-ui-ratingGroup-text-fontSize);font-weight:var(--gse-ui-ratingGroup-text-fontWeight);line-height:var(--gse-ui-ratingGroup-text-lineHeight);color:var(--gse-ui-ratingGroup-label)}";export{u as gux_rating}
1
+ import{r as t,h as i,H as a,a as e}from"./p-CjVJoR6g.js";import{s as r}from"./p-BMRf5pjV.js";import{c as s}from"./p-CcCycvZh.js";import{t as n}from"./p-m3Lae7sj.js";import{l as o}from"./p-DxtJDeL9.js";import{b as l}from"./p-D1QZQXQN.js";import{O as g}from"./p-BvVMx5eW.js";import"./p-Cd4R0amv.js";var u={editRating:"Edit Rating"};const h=class{constructor(i){t(this,i),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1,this.increment="default",this.compact=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}onFocusIn(){this.compact&&this.compactRatingElement.focus()}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly||this.compact)return;const[i]=t.composedPath(),a=i.getRootNode(),e=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===a))+1;e===this.value+.5?this.updateRatingValue(e):e===this.value?this.updateRatingValue(0):e!==Math.floor(this.value)?this.updateRatingValue("half"===this.increment?e-.5:e):this.updateRatingValue(e)}onKeyDown(t){if(t.stopPropagation(),this.disabled||this.readonly||this.isOpen)return;const i="half"===this.increment?.5:1;switch(t.key){case"ArrowUp":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+i);break;case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-i);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}get ariaLabel(){var t;return null===(t=this.root)||void 0===t?void 0:t.getAttribute("aria-label")}get ariaLabelledby(){var t;return null===(t=this.root)||void 0===t?void 0:t.getAttribute("aria-labelledby")}updateRatingValue(t){const i=s(t,0,this.maxValue),a="half"===this.increment?.5:1,e=Math.round(i/a)*a;this.value!==e&&(this.value=e,r(this.root,"input"),r(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,i)=>t.concat(i+.5===this.value?"fa/star-sharp-half-stroke-regular":i+1<=this.value?"fa/star-solid":"fa/star-regular")),[]).map((t=>i("gux-icon",{"icon-name":t,decorative:!0,size:"small"})))}getCompactRatingElement(){let t;return t=0===this.value?"fa/star-regular":"fa/star-solid",i("div",{class:"gux-star-rating-compact"},i("div",{class:"gux-star-rating-label-value"},i("gux-icon",{tabindex:"0",ref:t=>this.compactRatingElement=t,"icon-name":t,decorative:!0,size:"small"}),i("span",{class:"gux-star-rating-value"},this.value)),this.renderEditRatingButton())}renderEditRatingButton(){if(!this.readonly)return i("div",{class:"gux-edit-rating-button"},i("gux-button",{tabindex:"-1",onClick:()=>{this.togglePopover()},id:"popover-target",accent:"inline",disabled:this.disabled},this.i18n("editRating")),i("gux-popover-beta",{position:"bottom-start",for:"popover-target","is-open":this.isOpen},i("gux-rating",{tabindex:"-1",value:this.value,"max-value":this.maxValue,increment:this.increment,readonly:this.readonly,onClick:t=>this.handlePopoverRatingChange(t),"aria-label":this.ariaLabel,"aria-labelledby":this.ariaLabelledby})))}togglePopover(){this.isOpen=!this.isOpen}handlePopoverRatingChange(t){this.value=t.target.value,r(this.root,"input"),r(this.root,"change")}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){n(this.root)}async componentWillRender(){this.i18n=await l(this.root,u)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||o(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}renderStars(){return this.compact?this.getCompactRatingElement():this.getRatingStarElements()}render(){return i(a,{key:"7a585f6ede727d62bd7110dd82c01cc726f7e9e1",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{key:"a9034c64efb3b62714e21eab59f879baf9cb27fc",ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled,"gux-compact":this.compact}},this.renderStars()))}get root(){return e(this)}};(function(t,i,a,e){var r,s=arguments.length,n=s<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,a,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(s<3?r(n):s>3?r(i,a,n):r(i,a))||n);s>3&&n&&Object.defineProperty(i,a,n)})([g({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:inline-block;min-inline-size:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);box-shadow:0 0 0 1px var(--gse-semantic-border-focus)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container:not(.gux-compact) gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color);cursor:pointer}.gux-rating-star-container .gux-star-rating-compact{display:flex;flex-direction:column;gap:var(--gse-ui-ratingGroup-shortened-edit-gap);align-items:flex-start;justify-content:center}.gux-rating-star-container .gux-star-rating-compact .gux-star-rating-label-value{display:flex;flex-direction:row;gap:var(--gse-ui-ratingGroup-shortened-gap);align-items:center;justify-content:center}.gux-rating-star-container .gux-star-rating-compact .gux-star-rating-value{font-family:var(--gse-ui-ratingGroup-text-fontFamily);font-size:var(--gse-ui-ratingGroup-text-fontSize);font-weight:var(--gse-ui-ratingGroup-text-fontWeight);line-height:var(--gse-ui-ratingGroup-text-lineHeight);color:var(--gse-ui-ratingGroup-label)}";export{h as gux_rating}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,a}from"./p-Dz_2h4jr.js";import{b as i}from"./p-DmaAM9UB.js";import{t as r}from"./p-P-hdUE3M.js";import{g as n}from"./p-Cd4R0amv.js";import{o}from"./p-CF55kYjc.js";import{t as c}from"./p-BIx814vt.js";const l=class{constructor(s){t(this,s),this.guxsortchanged=e(this,"guxsortchanged",7),this.includeUnsorted=!1,this.active=!1,this.sort="none",this.isLeftAlignIcon=!1}async componentWillLoad(){r(this.root),this.i18n=await i(this.root,c,"gux-table"),this.tableHeader=n("th",this.root),this.thObserver=o(this.tableHeader,(()=>{this.setState()}),{attributes:!0,childList:!1,subtree:!1}),this.setState()}disconnectedCallback(){this.thObserver&&this.thObserver.disconnect()}onClick(){this.guxsortchanged.emit({columnName:this.tableHeader.dataset.columnName,sortDirection:this.getNextSort(this.sort)})}setState(){this.headerContent=this.tableHeader.textContent,this.isLeftAlignIcon=this.tableHeader.hasAttribute("data-cell-numeric")||this.tableHeader.hasAttribute("data-cell-action");const t=this.tableHeader.getAttribute("aria-sort");switch(t){case"ascending":case"descending":this.active=!0,this.sort=t;break;default:this.active=!1,this.sort="none"}}getIconName(t){return"descending"===t?"fa/caret-down-solid":"fa/caret-up-solid"}getNextSort(t){switch(t){case"none":return"ascending";case"ascending":return"descending";default:return this.includeUnsorted?"none":"ascending"}}getSRText(t){switch(t){case"ascending":return this.i18n("ascendingColumnSort",{headerContent:this.headerContent});case"descending":return this.i18n(this.includeUnsorted?"descendingColumnSortIncludeUnsorted":"descendingColumnSort",{headerContent:this.headerContent});default:return this.i18n("noColumnSort",{headerContent:this.headerContent})}}render(){return s("div",{key:"ede942d28606bb7251354f21e51397c1f6ad0099",class:{"gux-container":!0,"gux-active":this.active}},s("button",{key:"e010ec841c7ad2920a74671c7902b20659aa577a",class:"gux-sort-button",type:"button",onClick:()=>this.onClick(),"aria-label":this.getSRText(this.sort)},s("gux-icon",{key:"c9ed4c1d498b64c96b789a8b9c63c8003c80c800",class:{"gux-sort-icon":!0,"gux-left":this.isLeftAlignIcon},size:"small","icon-name":this.getIconName(this.sort),decorative:!0})),s("div",{key:"f439f67f81734f0594cc5c987584ca2be76336f1",class:"gux-resize-spacer"}))}static get delegatesFocus(){return!0}get root(){return a(this)}};l.style=".gux-container{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;border-block-start:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent;border-block-end:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent}.gux-container.gux-active{border-block-end-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container:focus-within{border-block-end-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container .gux-sort-button{all:unset;flex:1 1 auto;align-self:stretch;order:0;cursor:pointer}.gux-container .gux-sort-button .gux-sort-icon{float:inline-end;margin-block:0;margin-inline:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-header-sort-foregroundColor)}.gux-container .gux-sort-button .gux-sort-icon.gux-left{float:inline-start;margin-inline-start:calc(2px + var(--gse-ui-dataTableItems-header-gap))}.gux-container .gux-resize-spacer{flex:0 1 auto;align-self:stretch;order:0;inline-size:2px}";export{l as gux_sort_control}
1
+ import{r as t,c as e,h as s,a}from"./p-CjVJoR6g.js";import{b as i}from"./p-D1QZQXQN.js";import{t as r}from"./p-m3Lae7sj.js";import{g as n}from"./p-Cd4R0amv.js";import{o}from"./p-CF55kYjc.js";import{t as c}from"./p-BIx814vt.js";const l=class{constructor(s){t(this,s),this.guxsortchanged=e(this,"guxsortchanged",7),this.includeUnsorted=!1,this.active=!1,this.sort="none",this.isLeftAlignIcon=!1}async componentWillLoad(){r(this.root),this.i18n=await i(this.root,c,"gux-table"),this.tableHeader=n("th",this.root),this.thObserver=o(this.tableHeader,(()=>{this.setState()}),{attributes:!0,childList:!1,subtree:!1}),this.setState()}disconnectedCallback(){this.thObserver&&this.thObserver.disconnect()}onClick(){this.guxsortchanged.emit({columnName:this.tableHeader.dataset.columnName,sortDirection:this.getNextSort(this.sort)})}setState(){this.headerContent=this.tableHeader.textContent,this.isLeftAlignIcon=this.tableHeader.hasAttribute("data-cell-numeric")||this.tableHeader.hasAttribute("data-cell-action");const t=this.tableHeader.getAttribute("aria-sort");switch(t){case"ascending":case"descending":this.active=!0,this.sort=t;break;default:this.active=!1,this.sort="none"}}getIconName(t){return"descending"===t?"fa/caret-down-solid":"fa/caret-up-solid"}getNextSort(t){switch(t){case"none":return"ascending";case"ascending":return"descending";default:return this.includeUnsorted?"none":"ascending"}}getSRText(t){switch(t){case"ascending":return this.i18n("ascendingColumnSort",{headerContent:this.headerContent});case"descending":return this.i18n(this.includeUnsorted?"descendingColumnSortIncludeUnsorted":"descendingColumnSort",{headerContent:this.headerContent});default:return this.i18n("noColumnSort",{headerContent:this.headerContent})}}render(){return s("div",{key:"ede942d28606bb7251354f21e51397c1f6ad0099",class:{"gux-container":!0,"gux-active":this.active}},s("button",{key:"e010ec841c7ad2920a74671c7902b20659aa577a",class:"gux-sort-button",type:"button",onClick:()=>this.onClick(),"aria-label":this.getSRText(this.sort)},s("gux-icon",{key:"c9ed4c1d498b64c96b789a8b9c63c8003c80c800",class:{"gux-sort-icon":!0,"gux-left":this.isLeftAlignIcon},size:"small","icon-name":this.getIconName(this.sort),decorative:!0})),s("div",{key:"f439f67f81734f0594cc5c987584ca2be76336f1",class:"gux-resize-spacer"}))}static get delegatesFocus(){return!0}get root(){return a(this)}};l.style=".gux-container{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;border-block-start:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent;border-block-end:var(--gse-ui-dataTableItems-header-selectedBar-height) solid transparent}.gux-container.gux-active{border-block-end-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container:focus-within{border-block-end-color:var(--gse-ui-dataTableItems-header-selectedIndicatorColor)}.gux-container .gux-sort-button{all:unset;flex:1 1 auto;align-self:stretch;order:0;cursor:pointer}.gux-container .gux-sort-button .gux-sort-icon{float:inline-end;margin-block:0;margin-inline:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-header-sort-foregroundColor)}.gux-container .gux-sort-button .gux-sort-icon.gux-left{float:inline-start;margin-inline-start:calc(2px + var(--gse-ui-dataTableItems-header-gap))}.gux-container .gux-resize-spacer{flex:0 1 auto;align-self:stretch;order:0;inline-size:2px}";export{l as gux_sort_control}
@@ -1 +1 @@
1
- import{r as e,c as a,h as t}from"./p-Dz_2h4jr.js";const s=class{constructor(t){e(this,t),this.guxactivepanelchange=a(this,"guxactivepanelchange",7),this.active=!1}async guxSetActive(e){this.active=e}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return t("div",{key:"0d07cfca0708a4ccb26c9144cc12b2b1662a4ca7",id:`gux-${this.tabId}-panel`,class:"gux-tabpanel",role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active,"aria-live":"assertive"},t("slot",{key:"4a875e3294ecfe09620a6656092bee37b99ce407"}))}static get watchers(){return{active:["watchActivePanel"]}}};s.style="gux-tab-advanced-panel .gux-tabpanel:focus{outline:none}gux-tab-advanced-panel .gux-tabpanel:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";export{s as gux_tab_advanced_panel}
1
+ import{r as e,c as a,h as t}from"./p-CjVJoR6g.js";const s=class{constructor(t){e(this,t),this.guxactivepanelchange=a(this,"guxactivepanelchange",7),this.active=!1}async guxSetActive(e){this.active=e}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return t("div",{key:"0d07cfca0708a4ccb26c9144cc12b2b1662a4ca7",id:`gux-${this.tabId}-panel`,class:"gux-tabpanel",role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active,"aria-live":"assertive"},t("slot",{key:"4a875e3294ecfe09620a6656092bee37b99ce407"}))}static get watchers(){return{active:["watchActivePanel"]}}};s.style="gux-tab-advanced-panel .gux-tabpanel:focus{outline:none}gux-tab-advanced-panel .gux-tabpanel:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";export{s as gux_tab_advanced_panel}
@@ -1 +1 @@
1
- import{r as t,c as o,h as a,a as s}from"./p-Dz_2h4jr.js";import{t as e}from"./p-P-hdUE3M.js";import{h as i}from"./p-qzV3vtOw.js";import{l as r}from"./p-DxtJDeL9.js";const n=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){e(this.root,{variant:this.toastType}),this.hasPrimaryButton=i(this.root,"primary-button"),this.hasSecondaryButton=i(this.root,"secondary-button"),this.hasLink=i(this.root,"link")}componentDidLoad(){this.checkAriaLive()}checkAriaLive(){let t=this.root.parentElement;for(;t;){if(t.hasAttribute("aria-live"))return;t=t.parentElement}r(this.root,"gux-toast must have a parent element with an `aria-live` attribute")}renderToastIcon(){switch(this.toastType){case"success":return a("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return a("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return a("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return a("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return a("slot",{name:"icon"})}}renderLink(){return a("div",{class:"gux-buttons-bar"},a("gux-link-beta",{standalone:!0},a("slot",{name:"link"})))}renderActions(){return a("gux-cta-group",{class:"gux-buttons-bar",align:"end"},this.hasSecondaryButton&&a("gux-button-slot",{slot:"secondary"},a("slot",{name:"secondary-button"})),a("gux-button-slot",{slot:"primary"},a("slot",{name:"primary-button"})))}render(){return a("div",{key:"7516de0536752930c41173511e9d0ce0b3ab6469",class:`gux-toast gux-toast-${this.toastType}`},a("div",{key:"25c980649c29562929e73c25e1adab7ecb10c0d3",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),a("div",{key:"05f2381db8b4011ed247a6a9d1e0091be207d4a4",class:"gux-content"},a("div",{key:"1fd5c44fe1a5126a89b0a70c0caf88e53b686e55",class:"gux-message"},a("gux-truncate",{key:"2858a3ec3327324766b44858b7078d31d1bb42b8",class:"gux-message-title","max-lines":1},a("slot",{key:"ef66dd3f1804ceaa649a51b84b0d4ed052ef6d9b",name:"title"})),a("gux-truncate",{key:"c9218caccb856167b3e3aca6aafd06eecd0514a0",class:"gux-message-body","max-lines":2},a("slot",{key:"b31a6dccb2339c60c7df1ce980a2bc380b795eae",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),a("gux-dismiss-button",{key:"a82665ca1cf9c30b0ad3afeffbb37b2eed2dd891",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};n.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;inline-size:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-block-end:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow)}.gux-toast .gux-icon ::slotted(gux-icon){inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight);overflow-wrap:anywhere}.gux-toast .gux-content .gux-buttons-bar{inline-size:100%}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{display:grid;grid-template-rows:1fr;grid-template-columns:var(--gse-ui-icon-medium-size) 1fr var(--gse-ui-button-dismiss-medium-width);background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-content{grid-row:1/2;grid-column:2/4}.gux-toast.gux-toast-action .gux-icon{grid-row:1/2;grid-column:1/2}.gux-toast.gux-toast-action gux-dismiss-button{grid-row:1/2;grid-column:3/4}.gux-toast.gux-toast-action .gux-message{inline-size:var(--gse-ui-toast-messageWidth);color:var(--gse-ui-toast-action-foregroundColor)}";export{n as gux_toast}
1
+ import{r as t,c as o,h as a,a as s}from"./p-CjVJoR6g.js";import{t as e}from"./p-m3Lae7sj.js";import{h as i}from"./p-qzV3vtOw.js";import{l as r}from"./p-DxtJDeL9.js";const n=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){e(this.root,{variant:this.toastType}),this.hasPrimaryButton=i(this.root,"primary-button"),this.hasSecondaryButton=i(this.root,"secondary-button"),this.hasLink=i(this.root,"link")}componentDidLoad(){this.checkAriaLive()}checkAriaLive(){let t=this.root.parentElement;for(;t;){if(t.hasAttribute("aria-live"))return;t=t.parentElement}r(this.root,"gux-toast must have a parent element with an `aria-live` attribute")}renderToastIcon(){switch(this.toastType){case"success":return a("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return a("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return a("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return a("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return a("slot",{name:"icon"})}}renderLink(){return a("div",{class:"gux-buttons-bar"},a("gux-link-beta",{standalone:!0},a("slot",{name:"link"})))}renderActions(){return a("gux-cta-group",{class:"gux-buttons-bar",align:"end"},this.hasSecondaryButton&&a("gux-button-slot",{slot:"secondary"},a("slot",{name:"secondary-button"})),a("gux-button-slot",{slot:"primary"},a("slot",{name:"primary-button"})))}render(){return a("div",{key:"7516de0536752930c41173511e9d0ce0b3ab6469",class:`gux-toast gux-toast-${this.toastType}`},a("div",{key:"25c980649c29562929e73c25e1adab7ecb10c0d3",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),a("div",{key:"05f2381db8b4011ed247a6a9d1e0091be207d4a4",class:"gux-content"},a("div",{key:"1fd5c44fe1a5126a89b0a70c0caf88e53b686e55",class:"gux-message"},a("gux-truncate",{key:"2858a3ec3327324766b44858b7078d31d1bb42b8",class:"gux-message-title","max-lines":1},a("slot",{key:"ef66dd3f1804ceaa649a51b84b0d4ed052ef6d9b",name:"title"})),a("gux-truncate",{key:"c9218caccb856167b3e3aca6aafd06eecd0514a0",class:"gux-message-body","max-lines":2},a("slot",{key:"b31a6dccb2339c60c7df1ce980a2bc380b795eae",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),a("gux-dismiss-button",{key:"a82665ca1cf9c30b0ad3afeffbb37b2eed2dd891",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};n.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;inline-size:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-block-end:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow)}.gux-toast .gux-icon ::slotted(gux-icon){inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight);overflow-wrap:anywhere}.gux-toast .gux-content .gux-buttons-bar{inline-size:100%}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{display:grid;grid-template-rows:1fr;grid-template-columns:var(--gse-ui-icon-medium-size) 1fr var(--gse-ui-button-dismiss-medium-width);background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-content{grid-row:1/2;grid-column:2/4}.gux-toast.gux-toast-action .gux-icon{grid-row:1/2;grid-column:1/2}.gux-toast.gux-toast-action gux-dismiss-button{grid-row:1/2;grid-column:3/4}.gux-toast.gux-toast-action .gux-message{inline-size:var(--gse-ui-toast-messageWidth);color:var(--gse-ui-toast-action-foregroundColor)}";export{n as gux_toast}
@@ -1 +1 @@
1
- import{r as o,h as i,a as e}from"./p-Dz_2h4jr.js";import{t}from"./p-P-hdUE3M.js";import{b as r}from"./p-DmaAM9UB.js";import{g as a}from"./p-MAoEg4ig.js";import"./p-Cd4R0amv.js";var c={clickToCopy:"Click to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Copy failed. Please try again."};const l=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,size:"small",decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{slot:"content",class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){t(this.root),this.i18n=await r(this.root,c)}render(){return i("button",{key:"54619cdcafae85606ec0bc28e26e4412c1fe0449",class:"gux-copy-to-clipboard-wrapper",onClick:this.onCopyToClipboard.bind(this),"aria-label":a(this.root,"content")},i("div",{key:"bdda0698b53008fcb128607fb9d48439223fe15c",class:"gux-copy-content"},i("slot",{key:"eec8dea065427cebfc089d5e9a02f4cdc9ed882a",name:"content"}),i("gux-icon",{key:"464b0f7be9ac164d1da7b9d76ed0e6fd01ebdf28","icon-name":"fa/copy-regular",size:"small",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};l.style='button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center;max-inline-size:100%}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;max-inline-size:100%;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name="fa/copy-regular"]{visibility:hidden;flex-shrink:0;padding:var(--gse-ui-copyToClipboard-iconContainer-padding);background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name="fa/copy-regular"]{visibility:visible}gux-tooltip.gux-show{display:inline-flex;align-items:center}gux-tooltip.gux-show .gux-tooltip-content{display:contents}gux-tooltip.gux-show .gux-tooltip-content>*{vertical-align:middle}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-check-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-xmark-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}';export{l as gux_copy_to_clipboard}
1
+ import{r as o,h as i,a as e}from"./p-CjVJoR6g.js";import{t}from"./p-m3Lae7sj.js";import{b as a}from"./p-D1QZQXQN.js";import{g as r}from"./p-MAoEg4ig.js";import"./p-Cd4R0amv.js";var c={clickToCopy:"Click to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Copy failed. Please try again."};const l=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,size:"small",decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{slot:"content",class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){t(this.root),this.i18n=await a(this.root,c)}render(){return i("button",{key:"54619cdcafae85606ec0bc28e26e4412c1fe0449",class:"gux-copy-to-clipboard-wrapper",onClick:this.onCopyToClipboard.bind(this),"aria-label":r(this.root,"content")},i("div",{key:"bdda0698b53008fcb128607fb9d48439223fe15c",class:"gux-copy-content"},i("slot",{key:"eec8dea065427cebfc089d5e9a02f4cdc9ed882a",name:"content"}),i("gux-icon",{key:"464b0f7be9ac164d1da7b9d76ed0e6fd01ebdf28","icon-name":"fa/copy-regular",size:"small",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};l.style='button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center;max-inline-size:100%}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;max-inline-size:100%;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name="fa/copy-regular"]{visibility:hidden;flex-shrink:0;padding:var(--gse-ui-copyToClipboard-iconContainer-padding);background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name="fa/copy-regular"]{visibility:visible}gux-tooltip.gux-show{display:inline-flex;align-items:center}gux-tooltip.gux-show .gux-tooltip-content{display:contents}gux-tooltip.gux-show .gux-tooltip-content>*{vertical-align:middle}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-check-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-xmark-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}';export{l as gux_copy_to_clipboard}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,a as e}from"./p-Dz_2h4jr.js";import{a as o,c as a,o as r,f as h,s as n,h as p,b as c}from"./p-C8aV-TzO.js";import{a as d}from"./p-Bg4q97BS.js";import{O as l}from"./p-Ct81NxWr.js";import{t as u}from"./p-P-hdUE3M.js";import{f as b}from"./p-Cr5bTKWF.js";const f=class{constructor(i){t(this,i),this.guxdismiss=s(this,"guxdismiss",7),this.position="bottom",this.closeOnClickOutside=!1,this.isOpen=!1,this.disconnect=void 0}onKeyDown(t){switch(t.key){case"Tab":this.dismiss();break;case"Escape":this.dismiss(),this.forElement.focus()}}checkForClickOutside(t){const s=t.composedPath(),i=b(this.root,this.for),e=s.includes(i);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||e||this.dismiss()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=o(b(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=b(this.root,this.for);this.popupElement&&a(t,this.popupElement,{strategy:"fixed",placement:this.position,middleware:[r(2),h(),n(),p(),c({element:this.arrowElement,padding:16})]}).then((({x:t,y:s,middlewareData:i,placement:e})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${s}px`});const o={top:"bottom",right:"left",bottom:"top",left:"right"}[e.split("-")[0]];if(i.arrow){const{x:t,y:s}=i.arrow;this.popupElement.setAttribute("data-placement",e),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=s?`${s}px`:"",right:"",bottom:"",[o]:"-6.5px",transform:"rotate(45deg)"})}i.hide&&Object.assign(this.popupElement.style,{visibility:i.hide.referenceHidden?"hidden":"visible"})}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1,this.popupElement.togglePopover())}focusFirstItemInPopupList(){d((()=>{this.listElement.guxFocusFirstItem()}))}onKeydown(t){switch(t.key){case"Enter":case" ":this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition(),this.focusFirstItemInPopupList()}}onMouseup(){this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition()}connectedCallback(){u(this.root,{variant:this.position}),this.listElement=this.root.querySelector("gux-list"),this.forElement=b(this.root,this.for),this.forElement.setAttribute("aria-haspopup","true");const t=this.onKeydown.bind(this);this.forElement.addEventListener("keydown",t);const s=this.onMouseup.bind(this);this.forElement.addEventListener("mouseup",s),this.disconnect=()=>{this.forElement.removeEventListener("keydown",t),this.forElement.removeEventListener("mouseup",s)}}componentDidLoad(){this.isOpen&&(this.popupElement.togglePopover(),this.runUpdatePosition())}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnect()}render(){return i("div",{key:"0ff0478efe1ba8e1899bc228752ec9f4419ba9da",ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0,popover:"manual"},i("div",{key:"7795ab8eaeb9f2bce46d077ddb3657766927715b",ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&i("gux-dismiss-button",{key:"c4785dfac5862a8613da0786252246168522b3c8",onClick:this.dismiss.bind(this)}),i("div",{key:"60ab7d17a12537cc5179a78d61e383d44fbe3d21",class:"gux-popover-content"},i("slot",{key:"39d8d972656badb30a576255fe3836a9af53c6ab"})))}get root(){return e(this)}};(function(t,s,i,e){var o,a=arguments.length,r=a<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,i,e);else for(var h=t.length-1;h>=0;h--)(o=t[h])&&(r=(a<3?o(r):a>3?o(s,i,r):o(s,i))||r);a>3&&r&&Object.defineProperty(s,i,r)})([l({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),f.style=":popover-open{position:absolute;inset:unset}.gux-popover-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding-block:8px;padding-inline:0;overflow-y:hidden;background-color:var(--gse-ui-popover-backgroundColor);border:none;border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper{}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-width);background:var(--gse-ui-popover-backgroundColor)}";export{f as gux_popover_list_beta}
1
+ import{r as t,c as s,h as i,a as e}from"./p-CjVJoR6g.js";import{a as o,c as a,o as r,f as h,s as n,h as p,b as c}from"./p-C8aV-TzO.js";import{a as d}from"./p-Bg4q97BS.js";import{O as l}from"./p-BvVMx5eW.js";import{t as u}from"./p-m3Lae7sj.js";import{f as b}from"./p-Cr5bTKWF.js";const m=class{constructor(i){t(this,i),this.guxdismiss=s(this,"guxdismiss",7),this.position="bottom",this.closeOnClickOutside=!1,this.isOpen=!1,this.disconnect=void 0}onKeyDown(t){switch(t.key){case"Tab":this.dismiss();break;case"Escape":this.dismiss(),this.forElement.focus()}}checkForClickOutside(t){const s=t.composedPath(),i=b(this.root,this.for),e=s.includes(i);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||e||this.dismiss()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=o(b(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=b(this.root,this.for);this.popupElement&&a(t,this.popupElement,{strategy:"fixed",placement:this.position,middleware:[r(2),h(),n(),p(),c({element:this.arrowElement,padding:16})]}).then((({x:t,y:s,middlewareData:i,placement:e})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${s}px`});const o={top:"bottom",right:"left",bottom:"top",left:"right"}[e.split("-")[0]];if(i.arrow){const{x:t,y:s}=i.arrow;this.popupElement.setAttribute("data-placement",e),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=s?`${s}px`:"",right:"",bottom:"",[o]:"-6.5px",transform:"rotate(45deg)"})}i.hide&&Object.assign(this.popupElement.style,{visibility:i.hide.referenceHidden?"hidden":"visible"})}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1,this.popupElement.togglePopover())}focusFirstItemInPopupList(){d((()=>{this.listElement.guxFocusFirstItem()}))}onKeydown(t){switch(t.key){case"Enter":case" ":this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition(),this.focusFirstItemInPopupList()}}onMouseup(){this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition()}connectedCallback(){u(this.root,{variant:this.position}),this.listElement=this.root.querySelector("gux-list"),this.forElement=b(this.root,this.for),this.forElement.setAttribute("aria-haspopup","true");const t=this.onKeydown.bind(this);this.forElement.addEventListener("keydown",t);const s=this.onMouseup.bind(this);this.forElement.addEventListener("mouseup",s),this.disconnect=()=>{this.forElement.removeEventListener("keydown",t),this.forElement.removeEventListener("mouseup",s)}}componentDidLoad(){this.isOpen&&(this.popupElement.togglePopover(),this.runUpdatePosition())}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnect()}render(){return i("div",{key:"0ff0478efe1ba8e1899bc228752ec9f4419ba9da",ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0,popover:"manual"},i("div",{key:"7795ab8eaeb9f2bce46d077ddb3657766927715b",ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&i("gux-dismiss-button",{key:"c4785dfac5862a8613da0786252246168522b3c8",onClick:this.dismiss.bind(this)}),i("div",{key:"60ab7d17a12537cc5179a78d61e383d44fbe3d21",class:"gux-popover-content"},i("slot",{key:"39d8d972656badb30a576255fe3836a9af53c6ab"})))}get root(){return e(this)}};(function(t,s,i,e){var o,a=arguments.length,r=a<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,i,e);else for(var h=t.length-1;h>=0;h--)(o=t[h])&&(r=(a<3?o(r):a>3?o(s,i,r):o(s,i))||r);a>3&&r&&Object.defineProperty(s,i,r)})([l({triggerEvents:"mousedown"})],m.prototype,"checkForClickOutside",null),m.style=":popover-open{position:absolute;inset:unset}.gux-popover-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding-block:8px;padding-inline:0;overflow-y:hidden;background-color:var(--gse-ui-popover-backgroundColor);border:none;border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper{}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-width);background:var(--gse-ui-popover-backgroundColor)}";export{m as gux_popover_list_beta}
@@ -1 +1 @@
1
- import{r as o,h as r,a as e}from"./p-Dz_2h4jr.js";import{t}from"./p-P-hdUE3M.js";import{b as a}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var i={clear:"Clear"};const n=class{constructor(r){o(this,r)}async componentWillLoad(){t(this.root),this.i18n=await a(this.root,i)}render(){return r("button",{key:"eb2638c446e2cfff03c343a74309d2289920c883",tabIndex:-1,type:"button","aria-label":this.i18n("clear")},r("gux-icon",{key:"56472430d5ed1331a5e8225e0c68660a6f7d76a5","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}),r("gux-tooltip-beta",{key:"87eed8bfc2aef664417d4bbf7ba63521a3886985","visual-only":!0},r("div",{key:"f0bb25c70e210ffb9260c31e72ebd41e17ad9cb0",slot:"content"},this.i18n("clear"))))}static get delegatesFocus(){return!0}get root(){return e(this)}};n.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{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);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)}";export{n as gux_form_field_input_clear_button}
1
+ import{r as o,h as r,a as e}from"./p-CjVJoR6g.js";import{t}from"./p-m3Lae7sj.js";import{b as a}from"./p-D1QZQXQN.js";import"./p-Cd4R0amv.js";var i={clear:"Clear"};const n=class{constructor(r){o(this,r)}async componentWillLoad(){t(this.root),this.i18n=await a(this.root,i)}render(){return r("button",{key:"eb2638c446e2cfff03c343a74309d2289920c883",tabIndex:-1,type:"button","aria-label":this.i18n("clear")},r("gux-icon",{key:"56472430d5ed1331a5e8225e0c68660a6f7d76a5","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}),r("gux-tooltip-beta",{key:"87eed8bfc2aef664417d4bbf7ba63521a3886985","visual-only":!0},r("div",{key:"f0bb25c70e210ffb9260c31e72ebd41e17ad9cb0",slot:"content"},this.i18n("clear"))))}static get delegatesFocus(){return!0}get root(){return e(this)}};n.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{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);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)}";export{n as gux_form_field_input_clear_button}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,a as i}from"./p-Dz_2h4jr.js";const n=class{constructor(t){e(this,t),this.disabled=!1}render(){return t(o,{key:"1cabd7dc66397f71b75c1acdc18f35277c068de5",role:"listitem"},t("button",{key:"89eb3183e96ae36e4bfe6a73ed638a8eea4921d2",type:"button",tabIndex:-1,disabled:this.disabled,"data-testid":"list-item-button"},t("slot",{key:"ddb0be372fa7bb84c39e7e53eacdfe6422116fa1"})))}static get delegatesFocus(){return!0}get root(){return i(this)}};n.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;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;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){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);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button: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);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}";export{n as gux_list_item}
1
+ import{r as e,h as t,H as o,a as i}from"./p-CjVJoR6g.js";const n=class{constructor(t){e(this,t),this.disabled=!1}render(){return t(o,{key:"1cabd7dc66397f71b75c1acdc18f35277c068de5",role:"listitem"},t("button",{key:"89eb3183e96ae36e4bfe6a73ed638a8eea4921d2",type:"button",tabIndex:-1,disabled:this.disabled,"data-testid":"list-item-button"},t("slot",{key:"ddb0be372fa7bb84c39e7e53eacdfe6422116fa1"})))}static get delegatesFocus(){return!0}get root(){return i(this)}};n.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;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;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){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);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button: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);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}";export{n as gux_list_item}
@@ -1 +1 @@
1
- import{f as n}from"./p-Dz_2h4jr.js";import{w as t}from"./p-kLXvN2m9.js";function r(n){return n.closest("gux-tree-beta")}function o(n){return["GUX-LEAF","GUX-BRANCH"].includes(n.tagName)}function u(n){return Boolean(i(n))}function c(n){const t=[];return function n(r){for(const u of Array.from(r.children))o(u)&&t.push(u),"GUX-BRANCH"===u.tagName&&n(u)}(n),t}function e(n){const t=[];return function n(r){for(const c of Array.from(r.children))o(c)&&t.push(c),"GUX-BRANCH"===(u=c).tagName&&u.expanded&&n(c);var u}(n),t}function f(n){return e(n).filter((n=>!n.disabled&&!n.filtered))}function i(n){return e(n).find((n=>n.active))}function a(n){return f(n)[0]}function s(n){const t=f(n);return t[t.length-1]}function l(n,t){n.disabled?b(n):t&&(e(n).forEach((r=>{const o=!r.disabled&&!r.filtered&&r===t;r.active=o,o&&n.setAttribute("aria-activedescendant",r.id)})),t.scrollIntoView({block:"nearest"}))}function b(n){c(n).forEach((n=>{n.active=!1})),n.removeAttribute("aria-activedescendant")}function d(n){l(n,function(n){return e(n).find((n=>n.selected&&!n.disabled&&!n.filtered))}(n)||a(n))}function v(n){l(n,a(n))}function g(n){l(n,s(n))}function x(n){l(n,function(n){if(u(n)&&i(n)!==s(n)){const t=f(n),r=i(n),o=t.indexOf(r);return t[o+1]}return a(n)}(n))}function h(n){l(n,function(n){if(u(n)){const t=f(n),r=t.indexOf(i(n));return i(n)===a(n)?s(n):t[r-1]}return a(n)}(n))}function m(n){l(n,i(n).parentElement.closest("gux-branch"))}function A(n,t){const r=f(i(t));r[0]&&l(n,r[0])}function p(n,t){(null==t?void 0:t.value)&&(c(n).forEach((n=>{n.selected=n===t})),n.value=t.value,t.scrollIntoView({block:"nearest"}))}function B(n,t){const r=function(n,t){return c(n).find((n=>n.value===t))}(n,t);r?(function(n){let t=n.parentElement.closest("gux-branch");for(;t;)t.expanded=!0,t=t.parentElement.closest("gux-branch")}(r),p(n,r)):function(n){c(n).forEach((n=>{n.selected=!1}))}(n)}function X(n){return c(n).some((n=>n.selected))}function j(n){let t=n.parentElement.closest("gux-branch, gux-tree-beta, fieldset");for(;t;){if(t.disabled)return!0;t=t.parentElement.closest("gux-branch, gux-tree-beta, fieldset")}return!1}function k(t){c(t).forEach((t=>{n(t)}))}function G(n){var t;return null===(t=r(n))||void 0===t?void 0:t.size}function N(n){var t;return null===(t=r(n))||void 0===t?void 0:t.alignment}function U({event:n,onLeaf:r,onBranch:o}){let u=!1;t("gux-leaf",n,(n=>{n.value&&(r(n),u=!0)})),u||t("gux-branch",n,(n=>{o(n)}))}export{N as a,X as b,b as c,d,U as e,k as f,G as g,j as h,g as i,v as j,h as k,x as l,p as m,m as n,A as o,B as s}
1
+ import{f as n}from"./p-CjVJoR6g.js";import{w as t}from"./p-kLXvN2m9.js";function r(n){return n.closest("gux-tree-beta")}function o(n){return["GUX-LEAF","GUX-BRANCH"].includes(n.tagName)}function u(n){return Boolean(i(n))}function c(n){const t=[];return function n(r){for(const u of Array.from(r.children))o(u)&&t.push(u),"GUX-BRANCH"===u.tagName&&n(u)}(n),t}function e(n){const t=[];return function n(r){for(const c of Array.from(r.children))o(c)&&t.push(c),"GUX-BRANCH"===(u=c).tagName&&u.expanded&&n(c);var u}(n),t}function f(n){return e(n).filter((n=>!n.disabled&&!n.filtered))}function i(n){return e(n).find((n=>n.active))}function a(n){return f(n)[0]}function s(n){const t=f(n);return t[t.length-1]}function l(n,t){n.disabled?b(n):t&&(e(n).forEach((r=>{const o=!r.disabled&&!r.filtered&&r===t;r.active=o,o&&n.setAttribute("aria-activedescendant",r.id)})),t.scrollIntoView({block:"nearest"}))}function b(n){c(n).forEach((n=>{n.active=!1})),n.removeAttribute("aria-activedescendant")}function d(n){l(n,function(n){return e(n).find((n=>n.selected&&!n.disabled&&!n.filtered))}(n)||a(n))}function g(n){l(n,a(n))}function v(n){l(n,s(n))}function x(n){l(n,function(n){if(u(n)&&i(n)!==s(n)){const t=f(n),r=i(n),o=t.indexOf(r);return t[o+1]}return a(n)}(n))}function h(n){l(n,function(n){if(u(n)){const t=f(n),r=t.indexOf(i(n));return i(n)===a(n)?s(n):t[r-1]}return a(n)}(n))}function m(n){l(n,i(n).parentElement.closest("gux-branch"))}function A(n,t){const r=f(i(t));r[0]&&l(n,r[0])}function p(n,t){(null==t?void 0:t.value)&&(c(n).forEach((n=>{n.selected=n===t})),n.value=t.value,t.scrollIntoView({block:"nearest"}))}function B(n,t){const r=function(n,t){return c(n).find((n=>n.value===t))}(n,t);r?(function(n){let t=n.parentElement.closest("gux-branch");for(;t;)t.expanded=!0,t=t.parentElement.closest("gux-branch")}(r),p(n,r)):function(n){c(n).forEach((n=>{n.selected=!1}))}(n)}function X(n){return c(n).some((n=>n.selected))}function j(n){let t=n.parentElement.closest("gux-branch, gux-tree-beta, fieldset");for(;t;){if(t.disabled)return!0;t=t.parentElement.closest("gux-branch, gux-tree-beta, fieldset")}return!1}function k(t){c(t).forEach((t=>{n(t)}))}function C(n){var t;return null===(t=r(n))||void 0===t?void 0:t.size}function G(n){var t;return null===(t=r(n))||void 0===t?void 0:t.alignment}function N({event:n,onLeaf:r,onBranch:o}){let u=!1;t("gux-leaf",n,(n=>{n.value&&(r(n),u=!0)})),u||t("gux-branch",n,(n=>{o(n)}))}export{G as a,X as b,b as c,d,N as e,k as f,C as g,j as h,v as i,g as j,h as k,x as l,p as m,m as n,A as o,B as s}
@@ -1 +1 @@
1
- import{a as n}from"./p-Dz_2h4jr.js";const t={triggerEvents:"click",exclude:""};function c(c=t){return(o,i)=>{const{connectedCallback:r,disconnectedCallback:u}=o,s=new Map;o.connectedCallback=function(){const o=n(this);return function(n,c,o,i,r=t){const u=function(n){if(n.exclude)try{return Array.from(document.querySelectorAll(n.exclude))}catch(t){console.warn(`@OnClickOutside: Exclude: '${n.exclude}' will not be evaluated. Check your exclude selector syntax.`,t)}}(r),s=n=>{!function(n,t,c,e,o){const i=n.composedPath();i.includes(c)||function(n,t){return!(!n||!t)&&t.some((t=>n.includes(t)))}(i,o)||!c.isConnected||e.call(t,n)}(n,c,o,i,u)};n.set(c,s),e(r).forEach((n=>{window.addEventListener(n,s,!1)}))}(s,this,o,this[i],c),r&&r.call(this)},o.disconnectedCallback=function(){return function(n,c,o=t){const i=n.get(c);n.delete(c),e(o).forEach((n=>{window.removeEventListener(n,i,!1)}))}(s,this,c),u&&u.call(this)}}}function e(n){let t;return t=n.triggerEvents?n.triggerEvents.split(",").map((n=>n.trim())):["click"],t.includes("blur")||t.push("blur"),t}export{c as O}
1
+ import{a as n}from"./p-CjVJoR6g.js";const t={triggerEvents:"click",exclude:""};function c(c=t){return(o,i)=>{const{connectedCallback:r,disconnectedCallback:u}=o,s=new Map;o.connectedCallback=function(){const o=n(this);return function(n,c,o,i,r=t){const u=function(n){if(n.exclude)try{return Array.from(document.querySelectorAll(n.exclude))}catch(t){console.warn(`@OnClickOutside: Exclude: '${n.exclude}' will not be evaluated. Check your exclude selector syntax.`,t)}}(r),s=n=>{!function(n,t,c,e,o){const i=n.composedPath();i.includes(c)||function(n,t){return!(!n||!t)&&t.some((t=>n.includes(t)))}(i,o)||!c.isConnected||e.call(t,n)}(n,c,o,i,u)};n.set(c,s),e(r).forEach((n=>{window.addEventListener(n,s,!1)}))}(s,this,o,this[i],c),r&&r.call(this)},o.disconnectedCallback=function(){return function(n,c,o=t){const i=n.get(c);n.delete(c),e(o).forEach((n=>{window.removeEventListener(n,i,!1)}))}(s,this,c),u&&u.call(this)}}}function e(n){let t;return t=n.triggerEvents?n.triggerEvents.split(",").map((n=>n.trim())):["click"],t.includes("blur")||t.push("blur"),t}export{c as O}