genesys-spark-components 4.187.0 → 4.187.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 (699) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/{get-valid-timezone-wrCyyRlV.js → get-valid-timezone-Bnt1qVB-.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 +5 -5
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +5 -5
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +4 -4
  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 +5 -5
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-badge.cjs.entry.js +5 -5
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +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 +4 -4
  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 +3 -3
  27. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +4 -4
  30. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +4 -4
  31. package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
  32. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  34. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  35. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
  39. package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
  40. package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
  41. package/dist/cjs/gux-day-beta.cjs.entry.js +3 -3
  42. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  44. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
  46. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-dropdown_3.cjs.entry.js +6 -6
  48. package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
  49. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
  51. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
  54. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  55. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  56. package/dist/cjs/{gux-form-field-container-C_ksnWvh.js → gux-form-field-container-BkBBWJ-I.js} +1 -1
  57. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
  58. package/dist/cjs/{gux-form-field-error-DsQplUhW.js → gux-form-field-error-FIcB4Fjw.js} +1 -1
  59. package/dist/cjs/{gux-form-field-fieldset-container-DDS9BG7u.js → gux-form-field-fieldset-container-SYa1tvh_.js} +1 -1
  60. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
  61. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  62. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
  63. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  64. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -14
  65. package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
  66. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
  67. package/dist/cjs/gux-form-field-radio.cjs.entry.js +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 +10 -10
  74. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
  75. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  82. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +6 -6
  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 +6 -6
  93. package/dist/cjs/gux-logomark-beta.cjs.entry.js +4 -4
  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 +3 -3
  100. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
  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 +4 -4
  106. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  109. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
  110. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  112. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +5 -5
  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 +5 -5
  120. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-rating.cjs.entry.js +5 -5
  123. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +5 -5
  124. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +5 -5
  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 +5 -5
  127. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +5 -5
  128. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +5 -5
  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 +7 -7
  131. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
  133. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  136. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  137. package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
  138. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +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 +4 -4
  146. package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
  147. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  148. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-submenu.cjs.entry.js +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 +4 -4
  155. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  157. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  158. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  159. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  160. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  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 +5 -5
  164. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  165. package/dist/cjs/gux-table.cjs.entry.js +4 -4
  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 +5 -5
  169. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  170. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  171. package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
  172. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
  173. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
  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 +5 -5
  177. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  178. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  179. package/dist/cjs/gux-tooltip-title.cjs.entry.js +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-BFBspBvZ.js → gux-tree-multi.service-BMVYO4y1.js} +1 -1
  184. package/dist/cjs/{gux-tree.service-DM6q_PoD.js → gux-tree.service-DSfLZNH7.js} +1 -1
  185. package/dist/cjs/{index-CjUBUVCO.js → index-CnZZCg2E.js} +1 -1
  186. package/dist/cjs/index-DJ9HGtdZ.js +2759 -0
  187. package/dist/cjs/loader.cjs.js +1 -1
  188. package/dist/cjs/{on-click-outside-CXDzyPsA.js → on-click-outside-Cn9ProR4.js} +1 -1
  189. package/dist/cjs/{on-mutation-Bpt2qL-s.js → on-mutation-una8GcoZ.js} +1 -1
  190. package/dist/cjs/{on-resize-nisbdZkE.js → on-resize-BVaymqbW.js} +1 -1
  191. package/dist/cjs/{usage-AjULwro2.js → usage-Ypiicskt.js} +1 -1
  192. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.js +2 -2
  193. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +3 -3
  194. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.js +2 -2
  195. package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.js +2 -2
  196. package/dist/collection/components/beta/gux-cloud-logo/gux-cloud-logo.js +2 -2
  197. package/dist/collection/components/beta/gux-cloud-logomark/gux-cloud-logomark.js +2 -2
  198. package/dist/collection/components/beta/gux-date/gux-date.js +3 -3
  199. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +3 -3
  200. package/dist/collection/components/beta/gux-day/gux-day.js +2 -2
  201. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +2 -2
  202. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +2 -2
  203. package/dist/collection/components/beta/gux-logo/gux-logo.js +4 -4
  204. package/dist/collection/components/beta/gux-logomark/gux-logomark.js +2 -2
  205. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +2 -2
  206. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +2 -2
  207. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +2 -2
  208. package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +3 -3
  209. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +2 -2
  210. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +2 -2
  211. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +2 -2
  212. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action.js +1 -1
  213. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +3 -3
  214. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +3 -3
  215. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +2 -2
  216. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +2 -2
  217. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +3 -3
  218. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +3 -3
  219. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +3 -3
  220. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +2 -2
  221. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +3 -3
  222. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +2 -2
  223. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +2 -2
  224. package/dist/collection/components/stable/gux-badge/gux-badge.js +2 -2
  225. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +2 -2
  226. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +2 -2
  227. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +4 -4
  228. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +2 -2
  229. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +3 -3
  230. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +3 -3
  231. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +2 -2
  232. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +2 -2
  233. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +3 -3
  234. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +2 -2
  235. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +2 -2
  236. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +2 -2
  237. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +3 -3
  238. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +3 -3
  239. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +4 -4
  240. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +3 -3
  241. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +2 -2
  242. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +4 -4
  243. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +5 -5
  244. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +3 -3
  245. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +5 -5
  246. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +4 -4
  247. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +2 -2
  248. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-label-indicator/gux-form-field-label-indicator.js +1 -1
  249. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +3 -3
  250. package/dist/collection/components/stable/gux-listbox/gux-listbox.js +1 -1
  251. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +3 -3
  252. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +1 -1
  253. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +3 -3
  254. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +3 -3
  255. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +2 -2
  256. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +5 -5
  257. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +3 -3
  258. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +2 -2
  259. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +1 -1
  260. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +2 -2
  261. package/dist/collection/components/stable/gux-rating/gux-rating.js +2 -2
  262. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +2 -2
  263. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +2 -2
  264. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +3 -3
  265. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  266. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +2 -2
  267. package/dist/collection/components/stable/gux-table/gux-table.js +2 -2
  268. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +2 -2
  269. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +3 -3
  270. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +3 -3
  271. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +2 -2
  272. package/dist/collection/components/stable/gux-tag/gux-tag.js +2 -2
  273. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +2 -2
  274. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.service.js +1 -1
  275. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +3 -3
  276. package/dist/esm/genesys-webcomponents.js +2 -2
  277. package/dist/esm/{get-valid-timezone-LDHU1yLM.js → get-valid-timezone-BwWDgKs2.js} +1 -1
  278. package/dist/esm/gux-accordion-section.entry.js +1 -1
  279. package/dist/esm/gux-accordion.entry.js +2 -2
  280. package/dist/esm/gux-action-button.entry.js +5 -5
  281. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  282. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
  283. package/dist/esm/gux-all-row-select.entry.js +3 -3
  284. package/dist/esm/gux-announce-beta.entry.js +2 -2
  285. package/dist/esm/gux-avatar-beta.entry.js +5 -5
  286. package/dist/esm/gux-avatar-change-photo-beta.entry.js +4 -4
  287. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  288. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +5 -5
  289. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  290. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  291. package/dist/esm/gux-badge.entry.js +5 -5
  292. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  293. package/dist/esm/gux-blank-state.entry.js +3 -3
  294. package/dist/esm/gux-branch-multi.entry.js +2 -2
  295. package/dist/esm/gux-branch.entry.js +2 -2
  296. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  297. package/dist/esm/gux-breadcrumbs.entry.js +4 -4
  298. package/dist/esm/gux-button-multi.entry.js +3 -3
  299. package/dist/esm/gux-button-slot.entry.js +2 -2
  300. package/dist/esm/gux-button_2.entry.js +3 -3
  301. package/dist/esm/gux-calendar-beta.entry.js +3 -3
  302. package/dist/esm/gux-calendar.entry.js +4 -4
  303. package/dist/esm/gux-card.entry.js +2 -2
  304. package/dist/esm/gux-cloud-logo-beta.entry.js +4 -4
  305. package/dist/esm/gux-cloud-logomark-beta.entry.js +4 -4
  306. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  307. package/dist/esm/gux-column-manager.entry.js +4 -4
  308. package/dist/esm/gux-content-search.entry.js +5 -5
  309. package/dist/esm/gux-context-menu.entry.js +6 -6
  310. package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
  311. package/dist/esm/gux-create-option.entry.js +4 -4
  312. package/dist/esm/gux-cta-group.entry.js +1 -1
  313. package/dist/esm/gux-date-beta.entry.js +5 -5
  314. package/dist/esm/gux-date-time-beta.entry.js +5 -5
  315. package/dist/esm/gux-datepicker.entry.js +5 -5
  316. package/dist/esm/gux-day-beta.entry.js +3 -3
  317. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  318. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  319. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  320. package/dist/esm/gux-dropdown-multi.entry.js +6 -6
  321. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  322. package/dist/esm/gux-dropdown_3.entry.js +6 -6
  323. package/dist/esm/gux-file-list-item.entry.js +5 -5
  324. package/dist/esm/gux-flag-icon-beta.entry.js +4 -4
  325. package/dist/esm/gux-flyout-menu.entry.js +5 -5
  326. package/dist/esm/gux-form-beta.entry.js +1 -1
  327. package/dist/esm/gux-form-description.entry.js +1 -1
  328. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
  329. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  330. package/dist/esm/gux-form-field-color.entry.js +5 -5
  331. package/dist/esm/{gux-form-field-container-Dp9t605U.js → gux-form-field-container-CFRZ4efk.js} +1 -1
  332. package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
  333. package/dist/esm/{gux-form-field-error-CUxY2-XD.js → gux-form-field-error-DqC53Y19.js} +1 -1
  334. package/dist/esm/{gux-form-field-fieldset-container-BT88yCp7.js → gux-form-field-fieldset-container-DgG_S0vs.js} +1 -1
  335. package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
  336. package/dist/esm/gux-form-field-file.entry.js +5 -5
  337. package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
  338. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  339. package/dist/esm/gux-form-field-number_2.entry.js +14 -14
  340. package/dist/esm/gux-form-field-phone.entry.js +10 -10
  341. package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
  342. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  343. package/dist/esm/gux-form-field-range.entry.js +6 -6
  344. package/dist/esm/gux-form-field-search.entry.js +5 -5
  345. package/dist/esm/gux-form-field-select.entry.js +5 -5
  346. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  347. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  348. package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
  349. package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
  350. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  351. package/dist/esm/gux-form-footer.entry.js +2 -2
  352. package/dist/esm/gux-form-heading.entry.js +1 -1
  353. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  354. package/dist/esm/gux-icon.entry.js +2 -2
  355. package/dist/esm/gux-illustration-beta.entry.js +2 -2
  356. package/dist/esm/gux-inline-alert.entry.js +5 -5
  357. package/dist/esm/gux-inline-dropdown-beta.entry.js +6 -6
  358. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  359. package/dist/esm/gux-leaf-multi.entry.js +2 -2
  360. package/dist/esm/gux-leaf.entry.js +2 -2
  361. package/dist/esm/gux-link-beta.entry.js +2 -2
  362. package/dist/esm/gux-list-divider.entry.js +1 -1
  363. package/dist/esm/gux-list-item.entry.js +1 -1
  364. package/dist/esm/gux-list.entry.js +2 -2
  365. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  366. package/dist/esm/gux-loading-message.entry.js +2 -2
  367. package/dist/esm/gux-logo-beta.entry.js +6 -6
  368. package/dist/esm/gux-logomark-beta.entry.js +4 -4
  369. package/dist/esm/gux-menu-option.entry.js +1 -1
  370. package/dist/esm/gux-menu.entry.js +1 -1
  371. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  372. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  373. package/dist/esm/gux-modal.entry.js +2 -2
  374. package/dist/esm/gux-month-calendar.entry.js +3 -3
  375. package/dist/esm/gux-month-list_2.entry.js +1 -1
  376. package/dist/esm/gux-month-picker-beta.entry.js +5 -5
  377. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  378. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  379. package/dist/esm/gux-option-icon.entry.js +1 -1
  380. package/dist/esm/gux-option-multi.entry.js +4 -4
  381. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  382. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  383. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  384. package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
  385. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  386. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  387. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  388. package/dist/esm/gux-pagination.entry.js +2 -2
  389. package/dist/esm/gux-phone-input-beta.entry.js +5 -5
  390. package/dist/esm/gux-popover-beta.entry.js +3 -3
  391. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  392. package/dist/esm/gux-popover-list.entry.js +3 -3
  393. package/dist/esm/gux-popup.entry.js +1 -1
  394. package/dist/esm/gux-prompt-input-beta.entry.js +5 -5
  395. package/dist/esm/gux-radial-loading.entry.js +4 -4
  396. package/dist/esm/gux-radial-progress.entry.js +2 -2
  397. package/dist/esm/gux-rating.entry.js +5 -5
  398. package/dist/esm/gux-rich-highlight-list-item.entry.js +5 -5
  399. package/dist/esm/gux-rich-style-list-item_3.entry.js +5 -5
  400. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  401. package/dist/esm/gux-rich-text-editor-action-link.entry.js +5 -5
  402. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +5 -5
  403. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +5 -5
  404. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  405. package/dist/esm/gux-rich-text-editor-beta.entry.js +7 -7
  406. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  407. package/dist/esm/gux-row-select.entry.js +4 -4
  408. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  409. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  410. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  411. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  412. package/dist/esm/gux-select-all.entry.js +4 -4
  413. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  414. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  415. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  416. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  417. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  418. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  419. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  420. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  421. package/dist/esm/gux-sort-control.entry.js +5 -5
  422. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  423. package/dist/esm/gux-step-title.entry.js +2 -2
  424. package/dist/esm/gux-step.entry.js +2 -2
  425. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  426. package/dist/esm/gux-submenu.entry.js +1 -1
  427. package/dist/esm/gux-switch-item.entry.js +1 -1
  428. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  429. package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
  430. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  431. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  432. package/dist/esm/gux-tab-list.entry.js +5 -5
  433. package/dist/esm/gux-tab-panel.entry.js +1 -1
  434. package/dist/esm/gux-tab.entry.js +1 -1
  435. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  436. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  437. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  438. package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
  439. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  440. package/dist/esm/gux-table.entry.js +4 -4
  441. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  442. package/dist/esm/gux-tabs.entry.js +2 -2
  443. package/dist/esm/gux-tag.entry.js +5 -5
  444. package/dist/esm/gux-text-highlight.entry.js +2 -2
  445. package/dist/esm/gux-time-beta.entry.js +4 -4
  446. package/dist/esm/gux-time-picker.entry.js +5 -5
  447. package/dist/esm/gux-time-zone-beta.entry.js +4 -4
  448. package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
  449. package/dist/esm/gux-toast.entry.js +2 -2
  450. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  451. package/dist/esm/gux-toggle.entry.js +5 -5
  452. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  453. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  454. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  455. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  456. package/dist/esm/gux-tree-beta.entry.js +3 -3
  457. package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
  458. package/dist/esm/{gux-tree-multi.service-BLZ1mRfa.js → gux-tree-multi.service-CEhOBcZd.js} +1 -1
  459. package/dist/esm/{gux-tree.service-BDeQhvUY.js → gux-tree.service-DG8xt8RZ.js} +1 -1
  460. package/dist/esm/{index-BcJFUYIV.js → index-CeE4Vvh6.js} +1 -1
  461. package/dist/esm/index-mm833MRp.js +2727 -0
  462. package/dist/esm/loader.js +2 -2
  463. package/dist/esm/{on-click-outside-CQ9-ZPII.js → on-click-outside-BDKZueG1.js} +1 -1
  464. package/dist/esm/{on-mutation-CEhI74kI.js → on-mutation-BAeUmzgF.js} +1 -1
  465. package/dist/esm/{on-resize-BzUqKdDk.js → on-resize-ByRtFU8p.js} +1 -1
  466. package/dist/esm/{usage-Rs2JRIbr.js → usage-Bk9hX_6O.js} +1 -1
  467. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  468. package/dist/genesys-webcomponents/genesys-webcomponents.css +9 -9
  469. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  470. package/dist/genesys-webcomponents/{p-6b824fd9.entry.js → p-013e3c33.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-604b2744.entry.js → p-024c5bd7.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-7d44c65c.entry.js → p-03897c15.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-1143e67a.entry.js → p-04431ed6.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/p-09146dba.entry.js +1 -0
  475. package/dist/genesys-webcomponents/{p-735e8911.entry.js → p-091f39f1.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-d6bab5ee.entry.js → p-09649590.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-85ac0d64.entry.js → p-09de7dec.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-4f987d3f.entry.js → p-09f33fd5.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-3de77c0a.entry.js → p-0cbff9e9.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/p-0dacef46.entry.js +1 -0
  481. package/dist/genesys-webcomponents/{p-9194b48f.entry.js → p-0f3b84f0.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-DTOY_vUZ.js → p-0tG-lFhH.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-9d5748bc.entry.js → p-10260c86.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-4e7ebeb5.entry.js → p-149c0790.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-3fb0d661.entry.js → p-15694ab7.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-e79a1499.entry.js → p-15f3a969.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-6b60a5ab.entry.js → p-163b7982.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-6b9009ab.entry.js → p-189457b6.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-5ad94ac4.entry.js → p-18a14293.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-9e128581.entry.js → p-19040d1c.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-14e0a23c.entry.js → p-1a6f96bc.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-80796be1.entry.js → p-1bd94bc5.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-e2a61aa7.entry.js → p-1c41349d.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-ecf7e943.entry.js → p-1d3ebb8c.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-2ca39314.entry.js → p-1ff8c4dc.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/p-1mmdDpx8.js +1 -0
  497. package/dist/genesys-webcomponents/{p-511680eb.entry.js → p-20c7d0fb.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-6143f5e6.entry.js → p-2236e4f5.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-68e1a751.entry.js → p-2501d280.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-f0adb667.entry.js → p-250391fe.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-ca5895ae.entry.js → p-2661b07e.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/p-2a98b607.entry.js +1 -0
  503. package/dist/genesys-webcomponents/{p-2d995ba2.entry.js → p-2d2af6d1.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-388c0bf5.entry.js → p-2ed010a8.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-d044fae7.entry.js → p-2fcc608f.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-793f4896.entry.js → p-321d85f8.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-da6fd610.entry.js → p-32f17393.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-df07b95c.entry.js → p-349f1afa.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-594ea8d2.entry.js → p-34c655eb.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-ee016e6f.entry.js → p-367ea289.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-fba7d262.entry.js → p-36af37ae.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-4e78c189.entry.js → p-37b38bcc.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-1e7418da.entry.js → p-38fc0f14.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-915f735e.entry.js → p-3d4ebed0.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/p-3e50360d.entry.js +1 -0
  516. package/dist/genesys-webcomponents/p-3e898719.entry.js +1 -0
  517. package/dist/genesys-webcomponents/{p-69f74026.entry.js → p-3ecb4060.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-b9687ebc.entry.js → p-4350f7bc.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-76413a19.entry.js → p-4485df35.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-d4b9fb68.entry.js → p-459e19df.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-4d4a75d3.entry.js → p-47ba2493.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/p-487b8a7f.entry.js +1 -0
  523. package/dist/genesys-webcomponents/{p-4824adb4.entry.js → p-4b5e919b.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-f8b08e9b.entry.js → p-4c2f1433.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-19e601ac.entry.js → p-4d4de998.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-0138cf91.entry.js → p-4d7bea11.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-8928dc71.entry.js → p-4e5d7bcb.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-817e1c7c.entry.js → p-51afd986.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/p-53a84f93.entry.js +1 -0
  530. package/dist/genesys-webcomponents/{p-1b629207.entry.js → p-545bc747.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-5f8eab1d.entry.js → p-54608dba.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-f61405e3.entry.js → p-56eefc7c.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-529d0936.entry.js → p-581d8bab.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-b2fe2d58.entry.js → p-5826fdec.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-2751551a.entry.js → p-5a6accac.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/p-5cc0dc7b.entry.js +1 -0
  537. package/dist/genesys-webcomponents/{p-5966f299.entry.js → p-5cff9d1c.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-d76e2e8b.entry.js → p-5d8114f4.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-dd86e60a.entry.js → p-5e6a3b79.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-ada55ecc.entry.js → p-5f4d960f.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-cb7016bc.entry.js → p-6111e683.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-c730f729.entry.js → p-6419f6ef.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-bbdee0aa.entry.js → p-64b8f3c0.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/p-6747cb6b.entry.js +1 -0
  545. package/dist/genesys-webcomponents/{p-0689c05f.entry.js → p-67ae6c31.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-02c0c8bd.entry.js → p-682398bc.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/p-686a3f3c.entry.js +1 -0
  548. package/dist/genesys-webcomponents/{p-13ad07ed.entry.js → p-68826892.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-97f44251.entry.js → p-6b20aa19.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-4583ad97.entry.js → p-71d25073.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-c65a772e.entry.js → p-72be9416.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-6673b677.entry.js → p-73b5d09a.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/p-7421a1b7.entry.js +1 -0
  554. package/dist/genesys-webcomponents/{p-5f8fb9e7.entry.js → p-743e60e7.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-c4f46959.entry.js → p-777c1a9e.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-d3c8b3f6.entry.js → p-77ddb8e9.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-116b0969.entry.js → p-77e16378.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/p-780e2bbc.entry.js +1 -0
  559. package/dist/genesys-webcomponents/{p-51363810.entry.js → p-78e4a090.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/p-791c159e.entry.js +1 -0
  561. package/dist/genesys-webcomponents/p-7a1645fa.entry.js +1 -0
  562. package/dist/genesys-webcomponents/{p-89ea2249.entry.js → p-7a3b6441.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-80c1b60d.entry.js → p-7b4ccc02.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-2c696396.entry.js → p-82f103c4.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-41f2f980.entry.js → p-85aa96c9.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-a602ddd7.entry.js → p-869cbfef.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/p-873a4971.entry.js +1 -0
  568. package/dist/genesys-webcomponents/{p-7c30b05d.entry.js → p-8a7fe03e.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-e6c4c61a.entry.js → p-8a91eb6a.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-9aba9db8.entry.js → p-8ba208a6.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-654484f4.entry.js → p-8d6ed0bb.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-88c3eac2.entry.js → p-90110fb2.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-82b24a37.entry.js → p-951e0b12.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-542efa61.entry.js → p-9607d0ae.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-5b476ecb.entry.js → p-96e984bd.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/{p-a92ac07f.entry.js → p-98004717.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/p-981cdb0b.entry.js +1 -0
  578. package/dist/genesys-webcomponents/{p-804b04f3.entry.js → p-9840f9d8.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/p-99e2e425.entry.js +1 -0
  580. package/dist/genesys-webcomponents/{p-455e5b12.entry.js → p-9a096d50.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/p-9a329638.entry.js +1 -0
  582. package/dist/genesys-webcomponents/{p-6dbe33e3.entry.js → p-9bfab72c.entry.js} +1 -1
  583. package/dist/genesys-webcomponents/p-9e7c72ef.entry.js +1 -0
  584. package/dist/genesys-webcomponents/{p-eee9623f.entry.js → p-9eaaa1c0.entry.js} +1 -1
  585. package/dist/genesys-webcomponents/{p-af889d1b.entry.js → p-9f492956.entry.js} +1 -1
  586. package/dist/genesys-webcomponents/{p-Rs2JRIbr.js → p-Bk9hX_6O.js} +1 -1
  587. package/dist/genesys-webcomponents/{p-kyGdOoF4.js → p-BkM3RdTO.js} +1 -1
  588. package/dist/genesys-webcomponents/{p-CuKTBQuB.js → p-Bxg2lxW0.js} +1 -1
  589. package/dist/genesys-webcomponents/{p-BS-Yw6fq.js → p-CoPBSWau.js} +1 -1
  590. package/dist/genesys-webcomponents/{p-BvVMx5eW.js → p-CuMZPTZF.js} +1 -1
  591. package/dist/genesys-webcomponents/{p-DcL3bWH_.js → p-D7iHtfrY.js} +1 -1
  592. package/dist/genesys-webcomponents/{p-5GSd1tCA.js → p-DR1RHELj.js} +1 -1
  593. package/dist/genesys-webcomponents/{p-D1QZQXQN.js → p-D_8CR3cJ.js} +1 -1
  594. package/dist/genesys-webcomponents/{p-hPZIPnvb.js → p-KbW44rlb.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-c24d26bd.entry.js → p-a4d41223.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-abd41a0a.entry.js → p-a6077763.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/{p-6ced25e5.entry.js → p-abb54abc.entry.js} +1 -1
  598. package/dist/genesys-webcomponents/{p-a1fd1b76.entry.js → p-abfec18e.entry.js} +1 -1
  599. package/dist/genesys-webcomponents/{p-daeb7b3d.entry.js → p-ac905094.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/p-ade4ba99.entry.js +1 -0
  601. package/dist/genesys-webcomponents/{p-6af9c429.entry.js → p-ae3a0ed8.entry.js} +1 -1
  602. package/dist/genesys-webcomponents/{p-a47e8d79.entry.js → p-ae67f863.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/{p-a19435f2.entry.js → p-aff0c154.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/{p-4109c6f3.entry.js → p-b2d1ecce.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-d481cd97.entry.js → p-b3e3f1ec.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/{p-8a7d7ab8.entry.js → p-b6e80839.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/{p-c4aa7007.entry.js → p-b892cde5.entry.js} +1 -1
  608. package/dist/genesys-webcomponents/{p-c7c698a3.entry.js → p-b98a9f78.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/{p-e8b1acf8.entry.js → p-bad949b8.entry.js} +1 -1
  610. package/dist/genesys-webcomponents/p-bb323488.entry.js +1 -0
  611. package/dist/genesys-webcomponents/{p-a5b09cd4.entry.js → p-bc6e07cf.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/{p-56600163.entry.js → p-bef8cc12.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-211b4081.entry.js → p-c1db307f.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-abaf39a1.entry.js → p-c2d2430e.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-7aa3759d.entry.js → p-c4dee7b9.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-56914068.entry.js → p-ca64f653.entry.js} +1 -1
  617. package/dist/genesys-webcomponents/{p-7c0e93f8.entry.js → p-cd893268.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/{p-7c2f239e.entry.js → p-cdb721d8.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/p-cedfa7c0.entry.js +1 -0
  620. package/dist/genesys-webcomponents/{p-14c696cd.entry.js → p-cf318744.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/{p-c2ba0289.entry.js → p-d219d656.entry.js} +1 -1
  622. package/dist/genesys-webcomponents/{p-394673f5.entry.js → p-d3b1d624.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/{p-82b687a0.entry.js → p-d4135044.entry.js} +1 -1
  624. package/dist/genesys-webcomponents/{p-404dc0eb.entry.js → p-d47e350b.entry.js} +2 -2
  625. package/dist/genesys-webcomponents/{p-a4a9aee6.entry.js → p-d784f87d.entry.js} +1 -1
  626. package/dist/genesys-webcomponents/{p-c8780166.entry.js → p-d7a2b347.entry.js} +1 -1
  627. package/dist/genesys-webcomponents/{p-e188a089.entry.js → p-d9ba561a.entry.js} +1 -1
  628. package/dist/genesys-webcomponents/{p-9876b783.entry.js → p-dbdc447e.entry.js} +1 -1
  629. package/dist/genesys-webcomponents/{p-e13a8c22.entry.js → p-dbe2fed8.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/p-dc1fee05.entry.js +1 -0
  631. package/dist/genesys-webcomponents/{p-f251e963.entry.js → p-dd9d3bc9.entry.js} +1 -1
  632. package/dist/genesys-webcomponents/{p-f798847a.entry.js → p-df4ac31b.entry.js} +1 -1
  633. package/dist/genesys-webcomponents/{p-6072777e.entry.js → p-e0f750be.entry.js} +1 -1
  634. package/dist/genesys-webcomponents/{p-d7a86919.entry.js → p-e18193c8.entry.js} +1 -1
  635. package/dist/genesys-webcomponents/{p-53d57143.entry.js → p-e21679ab.entry.js} +1 -1
  636. package/dist/genesys-webcomponents/p-e34ce4a0.entry.js +1 -0
  637. package/dist/genesys-webcomponents/p-e3671880.entry.js +1 -0
  638. package/dist/genesys-webcomponents/{p-91e7a597.entry.js → p-e5eea8aa.entry.js} +1 -1
  639. package/dist/genesys-webcomponents/{p-42b34fb6.entry.js → p-e902c696.entry.js} +1 -1
  640. package/dist/genesys-webcomponents/{p-31849628.entry.js → p-e92c1b8a.entry.js} +1 -1
  641. package/dist/genesys-webcomponents/{p-e3392f3b.entry.js → p-e95226d1.entry.js} +1 -1
  642. package/dist/genesys-webcomponents/{p-c6b1df0a.entry.js → p-ea2ad326.entry.js} +1 -1
  643. package/dist/genesys-webcomponents/{p-ba3376c4.entry.js → p-ea40f5b2.entry.js} +1 -1
  644. package/dist/genesys-webcomponents/{p-11ed456c.entry.js → p-eb5a48e9.entry.js} +1 -1
  645. package/dist/genesys-webcomponents/{p-5feccc59.entry.js → p-ede10314.entry.js} +1 -1
  646. package/dist/genesys-webcomponents/{p-c7da3b17.entry.js → p-ee14d94c.entry.js} +1 -1
  647. package/dist/genesys-webcomponents/{p-5bf1dc65.entry.js → p-ee857ca7.entry.js} +1 -1
  648. package/dist/genesys-webcomponents/p-f26230e7.entry.js +1 -0
  649. package/dist/genesys-webcomponents/{p-f40ced8a.entry.js → p-f26867a3.entry.js} +1 -1
  650. package/dist/genesys-webcomponents/{p-fd62e802.entry.js → p-f413af7f.entry.js} +1 -1
  651. package/dist/genesys-webcomponents/{p-ba4a9c32.entry.js → p-f60dd4e1.entry.js} +1 -1
  652. package/dist/genesys-webcomponents/{p-21751fc9.entry.js → p-f781f503.entry.js} +1 -1
  653. package/dist/genesys-webcomponents/{p-584f4cab.entry.js → p-f9f43ca9.entry.js} +1 -1
  654. package/dist/genesys-webcomponents/p-f9f5f4b9.entry.js +1 -0
  655. package/dist/genesys-webcomponents/{p-b10829bc.entry.js → p-fb7ec589.entry.js} +1 -1
  656. package/dist/genesys-webcomponents/{p-cb4791a1.entry.js → p-fc6234ce.entry.js} +1 -1
  657. package/dist/genesys-webcomponents/p-ff393e3b.entry.js +1 -0
  658. package/dist/genesys-webcomponents/p-mm833MRp.js +2 -0
  659. package/dist/stencil-wrapper.js +1 -1
  660. package/dist/types/components/beta/gux-date/gux-date.d.ts +2 -2
  661. package/dist/types/components/beta/gux-date-time/gux-date-time.d.ts +2 -2
  662. package/dist/types/components/beta/gux-phone-input/services/region-map.service.d.ts +1 -1
  663. package/dist/types/components/stable/gux-datepicker/gux-datepicker.d.ts +1 -1
  664. package/dist/types/components/stable/gux-flyout-menu/gux-flyout-menu.d.ts +1 -1
  665. package/dist/types/components.d.ts +10 -6
  666. package/dist/types/stencil-wrapper.d.ts +1 -1
  667. package/package.json +1 -1
  668. package/dist/cjs/index-C1LZ-Zd8.js +0 -2759
  669. package/dist/esm/index-CjVJoR6g.js +0 -2727
  670. package/dist/genesys-webcomponents/p-09559c89.entry.js +0 -1
  671. package/dist/genesys-webcomponents/p-0b8dda78.entry.js +0 -1
  672. package/dist/genesys-webcomponents/p-210c186b.entry.js +0 -1
  673. package/dist/genesys-webcomponents/p-22829ab6.entry.js +0 -1
  674. package/dist/genesys-webcomponents/p-25f680c1.entry.js +0 -1
  675. package/dist/genesys-webcomponents/p-2719b581.entry.js +0 -1
  676. package/dist/genesys-webcomponents/p-34b4b88f.entry.js +0 -1
  677. package/dist/genesys-webcomponents/p-3f0ee34a.entry.js +0 -1
  678. package/dist/genesys-webcomponents/p-444f40f2.entry.js +0 -1
  679. package/dist/genesys-webcomponents/p-460bccb8.entry.js +0 -1
  680. package/dist/genesys-webcomponents/p-4c173cf5.entry.js +0 -1
  681. package/dist/genesys-webcomponents/p-563631e1.entry.js +0 -1
  682. package/dist/genesys-webcomponents/p-5d97fc6f.entry.js +0 -1
  683. package/dist/genesys-webcomponents/p-6a52bb89.entry.js +0 -1
  684. package/dist/genesys-webcomponents/p-81326113.entry.js +0 -1
  685. package/dist/genesys-webcomponents/p-88ab5dbc.entry.js +0 -1
  686. package/dist/genesys-webcomponents/p-95fe5745.entry.js +0 -1
  687. package/dist/genesys-webcomponents/p-CjVJoR6g.js +0 -2
  688. package/dist/genesys-webcomponents/p-DaK6PJIg.js +0 -1
  689. package/dist/genesys-webcomponents/p-a64eb544.entry.js +0 -1
  690. package/dist/genesys-webcomponents/p-aebc7595.entry.js +0 -1
  691. package/dist/genesys-webcomponents/p-b72a5a0e.entry.js +0 -1
  692. package/dist/genesys-webcomponents/p-c1e6e606.entry.js +0 -1
  693. package/dist/genesys-webcomponents/p-c4ad9367.entry.js +0 -1
  694. package/dist/genesys-webcomponents/p-cf52b41d.entry.js +0 -1
  695. package/dist/genesys-webcomponents/p-d7c19e09.entry.js +0 -1
  696. package/dist/genesys-webcomponents/p-dea58474.entry.js +0 -1
  697. package/dist/genesys-webcomponents/p-e05cf7c9.entry.js +0 -1
  698. package/dist/genesys-webcomponents/p-e0d0f67d.entry.js +0 -1
  699. package/dist/genesys-webcomponents/p-f2f5743f.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,h as g}from"./p-CjVJoR6g.js";const r=class{constructor(g){e(this,g),this.checked=!1,this.disabled=!1,this.guxAriaLabel="",this.labelId="",this.errorId=""}watchGuxAriaLabel(e){var g;e&&(null===(g=this.checkboxElement)||void 0===g||g.setAttribute("aria-label",e))}componentDidLoad(){var e,g;null===(e=this.checkboxElement)||void 0===e||e.setAttribute("aria-label",this.guxAriaLabel),this.errorId&&(null===(g=this.checkboxElement)||void 0===g||g.setAttribute("aria-describedby",this.errorId))}render(){const e=this.errorId.length>0;return g("div",{key:"09682cc1b05c8d98bf0f3c3060ed59b5b4c003b3",class:{"gux-toggle-slider":!0,"gux-checked":this.checked,"gux-disabled":this.disabled,"gux-error":e},role:"checkbox","aria-checked":this.checked.toString(),"aria-disabled":this.disabled.toString(),tabindex:this.disabled?"":"0",ref:e=>this.checkboxElement=e},g("div",{key:"0d0bfc79fb7bb8d982d20bf06078fb2d9b020dd8",class:"gux-slider"},g("div",{key:"94cae0402f3ed187740f17aee58eb6c7ba3d2967",class:"gux-switch"},!e&&g("gux-icon",{key:"928275f79c101fbf651f856e35e506d9dd63f0fb","icon-name":"fa/check-solid",decorative:!0}))))}static get watchers(){return{guxAriaLabel:["watchGuxAriaLabel"]}}};r.style='gux-toggle-slider{display:flex;align-items:center;padding:2px;outline:none}gux-toggle-slider .gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-toggle-track-width);block-size:var(--gse-ui-toggle-track-height);cursor:pointer;border-radius:var(--gse-ui-toggle-track-borderRadius)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider{background-color:var(--gse-ui-toggle-track-error-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider .gux-switch{border:var(--gse-ui-toggle-handle-error-border-width) var(--gse-ui-toggle-handle-error-border-style) var(--gse-ui-toggle-handle-error-border-color)}gux-toggle-slider .gux-toggle-slider.gux-error.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-error-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;background-color:var(--gse-ui-toggle-track-disabled-off-backgroundColor);opacity:var(--gse-ui-toggle-disabled-opacity)}gux-toggle-slider .gux-toggle-slider:focus-visible{outline:var(--gse-ui-toggle-focus-border-width) var(--gse-ui-toggle-focus-border-style) var(--gse-ui-toggle-focus-border-color);outline-offset:var(--gse-ui-toggle-focus-offset);border-radius:var(--gse-ui-toggle-focus-borderRadius)}gux-toggle-slider .gux-toggle-slider .gux-slider{position:absolute;inset:0;background-color:var(--gse-ui-toggle-track-enabled-off-backgroundColor);border-radius:calc(var(--gse-ui-toggle-track-height) / 2);transition:background-color 0.2s ease}gux-toggle-slider .gux-toggle-slider .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch{position:absolute;inset-block-end:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inset-inline-start:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inline-size:calc(var(--gse-ui-toggle-handle-width) - 4px);block-size:calc(var(--gse-ui-toggle-handle-height) - 4px);color:var(--gse-ui-toggle-handle-foregroundColor);content:"";background-color:var(--gse-ui-toggle-handle-backgroundColor);border:var(--gse-ui-toggle-handle-enabled-border-width) var(--gse-ui-toggle-handle-enabled-border-style) var(--gse-ui-toggle-handle-enabled-border-color);border-radius:var(--gse-ui-toggle-handle-borderRadius);transition:0.2s}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch gux-icon{position:absolute;inset:0;inline-size:calc(var(--gse-ui-toggle-handle-width) - 6px);block-size:calc(var(--gse-ui-toggle-handle-width) - 6px);margin:auto;color:var(--gse-ui-toggle-handle-backgroundColor);transition:color 0.2s linear}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-enabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled{background-color:var(--gse-ui-toggle-track-disabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled .gux-switch{border:var(--gse-ui-toggle-handle-disabled-border-width) var(--gse-ui-toggle-handle-disabled-border-style) var(--gse-ui-toggle-handle-disabled-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover .gux-switch{border:var(--gse-ui-toggle-handle-hover-border-width) var(--gse-ui-toggle-handle-hover-border-style) var(--gse-ui-toggle-handle-hover-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch{transform:translateX(calc(var(--gse-ui-toggle-track-width) - var(--gse-ui-toggle-track-height)))}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch:dir(rtl){transform:translateX(calc(-1 * calc(var(--gse-ui-toggle-track-width) - var(--gse-ui-toggle-track-height))))}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:var(--gse-ui-toggle-handle-foregroundColor);opacity:1;transition:opacity 0.1s linear;transition-delay:0.1s}';export{r as gux_toggle_slider}
1
+ import{r as e,h as g}from"./p-mm833MRp.js";const r=class{constructor(g){e(this,g),this.checked=!1,this.disabled=!1,this.guxAriaLabel="",this.labelId="",this.errorId=""}watchGuxAriaLabel(e){var g;e&&(null===(g=this.checkboxElement)||void 0===g||g.setAttribute("aria-label",e))}componentDidLoad(){var e,g;null===(e=this.checkboxElement)||void 0===e||e.setAttribute("aria-label",this.guxAriaLabel),this.errorId&&(null===(g=this.checkboxElement)||void 0===g||g.setAttribute("aria-describedby",this.errorId))}render(){const e=this.errorId.length>0;return g("div",{key:"09682cc1b05c8d98bf0f3c3060ed59b5b4c003b3",class:{"gux-toggle-slider":!0,"gux-checked":this.checked,"gux-disabled":this.disabled,"gux-error":e},role:"checkbox","aria-checked":this.checked.toString(),"aria-disabled":this.disabled.toString(),tabindex:this.disabled?"":"0",ref:e=>this.checkboxElement=e},g("div",{key:"0d0bfc79fb7bb8d982d20bf06078fb2d9b020dd8",class:"gux-slider"},g("div",{key:"94cae0402f3ed187740f17aee58eb6c7ba3d2967",class:"gux-switch"},!e&&g("gux-icon",{key:"928275f79c101fbf651f856e35e506d9dd63f0fb","icon-name":"fa/check-solid",decorative:!0}))))}static get watchers(){return{guxAriaLabel:["watchGuxAriaLabel"]}}};r.style='gux-toggle-slider{display:flex;align-items:center;padding:2px;outline:none}gux-toggle-slider .gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-toggle-track-width);block-size:var(--gse-ui-toggle-track-height);cursor:pointer;border-radius:var(--gse-ui-toggle-track-borderRadius)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider{background-color:var(--gse-ui-toggle-track-error-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider .gux-switch{border:var(--gse-ui-toggle-handle-error-border-width) var(--gse-ui-toggle-handle-error-border-style) var(--gse-ui-toggle-handle-error-border-color)}gux-toggle-slider .gux-toggle-slider.gux-error.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-error-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;background-color:var(--gse-ui-toggle-track-disabled-off-backgroundColor);opacity:var(--gse-ui-toggle-disabled-opacity)}gux-toggle-slider .gux-toggle-slider:focus-visible{outline:var(--gse-ui-toggle-focus-border-width) var(--gse-ui-toggle-focus-border-style) var(--gse-ui-toggle-focus-border-color);outline-offset:var(--gse-ui-toggle-focus-offset);border-radius:var(--gse-ui-toggle-focus-borderRadius)}gux-toggle-slider .gux-toggle-slider .gux-slider{position:absolute;inset:0;background-color:var(--gse-ui-toggle-track-enabled-off-backgroundColor);border-radius:calc(var(--gse-ui-toggle-track-height) / 2);transition:background-color 0.2s ease}gux-toggle-slider .gux-toggle-slider .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch{position:absolute;inset-block-end:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inset-inline-start:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inline-size:calc(var(--gse-ui-toggle-handle-width) - 4px);block-size:calc(var(--gse-ui-toggle-handle-height) - 4px);color:var(--gse-ui-toggle-handle-foregroundColor);content:"";background-color:var(--gse-ui-toggle-handle-backgroundColor);border:var(--gse-ui-toggle-handle-enabled-border-width) var(--gse-ui-toggle-handle-enabled-border-style) var(--gse-ui-toggle-handle-enabled-border-color);border-radius:var(--gse-ui-toggle-handle-borderRadius);transition:0.2s}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch gux-icon{position:absolute;inset:0;inline-size:calc(var(--gse-ui-toggle-handle-width) - 6px);block-size:calc(var(--gse-ui-toggle-handle-width) - 6px);margin:auto;color:var(--gse-ui-toggle-handle-backgroundColor);transition:color 0.2s linear}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-enabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled{background-color:var(--gse-ui-toggle-track-disabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled .gux-switch{border:var(--gse-ui-toggle-handle-disabled-border-width) var(--gse-ui-toggle-handle-disabled-border-style) var(--gse-ui-toggle-handle-disabled-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover .gux-switch{border:var(--gse-ui-toggle-handle-hover-border-width) var(--gse-ui-toggle-handle-hover-border-style) var(--gse-ui-toggle-handle-hover-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch{transform:translateX(calc(var(--gse-ui-toggle-track-width) - var(--gse-ui-toggle-track-height)))}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch:dir(rtl){transform:translateX(calc(-1 * calc(var(--gse-ui-toggle-track-width) - var(--gse-ui-toggle-track-height))))}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:var(--gse-ui-toggle-handle-foregroundColor);opacity:1;transition:opacity 0.1s linear;transition-delay:0.1s}';export{r as gux_toggle_slider}
@@ -1 +1 @@
1
- import{r as a,h as e,H as t,a as i}from"./p-CjVJoR6g.js";import{t as o}from"./p-Rs2JRIbr.js";import{g as r}from"./p-vciQk5kR.js";import{b as n}from"./p-D1QZQXQN.js";import{a as s,c as u,o as c}from"./p-C8aV-TzO.js";import{O as l}from"./p-BvVMx5eW.js";import{l as d}from"./p-DxtJDeL9.js";import{a as g}from"./p-Bg4q97BS.js";import{g as v,a as f}from"./p-BV03_Ljp.js";import"./p-Cd4R0amv.js";var b={addToGroup:"Add more items to group"};const m=class{constructor(e){a(this,e)}async componentWillLoad(){o(this.root),this.i18n=await n(this.root,b)}async hideTooltip(){return await this.tooltip.hideTooltip()}onKeydown(a){r(a,this.root)}render(){return e(t,{key:"c2208087a0df24f9930d65f5cc0b4e33e9365f3d",role:"menuitem"},e("button",{key:"c84beab4ccbf57c154859e7bd16ba4de69705ffa",type:"button","aria-label":this.i18n("addToGroup"),tabIndex:-1,class:"gux-avatar"},e("span",{key:"de3cafb76d43b51a17d80d825a1902662e55585c","aria-hidden":"true"},"+"),e("gux-tooltip-beta",{key:"02843211a8a4cedfbaafa6b650ddc29d77802a7d","aria-hidden":"true","visual-only":!0,placement:"top",ref:a=>this.tooltip=a},e("div",{key:"a5c8e606aa2cbb12517bf295d26520ca5358aeff",slot:"content"},this.i18n("addToGroup")))))}static get delegatesFocus(){return!0}get root(){return i(this)}};m.style="button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);padding:0;margin:0;overflow:hidden;font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);color:var(--gse-ui-avatar-media-initialsForeground-add);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-add);border:none;border-radius:50%}button:focus-visible,button:hover{position:relative;z-index:var(--gse-semantic-zIndex-showFocus)}button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";const h=class{constructor(e){a(this,e),this.delayTime=250,this.count=0,this.expanded=!1}async componentWillLoad(){o(this.root)}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){clearTimeout(this.focusDelayTimeout),clearTimeout(this.hideDelayTimeout),this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}onClickOutside(){this.expanded=!1}onKeydown(a){switch(r(a,this.root),a.key){case"Escape":this.hide(),"GUX-AVATAR-OVERFLOW-ITEM-BETA"===a.target.tagName&&(this.focusDelayTimeout=g((()=>{var a;null===(a=this.overflowButtonElement)||void 0===a||a.focus()})));break;case"Tab":this.hide()}}onClick(a){a.stopPropagation(),"GUX-AVATAR-OVERFLOW-ITEM-BETA"===a.target.tagName&&(this.menuElement.scrollTop=0,this.expanded=!1)}async guxClose(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=s(this.overflowButtonElement,this.menuElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.root&&u(this.overflowButtonElement,this.menuElement,{placement:"bottom-start",strategy:"fixed",middleware:[c({mainAxis:4,crossAxis:4})]}).then((({x:a,y:e})=>{Object.assign(this.menuElement.style,{left:`${a}px`,top:`${e}px`})}))}getCount(){const a=Array.from(this.root.children);if(a.some((a=>"GUX-AVATAR-OVERFLOW-ITEM-BETA"!==a.tagName))&&d(this.root,"Only gux-avatar-overflow-item-beta elements are allowed as children."),a)return a.length}toggleOverflowMenu(){this.expanded?this.hide():this.show()}show(){clearTimeout(this.hideDelayTimeout),this.expanded=!0,this.hideDelayTimeout=g((()=>{this.focusOnMenu()}))}hide(){this.expanded&&(this.hideDelayTimeout=setTimeout((()=>{this.expanded=!1}),this.delayTime))}focusOnMenu(){Array.from(this.root.children)[0].focus()}render(){return e(t,{key:"289b013c9d67271a08acc35a6f61cd90d2e733c5",role:"menuitem"},e("button",{key:"48465ecf48d5f3a72924b6d4bb6d029550839367",class:"gux-avatar-overflow",ref:a=>this.overflowButtonElement=a,onClick:()=>this.toggleOverflowMenu(),tabIndex:-1,"aria-haspopup":"true","aria-expanded":this.expanded.toString()},e("span",{key:"6743688d97606a5524c9746d2e808c2224106628",class:"gux-avatar-overflow-wrapper"},e("span",{key:"c8cf521169d3b6999d70d12bf95f902f7c2910a9",class:"gux-avatar-overflow-content"}," +",this.getCount()))),e("div",{key:"6c9081633ec976b9fb380ee5c1fd77f2a71b424b",class:{"gux-menu-wrapper":!0,"gux-shown":this.expanded},ref:a=>this.menuElement=a},e("div",{key:"f99f53607731b8121276ca8f9b1469ef980f2601",role:"menu",class:"gux-menu-content"},e("slot",{key:"e82d2ac9cf9f02d0acdbebb29a5dfd8df31e4d72"}))))}static get delegatesFocus(){return!0}get root(){return i(this)}};function p(a){const e=function(a){let e=a;for(;null!==e.previousElementSibling;)e=e.previousElementSibling;return e}(a);e&&e.focus()}function x(a){const e=function(a){let e=a;for(;null!==e.nextElementSibling;)e=e.nextElementSibling;return e}(a);e&&e.focus()}(function(a,e,t,i){var o,r=arguments.length,n=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(a,e,t,i);else for(var s=a.length-1;s>=0;s--)(o=a[s])&&(n=(r<3?o(n):r>3?o(e,t,n):o(e,t))||n);r>3&&n&&Object.defineProperty(e,t,n)})([l({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:block;margin-inline-end:var(--gse-ui-avatar-groupSet-gap)}.gux-avatar-overflow{position:relative;box-sizing:border-box;inline-size:100%;padding:0;margin:0;line-height:0px;cursor:pointer;background:none;border:none;border-radius:50%}.gux-avatar-overflow:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-avatar-overflow:hover,.gux-avatar-overflow:focus{z-index:var(--gse-semantic-zIndex-showFocus)}.gux-avatar-overflow .gux-avatar-overflow-wrapper{position:relative;display:flex}.gux-avatar-overflow .gux-avatar-overflow-wrapper .gux-avatar-overflow-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);overflow:hidden;font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-core-lineHeight-matchFontSize);color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-overflowCount);border-radius:50%}.gux-menu-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;flex-direction:column;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow-y:auto;background-color:var(--gse-ui-menu-backgroundColor);border:none;border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-menu-wrapper.gux-shown{visibility:visible}";const k=class{constructor(e){a(this,e),this.accent="auto"}async componentWillLoad(){o(this.root)}componentDidLoad(){this.validatingInputs()}onKeydown(a){!function(a,e){switch(a.key){case"ArrowUp":case"ArrowLeft":a.stopPropagation(),a.preventDefault(),function(a){const e=a.previousElementSibling;e?e.focus():x(a)}(e);break;case"ArrowDown":case"ArrowRight":a.stopPropagation(),a.preventDefault(),function(a){const e=a.nextElementSibling;e?e.focus():p(a)}(e);break;case"Home":a.stopPropagation(),a.preventDefault(),p(e);break;case"End":a.stopPropagation(),a.preventDefault(),x(e)}}(a,this.root)}validatingInputs(){const a=this.root.querySelector("img");this.name||d(this.root,"Name prop is required"),a&&!a.getAttribute("alt")&&d(this.root,"Alt attribute is required for slotted image.")}render(){return e(t,{key:"769668526c1644357e51102afffcd6793d58d310",role:"menuitem"},e("button",{key:"dca0f9b8c7eedb19046a8d8c4e5f9d79c6784b4d",type:"button","aria-label":this.name,tabIndex:-1},e("span",{key:"da5d47925ee28f53d33e6b3caebd5efe101f32c1",class:{"gux-avatar":!0,[v(this.accent,this.name)]:!0}},e("slot",{key:"f8c55899e81654c14b662c9af82cf7347c8b0706",name:"image"},e("span",{key:"48b1658a2d111d22ed473ba738b5fbb0a075a8a3",class:"gux-avatar-initials","aria-hidden":"true"},f(this.name)))),e("span",{key:"1ea090bc03df200e7696ea9c5e30a01715e14978"},this.name)))}static get delegatesFocus(){return!0}get root(){return i(this)}};k.style="::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}button{all:unset;box-sizing:border-box;display:flex;gap:var(--gse-ui-menu-option-gap);align-items:center;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);background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible{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{background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active{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 .gux-avatar{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-xsmall-content-size);block-size:var(--gse-ui-avatar-xsmall-content-size);padding:0;margin:0;overflow:hidden;color:var(--gse-ui-avatar-media-initialsForeground-inverse);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:none;border-radius:50%}button .gux-avatar .gux-avatar-initials{font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);text-transform:uppercase}button .gux-avatar.gux-accent-1{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}button .gux-avatar.gux-accent-2{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}button .gux-avatar.gux-accent-3{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}button .gux-avatar.gux-accent-4{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}button .gux-avatar.gux-accent-5{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}button .gux-avatar.gux-accent-6{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}button .gux-avatar.gux-accent-7{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}button .gux-avatar.gux-accent-8{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}button .gux-avatar.gux-accent-9{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}button .gux-avatar.gux-accent-10{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}button .gux-avatar.gux-accent-11{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}button .gux-avatar.gux-accent-12{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}button .gux-avatar.gux-accent-inherit{color:inherit;background-color:inherit}";export{m as gux_avatar_group_add_item_beta,h as gux_avatar_overflow_beta,k as gux_avatar_overflow_item_beta}
1
+ import{r as a,h as e,H as t,a as i}from"./p-mm833MRp.js";import{t as o}from"./p-Bk9hX_6O.js";import{g as r}from"./p-vciQk5kR.js";import{b as n}from"./p-D_8CR3cJ.js";import{a as s,c as u,o as c}from"./p-C8aV-TzO.js";import{O as l}from"./p-CuMZPTZF.js";import{l as d}from"./p-DxtJDeL9.js";import{a as g}from"./p-Bg4q97BS.js";import{g as v,a as b}from"./p-BV03_Ljp.js";import"./p-Cd4R0amv.js";var f={addToGroup:"Add more items to group"};const m=class{constructor(e){a(this,e)}async componentWillLoad(){o(this.root),this.i18n=await n(this.root,f)}async hideTooltip(){return await this.tooltip.hideTooltip()}onKeydown(a){r(a,this.root)}render(){return e(t,{key:"158ad187d47045be8cb228165de2434fbf7f413d",role:"menuitem"},e("button",{key:"52293043e3d5601bf9a7a71c28b2781ea593edb9",type:"button","aria-label":this.i18n("addToGroup"),tabIndex:-1,class:"gux-avatar"},e("span",{key:"ca9c5caf0b4c89017406275daabd2ad1e8ce9c6c","aria-hidden":"true"},"+"),e("gux-tooltip-beta",{key:"232eba1194b21c6aa07dfb308afffb789dcf5ca4","aria-hidden":"true","visual-only":!0,placement:"top",ref:a=>this.tooltip=a},e("div",{key:"a3177dbbd083222ec2d00badc0b8b6e8cbb9d699",slot:"content"},this.i18n("addToGroup")))))}static get delegatesFocus(){return!0}get root(){return i(this)}};m.style="button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);padding:0;margin:0;overflow:hidden;font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);color:var(--gse-ui-avatar-media-initialsForeground-add);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-add);border:none;border-radius:50%}button:focus-visible,button:hover{position:relative;z-index:var(--gse-semantic-zIndex-showFocus)}button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";const h=class{constructor(e){a(this,e),this.delayTime=250,this.count=0,this.expanded=!1}async componentWillLoad(){o(this.root)}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){clearTimeout(this.focusDelayTimeout),clearTimeout(this.hideDelayTimeout),this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}onClickOutside(){this.expanded=!1}onKeydown(a){switch(r(a,this.root),a.key){case"Escape":this.hide(),"GUX-AVATAR-OVERFLOW-ITEM-BETA"===a.target.tagName&&(this.focusDelayTimeout=g((()=>{var a;null===(a=this.overflowButtonElement)||void 0===a||a.focus()})));break;case"Tab":this.hide()}}onClick(a){a.stopPropagation(),"GUX-AVATAR-OVERFLOW-ITEM-BETA"===a.target.tagName&&(this.menuElement.scrollTop=0,this.expanded=!1)}async guxClose(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=s(this.overflowButtonElement,this.menuElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.root&&u(this.overflowButtonElement,this.menuElement,{placement:"bottom-start",strategy:"fixed",middleware:[c({mainAxis:4,crossAxis:4})]}).then((({x:a,y:e})=>{Object.assign(this.menuElement.style,{left:`${a}px`,top:`${e}px`})}))}getCount(){const a=Array.from(this.root.children);if(a.some((a=>"GUX-AVATAR-OVERFLOW-ITEM-BETA"!==a.tagName))&&d(this.root,"Only gux-avatar-overflow-item-beta elements are allowed as children."),a)return a.length}toggleOverflowMenu(){this.expanded?this.hide():this.show()}show(){clearTimeout(this.hideDelayTimeout),this.expanded=!0,this.hideDelayTimeout=g((()=>{this.focusOnMenu()}))}hide(){this.expanded&&(this.hideDelayTimeout=setTimeout((()=>{this.expanded=!1}),this.delayTime))}focusOnMenu(){Array.from(this.root.children)[0].focus()}render(){return e(t,{key:"289b013c9d67271a08acc35a6f61cd90d2e733c5",role:"menuitem"},e("button",{key:"48465ecf48d5f3a72924b6d4bb6d029550839367",class:"gux-avatar-overflow",ref:a=>this.overflowButtonElement=a,onClick:()=>this.toggleOverflowMenu(),tabIndex:-1,"aria-haspopup":"true","aria-expanded":this.expanded.toString()},e("span",{key:"6743688d97606a5524c9746d2e808c2224106628",class:"gux-avatar-overflow-wrapper"},e("span",{key:"c8cf521169d3b6999d70d12bf95f902f7c2910a9",class:"gux-avatar-overflow-content"}," +",this.getCount()))),e("div",{key:"6c9081633ec976b9fb380ee5c1fd77f2a71b424b",class:{"gux-menu-wrapper":!0,"gux-shown":this.expanded},ref:a=>this.menuElement=a},e("div",{key:"f99f53607731b8121276ca8f9b1469ef980f2601",role:"menu",class:"gux-menu-content"},e("slot",{key:"e82d2ac9cf9f02d0acdbebb29a5dfd8df31e4d72"}))))}static get delegatesFocus(){return!0}get root(){return i(this)}};function p(a){const e=function(a){let e=a;for(;null!==e.previousElementSibling;)e=e.previousElementSibling;return e}(a);e&&e.focus()}function x(a){const e=function(a){let e=a;for(;null!==e.nextElementSibling;)e=e.nextElementSibling;return e}(a);e&&e.focus()}(function(a,e,t,i){var o,r=arguments.length,n=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(a,e,t,i);else for(var s=a.length-1;s>=0;s--)(o=a[s])&&(n=(r<3?o(n):r>3?o(e,t,n):o(e,t))||n);r>3&&n&&Object.defineProperty(e,t,n)})([l({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:block;margin-inline-end:var(--gse-ui-avatar-groupSet-gap)}.gux-avatar-overflow{position:relative;box-sizing:border-box;inline-size:100%;padding:0;margin:0;line-height:0px;cursor:pointer;background:none;border:none;border-radius:50%}.gux-avatar-overflow:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-avatar-overflow:hover,.gux-avatar-overflow:focus{z-index:var(--gse-semantic-zIndex-showFocus)}.gux-avatar-overflow .gux-avatar-overflow-wrapper{position:relative;display:flex}.gux-avatar-overflow .gux-avatar-overflow-wrapper .gux-avatar-overflow-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);overflow:hidden;font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-core-lineHeight-matchFontSize);color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-overflowCount);border-radius:50%}.gux-menu-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;flex-direction:column;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow-y:auto;background-color:var(--gse-ui-menu-backgroundColor);border:none;border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-menu-wrapper.gux-shown{visibility:visible}";const k=class{constructor(e){a(this,e),this.accent="auto"}async componentWillLoad(){o(this.root)}componentDidLoad(){this.validatingInputs()}onKeydown(a){!function(a,e){switch(a.key){case"ArrowUp":case"ArrowLeft":a.stopPropagation(),a.preventDefault(),function(a){const e=a.previousElementSibling;e?e.focus():x(a)}(e);break;case"ArrowDown":case"ArrowRight":a.stopPropagation(),a.preventDefault(),function(a){const e=a.nextElementSibling;e?e.focus():p(a)}(e);break;case"Home":a.stopPropagation(),a.preventDefault(),p(e);break;case"End":a.stopPropagation(),a.preventDefault(),x(e)}}(a,this.root)}validatingInputs(){const a=this.root.querySelector("img");this.name||d(this.root,"Name prop is required"),a&&!a.getAttribute("alt")&&d(this.root,"Alt attribute is required for slotted image.")}render(){return e(t,{key:"769668526c1644357e51102afffcd6793d58d310",role:"menuitem"},e("button",{key:"dca0f9b8c7eedb19046a8d8c4e5f9d79c6784b4d",type:"button","aria-label":this.name,tabIndex:-1},e("span",{key:"da5d47925ee28f53d33e6b3caebd5efe101f32c1",class:{"gux-avatar":!0,[v(this.accent,this.name)]:!0}},e("slot",{key:"f8c55899e81654c14b662c9af82cf7347c8b0706",name:"image"},e("span",{key:"48b1658a2d111d22ed473ba738b5fbb0a075a8a3",class:"gux-avatar-initials","aria-hidden":"true"},b(this.name)))),e("span",{key:"1ea090bc03df200e7696ea9c5e30a01715e14978"},this.name)))}static get delegatesFocus(){return!0}get root(){return i(this)}};k.style="::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}button{all:unset;box-sizing:border-box;display:flex;gap:var(--gse-ui-menu-option-gap);align-items:center;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);background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible{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{background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active{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 .gux-avatar{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-xsmall-content-size);block-size:var(--gse-ui-avatar-xsmall-content-size);padding:0;margin:0;overflow:hidden;color:var(--gse-ui-avatar-media-initialsForeground-inverse);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:none;border-radius:50%}button .gux-avatar .gux-avatar-initials{font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);text-transform:uppercase}button .gux-avatar.gux-accent-1{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}button .gux-avatar.gux-accent-2{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}button .gux-avatar.gux-accent-3{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}button .gux-avatar.gux-accent-4{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}button .gux-avatar.gux-accent-5{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}button .gux-avatar.gux-accent-6{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}button .gux-avatar.gux-accent-7{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}button .gux-avatar.gux-accent-8{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}button .gux-avatar.gux-accent-9{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}button .gux-avatar.gux-accent-10{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}button .gux-avatar.gux-accent-11{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}button .gux-avatar.gux-accent-12{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}button .gux-avatar.gux-accent-inherit{color:inherit;background-color:inherit}";export{m as gux_avatar_group_add_item_beta,h as gux_avatar_overflow_beta,k as gux_avatar_overflow_item_beta}
@@ -0,0 +1 @@
1
+ import{r as t,c as o,h as a,a as s}from"./p-mm833MRp.js";import{t as i}from"./p-Bk9hX_6O.js";import{h as e}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(){i(this.root,{variant:this.toastType}),this.hasPrimaryButton=e(this.root,"primary-button"),this.hasSecondaryButton=e(this.root,"secondary-button"),this.hasLink=e(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:"af6e2d8e5927aa34eb9b6bf8b73cbb267313f3bc",class:`gux-toast gux-toast-${this.toastType}`},a("div",{key:"0f6a4d5037b01b95ee49f765ec99c229f26b7d96",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),a("div",{key:"4fbdc8b68139c33414502e2dd3cd891615b41a2b",class:"gux-content"},a("div",{key:"cbc01c9c5b797ccd53dcdfb8356a3cea8579b0a3",class:"gux-message"},a("gux-truncate",{key:"bbeaed16e72615d0302fd0af0f1ddd5c9d915ec9",class:"gux-message-title","max-lines":1},a("slot",{key:"a0f46564676b8f9be9ad55e503bc23e16cad5197",name:"title"})),a("gux-truncate",{key:"97b79482fcb186d338bebc5ebf1c867c7a80fab2",class:"gux-message-body","max-lines":2},a("slot",{key:"0abd68662de7c4d73375ce209181516f2db30fa7",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),a("gux-dismiss-button",{key:"741fad7a10b95d6356ffc9e3179f6a07aba41433",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 e,h as t,H as o,a as s}from"./p-CjVJoR6g.js";import{a as i,c as a,o as r,f as n,s as u,b as d}from"./p-C8aV-TzO.js";import{a as h}from"./p-Bg4q97BS.js";import{t as c}from"./p-Rs2JRIbr.js";import{h as l}from"./p-QGDBFOq1.js";import{b as f}from"./p-D1QZQXQN.js";import"./p-Cd4R0amv.js";var m={onMenuFocus:"Use the right arrow to enter the submenu, and the left arrow to return to the previous menu",onTargetFocus:"A popup has appeared. Press the down arrow to enter the menu"};const p=class{constructor(t){e(this,t),this.isShown=!1}onKeydown(e){if(e.stopPropagation(),this.isShown)switch(e.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return e.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=h((()=>{this.focusOnMenu()})))}}onKeyup(e){e.stopPropagation()," "!==e.key||(this.root===e.target?this.focusOnMenu():this.hideDelayTimeout=h((()=>{this.root.focus()})))}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){0!==e.detail&&this.hide(),this.root.focus()}onFocusin(){this.isShown||this.announceElement.guxAnnounce(this.i18n("onTargetFocus")),this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),l))}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=i(this.targetElement,this.menuContentElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.root&&a(this.targetElement,this.menuContentElement,{placement:"bottom-start",strategy:"fixed",middleware:[r(16),n(),u(),d({element:this.arrowElement,padding:16})]}).then((({x:e,y:t,middlewareData:o,placement:s})=>{var i;Object.assign(this.menuContentElement.style,{left:`${e}px`,top:`${t}px`});const a=s.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[a],n={top:0,right:90,bottom:180,left:-90}[a];if(o.arrow){const{x:e,y:t}=o.arrow;Object.assign(null===(i=this.arrowElement)||void 0===i?void 0:i.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[r]:"-12px",transform:`rotate(${n}deg)`})}}))}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;this.hideDelayTimeout=h((()=>{this.announceElement.guxAnnounce(this.i18n("onMenuFocus"))}));const e=this.root.querySelector("gux-menu");Array.from(e.children)[0].guxFocus()}async componentWillLoad(){c(this.root),this.i18n=await f(this.root,m)}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t(o,{key:"f44087172d523b19565862d887af62c87703d195",tabIndex:0,"aria-haspopup":"true"},t("gux-announce-beta",{key:"3c7a54c210b50b5d865ae63ce946ad1cea19f4d8",ref:e=>this.announceElement=e}),t("span",{key:"5b993a7d3d0b5ecb0de0c7775a102a5ff48e4f13",ref:e=>this.targetElement=e},t("slot",{key:"fd2317898eeace1aace1e1100d7c4cb62cccaf08",name:"target"})),t("div",{key:"33fef6a19029d6f52e0b751bae14001ab43ea3ac",class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:e=>this.menuContentElement=e},t("div",{key:"9124f04d2e45a8def507545d4d85c923ad63851e",ref:e=>this.arrowElement=e,class:"gux-arrow"},t("div",{key:"0ec8d0aa4c296241ca7849f787b39de7988c6e58",class:"gux-arrow-caret"})),t("slot",{key:"88c0caad6367e10633cb003f2e6f2c974e88a77a",name:"menu"})))}get root(){return s(this)}};p.style=":host{z-index:var(--gse-semantic-zIndex-popover);color:var(--gse-ui-menu-option-label-foregroundColor);cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-flyout-menu-content{position:fixed;display:none;border:none;border-radius:var(--gse-ui-flyoutMenu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow);opacity:0}.gux-flyout-menu-content.gux-shown{display:flex;animation-name:fade-in;animation-duration:100ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-flyout-menu-content .gux-arrow{position:absolute;inline-size:var(--gse-ui-flyoutMenu-anchor-width);block-size:var(--gse-ui-flyoutMenu-anchor-height);padding-block-end:4px;overflow:hidden}.gux-flyout-menu-content .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid var(--gse-ui-flyoutMenu-backgroundColor);border-inline-start:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid transparent;border-inline-end:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid transparent;filter:drop-shadow(0 0 4px var(--gse-ui-flyoutMenu-anchor-shadowColor))}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{p as gux_flyout_menu}
1
+ import{r as t,h as e,H as o,a as s}from"./p-mm833MRp.js";import{a as i,c as a,o as r,f as n,s as u,b as d}from"./p-C8aV-TzO.js";import{a as h}from"./p-Bg4q97BS.js";import{t as c}from"./p-Bk9hX_6O.js";import{h as l}from"./p-QGDBFOq1.js";import{b as f}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var m={onMenuFocus:"Use the right arrow to enter the submenu, and the left arrow to return to the previous menu",onTargetFocus:"A popup has appeared. Press the down arrow to enter the menu"};const p=class{constructor(e){t(this,e),this.isShown=!1}onKeydown(t){if(t.stopPropagation(),this.isShown)switch(t.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return t.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=h((()=>{this.focusOnMenu()})))}}onKeyup(t){t.stopPropagation()," "!==t.key||(this.root===t.target?this.focusOnMenu():this.hideDelayTimeout=h((()=>{this.root.focus()})))}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(t){0!==t.detail&&this.hide(),this.root.focus()}onFocusin(){this.isShown||this.announceElement.guxAnnounce(this.i18n("onTargetFocus")),this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),l))}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=i(this.targetElement,this.menuContentElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.root&&a(this.targetElement,this.menuContentElement,{placement:"bottom-start",strategy:"fixed",middleware:[r(16),n(),u(),d({element:this.arrowElement,padding:16})]}).then((({x:t,y:e,middlewareData:o,placement:s})=>{var i;Object.assign(this.menuContentElement.style,{left:`${t}px`,top:`${e}px`});const a=s.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[a],n={top:0,right:90,bottom:180,left:-90}[a];if(o.arrow){const{x:t,y:e}=o.arrow;Object.assign(null===(i=this.arrowElement)||void 0===i?void 0:i.style,{left:null!=t?`${t}px`:"",top:null!=e?`${e}px`:"",right:"",bottom:"",[r]:"-12px",transform:`rotate(${n}deg)`})}}))}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;this.hideDelayTimeout=h((()=>{this.announceElement.guxAnnounce(this.i18n("onMenuFocus"))}));const t=this.root.querySelector("gux-menu");Array.from(t.children)[0].guxFocus()}async componentWillLoad(){c(this.root),this.i18n=await f(this.root,m)}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return e(o,{key:"f7af5f029afc5a78013950650d3f38235c5d83c5",tabIndex:0,"aria-haspopup":"true"},e("gux-announce-beta",{key:"ebb453f9409ccc1202d0ab1a9a80a6f0b13f9747",ref:t=>this.announceElement=t}),e("span",{key:"54493f4a40de77bd5d02e11c4dbefb9c25474855",ref:t=>this.targetElement=t},e("slot",{key:"0f9375667e4fa5d88426ce22804284e48cff3c4d",name:"target"})),e("div",{key:"2cb8985112e63facc42bc8ae9763f45600a354e8",class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:t=>this.menuContentElement=t},e("div",{key:"5757dfd8b8ba8d81d2b6261557bceed20403af02",ref:t=>this.arrowElement=t,class:"gux-arrow"},e("div",{key:"982cd1c491a0b4760587738f95075fdb79811611",class:"gux-arrow-caret"})),e("slot",{key:"9fd12909b2da4d8d2cf7b17035db595444608ce4",name:"menu"})))}get root(){return s(this)}};p.style=":host{z-index:var(--gse-semantic-zIndex-popover);color:var(--gse-ui-menu-option-label-foregroundColor);cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-flyout-menu-content{position:fixed;display:none;border:none;border-radius:var(--gse-ui-flyoutMenu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow);opacity:0}.gux-flyout-menu-content.gux-shown{display:flex;animation-name:fade-in;animation-duration:100ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-flyout-menu-content .gux-arrow{position:absolute;inline-size:var(--gse-ui-flyoutMenu-anchor-width);block-size:var(--gse-ui-flyoutMenu-anchor-height);padding-block-end:4px;overflow:hidden}.gux-flyout-menu-content .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid var(--gse-ui-flyoutMenu-backgroundColor);border-inline-start:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid transparent;border-inline-end:var(--gse-ui-flyoutMenu-anchor-borderWidth) solid transparent;filter:drop-shadow(0 0 4px var(--gse-ui-flyoutMenu-anchor-shadowColor))}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{p as gux_flyout_menu}
@@ -1 +1 @@
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:"a3efef4785ff821a9767e92760c2ac368e874303",role:"listitem"},t("button",{key:"7fc1d32872b8c5f475ff740ad5f15ccf2a09cfcc",type:"button",tabIndex:-1,disabled:this.disabled,"data-testid":"list-item-button"},t("slot",{key:"0a13d6573be93a1db42c774bf19c6a4d79386575"})))}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-mm833MRp.js";const n=class{constructor(t){e(this,t),this.disabled=!1}render(){return t(o,{key:"a3efef4785ff821a9767e92760c2ac368e874303",role:"listitem"},t("button",{key:"7fc1d32872b8c5f475ff740ad5f15ccf2a09cfcc",type:"button",tabIndex:-1,disabled:this.disabled,"data-testid":"list-item-button"},t("slot",{key:"0a13d6573be93a1db42c774bf19c6a4d79386575"})))}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{r as e,h as t,H as i,a}from"./p-CjVJoR6g.js";import{r as s}from"./p-D9jKBqIb.js";import{g as o}from"./p-Cd4R0amv.js";const n=class{constructor(t){e(this,t),this.active=!1,this.selected=!1,this.disabled=!1,this.accent="info"}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||s("gux-option-status")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=o("gux-listbox",this.root);return null==e?void 0:e.disabled}render(){return t(i,{key:"234976bdea5942ff7e5e9a93de7e271807513062",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("div",{key:"7b12320f80c31ea1f003d0d6898a70ab4fc0dd1e",class:"gux-status-indicator"},t("span",{key:"0fc593ed7290e05172acf35ed4f4c54d812b5ef1",class:`gux-status-icon gux-status-icon-${this.accent}`}),t("div",{key:"2b67f1f4ea9d1513257427ffba01195cb19f0cd1",class:"gux-status-indicator-text"},t("gux-truncate",{key:"06cf1772b5966dc96761a9ea83f7981dbaf6c1db",ref:e=>this.truncateElement=e},t("slot",{key:"65aa4e34614fb032d2065219ef319dd50b4955e4"})))))}get root(){return a(this)}static get watchers(){return{active:["handleActive"]}}};n.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host{justify-content:flex-start}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{n as gux_option_status_beta}
1
+ import{r as e,h as t,H as i,a}from"./p-mm833MRp.js";import{r as s}from"./p-D9jKBqIb.js";import{g as o}from"./p-Cd4R0amv.js";const n=class{constructor(t){e(this,t),this.active=!1,this.selected=!1,this.disabled=!1,this.accent="info"}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||s("gux-option-status")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=o("gux-listbox",this.root);return null==e?void 0:e.disabled}render(){return t(i,{key:"234976bdea5942ff7e5e9a93de7e271807513062",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("div",{key:"7b12320f80c31ea1f003d0d6898a70ab4fc0dd1e",class:"gux-status-indicator"},t("span",{key:"0fc593ed7290e05172acf35ed4f4c54d812b5ef1",class:`gux-status-icon gux-status-icon-${this.accent}`}),t("div",{key:"2b67f1f4ea9d1513257427ffba01195cb19f0cd1",class:"gux-status-indicator-text"},t("gux-truncate",{key:"06cf1772b5966dc96761a9ea83f7981dbaf6c1db",ref:e=>this.truncateElement=e},t("slot",{key:"65aa4e34614fb032d2065219ef319dd50b4955e4"})))))}get root(){return a(this)}static get watchers(){return{active:["handleActive"]}}};n.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host{justify-content:flex-start}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{n as gux_option_status_beta}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-CjVJoR6g.js";import{b as o}from"./p-D1QZQXQN.js";import{O as r}from"./p-DaK6PJIg.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p-kyGdOoF4.js";import{G as f,a as h,b as d}from"./p-5GSd1tCA.js";import{g as u}from"./p-MAoEg4ig.js";import{b as p,s as g,a as m}from"./p-DHLxhscH.js";import{t as c}from"./p-Rs2JRIbr.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"9b8e6f530c3b896b9a177f39a86dd342ad0fc88e",labelPosition:this.computedLabelPosition},i(h,{key:"031877e650e52579b04c750a86f1381e8b700311"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"8f60ccb8842ade0059c9998f881b1001ef2fb346",position:this.computedLabelPosition,required:this.required},i("slot",{key:"c1c402deebbf59c0977b0ddefefc27ac905ca3bd",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"359e75b7f0559b66d23da4ffb7564227be74a73c",variant:this.indicatorMark,required:this.required}),i("slot",{key:"356139fb417dae95e36187d8535b485a075cd198",name:"label-info"})),i("div",{key:"74355f1c441d776bbdf7066b66333d3258e29e8a",class:"gux-input-and-error-container"},i("div",{key:"74964d2a08702dafcd6e65143c555629150441bf",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"ae25e5ca93f4829c3454214a901fed8ff5491d4f"})),i(a,{key:"0bc8594363370e78b6253133c0753a5deda48ed4",show:this.hasError},i("slot",{key:"0ee66b41925aac4e6471b7558df0317a9f2178fe",name:"error"})),i(n,{key:"0602a0988288d08558c9953b50fcb47cc9045dd6",show:!this.hasError&&this.hasHelp},i("slot",{key:"ef1bdf9597df3d19c6f065127a832abb2acff611",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),g(this.root,this.listboxElement,"error"),g(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}: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)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{x as gux_form_field_dropdown}
1
+ import{r as e,h as i,a as t}from"./p-mm833MRp.js";import{b as o}from"./p-D_8CR3cJ.js";import{O as r}from"./p-1mmdDpx8.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p-BkM3RdTO.js";import{G as f,a as d,b as h}from"./p-DR1RHELj.js";import{g as u}from"./p-MAoEg4ig.js";import{b as p,s as m,a as g}from"./p-DHLxhscH.js";import{t as c}from"./p-Bk9hX_6O.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(h,{key:"95cf0334aae89c2b185512975a3caa46b616f319",labelPosition:this.computedLabelPosition},i(d,{key:"17a7d9db1d359d99b375e659d74e8ee198fead89"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"e0c6290b8960073a60caed07a95761b489572569",position:this.computedLabelPosition,required:this.required},i("slot",{key:"093143723c654b514a86d9ba11bdd669343e678a",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"b5c53840b29e7edb7016fd655ef325af5c4613c8",variant:this.indicatorMark,required:this.required}),i("slot",{key:"ad3d8db913a2054061a2cf17e55221e8f547df6f",name:"label-info"})),i("div",{key:"b9d47e7fd0f101bd2bf50d7d8a5aaf5560d4a7d3",class:"gux-input-and-error-container"},i("div",{key:"5f924b84c374f4eab9a5af090faa0b6dd5c0ae96",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"e38e6e5580339bd8124d850064478838ed91fd4f"})),i(a,{key:"f59489537e647d013f7cbb29765edc9f233126e8",show:this.hasError},i("slot",{key:"b238051d5d4c804cdd2bd80ab039c285a51cd24b",name:"error"})),i(n,{key:"49f27c2c46e71f7708fde91c35562a836f1dc9f2",show:!this.hasError&&this.hasHelp},i("slot",{key:"ead90e5f779f712ea1156e111b543e733e949eb2",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),m(this.root,this.listboxElement,"error"),m(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}: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)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{x as gux_form_field_dropdown}
@@ -1 +1 @@
1
- import{r as e,h as o,f as i,a as r}from"./p-CjVJoR6g.js";import{b as t}from"./p-D1QZQXQN.js";import{O as l}from"./p-DaK6PJIg.js";import{h as a}from"./p-qzV3vtOw.js";import{t as s}from"./p-Rs2JRIbr.js";import{a as n,G as d}from"./p-kyGdOoF4.js";import{G as f,a as u}from"./p-CuKTBQuB.js";import{g as p,v as g}from"./p-DHLxhscH.js";import{p as h}from"./p-PYfNAK8p.js";import{a as c,o as x,b as m}from"./p-De1NnCmO.js";import{s as b}from"./p-BMRf5pjV.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";var v={uploadFile:"Upload file",uploadFiles:"Upload files",changeFile:"Change file",changeFiles:"Change files",clickToUpload:"Click to upload",dragAndDropFileInstructions:"Drag and drop a file here or",dragAndDropFilesInstructions:"Drag and drop files here or"};const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.dragAndDrop=!1,this.disabled=!1,this.hasError=!1,this.hasHelp=!1,this.required=!1,this.multiple=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var o,i;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}onGuxRemoveFile(e){this.removeFile(e.detail)}async componentWillLoad(){this.getI18nValue=await t(this.root,v),this.setInput(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),s(this.root)}disconnectedCallback(){var e,o,i;null===(e=this.disabledObserver)||void 0===e||e.disconnect(),null===(o=this.requiredObserver)||void 0===o||o.disconnect(),null===(i=this.multipleObserver)||void 0===i||i.disconnect()}render(){return o(u,{key:"ba38fda53131cdb2eeee7f2373c79ce06d437dfa",labelPosition:"above"},o(f,{key:"3aa225ef2b476e13565ec227a88b2a765e703304",position:"above",required:this.required},o("slot",{key:"897b7e8e9a445ff71d2c7771ba80a7507ced4112",name:"label"}),o("gux-form-field-label-indicator",{key:"27af774a5a6b8f57a03a302c9e47aa37085adce5",variant:this.indicatorMark,required:this.required}),o("slot",{key:"a764e9b5f5e41b5577faa39817b231bb1a7a4816",name:"label-info"})),o("div",{key:"07a739ceefce691a6fb1fabfa7387a541810aabf",class:"gux-input-and-error-container"},o(n,{key:"6313af94988ede0ca0d93e5f0d9f0921200b0724",show:this.hasHelp},o("slot",{key:"90b799ab83fb1f358a0018479279679f240d4526",name:"help"})),this.renderInputSlot(),o(d,{key:"e5365d0a9baf0f49e6a48995efe38c00269bc59d",show:this.hasError},o("slot",{key:"dd23717f4779bbfe80c34d5434aee22d3bc35cf4",name:"error"})),this.renderFileList()))}setInput(){this.input=p(this.root,'input[type="file"][slot="input"]'),this.input.addEventListener("input",(()=>{i(this.root)})),h(this.input),this.disabled=this.input.disabled,this.required=this.input.required,this.multiple=this.input.multiple,this.disabledObserver=c(this.input,(e=>{this.disabled=e})),this.requiredObserver=x(this.input,(e=>{this.required=e})),this.multipleObserver=m(this.input,(e=>{this.multiple=e})),g(this.root,this.input)}getDropZoneText(){return this.getI18nValue(this.multiple?"dragAndDropFilesInstructions":"dragAndDropFileInstructions")}getProxyButtonText(){var e,o,i,r;return this.dragAndDrop?this.getI18nValue("clickToUpload"):this.multiple?(null===(o=null===(e=this.input)||void 0===e?void 0:e.files)||void 0===o?void 0:o.length)>0?this.getI18nValue("changeFiles"):this.getI18nValue("uploadFiles"):(null===(r=null===(i=this.input)||void 0===i?void 0:i.files)||void 0===r?void 0:r.length)>0?this.getI18nValue("changeFile"):this.getI18nValue("uploadFile")}removeFile(e){const o=this.input.files,i=new DataTransfer;for(let r=0;r<o.length;r++)e!==r&&i.items.add(o[r]);this.modifyInputFiles(i.files)}modifyInputFiles(e){this.input.files=e,b(this.root,"input"),b(this.root,"change"),i(this.root)}onProxyFileButtonClick(e){e.preventDefault(),e.stopImmediatePropagation(),this.input.focus(),this.input.click()}onDrop(e){if(e.preventDefault(),e.stopPropagation(),this.disabled)return;const o=this.input.files,i=e.dataTransfer.items,r=new DataTransfer;if(this.multiple)for(let e=0;e<o.length;e++)r.items.add(o[e]);for(let e=0;e<i.length;e++){const o=i[e];if("file"===o.kind&&o.webkitGetAsEntry().isFile&&(r.items.add(o.getAsFile()),!this.multiple))break}this.dropContainer.classList.remove("gux-drag-over"),this.modifyInputFiles(r.files)}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.dropContainer.classList.add("gux-drag-over")}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.dropContainer.classList.remove("gux-drag-over")}renderFileList(){const e=Array.from(this.input.files||(new DataTransfer).files);return 0===e.length?null:o("div",{class:"gux-file-list"},e.map(((e,i)=>o("slot",{name:`file-${i}`},o("gux-file-list-item",{name:e.name,index:i,disabled:this.disabled})))))}renderInputSlot(){return o("div",{ref:e=>this.dropContainer=e,class:{"gux-drop-container":!0,"gux-drop-zone":this.dragAndDrop,"gux-disabled":this.disabled},"aria-disabled":this.disabled?"true":"false",onDrop:e=>this.onDrop(e),onDragOver:e=>this.onDragOver(e),onDragEnter:e=>this.onDragOver(e),onDragLeave:e=>this.onDragLeave(e)},this.dragAndDrop&&o("div",{class:"gux-drag-and-drop-text"},this.getDropZoneText()),o("div",{class:"gux-proxy-button"},o("gux-button-slot",{accent:"tertiary"},o("button",{tabIndex:-1,type:"button",disabled:this.disabled,onClick:e=>this.onProxyFileButtonClick(e)},o("div",null,this.getProxyButtonText()))),o("div",{class:"gux-offscreen"},o("slot",{name:"input",onSlotchange:()=>this.setInput()}))))}get root(){return r(this)}};(function(e,o,i,r){var t,l=arguments.length,a=l<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,i,r);else for(var s=e.length-1;s>=0;s--)(t=e[s])&&(a=(l<3?t(a):l>3?t(o,i,a):t(o,i))||a);l>3&&a&&Object.defineProperty(o,i,a)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--gse-ui-fileUpload-mainContainer-gap)}.gux-drop-container{box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-fileUpload-dragDrop-btnText-gap);margin-inline:0;font-family:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontFamily);font-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontSize);font-weight:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontWeight);line-height:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-lineHeight);color:var(--gse-ui-fileUpload-dragAndDrop-dropZoneText-color)}.gux-drop-container.gux-drop-zone{place-content:stretch center;align-items:center;min-block-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-minHeight);padding:20px;border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-color);border-radius:var(--gse-ui-fileUpload-dropZone-borderRadius)}.gux-drop-container.gux-drop-zone.gux-drag-over:not(.gux-disabled){background-color:var(--gse-ui-fileUpload-dragAndDrop-dropZone-background-active);border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-color)}.gux-drop-container.gux-drop-zone.gux-disabled{border-color:rgba(0, 0, 64, 0.2509803922)}.gux-drop-container.gux-drop-zone.gux-disabled .gux-drag-and-drop-text{opacity:0.5}.gux-offscreen{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-proxy-button{inline-size:fit-content;border-radius:var(--gse-ui-button-borderRadius)}.gux-proxy-button:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-file-list{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-cardGroup-gap);inline-size:100%}";export{y as gux_form_field_file_beta}
1
+ import{r as e,h as o,f as i,a as r}from"./p-mm833MRp.js";import{b as t}from"./p-D_8CR3cJ.js";import{O as l}from"./p-1mmdDpx8.js";import{h as a}from"./p-qzV3vtOw.js";import{t as s}from"./p-Bk9hX_6O.js";import{a as n,G as d}from"./p-BkM3RdTO.js";import{G as f,a as p}from"./p-Bxg2lxW0.js";import{g as u,v as g}from"./p-DHLxhscH.js";import{p as h}from"./p-PYfNAK8p.js";import{a as c,o as x,b as m}from"./p-De1NnCmO.js";import{s as b}from"./p-BMRf5pjV.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";var v={uploadFile:"Upload file",uploadFiles:"Upload files",changeFile:"Change file",changeFiles:"Change files",clickToUpload:"Click to upload",dragAndDropFileInstructions:"Drag and drop a file here or",dragAndDropFilesInstructions:"Drag and drop files here or"};const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.dragAndDrop=!1,this.disabled=!1,this.hasError=!1,this.hasHelp=!1,this.required=!1,this.multiple=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var o,i;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}onGuxRemoveFile(e){this.removeFile(e.detail)}async componentWillLoad(){this.getI18nValue=await t(this.root,v),this.setInput(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),s(this.root)}disconnectedCallback(){var e,o,i;null===(e=this.disabledObserver)||void 0===e||e.disconnect(),null===(o=this.requiredObserver)||void 0===o||o.disconnect(),null===(i=this.multipleObserver)||void 0===i||i.disconnect()}render(){return o(p,{key:"08375562c5f4fccba27ae887e75286a0c8316209",labelPosition:"above"},o(f,{key:"2da1a8ccfb6fb0ffad13d6b7e17eb8c006ec3fec",position:"above",required:this.required},o("slot",{key:"86c7bf4b43eac86d082075326f247da876690128",name:"label"}),o("gux-form-field-label-indicator",{key:"13ff56e6483c61e4f698c69a51adb0e8d37b4929",variant:this.indicatorMark,required:this.required}),o("slot",{key:"a23675a2164c4080677980f3d6aa55ea1b05c163",name:"label-info"})),o("div",{key:"269ea5528a86db45b366c8f6f0528aeeb6636ba0",class:"gux-input-and-error-container"},o(n,{key:"e1afa7df59e08f6820097d88fbe542e7ddbfcb09",show:this.hasHelp},o("slot",{key:"176674d3b557f621f8c28d67fc7d8843be91623c",name:"help"})),this.renderInputSlot(),o(d,{key:"4dd69a7d5c0c9dbfe3129c24773d6efdc082d35b",show:this.hasError},o("slot",{key:"4ac9a75500eb2fde0de2809718dd02f16c2eaf3f",name:"error"})),this.renderFileList()))}setInput(){this.input=u(this.root,'input[type="file"][slot="input"]'),this.input.addEventListener("input",(()=>{i(this.root)})),h(this.input),this.disabled=this.input.disabled,this.required=this.input.required,this.multiple=this.input.multiple,this.disabledObserver=c(this.input,(e=>{this.disabled=e})),this.requiredObserver=x(this.input,(e=>{this.required=e})),this.multipleObserver=m(this.input,(e=>{this.multiple=e})),g(this.root,this.input)}getDropZoneText(){return this.getI18nValue(this.multiple?"dragAndDropFilesInstructions":"dragAndDropFileInstructions")}getProxyButtonText(){var e,o,i,r;return this.dragAndDrop?this.getI18nValue("clickToUpload"):this.multiple?(null===(o=null===(e=this.input)||void 0===e?void 0:e.files)||void 0===o?void 0:o.length)>0?this.getI18nValue("changeFiles"):this.getI18nValue("uploadFiles"):(null===(r=null===(i=this.input)||void 0===i?void 0:i.files)||void 0===r?void 0:r.length)>0?this.getI18nValue("changeFile"):this.getI18nValue("uploadFile")}removeFile(e){const o=this.input.files,i=new DataTransfer;for(let r=0;r<o.length;r++)e!==r&&i.items.add(o[r]);this.modifyInputFiles(i.files)}modifyInputFiles(e){this.input.files=e,b(this.root,"input"),b(this.root,"change"),i(this.root)}onProxyFileButtonClick(e){e.preventDefault(),e.stopImmediatePropagation(),this.input.focus(),this.input.click()}onDrop(e){if(e.preventDefault(),e.stopPropagation(),this.disabled)return;const o=this.input.files,i=e.dataTransfer.items,r=new DataTransfer;if(this.multiple)for(let e=0;e<o.length;e++)r.items.add(o[e]);for(let e=0;e<i.length;e++){const o=i[e];if("file"===o.kind&&o.webkitGetAsEntry().isFile&&(r.items.add(o.getAsFile()),!this.multiple))break}this.dropContainer.classList.remove("gux-drag-over"),this.modifyInputFiles(r.files)}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.dropContainer.classList.add("gux-drag-over")}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.dropContainer.classList.remove("gux-drag-over")}renderFileList(){const e=Array.from(this.input.files||(new DataTransfer).files);return 0===e.length?null:o("div",{class:"gux-file-list"},e.map(((e,i)=>o("slot",{name:`file-${i}`},o("gux-file-list-item",{name:e.name,index:i,disabled:this.disabled})))))}renderInputSlot(){return o("div",{ref:e=>this.dropContainer=e,class:{"gux-drop-container":!0,"gux-drop-zone":this.dragAndDrop,"gux-disabled":this.disabled},"aria-disabled":this.disabled?"true":"false",onDrop:e=>this.onDrop(e),onDragOver:e=>this.onDragOver(e),onDragEnter:e=>this.onDragOver(e),onDragLeave:e=>this.onDragLeave(e)},this.dragAndDrop&&o("div",{class:"gux-drag-and-drop-text"},this.getDropZoneText()),o("div",{class:"gux-proxy-button"},o("gux-button-slot",{accent:"tertiary"},o("button",{tabIndex:-1,type:"button",disabled:this.disabled,onClick:e=>this.onProxyFileButtonClick(e)},o("div",null,this.getProxyButtonText()))),o("div",{class:"gux-offscreen"},o("slot",{name:"input",onSlotchange:()=>this.setInput()}))))}get root(){return r(this)}};(function(e,o,i,r){var t,l=arguments.length,a=l<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,i,r);else for(var s=e.length-1;s>=0;s--)(t=e[s])&&(a=(l<3?t(a):l>3?t(o,i,a):t(o,i))||a);l>3&&a&&Object.defineProperty(o,i,a)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--gse-ui-fileUpload-mainContainer-gap)}.gux-drop-container{box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-fileUpload-dragDrop-btnText-gap);margin-inline:0;font-family:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontFamily);font-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontSize);font-weight:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontWeight);line-height:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-lineHeight);color:var(--gse-ui-fileUpload-dragAndDrop-dropZoneText-color)}.gux-drop-container.gux-drop-zone{place-content:stretch center;align-items:center;min-block-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-minHeight);padding:20px;border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-color);border-radius:var(--gse-ui-fileUpload-dropZone-borderRadius)}.gux-drop-container.gux-drop-zone.gux-drag-over:not(.gux-disabled){background-color:var(--gse-ui-fileUpload-dragAndDrop-dropZone-background-active);border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-color)}.gux-drop-container.gux-drop-zone.gux-disabled{border-color:rgba(0, 0, 64, 0.2509803922)}.gux-drop-container.gux-drop-zone.gux-disabled .gux-drag-and-drop-text{opacity:0.5}.gux-offscreen{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-proxy-button{inline-size:fit-content;border-radius:var(--gse-ui-button-borderRadius)}.gux-proxy-button:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-file-list{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-cardGroup-gap);inline-size:100%}";export{y as gux_form_field_file_beta}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as o,a as s}from"./p-mm833MRp.js";import{t as a}from"./p-Bk9hX_6O.js";import{b as i}from"./p-Bg4q97BS.js";const c=class{constructor(e){t(this,e),this.politeness="polite"}async guxAnnounce(t){this.containerElement.innerText="",i((()=>{this.containerElement.innerText=t}))}componentWillLoad(){a(this.root)}render(){return e(o,{key:"96acda36ac04edb73e9fcc5af71fa83cd30fce92","aria-live":this.politeness},e("slot",{key:"b490bf95af7e150220969cc20383b9406b4bcf19"}),e("div",{key:"2c731aff495c684d15bda9ed006030608bc9a4e7",ref:t=>this.containerElement=t}))}get root(){return s(this)}};c.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{c as gux_announce_beta}
@@ -1 +1 @@
1
- import{r as e,h as o,H as t,a as r}from"./p-CjVJoR6g.js";import{c as i,o as a}from"./p-Cb3FOYGS.js";import{O as l}from"./p-DaK6PJIg.js";import{p as s}from"./p-PYfNAK8p.js";import{h as d}from"./p-qzV3vtOw.js";import{G as n,a as g}from"./p-kyGdOoF4.js";import{g as u,v as C}from"./p-DHLxhscH.js";import{t as f}from"./p-Rs2JRIbr.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const p=class{constructor(o){e(this,o),this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),f(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"2a07ccdfa483bedb9bd7317bd5dc6bd1529f081a",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"c8a3bdf5ee71bbe4991d3a5e3cd9ee61dd06a290",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"332b5681500d15e60b9310c3cb802150e55dc7ba",class:"gux-input-label"},o("div",{key:"72203629b351ccbba635c919ef76f6dc328d7403",class:"gux-input"},o("slot",{key:"abeae9fb7b1203eb8c240fa08dc9e4d7cc934996",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"bbf5041bf73d34bc4dd14a4218f02b9b1a6a6963",class:"gux-label"},o("slot",{key:"a967102925864849bc62718fbaa834e93364ff78",name:"label"}))),o("div",{key:"7a62d57b6b56a20c0c38402508e19e643b9b2877",class:"error-and-help-text"},o(n,{key:"22c26e650b61d4e7f0d4b56adaaddf83438d5d54",show:this.hasError},o("slot",{key:"767a2b5bc7ae8346503371df88f0bdcd655dc8b0",name:"error"})),o(g,{key:"e7d2f365b35ff06030147c66f296fc96362509c4",show:!this.hasError&&this.hasHelp},o("slot",{key:"d7b71e1858e4981ef423f763ef4e6533cd3ef9e3",name:"help"})))))}setInput(){this.input=u(this.root,'input[type="radio"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),s(this.input),this.disabled=i(this.input),this.disabledObserver=a(this.input,(e=>{this.disabled=e})),C(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,a=arguments.length,l=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(o,t,l):i(o,t))||l);a>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;padding-block-start:4px}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}:host(.gux-input-error) input[type=radio]:checked::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) .gux-form-field-error{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);color:var(--gse-ui-radioButton-icon-error-foregroundColor)}.gux-input-label{display:flex;flex-direction:row;gap:var(--gse-ui-radioButton-helper-gap)}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}.gux-input-label .gux-input{line-height:16px}::slotted(input[type=radio]){display:inline-grid;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);margin:0;vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=radio])::before{grid-area:1/1;content:\"\";border-radius:50%}::slotted(input[type=radio]:focus-visible){outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-radioButton-focus-borderRadius)}::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor)}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-selectedForegroundColor)}::slotted(input[type=radio]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-radioButton-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-radioButton-label-text-fontWeight);line-height:var(--gse-ui-radioButton-label-text-lineHeight);vertical-align:middle;color:var(--gse-ui-radioButton-label-foregroundColor)}";export{p as gux_form_field_radio}
1
+ import{r as e,h as o,H as t,a as r}from"./p-mm833MRp.js";import{c as i,o as a}from"./p-Cb3FOYGS.js";import{O as l}from"./p-1mmdDpx8.js";import{p as s}from"./p-PYfNAK8p.js";import{h as d}from"./p-qzV3vtOw.js";import{G as n,a as g}from"./p-BkM3RdTO.js";import{g as u,v as C}from"./p-DHLxhscH.js";import{t as p}from"./p-Bk9hX_6O.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const f=class{constructor(o){e(this,o),this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),p(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"2a07ccdfa483bedb9bd7317bd5dc6bd1529f081a",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"c8a3bdf5ee71bbe4991d3a5e3cd9ee61dd06a290",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"332b5681500d15e60b9310c3cb802150e55dc7ba",class:"gux-input-label"},o("div",{key:"72203629b351ccbba635c919ef76f6dc328d7403",class:"gux-input"},o("slot",{key:"abeae9fb7b1203eb8c240fa08dc9e4d7cc934996",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"bbf5041bf73d34bc4dd14a4218f02b9b1a6a6963",class:"gux-label"},o("slot",{key:"a967102925864849bc62718fbaa834e93364ff78",name:"label"}))),o("div",{key:"7a62d57b6b56a20c0c38402508e19e643b9b2877",class:"error-and-help-text"},o(n,{key:"22c26e650b61d4e7f0d4b56adaaddf83438d5d54",show:this.hasError},o("slot",{key:"767a2b5bc7ae8346503371df88f0bdcd655dc8b0",name:"error"})),o(g,{key:"e7d2f365b35ff06030147c66f296fc96362509c4",show:!this.hasError&&this.hasHelp},o("slot",{key:"d7b71e1858e4981ef423f763ef4e6533cd3ef9e3",name:"help"})))))}setInput(){this.input=u(this.root,'input[type="radio"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),s(this.input),this.disabled=i(this.input),this.disabledObserver=a(this.input,(e=>{this.disabled=e})),C(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,a=arguments.length,l=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(o,t,l):i(o,t))||l);a>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],f.prototype,"onMutation",null),f.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;padding-block-start:4px}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}:host(.gux-input-error) input[type=radio]:checked::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) .gux-form-field-error{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);color:var(--gse-ui-radioButton-icon-error-foregroundColor)}.gux-input-label{display:flex;flex-direction:row;gap:var(--gse-ui-radioButton-helper-gap)}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}.gux-input-label .gux-input{line-height:16px}::slotted(input[type=radio]){display:inline-grid;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);margin:0;vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=radio])::before{grid-area:1/1;content:\"\";border-radius:50%}::slotted(input[type=radio]:focus-visible){outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-radioButton-focus-borderRadius)}::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor)}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-selectedForegroundColor)}::slotted(input[type=radio]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-radioButton-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-radioButton-label-text-fontWeight);line-height:var(--gse-ui-radioButton-label-text-lineHeight);vertical-align:middle;color:var(--gse-ui-radioButton-label-foregroundColor)}";export{f as gux_form_field_radio}
@@ -1 +1 @@
1
- import{r as t,h as a,H as s,a as i}from"./p-CjVJoR6g.js";import{l as o}from"./p-DxtJDeL9.js";const e=class{constructor(a){t(this,a)}componentWillLoad(){this.validateSlot()}validateSlot(){var t;this.slottedElement=this.root.querySelector("a, button, gux-avatar-change-photo-beta"),this.slottedElement?(this.avatarElement=this.slottedElement.querySelector("gux-avatar-beta"),this.avatarElement||o(this.root,"Slotted element must contain a gux-avatar")):o(this.root,"An anchor tag, gux-avatar-change-photo-beta tag or button tag must be slotted into gux-avatar-focusable"),["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(this.slottedElement.addEventListener("keyup",(t=>{this.handleKeyEvent(t)})),this.slottedElement.addEventListener("focusout",(()=>{this.handleFocusOut()})))}disconnectedCallback(){var t,a,s;["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(null===(a=this.slottedElement)||void 0===a||a.removeEventListener("keyup",(t=>this.handleKeyEvent(t))),null===(s=this.slottedElement)||void 0===s||s.removeEventListener("focusout",(()=>this.handleFocusOut())))}handleKeyEvent(t){var a,s;"Tab"===t.key?this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(a=this.avatarElement)||void 0===a||a.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip()}),6e3)):this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(s=this.avatarElement)||void 0===s||s.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}handleFocusOut(){var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}render(){return a(s,{key:"c32aa2b991c4c8275379d174498c14715be4ebad"},a("slot",{key:"93627d23004d26c9c8e72d6111a75c8585fa3f43"}))}get root(){return i(this)}};export{e as gux_avatar_focusable_beta}
1
+ import{r as t,h as a,H as s,a as i}from"./p-mm833MRp.js";import{l as o}from"./p-DxtJDeL9.js";const e=class{constructor(a){t(this,a)}componentWillLoad(){this.validateSlot()}validateSlot(){var t;this.slottedElement=this.root.querySelector("a, button, gux-avatar-change-photo-beta"),this.slottedElement?(this.avatarElement=this.slottedElement.querySelector("gux-avatar-beta"),this.avatarElement||o(this.root,"Slotted element must contain a gux-avatar")):o(this.root,"An anchor tag, gux-avatar-change-photo-beta tag or button tag must be slotted into gux-avatar-focusable"),["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(this.slottedElement.addEventListener("keyup",(t=>{this.handleKeyEvent(t)})),this.slottedElement.addEventListener("focusout",(()=>{this.handleFocusOut()})))}disconnectedCallback(){var t,a,s;["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(null===(a=this.slottedElement)||void 0===a||a.removeEventListener("keyup",(t=>this.handleKeyEvent(t))),null===(s=this.slottedElement)||void 0===s||s.removeEventListener("focusout",(()=>this.handleFocusOut())))}handleKeyEvent(t){var a,s;"Tab"===t.key?this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(a=this.avatarElement)||void 0===a||a.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip()}),6e3)):this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(s=this.avatarElement)||void 0===s||s.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}handleFocusOut(){var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}render(){return a(s,{key:"c32aa2b991c4c8275379d174498c14715be4ebad"},a("slot",{key:"93627d23004d26c9c8e72d6111a75c8585fa3f43"}))}get root(){return i(this)}};export{e as gux_avatar_focusable_beta}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as o,a as i}from"./p-mm833MRp.js";import{a as s,c as r,o as a,f as p,s as h,h as n,b as d}from"./p-C8aV-TzO.js";import{O as c}from"./p-CuMZPTZF.js";import{t as l}from"./p-Bk9hX_6O.js";import{g as u}from"./p-BBpQG81s.js";import{f}from"./p-Cr5bTKWF.js";const g=class{constructor(o){t(this,o),this.guxdismiss=e(this,"guxdismiss",7),this.position="bottom",this.displayDismissButton=!1,this.closeOnClickOutside=!1,this.isOpen=!1,this.disconnect=void 0}updateForElement(){this.forElement=this.getForElement(),this.forElement.setAttribute("aria-haspopup","true")}onKeyDown(t){"Escape"===t.key&&this.forElement.focus()}onFocusout(t){!this.closeOnClickOutside&&this.displayDismissButton||t.relatedTarget&&!this.root.contains(t.relatedTarget)&&this.dismiss()}checkForClickOutside(t){const e=t.composedPath(),o=f(this.root,this.for),i=e.includes(o);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss()}async guxDismissPopover(){this.dismiss()}async guxFocusPopover(){this.focusPopup()}get titleSlot(){return u(this.root,"title")}get footerSlot(){return u(this.root,"footer")}getForElement(){if(this.for){const t=f(this.root,this.for);return t||this.logForAttributeError(),t}this.logForAttributeError()}focusPopup(){const t=this.root.querySelector("[autoFocus]");t?null==t||t.focus():this.popupElement.focus()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=s(f(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=f(this.root,this.for);this.popupElement&&t&&r(t,this.popupElement,{placement:this.position,middleware:[a(7),p(),h(),n(),d({element:this.arrowElement,padding:16})]}).then((({x:t,y:e,middlewareData:o,placement:i})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${e}px`});const s=i.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[s],a={top:0,right:90,bottom:180,left:-90}[s],p="left"===s||"right"===s?15:13;if(o.arrow){let t=o.arrow.x;const e=o.arrow.y;"left"!==s&&"right"!==s||(t+=4),this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=e?`${e}px`:"",right:"",bottom:"",[r]:-p+"px",transform:`rotate(${a}deg)`})}o.hide&&Object.assign(this.popupElement.style,{visibility:o.hide.referenceHidden?"hidden":"visible"})}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1,this.popupElement.hidePopover())}logForAttributeError(){this.root.isConnected&&console.error(`gux-popover: invalid element supplied to 'for': "${this.for}"`)}onKeydown(t){switch(t.key){case"Enter":case" ":t.preventDefault(),this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition(),this.focusPopup()}}onMouseup(){this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition()}connectedCallback(){this.updateForElement(),l(this.root,{variant:this.position});const t=this.onKeydown.bind(this);this.forElement.addEventListener("keydown",t);const e=this.onMouseup.bind(this);this.forElement.addEventListener("mouseup",e),this.disconnect=()=>{this.forElement.removeEventListener("keydown",t),this.forElement.removeEventListener("mouseup",e)}}componentDidLoad(){this.forElement&&(this.forElement.popoverTargetElement=this.popupElement,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 o("div",{key:"e939bd9d5563dfd5e723a069f302534d38f47195",ref:t=>this.popupElement=t,class:{"gux-popover-wrapper":!0,"gux-hidden":!this.isOpen},"data-placement":!0,popover:"manual",tabindex:"-1"},o("div",{key:"029e38e983de2018f5608ecd0bd8e5db570b772f",ref:t=>this.arrowElement=t,class:"gux-arrow"},o("div",{key:"b57de8a196ff01783fd186976f2f4d790a28574a",class:"gux-arrow-caret"})),this.displayDismissButton&&o("gux-dismiss-button",{key:"e45d1a5f6b0edb63e9f72c8ed1cdfeaff6bd6a5b",onClick:this.dismiss.bind(this)}),o("div",{key:"af594623ae072b7f1b0f914b43997d29a3635388",class:{"gux-popover-header":Boolean(this.titleSlot)}},o("slot",{key:"f635a2aa77c0b0e9f5bac6a36012274e7e41b421",name:"title"})),o("div",{key:"7675b0d3cb852611d77b7bd51ad1793fbcb8bda3",class:"gux-popover-content"},o("slot",{key:"c6784ac9766578bab9a4f430849d2ea162db127b"})),o("div",{key:"fa798d5965d74240817f612f6208a13b96e0e940",class:{"gux-popover-footer":Boolean(this.footerSlot)}},o("slot",{key:"3e21fca852329eaf7182a237bb47a604ca398550",name:"footer"})))}get root(){return i(this)}static get watchers(){return{for:["updateForElement"]}}};(function(t,e,o,i){var s,r=arguments.length,a=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,i);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(a=(r<3?s(a):r>3?s(e,o,a):s(e,o))||a);r>3&&a&&Object.defineProperty(e,o,a)})([c({triggerEvents:"mousedown"})],g.prototype,"checkForClickOutside",null),g.style=":popover-open{position:absolute;inset:unset}.gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;padding:var(--gse-ui-popover-padding);overflow:hidden;color:var(--gse-semantic-foreground-container-highEmphasis);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-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper{}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper .gux-popover-footer{padding-block-start:var(--gse-ui-popover-gap)}";export{g as gux_popover_beta}