genesys-spark-components 4.157.1 → 4.157.2

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 (557) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/{get-valid-timezone-DU46-Gxj.js → get-valid-timezone-C0xJZ9V1.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  20. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  21. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  23. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-content-search.cjs.entry.js +4 -4
  29. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  30. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  34. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  39. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  41. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  49. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  51. package/dist/cjs/{gux-form-field-container-CsghX33K.js → gux-form-field-container-vQrhKdTl.js} +1 -1
  52. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
  53. package/dist/cjs/{gux-form-field-error-BM73eb_o.js → gux-form-field-error-DwdPe1do.js} +1 -1
  54. package/dist/cjs/{gux-form-field-fieldset-container-ZOMCzWMr.js → gux-form-field-fieldset-container-pqGQ6m4S.js} +1 -1
  55. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
  56. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  57. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  58. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  59. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
  60. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  61. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
  62. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  63. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  64. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  65. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  66. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  67. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  68. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  69. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
  70. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  76. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
  77. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  83. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  92. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  101. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  105. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  106. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  108. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  110. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
  114. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
  116. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
  117. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
  118. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  119. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
  120. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  121. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  123. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  126. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  128. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  131. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  132. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  133. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  138. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  139. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  141. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  142. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  144. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  145. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  146. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  147. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  148. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
  150. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  151. package/dist/cjs/gux-table.cjs.entry.js +3 -3
  152. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  153. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  154. package/dist/cjs/gux-tag.cjs.entry.js +3 -3
  155. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  156. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  157. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  158. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  159. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  160. package/dist/cjs/gux-toast.cjs.entry.js +2 -2
  161. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  162. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  163. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  164. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  165. package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
  166. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  167. package/dist/cjs/{index-D-imLRhv.js → index-DFJM_D-5.js} +1 -1
  168. package/dist/cjs/{index-BQrPK8Sl.js → index-VdCTHAy4.js} +1 -1
  169. package/dist/cjs/loader.cjs.js +1 -1
  170. package/dist/cjs/{on-click-outside-BzCp8ZxJ.js → on-click-outside-ClPD8v3q.js} +1 -1
  171. package/dist/cjs/{on-mutation-Cd2RsGV3.js → on-mutation-DW6SF8Qi.js} +1 -1
  172. package/dist/cjs/{on-resize-QXco5eCB.js → on-resize-B49teQmM.js} +1 -1
  173. package/dist/cjs/{usage-DNYn1FPa.js → usage-xVgSHv_3.js} +1 -1
  174. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +1 -1
  175. package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.common.js +94 -0
  176. package/dist/collection/test/expectToHaveNoViolations.js +43 -0
  177. package/dist/collection/test/playwrightTestUtils.js +9 -8
  178. package/dist/collection/test/setupAxeTests.js +5 -64
  179. package/dist/collection/test/setupTests.js +2 -4
  180. package/dist/esm/genesys-webcomponents.js +2 -2
  181. package/dist/esm/{get-valid-timezone-B9tiABRl.js → get-valid-timezone-DSdiXBF2.js} +1 -1
  182. package/dist/esm/gux-accordion-section.entry.js +1 -1
  183. package/dist/esm/gux-accordion.entry.js +2 -2
  184. package/dist/esm/gux-action-button.entry.js +4 -4
  185. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  186. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  187. package/dist/esm/gux-all-row-select.entry.js +2 -2
  188. package/dist/esm/gux-announce-beta.entry.js +2 -2
  189. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  190. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  191. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  192. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  193. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  194. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  195. package/dist/esm/gux-badge.entry.js +4 -4
  196. package/dist/esm/gux-blank-state.entry.js +3 -3
  197. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  198. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  199. package/dist/esm/gux-button-multi.entry.js +3 -3
  200. package/dist/esm/gux-button-slot.entry.js +2 -2
  201. package/dist/esm/gux-button_2.entry.js +3 -3
  202. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  203. package/dist/esm/gux-calendar.entry.js +3 -3
  204. package/dist/esm/gux-card.entry.js +2 -2
  205. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  206. package/dist/esm/gux-column-manager.entry.js +3 -3
  207. package/dist/esm/gux-content-search.entry.js +4 -4
  208. package/dist/esm/gux-context-menu.entry.js +4 -4
  209. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  210. package/dist/esm/gux-create-option.entry.js +2 -2
  211. package/dist/esm/gux-cta-group.entry.js +1 -1
  212. package/dist/esm/gux-date-beta.entry.js +4 -4
  213. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  214. package/dist/esm/gux-datepicker.entry.js +4 -4
  215. package/dist/esm/gux-day-beta.entry.js +2 -2
  216. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  217. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  218. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  219. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  220. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  221. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  222. package/dist/esm/gux-file-list-item.entry.js +3 -3
  223. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  224. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  225. package/dist/esm/gux-form-beta.entry.js +1 -1
  226. package/dist/esm/gux-form-description.entry.js +1 -1
  227. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  228. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  229. package/dist/esm/gux-form-field-color.entry.js +5 -5
  230. package/dist/esm/{gux-form-field-container-DWt4RIk3.js → gux-form-field-container-DMy6XKFO.js} +1 -1
  231. package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
  232. package/dist/esm/{gux-form-field-error-C6ZVBTbw.js → gux-form-field-error-Y3c4Ie-N.js} +1 -1
  233. package/dist/esm/{gux-form-field-fieldset-container-9_eIEQmM.js → gux-form-field-fieldset-container-BjsQXSWl.js} +1 -1
  234. package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
  235. package/dist/esm/gux-form-field-file.entry.js +5 -5
  236. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  237. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  238. package/dist/esm/gux-form-field-number_2.entry.js +7 -7
  239. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  240. package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
  241. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  242. package/dist/esm/gux-form-field-range.entry.js +6 -6
  243. package/dist/esm/gux-form-field-search.entry.js +5 -5
  244. package/dist/esm/gux-form-field-select.entry.js +5 -5
  245. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  246. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  247. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  248. package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
  249. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  250. package/dist/esm/gux-form-footer.entry.js +2 -2
  251. package/dist/esm/gux-form-heading.entry.js +1 -1
  252. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  253. package/dist/esm/gux-icon.entry.js +2 -2
  254. package/dist/esm/gux-inline-alert.entry.js +3 -3
  255. package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
  256. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  257. package/dist/esm/gux-link-beta.entry.js +2 -2
  258. package/dist/esm/gux-list-divider.entry.js +1 -1
  259. package/dist/esm/gux-list-item.entry.js +1 -1
  260. package/dist/esm/gux-list.entry.js +2 -2
  261. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  262. package/dist/esm/gux-loading-message.entry.js +2 -2
  263. package/dist/esm/gux-menu-option.entry.js +1 -1
  264. package/dist/esm/gux-menu.entry.js +1 -1
  265. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  266. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  267. package/dist/esm/gux-modal.entry.js +2 -2
  268. package/dist/esm/gux-month-calendar.entry.js +2 -2
  269. package/dist/esm/gux-month-list_2.entry.js +1 -1
  270. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  271. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  272. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  273. package/dist/esm/gux-option-icon.entry.js +1 -1
  274. package/dist/esm/gux-option-multi.entry.js +2 -2
  275. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  276. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  277. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  278. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  279. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  280. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  281. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  282. package/dist/esm/gux-pagination.entry.js +2 -2
  283. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  284. package/dist/esm/gux-popover-beta.entry.js +3 -3
  285. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  286. package/dist/esm/gux-popover-list.entry.js +3 -3
  287. package/dist/esm/gux-popup.entry.js +1 -1
  288. package/dist/esm/gux-radial-loading.entry.js +3 -3
  289. package/dist/esm/gux-radial-progress.entry.js +2 -2
  290. package/dist/esm/gux-rating.entry.js +2 -2
  291. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  292. package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
  293. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  294. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  295. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  296. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  297. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  298. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  299. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  300. package/dist/esm/gux-row-select.entry.js +2 -2
  301. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  302. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  303. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  304. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  305. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  306. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  307. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  308. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  309. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  310. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  311. package/dist/esm/gux-sort-control.entry.js +3 -3
  312. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  313. package/dist/esm/gux-step-title.entry.js +2 -2
  314. package/dist/esm/gux-step.entry.js +2 -2
  315. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  316. package/dist/esm/gux-submenu.entry.js +1 -1
  317. package/dist/esm/gux-switch-item.entry.js +1 -1
  318. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  319. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  320. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  321. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  322. package/dist/esm/gux-tab-list.entry.js +3 -3
  323. package/dist/esm/gux-tab-panel.entry.js +1 -1
  324. package/dist/esm/gux-tab.entry.js +1 -1
  325. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  326. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  327. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  328. package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
  329. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  330. package/dist/esm/gux-table.entry.js +3 -3
  331. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  332. package/dist/esm/gux-tabs.entry.js +2 -2
  333. package/dist/esm/gux-tag.entry.js +3 -3
  334. package/dist/esm/gux-text-highlight.entry.js +2 -2
  335. package/dist/esm/gux-time-beta.entry.js +4 -4
  336. package/dist/esm/gux-time-picker.entry.js +4 -4
  337. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  338. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  339. package/dist/esm/gux-toast.entry.js +2 -2
  340. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  341. package/dist/esm/gux-toggle.entry.js +3 -3
  342. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  343. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  344. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  345. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  346. package/dist/esm/{index-DwD9dO7z.js → index-CteT-EFt.js} +1 -1
  347. package/dist/esm/{index-CrNuRzs_.js → index-DpQ1U-8-.js} +1 -1
  348. package/dist/esm/loader.js +2 -2
  349. package/dist/esm/{on-click-outside-DcC8PnV_.js → on-click-outside-DvP6nNvk.js} +1 -1
  350. package/dist/esm/{on-mutation-D-XLVWbC.js → on-mutation-Quv69WH7.js} +1 -1
  351. package/dist/esm/{on-resize-CNzGBVlL.js → on-resize-DbcdFG_U.js} +1 -1
  352. package/dist/esm/{usage-DusGr0et.js → usage-DXe53egP.js} +1 -1
  353. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  354. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  355. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  356. package/dist/genesys-webcomponents/{p-1b028d3c.entry.js → p-010eeb26.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-e61c0af6.entry.js → p-04f5a07d.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-1d2f7220.entry.js → p-06145f0e.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-794a0eeb.entry.js → p-0668cb80.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-0fb31cad.entry.js → p-092158de.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/p-09918615.entry.js +1 -0
  362. package/dist/genesys-webcomponents/{p-9cc9d3a5.entry.js → p-09ae1271.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-e83e6f6a.entry.js → p-0abfec88.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-42e2f779.entry.js → p-0c7e3e49.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-f00cffed.entry.js → p-0ca354f1.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-902761bf.entry.js → p-0d42256a.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-bee8e2fd.entry.js → p-0ea33643.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/{p-efb81f78.entry.js → p-107253ad.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-2f241c5c.entry.js → p-10d915fe.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-5bea2096.entry.js → p-12c65e26.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-018f19bc.entry.js → p-14469a9a.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-a79b64d2.entry.js → p-150e98a8.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/{p-996d181e.entry.js → p-1716228e.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-1e6613f4.entry.js → p-190a7063.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/p-1c593d24.entry.js +1 -0
  376. package/dist/genesys-webcomponents/{p-ce28810a.entry.js → p-1c5e66e4.entry.js} +1 -1
  377. package/dist/genesys-webcomponents/{p-d28954db.entry.js → p-1c8228c9.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-9f65efa5.entry.js → p-1ce643a3.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-9b6335b5.entry.js → p-2131b80c.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-68f51968.entry.js → p-224b2e89.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-dbf154f6.entry.js → p-227c0ab6.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/{p-bfa7778d.entry.js → p-22fa6053.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/{p-2d2e7c5c.entry.js → p-239e3468.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-c9b21a17.entry.js → p-248f19ba.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-d74c3d3d.entry.js → p-2524f6e0.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-ba4f5117.entry.js → p-2a742e71.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-22c616e3.entry.js → p-2d46dcfa.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-294f5a83.entry.js → p-2de13070.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/p-3013ecc0.entry.js +1 -0
  390. package/dist/genesys-webcomponents/{p-f368a79c.entry.js → p-302fa753.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-7121cccf.entry.js → p-31f90919.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-442e4531.entry.js → p-32172a02.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-fd7002dd.entry.js → p-3831b336.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-eb5a204c.entry.js → p-397bb4b2.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-5fe775ef.entry.js → p-3b3368f9.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/p-3e3d93fe.entry.js +1 -0
  397. package/dist/genesys-webcomponents/{p-a09c16a5.entry.js → p-3e895157.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-683ff22b.entry.js → p-3faf14d5.entry.js} +2 -2
  399. package/dist/genesys-webcomponents/{p-09d2e541.entry.js → p-4001a305.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-b410df36.entry.js → p-4238c71c.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-a4975a0b.entry.js → p-4447432b.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-df7c157c.entry.js → p-479f7ead.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-31447087.entry.js → p-4b3534f8.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-c485622b.entry.js → p-4b970b02.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-84e117b4.entry.js → p-4c215e36.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-d232b08f.entry.js → p-4e463d27.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/p-504fc76f.entry.js +1 -0
  408. package/dist/genesys-webcomponents/p-51b57ff4.entry.js +1 -0
  409. package/dist/genesys-webcomponents/{p-47d3fb33.entry.js → p-5465ca61.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-78542f26.entry.js → p-56e5d8a6.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-98681807.entry.js → p-5757088d.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-80856e58.entry.js → p-576e108a.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-a6146910.entry.js → p-57f07bed.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-r-A5Sv7q.js → p-5JLFUoN2.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-719d0ecf.entry.js → p-5a2121dd.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-4ea0e85b.entry.js → p-5af27317.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-10f39090.entry.js → p-5b111d07.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-1a4798be.entry.js → p-5e170c57.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-26d9f30c.entry.js → p-604f3883.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-e3250775.entry.js → p-61a0eda0.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-448853ab.entry.js → p-62cf0e68.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-e4918412.entry.js → p-63173290.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-d5679311.entry.js → p-639be021.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-4b9662eb.entry.js → p-64c9dd56.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-421a6f05.entry.js → p-6713be28.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-b498cf29.entry.js → p-6aae6646.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-4123a8d9.entry.js → p-6cdad91c.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-c4a164f6.entry.js → p-6d7f291d.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-a0cc4686.entry.js → p-6e07b064.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-f3b2d2ec.entry.js → p-6e0d3115.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-DdMoEl_o.js → p-6ukQFVpI.js} +1 -1
  432. package/dist/genesys-webcomponents/p-7142068a.entry.js +1 -0
  433. package/dist/genesys-webcomponents/{p-a00774cb.entry.js → p-71beafe6.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-70eeb612.entry.js → p-74fa680e.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-0e636741.entry.js → p-7513029e.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-c90a130c.entry.js → p-7ac9301e.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/p-7cc9bdce.entry.js +1 -0
  438. package/dist/genesys-webcomponents/{p-bd168462.entry.js → p-7d1570d6.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-b1451216.entry.js → p-804d0cea.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/p-80792f38.entry.js +1 -0
  441. package/dist/genesys-webcomponents/{p-9bd26f2c.entry.js → p-8256f04f.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-7f610d5d.entry.js → p-83f643f9.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-93d23385.entry.js → p-87ffc257.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/p-89d571e7.entry.js +1 -0
  445. package/dist/genesys-webcomponents/{p-185f252f.entry.js → p-8af0ca46.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-07d9c92e.entry.js → p-8d2375c1.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-7c4ac16d.entry.js → p-8db6515a.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-600fb347.entry.js → p-8e8d0340.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-6b8f0812.entry.js → p-91ab24c1.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-4914952d.entry.js → p-95d2139d.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-0b51e70c.entry.js → p-96d1b059.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-61f8684b.entry.js → p-97869107.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-c8458472.entry.js → p-98bb159b.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-dbc6c7b8.entry.js → p-9a48cd12.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-58e3db9a.entry.js → p-9badde2f.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-2fa5e5b7.entry.js → p-9c0a155a.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/p-B7nShefu.js +1 -0
  458. package/dist/genesys-webcomponents/p-BSjADocz.js +1 -0
  459. package/dist/genesys-webcomponents/p-BnUSiPX2.js +1 -0
  460. package/dist/genesys-webcomponents/{p-fWIHj_dF.js → p-C7eyjCR-.js} +1 -1
  461. package/dist/genesys-webcomponents/p-CteT-EFt.js +2 -0
  462. package/dist/genesys-webcomponents/{p-DusGr0et.js → p-DXe53egP.js} +1 -1
  463. package/dist/genesys-webcomponents/p-G9kal9Ac.js +1 -0
  464. package/dist/genesys-webcomponents/{p-BshN0UgG.js → p-W9bqpKbz.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-080c9413.entry.js → p-a2867f1d.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-9b965054.entry.js → p-a31e7883.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-8aeee5cc.entry.js → p-a532650b.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-f10b0c1e.entry.js → p-a626575e.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-1c8babca.entry.js → p-a8146217.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-84c9e36c.entry.js → p-a8230d6e.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-b77ef1e2.entry.js → p-a92c2017.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-1bcb83a6.entry.js → p-aa6a6096.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/p-acbfb777.entry.js +1 -0
  474. package/dist/genesys-webcomponents/{p-75a23333.entry.js → p-adb98ea1.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/p-b0ca1385.entry.js +1 -0
  476. package/dist/genesys-webcomponents/{p-195492bc.entry.js → p-b3121dbf.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-6940ce0b.entry.js → p-b37689fb.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/p-b3ffeb04.entry.js +1 -0
  479. package/dist/genesys-webcomponents/{p-ff433b86.entry.js → p-b68d4d12.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-c8f34de6.entry.js → p-b771a981.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-c3508d3c.entry.js → p-b88ed72b.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-b280162e.entry.js → p-b91509cd.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-ef9c809b.entry.js → p-be451bc3.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-fe78b1c9.entry.js → p-bee1c859.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-b27655ae.entry.js → p-bf7349ec.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/p-c2de69bb.entry.js +1 -0
  487. package/dist/genesys-webcomponents/{p-dc84ee0a.entry.js → p-c3a477e4.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-eedecf2a.entry.js → p-c3ff875b.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-3c7cab6a.entry.js → p-c465d9d6.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/p-c49df173.entry.js +1 -0
  491. package/dist/genesys-webcomponents/{p-767276d5.entry.js → p-c7848183.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-98d4024b.entry.js → p-c8f20a4c.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-dff8abea.entry.js → p-cb322d1f.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-abff82c0.entry.js → p-cb5b12f0.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-2a76b547.entry.js → p-d24b1b03.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-4e57a90b.entry.js → p-d302f317.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-061f1346.entry.js → p-d3a72fe7.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-a7fc1abf.entry.js → p-d3c86f2f.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-259f3ec5.entry.js → p-d4811961.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-de7a8295.entry.js → p-d795fbed.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-148b6a9c.entry.js → p-dae4603f.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-e69c7f1f.entry.js → p-daf92a38.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/p-daffb8c5.entry.js +1 -0
  504. package/dist/genesys-webcomponents/{p-31f9fbc5.entry.js → p-deeb6f08.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-936ffbbb.entry.js → p-e143ccf4.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-4ed88eaf.entry.js → p-e27aa956.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-7e448ddf.entry.js → p-e652dd97.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-cb2ac5e3.entry.js → p-e8e20ece.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-3acdca02.entry.js → p-e90fe101.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-634dd2aa.entry.js → p-e93baf16.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-5e5165cc.entry.js → p-ecdc2bf3.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-3ff39e37.entry.js → p-edc1349a.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-35df7080.entry.js → p-ee8a68db.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-8d6b54b3.entry.js → p-f094364f.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/p-f147d11f.entry.js +1 -0
  516. package/dist/genesys-webcomponents/{p-380e3644.entry.js → p-f216f39f.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-1fc092ab.entry.js → p-f293c122.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-6538ba8d.entry.js → p-f3c9fcf6.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-17879312.entry.js → p-f55fe764.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-0dbce91a.entry.js → p-f6335320.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/p-f66561a7.entry.js +1 -0
  522. package/dist/genesys-webcomponents/{p-792e9bfc.entry.js → p-f7dbe83a.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-cd928135.entry.js → p-f9166d97.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-28b72589.entry.js → p-fc767d34.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-68380833.entry.js → p-fcf8f6cd.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-1c7cc406.entry.js → p-ff3555e9.entry.js} +1 -1
  527. package/dist/stencil-wrapper.js +1 -1
  528. package/dist/types/components/stable/gux-content-search/tests/gux-content-search.common.d.ts +4 -0
  529. package/dist/types/stencil-wrapper.d.ts +1 -1
  530. package/dist/types/test/expectToHaveNoViolations.d.ts +14 -0
  531. package/dist/types/test/playwrightTestUtils.d.ts +9 -4
  532. package/dist/types/test/setupAxeTests.d.ts +1 -0
  533. package/dist/types/test/setupTests.d.ts +0 -0
  534. package/package.json +1 -1
  535. package/dist/genesys-webcomponents/p-03a76b6f.entry.js +0 -1
  536. package/dist/genesys-webcomponents/p-05369b47.entry.js +0 -1
  537. package/dist/genesys-webcomponents/p-087f7d14.entry.js +0 -1
  538. package/dist/genesys-webcomponents/p-0b6684ad.entry.js +0 -1
  539. package/dist/genesys-webcomponents/p-1cfc2ae8.entry.js +0 -1
  540. package/dist/genesys-webcomponents/p-1eb6ab96.entry.js +0 -1
  541. package/dist/genesys-webcomponents/p-2a126100.entry.js +0 -1
  542. package/dist/genesys-webcomponents/p-32bd8f01.entry.js +0 -1
  543. package/dist/genesys-webcomponents/p-333972ef.entry.js +0 -1
  544. package/dist/genesys-webcomponents/p-3558ed61.entry.js +0 -1
  545. package/dist/genesys-webcomponents/p-45782835.entry.js +0 -1
  546. package/dist/genesys-webcomponents/p-46be6548.entry.js +0 -1
  547. package/dist/genesys-webcomponents/p-53a51388.entry.js +0 -1
  548. package/dist/genesys-webcomponents/p-54878f8d.entry.js +0 -1
  549. package/dist/genesys-webcomponents/p-6260944e.entry.js +0 -1
  550. package/dist/genesys-webcomponents/p-7f70fa5b.entry.js +0 -1
  551. package/dist/genesys-webcomponents/p-82c09ef2.entry.js +0 -1
  552. package/dist/genesys-webcomponents/p-CUSIOYec.js +0 -1
  553. package/dist/genesys-webcomponents/p-CvPWYZYp.js +0 -1
  554. package/dist/genesys-webcomponents/p-D0FCqvQJ.js +0 -1
  555. package/dist/genesys-webcomponents/p-DwD9dO7z.js +0 -2
  556. package/dist/genesys-webcomponents/p-e290fb78.entry.js +0 -1
  557. package/dist/genesys-webcomponents/p-jLUZ1wCM.js +0 -1
@@ -1 +1 @@
1
- import{r as e,f as o,h as r,a as t}from"./p-DwD9dO7z.js";import{O as i}from"./p-D0FCqvQJ.js";import{h as l}from"./p-qzV3vtOw.js";import{l as s}from"./p-DxtJDeL9.js";import{b as a}from"./p-r-A5Sv7q.js";import{s as n}from"./p-BMRf5pjV.js";import{a as f,G as h}from"./p-CvPWYZYp.js";import{G as u,a as c,b as g}from"./p-DdMoEl_o.js";import{g as d}from"./p-MAoEg4ig.js";import{t as p}from"./p-DusGr0et.js";import"./p-Cd4R0amv.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=m(e).length,r=function(e){return m(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function m(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}var b={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await a(this.root,b),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,m(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&s(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&s(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(g,{key:"e510f0c0fcf9fd76c3c391bd66ec2fef75b7be9a",labelPosition:"above"},r(c,{key:"bc4bb057d2d535f204cefe85ad27d9b6217dec46"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"5e5164adc2563d6d3bab22188a5d75440c572e27",position:"above",required:this.required},r("slot",{key:"0906ef1243947d52d9c3d2618c0c88a62b94b945",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"19e888030a5c2078c38dab9b5685e6c8e4dcb4f9",variant:this.indicatorMark,required:this.required}),r("slot",{key:"5dd452934445d8269cd667ae910f1533aee27f75",name:"group-label-info"})),r("slot",{key:"4155cf7d2f092ffe73188f573c04b62a50aacdc2",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"34ef875c9dc46ff37eb3574ef94b065e44199c21",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"e367804623750343279f24afbb6030c7405f0360",show:this.hasGroupError},r("slot",{key:"e140d2c5cf27f58464cabc70f7f49023061696ec",name:"group-error"})),r(f,{key:"6828d92569eee8d5fdadbe1fbcd93910091ae9b0",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"2b5e8829043e90f7f55c13ec14842436ce6dfa29",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,s=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(l<3?i(s):l>3?i(o,r,s):i(o,r))||s);l>3&&s&&Object.defineProperty(o,r,s)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.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 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 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(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}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-block-start:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-inline-start:24px}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-inline-start:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}
1
+ import{r as e,f as o,h as r,a as t}from"./p-CteT-EFt.js";import{O as i}from"./p-B7nShefu.js";import{h as l}from"./p-qzV3vtOw.js";import{l as s}from"./p-DxtJDeL9.js";import{b as a}from"./p-5JLFUoN2.js";import{s as n}from"./p-BMRf5pjV.js";import{a as f,G as h}from"./p-BSjADocz.js";import{G as u,a as c,b as g}from"./p-6ukQFVpI.js";import{g as d}from"./p-MAoEg4ig.js";import{t as p}from"./p-DXe53egP.js";import"./p-Cd4R0amv.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=m(e).length,r=function(e){return m(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function m(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}var b={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await a(this.root,b),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,m(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&s(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&s(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(g,{key:"e510f0c0fcf9fd76c3c391bd66ec2fef75b7be9a",labelPosition:"above"},r(c,{key:"bc4bb057d2d535f204cefe85ad27d9b6217dec46"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"5e5164adc2563d6d3bab22188a5d75440c572e27",position:"above",required:this.required},r("slot",{key:"0906ef1243947d52d9c3d2618c0c88a62b94b945",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"19e888030a5c2078c38dab9b5685e6c8e4dcb4f9",variant:this.indicatorMark,required:this.required}),r("slot",{key:"5dd452934445d8269cd667ae910f1533aee27f75",name:"group-label-info"})),r("slot",{key:"4155cf7d2f092ffe73188f573c04b62a50aacdc2",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"34ef875c9dc46ff37eb3574ef94b065e44199c21",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"e367804623750343279f24afbb6030c7405f0360",show:this.hasGroupError},r("slot",{key:"e140d2c5cf27f58464cabc70f7f49023061696ec",name:"group-error"})),r(f,{key:"6828d92569eee8d5fdadbe1fbcd93910091ae9b0",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"2b5e8829043e90f7f55c13ec14842436ce6dfa29",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,s=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(l<3?i(s):l>3?i(o,r,s):i(o,r))||s);l>3&&s&&Object.defineProperty(o,r,s)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.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 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 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(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}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-block-start:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-inline-start:24px}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-inline-start:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}
@@ -1 +1 @@
1
- import{r as e,c as o,h as t,a as r}from"./p-DwD9dO7z.js";import{r as i}from"./p-D9jKBqIb.js";import{a}from"./p-DxtJDeL9.js";const n=class{constructor(t){e(this,t),this.guxopened=o(this,"guxopened",7),this.guxclosed=o(this,"guxclosed",7),this.sectionId=i("gux-accordion-section"),this.headerId=i("gux-accordion-header"),this.arrowPosition="end",this.contentLayout="text",this.open=!1,this.disabled=!1,this.reverseHeadings=!1}watchOpen(e){e?this.guxopened.emit():this.guxclosed.emit()}toggle(){this.open=!this.open}isArrowPositionBeforeText(){return"start"===this.arrowPosition}handleSlotChange(e){const o=this.root.querySelector(`[slot="${e}"]`);o.role="presentation",o&&/^H[1-6]$/.test(o.nodeName)||a(this.root,`For accessibility reasons the ${e} slot should be filled with a HTML heading tag (h1 - h6).`),"header"==e&&(this.headingLevel=parseInt(o.nodeName.replace("H",""),10))}componentWillLoad(){this.hasIconSlot=!!this.root.querySelector('[slot="icon"]')}render(){return t("section",{key:"674fc87bcc66d1d95e5cb276d5e70692e3cf51a8",class:{"gux-disabled":this.disabled}},t("div",{key:"9468ed945146ed3cc49211ad68cc4ae34d1a98ec",id:this.headerId,role:"heading","aria-level":this.headingLevel},t("button",{key:"81c4c2abab2b4023688b67e03fb7eec2ddec246a",class:{"gux-header":!0,"gux-reverse-headings":this.reverseHeadings},type:"button","aria-expanded":this.open.toString(),"aria-controls":this.sectionId,disabled:this.disabled,onClick:this.toggle.bind(this)},this.hasIconSlot&&t("slot",{key:"e10cf5069ca43a76e4f0cfe3f09e21313c949c59",name:"icon"}),t("div",{key:"4395ae449bcbd47d16dd08c84be5e174bc68a1cf",class:{"gux-header-text":!0}},t("slot",{key:"d9f81cf111342ed803f0de96bc4837ad55683b46",onSlotchange:()=>this.handleSlotChange("header"),name:"header"}),t("slot",{key:"d087bbff228ccd623769c7d27684f9db038b7843",onSlotchange:()=>this.handleSlotChange("subheader"),name:"subheader"})),t("div",{key:"84fd4c249ab6f1c5a024d0b885a4a2e839432f52",class:{"gux-header-icon":!0,"gux-expanded":this.open,"gux-arrow-position-start":this.isArrowPositionBeforeText()}},t("gux-icon",{key:"59f3304b140ad39781a3e41ed9623dd21a4c4e2e",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),t("div",{key:"e50b7aaebe532de57349ccb39644f4c326df05ff",id:this.sectionId,role:"region","aria-labelledby":this.headerId,class:{"gux-content":!0,"gux-expanded":this.open,"gux-text-content-layout":"text"===this.contentLayout}},t("slot",{key:"ac483e88d40ddd8f7ee0030be7de192f690c4e6c",name:"content"})))}get root(){return r(this)}static get watchers(){return{open:["watchOpen"]}}};n.style=":host(:first-child) section{border-block-start:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section.gux-disabled{cursor:default}section.gux-disabled>*{pointer-events:none;opacity:0.5}section{border-block-end:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section .gux-header{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:center flex-start;align-items:center;inline-size:100%;padding:var(--gse-ui-accordion-header-padding);margin:0;cursor:pointer}section .gux-header .gux-header-text{flex:1 1 auto;align-self:auto;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight);color:var(--gse-ui-accordion-header-default-foreground-labelColor);text-align:start}section .gux-header.gux-reverse-headings .gux-header-text{display:flex;flex-direction:column-reverse}section .gux-header ::slotted([slot=header]){padding:0;margin:0;font-family:var(--gse-ui-accordion-header-label-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-header-label-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-header-label-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-header-default-foreground-labelColor)}section .gux-header ::slotted([slot=subheader]){padding:0;margin-block:var(--gse-core-spacing-5xs) 0;margin-inline:0;font-family:var(--gse-ui-accordion-contentItem-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-contentItem-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-contentItem-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-contentItem-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-contentItem-foregroundColor)}section .gux-header ::slotted([slot=subheader]) .gux-reverse-headings{margin-block:0 var(--gse-core-spacing-5xs);margin-inline:0}section .gux-header ::slotted([slot=icon]){flex:0 0 auto;align-self:flex-start;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);margin-inline-end:var(--gse-ui-accordion-header-gap);color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed)}section .gux-header ::slotted([slot=icon]) .gux-reverse-headings{align-self:flex-end}section .gux-header .gux-header-icon{flex:0 1 auto;align-items:center;align-self:auto;margin-inline-start:var(--gse-ui-accordion-header-gap);line-height:0;color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed);transform-origin:center;transition:transform 0.5s ease}section .gux-header .gux-header-icon.gux-arrow-position-start{order:-1;margin-inline-end:var(--gse-ui-accordion-header-gap)}section .gux-header .gux-header-icon.gux-expanded{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-open);transform:rotate(-180deg)}section .gux-header:focus-visible{outline:var(--gse-ui-accordion-focusBorder-width) var(--gse-ui-accordion-focusBorder-style) var(--gse-ui-accordion-focusBorder-color);outline-offset:var(--gse-ui-accordion-focus-offset-gap);border-radius:var(--gse-ui-accordion-menuItem-focus-borderRadius)}section .gux-header:hover .gux-header-icon{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-hover)}section .gux-content{box-sizing:border-box;display:none}section .gux-content.gux-expanded{display:block}section .gux-content.gux-text-content-layout{padding:var(--gse-ui-accordion-contentItem-padding)}section .gux-content ::slotted([slot=content]){margin:0}";export{n as gux_accordion_section}
1
+ import{r as e,c as o,h as t,a as r}from"./p-CteT-EFt.js";import{r as i}from"./p-D9jKBqIb.js";import{a}from"./p-DxtJDeL9.js";const n=class{constructor(t){e(this,t),this.guxopened=o(this,"guxopened",7),this.guxclosed=o(this,"guxclosed",7),this.sectionId=i("gux-accordion-section"),this.headerId=i("gux-accordion-header"),this.arrowPosition="end",this.contentLayout="text",this.open=!1,this.disabled=!1,this.reverseHeadings=!1}watchOpen(e){e?this.guxopened.emit():this.guxclosed.emit()}toggle(){this.open=!this.open}isArrowPositionBeforeText(){return"start"===this.arrowPosition}handleSlotChange(e){const o=this.root.querySelector(`[slot="${e}"]`);o.role="presentation",o&&/^H[1-6]$/.test(o.nodeName)||a(this.root,`For accessibility reasons the ${e} slot should be filled with a HTML heading tag (h1 - h6).`),"header"==e&&(this.headingLevel=parseInt(o.nodeName.replace("H",""),10))}componentWillLoad(){this.hasIconSlot=!!this.root.querySelector('[slot="icon"]')}render(){return t("section",{key:"674fc87bcc66d1d95e5cb276d5e70692e3cf51a8",class:{"gux-disabled":this.disabled}},t("div",{key:"9468ed945146ed3cc49211ad68cc4ae34d1a98ec",id:this.headerId,role:"heading","aria-level":this.headingLevel},t("button",{key:"81c4c2abab2b4023688b67e03fb7eec2ddec246a",class:{"gux-header":!0,"gux-reverse-headings":this.reverseHeadings},type:"button","aria-expanded":this.open.toString(),"aria-controls":this.sectionId,disabled:this.disabled,onClick:this.toggle.bind(this)},this.hasIconSlot&&t("slot",{key:"e10cf5069ca43a76e4f0cfe3f09e21313c949c59",name:"icon"}),t("div",{key:"4395ae449bcbd47d16dd08c84be5e174bc68a1cf",class:{"gux-header-text":!0}},t("slot",{key:"d9f81cf111342ed803f0de96bc4837ad55683b46",onSlotchange:()=>this.handleSlotChange("header"),name:"header"}),t("slot",{key:"d087bbff228ccd623769c7d27684f9db038b7843",onSlotchange:()=>this.handleSlotChange("subheader"),name:"subheader"})),t("div",{key:"84fd4c249ab6f1c5a024d0b885a4a2e839432f52",class:{"gux-header-icon":!0,"gux-expanded":this.open,"gux-arrow-position-start":this.isArrowPositionBeforeText()}},t("gux-icon",{key:"59f3304b140ad39781a3e41ed9623dd21a4c4e2e",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),t("div",{key:"e50b7aaebe532de57349ccb39644f4c326df05ff",id:this.sectionId,role:"region","aria-labelledby":this.headerId,class:{"gux-content":!0,"gux-expanded":this.open,"gux-text-content-layout":"text"===this.contentLayout}},t("slot",{key:"ac483e88d40ddd8f7ee0030be7de192f690c4e6c",name:"content"})))}get root(){return r(this)}static get watchers(){return{open:["watchOpen"]}}};n.style=":host(:first-child) section{border-block-start:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section.gux-disabled{cursor:default}section.gux-disabled>*{pointer-events:none;opacity:0.5}section{border-block-end:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section .gux-header{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:center flex-start;align-items:center;inline-size:100%;padding:var(--gse-ui-accordion-header-padding);margin:0;cursor:pointer}section .gux-header .gux-header-text{flex:1 1 auto;align-self:auto;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight);color:var(--gse-ui-accordion-header-default-foreground-labelColor);text-align:start}section .gux-header.gux-reverse-headings .gux-header-text{display:flex;flex-direction:column-reverse}section .gux-header ::slotted([slot=header]){padding:0;margin:0;font-family:var(--gse-ui-accordion-header-label-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-header-label-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-header-label-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-header-default-foreground-labelColor)}section .gux-header ::slotted([slot=subheader]){padding:0;margin-block:var(--gse-core-spacing-5xs) 0;margin-inline:0;font-family:var(--gse-ui-accordion-contentItem-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-contentItem-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-contentItem-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-contentItem-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-contentItem-foregroundColor)}section .gux-header ::slotted([slot=subheader]) .gux-reverse-headings{margin-block:0 var(--gse-core-spacing-5xs);margin-inline:0}section .gux-header ::slotted([slot=icon]){flex:0 0 auto;align-self:flex-start;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);margin-inline-end:var(--gse-ui-accordion-header-gap);color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed)}section .gux-header ::slotted([slot=icon]) .gux-reverse-headings{align-self:flex-end}section .gux-header .gux-header-icon{flex:0 1 auto;align-items:center;align-self:auto;margin-inline-start:var(--gse-ui-accordion-header-gap);line-height:0;color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed);transform-origin:center;transition:transform 0.5s ease}section .gux-header .gux-header-icon.gux-arrow-position-start{order:-1;margin-inline-end:var(--gse-ui-accordion-header-gap)}section .gux-header .gux-header-icon.gux-expanded{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-open);transform:rotate(-180deg)}section .gux-header:focus-visible{outline:var(--gse-ui-accordion-focusBorder-width) var(--gse-ui-accordion-focusBorder-style) var(--gse-ui-accordion-focusBorder-color);outline-offset:var(--gse-ui-accordion-focus-offset-gap);border-radius:var(--gse-ui-accordion-menuItem-focus-borderRadius)}section .gux-header:hover .gux-header-icon{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-hover)}section .gux-content{box-sizing:border-box;display:none}section .gux-content.gux-expanded{display:block}section .gux-content.gux-text-content-layout{padding:var(--gse-ui-accordion-contentItem-padding)}section .gux-content ::slotted([slot=content]){margin:0}";export{n as gux_accordion_section}
@@ -1 +1 @@
1
- import{r as t,h as s,a as o}from"./p-DwD9dO7z.js";import{l as a}from"./p-DxtJDeL9.js";const e=class{constructor(s){t(this,s),this.align="start",this.dangerous=!1}validatePrimarySlot(t){t?(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)||a(this.root,"You must slot a button element in the primary slot."),this.dangerous?t.accent="danger":"primary"!==t.accent&&(t.accent="primary")):a(this.root,"You must slot a primary CTA.")}validateSecondarySlot(t){t&&(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)?"secondary"!==t.accent&&(t.accent="secondary"):a(this.root,"You must slot a button element in the secondary slot."))}validateDismissSlot(t){t&&(["GUX-BUTTON","GUX-BUTTON-SLOT"].includes(t.tagName)?"ghost"!==t.accent&&(t.accent="ghost"):a(this.root,"You must slot a gux-button or gux-button-slot in the dismiss slot."))}componentWillLoad(){this.validatePrimarySlot(this.root.querySelector("[slot=primary]")),this.validateSecondarySlot(this.root.querySelector("[slot=secondary]")),this.validateDismissSlot(this.root.querySelector("[slot=dismiss]"))}render(){return s("div",{key:"2d0d16094015def93abded1fa432a367fb2eccf1",class:`gux-cta-group gux-${this.align}-align`},s("slot",{key:"33058a762539821802457d1544d141ed2fe6d3b2",name:"primary"}),s("slot",{key:"98c7963a90bef02f28b003666b1037d7442c181a",name:"secondary"}),s("slot",{key:"f1f9a8c8a2070a5ea3f918d819e642b32e4e9a37",name:"dismiss"}))}get root(){return o(this)}};e.style=":host{display:block}.gux-cta-group{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-ctaGroup-gap);justify-content:start}.gux-cta-group.gux-end-align{flex-direction:row-reverse;justify-content:end}.gux-cta-group ::slotted(gux-button){flex:0 1 auto;min-inline-size:0}";export{e as gux_cta_group}
1
+ import{r as t,h as s,a as o}from"./p-CteT-EFt.js";import{l as a}from"./p-DxtJDeL9.js";const e=class{constructor(s){t(this,s),this.align="start",this.dangerous=!1}validatePrimarySlot(t){t?(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)||a(this.root,"You must slot a button element in the primary slot."),this.dangerous?t.accent="danger":"primary"!==t.accent&&(t.accent="primary")):a(this.root,"You must slot a primary CTA.")}validateSecondarySlot(t){t&&(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)?"secondary"!==t.accent&&(t.accent="secondary"):a(this.root,"You must slot a button element in the secondary slot."))}validateDismissSlot(t){t&&(["GUX-BUTTON","GUX-BUTTON-SLOT"].includes(t.tagName)?"ghost"!==t.accent&&(t.accent="ghost"):a(this.root,"You must slot a gux-button or gux-button-slot in the dismiss slot."))}componentWillLoad(){this.validatePrimarySlot(this.root.querySelector("[slot=primary]")),this.validateSecondarySlot(this.root.querySelector("[slot=secondary]")),this.validateDismissSlot(this.root.querySelector("[slot=dismiss]"))}render(){return s("div",{key:"2d0d16094015def93abded1fa432a367fb2eccf1",class:`gux-cta-group gux-${this.align}-align`},s("slot",{key:"33058a762539821802457d1544d141ed2fe6d3b2",name:"primary"}),s("slot",{key:"98c7963a90bef02f28b003666b1037d7442c181a",name:"secondary"}),s("slot",{key:"f1f9a8c8a2070a5ea3f918d819e642b32e4e9a37",name:"dismiss"}))}get root(){return o(this)}};e.style=":host{display:block}.gux-cta-group{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-ctaGroup-gap);justify-content:start}.gux-cta-group.gux-end-align{flex-direction:row-reverse;justify-content:end}.gux-cta-group ::slotted(gux-button){flex:0 1 auto;min-inline-size:0}";export{e as gux_cta_group}
@@ -0,0 +1 @@
1
+ import{r as o,h as i,a as e}from"./p-CteT-EFt.js";import{t}from"./p-DXe53egP.js";import{b as a}from"./p-5JLFUoN2.js";import{g as r}from"./p-MAoEg4ig.js";import"./p-Cd4R0amv.js";var c={clickToCopy:"Click to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Copy failed. Please try again."};const l=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,size:"small",decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{slot:"content",class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){t(this.root),this.i18n=await a(this.root,c)}render(){return i("button",{key:"743c477dce108f8bc377e764794fa06f6331b60a",class:"gux-copy-to-clipboard-wrapper",onClick:this.onCopyToClipboard.bind(this),"aria-label":r(this.root,"content")},i("div",{key:"0d64efa090fa1204f90ae3fd91370889e02a7e48",class:"gux-copy-content"},i("slot",{key:"a67e11585ad450ff94b8fc037a342996211564e3",name:"content"}),i("gux-icon",{key:"8c0f272c28636ca675bc901dbaa5407302f0501d","icon-name":"fa/copy-regular",size:"small",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};l.style='button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center;max-inline-size:100%}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;max-inline-size:100%;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name="fa/copy-regular"]{visibility:hidden;flex-shrink:0;padding:var(--gse-ui-copyToClipboard-iconContainer-padding);background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name="fa/copy-regular"]{visibility:visible}gux-tooltip.gux-show{display:inline-flex;align-items:center}gux-tooltip.gux-show .gux-tooltip-content{display:contents}gux-tooltip.gux-show .gux-tooltip-content>*{vertical-align:middle}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-check-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-xmark-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}';export{l as gux_copy_to_clipboard}
@@ -1 +1 @@
1
- import{r as e,c as i,h as s,H as a,a as d}from"./p-DwD9dO7z.js";import{t as n}from"./p-DusGr0et.js";import{h as t}from"./p-qzV3vtOw.js";const o=class{constructor(s){e(this,s),this.sidePanelDismiss=i(this,"sidePanelDismiss",7),this.size="small"}onDismissHandler(){this.sidePanelDismiss.emit()}componentWillLoad(){n(this.root,{variant:this.size})}renderDescription(){return t(this.root,"description")?s("div",{class:"gux-side-panel-description"},s("slot",{name:"description"})):null}render(){return s(a,{key:"b57d810edc0a2ee6898f700206ca58d764cd561a",role:"complementary"},s("div",{key:"8b0203fb024e49d65d204fe3ba98f95466065ae5",class:{"gux-side-panel":!0,[`gux-side-panel-${this.size}`]:!0}},s("header",{key:"ac661f82543e6b7c1a04b5857caeddc44f2d9edf"},s("slot",{key:"55fcd81910e08d3e69dfdee1cc3c88de09157a81",name:"heading"})),s("gux-dismiss-button",{key:"e9e358c0990a6c762672ec8ed6dab0afd9947ce8",onClick:this.onDismissHandler.bind(this)}),this.renderDescription(),s("div",{key:"dd200672f94c8d86240009af60d00b088239510e",class:"gux-side-panel-content"},s("slot",{key:"73f9de5408b009562ac56278fdaa4335e1de165d",name:"content"})),s("footer",{key:"d85f5c6f66ab8ddee68cfcd0998a09de03930cdd"},s("slot",{key:"154b790214c721b0cf20a286fb1083619ebb2b5d",name:"footer"}))))}get root(){return d(this)}};o.style=":host{display:block;inline-size:fit-content;block-size:100%}:host([size=large]){max-inline-size:50%}.gux-side-panel{position:relative;display:flex;flex-direction:column;inline-size:calc(100vw - var(--gse-ui-sidePanel-shoud-minWidth));block-size:inherit;background-color:var(--gse-ui-sidePanel-backgroundColor);box-shadow:var(--gse-ui-sidePanel-boxShadow)}.gux-side-panel.gux-side-panel-small{max-inline-size:var(--gse-ui-sidePanel-widthSize-sm)}.gux-side-panel.gux-side-panel-medium{max-inline-size:var(--gse-ui-sidePanel-widthSize-md)}.gux-side-panel.gux-side-panel-large{max-inline-size:var(--gse-ui-sidePanel-widthSize-lg)}.gux-side-panel>header{position:relative;padding:var(--gse-ui-sidePanel-header-padding);border-block-end:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel .gux-side-panel-description{margin:var(--gse-ui-sidePanel-description-padding) !important}.gux-side-panel .gux-side-panel-content{flex:1 1 100%;padding:var(--gse-ui-sidePanel-body-padding);overflow-y:auto;font-family:var(--gse-ui-sidePanel-description-text-fontFamily);font-size:var(--gse-ui-sidePanel-description-text-fontSize);font-weight:var(--gse-ui-sidePanel-description-text-fontWeight);line-height:var(--gse-ui-sidePanel-description-text-lineHeight);color:var(--gse-ui-sidePanel-descriptionColor)}.gux-side-panel>footer{flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel-description ::slotted(*){margin:0;font-family:var(--gse-ui-sidePanel-description-text-fontFamily) !important;font-size:var(--gse-ui-sidePanel-description-text-fontSize) !important;font-weight:var(--gse-ui-sidePanel-description-text-fontWeight) !important;line-height:var(--gse-ui-sidePanel-description-text-lineHeight) !important;color:var(--gse-ui-sidePanel-descriptionColor) !important}";export{o as gux_side_panel_beta}
1
+ import{r as e,c as i,h as s,H as a,a as d}from"./p-CteT-EFt.js";import{t as n}from"./p-DXe53egP.js";import{h as t}from"./p-qzV3vtOw.js";const o=class{constructor(s){e(this,s),this.sidePanelDismiss=i(this,"sidePanelDismiss",7),this.size="small"}onDismissHandler(){this.sidePanelDismiss.emit()}componentWillLoad(){n(this.root,{variant:this.size})}renderDescription(){return t(this.root,"description")?s("div",{class:"gux-side-panel-description"},s("slot",{name:"description"})):null}render(){return s(a,{key:"b57d810edc0a2ee6898f700206ca58d764cd561a",role:"complementary"},s("div",{key:"8b0203fb024e49d65d204fe3ba98f95466065ae5",class:{"gux-side-panel":!0,[`gux-side-panel-${this.size}`]:!0}},s("header",{key:"ac661f82543e6b7c1a04b5857caeddc44f2d9edf"},s("slot",{key:"55fcd81910e08d3e69dfdee1cc3c88de09157a81",name:"heading"})),s("gux-dismiss-button",{key:"e9e358c0990a6c762672ec8ed6dab0afd9947ce8",onClick:this.onDismissHandler.bind(this)}),this.renderDescription(),s("div",{key:"dd200672f94c8d86240009af60d00b088239510e",class:"gux-side-panel-content"},s("slot",{key:"73f9de5408b009562ac56278fdaa4335e1de165d",name:"content"})),s("footer",{key:"d85f5c6f66ab8ddee68cfcd0998a09de03930cdd"},s("slot",{key:"154b790214c721b0cf20a286fb1083619ebb2b5d",name:"footer"}))))}get root(){return d(this)}};o.style=":host{display:block;inline-size:fit-content;block-size:100%}:host([size=large]){max-inline-size:50%}.gux-side-panel{position:relative;display:flex;flex-direction:column;inline-size:calc(100vw - var(--gse-ui-sidePanel-shoud-minWidth));block-size:inherit;background-color:var(--gse-ui-sidePanel-backgroundColor);box-shadow:var(--gse-ui-sidePanel-boxShadow)}.gux-side-panel.gux-side-panel-small{max-inline-size:var(--gse-ui-sidePanel-widthSize-sm)}.gux-side-panel.gux-side-panel-medium{max-inline-size:var(--gse-ui-sidePanel-widthSize-md)}.gux-side-panel.gux-side-panel-large{max-inline-size:var(--gse-ui-sidePanel-widthSize-lg)}.gux-side-panel>header{position:relative;padding:var(--gse-ui-sidePanel-header-padding);border-block-end:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel .gux-side-panel-description{margin:var(--gse-ui-sidePanel-description-padding) !important}.gux-side-panel .gux-side-panel-content{flex:1 1 100%;padding:var(--gse-ui-sidePanel-body-padding);overflow-y:auto;font-family:var(--gse-ui-sidePanel-description-text-fontFamily);font-size:var(--gse-ui-sidePanel-description-text-fontSize);font-weight:var(--gse-ui-sidePanel-description-text-fontWeight);line-height:var(--gse-ui-sidePanel-description-text-lineHeight);color:var(--gse-ui-sidePanel-descriptionColor)}.gux-side-panel>footer{flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel-description ::slotted(*){margin:0;font-family:var(--gse-ui-sidePanel-description-text-fontFamily) !important;font-size:var(--gse-ui-sidePanel-description-text-fontSize) !important;font-weight:var(--gse-ui-sidePanel-description-text-fontWeight) !important;line-height:var(--gse-ui-sidePanel-description-text-lineHeight) !important;color:var(--gse-ui-sidePanel-descriptionColor) !important}";export{o as gux_side_panel_beta}
@@ -1 +1 @@
1
- import{r as e,h as r,H as i}from"./p-DwD9dO7z.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"3746ba873e6e1a8553b4a38859f549713f2e369f",role:"presentation"})}};o.style=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
1
+ import{r as e,h as r,H as i}from"./p-CteT-EFt.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"3746ba873e6e1a8553b4a38859f549713f2e369f",role:"presentation"})}};o.style=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a as o}from"./p-DwD9dO7z.js";import{g as s}from"./p-Cd4R0amv.js";import{r as n}from"./p-D9jKBqIb.js";import{h as a}from"./p-qzV3vtOw.js";const r=class{constructor(t){e(this,t),this.iconPosition="start",this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.hasSubtext=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}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||n("gux-option-icon"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=a(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=s("gux-listbox",this.root);return null==e?void 0:e.disabled}renderMaybeIcon(e){if(e!==this.iconPosition)return null;let i=null;return null===this.iconColor||this.hovered||this.active||(i={color:this.iconColor}),t("gux-icon",{decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:i,size:"small"})}render(){return t(i,{key:"7f26c292345951dff79122bac08f2b3629382701",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},this.renderMaybeIcon("start"),t("div",{key:"3c6f0d146fb3ac83f204ae35e4beabf2f310a988",class:"gux-option-wrapper"},t("gux-truncate",{key:"384177cb96af49bc8adbae6c328b7e0e29c7b69a","tooltip-placement":"right",ref:e=>this.truncateElement=e},t("slot",{key:"2479d98605eda40e572cb5381dd3791ab0c2742e"})),t("slot",{key:"3682267ba448c0ae3064497bc5d5806bdfc2e129",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderMaybeIcon("end"))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};r.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);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);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%}: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){place-content:stretch flex-start;block-size:auto}: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 gux-icon{flex-shrink:0}:host .gux-option-wrapper{min-inline-size:0}";export{r as gux_option_icon}
1
+ import{r as e,h as t,H as i,a as o}from"./p-CteT-EFt.js";import{g as s}from"./p-Cd4R0amv.js";import{r as n}from"./p-D9jKBqIb.js";import{h as a}from"./p-qzV3vtOw.js";const r=class{constructor(t){e(this,t),this.iconPosition="start",this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.hasSubtext=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}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||n("gux-option-icon"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=a(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=s("gux-listbox",this.root);return null==e?void 0:e.disabled}renderMaybeIcon(e){if(e!==this.iconPosition)return null;let i=null;return null===this.iconColor||this.hovered||this.active||(i={color:this.iconColor}),t("gux-icon",{decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:i,size:"small"})}render(){return t(i,{key:"7f26c292345951dff79122bac08f2b3629382701",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},this.renderMaybeIcon("start"),t("div",{key:"3c6f0d146fb3ac83f204ae35e4beabf2f310a988",class:"gux-option-wrapper"},t("gux-truncate",{key:"384177cb96af49bc8adbae6c328b7e0e29c7b69a","tooltip-placement":"right",ref:e=>this.truncateElement=e},t("slot",{key:"2479d98605eda40e572cb5381dd3791ab0c2742e"})),t("slot",{key:"3682267ba448c0ae3064497bc5d5806bdfc2e129",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderMaybeIcon("end"))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};r.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);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);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%}: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){place-content:stretch flex-start;block-size:auto}: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 gux-icon{flex-shrink:0}:host .gux-option-wrapper{min-inline-size:0}";export{r as gux_option_icon}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as i,a as s}from"./p-CteT-EFt.js";import{t as a}from"./p-DXe53egP.js";import{l as o}from"./p-DxtJDeL9.js";import{s as n,r}from"./p-vciQk5kR.js";import"./p-Cd4R0amv.js";const l=class{constructor(e){t(this,e),this.processedGroupItems=[],this.quantity=7}async componentWillLoad(){a(this.root,{variant:this.quantity.toString()})}componentDidLoad(){this.setInitialFocusTarget()}componentWillRender(){this.processGroupItems(),this.hideOverflowGroupItems()}onMouseOver(t){this.hideCurrentTooltip(t)}getGroupItems(){return Array.from(this.root.children)}setInitialFocusTarget(){const t=this.getGroupItems();t.length>0&&n(t[0])}processGroupItems(){const t=this.getGroupItems();this.validateChildElements(t),this.processedGroupItems=t.map(((t,e)=>{var i,s,a;return{img:null!==(i=t.querySelector("img"))&&void 0!==i?i:null,name:null!==(s=null==t?void 0:t.name)&&void 0!==s?s:"",accent:null!==(a=null==t?void 0:t.accent)&&void 0!==a?a:null,isOverflow:e>=this.quantity,groupItem:t}}))}hideOverflowGroupItems(){this.processedGroupItems.filter((t=>t.isOverflow)).forEach((t=>{t.groupItem.setAttribute("hidden","")}))}hideCurrentTooltip(t){const e=t.target,i=[...this.getGroupItems(),this.root.shadowRoot.querySelector("gux-avatar-group-add-item-beta")].find((t=>null==t?void 0:t.matches(":focus-within")));i&&i!==e&&i.hideTooltip()}handleClick(t){const e=t.target;"GUX-AVATAR-GROUP-ITEM-BETA"!==e.tagName||e.hasAttribute("hidden")||(r(e),n(e))}validateChildElements(t){0===t.length&&o(this.root,"gux-avatar-group-beta: No child elements detected. Please add some gux-avatar-item-beta tags to slot");const e=["GUX-AVATAR-GROUP-ITEM-BETA","GUX-AVATAR-GROUP-ADD-ITEM-BETA","GUX-AVATAR-OVERFLOW-BETA"];t.some((t=>!e.includes(t.tagName)))&&o(this.root,"gux-avatar-group-beta: Invalid child element detected. All child elements must be either buttons, anchor tags or gux-avatar-beta components")}renderOverflowMenu(){if(this.root.children.length>this.quantity){const t=this.processedGroupItems.filter((t=>t.isOverflow&&"GUX-AVATAR-GROUP-ITEM-BETA"===t.groupItem.tagName));return e("gux-avatar-overflow-beta",null,t.map((t=>{var i,s;return e("gux-avatar-overflow-item-beta",{name:t.name,accent:t.accent,onClick:()=>t.groupItem.click()},t.img?e("img",{slot:"image",src:null===(i=t.img)||void 0===i?void 0:i.src,alt:null===(s=t.img)||void 0===s?void 0:s.alt}):null)})))}return null}renderAddToGroup(){return this.processedGroupItems.find((t=>"GUX-AVATAR-GROUP-ADD-ITEM-BETA"===t.groupItem.tagName))&&this.root.children.length>this.quantity?e("gux-avatar-group-add-item-beta",{class:"gux-add-item-overflow"}):null}render(){return e(i,{key:"caff2d754008cd36ad51558e76d5230b9cfd4168",role:"menu",onClick:this.handleClick.bind(this)},e("slot",{key:"a9a03fb8a3eb866785c032c0ca2037f1cc8a0833"}),this.renderOverflowMenu(),this.renderAddToGroup())}get root(){return s(this)}};l.style=":host{display:flex;align-items:center;inline-size:fit-content;padding-block:var(--gse-semantic-interactive-sm-padding);padding-inline:var(--gse-semantic-interactive-sm-padding) var(--gse-semantic-interactive-md-padding)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-add-item-overflow{padding-inline-start:calc(var(--gse-core-spacing-4xs) + 2px)}";export{l as gux_avatar_group_beta}
@@ -1 +1 @@
1
- import{r as t,c as a,h as e,a as i}from"./p-DwD9dO7z.js";import{t as n}from"./p-DusGr0et.js";const s=class{constructor(e){t(this,e),this.guxpaginationchange=a(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(t){if(t<=0)return void this.setPage(1);const a=this.calculateTotalPages();t>a?this.setPage(a):(this.currentPage=t,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(t){this.itemsPerPage=t.detail,this.setPage(1)}handleInternalcurrentpagechange(t){this.setPage(t.detail)}getPaginationInfoElement(t){if("expanded"===t)return null;const a=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===t&&a.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},a)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"b107dfd919c1e04795f6239de7b2c7f56ba61a83",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"cdd5c4b9d60e291e732fa8d9058f0c0f3bdeb52d",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"6be7e5ce93f5b9ea10e54eb520df2667e2a8ffe8",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
1
+ import{r as t,c as a,h as e,a as i}from"./p-CteT-EFt.js";import{t as n}from"./p-DXe53egP.js";const s=class{constructor(e){t(this,e),this.guxpaginationchange=a(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(t){if(t<=0)return void this.setPage(1);const a=this.calculateTotalPages();t>a?this.setPage(a):(this.currentPage=t,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(t){this.itemsPerPage=t.detail,this.setPage(1)}handleInternalcurrentpagechange(t){this.setPage(t.detail)}getPaginationInfoElement(t){if("expanded"===t)return null;const a=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===t&&a.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},a)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"b107dfd919c1e04795f6239de7b2c7f56ba61a83",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"cdd5c4b9d60e291e732fa8d9058f0c0f3bdeb52d",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"6be7e5ce93f5b9ea10e54eb520df2667e2a8ffe8",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
@@ -1 +1 @@
1
- import{r as e,c as a,h as o,a as t}from"./p-DwD9dO7z.js";import{l as r}from"./p-DxtJDeL9.js";import{b as s}from"./p-r-A5Sv7q.js";import{t as i}from"./p-DusGr0et.js";import"./p-Cd4R0amv.js";var n={changePhoto:"Change profile photo"};const c=class{constructor(o){e(this,o),this.guxchangephoto=a(this,"guxchangephoto",7)}async componentWillLoad(){this.validateSlot(),i(this.root),this.i18n=await s(this.root,n)}validateSlot(){this.root.querySelector("gux-avatar-beta")||r(this.root,"Slotted element must be gux-avatar-beta")}render(){return o("button",{key:"c88a6a0323e13b6bdd7d68a955f96d8a86a89eb0",class:"gux-change-photo",onClick:()=>this.guxchangephoto.emit(),"aria-label":this.i18n("changePhoto")},o("gux-icon",{key:"8dc2733dfdb2bd75117ab01c9546b96bbd9e0bc5",class:"gux-change-photo-icon","icon-name":"fa/camera-solid",size:"small",decorative:!0}),o("slot",{key:"83bb98873748afca9e7882e399de469267244eff",name:"avatar"}),o("gux-tooltip-beta",{key:"35e11ed2ccc0943d67ec0e72dc3b220a81675617",placement:"top",visualOnly:!0},o("div",{key:"926fe5e737148d1ebf920c2687d624f201a663a7",slot:"content"},this.i18n("changePhoto"))))}static get delegatesFocus(){return!0}get root(){return t(this)}};c.style=':host{display:inline-block}.gux-change-photo{position:relative;padding:0;margin:0;line-height:0px;cursor:pointer;background:none;border:none;border-radius:50%}.gux-change-photo .gux-change-photo-icon{display:none}.gux-change-photo:hover,.gux-change-photo:focus-visible{cursor:pointer}.gux-change-photo:hover .gux-change-photo-icon,.gux-change-photo:focus-visible .gux-change-photo-icon{position:absolute;inset-block-start:50%;inset-inline-start:50%;z-index:var(--gse-semantic-zIndex-showFocus);display:inline-block;color:var(--gse-ui-avatar-hoverModal-foregroundColor);transform:translate(-50%, -50%)}.gux-change-photo:hover::after,.gux-change-photo:focus-visible::after{position:absolute;inset-block-start:var(--gse-ui-avatar-large-presenceRing-width);inset-inline-start:var(--gse-ui-avatar-large-presenceRing-width);inline-size:var(--gse-ui-avatar-addChangeImage-hoverModal-shroudSize);block-size:var(--gse-ui-avatar-addChangeImage-hoverModal-shroudSize);content:"";background-color:var(--gse-ui-avatar-hoverModal-shroudColor);border:var(--gse-ui-avatar-content-large-border-width) var(--gse-ui-avatar-content-default-border-style) var(--gse-ui-avatar-content-default-border-color);border-radius:50%;opacity:var(--gse-ui-avatar-hoverModal-opacity);transition:background-color 0.5s ease}.gux-change-photo:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}';export{c as gux_avatar_change_photo_beta}
1
+ import{r as e,c as a,h as o,a as t}from"./p-CteT-EFt.js";import{l as r}from"./p-DxtJDeL9.js";import{b as s}from"./p-5JLFUoN2.js";import{t as i}from"./p-DXe53egP.js";import"./p-Cd4R0amv.js";var n={changePhoto:"Change profile photo"};const c=class{constructor(o){e(this,o),this.guxchangephoto=a(this,"guxchangephoto",7)}async componentWillLoad(){this.validateSlot(),i(this.root),this.i18n=await s(this.root,n)}validateSlot(){this.root.querySelector("gux-avatar-beta")||r(this.root,"Slotted element must be gux-avatar-beta")}render(){return o("button",{key:"c88a6a0323e13b6bdd7d68a955f96d8a86a89eb0",class:"gux-change-photo",onClick:()=>this.guxchangephoto.emit(),"aria-label":this.i18n("changePhoto")},o("gux-icon",{key:"8dc2733dfdb2bd75117ab01c9546b96bbd9e0bc5",class:"gux-change-photo-icon","icon-name":"fa/camera-solid",size:"small",decorative:!0}),o("slot",{key:"83bb98873748afca9e7882e399de469267244eff",name:"avatar"}),o("gux-tooltip-beta",{key:"35e11ed2ccc0943d67ec0e72dc3b220a81675617",placement:"top",visualOnly:!0},o("div",{key:"926fe5e737148d1ebf920c2687d624f201a663a7",slot:"content"},this.i18n("changePhoto"))))}static get delegatesFocus(){return!0}get root(){return t(this)}};c.style=':host{display:inline-block}.gux-change-photo{position:relative;padding:0;margin:0;line-height:0px;cursor:pointer;background:none;border:none;border-radius:50%}.gux-change-photo .gux-change-photo-icon{display:none}.gux-change-photo:hover,.gux-change-photo:focus-visible{cursor:pointer}.gux-change-photo:hover .gux-change-photo-icon,.gux-change-photo:focus-visible .gux-change-photo-icon{position:absolute;inset-block-start:50%;inset-inline-start:50%;z-index:var(--gse-semantic-zIndex-showFocus);display:inline-block;color:var(--gse-ui-avatar-hoverModal-foregroundColor);transform:translate(-50%, -50%)}.gux-change-photo:hover::after,.gux-change-photo:focus-visible::after{position:absolute;inset-block-start:var(--gse-ui-avatar-large-presenceRing-width);inset-inline-start:var(--gse-ui-avatar-large-presenceRing-width);inline-size:var(--gse-ui-avatar-addChangeImage-hoverModal-shroudSize);block-size:var(--gse-ui-avatar-addChangeImage-hoverModal-shroudSize);content:"";background-color:var(--gse-ui-avatar-hoverModal-shroudColor);border:var(--gse-ui-avatar-content-large-border-width) var(--gse-ui-avatar-content-default-border-style) var(--gse-ui-avatar-content-default-border-color);border-radius:50%;opacity:var(--gse-ui-avatar-hoverModal-opacity);transition:background-color 0.5s ease}.gux-change-photo:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}';export{c as gux_avatar_change_photo_beta}
@@ -1 +1 @@
1
- import{r as e,f as t,h as a,a as s}from"./p-DwD9dO7z.js";import{q as n}from"./p-B10WAyAx.js";import{g as i,a as r,b as o}from"./p-r-A5Sv7q.js";import{a as d}from"./p-Bg4q97BS.js";import{a as u}from"./p-DxtJDeL9.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-BFTU3MAI.js";import"./p-Cd4R0amv.js";function l(e,t){return e.toLocaleString(t,{year:"numeric",month:"long"})}class c{constructor(e){this.writeTarget=e.writeTo,this.mappings=e.mappings,this.observer=new MutationObserver((e=>{e.forEach((e=>{this.syncAttribute(e.attributeName)}))})),this.setSourceElement(e.readFrom)}setSourceElement(e){this.observer.disconnect(),this.sourceElement=e,this.syncAll(),this.observer.observe(e,{attributes:!0,attributeFilter:Object.keys(this.mappings)})}disconnect(){this.observer.disconnect()}syncAll(){Object.keys(this.mappings).forEach((e=>{this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}))}syncAttribute(e){this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}}var g={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"};const x=class{constructor(t){e(this,t),this.focusDate=n.Now.plainDateISO(),this.disabled=!1,this.locale="en",this.MONTH_DATE_COUNT=42}async guxForceUpdate(){t(this.root)}get slottedInput(){return this.root.querySelector('input[type="date"]')}async componentWillLoad(){this.slottedInput||u(this.root,'You must slot a date input element like so: input[type="date"].'),this.locale=i(this.root),this.startDayOfWeek=this.startDayOfWeek||r(this.locale),this.i18n=await o(this.root,g);const e=this.getSelectedDate();e&&(this.focusDate=e),this.attributeSynchronizer=new c({readFrom:this.slottedInput,writeTo:this,mappings:{min:e=>e?n.PlainDate.from(e):void 0,max:e=>e?n.PlainDate.from(e):void 0,disabled:e=>e}})}onSlotChange(){this.attributeSynchronizer.setSourceElement(this.slottedInput)}async disconnectedCallback(){this.attributeSynchronizer.disconnect()}detectDayClick(e){if("GUX-DAY-BETA"!==e.target.tagName)return;const t=n.PlainDate.from(e.target.day);this.selectDate(t),e.stopPropagation()}getGuxDayForDate(e){return this.root.shadowRoot.querySelector(`.day-${e}`)}selectDate(e){if(this.isInvalidDate(e))return;const t=e.toString();this.slottedInput.value=t,this.focusDate=e,this.focusOnFocusDate(),h(this.root,"input"),h(this.root,"change")}shiftFocusDate(e){const t=n.Duration.from(e);let a=this.focusDate.add(t);this.min&&-1==n.PlainDate.compare(a,this.min)?a=this.min:this.max&&1==n.PlainDate.compare(a,this.max)&&(a=this.max),this.focusDate=a}focusOnFocusDate(){d((()=>{const e=this.focusDate.toString(),t=this.getGuxDayForDate(e);t&&t.focus()}))}onKeyDown(e){switch(e.key){case" ":break;case"ArrowDown":e.preventDefault(),this.shiftFocusDate({weeks:1}),this.focusOnFocusDate();break;case"ArrowUp":e.preventDefault(),this.shiftFocusDate({weeks:-1}),this.focusOnFocusDate();break;case"ArrowLeft":e.preventDefault(),this.shiftFocusDate({days:-1}),this.focusOnFocusDate();break;case"ArrowRight":e.preventDefault(),this.shiftFocusDate({days:1}),this.focusOnFocusDate();break;case"PageUp":e.preventDefault(),this.shiftFocusDate({months:1}),this.focusOnFocusDate();break;case"PageDown":e.preventDefault(),this.shiftFocusDate({months:-1}),this.focusOnFocusDate()}}isInvalidDate(e){return this.min&&-1==n.PlainDate.compare(e,this.min)||this.max&&1==n.PlainDate.compare(e,this.max)}getMonthDays(){const e=n.Now.plainDateISO(),t=(a=this.getFocusDate(),n.PlainDate.from({day:1,month:a.month,year:a.year}));var a;const s=[];let i={dates:[]},r=0;const o=t.month,d=this.getSelectedDate();let u=function(e,t){let a=t-e.dayOfWeek;return a>0&&(a-=7),e.add({days:a})}(t,this.startDayOfWeek);for(let t=0;t<this.MONTH_DATE_COUNT+1;t+=1)r>0&&r%7==0&&(s.push(i),i={dates:[]}),i.dates.push({date:n.PlainDate.from(u),disabled:this.isInvalidDate(u),inCurrentMonth:o===u.month,selected:null==d?void 0:d.equals(u),focused:this.getFocusDate().equals(u),isCurrentDate:u.equals(e)}),r+=1,u=u.add({days:1});return s}getFocusDate(){return this.focusDate}getSelectedDate(){return this.slottedInput.value?n.PlainDate.from(this.slottedInput.value):null}renderHeader(){return a("div",{class:"gux-header"},a("button",{type:"button",class:"gux-left","aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:l(this.getFocusDate().add({months:-1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:-1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),a("span",{class:"gux-header-month-and-year"},l(this.getFocusDate(),this.locale)),a("button",{type:"button",class:"gux-right","aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:l(this.getFocusDate().add({months:1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"})))}renderContent(){return a("div",{onKeyDown:e=>{this.onKeyDown(e)},onClick:e=>{this.detectDayClick(e)}},a("div",{class:"gux-content"},a("div",{class:"gux-week-days"},function(e,t){const a=[],s=new Date(1970,0,4);for(let t=0;t<7;t++){const t=s.toLocaleString(e,{weekday:"narrow"});a.push(t),s.setDate(s.getDate()+1)}return(n=a).concat(n.splice(0,t%n.length));var n}(this.locale,this.startDayOfWeek).map((e=>a("div",{class:"gux-week-day"},e)))),a("div",null,this.getMonthDays().map((e=>a("div",{class:"gux-content-week"},e.dates.map((e=>{const t=e.date.toString();return a("gux-day-beta",{day:t,"aria-current":e.selected?"true":"false",disabled:!!e.disabled,tabindex:e.selected||e.focused?"0":"-1",class:`\n ${!e.inCurrentMonth||e.disabled?"gux-muted":""}\n day-${t} \n `})}))))))))}render(){return a("div",{key:"1da41ece22aace32e14be09942b85ed17a92ee60",class:"gux-calendar-beta "+(this.disabled?"gux-disabled":"")},a("slot",{key:"6ab2911fc37e3157a24a4e1c746e8b5de0d2c769",onSlotchange:()=>{this.onSlotChange()}}),this.renderHeader(),this.renderContent())}get root(){return s(this)}};x.style=".gux-calendar-beta.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-backgroundColor);border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar-beta .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar-beta .gux-content{display:flex;flex-direction:column;gap:var(--gse-ui-calendarMenu-dateBody-gap);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-week-days{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-range-height);block-size:var(--gse-ui-calendarMenu-day-range-width)}";export{x as gux_calendar_beta}
1
+ import{r as e,f as t,h as a,a as s}from"./p-CteT-EFt.js";import{q as n}from"./p-B10WAyAx.js";import{g as i,a as r,b as o}from"./p-5JLFUoN2.js";import{a as d}from"./p-Bg4q97BS.js";import{a as u}from"./p-DxtJDeL9.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-BFTU3MAI.js";import"./p-Cd4R0amv.js";function l(e,t){return e.toLocaleString(t,{year:"numeric",month:"long"})}class c{constructor(e){this.writeTarget=e.writeTo,this.mappings=e.mappings,this.observer=new MutationObserver((e=>{e.forEach((e=>{this.syncAttribute(e.attributeName)}))})),this.setSourceElement(e.readFrom)}setSourceElement(e){this.observer.disconnect(),this.sourceElement=e,this.syncAll(),this.observer.observe(e,{attributes:!0,attributeFilter:Object.keys(this.mappings)})}disconnect(){this.observer.disconnect()}syncAll(){Object.keys(this.mappings).forEach((e=>{this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}))}syncAttribute(e){this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}}var g={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"};const x=class{constructor(t){e(this,t),this.focusDate=n.Now.plainDateISO(),this.disabled=!1,this.locale="en",this.MONTH_DATE_COUNT=42}async guxForceUpdate(){t(this.root)}get slottedInput(){return this.root.querySelector('input[type="date"]')}async componentWillLoad(){this.slottedInput||u(this.root,'You must slot a date input element like so: input[type="date"].'),this.locale=i(this.root),this.startDayOfWeek=this.startDayOfWeek||r(this.locale),this.i18n=await o(this.root,g);const e=this.getSelectedDate();e&&(this.focusDate=e),this.attributeSynchronizer=new c({readFrom:this.slottedInput,writeTo:this,mappings:{min:e=>e?n.PlainDate.from(e):void 0,max:e=>e?n.PlainDate.from(e):void 0,disabled:e=>e}})}onSlotChange(){this.attributeSynchronizer.setSourceElement(this.slottedInput)}async disconnectedCallback(){this.attributeSynchronizer.disconnect()}detectDayClick(e){if("GUX-DAY-BETA"!==e.target.tagName)return;const t=n.PlainDate.from(e.target.day);this.selectDate(t),e.stopPropagation()}getGuxDayForDate(e){return this.root.shadowRoot.querySelector(`.day-${e}`)}selectDate(e){if(this.isInvalidDate(e))return;const t=e.toString();this.slottedInput.value=t,this.focusDate=e,this.focusOnFocusDate(),h(this.root,"input"),h(this.root,"change")}shiftFocusDate(e){const t=n.Duration.from(e);let a=this.focusDate.add(t);this.min&&-1==n.PlainDate.compare(a,this.min)?a=this.min:this.max&&1==n.PlainDate.compare(a,this.max)&&(a=this.max),this.focusDate=a}focusOnFocusDate(){d((()=>{const e=this.focusDate.toString(),t=this.getGuxDayForDate(e);t&&t.focus()}))}onKeyDown(e){switch(e.key){case" ":break;case"ArrowDown":e.preventDefault(),this.shiftFocusDate({weeks:1}),this.focusOnFocusDate();break;case"ArrowUp":e.preventDefault(),this.shiftFocusDate({weeks:-1}),this.focusOnFocusDate();break;case"ArrowLeft":e.preventDefault(),this.shiftFocusDate({days:-1}),this.focusOnFocusDate();break;case"ArrowRight":e.preventDefault(),this.shiftFocusDate({days:1}),this.focusOnFocusDate();break;case"PageUp":e.preventDefault(),this.shiftFocusDate({months:1}),this.focusOnFocusDate();break;case"PageDown":e.preventDefault(),this.shiftFocusDate({months:-1}),this.focusOnFocusDate()}}isInvalidDate(e){return this.min&&-1==n.PlainDate.compare(e,this.min)||this.max&&1==n.PlainDate.compare(e,this.max)}getMonthDays(){const e=n.Now.plainDateISO(),t=(a=this.getFocusDate(),n.PlainDate.from({day:1,month:a.month,year:a.year}));var a;const s=[];let i={dates:[]},r=0;const o=t.month,d=this.getSelectedDate();let u=function(e,t){let a=t-e.dayOfWeek;return a>0&&(a-=7),e.add({days:a})}(t,this.startDayOfWeek);for(let t=0;t<this.MONTH_DATE_COUNT+1;t+=1)r>0&&r%7==0&&(s.push(i),i={dates:[]}),i.dates.push({date:n.PlainDate.from(u),disabled:this.isInvalidDate(u),inCurrentMonth:o===u.month,selected:null==d?void 0:d.equals(u),focused:this.getFocusDate().equals(u),isCurrentDate:u.equals(e)}),r+=1,u=u.add({days:1});return s}getFocusDate(){return this.focusDate}getSelectedDate(){return this.slottedInput.value?n.PlainDate.from(this.slottedInput.value):null}renderHeader(){return a("div",{class:"gux-header"},a("button",{type:"button",class:"gux-left","aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:l(this.getFocusDate().add({months:-1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:-1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),a("span",{class:"gux-header-month-and-year"},l(this.getFocusDate(),this.locale)),a("button",{type:"button",class:"gux-right","aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:l(this.getFocusDate().add({months:1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"})))}renderContent(){return a("div",{onKeyDown:e=>{this.onKeyDown(e)},onClick:e=>{this.detectDayClick(e)}},a("div",{class:"gux-content"},a("div",{class:"gux-week-days"},function(e,t){const a=[],s=new Date(1970,0,4);for(let t=0;t<7;t++){const t=s.toLocaleString(e,{weekday:"narrow"});a.push(t),s.setDate(s.getDate()+1)}return(n=a).concat(n.splice(0,t%n.length));var n}(this.locale,this.startDayOfWeek).map((e=>a("div",{class:"gux-week-day"},e)))),a("div",null,this.getMonthDays().map((e=>a("div",{class:"gux-content-week"},e.dates.map((e=>{const t=e.date.toString();return a("gux-day-beta",{day:t,"aria-current":e.selected?"true":"false",disabled:!!e.disabled,tabindex:e.selected||e.focused?"0":"-1",class:`\n ${!e.inCurrentMonth||e.disabled?"gux-muted":""}\n day-${t} \n `})}))))))))}render(){return a("div",{key:"1da41ece22aace32e14be09942b85ed17a92ee60",class:"gux-calendar-beta "+(this.disabled?"gux-disabled":"")},a("slot",{key:"6ab2911fc37e3157a24a4e1c746e8b5de0d2c769",onSlotchange:()=>{this.onSlotChange()}}),this.renderHeader(),this.renderContent())}get root(){return s(this)}};x.style=".gux-calendar-beta.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-backgroundColor);border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar-beta .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar-beta .gux-content{display:flex;flex-direction:column;gap:var(--gse-ui-calendarMenu-dateBody-gap);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-week-days{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-range-height);block-size:var(--gse-ui-calendarMenu-day-range-width)}";export{x as gux_calendar_beta}
@@ -1 +1 @@
1
- import{r as t,h as e,H as o,a as s}from"./p-DwD9dO7z.js";import{t as a}from"./p-DusGr0et.js";import{b as i}from"./p-Bg4q97BS.js";const r=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)}};r.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{r as gux_announce_beta}
1
+ import{r as t,h as e,H as o,a as s}from"./p-CteT-EFt.js";import{t as a}from"./p-DXe53egP.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 t,c as e,h as i}from"./p-DwD9dO7z.js";import{a as s,c as a,o as n,f as o,e as c,s as d,h}from"./p-C_pVuars.js";const p=class{constructor(i){t(this,i),this.internalexpanded=e(this,"internalexpanded",7),this.internalcollapsed=e(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1,this.inline=!1}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth,e=this.inline;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),c({apply({rects:i,elements:s}){t&&!e?Object.assign(s.floating.style,{minWidth:`${i.reference.width}px`}):e||Object.assign(s.floating.style,{width:`${i.reference.width}px`,overflow:"hidden"})}}),d(),h()]}).then((({x:t,y:e,middlewareData:i})=>{const{referenceHidden:s}=i.hide;isNaN(t)||Object.assign(this.popupElementContainer.style,{left:`${t}px`}),isNaN(e)||Object.assign(this.popupElementContainer.style,{top:`${e}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"edc55a48ad4ff43c36f45c7ba4cb5eeb5fd99bf6",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:t=>this.targetElementContainer=t},i("slot",{key:"af91075af2f981f14771eb4847abc1891ce5ee3a",name:"target"}),i("div",{key:"d9122a0a251acf6bbebc7b982f19595361c30444",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},i("slot",{key:"61d946cab6a8c02c1be0dac9025f0fd96be93750",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};p.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;inline-size:max-content;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}";export{p as gux_popup}
1
+ import{r as t,c as e,h as i}from"./p-CteT-EFt.js";import{a as s,c as a,o as n,f as o,e as c,s as d,h}from"./p-C_pVuars.js";const p=class{constructor(i){t(this,i),this.internalexpanded=e(this,"internalexpanded",7),this.internalcollapsed=e(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1,this.inline=!1}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth,e=this.inline;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),c({apply({rects:i,elements:s}){t&&!e?Object.assign(s.floating.style,{minWidth:`${i.reference.width}px`}):e||Object.assign(s.floating.style,{width:`${i.reference.width}px`,overflow:"hidden"})}}),d(),h()]}).then((({x:t,y:e,middlewareData:i})=>{const{referenceHidden:s}=i.hide;isNaN(t)||Object.assign(this.popupElementContainer.style,{left:`${t}px`}),isNaN(e)||Object.assign(this.popupElementContainer.style,{top:`${e}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"edc55a48ad4ff43c36f45c7ba4cb5eeb5fd99bf6",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:t=>this.targetElementContainer=t},i("slot",{key:"af91075af2f981f14771eb4847abc1891ce5ee3a",name:"target"}),i("div",{key:"d9122a0a251acf6bbebc7b982f19595361c30444",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},i("slot",{key:"61d946cab6a8c02c1be0dac9025f0fd96be93750",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};p.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;inline-size:max-content;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}";export{p as gux_popup}
@@ -1 +1 @@
1
- import{r as t,h as s,a as i}from"./p-DwD9dO7z.js";import{b as e}from"./p-r-A5Sv7q.js";import{t as o,f as r,g as a}from"./p-CJPnARmk.js";import{t as n}from"./p-DusGr0et.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-Cd4R0amv.js";const u=class{constructor(s){t(this,s),this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString=""}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const s=t.target;this.value=null==s?void 0:s.value,h(this.root,"change")}))}filterTimeZoneList(t){const s=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(s.toLowerCase())))}getTimeZoneOption(t){const s=this.i18n(t.name),i=t.countryName?this.i18n(t.countryName):void 0;if(!s)return;const e=r(t.currentTimeOffsetInMinutes),o=`${s}`,a=` (${this.i18n("UTC")}${e})`,n=`${a}`,h=o.replace(/_/g," "),u=`${i}`,d=o.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:s,formattedOffset:e,displayTextNameFormatted:h,displayTextOffset:a,baseDisplayOffsetText:n,countryName:u,defaultZone:"",priority:d}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=a(),s=[];return t.forEach((t=>{const i=this.getTimeZoneOption(t);i&&s.push(i)})),s.sort(((t,s)=>{var i;return t.priority-s.priority||(null===(i=t.displayTextNameFormatted)||void 0===i?void 0:i.localeCompare(s.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),s=this.timeZoneList.reduce(((s,i)=>t.includes(i.value)?s.concat([Object.assign({},i)]):s),[]);return s.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),s}renderTimeZones(t){return t.map((t=>s("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},s("div",{class:"gux-option-wrapper"},s("div",null,this.getFormattedTimeZoneOption(t)),s("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return s("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return s("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return s("gux-dropdown",{key:"c5752466843893b61f8c84e765df74d54a87b575",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},s("gux-listbox",{key:"761fcd634dafa957de29dc10fcafe77c62463ead","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return i(this)}};u.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{u as gux_time_zone_picker_beta}
1
+ import{r as t,h as s,a as i}from"./p-CteT-EFt.js";import{b as e}from"./p-5JLFUoN2.js";import{t as o,f as r,g as a}from"./p-CJPnARmk.js";import{t as n}from"./p-DXe53egP.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-Cd4R0amv.js";const l=class{constructor(s){t(this,s),this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString=""}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const s=t.target;this.value=null==s?void 0:s.value,h(this.root,"change")}))}filterTimeZoneList(t){const s=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(s.toLowerCase())))}getTimeZoneOption(t){const s=this.i18n(t.name),i=t.countryName?this.i18n(t.countryName):void 0;if(!s)return;const e=r(t.currentTimeOffsetInMinutes),o=`${s}`,a=` (${this.i18n("UTC")}${e})`,n=`${a}`,h=o.replace(/_/g," "),l=`${i}`,u=o.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:s,formattedOffset:e,displayTextNameFormatted:h,displayTextOffset:a,baseDisplayOffsetText:n,countryName:l,defaultZone:"",priority:u}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=a(),s=[];return t.forEach((t=>{const i=this.getTimeZoneOption(t);i&&s.push(i)})),s.sort(((t,s)=>{var i;return t.priority-s.priority||(null===(i=t.displayTextNameFormatted)||void 0===i?void 0:i.localeCompare(s.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),s=this.timeZoneList.reduce(((s,i)=>t.includes(i.value)?s.concat([Object.assign({},i)]):s),[]);return s.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),s}renderTimeZones(t){return t.map((t=>s("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},s("div",{class:"gux-option-wrapper"},s("div",null,this.getFormattedTimeZoneOption(t)),s("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return s("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return s("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return s("gux-dropdown",{key:"c5752466843893b61f8c84e765df74d54a87b575",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},s("gux-listbox",{key:"761fcd634dafa957de29dc10fcafe77c62463ead","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return i(this)}};l.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{l as gux_time_zone_picker_beta}
@@ -1 +1 @@
1
- import{r as e,h as r,a as o}from"./p-DwD9dO7z.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-D0FCqvQJ.js";import{o as a}from"./p-De1NnCmO.js";import{p as l}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-CvPWYZYp.js";import{G as d,a as p}from"./p-CUSIOYec.js";import{v as g,a as h}from"./p-DHLxhscH.js";import{t as c}from"./p-DusGr0et.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const m=class{constructor(r){e(this,r),this.indicatorMark="required",this.computedLabelPosition="above",this.required=!0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var r,o;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),c(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(p,{key:"5539bcc193900bca981990934f660389a9b256af",labelPosition:this.computedLabelPosition},r(d,{key:"5cc443a9662783a2b010f41322071cb955401668",required:this.required,position:this.computedLabelPosition},r("slot",{key:"0be61a2c251d589df7c7df838edf14a30a2f115a",name:"label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"1c25639be2027a5da960a1dac7f8be09fedc3eb4",variant:this.indicatorMark,required:this.required}),r("slot",{key:"4935e3efde33317b3af154a44ce311f466fd7db0",name:"label-info"})),r("div",{key:"28e68131226da13bc0c33b884d5a9509b6237822",class:"gux-input-and-error-container"},r("div",{key:"f5efe5efdc7ae39756203dc4634c339886b77fd7",ref:e=>this.textareaContainerElement=e,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},r("slot",{key:"d98880eac70689c74c68a4d43d73f6fe9bc55746",name:"input"})),r(u,{key:"2044eba06442cb284a519e4d106e99e55bcb4b2a",show:this.hasError},r("slot",{key:"c2c56343f4dd9ec2b57673151fe082c7f9f8908c",name:"error"})),r(f,{key:"65e117c1c7f83aeb2c79c9f3419ee494ac6922b5",show:!this.hasError&&this.hasHelp},r("slot",{key:"56c589e6779487604b186df550ab4a8f7bd5ccb1",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${e}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),l(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}updateHeight(e,r,o){"auto"===o&&e&&(e.dataset.replicatedValue=r.value,e.style.maxHeight=r.style.maxHeight)}get root(){return o(this)}};(function(e,r,o,t){var i,n=arguments.length,a=n<3?r:null===t?t=Object.getOwnPropertyDescriptor(r,o):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,o,t);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(r,o,a):i(r,o))||a);n>3&&a&&Object.defineProperty(r,o,a)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style='.gux-form-field-container.gux-beside{display:flex;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 1 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(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);resize:vertical;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);padding:var(--gse-ui-formControl-textarea-padding);margin:0}::slotted(textarea)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}::slotted(textarea)[disabled]{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:flex;outline:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-input-and-error-container .gux-input.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{visibility:hidden;grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;content:attr(data-replicated-value) " ";padding:var(--gse-ui-formControl-textarea-padding);margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}';export{m as gux_form_field_textarea}
1
+ import{r as e,h as o,a as r}from"./p-CteT-EFt.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-B7nShefu.js";import{o as a}from"./p-De1NnCmO.js";import{p as l}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-BSjADocz.js";import{G as d,a as p}from"./p-G9kal9Ac.js";import{v as g,a as h}from"./p-DHLxhscH.js";import{t as c}from"./p-DXe53egP.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const m=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.required=!0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;"Tab"===e.key?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)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),c(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"5539bcc193900bca981990934f660389a9b256af",labelPosition:this.computedLabelPosition},o(d,{key:"5cc443a9662783a2b010f41322071cb955401668",required:this.required,position:this.computedLabelPosition},o("slot",{key:"0be61a2c251d589df7c7df838edf14a30a2f115a",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"1c25639be2027a5da960a1dac7f8be09fedc3eb4",variant:this.indicatorMark,required:this.required}),o("slot",{key:"4935e3efde33317b3af154a44ce311f466fd7db0",name:"label-info"})),o("div",{key:"28e68131226da13bc0c33b884d5a9509b6237822",class:"gux-input-and-error-container"},o("div",{key:"f5efe5efdc7ae39756203dc4634c339886b77fd7",ref:e=>this.textareaContainerElement=e,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},o("slot",{key:"d98880eac70689c74c68a4d43d73f6fe9bc55746",name:"input"})),o(u,{key:"2044eba06442cb284a519e4d106e99e55bcb4b2a",show:this.hasError},o("slot",{key:"c2c56343f4dd9ec2b57673151fe082c7f9f8908c",name:"error"})),o(f,{key:"65e117c1c7f83aeb2c79c9f3419ee494ac6922b5",show:!this.hasError&&this.hasHelp},o("slot",{key:"56c589e6779487604b186df550ab4a8f7bd5ccb1",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${e}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),l(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}updateHeight(e,o,r){"auto"===r&&e&&(e.dataset.replicatedValue=o.value,e.style.maxHeight=o.style.maxHeight)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,a=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(o,r,a):i(o,r))||a);n>3&&a&&Object.defineProperty(o,r,a)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style='.gux-form-field-container.gux-beside{display:flex;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 1 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(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);resize:vertical;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);padding:var(--gse-ui-formControl-textarea-padding);margin:0}::slotted(textarea)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}::slotted(textarea)[disabled]{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:flex;outline:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-input-and-error-container .gux-input.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{visibility:hidden;grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;content:attr(data-replicated-value) " ";padding:var(--gse-ui-formControl-textarea-padding);margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}';export{m as gux_form_field_textarea}
@@ -1 +1 @@
1
- import{r as e,c as t,h as o,H as i,a as s}from"./p-DwD9dO7z.js";import{g as n}from"./p-Cd4R0amv.js";import{r as a}from"./p-D9jKBqIb.js";import{b as r}from"./p-r-A5Sv7q.js";import{h as u}from"./p-qzV3vtOw.js";var l={removeCustomElementInstructions:", unselecting this custom option will remove it from the list"};const h=class{constructor(o){e(this,o),this.guxremovecustomoption=t(this,"guxremovecustomoption",7),this.internalselectcustomoption=t(this,"internalselectcustomoption",7),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.custom=!1,this.hasSubtext=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(e){var t,o;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(o=this.truncateElement)||void 0===o||o.setHideTooltip()}async componentWillLoad(){this.i18n=await r(this.root,l),this.root.id=this.root.id||a("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=u(this.root,"subtext")}hasDisabledParent(){const e=n("gux-listbox-multi",this.root);return null==e?void 0:e.disabled}renderSVGCheckbox(){return o("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},o("path",this.selected?{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"}:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return o("span",{class:"gux-screenreader"},this.i18n("removeCustomElementInstructions"))}render(){return o(i,{key:"2325e784623a05a6198fbc59ce712d6873392a2e",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.selected.toString(),"aria-disabled":this.disabled.toString()},this.renderSVGCheckbox(),o("div",{key:"c9ad4deb95e260d63d0e374ce65b3ef0b6f4431b",class:"gux-option-wrapper"},o("gux-truncate",{key:"b53c8fd041a7571a76febd5a854c259ae393ebe4","tooltip-placement":"right",ref:e=>this.truncateElement=e},o("slot",{key:"268f2160228d379739fcbe337daeb9c58fd757b6"})),o("slot",{key:"902f3a78b3c378f000e2a6ad8a5406e1b54a5ecd",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderCustomOptionInstructions())}get root(){return s(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};h.style=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;min-inline-size:0}:host .gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-default-foregroundColor)}:host:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host:host(.gux-show-subtext){place-content:stretch flex-start;block-size:auto}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host:host(:hover:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(:hover:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(:hover:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}';export{h as gux_option_multi}
1
+ import{r as e,c as t,h as o,H as i,a as s}from"./p-CteT-EFt.js";import{g as n}from"./p-Cd4R0amv.js";import{r as a}from"./p-D9jKBqIb.js";import{b as r}from"./p-5JLFUoN2.js";import{h as u}from"./p-qzV3vtOw.js";var l={removeCustomElementInstructions:", unselecting this custom option will remove it from the list"};const h=class{constructor(o){e(this,o),this.guxremovecustomoption=t(this,"guxremovecustomoption",7),this.internalselectcustomoption=t(this,"internalselectcustomoption",7),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.custom=!1,this.hasSubtext=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(e){var t,o;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(o=this.truncateElement)||void 0===o||o.setHideTooltip()}async componentWillLoad(){this.i18n=await r(this.root,l),this.root.id=this.root.id||a("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=u(this.root,"subtext")}hasDisabledParent(){const e=n("gux-listbox-multi",this.root);return null==e?void 0:e.disabled}renderSVGCheckbox(){return o("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},o("path",this.selected?{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"}:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return o("span",{class:"gux-screenreader"},this.i18n("removeCustomElementInstructions"))}render(){return o(i,{key:"2325e784623a05a6198fbc59ce712d6873392a2e",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.selected.toString(),"aria-disabled":this.disabled.toString()},this.renderSVGCheckbox(),o("div",{key:"c9ad4deb95e260d63d0e374ce65b3ef0b6f4431b",class:"gux-option-wrapper"},o("gux-truncate",{key:"b53c8fd041a7571a76febd5a854c259ae393ebe4","tooltip-placement":"right",ref:e=>this.truncateElement=e},o("slot",{key:"268f2160228d379739fcbe337daeb9c58fd757b6"})),o("slot",{key:"902f3a78b3c378f000e2a6ad8a5406e1b54a5ecd",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderCustomOptionInstructions())}get root(){return s(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};h.style=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;min-inline-size:0}:host .gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-default-foregroundColor)}:host:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host:host(.gux-show-subtext){place-content:stretch flex-start;block-size:auto}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host:host(:hover:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(:hover:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(:hover:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}';export{h as gux_option_multi}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-DwD9dO7z.js";import{b as o}from"./p-r-A5Sv7q.js";import{O as r}from"./p-D0FCqvQJ.js";import{a,o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as h}from"./p-CvPWYZYp.js";import{G as d,a as u,b as p}from"./p-DdMoEl_o.js";import{v as m,a as c}from"./p-DHLxhscH.js";import{t as g}from"./p-DusGr0et.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-picker");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i;"Tab"===e.key?this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-within")&&clearTimeout(this.hideLabelInfoTimeout)}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(p,{key:"e5ab32131a3844ad93870a33d351da143a222c6b",labelPosition:this.computedLabelPosition},i(u,{key:"4d7cb96a26b7b31a8383d22e6e4df8a9723099cf"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(d,{key:"bc421902a00a0ab3d5b5592c41e2195455b191a6",position:this.computedLabelPosition,required:this.required},i("slot",{key:"647bdf0750f5b4a016ee3982a915f93ccee5ec4b",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"0ee6eaa080a98eddc3da07793eb7fbdbf9957a1f",variant:this.indicatorMark,required:this.required}),i("slot",{key:"366b6e3430380f2afb2a1b50fdbd15acaf641da2",name:"label-info"})),i("div",{key:"b7c79d73f8d74c0c47a5cf3b294116637a1946d7",class:"gux-input-and-error-container"},i("div",{key:"aebc1a7a98b438fa5ff5495a74959e60e27a6ce5",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"a31bf94ed550ed8725857a549033f5853f169a63",class:{"gux-time-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"bafbf7a6865c062092c0be4381d2c7888c41db10"}))),i(f,{key:"9f5eaba5a3aa7cf29495e7f53d6d6460dd15636b",show:this.hasError},i("slot",{key:"967f2ffe29b5d418724df96a0a1a11cd55866eae",name:"error"})),i(h,{key:"740561aa70b2112decc2c101752ac2ea57fb4080",show:!this.hasError&&this.hasHelp},i("slot",{key:"6a6b6fb5d2878afa127c9bf9665680869086a251",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-picker"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=a(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,a=arguments.length,l=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(l=(a<3?r(l):a>3?r(i,t,l):r(i,t))||l);a>3&&l&&Object.defineProperty(i,t,l)})([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 1 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(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_picker}
1
+ import{r as e,h as i,a as t}from"./p-CteT-EFt.js";import{b as o}from"./p-5JLFUoN2.js";import{O as r}from"./p-B7nShefu.js";import{a,o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as h}from"./p-BSjADocz.js";import{G as d,a as u,b as p}from"./p-6ukQFVpI.js";import{v as m,a as c}from"./p-DHLxhscH.js";import{t as g}from"./p-DXe53egP.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-picker");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i;"Tab"===e.key?this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-within")&&clearTimeout(this.hideLabelInfoTimeout)}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(p,{key:"e5ab32131a3844ad93870a33d351da143a222c6b",labelPosition:this.computedLabelPosition},i(u,{key:"4d7cb96a26b7b31a8383d22e6e4df8a9723099cf"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(d,{key:"bc421902a00a0ab3d5b5592c41e2195455b191a6",position:this.computedLabelPosition,required:this.required},i("slot",{key:"647bdf0750f5b4a016ee3982a915f93ccee5ec4b",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"0ee6eaa080a98eddc3da07793eb7fbdbf9957a1f",variant:this.indicatorMark,required:this.required}),i("slot",{key:"366b6e3430380f2afb2a1b50fdbd15acaf641da2",name:"label-info"})),i("div",{key:"b7c79d73f8d74c0c47a5cf3b294116637a1946d7",class:"gux-input-and-error-container"},i("div",{key:"aebc1a7a98b438fa5ff5495a74959e60e27a6ce5",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"a31bf94ed550ed8725857a549033f5853f169a63",class:{"gux-time-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"bafbf7a6865c062092c0be4381d2c7888c41db10"}))),i(f,{key:"9f5eaba5a3aa7cf29495e7f53d6d6460dd15636b",show:this.hasError},i("slot",{key:"967f2ffe29b5d418724df96a0a1a11cd55866eae",name:"error"})),i(h,{key:"740561aa70b2112decc2c101752ac2ea57fb4080",show:!this.hasError&&this.hasHelp},i("slot",{key:"6a6b6fb5d2878afa127c9bf9665680869086a251",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-picker"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=a(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,a=arguments.length,l=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(l=(a<3?r(l):a>3?r(i,t,l):r(i,t))||l);a>3&&l&&Object.defineProperty(i,t,l)})([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 1 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(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_picker}