genesys-spark-components 4.156.1 → 4.156.3

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 (384) hide show
  1. package/dist/cjs/{floating-ui.dom-DtfDMTOp.js → floating-ui.dom-CFIqWljW.js} +27 -16
  2. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-button_2.cjs.entry.js +2 -2
  18. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dropdown_3.cjs.entry.js +23 -11
  31. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-flyout-menu.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +2 -2
  73. package/dist/cjs/gux-popover-beta.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-popover-list.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-step.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +3 -3
  119. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  120. package/dist/cjs/gux-tooltip_2.cjs.entry.js +3 -3
  121. package/dist/cjs/{overflow-detection-Bzl6oMo9.js → overflow-detection-BCvNgBUy.js} +1 -1
  122. package/dist/cjs/{usage-DWgLAtpA.js → usage-DPbEiEeb.js} +1 -1
  123. package/dist/collection/components/beta/gux-avatar/tests/gux-avatar.common.js +71 -0
  124. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.css +7 -7
  125. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +22 -10
  126. package/dist/collection/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.common.js +42 -0
  127. package/dist/esm/{floating-ui.dom-BUgza8B9.js → floating-ui.dom-C_pVuars.js} +27 -16
  128. package/dist/esm/gux-accordion.entry.js +1 -1
  129. package/dist/esm/gux-action-button.entry.js +1 -1
  130. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  131. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  132. package/dist/esm/gux-announce-beta.entry.js +1 -1
  133. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  134. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  135. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +2 -2
  136. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  137. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  138. package/dist/esm/gux-badge.entry.js +1 -1
  139. package/dist/esm/gux-blank-state.entry.js +1 -1
  140. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  141. package/dist/esm/gux-button-multi.entry.js +1 -1
  142. package/dist/esm/gux-button-slot.entry.js +1 -1
  143. package/dist/esm/gux-button_2.entry.js +2 -2
  144. package/dist/esm/gux-calendar.entry.js +1 -1
  145. package/dist/esm/gux-card.entry.js +1 -1
  146. package/dist/esm/gux-column-manager.entry.js +1 -1
  147. package/dist/esm/gux-content-search.entry.js +1 -1
  148. package/dist/esm/gux-context-menu.entry.js +1 -1
  149. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  150. package/dist/esm/gux-date-beta.entry.js +1 -1
  151. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  152. package/dist/esm/gux-datepicker.entry.js +2 -2
  153. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  154. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  155. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  156. package/dist/esm/gux-dropdown_3.entry.js +23 -11
  157. package/dist/esm/gux-file-list-item.entry.js +1 -1
  158. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  159. package/dist/esm/gux-flyout-menu.entry.js +2 -2
  160. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  161. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  162. package/dist/esm/gux-form-field-color.entry.js +1 -1
  163. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  164. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  165. package/dist/esm/gux-form-field-file.entry.js +1 -1
  166. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  167. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  168. package/dist/esm/gux-form-field-number_2.entry.js +1 -1
  169. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  170. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  171. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  172. package/dist/esm/gux-form-field-range.entry.js +1 -1
  173. package/dist/esm/gux-form-field-search.entry.js +1 -1
  174. package/dist/esm/gux-form-field-select.entry.js +1 -1
  175. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  176. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  177. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  178. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  179. package/dist/esm/gux-form-footer.entry.js +1 -1
  180. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  181. package/dist/esm/gux-icon.entry.js +1 -1
  182. package/dist/esm/gux-inline-alert.entry.js +1 -1
  183. package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
  184. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  185. package/dist/esm/gux-link-beta.entry.js +1 -1
  186. package/dist/esm/gux-list.entry.js +1 -1
  187. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  188. package/dist/esm/gux-loading-message.entry.js +1 -1
  189. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  190. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  191. package/dist/esm/gux-modal.entry.js +1 -1
  192. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  193. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  194. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  195. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  196. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  197. package/dist/esm/gux-pagination.entry.js +1 -1
  198. package/dist/esm/gux-phone-input-beta.entry.js +2 -2
  199. package/dist/esm/gux-popover-beta.entry.js +2 -2
  200. package/dist/esm/gux-popover-list-beta.entry.js +2 -2
  201. package/dist/esm/gux-popover-list.entry.js +2 -2
  202. package/dist/esm/gux-popup.entry.js +1 -1
  203. package/dist/esm/gux-radial-loading.entry.js +1 -1
  204. package/dist/esm/gux-radial-progress.entry.js +1 -1
  205. package/dist/esm/gux-rating.entry.js +1 -1
  206. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  207. package/dist/esm/gux-rich-style-list-item_3.entry.js +2 -2
  208. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  209. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  210. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  211. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  212. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  213. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  214. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  215. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  216. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  217. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  218. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  219. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  220. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  221. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  222. package/dist/esm/gux-sort-control.entry.js +1 -1
  223. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  224. package/dist/esm/gux-step-title.entry.js +1 -1
  225. package/dist/esm/gux-step.entry.js +1 -1
  226. package/dist/esm/gux-stepper-beta.entry.js +1 -1
  227. package/dist/esm/gux-submenu.entry.js +1 -1
  228. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  229. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  230. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  231. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  232. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  233. package/dist/esm/gux-table.entry.js +1 -1
  234. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  235. package/dist/esm/gux-tabs.entry.js +1 -1
  236. package/dist/esm/gux-tag.entry.js +1 -1
  237. package/dist/esm/gux-text-highlight.entry.js +1 -1
  238. package/dist/esm/gux-time-beta.entry.js +1 -1
  239. package/dist/esm/gux-time-picker.entry.js +1 -1
  240. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  241. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  242. package/dist/esm/gux-toast.entry.js +1 -1
  243. package/dist/esm/gux-toggle.entry.js +1 -1
  244. package/dist/esm/gux-tooltip-base-beta_2.entry.js +3 -3
  245. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  246. package/dist/esm/gux-tooltip_2.entry.js +3 -3
  247. package/dist/esm/{overflow-detection-Cn75ln-O.js → overflow-detection-C1BEugqw.js} +1 -1
  248. package/dist/esm/{usage-DE51TUwj.js → usage-CKrCYwQS.js} +1 -1
  249. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  250. package/dist/genesys-webcomponents/{p-78bde458.entry.js → p-007e21c4.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-b6be0be9.entry.js → p-01c31805.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-35c633f6.entry.js → p-0680ae03.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-368943d4.entry.js → p-0750007f.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-9f2b6a4d.entry.js → p-07a5b79b.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-95cfed6e.entry.js → p-0b3032a9.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-594c124f.entry.js → p-0b933a17.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-8d758cf8.entry.js → p-0e4f4d1c.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-0be8896b.entry.js → p-10fe7642.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-07e9458d.entry.js → p-16a29001.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/p-18ad1c15.entry.js +1 -0
  261. package/dist/genesys-webcomponents/{p-281abe85.entry.js → p-1a712b3a.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-cbd39423.entry.js → p-1a792608.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-c7b72735.entry.js → p-1b71694f.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-74ac54c5.entry.js → p-1bfe7fba.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-e59c24fd.entry.js → p-1df9423a.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-92ee1007.entry.js → p-1eabb115.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-5e466f6d.entry.js → p-20af60c2.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-93ce237e.entry.js → p-23a026fc.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-da9ff718.entry.js → p-23c10999.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-6bf5e83c.entry.js → p-27092702.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-5d3e8043.entry.js → p-28e125c1.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-345b73bd.entry.js → p-295c8789.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/p-2ae26be4.entry.js +1 -0
  274. package/dist/genesys-webcomponents/{p-b66b555a.entry.js → p-2dc90066.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-3f771821.entry.js → p-302f650a.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-3549d6f9.entry.js → p-32a59d95.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-158063d8.entry.js → p-34501b32.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-7fe5a273.entry.js → p-34d99c4f.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-6a533ce5.entry.js → p-34e74e27.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-22c09631.entry.js → p-37403cd0.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-0a466c19.entry.js → p-39223a3e.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-e1611c8a.entry.js → p-3a0cfeb9.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-d57255fc.entry.js → p-439f347d.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-6b761453.entry.js → p-43de8dd9.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-b05523fb.entry.js → p-4b74d0f9.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-c68a95c6.entry.js → p-54e301b8.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-57e79004.entry.js → p-5712efa7.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-e32258c6.entry.js → p-59d3a95d.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-5ff414b9.entry.js → p-5b7dd312.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-350b56c1.entry.js → p-60f917bd.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-b5568e7b.entry.js → p-6168e2a3.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-b7ed8df0.entry.js → p-622912d0.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-552a31c5.entry.js → p-6315da16.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-eda050d1.entry.js → p-6378c240.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-c46a7270.entry.js → p-6658e9d8.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-4f6639bf.entry.js → p-680b80e6.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-6751d6e3.entry.js → p-6817139f.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-9c1791a8.entry.js → p-695e5a0b.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-858ceab2.entry.js → p-69f2ed8a.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-b0fe9e62.entry.js → p-6bd32edd.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-e61655ff.entry.js → p-6f748707.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-0cfab9e0.entry.js → p-7311bc99.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-e8966f1a.entry.js → p-73833c03.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-30856d6c.entry.js → p-78094bfa.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-1bc00145.entry.js → p-782a99c9.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-c2e9618b.entry.js → p-790045d6.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-198aaa88.entry.js → p-7af4b1ce.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-90ac400a.entry.js → p-7cfc7014.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-ab5a639f.entry.js → p-82d8fab2.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-d62af1ee.entry.js → p-84b02664.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-3a680ff9.entry.js → p-85e132fe.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-c9ad1a44.entry.js → p-87569082.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-6bf59486.entry.js → p-8d59f80b.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-1589d770.entry.js → p-90b2153b.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-a73a867b.entry.js → p-91712179.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-6243d202.entry.js → p-95aeae44.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-fd129cc8.entry.js → p-98659a4d.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-68d0f70b.entry.js → p-98df6696.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-ccf85f26.entry.js → p-9a8a9f7c.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-f89d64a5.entry.js → p-9e4ca1ea.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-DE51TUwj.js → p-CKrCYwQS.js} +1 -1
  322. package/dist/genesys-webcomponents/p-C_pVuars.js +1 -0
  323. package/dist/genesys-webcomponents/{p-C7erT454.js → p-Citooud1.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-f4689e60.entry.js → p-a036d9fd.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/p-a2de6d15.entry.js +1 -0
  326. package/dist/genesys-webcomponents/{p-3a11e0bd.entry.js → p-a41cb645.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-7b89df4e.entry.js → p-a56f92f5.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-74d3aa6f.entry.js → p-a6af66d0.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-b9d0e6ed.entry.js → p-aaed1031.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-de0bf5ee.entry.js → p-ad4f9c70.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-fa7e9b55.entry.js → p-ad6536a1.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-336b4590.entry.js → p-aff37b22.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/p-b02a4620.entry.js +1 -0
  334. package/dist/genesys-webcomponents/{p-68a271ec.entry.js → p-b1f3cf7c.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-bdfb4f9e.entry.js → p-b3681858.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-ffa901ec.entry.js → p-b59908d4.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-4dfdbc95.entry.js → p-b684e0cb.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-bce68452.entry.js → p-b96ea7f1.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-e0bf441b.entry.js → p-bc9325fd.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-20bf5b90.entry.js → p-bd049848.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-9f66e9a5.entry.js → p-bf9943d9.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-4ed69aa6.entry.js → p-c04cb1de.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-808987b0.entry.js → p-c46bcba2.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-e6cf4369.entry.js → p-c48f3bbe.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-6888b364.entry.js → p-c8b19ddd.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-6b6d5a81.entry.js → p-c9363db4.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-4d19ea97.entry.js → p-cc784358.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-e811c9ba.entry.js → p-cf92e257.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-436a075f.entry.js → p-d1e8dd44.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-4cc5f28a.entry.js → p-d366c625.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-6b1e2c47.entry.js → p-d78b6757.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-57c661e7.entry.js → p-da0e4770.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/p-da9d04b7.entry.js +1 -0
  354. package/dist/genesys-webcomponents/p-dae296b6.entry.js +1 -0
  355. package/dist/genesys-webcomponents/{p-6908e77e.entry.js → p-db241e8f.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-6f68f2d9.entry.js → p-dbadf18d.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-a0a825e5.entry.js → p-e210b0c5.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-c2bb202a.entry.js → p-e4f1b1b9.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-6e4976a0.entry.js → p-e539f798.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-13394e19.entry.js → p-e6740ea9.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/{p-2baa2dda.entry.js → p-eaaa1985.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-a3a04b8e.entry.js → p-eeb653ee.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-92e547a7.entry.js → p-eebf3395.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-03900bf8.entry.js → p-f1a10022.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-33c2c937.entry.js → p-f43b3cd2.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-55407671.entry.js → p-f4d4c70d.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-4432b315.entry.js → p-f9f8e3f3.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/{p-e4f611fb.entry.js → p-fb54acc7.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-e6a79f2b.entry.js → p-fb9ac5fd.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-fb4e4aea.entry.js → p-fba77290.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-1ee618d2.entry.js → p-ffaa5b2d.entry.js} +1 -1
  372. package/dist/stencil-wrapper.js +1 -1
  373. package/dist/types/components/beta/gux-avatar/tests/gux-avatar.common.d.ts +4 -0
  374. package/dist/types/components/stable/gux-dropdown/gux-dropdown.d.ts +1 -0
  375. package/dist/types/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.common.d.ts +4 -0
  376. package/dist/types/stencil-wrapper.d.ts +1 -1
  377. package/package.json +4 -4
  378. package/dist/genesys-webcomponents/p-2df3a4c9.entry.js +0 -1
  379. package/dist/genesys-webcomponents/p-779be15e.entry.js +0 -1
  380. package/dist/genesys-webcomponents/p-812a82dc.entry.js +0 -1
  381. package/dist/genesys-webcomponents/p-93510a23.entry.js +0 -1
  382. package/dist/genesys-webcomponents/p-BUgza8B9.js +0 -1
  383. package/dist/genesys-webcomponents/p-d589df6f.entry.js +0 -1
  384. package/dist/genesys-webcomponents/p-fbfc7e31.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-npw54p0Y.js";import{b as o}from"./p-CIt2cSVJ.js";import{O as r}from"./p-CbifHkss.js";import{a as l,o as s}from"./p-De1NnCmO.js";import{h as a}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as h}from"./p-Cc0kwTGQ.js";import{G as d,a as u,b as c}from"./p-BP4cqh7O.js";import{v as p,a as m}from"./p-DHLxhscH.js";import{t as g}from"./p-DE51TUwj.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-zone-picker-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var i,t;"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")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasLabelInfo=a(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"8021fd2c7190564cf28210b0e7141e051d4468e7",labelPosition:this.computedLabelPosition},i(u,{key:"8036179008298d39417ad34b64f9d216a40740bd"},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:"cc8145669ae9258493c3cc4d6995ea65190bd325",position:this.computedLabelPosition,required:this.required},i("slot",{key:"4869a073924cc524b3bdcd1cd8d1c1e2725c6b17",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"50a1e3f905e392d8813b987457e9cf507e2fed1a",variant:this.indicatorMark,required:this.required}),i("slot",{key:"25cd4be3bf7906da2a99d6cdc7023cebbc3afb1b",name:"label-info"})),i("slot",{key:"192555f7bea53987d464d8d1bc0c70d815a93c91",name:"label-info"}),i("div",{key:"45c0c71fa8a3379446deb5dde6019a8a5a94e2fe",class:"gux-input-and-error-container"},i("div",{key:"4999945a55ecc936d686e3839e7c68d3994ca3ae",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"317cbdecb53e5bd3031e1fd370ed881659cbac21"})),i(f,{key:"c792f6017ee9c3a3c003be19023538ce2cf7b482",show:this.hasError},i("slot",{key:"edb2dc0ac5a7b21b79a11fc064abb9cb23f8d8ae",name:"error"})),i(h,{key:"998daf7b1a75da360eff441d7137cf04c04a5248",show:!this.hasError&&this.hasHelp},i("slot",{key:"6d28f8c56bb8da39142173618e1b1fb74192d914",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 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_zone_picker}
1
+ import{r as e,h as i,a as t}from"./p-npw54p0Y.js";import{b as o}from"./p-CIt2cSVJ.js";import{O as r}from"./p-CbifHkss.js";import{a as l,o as s}from"./p-De1NnCmO.js";import{h as a}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as h}from"./p-Cc0kwTGQ.js";import{G as d,a as u,b as c}from"./p-BP4cqh7O.js";import{v as p,a as m}from"./p-DHLxhscH.js";import{t as g}from"./p-CKrCYwQS.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-zone-picker-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var i,t;"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")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasLabelInfo=a(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"8021fd2c7190564cf28210b0e7141e051d4468e7",labelPosition:this.computedLabelPosition},i(u,{key:"8036179008298d39417ad34b64f9d216a40740bd"},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:"cc8145669ae9258493c3cc4d6995ea65190bd325",position:this.computedLabelPosition,required:this.required},i("slot",{key:"4869a073924cc524b3bdcd1cd8d1c1e2725c6b17",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"50a1e3f905e392d8813b987457e9cf507e2fed1a",variant:this.indicatorMark,required:this.required}),i("slot",{key:"25cd4be3bf7906da2a99d6cdc7023cebbc3afb1b",name:"label-info"})),i("slot",{key:"192555f7bea53987d464d8d1bc0c70d815a93c91",name:"label-info"}),i("div",{key:"45c0c71fa8a3379446deb5dde6019a8a5a94e2fe",class:"gux-input-and-error-container"},i("div",{key:"4999945a55ecc936d686e3839e7c68d3994ca3ae",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"317cbdecb53e5bd3031e1fd370ed881659cbac21"})),i(f,{key:"c792f6017ee9c3a3c003be19023538ce2cf7b482",show:this.hasError},i("slot",{key:"edb2dc0ac5a7b21b79a11fc064abb9cb23f8d8ae",name:"error"})),i(h,{key:"998daf7b1a75da360eff441d7137cf04c04a5248",show:!this.hasError&&this.hasHelp},i("slot",{key:"6d28f8c56bb8da39142173618e1b1fb74192d914",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 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_zone_picker}
@@ -1 +1 @@
1
- import{r as a,c as e,h as o,a as t}from"./p-npw54p0Y.js";import{r as i}from"./p-D9jKBqIb.js";import{t as n}from"./p-DE51TUwj.js";const d=class{constructor(o){a(this,o),this.guxdismiss=e(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0}handleKeyEvent(a){"Escape"===a.key&&this.onDismissHandler(a)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){n(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var a,e,o;const t=this.getInitialFocusElement();t?null===(a=t.focus)||void 0===a||a.call(t):this.dismissButton&&(null===(o=(e=this.dismissButton).focus)||void 0===o||o.call(e))}render(){const a=this.hasModalTitleSlot(),e=this.hasFooterButtons(),t=i();return o("div",{key:"cf42f13044a776e9737d6e4eb116679e1f1def36",class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":a?t:null},o("div",{key:"f943a8f753e5a6543c81bafe7d6ed08ac9e63fa0",class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),a&&o("h1",{key:"5f0b9552741d7a94eead287d580ba06a7090d941",class:"gux-modal-header",id:t},o("slot",{key:"15acab823d68f5c933a045beb99387105d07759f",name:"title"})),o("gux-dismiss-button",{key:"1781b8dea0a20bcb6a5882e7592b83fd47551292",onClick:this.onDismissHandler.bind(this),ref:a=>this.dismissButton=a}),o("div",{key:"12c81a0e0958952d89a55c17e9899e301e5b3bc2",class:{"gux-modal-content":!0,"gux-no-buttons":!e}},o("p",{key:"b8a99c68306f05cc843cf2569d6689a4eedc5e9b"},o("slot",{key:"5c88dabaea5f7ff2ce152907c41f41980474997d",name:"content"}))),e&&o("div",{key:"a57a2c1ec660b8e9b0e662bfed969f6696992772",class:"gux-button-footer"},o("div",{key:"67e3268b76c15ebec134a0881de4cdca4ef38ab2",class:"gux-left-align-buttons"},o("slot",{key:"d311983951eadfbb6028edfd1a92d682f746a378",name:"left-align-buttons"})),o("div",{key:"1ce03d9d93028232807f0dd6c5148e80fa98f3d3",class:"gux-right-align-buttons"},o("slot",{key:"3f4ffa188878a61224ba47701453cb298e0b5db7",name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return o("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(a){var e;a.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(e=this.triggerElement)||void 0===e||e.focus())}get root(){return t(this)}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=left-align-buttons]::slotted(:not(button,gux-button)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host .gux-modal{position:fixed;inset:0;z-index:var(--gse-semantic-zIndex-modal);display:flex;align-items:center;justify-content:center;color:var(--gse-semantic-foreground-container-highEmphasis);background:var(--gse-ui-modal-shroudColor)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:var(--gse-ui-modal-padding) 0;background:var(--gse-ui-modal-backgroundColor);border:1px solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host .gux-modal .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding:0 var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);font-family:var(--gse-semantic-heading-xl-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-xl-bold-fontSize);line-height:var(--gse-semantic-heading-xl-bold-lineHeight);font-weight:var(--gse-semantic-heading-xl-bold-fontWeight)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;padding:0 var(--gse-ui-modal-padding);margin-top:var(--gse-ui-modal-gap);margin-bottom:var(--gse-ui-modal-gap);overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding:0 var(--gse-ui-modal-padding)}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{d as gux_modal_legacy}
1
+ import{r as a,c as e,h as o,a as t}from"./p-npw54p0Y.js";import{r as i}from"./p-D9jKBqIb.js";import{t as n}from"./p-CKrCYwQS.js";const d=class{constructor(o){a(this,o),this.guxdismiss=e(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0}handleKeyEvent(a){"Escape"===a.key&&this.onDismissHandler(a)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){n(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var a,e,o;const t=this.getInitialFocusElement();t?null===(a=t.focus)||void 0===a||a.call(t):this.dismissButton&&(null===(o=(e=this.dismissButton).focus)||void 0===o||o.call(e))}render(){const a=this.hasModalTitleSlot(),e=this.hasFooterButtons(),t=i();return o("div",{key:"cf42f13044a776e9737d6e4eb116679e1f1def36",class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":a?t:null},o("div",{key:"f943a8f753e5a6543c81bafe7d6ed08ac9e63fa0",class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),a&&o("h1",{key:"5f0b9552741d7a94eead287d580ba06a7090d941",class:"gux-modal-header",id:t},o("slot",{key:"15acab823d68f5c933a045beb99387105d07759f",name:"title"})),o("gux-dismiss-button",{key:"1781b8dea0a20bcb6a5882e7592b83fd47551292",onClick:this.onDismissHandler.bind(this),ref:a=>this.dismissButton=a}),o("div",{key:"12c81a0e0958952d89a55c17e9899e301e5b3bc2",class:{"gux-modal-content":!0,"gux-no-buttons":!e}},o("p",{key:"b8a99c68306f05cc843cf2569d6689a4eedc5e9b"},o("slot",{key:"5c88dabaea5f7ff2ce152907c41f41980474997d",name:"content"}))),e&&o("div",{key:"a57a2c1ec660b8e9b0e662bfed969f6696992772",class:"gux-button-footer"},o("div",{key:"67e3268b76c15ebec134a0881de4cdca4ef38ab2",class:"gux-left-align-buttons"},o("slot",{key:"d311983951eadfbb6028edfd1a92d682f746a378",name:"left-align-buttons"})),o("div",{key:"1ce03d9d93028232807f0dd6c5148e80fa98f3d3",class:"gux-right-align-buttons"},o("slot",{key:"3f4ffa188878a61224ba47701453cb298e0b5db7",name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return o("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(a){var e;a.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(e=this.triggerElement)||void 0===e||e.focus())}get root(){return t(this)}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=left-align-buttons]::slotted(:not(button,gux-button)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host .gux-modal{position:fixed;inset:0;z-index:var(--gse-semantic-zIndex-modal);display:flex;align-items:center;justify-content:center;color:var(--gse-semantic-foreground-container-highEmphasis);background:var(--gse-ui-modal-shroudColor)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:var(--gse-ui-modal-padding) 0;background:var(--gse-ui-modal-backgroundColor);border:1px solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host .gux-modal .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding:0 var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);font-family:var(--gse-semantic-heading-xl-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-xl-bold-fontSize);line-height:var(--gse-semantic-heading-xl-bold-lineHeight);font-weight:var(--gse-semantic-heading-xl-bold-fontWeight)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;padding:0 var(--gse-ui-modal-padding);margin-top:var(--gse-ui-modal-gap);margin-bottom:var(--gse-ui-modal-gap);overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding:0 var(--gse-ui-modal-padding)}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{d as gux_modal_legacy}
@@ -1 +1 @@
1
- var e="4.156.1";const t=[function(e){const[t,n,...o]=e.split(".");return{name:"spark-library",metadata:{fullVersion:`${t}.${n}.${o.join(".")}`,majorVersion:t,minorVersion:`${t}.${n}`}}}(e)];function n(){const e=window.newrelic;if(e){for(let o=0;o<20;o++){if(0==t.length)return void setTimeout(n,3e4);const o=t.shift();e.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:t.length}))}setTimeout(n,3e4)}}let o=!1;function r(r,i){window.newrelic&&(o||(o=!0,n()),document.contains(r)&&t.push({name:"spark-component",metadata:Object.assign(Object.assign({},i),{component:r.tagName.toLowerCase(),version:e})}))}export{r as t}
1
+ var e="4.156.3";const t=[function(e){const[t,n,...o]=e.split(".");return{name:"spark-library",metadata:{fullVersion:`${t}.${n}.${o.join(".")}`,majorVersion:t,minorVersion:`${t}.${n}`}}}(e)];function n(){const e=window.newrelic;if(e){for(let o=0;o<20;o++){if(0==t.length)return void setTimeout(n,3e4);const o=t.shift();e.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:t.length}))}setTimeout(n,3e4)}}let o=!1;function r(r,i){window.newrelic&&(o||(o=!0,n()),document.contains(r)&&t.push({name:"spark-component",metadata:Object.assign(Object.assign({},i),{component:r.tagName.toLowerCase(),version:e})}))}export{r as t}
@@ -0,0 +1 @@
1
+ const t=["top","right","bottom","left"],n=Math.min,e=Math.max,o=Math.round,r=Math.floor,i=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function l(t,o,r){return e(t,n(o,r))}function s(t,n){return"function"==typeof t?t(n):t}function u(t){return t.split("-")[0]}function f(t){return t.split("-")[1]}function d(t){return"x"===t?"y":"x"}function m(t){return"y"===t?"height":"width"}const h=new Set(["top","bottom"]);function y(t){return h.has(u(t))?"y":"x"}function p(t){return d(y(t))}function w(t){return t.replace(/start|end/g,(t=>c[t]))}const g=["left","right"],x=["right","left"],v=["top","bottom"],b=["bottom","top"];function A(t){return t.replace(/left|right|bottom|top/g,(t=>a[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function R(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function O(t,n,e){let{reference:o,floating:r}=t;const i=y(n),a=p(n),c=m(a),l=u(n),s="y"===i,d=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,w=o[c]/2-r[c]/2;let g;switch(l){case"top":g={x:d,y:o.y-r.height};break;case"bottom":g={x:d,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:h};break;case"left":g={x:o.x-r.width,y:h};break;default:g={x:o.x,y:o.y}}switch(f(n)){case"start":g[a]-=w*(e&&s?-1:1);break;case"end":g[a]+=w*(e&&s?-1:1)}return g}async function k(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:c,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:h=0}=s(n,t),y=S(h),p=c[m?"floating"===d?"reference":"floating":d],w=R(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(p)))||e?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:l})),g="floating"===d?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),v=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},b=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:g,offsetParent:x,strategy:l}):g);return{top:(w.top-b.top+y.top)/v.y,bottom:(b.bottom-w.bottom+y.bottom)/v.y,left:(w.left-b.left+y.left)/v.x,right:(b.right-w.right+y.right)/v.x}}function F(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function T(n){return t.some((t=>n[t]>=0))}const D=new Set(["left","top"]);function P(){return"undefined"!=typeof window}function z(t){return M(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function H(t){var n;return null==(n=(M(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function M(t){return!!P()&&(t instanceof Node||t instanceof C(t).Node)}function B(t){return!!P()&&(t instanceof Element||t instanceof C(t).Element)}function L(t){return!!P()&&(t instanceof HTMLElement||t instanceof C(t).HTMLElement)}function E(t){return!(!P()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}const I=new Set(["inline","contents"]);function N(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Q(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!I.has(r)}const j=new Set(["table","td","th"]);function q(t){return j.has(z(t))}const W=[":popover-open",":modal"];function $(t){return W.some((n=>{try{return t.matches(n)}catch(t){return!1}}))}const V=["transform","translate","scale","rotate","perspective"],X=["transform","translate","scale","rotate","perspective","filter"],Y=["paint","layout","strict","content"];function _(t){const n=G(),e=B(t)?Q(t):t;return V.some((t=>!!e[t]&&"none"!==e[t]))||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||X.some((t=>(e.willChange||"").includes(t)))||Y.some((t=>(e.contain||"").includes(t)))}function G(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const J=new Set(["html","body","#document"]);function K(t){return J.has(z(t))}function Q(t){return C(t).getComputedStyle(t)}function U(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Z(t){if("html"===z(t))return t;const n=t.assignedSlot||t.parentNode||E(t)&&t.host||H(t);return E(n)?n.host:n}function tt(t){const n=Z(t);return K(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&N(n)?n:tt(n)}function nt(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=tt(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),a=C(r);if(i){const t=et(a);return n.concat(a,a.visualViewport||[],N(r)?r:[],t&&e?nt(t):[])}return n.concat(r,nt(r,[],e))}function et(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ot(t){const n=Q(t);let e=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=L(t),a=i?t.offsetWidth:e,c=i?t.offsetHeight:r,l=o(e)!==a||o(r)!==c;return l&&(e=a,r=c),{width:e,height:r,$:l}}function rt(t){return B(t)?t:t.contextElement}function it(t){const n=rt(t);if(!L(n))return i(1);const e=n.getBoundingClientRect(),{width:r,height:a,$:c}=ot(n);let l=(c?o(e.width):e.width)/r,s=(c?o(e.height):e.height)/a;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const at=i(0);function ct(t){const n=C(t);return G()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:at}function lt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),a=rt(t);let c=i(1);n&&(o?B(o)&&(c=it(o)):c=it(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(a,e,o)?ct(a):i(0);let s=(r.left+l.x)/c.x,u=(r.top+l.y)/c.y,f=r.width/c.x,d=r.height/c.y;if(a){const t=C(a),n=o&&B(o)?C(o):o;let e=t,r=et(e);for(;r&&o&&n!==e;){const t=it(r),n=r.getBoundingClientRect(),o=Q(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,a=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=a,e=C(r),r=et(e)}}return R({width:f,height:d,x:s,y:u})}function st(t,n){const e=U(t).scrollLeft;return n?n.left+e:lt(H(t)).left+e}function ut(t,n,e){void 0===e&&(e=!1);const o=t.getBoundingClientRect();return{x:o.left+n.scrollLeft-(e?0:st(t,o)),y:o.top+n.scrollTop}}const ft=new Set(["absolute","fixed"]);function dt(t,n,o){let r;if("viewport"===n)r=function(t,n){const e=C(t),o=H(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,c=0,l=0;if(r){i=r.width,a=r.height;const t=G();(!t||t&&"fixed"===n)&&(c=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:c,y:l}}(t,o);else if("document"===n)r=function(t){const n=H(t),o=U(t),r=t.ownerDocument.body,i=e(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),a=e(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let c=-o.scrollLeft+st(t);const l=-o.scrollTop;return"rtl"===Q(r).direction&&(c+=e(n.clientWidth,r.clientWidth)-i),{width:i,height:a,x:c,y:l}}(H(t));else if(B(n))r=function(t,n){const e=lt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,a=L(t)?it(t):i(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:r*a.x,y:o*a.y}}(n,o);else{const e=ct(t);r={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return R(r)}function mt(t,n){const e=Z(t);return!(e===n||!B(e)||K(e))&&("fixed"===Q(e).position||mt(e,n))}function ht(t,n,e){const o=L(n),r=H(n),a="fixed"===e,c=lt(t,!0,a,n);let l={scrollLeft:0,scrollTop:0};const s=i(0);function u(){s.x=st(r)}if(o||!o&&!a)if(("body"!==z(n)||N(r))&&(l=U(n)),o){const t=lt(n,!0,a,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else r&&u();a&&!o&&r&&u();const f=!r||o||a?i(0):ut(r,l);return{x:c.left+l.scrollLeft-s.x-f.x,y:c.top+l.scrollTop-s.y-f.y,width:c.width,height:c.height}}function yt(t){return"static"===Q(t).position}function pt(t,n){if(!L(t)||"fixed"===Q(t).position)return null;if(n)return n(t);let e=t.offsetParent;return H(t)===e&&(e=e.ownerDocument.body),e}function wt(t,n){const e=C(t);if($(t))return e;if(!L(t)){let n=Z(t);for(;n&&!K(n);){if(B(n)&&!yt(n))return n;n=Z(n)}return e}let o=pt(t,n);for(;o&&q(o)&&yt(o);)o=pt(o,n);return o&&K(o)&&yt(o)&&!_(o)?e:o||function(t){let n=Z(t);for(;L(n)&&!K(n);){if(_(n))return n;if($(n))return null;n=Z(n)}return null}(t)||e}const gt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:r}=t;const a="fixed"===r,c=H(o),l=!!n&&$(n.floating);if(o===c||l&&a)return e;let s={scrollLeft:0,scrollTop:0},u=i(1);const f=i(0),d=L(o);if((d||!d&&!a)&&(("body"!==z(o)||N(c))&&(s=U(o)),L(o))){const t=lt(o);u=it(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!c||d||a?i(0):ut(c,s,!0);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:H,getClippingRect:function(t){let{element:o,boundary:r,rootBoundary:i,strategy:a}=t;const c=[..."clippingAncestors"===r?$(o)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=nt(t,[],!1).filter((t=>B(t)&&"body"!==z(t))),r=null;const i="fixed"===Q(t).position;let a=i?Z(t):t;for(;B(a)&&!K(a);){const n=Q(a),e=_(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&ft.has(r.position)||N(a)&&!e&&mt(t,a))?o=o.filter((t=>t!==a)):r=n,a=Z(a)}return n.set(t,o),o}(o,this._c):[].concat(r),i],l=c.reduce(((t,r)=>{const i=dt(o,r,a);return t.top=e(i.top,t.top),t.right=n(i.right,t.right),t.bottom=n(i.bottom,t.bottom),t.left=e(i.left,t.left),t}),dt(o,c[0],a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:wt,getElementRects:async function(t){const n=this.getOffsetParent||wt,e=this.getDimensions,o=await e(t.floating);return{reference:ht(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=ot(t);return{width:n,height:e}},getScale:it,isElement:B,isRTL:function(t){return"rtl"===Q(t).direction}};function xt(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function vt(t,o,i,a){void 0===a&&(a={});const{ancestorScroll:c=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=a,d=rt(t),m=c||l?[...d?nt(d):[],...nt(o)]:[];m.forEach((t=>{c&&t.addEventListener("scroll",i,{passive:!0}),l&&t.addEventListener("resize",i)}));const h=d&&u?function(t,o){let i,a=null;const c=H(t);function l(){var t;clearTimeout(i),null==(t=a)||t.disconnect(),a=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),l();const d=t.getBoundingClientRect(),{left:m,top:h,width:y,height:p}=d;if(u||o(),!y||!p)return;const w={rootMargin:-r(h)+"px "+-r(c.clientWidth-(m+y))+"px "+-r(c.clientHeight-(h+p))+"px "+-r(m)+"px",threshold:e(0,n(1,f))||1};let g=!0;function x(n){const e=n[0].intersectionRatio;if(e!==f){if(!g)return s();e?s(!1,e):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==e||xt(d,t.getBoundingClientRect())||s(),g=!1}try{a=new IntersectionObserver(x,{...w,root:c.ownerDocument})}catch(t){a=new IntersectionObserver(x,w)}a.observe(t)}(!0),l}(d,i):null;let y,p=-1,w=null;s&&(w=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&w&&(w.unobserve(o),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(o)}))),i()})),d&&!f&&w.observe(d),w.observe(o));let g=f?lt(t):null;return f&&function n(){const e=lt(t);g&&!xt(g,e)&&i(),g=e,y=requestAnimationFrame(n)}(),i(),()=>{var t;m.forEach((t=>{c&&t.removeEventListener("scroll",i),l&&t.removeEventListener("resize",i)})),null==h||h(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(y)}}const bt=k,At=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:a,middlewareData:c}=n,l=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=u(e),c=f(e),l="y"===y(e),d=D.has(a)?-1:1,m=i&&l?-1:1,h=s(n,t);let{mainAxis:p,crossAxis:w,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&"number"==typeof g&&(w="end"===c?-1*g:g),l?{x:w*m,y:p*d}:{x:p*d,y:w*m}}(n,t);return a===(null==(e=c.offset)?void 0:e.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:a}}}}},St=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r}=n,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=s(t,n),m={x:e,y:o},h=await k(n,f),p=y(u(r)),w=d(p);let g=m[w],x=m[p];i&&(g=l(g+h["y"===w?"top":"left"],g,g-h["y"===w?"bottom":"right"])),a&&(x=l(x+h["y"===p?"top":"left"],x,x-h["y"===p?"bottom":"right"]));const v=c.fn({...n,[w]:g,[p]:x});return{...v,data:{x:v.x-e,y:v.y-o,enabled:{[w]:i,[p]:a}}}}}},Rt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:c,platform:l,elements:d}=n,{mainAxis:h=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:F="none",flipAlignment:T=!0,...D}=s(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const P=u(r),z=y(c),C=u(c)===c,H=await(null==l.isRTL?void 0:l.isRTL(d.floating)),M=R||(C||!T?[A(c)]:function(t){const n=A(t);return[w(t),n,w(n)]}(c)),B="none"!==F;!R&&B&&M.push(...function(t,n,e,o){const r=f(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?x:g:n?g:x;case"left":case"right":return n?v:b;default:return[]}}(u(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(w)))),i}(c,T,F,H));const L=[c,...M],E=await k(n,D),I=[];let N=(null==(o=i.flip)?void 0:o.overflows)||[];if(h&&I.push(E[P]),S){const t=function(t,n,e){void 0===e&&(e=!1);const o=f(t),r=p(t),i=m(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}(r,a,H);I.push(E[t[0]],E[t[1]])}if(N=[...N,{placement:r,overflows:I}],!I.every((t=>t<=0))){var j,q;const t=((null==(j=i.flip)?void 0:j.index)||0)+1,n=L[t];if(n&&("alignment"!==S||z===y(n)||N.every((t=>t.overflows[0]>0&&y(t.placement)===z))))return{data:{index:t,overflows:N},reset:{placement:n}};let e=null==(q=N.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:q.placement;if(!e)switch(O){case"bestFit":{var W;const t=null==(W=N.filter((t=>{if(B){const n=y(t.placement);return n===z||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:W[0];t&&(e=t);break}case"initialPlacement":e=c}if(r!==e)return{reset:{placement:e}}}return{}}}},Ot=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(o){var r,i;const{placement:a,rects:c,platform:l,elements:d}=o,{apply:m=()=>{},...h}=s(t,o),p=await k(o,h),w=u(a),g=f(a),x="y"===y(a),{width:v,height:b}=c.floating;let A,S;"top"===w||"bottom"===w?(A=w,S=g===(await(null==l.isRTL?void 0:l.isRTL(d.floating))?"start":"end")?"left":"right"):(S=w,A="end"===g?"top":"bottom");const R=b-p.top-p.bottom,O=v-p.left-p.right;let F=n(b-p[A],R),T=n(v-p[S],O);if(null!=(r=o.middlewareData.shift)&&r.enabled.x&&(T=O),null!=(i=o.middlewareData.shift)&&i.enabled.y&&(F=R),!o.middlewareData.shift&&!g){const t=e(p.left,0),n=e(p.right,0),o=e(p.top,0),r=e(p.bottom,0);x?T=v-2*(0!==t||0!==n?t+n:e(p.left,p.right)):F=b-2*(0!==o||0!==r?o+r:e(p.top,p.bottom))}await m({...o,availableWidth:T,availableHeight:F});const D=await l.getDimensions(d.floating);return v!==D.width||b!==D.height?{reset:{rects:!0}}:{}}}},kt=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=s(t,n);switch(o){case"referenceHidden":{const t=F(await k(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:T(t)}}}case"escaped":{const t=F(await k(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:T(t)}}}default:return{}}}}},Ft=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:i,rects:a,platform:c,elements:u,middlewareData:d}=e,{element:h,padding:y=0}=s(t,e)||{};if(null==h)return{};const w=S(y),g={x:o,y:r},x=p(i),v=m(x),b=await c.getDimensions(h),A="y"===x,R=A?"top":"left",O=A?"bottom":"right",k=A?"clientHeight":"clientWidth",F=a.reference[v]+a.reference[x]-g[x]-a.floating[v],T=g[x]-a.reference[x],D=await(null==c.getOffsetParent?void 0:c.getOffsetParent(h));let P=D?D[k]:0;P&&await(null==c.isElement?void 0:c.isElement(D))||(P=u.floating[k]||a.floating[v]);const z=F/2-T/2,C=P/2-b[v]/2-1,H=n(w[R],C),M=n(w[O],C),B=H,L=P-b[v]-M,E=P/2-b[v]/2+z,I=l(B,E,L),N=!d.arrow&&null!=f(i)&&E!==I&&a.reference[v]/2-(E<B?H:M)-b[v]/2<0,j=N?E<B?E-B:E-L:0;return{[x]:g[x]+j,data:{[x]:I,centerOffset:E-I-j,...N&&{alignmentOffset:j}},reset:N}}}),Tt=(t,n,e)=>{const o=new Map,r={platform:gt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,c=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=O(s,o,l),d=o,m={},h=0;for(let e=0;e<c.length;e++){const{name:i,fn:y}=c[e],{x:p,y:w,data:g,reset:x}=await y({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});u=null!=p?p:u,f=null!=w?w:f,m={...m,[i]:{...m[i],...g}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):x.rects),({x:u,y:f}=O(s,d,l))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})};export{vt as a,Ft as b,Tt as c,bt as d,Ot as e,Rt as f,kt as h,At as o,St as s}
@@ -1 +1 @@
1
- import{d as e}from"./p-BUgza8B9.js";function t(){return{name:"overflowDetection",async fn(t){const n=await e(t,{boundary:"clippingAncestors",elementContext:"reference"});return t.placement.includes("bottom")&&n.bottom>0?{y:t.y-n.bottom}:t.placement.includes("top")&&n.top>0?{y:t.y+n.top}:{}}}}export{t as o}
1
+ import{d as e}from"./p-C_pVuars.js";function t(){return{name:"overflowDetection",async fn(t){const n=await e(t,{boundary:"clippingAncestors",elementContext:"reference"});return t.placement.includes("bottom")&&n.bottom>0?{y:t.y-n.bottom}:t.placement.includes("top")&&n.top>0?{y:t.y+n.top}:{}}}}export{t as o}
@@ -1 +1 @@
1
- import{r as o,h as e,H as t,a as r}from"./p-npw54p0Y.js";import{t as a}from"./p-DE51TUwj.js";const i=class{constructor(e){o(this,e),this.placement="page-desktop"}componentWillLoad(){a(this.root,{variant:this.placement})}render(){return e(t,{key:"4f6079d93cee9ed8f9ac2e99c23c61ce4266621e",class:{[`gux-form-footer-${this.placement}`]:!0}},e("slot",{key:"099c671fbbf9d2465a54e14c5314b219eda9fb74"}))}get root(){return r(this)}};i.style=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}";export{i as gux_form_footer}
1
+ import{r as o,h as e,H as t,a as r}from"./p-npw54p0Y.js";import{t as a}from"./p-CKrCYwQS.js";const i=class{constructor(e){o(this,e),this.placement="page-desktop"}componentWillLoad(){a(this.root,{variant:this.placement})}render(){return e(t,{key:"4f6079d93cee9ed8f9ac2e99c23c61ce4266621e",class:{[`gux-form-footer-${this.placement}`]:!0}},e("slot",{key:"099c671fbbf9d2465a54e14c5314b219eda9fb74"}))}get root(){return r(this)}};i.style=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}";export{i as gux_form_footer}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,a as r}from"./p-npw54p0Y.js";import{t as i}from"./p-CKrCYwQS.js";const n=/[ +]/g,e=new Map,h=new Map;function a(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}const u=class{constructor(s){t(this,s),this.strategy="start",this.dimmed=!1}componentWillLoad(){i(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),r=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),r)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),r=t.remaining.substring(0,s),i=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=r+`<mark>${i}</mark>`,t.remaining=t.remaining.substring(s+i.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(function(t,s){let r=e.get(t);return r||(r=function(t){const s=t.split(n).map(a);if(1===s.length)return new RegExp(s[0],"i");let r="(";return s.forEach(((t,i)=>{r+=t+").*",i!==s.length-1&&(r+="(")})),new RegExp(r+"$","i")}(t),e.set(t,r)),r.test(s)}(this.highlight,this.text)){const r=(t=this.highlight,t.split(n).map(a).map((t=>{let s=h.get(t);return s||(s=new RegExp(t,"i"),h.set(t,s)),s}))).reduce(((t,s)=>{const{0:r,index:i,input:n}=t.remaining.match(s),e=n.substring(0,i);return{highlighted:`${t.highlighted+e}<mark>${r}</mark>`,remaining:n.substring(i+r.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:r.highlighted+r.remaining})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return r(this)}};u.style="span mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{u as gux_text_highlight}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as s,a as o}from"./p-npw54p0Y.js";import{d as n,h as a,s as r,e as h,f as l,i as u,j as d,k as c,l as p,m as g,n as m,o as v,c as b,a as x}from"./p-B_WlCjG2.js";import{b as f}from"./p-CIt2cSVJ.js";import{w}from"./p-kLXvN2m9.js";import{s as j}from"./p-BMRf5pjV.js";import{t as C}from"./p-DE51TUwj.js";import{b as O}from"./p-Bg4q97BS.js";import{O as y}from"./p-CbifHkss.js";import"./p-Cd4R0amv.js";var S={add:"Add {name}",noMatches:"No matches",loading:"Loading..."};const k=class{constructor(e){t(this,e),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.disabled=!1,this.listboxOptions=[],this.hasExactMatch=!1}onMutation(){O((()=>{this.updateOnSlotChange()}))}onBlur(){n(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!a(this.root))return t.preventDefault(),void r(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{r(this.root)}))):g(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),p(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{r(this.root)}))):g(this.root,(t=>this.updateValue(t))))}onMousemove(){n(this.root)}onClick(t){w("gux-option-multi",t,(t=>{v(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){g(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var e,s;(null===(s=null===(e=i.textContent)||void 0===e?void 0:e.toLowerCase())||void 0===s?void 0:s.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return b(this.value)}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{var i;t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!(null===(i=x(t))||void 0===i?void 0:i.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase())))}))}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}j(this.root,"input"),j(this.root,"change")}async componentWillLoad(){C(this.root),this.i18n=await f(this.root,S),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return e("div",{hidden:!0},e("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[e("div",{class:"gux-message-container"},e("gux-radial-loading",{context:"modal"}),e("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[e("div",{class:"gux-message-container"},e("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return e("slot",{name:"create"})}render(){return this.loading?this.renderLoading():e(s,{role:"listbox","aria-multiselectable":"true",tabindex:0},e("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};(function(t,i,e,s){var o,n=arguments.length,a=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(i,e,a):o(i,e))||a);n>3&&a&&Object.defineProperty(i,e,a)})([y({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{k as gux_listbox_multi}
1
+ import{r as t,c as i,h as e,H as s,a as o}from"./p-npw54p0Y.js";import{d as n,h as r,s as a,e as h,f as l,i as u,j as d,k as c,l as p,m as g,n as m,o as v,c as b,a as x}from"./p-B_WlCjG2.js";import{b as f}from"./p-CIt2cSVJ.js";import{w}from"./p-kLXvN2m9.js";import{s as C}from"./p-BMRf5pjV.js";import{t as j}from"./p-CKrCYwQS.js";import{b as O}from"./p-Bg4q97BS.js";import{O as y}from"./p-CbifHkss.js";import"./p-Cd4R0amv.js";var S={add:"Add {name}",noMatches:"No matches",loading:"Loading..."};const k=class{constructor(e){t(this,e),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.disabled=!1,this.listboxOptions=[],this.hasExactMatch=!1}onMutation(){O((()=>{this.updateOnSlotChange()}))}onBlur(){n(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!r(this.root))return t.preventDefault(),void a(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{a(this.root)}))):g(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),p(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{a(this.root)}))):g(this.root,(t=>this.updateValue(t))))}onMousemove(){n(this.root)}onClick(t){w("gux-option-multi",t,(t=>{v(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){g(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var e,s;(null===(s=null===(e=i.textContent)||void 0===e?void 0:e.toLowerCase())||void 0===s?void 0:s.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return b(this.value)}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{var i;t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!(null===(i=x(t))||void 0===i?void 0:i.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase())))}))}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}C(this.root,"input"),C(this.root,"change")}async componentWillLoad(){j(this.root),this.i18n=await f(this.root,S),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return e("div",{hidden:!0},e("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[e("div",{class:"gux-message-container"},e("gux-radial-loading",{context:"modal"}),e("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[e("div",{class:"gux-message-container"},e("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return e("slot",{name:"create"})}render(){return this.loading?this.renderLoading():e(s,{role:"listbox","aria-multiselectable":"true",tabindex:0},e("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};(function(t,i,e,s){var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);n>3&&r&&Object.defineProperty(i,e,r)})([y({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{k as gux_listbox_multi}
@@ -1 +1 @@
1
- import{r as i,h as o,a as r}from"./p-npw54p0Y.js";import{t}from"./p-DE51TUwj.js";import{b as a}from"./p-CIt2cSVJ.js";import"./p-Cd4R0amv.js";var l={optional:"optional"};const e=class{constructor(o){i(this,o),this.variant="required",this.required=!1}async componentWillLoad(){t(this.root,{variant:this.variant}),this.i18n=await a(this.root,l)}render(){return"optional"!==this.variant||this.required?"required"===this.variant&&this.required?o("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null:o("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")")}get root(){return r(this)}};e.style=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}";export{e as gux_form_field_label_indicator}
1
+ import{r as i,h as o,a as r}from"./p-npw54p0Y.js";import{t}from"./p-CKrCYwQS.js";import{b as a}from"./p-CIt2cSVJ.js";import"./p-Cd4R0amv.js";var l={optional:"optional"};const e=class{constructor(o){i(this,o),this.variant="required",this.required=!1}async componentWillLoad(){t(this.root,{variant:this.variant}),this.i18n=await a(this.root,l)}render(){return"optional"!==this.variant||this.required?"required"===this.variant&&this.required?o("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null:o("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")")}get root(){return r(this)}};e.style=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}";export{e as gux_form_field_label_indicator}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a as n}from"./p-npw54p0Y.js";import{t as s}from"./p-DE51TUwj.js";import{g as a}from"./p-Cd4R0amv.js";const o=class{constructor(t){e(this,t),this.size="medium",this.standalone=!1}componentWillLoad(){s(this.root,{variant:this.size+(this.standalone?"-standalone":"")})}checkBreadcrumbParent(){return!!a(".gux-breadcrumb-generation",this.root)}render(){return t(i,{key:"9bf00be3f4e8906b91364d00f28a6bd5d2fa2f7e",size:this.size,standalone:this.standalone,class:{"gux-breadcrumb-link":this.checkBreadcrumbParent()}},t("slot",{key:"519c3642d33eeac030274ba7d3516d6a6cc6edff"}))}get root(){return n(this)}};o.style=":host{padding-block:var(--gse-ui-links-inLine-padding)}:host ::slotted(a){inline-size:fit-content;font-family:var(--gse-ui-links-inLine-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);color:var(--gse-ui-links-default-foregroundColor) !important;border-radius:var(--gse-ui-links-focusOutline-borderRadius) !important}:host ::slotted(a:hover){color:var(--gse-ui-links-hover-foregroundColor) !important}:host ::slotted(a:active){color:var(--gse-ui-links-active-foregroundColor) !important}:host ::slotted(a:visited){color:var(--gse-ui-links-visited-foregroundColor) !important}:host ::slotted(a:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host([size=small]) ::slotted(a){font-family:var(--gse-ui-links-inLine-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight)}:host([standalone]){display:block;padding-block:var(--gse-ui-links-standalone-padding)}:host([standalone]) ::slotted(a){display:flex;gap:var(--gse-ui-links-standalone-gap);align-items:center;inline-size:fit-content;font-family:var(--gse-ui-links-standalone-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-text-fontSize);font-weight:var(--gse-ui-links-standalone-medium-text-fontWeight);line-height:var(--gse-ui-links-standalone-medium-text-lineHeight);text-decoration:none !important}:host([standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-medium-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-medium-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-medium-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-medium-underlinedText-textDecoration) !important}:host([standalone]) ::slotted(a:active){text-decoration:none !important}:host([size=small][standalone]) ::slotted(a){font-family:var(--gse-ui-links-standalone-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-text-fontSize);font-weight:var(--gse-ui-links-standalone-small-text-fontWeight);line-height:var(--gse-ui-links-standalone-small-text-lineHeight)}:host([size=small][standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-small-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-small-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-small-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-small-underlinedText-textDecoration) !important}:host([standalone][class=gux-breadcrumb-link]){padding:0}";export{o as gux_link_beta}
1
+ import{r as e,h as t,H as i,a as n}from"./p-npw54p0Y.js";import{t as s}from"./p-CKrCYwQS.js";import{g as a}from"./p-Cd4R0amv.js";const o=class{constructor(t){e(this,t),this.size="medium",this.standalone=!1}componentWillLoad(){s(this.root,{variant:this.size+(this.standalone?"-standalone":"")})}checkBreadcrumbParent(){return!!a(".gux-breadcrumb-generation",this.root)}render(){return t(i,{key:"9bf00be3f4e8906b91364d00f28a6bd5d2fa2f7e",size:this.size,standalone:this.standalone,class:{"gux-breadcrumb-link":this.checkBreadcrumbParent()}},t("slot",{key:"519c3642d33eeac030274ba7d3516d6a6cc6edff"}))}get root(){return n(this)}};o.style=":host{padding-block:var(--gse-ui-links-inLine-padding)}:host ::slotted(a){inline-size:fit-content;font-family:var(--gse-ui-links-inLine-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);color:var(--gse-ui-links-default-foregroundColor) !important;border-radius:var(--gse-ui-links-focusOutline-borderRadius) !important}:host ::slotted(a:hover){color:var(--gse-ui-links-hover-foregroundColor) !important}:host ::slotted(a:active){color:var(--gse-ui-links-active-foregroundColor) !important}:host ::slotted(a:visited){color:var(--gse-ui-links-visited-foregroundColor) !important}:host ::slotted(a:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host([size=small]) ::slotted(a){font-family:var(--gse-ui-links-inLine-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight)}:host([standalone]){display:block;padding-block:var(--gse-ui-links-standalone-padding)}:host([standalone]) ::slotted(a){display:flex;gap:var(--gse-ui-links-standalone-gap);align-items:center;inline-size:fit-content;font-family:var(--gse-ui-links-standalone-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-text-fontSize);font-weight:var(--gse-ui-links-standalone-medium-text-fontWeight);line-height:var(--gse-ui-links-standalone-medium-text-lineHeight);text-decoration:none !important}:host([standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-medium-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-medium-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-medium-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-medium-underlinedText-textDecoration) !important}:host([standalone]) ::slotted(a:active){text-decoration:none !important}:host([size=small][standalone]) ::slotted(a){font-family:var(--gse-ui-links-standalone-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-text-fontSize);font-weight:var(--gse-ui-links-standalone-small-text-fontWeight);line-height:var(--gse-ui-links-standalone-small-text-lineHeight)}:host([size=small][standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-small-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-small-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-small-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-small-underlinedText-textDecoration) !important}:host([standalone][class=gux-breadcrumb-link]){padding:0}";export{o as gux_link_beta}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,a as e}from"./p-npw54p0Y.js";import{t as r}from"./p-DE51TUwj.js";import{D as a,g as o}from"./p-CT1RzBtI.js";import{d as p,a as h}from"./p-B0p1zRQq.js";import{u as m}from"./p-ZuNZ-MBw.js";import{g as n}from"./p-CIt2cSVJ.js";import"./p-BZb6pJEJ.js";import"./p-Cd4R0amv.js";const d=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){r(this.root),m()?this.hasRegionalDatesCookie=!0:this.formatter=new a(n(this.root))}renderDateTime(){return this.hasRegionalDatesCookie?p(h(this.root),{dateStyle:this.format,timeStyle:this.format,timeZone:o(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDateTime(new Date(this.datetime),this.format,{timeZone:o(this.timeZone)})}render(){return s(i,{key:"225dd061be97e285818fd2cc95dc91f3ab8caad3"},this.renderDateTime())}get root(){return e(this)}};export{d as gux_date_time_beta}
1
+ import{r as t,h as s,H as i,a as e}from"./p-npw54p0Y.js";import{t as r}from"./p-CKrCYwQS.js";import{D as a,g as o}from"./p-CT1RzBtI.js";import{d as p,a as h}from"./p-B0p1zRQq.js";import{u as m}from"./p-ZuNZ-MBw.js";import{g as n}from"./p-CIt2cSVJ.js";import"./p-BZb6pJEJ.js";import"./p-Cd4R0amv.js";const d=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){r(this.root),m()?this.hasRegionalDatesCookie=!0:this.formatter=new a(n(this.root))}renderDateTime(){return this.hasRegionalDatesCookie?p(h(this.root),{dateStyle:this.format,timeStyle:this.format,timeZone:o(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDateTime(new Date(this.datetime),this.format,{timeZone:o(this.timeZone)})}render(){return s(i,{key:"225dd061be97e285818fd2cc95dc91f3ab8caad3"},this.renderDateTime())}get root(){return e(this)}};export{d as gux_date_time_beta}
@@ -1 +1 @@
1
- import{r as i,c as e,h as a,a as l}from"./p-npw54p0Y.js";import{b as r}from"./p-CIt2cSVJ.js";import{t as o}from"./p-DE51TUwj.js";import"./p-Cd4R0amv.js";var t={removeFile:"Remove {filename} file",uploadingFile:"Uploading {filename} file",success:"{filename} file uploaded successfully",error:"{filename} file has an error"};const n=class{constructor(a){i(this,a),this.guxremovefile=e(this,"guxremovefile",7),this.disabled=!1}async componentWillLoad(){this.getI18nValue=await r(this.root,t),o(this.root)}render(){return a("div",{key:"f3728cb6a3f569b8e40e2306f6f352bbf3ba32d3",class:{"gux-file-list-item":!0,[`gux-${this.status}`]:!0,"gux-disabled":this.disabled}},a("div",{key:"ab8b83c2c6e544d5061311b15661d823f2dc48da",class:"gux-info"},a("gux-truncate",{key:"9d43e488a09c57d3b7c6623609b58571d032e79a"},a("span",{key:"3026f444ac1c121e3a6cbdb5a084217de0eb9fab",class:"gux-file-name"},this.name)),this.renderStatusIndicator(),this.renderFileRemoveButton()),this.renderAdditionalInfo())}renderStatusIndicator(){switch(this.status){case"loading":return a("gux-radial-loading",{context:"input","screenreader-text":this.getI18nValue("uploadingFile",{filename:this.name})});case"success":return a("gux-icon-tooltip-beta",{"icon-name":"fa/circle-check-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("success",{filename:this.name})));case"error":return a("gux-icon-tooltip-beta",{"icon-name":"fa/hexagon-exclamation-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("error",{filename:this.name})));default:return null}}renderFileRemoveButton(){return this.disabled?null:a("gux-button-slot",{accent:"ghost","icon-only":!0},a("button",{type:"button",onClick:()=>this.guxremovefile.emit(this.index)},a("gux-icon",{"icon-name":"fa/xmark-large-regular",size:"small",decorative:!0}),a("gux-screen-reader-beta",null,this.getI18nValue("removeFile",{filename:this.name}))))}renderAdditionalInfo(){return"error"===this.status?a("div",{class:"gux-additional-info"},a("div",{class:"gux-additional-info-header"},a("slot",{name:"additional-info-header"})),a("div",{class:"gux-additional-info-content"},a("slot",{name:"additional-info-content"}))):null}get root(){return l(this)}};n.style=':host{display:block}.gux-file-list-item{display:flex;flex-direction:column;align-items:flex-start;background-color:var(--gse-ui-fileUpload-fileCard-foregroundColor);border:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color);border-radius:var(--gse-ui-fileUpload-fileCard-borderRadius);box-shadow:var(--gse-ui-fileUpload-fileCard-boxShadow)}.gux-file-list-item.gux-disabled{opacity:0.5}.gux-file-list-item.gux-error{padding-block-start:0;border:var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-color)}.gux-file-list-item .gux-info{box-sizing:border-box;display:flex;gap:var(--gse-ui-fileUpload-fileCard-card-gap);align-items:center;inline-size:100%;block-size:32px;padding:var(--gse-ui-fileUpload-fileCard-card-padding)}.gux-file-list-item .gux-info .gux-file-name{font-family:var(--gse-ui-fileUpload-fileCard-fileName-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-fileName-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-fileName-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-fileName-text-lineHeight);color:var(--gse-ui-fileUpload-fileCard-fileName-default)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/circle-check-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:ui.$gse-ui-fileUpload-fileCard-statusIcon-success}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/hexagon-exclamation-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:ui.$gse-ui-fileUpload-fileCard-statusIcon-error}.gux-file-list-item .gux-info gux-button-slot{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-info gux-button-slot button{--gse-ui-button-default-paddingIconOnly:4px;inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-additional-info{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-card-errorCard-errorTextSection-gap);inline-size:100%;padding:var(--gse-ui-fileUpload-fileCard-card-errorCard-mainContainer-padding);font-family:var(--gse-ui-fileUpload-fileCard-error-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-error-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-error-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-error-text-lineHeight);border-block-start:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color)}.gux-file-list-item .gux-additional-info .gux-additional-info-header{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorMessage)}.gux-file-list-item .gux-additional-info .gux-additional-info-content{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorHelper)}';export{n as gux_file_list_item}
1
+ import{r as i,c as e,h as a,a as l}from"./p-npw54p0Y.js";import{b as r}from"./p-CIt2cSVJ.js";import{t as o}from"./p-CKrCYwQS.js";import"./p-Cd4R0amv.js";var t={removeFile:"Remove {filename} file",uploadingFile:"Uploading {filename} file",success:"{filename} file uploaded successfully",error:"{filename} file has an error"};const n=class{constructor(a){i(this,a),this.guxremovefile=e(this,"guxremovefile",7),this.disabled=!1}async componentWillLoad(){this.getI18nValue=await r(this.root,t),o(this.root)}render(){return a("div",{key:"f3728cb6a3f569b8e40e2306f6f352bbf3ba32d3",class:{"gux-file-list-item":!0,[`gux-${this.status}`]:!0,"gux-disabled":this.disabled}},a("div",{key:"ab8b83c2c6e544d5061311b15661d823f2dc48da",class:"gux-info"},a("gux-truncate",{key:"9d43e488a09c57d3b7c6623609b58571d032e79a"},a("span",{key:"3026f444ac1c121e3a6cbdb5a084217de0eb9fab",class:"gux-file-name"},this.name)),this.renderStatusIndicator(),this.renderFileRemoveButton()),this.renderAdditionalInfo())}renderStatusIndicator(){switch(this.status){case"loading":return a("gux-radial-loading",{context:"input","screenreader-text":this.getI18nValue("uploadingFile",{filename:this.name})});case"success":return a("gux-icon-tooltip-beta",{"icon-name":"fa/circle-check-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("success",{filename:this.name})));case"error":return a("gux-icon-tooltip-beta",{"icon-name":"fa/hexagon-exclamation-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("error",{filename:this.name})));default:return null}}renderFileRemoveButton(){return this.disabled?null:a("gux-button-slot",{accent:"ghost","icon-only":!0},a("button",{type:"button",onClick:()=>this.guxremovefile.emit(this.index)},a("gux-icon",{"icon-name":"fa/xmark-large-regular",size:"small",decorative:!0}),a("gux-screen-reader-beta",null,this.getI18nValue("removeFile",{filename:this.name}))))}renderAdditionalInfo(){return"error"===this.status?a("div",{class:"gux-additional-info"},a("div",{class:"gux-additional-info-header"},a("slot",{name:"additional-info-header"})),a("div",{class:"gux-additional-info-content"},a("slot",{name:"additional-info-content"}))):null}get root(){return l(this)}};n.style=':host{display:block}.gux-file-list-item{display:flex;flex-direction:column;align-items:flex-start;background-color:var(--gse-ui-fileUpload-fileCard-foregroundColor);border:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color);border-radius:var(--gse-ui-fileUpload-fileCard-borderRadius);box-shadow:var(--gse-ui-fileUpload-fileCard-boxShadow)}.gux-file-list-item.gux-disabled{opacity:0.5}.gux-file-list-item.gux-error{padding-block-start:0;border:var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-color)}.gux-file-list-item .gux-info{box-sizing:border-box;display:flex;gap:var(--gse-ui-fileUpload-fileCard-card-gap);align-items:center;inline-size:100%;block-size:32px;padding:var(--gse-ui-fileUpload-fileCard-card-padding)}.gux-file-list-item .gux-info .gux-file-name{font-family:var(--gse-ui-fileUpload-fileCard-fileName-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-fileName-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-fileName-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-fileName-text-lineHeight);color:var(--gse-ui-fileUpload-fileCard-fileName-default)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/circle-check-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:ui.$gse-ui-fileUpload-fileCard-statusIcon-success}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/hexagon-exclamation-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:ui.$gse-ui-fileUpload-fileCard-statusIcon-error}.gux-file-list-item .gux-info gux-button-slot{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-info gux-button-slot button{--gse-ui-button-default-paddingIconOnly:4px;inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}.gux-file-list-item .gux-additional-info{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-card-errorCard-errorTextSection-gap);inline-size:100%;padding:var(--gse-ui-fileUpload-fileCard-card-errorCard-mainContainer-padding);font-family:var(--gse-ui-fileUpload-fileCard-error-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-error-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-error-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-error-text-lineHeight);border-block-start:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color)}.gux-file-list-item .gux-additional-info .gux-additional-info-header{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorMessage)}.gux-file-list-item .gux-additional-info .gux-additional-info-content{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorHelper)}';export{n as gux_file_list_item}
@@ -1 +1 @@
1
- import{r,h as s,a}from"./p-npw54p0Y.js";import{t as e}from"./p-DE51TUwj.js";const t=class{constructor(s){r(this,s)}componentWillLoad(){e(this.root)}render(){return s("div",{key:"89a3e4a7b94ff9a0b21bf654631736f728dc21b0",class:"gux-selector-cards"},s("slot",{key:"c74c7d62000770e26a6534bcc9854a7c478775d0"}))}get root(){return a(this)}};t.style=".gux-selector-cards{display:flex;flex-wrap:wrap;gap:var(--gse-ui-selectorCard-simple-gap)}";export{t as gux_selector_cards_beta}
1
+ import{r,h as s,a}from"./p-npw54p0Y.js";import{t as e}from"./p-CKrCYwQS.js";const t=class{constructor(s){r(this,s)}componentWillLoad(){e(this.root)}render(){return s("div",{key:"89a3e4a7b94ff9a0b21bf654631736f728dc21b0",class:"gux-selector-cards"},s("slot",{key:"c74c7d62000770e26a6534bcc9854a7c478775d0"}))}get root(){return a(this)}};t.style=".gux-selector-cards{display:flex;flex-wrap:wrap;gap:var(--gse-ui-selectorCard-simple-gap)}";export{t as gux_selector_cards_beta}
@@ -1 +1 @@
1
- import{r as i,h as t,a}from"./p-npw54p0Y.js";import{b as e}from"./p-CIt2cSVJ.js";import{t as n}from"./p-DE51TUwj.js";import"./p-Cd4R0amv.js";var o={navigationName:"Skip links navigation"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"0879e8494f729dc4a40c71d2cd455592bc833869",class:"gux-container"},t("nav",{key:"73cf4ba6e9781a3d2e56f67d7da8bf00afabe450","aria-label":this.i18n("navigationName")},t("ul",{key:"acdb0f31bd6f8a321ad2929077191992f325deda",role:"list"},t("slot",{key:"e6f551ce84abde67c2e99686ec8c1501779f2009"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
1
+ import{r as i,h as t,a}from"./p-npw54p0Y.js";import{b as e}from"./p-CIt2cSVJ.js";import{t as n}from"./p-CKrCYwQS.js";import"./p-Cd4R0amv.js";var o={navigationName:"Skip links navigation"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"0879e8494f729dc4a40c71d2cd455592bc833869",class:"gux-container"},t("nav",{key:"73cf4ba6e9781a3d2e56f67d7da8bf00afabe450","aria-label":this.i18n("navigationName")},t("ul",{key:"acdb0f31bd6f8a321ad2929077191992f325deda",role:"list"},t("slot",{key:"e6f551ce84abde67c2e99686ec8c1501779f2009"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,f as i,h as o,a as s,H as n}from"./p-npw54p0Y.js";import{O as r}from"./p-d6HR-UfA.js";import{b as a}from"./p-CIt2cSVJ.js";import{s as u}from"./p-BMRf5pjV.js";import{o as l,c as d}from"./p-Cb3FOYGS.js";import{b as c}from"./p-Bg4q97BS.js";import{t as h}from"./p-CKrCYwQS.js";import{O as g}from"./p-CbifHkss.js";import{s as f,b as p,g as x,a as b,d as v,h as m,e as w,f as C,i as y,j as k,k as z,l as F,m as O,n as S,o as j,c as T,p as E}from"./p-B_WlCjG2.js";import{h as L}from"./p-qzV3vtOw.js";import{w as R}from"./p-kLXvN2m9.js";import{g as H}from"./p-Cd4R0amv.js";import{r as W}from"./p-D9jKBqIb.js";var B={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},I=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const D=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.disabled=!1,this.required=!1,this.loading=!1,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){t||(this.filter="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)));case"Enter":case" ":return void(this.expanded||this.isFilterable()||f(this.listboxElement))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&c((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){h(this.root),this.i18n=await a(this.root,B),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,u(this.root,"input"),u(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){var e;const i=t.length;if(i>0&&!this.loading){const o=x(this.listboxElement,t);if(o&&"custom"!==this.filterType){const t=null===(e=b(o))||void 0===e?void 0:e.textContent.trim();return null==t?void 0:t.substring(i)}}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":case"gux-option-status-beta":return this.renderIconOption(t);default:return e}}getOptionDefaultText(t){let e="";return t.childNodes.forEach((t=>{const i=()=>e+=t.textContent;if(t.nodeType===Node.TEXT_NODE)i();else if(t.nodeType===Node.ELEMENT_NODE){const e=t.hasAttribute("slot"),o=t.getAttribute("slot");e&&"subtext"===o||i()}})),e.trim()}renderOption(t){return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},this.getOptionDefaultText(t))}renderIconOption(t){let e=null,i=t.textContent;return null!==t.iconColor&&(e={color:t.iconColor}),L(t,"subtext")&&(i=this.getOptionDefaultText(t)),o("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),o("gux-truncate",{ref:t=>this.truncateElement=t},i))}renderFilterInputField(){if(this.expanded&&this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{onClick:this.fieldButtonClick.bind(this),class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),disabled:this.disabled})))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-expanded":this.expanded&&this.isFilterable(),"gux-target-container-collapsed":!(this.expanded&&this.isFilterable()),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"1b08a9ebc1c86317ce636fc5ddfc6e0d7e3f5ffb",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};I([r({triggerEvents:"mousedown"})],D.prototype,"onClickOutside",null),I([g({childList:!0,subtree:!0})],D.prototype,"onMutation",null),D.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-field.gux-input-field{block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;block-size:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;inline-size:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-expanded{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dropdown-gap)}";const A=["gux-option","gux-option-icon","gux-option-status-beta"].join(",");var K={noMatches:"No matches",loading:"Loading..."};const V=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.filterType="none",this.disabled=!1,this.selectedValues=[],this.listboxOptions=[]}onBlur(){v(this.root)}onKeydown(t){if(!m(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void O(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(z(this.root)?(t.stopPropagation(),F(this.root)):C(this.root));case"ArrowUp":return t.preventDefault(),void(y(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"Home":return t.preventDefault(),void C(this.root);case"End":return t.preventDefault(),void w(this.root);case" ":return void t.preventDefault()}1!==t.key.length||S(this.root,t.key)}onKeyup(t){" "!==t.key||O(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){R(A,t,(t=>{j(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){O(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.selectedValues=T(this.value),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),u(this.root,"input"),u(this.root,"change")}async componentWillLoad(){h(this.root),this.i18n=await a(this.root,K),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!E(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(n,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return s(this)}};V.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";const M=class{constructor(e){t(this,e),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||W("gux-option"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=L(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const t=H("gux-listbox",this.root);return null==t?void 0:t.disabled}render(){return o(n,{key:"c2672c6cb5bf516a3495eea8357d3bc4c4c900da",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},o("div",{key:"b85bf4d463039f58f49ec2d6d18d2d1415403f32",class:"gux-option-wrapper"},o("gux-truncate",{key:"18608184d2d7a77a8fd0018745f9a1b6a8a5fa80","tooltip-placement":"right",ref:t=>this.truncateElement=t},o("slot",{key:"1b42a67570ad5b853612cbfce4481be09442aebd"})),o("slot",{key:"279602519fa45e83691133da63ef404ff014c43e",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return s(this)}static get watchers(){return{active:["handleActive"]}}};M.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}";export{D as gux_dropdown,V as gux_listbox,M as gux_option}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,a as e}from"./p-npw54p0Y.js";import{s as o}from"./p-BMRf5pjV.js";import{t as a}from"./p-DE51TUwj.js";const h=class{constructor(s){t(this,s),this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,o(this.root,"input"),o(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){a(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"88b86e36c2c9083bf79172dea82fbdd6b5040d4b",role:"group",class:`gux-${this.layout}`},s("slot",{key:"6ac3e68b902ea94c0647b2161b11bbe423b54b12",onSlotchange:this.slotChanged.bind(this)}))}get root(){return e(this)}};h.style=":host{display:flex;align-items:flex-end}";export{h as gux_switch_legacy}
1
+ import{r as t,h as s,H as i,a as e}from"./p-npw54p0Y.js";import{s as o}from"./p-BMRf5pjV.js";import{t as r}from"./p-CKrCYwQS.js";const a=class{constructor(s){t(this,s),this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,o(this.root,"input"),o(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){r(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"88b86e36c2c9083bf79172dea82fbdd6b5040d4b",role:"group",class:`gux-${this.layout}`},s("slot",{key:"6ac3e68b902ea94c0647b2161b11bbe423b54b12",onSlotchange:this.slotChanged.bind(this)}))}get root(){return e(this)}};a.style=":host{display:flex;align-items:flex-end}";export{a as gux_switch_legacy}
@@ -1 +1 @@
1
- import{r as e,c as t,h as g,H as l,a as i}from"./p-npw54p0Y.js";import{t as o}from"./p-DE51TUwj.js";import{r as a}from"./p-D9jKBqIb.js";import{b as r}from"./p-CIt2cSVJ.js";import"./p-Cd4R0amv.js";var s={defaultAriaLabel:"Toggle Switch",toggleIsLoading:"Toggle is loading",toggleIsFinishedLoading:"Toggle is finished loading"};const n=class{constructor(g){e(this,g),this.check=t(this,"check",7),this.labelId=a("gux-toggle-label"),this.errorId=a("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.labelPosition="right",this.displayInline=!1}handleLoading(e){this.announceElement.guxAnnounce(this.i18n(e?"toggleIsLoading":"toggleIsFinishedLoading"))}onKeydown(e){" "===e.key&&(e.preventDefault(),this.toggle())}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.label||this.checkedLabel||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await r(this.root,s),o(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){return this.label?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.label),this.renderLoading())))):this.uncheckedLabel&&this.checkedLabel?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel)))):void 0}renderError(){if(this.errorMessage)return g("div",{id:this.errorId,class:"gux-toggle-error"},g("div",{class:"gux-toggle-error-container"},g("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0,size:"small"}),g("div",{class:"gux-toggle-error-message"},this.errorMessage)))}render(){return g(l,{key:"b88824afb7ff7ba8de9cb5604c369cbee3021850",class:{"gux-display-inline":this.displayInline}},g("div",{key:"7991eaf3ea3729f498301284d4f634d7ed830b63",class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading}},g("div",{key:"5ff56480ae831b37f30a815d21d8e07dbc484d5d",class:"gux-toggle-input",onClick:this.toggle.bind(this)},g("gux-toggle-slider",{key:"c9c514fba798e622a0bd94b8e970e97051083441",checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",onKeyDown:this.onKeydown.bind(this),errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()),g("gux-announce-beta",{key:"9537a2b1426ead4dbef7637f836e83f3f922fac6",ref:e=>this.announceElement=e}))}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{loading:["handleLoading"]}}};n.style=':host{display:block;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:var(--gse-ui-toggle-disabled-opacity)}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:inline-end}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:center;inline-size:fit-content;cursor:pointer}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:"inner-div";place-items:center start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div;font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-label-labelColor);word-wrap:break-word}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container .gux-toggle-error-message{flex:0 1 auto;align-self:auto;order:0}';export{n as gux_toggle}
1
+ import{r as e,c as t,h as g,H as l,a as i}from"./p-npw54p0Y.js";import{t as o}from"./p-CKrCYwQS.js";import{r as a}from"./p-D9jKBqIb.js";import{b as r}from"./p-CIt2cSVJ.js";import"./p-Cd4R0amv.js";var s={defaultAriaLabel:"Toggle Switch",toggleIsLoading:"Toggle is loading",toggleIsFinishedLoading:"Toggle is finished loading"};const n=class{constructor(g){e(this,g),this.check=t(this,"check",7),this.labelId=a("gux-toggle-label"),this.errorId=a("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.labelPosition="right",this.displayInline=!1}handleLoading(e){this.announceElement.guxAnnounce(this.i18n(e?"toggleIsLoading":"toggleIsFinishedLoading"))}onKeydown(e){" "===e.key&&(e.preventDefault(),this.toggle())}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.label||this.checkedLabel||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await r(this.root,s),o(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){return this.label?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.label),this.renderLoading())))):this.uncheckedLabel&&this.checkedLabel?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel)))):void 0}renderError(){if(this.errorMessage)return g("div",{id:this.errorId,class:"gux-toggle-error"},g("div",{class:"gux-toggle-error-container"},g("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0,size:"small"}),g("div",{class:"gux-toggle-error-message"},this.errorMessage)))}render(){return g(l,{key:"b88824afb7ff7ba8de9cb5604c369cbee3021850",class:{"gux-display-inline":this.displayInline}},g("div",{key:"7991eaf3ea3729f498301284d4f634d7ed830b63",class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading}},g("div",{key:"5ff56480ae831b37f30a815d21d8e07dbc484d5d",class:"gux-toggle-input",onClick:this.toggle.bind(this)},g("gux-toggle-slider",{key:"c9c514fba798e622a0bd94b8e970e97051083441",checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",onKeyDown:this.onKeydown.bind(this),errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()),g("gux-announce-beta",{key:"9537a2b1426ead4dbef7637f836e83f3f922fac6",ref:e=>this.announceElement=e}))}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{loading:["handleLoading"]}}};n.style=':host{display:block;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:var(--gse-ui-toggle-disabled-opacity)}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:inline-end}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:center;inline-size:fit-content;cursor:pointer}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:"inner-div";place-items:center start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div;font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-label-labelColor);word-wrap:break-word}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container .gux-toggle-error-message{flex:0 1 auto;align-self:auto;order:0}';export{n as gux_toggle}