genesys-spark-components 4.184.2 → 4.185.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (603) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  2. package/dist/cjs/{get-valid-timezone-BgE4aIvc.js → get-valid-timezone-DdXRWdiZ.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +4 -4
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  21. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  22. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-calendar-beta.cjs.entry.js +8 -4
  25. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  26. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  32. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  35. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  38. package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
  39. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  41. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  42. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  43. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +8 -8
  44. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-dropdown_3.cjs.entry.js +7 -7
  46. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  47. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  48. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  49. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  52. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  53. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  54. package/dist/cjs/{gux-form-field-container-BlfOpHgA.js → gux-form-field-container-Cp_fa5T4.js} +1 -1
  55. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
  56. package/dist/cjs/{gux-form-field-error-DHbmFHU5.js → gux-form-field-error-CJasbDSU.js} +1 -1
  57. package/dist/cjs/{gux-form-field-fieldset-container-BxYQhUfj.js → gux-form-field-fieldset-container-C_7oviH1.js} +1 -1
  58. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
  59. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  60. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  61. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  62. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
  63. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  64. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
  65. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  66. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  67. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  68. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  69. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  70. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  71. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  72. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
  73. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-illustration-beta.cjs.entry.js +3 -3
  79. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  80. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
  81. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-listbox-multi.cjs.entry.js +5 -5
  87. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-logo-beta.cjs.entry.js +3 -3
  89. package/dist/cjs/gux-logomark-beta.cjs.entry.js +3 -3
  90. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  95. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  98. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-option-multi.cjs.entry.js +3 -3
  102. package/dist/cjs/gux-option-status-beta.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  111. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  112. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-rating.cjs.entry.js +4 -4
  119. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
  123. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
  124. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
  125. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
  127. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +33 -19
  128. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  132. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  133. package/dist/cjs/gux-select-all.cjs.entry.js +3 -3
  134. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  141. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  142. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  143. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  146. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  147. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  148. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  149. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  151. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  152. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  153. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  154. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  155. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  157. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  158. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
  160. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  161. package/dist/cjs/gux-table.cjs.entry.js +6 -6
  162. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  163. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  164. package/dist/cjs/gux-tag.cjs.entry.js +4 -4
  165. package/dist/cjs/gux-text-highlight.cjs.entry.js +17 -6
  166. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  167. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  168. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  169. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  170. package/dist/cjs/gux-toast.cjs.entry.js +2 -2
  171. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  172. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  173. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +5 -6
  174. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  175. package/dist/cjs/gux-tooltip-title.cjs.entry.js +11 -7
  176. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  177. package/dist/cjs/{index-Vzha_UYA.js → index-Cn7TZ1ZE.js} +5 -5
  178. package/dist/cjs/{index-B_c_3UUK.js → index-CssUuaXl.js} +1 -1
  179. package/dist/cjs/loader.cjs.js +2 -2
  180. package/dist/cjs/{on-click-outside-4xyUl9_5.js → on-click-outside-Dj9hzKoL.js} +1 -1
  181. package/dist/cjs/{on-mutation-_rJ4v6zD.js → on-mutation-DjSoQmpv.js} +1 -1
  182. package/dist/cjs/{on-resize-DCaM-9aE.js → on-resize-CILpjTf-.js} +1 -1
  183. package/dist/cjs/{usage--78Yz9Ds.js → usage-BLuTFhTH.js} +1 -1
  184. package/dist/collection/components/beta/gux-blank-state-beta/gux-blank-state.css +1 -1
  185. package/dist/collection/components/beta/gux-blank-state-beta/gux-illustration/gux-illustration.css +9 -7
  186. package/dist/collection/components/beta/gux-blank-state-beta/gux-illustration/illustrations/background-shapes/narrow.svg +1 -1
  187. package/dist/collection/components/beta/gux-blank-state-beta/gux-illustration/illustrations/background-shapes/wide.svg +1 -1
  188. package/dist/collection/components/beta/gux-calendar-beta/services/calendar.service.js +6 -2
  189. package/dist/collection/components/beta/gux-option-status/gux-option-status.css +1 -0
  190. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +31 -17
  191. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +3 -4
  192. package/dist/collection/components/stable/gux-calendar/gux-calendar.css +1 -1
  193. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +4 -1
  194. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +2 -2
  195. package/dist/collection/components/stable/gux-listbox/gux-listbox.css +2 -0
  196. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +1 -0
  197. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +1 -0
  198. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +2 -1
  199. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +1 -0
  200. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.css +1 -0
  201. package/dist/collection/components/stable/gux-table/gux-table.css +1 -1
  202. package/dist/collection/components/stable/gux-table/gux-table.js +2 -2
  203. package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.js +6 -4
  204. package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-highlight.common.js +50 -0
  205. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +9 -5
  206. package/dist/collection/utils/dom/escape-html.js +9 -0
  207. package/dist/esm/genesys-webcomponents.js +3 -3
  208. package/dist/esm/{get-valid-timezone-ulq4-9LN.js → get-valid-timezone-Dw-XYvOn.js} +1 -1
  209. package/dist/esm/gux-accordion-section.entry.js +1 -1
  210. package/dist/esm/gux-accordion.entry.js +2 -2
  211. package/dist/esm/gux-action-button.entry.js +4 -4
  212. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  213. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  214. package/dist/esm/gux-all-row-select.entry.js +2 -2
  215. package/dist/esm/gux-announce-beta.entry.js +2 -2
  216. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  217. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  218. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  219. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  220. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  221. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  222. package/dist/esm/gux-badge.entry.js +4 -4
  223. package/dist/esm/gux-blank-state-beta.entry.js +4 -4
  224. package/dist/esm/gux-blank-state.entry.js +3 -3
  225. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  226. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  227. package/dist/esm/gux-button-multi.entry.js +3 -3
  228. package/dist/esm/gux-button-slot.entry.js +2 -2
  229. package/dist/esm/gux-button_2.entry.js +3 -3
  230. package/dist/esm/gux-calendar-beta.entry.js +8 -4
  231. package/dist/esm/gux-calendar.entry.js +4 -4
  232. package/dist/esm/gux-card.entry.js +2 -2
  233. package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
  234. package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
  235. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  236. package/dist/esm/gux-column-manager.entry.js +3 -3
  237. package/dist/esm/gux-content-search.entry.js +3 -3
  238. package/dist/esm/gux-context-menu.entry.js +4 -4
  239. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  240. package/dist/esm/gux-create-option.entry.js +2 -2
  241. package/dist/esm/gux-cta-group.entry.js +1 -1
  242. package/dist/esm/gux-date-beta.entry.js +4 -4
  243. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  244. package/dist/esm/gux-datepicker.entry.js +4 -4
  245. package/dist/esm/gux-day-beta.entry.js +2 -2
  246. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  247. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  248. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  249. package/dist/esm/gux-dropdown-multi.entry.js +8 -8
  250. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  251. package/dist/esm/gux-dropdown_3.entry.js +7 -7
  252. package/dist/esm/gux-file-list-item.entry.js +3 -3
  253. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  254. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  255. package/dist/esm/gux-form-beta.entry.js +1 -1
  256. package/dist/esm/gux-form-description.entry.js +1 -1
  257. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  258. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  259. package/dist/esm/gux-form-field-color.entry.js +5 -5
  260. package/dist/esm/{gux-form-field-container-BUk7sAbQ.js → gux-form-field-container-CHfeV8KT.js} +1 -1
  261. package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
  262. package/dist/esm/{gux-form-field-error-CA5MLSg_.js → gux-form-field-error-BM6mkQat.js} +1 -1
  263. package/dist/esm/{gux-form-field-fieldset-container-BhyfCn5D.js → gux-form-field-fieldset-container-DTBkJ15i.js} +1 -1
  264. package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
  265. package/dist/esm/gux-form-field-file.entry.js +5 -5
  266. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  267. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  268. package/dist/esm/gux-form-field-number_2.entry.js +7 -7
  269. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  270. package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
  271. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  272. package/dist/esm/gux-form-field-range.entry.js +6 -6
  273. package/dist/esm/gux-form-field-search.entry.js +5 -5
  274. package/dist/esm/gux-form-field-select.entry.js +5 -5
  275. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  276. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  277. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  278. package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
  279. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  280. package/dist/esm/gux-form-footer.entry.js +2 -2
  281. package/dist/esm/gux-form-heading.entry.js +1 -1
  282. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  283. package/dist/esm/gux-icon.entry.js +2 -2
  284. package/dist/esm/gux-illustration-beta.entry.js +3 -3
  285. package/dist/esm/gux-inline-alert.entry.js +3 -3
  286. package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
  287. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  288. package/dist/esm/gux-link-beta.entry.js +2 -2
  289. package/dist/esm/gux-list-divider.entry.js +1 -1
  290. package/dist/esm/gux-list-item.entry.js +1 -1
  291. package/dist/esm/gux-list.entry.js +2 -2
  292. package/dist/esm/gux-listbox-multi.entry.js +5 -5
  293. package/dist/esm/gux-loading-message.entry.js +2 -2
  294. package/dist/esm/gux-logo-beta.entry.js +3 -3
  295. package/dist/esm/gux-logomark-beta.entry.js +3 -3
  296. package/dist/esm/gux-menu-option.entry.js +1 -1
  297. package/dist/esm/gux-menu.entry.js +1 -1
  298. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  299. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  300. package/dist/esm/gux-modal.entry.js +2 -2
  301. package/dist/esm/gux-month-calendar.entry.js +2 -2
  302. package/dist/esm/gux-month-list_2.entry.js +1 -1
  303. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  304. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  305. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  306. package/dist/esm/gux-option-icon.entry.js +2 -2
  307. package/dist/esm/gux-option-multi.entry.js +3 -3
  308. package/dist/esm/gux-option-status-beta.entry.js +2 -2
  309. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  310. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  311. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  312. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  313. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  314. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  315. package/dist/esm/gux-pagination.entry.js +2 -2
  316. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  317. package/dist/esm/gux-popover-beta.entry.js +3 -3
  318. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  319. package/dist/esm/gux-popover-list.entry.js +3 -3
  320. package/dist/esm/gux-popup.entry.js +1 -1
  321. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  322. package/dist/esm/gux-radial-loading.entry.js +3 -3
  323. package/dist/esm/gux-radial-progress.entry.js +2 -2
  324. package/dist/esm/gux-rating.entry.js +4 -4
  325. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  326. package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
  327. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  328. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  329. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  330. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  331. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  332. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  333. package/dist/esm/gux-rich-text-editor-list.entry.js +34 -20
  334. package/dist/esm/gux-row-select.entry.js +2 -2
  335. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  336. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  337. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  338. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  339. package/dist/esm/gux-select-all.entry.js +3 -3
  340. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  341. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  342. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  343. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  344. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  345. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  346. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  347. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  348. package/dist/esm/gux-sort-control.entry.js +3 -3
  349. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  350. package/dist/esm/gux-step-title.entry.js +2 -2
  351. package/dist/esm/gux-step.entry.js +2 -2
  352. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  353. package/dist/esm/gux-submenu.entry.js +1 -1
  354. package/dist/esm/gux-switch-item.entry.js +1 -1
  355. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  356. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  357. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  358. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  359. package/dist/esm/gux-tab-list.entry.js +3 -3
  360. package/dist/esm/gux-tab-panel.entry.js +1 -1
  361. package/dist/esm/gux-tab.entry.js +1 -1
  362. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  363. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  364. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  365. package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
  366. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  367. package/dist/esm/gux-table.entry.js +6 -6
  368. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  369. package/dist/esm/gux-tabs.entry.js +2 -2
  370. package/dist/esm/gux-tag.entry.js +4 -4
  371. package/dist/esm/gux-text-highlight.entry.js +17 -6
  372. package/dist/esm/gux-time-beta.entry.js +4 -4
  373. package/dist/esm/gux-time-picker.entry.js +4 -4
  374. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  375. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  376. package/dist/esm/gux-toast.entry.js +2 -2
  377. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  378. package/dist/esm/gux-toggle.entry.js +3 -3
  379. package/dist/esm/gux-tooltip-base-beta_2.entry.js +5 -6
  380. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  381. package/dist/esm/gux-tooltip-title.entry.js +11 -7
  382. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  383. package/dist/esm/{index-COgvjwDR.js → index-BOFduQr_.js} +5 -5
  384. package/dist/esm/{index-CP7qVmV4.js → index-D9tXajLc.js} +1 -1
  385. package/dist/esm/loader.js +3 -3
  386. package/dist/esm/{on-click-outside-C_foyGDB.js → on-click-outside-BnmQnyf5.js} +1 -1
  387. package/dist/esm/{on-mutation-DdjBYxGt.js → on-mutation-Bme_kkbU.js} +1 -1
  388. package/dist/esm/{on-resize-B4HT8D-i.js → on-resize-D5lBueiL.js} +1 -1
  389. package/dist/esm/{usage-DKcDCy3c.js → usage-CGCaUZQX.js} +1 -1
  390. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  391. package/dist/genesys-webcomponents/genesys-webcomponents.css +5 -5
  392. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  393. package/dist/genesys-webcomponents/illustrations/background-shapes/narrow.svg +1 -1
  394. package/dist/genesys-webcomponents/illustrations/background-shapes/wide.svg +1 -1
  395. package/dist/genesys-webcomponents/{p-ae7af09c.entry.js → p-0150d2bd.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-a19eee5b.entry.js → p-02a435e7.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/p-059f469b.entry.js +1 -0
  398. package/dist/genesys-webcomponents/p-05d735eb.entry.js +1 -0
  399. package/dist/genesys-webcomponents/{p-c5040cc1.entry.js → p-06b8cea7.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-99387fe4.entry.js → p-07295d61.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-706e3d92.entry.js → p-07a2ce82.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-68b66cb9.entry.js → p-0908bbb3.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/p-0b4d54cf.entry.js +1 -0
  404. package/dist/genesys-webcomponents/{p-03b9a344.entry.js → p-0d6364a7.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-2ec4b54b.entry.js → p-0f5f9f0c.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-38685ad3.entry.js → p-10c7d73d.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-f96e8f6c.entry.js → p-12ab725a.entry.js} +1 -1
  408. package/dist/genesys-webcomponents/p-1733b548.entry.js +1 -0
  409. package/dist/genesys-webcomponents/{p-994669c1.entry.js → p-17f42d2b.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-71fe25d7.entry.js → p-1885f9d5.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-c6ca9557.entry.js → p-19dc41a5.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-9bcf683d.entry.js → p-1af43ffa.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-479d35b6.entry.js → p-1d0ac011.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/p-1ecacce6.entry.js +1 -0
  415. package/dist/genesys-webcomponents/p-1eea414f.entry.js +1 -0
  416. package/dist/genesys-webcomponents/{p-c5999142.entry.js → p-205705c5.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-8e2a8059.entry.js → p-23ddd781.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-339c4c77.entry.js → p-24994b38.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/p-252942e9.entry.js +1 -0
  420. package/dist/genesys-webcomponents/{p-14ce6267.entry.js → p-258b516d.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-60488049.entry.js → p-291255d7.entry.js} +2 -2
  422. package/dist/genesys-webcomponents/p-2acc0b71.entry.js +1 -0
  423. package/dist/genesys-webcomponents/{p-c47686ee.entry.js → p-2b695277.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-cd9d1f76.entry.js → p-2cd64835.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-ff948f1f.entry.js → p-2e4bb82a.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-14d6f4f4.entry.js → p-2ec5793d.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-2eb0ba75.entry.js → p-30635fb6.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-032909a8.entry.js → p-3289c846.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-d10a92e3.entry.js → p-33a59bf8.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-ceffdb9c.entry.js → p-3517985c.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-394c5f34.entry.js → p-38b86133.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-86f35648.entry.js → p-395dd2ae.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-890d914d.entry.js → p-3a08a189.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/p-3d6bd40d.entry.js +1 -0
  435. package/dist/genesys-webcomponents/{p-96f53e15.entry.js → p-404ab849.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-ab4502cb.entry.js → p-40b82649.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-D2nzPgXC.js → p-45DSrwlG.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-6d0fa144.entry.js → p-46838c15.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-381e3786.entry.js → p-48a250f1.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/p-495dc99c.entry.js +1 -0
  441. package/dist/genesys-webcomponents/{p-199469d5.entry.js → p-4aa5e4df.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-afde7315.entry.js → p-4b5d3454.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-3809a2bb.entry.js → p-4c4a3e66.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-51eb8acf.entry.js → p-4c5aed94.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-6b8e509e.entry.js → p-4d0a4d58.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-f3825474.entry.js → p-5038233b.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-0052f273.entry.js → p-55cdf977.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-bdc8956a.entry.js → p-5657d96d.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-d9f68d35.entry.js → p-56b62f13.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/p-57a9f1b7.entry.js +1 -0
  451. package/dist/genesys-webcomponents/p-58e92b3b.entry.js +1 -0
  452. package/dist/genesys-webcomponents/{p-bbf42725.entry.js → p-59886476.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-bbf191de.entry.js → p-5a9c4ae9.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-3f48346e.entry.js → p-5bcf23d3.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-6c3e5916.entry.js → p-5d0f636e.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-465b5345.entry.js → p-5ed2e4a6.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-c5bce121.entry.js → p-5ed4a169.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-45b4241b.entry.js → p-60feeaf4.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-367bb1c5.entry.js → p-612e01bf.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-cc7cf520.entry.js → p-635c2a37.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-5b85d815.entry.js → p-63a79dd2.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/p-644cd6aa.entry.js +1 -0
  463. package/dist/genesys-webcomponents/{p-43efd5ea.entry.js → p-64e4e05f.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-5d57e538.entry.js → p-6624e0e1.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-5372fce7.entry.js → p-679b5f72.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-a6b05d3d.entry.js → p-69c26fac.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-e180b4d1.entry.js → p-69d850ee.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-fef4b7d5.entry.js → p-6bd3a124.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-5fed056c.entry.js → p-6da9dbcb.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-022d0f31.entry.js → p-6e3a0b6b.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-249087e0.entry.js → p-6ece002b.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-cc5699b5.entry.js → p-6ed07ac2.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-d69fb198.entry.js → p-71ca9caa.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-31213415.entry.js → p-72e0a12b.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-e1a3415e.entry.js → p-74bc7713.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-6080eb8c.entry.js → p-7576aa2a.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-fc4984bc.entry.js → p-7b397d9d.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-bd8c16d2.entry.js → p-7de529f3.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-f1cd7175.entry.js → p-7ef416d6.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-ad600e43.entry.js → p-824a9441.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/p-8258f8e4.entry.js +1 -0
  482. package/dist/genesys-webcomponents/p-84887cf0.entry.js +1 -0
  483. package/dist/genesys-webcomponents/{p-20895742.entry.js → p-84a03bd6.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/p-84d71c92.entry.js +1 -0
  485. package/dist/genesys-webcomponents/{p-2bf5d790.entry.js → p-860e92bc.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-9a05b078.entry.js → p-8ce8e53c.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-56f5e6eb.entry.js → p-8fff05ed.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-59a5aa50.entry.js → p-90034e20.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-f48d383f.entry.js → p-91733fc3.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-25dcaff0.entry.js → p-94bc0cb2.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-65e12cd7.entry.js → p-9680408b.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-74a6c649.entry.js → p-97b88bd0.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-cfb67666.entry.js → p-99e274d7.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-2bfbad45.entry.js → p-9abab633.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-57230fb1.entry.js → p-9bdf8033.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-ad1e2afc.entry.js → p-9c103509.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-81fb695b.entry.js → p-9c1f6059.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-9d65ebc5.entry.js → p-9c878e88.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-296c2530.entry.js → p-9cbb834a.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-d2425e30.entry.js → p-9cf194a5.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-vOC0-qDq.js → p-B5Zw7XAl.js} +1 -1
  502. package/dist/genesys-webcomponents/p-BOFduQr_.js +2 -0
  503. package/dist/genesys-webcomponents/p-BmdndI-P.js +1 -0
  504. package/dist/genesys-webcomponents/{p-DGRFHar4.js → p-By6ZteG_.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-_icO0TVA.js → p-C3_7QavM.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-DKcDCy3c.js → p-CGCaUZQX.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-DKPAGIJA.js → p-CNQVwkBO.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-Dry1Kkrx.js → p-DVi-rLEw.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-DiDRSPEJ.js → p-DfSSbAcG.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-44b36813.entry.js → p-a1f0faff.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-4dee4e9a.entry.js → p-a2c9fe44.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-17d5bc4c.entry.js → p-a4b5b280.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-6fff7fb3.entry.js → p-a7050420.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-acda6927.entry.js → p-a9f3a7b0.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-b8f496ca.entry.js → p-aaf4007d.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-8edbfb9a.entry.js → p-ab49d10d.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-86233785.entry.js → p-abe0d3a5.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-6659389c.entry.js → p-ad013a41.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-88234cd5.entry.js → p-b12fd69d.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-e617f93e.entry.js → p-b50e6eb1.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-fc18e96e.entry.js → p-b5b4dde8.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-efab9c71.entry.js → p-b7fca381.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-bf802585.entry.js → p-b8b185b1.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-2a660878.entry.js → p-ba54a3da.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-a0fc3fe8.entry.js → p-c0bb1235.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-f8a9ddb9.entry.js → p-c19f2f30.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-8779460d.entry.js → p-c1bb7d6c.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-3c10e9e2.entry.js → p-c530a5d6.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-4e082804.entry.js → p-c6052837.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-67954907.entry.js → p-c8263bbf.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-ecf950c9.entry.js → p-ca0e6c5b.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-81014312.entry.js → p-cc001d1d.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-a533a3c7.entry.js → p-cc772233.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/p-ce44b756.entry.js +1 -0
  535. package/dist/genesys-webcomponents/{p-66a961e8.entry.js → p-ce6a058c.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-0d0d515e.entry.js → p-cfc4226c.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/p-cff6e2d8.entry.js +1 -0
  538. package/dist/genesys-webcomponents/{p-52bcb913.entry.js → p-d06c7d47.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-bccdf7bc.entry.js → p-d0cc2483.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-0b4e01e7.entry.js → p-d4063abe.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-47a3c6dd.entry.js → p-d4497065.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-d4a030c9.entry.js → p-d62a9d3b.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-bb7c2f59.entry.js → p-d6ada675.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-fb0ab87a.entry.js → p-d6f081da.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-695e27af.entry.js → p-d72a2783.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-5d004986.entry.js → p-d98eac0d.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/p-ddd3eee1.entry.js +1 -0
  548. package/dist/genesys-webcomponents/{p-baa186ba.entry.js → p-df8c7e45.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-0bb7a36f.entry.js → p-e470a685.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/p-e4bd1efd.entry.js +1 -0
  551. package/dist/genesys-webcomponents/{p-2772771f.entry.js → p-e62c6956.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-6e0d1b38.entry.js → p-e7206741.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-11bfa242.entry.js → p-e7c20df1.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-8a11f67a.entry.js → p-e869c970.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-dde31585.entry.js → p-e9104743.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-fe158cfd.entry.js → p-e91628b6.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-383dba17.entry.js → p-ec0cda35.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/p-ec531223.entry.js +1 -0
  559. package/dist/genesys-webcomponents/{p-d9eeccbc.entry.js → p-edf435f2.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-e24f0e69.entry.js → p-ee4f95b5.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-08aafbbb.entry.js → p-efc65478.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-d460a16c.entry.js → p-f1b79651.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-05eee989.entry.js → p-f23ef344.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-5c24293f.entry.js → p-f245f3bb.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-66c433b2.entry.js → p-f314b4dd.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-8469f5ac.entry.js → p-f53c9cdf.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-9a37e410.entry.js → p-f55e682a.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-2c5d0c05.entry.js → p-f65eaa01.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-eceff729.entry.js → p-f7be9ea5.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-8cf07453.entry.js → p-f957ca4b.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-60d67962.entry.js → p-fa03608f.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-8cb6a727.entry.js → p-fa8a1272.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-dd0ead47.entry.js → p-fcd3f713.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-06b82517.entry.js → p-fdbd9159.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/p-fe047aa6.entry.js +1 -0
  576. package/dist/stencil-wrapper.js +1 -1
  577. package/dist/types/stencil-wrapper.d.ts +1 -1
  578. package/dist/types/utils/dom/escape-html.d.ts +1 -0
  579. package/package.json +4 -4
  580. package/dist/genesys-webcomponents/p-1989d78f.entry.js +0 -1
  581. package/dist/genesys-webcomponents/p-1ff09bf5.entry.js +0 -1
  582. package/dist/genesys-webcomponents/p-2bc088bf.entry.js +0 -1
  583. package/dist/genesys-webcomponents/p-2df5f7ff.entry.js +0 -1
  584. package/dist/genesys-webcomponents/p-4195cc93.entry.js +0 -1
  585. package/dist/genesys-webcomponents/p-65d704da.entry.js +0 -1
  586. package/dist/genesys-webcomponents/p-76845ef5.entry.js +0 -1
  587. package/dist/genesys-webcomponents/p-775f113a.entry.js +0 -1
  588. package/dist/genesys-webcomponents/p-84907edc.entry.js +0 -1
  589. package/dist/genesys-webcomponents/p-897c6df2.entry.js +0 -1
  590. package/dist/genesys-webcomponents/p-9c7f04f4.entry.js +0 -1
  591. package/dist/genesys-webcomponents/p-COgvjwDR.js +0 -2
  592. package/dist/genesys-webcomponents/p-Co3DWTSR.js +0 -1
  593. package/dist/genesys-webcomponents/p-a97d48e3.entry.js +0 -1
  594. package/dist/genesys-webcomponents/p-c0d52655.entry.js +0 -1
  595. package/dist/genesys-webcomponents/p-c3fbf0e9.entry.js +0 -1
  596. package/dist/genesys-webcomponents/p-c7bb5a03.entry.js +0 -1
  597. package/dist/genesys-webcomponents/p-ce1a28ce.entry.js +0 -1
  598. package/dist/genesys-webcomponents/p-cfdbba3c.entry.js +0 -1
  599. package/dist/genesys-webcomponents/p-d7d535a2.entry.js +0 -1
  600. package/dist/genesys-webcomponents/p-e139c262.entry.js +0 -1
  601. package/dist/genesys-webcomponents/p-efef37bc.entry.js +0 -1
  602. package/dist/genesys-webcomponents/p-f5364d02.entry.js +0 -1
  603. package/dist/genesys-webcomponents/p-f8e9b9c1.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as s,a as o}from"./p-COgvjwDR.js";import{O as n}from"./p-DGRFHar4.js";import{b as a}from"./p-D2nzPgXC.js";import{s as r}from"./p-BMRf5pjV.js";import{o as l,c as u}from"./p-Cb3FOYGS.js";import{b as d}from"./p-Bg4q97BS.js";import{t as g}from"./p-DKcDCy3c.js";import{O as c}from"./p-vOC0-qDq.js";import{s as h,b as p}from"./p-zrBw_m7x.js";import{h as x}from"./p-qzV3vtOw.js";import"./p-Cd4R0amv.js";import"./p-DjLdmWVU.js";var f={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},v=function(t,e,i,s){var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const b=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.disabled=!1,this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,h(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&&d((()=>{this.listboxElement.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(){g(this.root),this.i18n=await a(this.root,f),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners(),this.applyTableStyle()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}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)}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.popupElement.classList.add("gux-has-table-parent")}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()}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?s("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):s("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":return this.renderIconOption(t);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(x(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return s("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),s("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},s("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return s("div",{class:"gux-status-indicator"},s("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),s("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return s("slot",{slot:"popup"})}renderTarget(){return s("div",{class:{"gux-target-container-collapsed":!0,"gux-disabled":this.disabled},slot:"target"},s("button",{type:"button",class:"gux-field gux-field-button",disabled:u(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(),s("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(){return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return s("gux-popup",{key:"effe6593222d52242ed092025ecd4ee4a2ad8d77",expanded:this.expanded,disabled:this.disabled,inline:!0,ref:t=>this.popupElement=t},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};v([n({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),v([c({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=":host{display:inline-flex;inline-size:fit-content;min-inline-size:0;max-inline-size:100%}.gux-has-table-parent{position:relative;inset-inline-start:-8px}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;max-inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:inherit}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-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-dataTableItems-inlineDropdown-label-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-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-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-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-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-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{b as gux_inline_dropdown_beta}
1
+ import{r as t,c as e,f as i,h as s,a as o}from"./p-BOFduQr_.js";import{O as n}from"./p-By6ZteG_.js";import{b as a}from"./p-45DSrwlG.js";import{s as r}from"./p-BMRf5pjV.js";import{o as l,c as u}from"./p-Cb3FOYGS.js";import{b as d}from"./p-Bg4q97BS.js";import{t as g}from"./p-CGCaUZQX.js";import{O as c}from"./p-B5Zw7XAl.js";import{s as h,b as p}from"./p-zrBw_m7x.js";import{h as x}from"./p-qzV3vtOw.js";import"./p-Cd4R0amv.js";import"./p-DjLdmWVU.js";var f={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},v=function(t,e,i,s){var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const b=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.disabled=!1,this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,h(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&&d((()=>{this.listboxElement.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(){g(this.root),this.i18n=await a(this.root,f),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners(),this.applyTableStyle()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}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)}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.popupElement.classList.add("gux-has-table-parent")}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()}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?s("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):s("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":return this.renderIconOption(t);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(x(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return s("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),s("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},s("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return s("div",{class:"gux-status-indicator"},s("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),s("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return s("slot",{slot:"popup"})}renderTarget(){return s("div",{class:{"gux-target-container-collapsed":!0,"gux-disabled":this.disabled},slot:"target"},s("button",{type:"button",class:"gux-field gux-field-button",disabled:u(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(),s("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(){return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return s("gux-popup",{key:"effe6593222d52242ed092025ecd4ee4a2ad8d77",expanded:this.expanded,disabled:this.disabled,inline:!0,ref:t=>this.popupElement=t},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};v([n({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),v([c({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=":host{display:inline-flex;inline-size:fit-content;min-inline-size:0;max-inline-size:100%}.gux-has-table-parent{position:relative;inset-inline-start:-8px}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;max-inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:inherit}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-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-dataTableItems-inlineDropdown-label-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-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-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-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-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-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{b as gux_inline_dropdown_beta}
@@ -1 +1 @@
1
- import{r as o,c as t,h as a,a as e}from"./p-COgvjwDR.js";import{b as g}from"./p-D2nzPgXC.js";import{t as r}from"./p-DKcDCy3c.js";import{O as u}from"./p-vOC0-qDq.js";import"./p-Cd4R0amv.js";var c={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"};const l=class{constructor(a){o(this,a),this.guxdelete=t(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold"}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onMutation(){const o=this.root.textContent.trim();this.label!==o&&(this.label=o)}onSlotChange(o){const t=o.composedPath()[0].assignedNodes();this.label=t.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return a("gux-tooltip-title",null,a("span",null,a("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return a("gux-screen-reader-beta",null,this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return a("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},a("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular",decorative:!0}),a("gux-screen-reader-beta",null,this.i18n("remove-tag",{label:this.label})))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,c)}render(){return a("div",{key:"264754b9de88ef9c5c7b0db2bed29d86a082846f",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};(function(o,t,a,e){var g,r=arguments.length,u=r<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(o,t,a,e);else for(var c=o.length-1;c>=0;c--)(g=o[c])&&(u=(r<3?g(u):r>3?g(t,a,u):g(t,a))||u);r>3&&u&&Object.defineProperty(t,a,u)})([u({childList:!0,subtree:!0,characterData:!0})],l.prototype,"onMutation",null),l.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-size-large .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline-offset:10px}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:5px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{l as gux_tag}
1
+ import{r as o,c as t,h as a,a as e}from"./p-BOFduQr_.js";import{b as g}from"./p-45DSrwlG.js";import{t as r}from"./p-CGCaUZQX.js";import{O as u}from"./p-B5Zw7XAl.js";import"./p-Cd4R0amv.js";var c={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"};const l=class{constructor(a){o(this,a),this.guxdelete=t(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold"}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onMutation(){const o=this.root.textContent.trim();this.label!==o&&(this.label=o)}onSlotChange(o){const t=o.composedPath()[0].assignedNodes();this.label=t.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return a("gux-tooltip-title",null,a("span",null,a("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return a("gux-screen-reader-beta",null,this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return a("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},a("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular",decorative:!0}),a("gux-screen-reader-beta",null,this.i18n("remove-tag",{label:this.label})))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,c)}render(){return a("div",{key:"264754b9de88ef9c5c7b0db2bed29d86a082846f",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};(function(o,t,a,e){var g,r=arguments.length,u=r<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(o,t,a,e);else for(var c=o.length-1;c>=0;c--)(g=o[c])&&(u=(r<3?g(u):r>3?g(t,a,u):g(t,a))||u);r>3&&u&&Object.defineProperty(t,a,u)})([u({childList:!0,subtree:!0,characterData:!0})],l.prototype,"onMutation",null),l.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-size-large .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline-offset:10px}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:5px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{l as gux_tag}
@@ -1 +1 @@
1
- import{r as t,h as e,a as r}from"./p-COgvjwDR.js";import{t as i}from"./p-DKcDCy3c.js";import{O as o}from"./p-DGRFHar4.js";import{b as s,g as a}from"./p-D2nzPgXC.js";import{a as n}from"./p-DvPw3gUX.js";import{u}from"./p-BgaA4g76.js";import{s as l}from"./p-BMRf5pjV.js";import{b as h}from"./p-Bg4q97BS.js";import{g,a as c,b as d}from"./p-Dwrcabgx.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";var p={toggleCalendar:"Toggle month calendar view",month:"Month",year:"Year",unset:"Unset"};const f={calendar:"gregory",year:"numeric",month:"long"},m=["ar","he","ja","ko","zh-cn","zh-tw"],b=class{constructor(e){t(this,e),this.disabled=!1,this.expanded=!1}onKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.calendarToggleButtonElement.focus())}onValueUpdate(t){this.value=this.isOutOfBounds(t)?this.isBeforeMin(t)?this.min:this.max:t,l(this.root,"input"),l(this.root,"change")}onClickOutside(){this.expanded=!1}async componentWillLoad(){i(this.root),this.i18n=await s(this.root,p),this.locale=u()?n(this.root):a(this.root)}onFocusout(t){t.relatedTarget&&!this.root.contains(t.relatedTarget)&&(this.expanded=!1)}isOutOfBounds(t){return this.isBeforeMin(t)||this.isAfterMax(t)}isBeforeMin(t){return this.min&&this.min>t}isAfterMax(t){return this.max&&this.max<t}toggleCalendar(){this.expanded=!this.expanded,this.expanded&&h((()=>{this.monthCalendarElement.guxFocus(this.value)}))}onMonthCalendarInput(){this.value=this.monthCalendarElement.value,this.expanded=!1,this.calendarToggleButtonElement.focus()}incrementMonth(t){if(this.value){const{year:e,month:r}=g(this.value),i=((parseInt(r)+11+t)%12+1).toString().padStart(2,"0");this.value=c(e,i)}else this.value=d()}incrementYear(t){if(this.value){const{year:e,month:r}=g(this.value),i=Math.max(Number(e)+t,0).toString();this.value=c(i,r)}else this.value=d()}onSpinnerKeyDown(t,e,r){switch(t.key){case"ArrowDown":t.preventDefault(),e(-1);break;case"ArrowUp":t.preventDefault(),e(1);break;case"ArrowLeft":case"ArrowRight":t.preventDefault(),r.focus();break;case"Enter":t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)}));break;case" ":t.preventDefault()}}onSpinnerKeyUp(t){t.stopPropagation()," "===t.key&&(t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)})))}onSpinnerClick(){this.expanded=!0}getSpinnerLabel(t){if(this.value){const{year:e,month:r}=g(this.value);return new Date(Number(e),Number(r)-1).toLocaleDateString(this.locale,{calendar:"gregory",[t]:f[t]})}return this.i18n(t)}getSpinnerValueNow(t){return this.value?g(this.value)[t]:"0"}getSpinnerValueText(){if(this.value){const{year:t,month:e}=g(this.value);return new Date(Number(t),Number(e)-1).toLocaleDateString(this.locale,{calendar:"gregory",year:"numeric",month:"long"})}return this.i18n("unset")}renderMonthSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementMonth(t)),this.yearSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.monthSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("month"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"1","aria-valuemax":"12","aria-label":this.i18n("month")},this.getSpinnerLabel("month"))}renderYearSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementYear(t)),this.monthSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.yearSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("year"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"0","aria-label":this.i18n("year")},this.getSpinnerLabel("year"))}renderSpinnerButtons(){return m.includes(this.locale)?e("span",{class:"gux-display"},this.renderYearSpinnerButton(),this.renderMonthSpinnerButton()):e("span",{class:"gux-display"},this.renderMonthSpinnerButton(),this.renderYearSpinnerButton())}renderCalendarToggleButton(){return e("button",{class:{"gux-popup-toggle":!0,"gux-expanded":this.expanded},ref:t=>this.calendarToggleButtonElement=t,type:"button",onClick:()=>this.toggleCalendar(),disabled:this.disabled},e("gux-icon",{"icon-name":"fa/calendar-regular",decorative:!0,size:"small"}),e("gux-screen-reader-beta",null,this.i18n("toggleCalendar")))}renderTarget(){return e("div",{class:"gux-target",slot:"target"},this.renderSpinnerButtons(),this.renderCalendarToggleButton())}renderPopup(){return e("gux-month-calendar",{slot:"popup",ref:t=>this.monthCalendarElement=t,onInput:()=>this.onMonthCalendarInput(),value:this.value,min:this.min,max:this.max})}render(){return e("gux-popup",{key:"6861252a0f47f8d14aa62831fedc5ea740b337fe",expanded:this.expanded,disabled:this.disabled,"exceed-target-width":!0},this.renderTarget(),this.renderPopup())}get root(){return r(this)}static get watchers(){return{value:["onValueUpdate"]}}};(function(t,e,r,i){var o,s=arguments.length,a=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,i);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(s<3?o(a):s>3?o(e,r,a):o(e,r))||a);s>3&&a&&Object.defineProperty(e,r,a)})([o({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),b.style=":host{display:inline-block}.gux-target{display:inline-flex;gap:var(--gse-ui-formControl-input-gap);padding:var(--gse-ui-formControl-textarea-padding);cursor:pointer;background-color:var(--gse-ui-calendarMenu-backgroundColor);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:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-target .gux-display{display:inline-flex;align-items:center;min-inline-size:100px;padding-inline-end:var(--gse-ui-formControl-input-gap);font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-target .gux-display .gux-spinner{outline:none}.gux-target .gux-display .gux-spinner:not(:first-child){margin-inline-start:4px}.gux-target .gux-display .gux-spinner:focus-visible{background:var(--gse-ui-calendarMenu-month-hover-backgroundColor)}.gux-target .gux-popup-toggle{justify-content:right;color:var(--gse-ui-monthPicker-calendarStates-defaultColor);background:transparent;border:none}.gux-target .gux-popup-toggle:focus-visible{outline:var(--gse-ui-monthPicker-calendarStates-focus-border-width) var(--gse-ui-monthPicker-calendarStates-focus-border-style) var(--gse-ui-monthPicker-calendarStates-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-target .gux-popup-toggle:not(:disabled):hover{color:var(--gse-ui-monthPicker-calendarStates-hoverColor);cursor:pointer}.gux-target .gux-popup-toggle:not(:disabled):focus{color:var(--gse-ui-monthPicker-calendarStates-activeColor);cursor:pointer}.gux-target .gux-popup-toggle:disabled{color:var(--gse-ui-monthPicker-calendarStates-disabledColor)}.gux-target .gux-popup-toggle.gux-expanded{color:var(--gse-ui-monthPicker-calendarStates-activeColor)}";export{b as gux_month_picker_beta}
1
+ import{r as t,h as e,a as r}from"./p-BOFduQr_.js";import{t as i}from"./p-CGCaUZQX.js";import{O as o}from"./p-By6ZteG_.js";import{b as s,g as a}from"./p-45DSrwlG.js";import{a as n}from"./p-DvPw3gUX.js";import{u}from"./p-BgaA4g76.js";import{s as l}from"./p-BMRf5pjV.js";import{b as h}from"./p-Bg4q97BS.js";import{g,a as c,b as d}from"./p-Dwrcabgx.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";var p={toggleCalendar:"Toggle month calendar view",month:"Month",year:"Year",unset:"Unset"};const f={calendar:"gregory",year:"numeric",month:"long"},m=["ar","he","ja","ko","zh-cn","zh-tw"],b=class{constructor(e){t(this,e),this.disabled=!1,this.expanded=!1}onKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.calendarToggleButtonElement.focus())}onValueUpdate(t){this.value=this.isOutOfBounds(t)?this.isBeforeMin(t)?this.min:this.max:t,l(this.root,"input"),l(this.root,"change")}onClickOutside(){this.expanded=!1}async componentWillLoad(){i(this.root),this.i18n=await s(this.root,p),this.locale=u()?n(this.root):a(this.root)}onFocusout(t){t.relatedTarget&&!this.root.contains(t.relatedTarget)&&(this.expanded=!1)}isOutOfBounds(t){return this.isBeforeMin(t)||this.isAfterMax(t)}isBeforeMin(t){return this.min&&this.min>t}isAfterMax(t){return this.max&&this.max<t}toggleCalendar(){this.expanded=!this.expanded,this.expanded&&h((()=>{this.monthCalendarElement.guxFocus(this.value)}))}onMonthCalendarInput(){this.value=this.monthCalendarElement.value,this.expanded=!1,this.calendarToggleButtonElement.focus()}incrementMonth(t){if(this.value){const{year:e,month:r}=g(this.value),i=((parseInt(r)+11+t)%12+1).toString().padStart(2,"0");this.value=c(e,i)}else this.value=d()}incrementYear(t){if(this.value){const{year:e,month:r}=g(this.value),i=Math.max(Number(e)+t,0).toString();this.value=c(i,r)}else this.value=d()}onSpinnerKeyDown(t,e,r){switch(t.key){case"ArrowDown":t.preventDefault(),e(-1);break;case"ArrowUp":t.preventDefault(),e(1);break;case"ArrowLeft":case"ArrowRight":t.preventDefault(),r.focus();break;case"Enter":t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)}));break;case" ":t.preventDefault()}}onSpinnerKeyUp(t){t.stopPropagation()," "===t.key&&(t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)})))}onSpinnerClick(){this.expanded=!0}getSpinnerLabel(t){if(this.value){const{year:e,month:r}=g(this.value);return new Date(Number(e),Number(r)-1).toLocaleDateString(this.locale,{calendar:"gregory",[t]:f[t]})}return this.i18n(t)}getSpinnerValueNow(t){return this.value?g(this.value)[t]:"0"}getSpinnerValueText(){if(this.value){const{year:t,month:e}=g(this.value);return new Date(Number(t),Number(e)-1).toLocaleDateString(this.locale,{calendar:"gregory",year:"numeric",month:"long"})}return this.i18n("unset")}renderMonthSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementMonth(t)),this.yearSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.monthSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("month"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"1","aria-valuemax":"12","aria-label":this.i18n("month")},this.getSpinnerLabel("month"))}renderYearSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementYear(t)),this.monthSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.yearSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("year"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"0","aria-label":this.i18n("year")},this.getSpinnerLabel("year"))}renderSpinnerButtons(){return m.includes(this.locale)?e("span",{class:"gux-display"},this.renderYearSpinnerButton(),this.renderMonthSpinnerButton()):e("span",{class:"gux-display"},this.renderMonthSpinnerButton(),this.renderYearSpinnerButton())}renderCalendarToggleButton(){return e("button",{class:{"gux-popup-toggle":!0,"gux-expanded":this.expanded},ref:t=>this.calendarToggleButtonElement=t,type:"button",onClick:()=>this.toggleCalendar(),disabled:this.disabled},e("gux-icon",{"icon-name":"fa/calendar-regular",decorative:!0,size:"small"}),e("gux-screen-reader-beta",null,this.i18n("toggleCalendar")))}renderTarget(){return e("div",{class:"gux-target",slot:"target"},this.renderSpinnerButtons(),this.renderCalendarToggleButton())}renderPopup(){return e("gux-month-calendar",{slot:"popup",ref:t=>this.monthCalendarElement=t,onInput:()=>this.onMonthCalendarInput(),value:this.value,min:this.min,max:this.max})}render(){return e("gux-popup",{key:"6861252a0f47f8d14aa62831fedc5ea740b337fe",expanded:this.expanded,disabled:this.disabled,"exceed-target-width":!0},this.renderTarget(),this.renderPopup())}get root(){return r(this)}static get watchers(){return{value:["onValueUpdate"]}}};(function(t,e,r,i){var o,s=arguments.length,a=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,i);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(s<3?o(a):s>3?o(e,r,a):o(e,r))||a);s>3&&a&&Object.defineProperty(e,r,a)})([o({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),b.style=":host{display:inline-block}.gux-target{display:inline-flex;gap:var(--gse-ui-formControl-input-gap);padding:var(--gse-ui-formControl-textarea-padding);cursor:pointer;background-color:var(--gse-ui-calendarMenu-backgroundColor);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:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-target .gux-display{display:inline-flex;align-items:center;min-inline-size:100px;padding-inline-end:var(--gse-ui-formControl-input-gap);font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-target .gux-display .gux-spinner{outline:none}.gux-target .gux-display .gux-spinner:not(:first-child){margin-inline-start:4px}.gux-target .gux-display .gux-spinner:focus-visible{background:var(--gse-ui-calendarMenu-month-hover-backgroundColor)}.gux-target .gux-popup-toggle{justify-content:right;color:var(--gse-ui-monthPicker-calendarStates-defaultColor);background:transparent;border:none}.gux-target .gux-popup-toggle:focus-visible{outline:var(--gse-ui-monthPicker-calendarStates-focus-border-width) var(--gse-ui-monthPicker-calendarStates-focus-border-style) var(--gse-ui-monthPicker-calendarStates-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-target .gux-popup-toggle:not(:disabled):hover{color:var(--gse-ui-monthPicker-calendarStates-hoverColor);cursor:pointer}.gux-target .gux-popup-toggle:not(:disabled):focus{color:var(--gse-ui-monthPicker-calendarStates-activeColor);cursor:pointer}.gux-target .gux-popup-toggle:disabled{color:var(--gse-ui-monthPicker-calendarStates-disabledColor)}.gux-target .gux-popup-toggle.gux-expanded{color:var(--gse-ui-monthPicker-calendarStates-activeColor)}";export{b as gux_month_picker_beta}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,a as i}from"./p-COgvjwDR.js";const n=class{constructor(t){e(this,t),this.disabled=!1}render(){return t(o,{key:"cf0929689d31f8cb554a2c4010363f3c24b46542",role:"listitem"},t("button",{key:"d5869f94bdaba62ad0eab1c913245809a33ab74e",type:"button",tabIndex:-1,disabled:this.disabled,"data-testid":"list-item-button"},t("slot",{key:"b003518341f302009620a0423ee4b6a68b78cd58"})))}static get delegatesFocus(){return!0}get root(){return i(this)}};n.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}";export{n as gux_list_item}
1
+ import{r as e,h as t,H as o,a as i}from"./p-BOFduQr_.js";const n=class{constructor(t){e(this,t),this.disabled=!1}render(){return t(o,{key:"cf0929689d31f8cb554a2c4010363f3c24b46542",role:"listitem"},t("button",{key:"d5869f94bdaba62ad0eab1c913245809a33ab74e",type:"button",tabIndex:-1,disabled:this.disabled,"data-testid":"list-item-button"},t("slot",{key:"b003518341f302009620a0423ee4b6a68b78cd58"})))}static get delegatesFocus(){return!0}get root(){return i(this)}};n.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}";export{n as gux_list_item}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-COgvjwDR.js";import{b as o}from"./p-D2nzPgXC.js";import{O as r}from"./p-vOC0-qDq.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{t as s}from"./p-DKcDCy3c.js";import{G as n,a as f}from"./p-Dry1Kkrx.js";import{G as h,a as d,b as u}from"./p-DiDRSPEJ.js";import{h as p}from"./p-qzV3vtOw.js";import{g}from"./p-MAoEg4ig.js";import{v as c,a as m}from"./p-DHLxhscH.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.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-phone-input-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-within")&&(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=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info"),s(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return i(u,{key:"48ad6b29c9cf3184d7b974269ff017539558577d",labelPosition:this.computedLabelPosition},i(d,{key:"d702b6111d9ad4149b7d83b942081acbdffeee93"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(g(this.root,"error"),this.hasError),this.renderText(g(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"c5afe2948a77fbfb59a31ef937926f0b562b0453",position:this.computedLabelPosition,required:this.required},i("slot",{key:"6205f5297560aa8b80442d7905366f2be554d906",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"1bd7e446cd2ae7f1523dcd366a4e11cca86f284b",variant:this.indicatorMark,required:this.required}),i("slot",{key:"9a440933738d89e80ba84f9a995d1a59e57d46a9",name:"label-info"})),i("div",{key:"42af7606cbeee106338c4cce6de736d1f718e1f8",class:"gux-input-and-error-container"},i("div",{key:"d818fcb5b98ffb57105e7e6e1167b502286554eb",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"c2635b91afc4255a20214fdc5f30064df47ecdc0",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"48eb391485bfd146bc3d992fbc9eb382a05f70be"}))),i(n,{key:"cd8eaefa2bcf75b0a3a91b69dae3dd430f801a19",show:this.hasError},i("slot",{key:"73c069f3f489eb0ce7ed643375d6638104df489a",name:"error"})),i(f,{key:"a1017a202f74da9dee4a6705dafe16e3a97b6de6",show:!this.hasError&&this.hasHelp},i("slot",{key:"c984a15612b83357feacebacf2fe256410ece20e",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),c(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,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_phone}
1
+ import{r as e,h as i,a as t}from"./p-BOFduQr_.js";import{b as o}from"./p-45DSrwlG.js";import{O as r}from"./p-B5Zw7XAl.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{t as s}from"./p-CGCaUZQX.js";import{G as n,a as f}from"./p-DVi-rLEw.js";import{G as h,a as d,b as u}from"./p-DfSSbAcG.js";import{h as p}from"./p-qzV3vtOw.js";import{g}from"./p-MAoEg4ig.js";import{v as c,a as m}from"./p-DHLxhscH.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.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-phone-input-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-within")&&(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=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info"),s(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return i(u,{key:"48ad6b29c9cf3184d7b974269ff017539558577d",labelPosition:this.computedLabelPosition},i(d,{key:"d702b6111d9ad4149b7d83b942081acbdffeee93"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(g(this.root,"error"),this.hasError),this.renderText(g(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"c5afe2948a77fbfb59a31ef937926f0b562b0453",position:this.computedLabelPosition,required:this.required},i("slot",{key:"6205f5297560aa8b80442d7905366f2be554d906",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"1bd7e446cd2ae7f1523dcd366a4e11cca86f284b",variant:this.indicatorMark,required:this.required}),i("slot",{key:"9a440933738d89e80ba84f9a995d1a59e57d46a9",name:"label-info"})),i("div",{key:"42af7606cbeee106338c4cce6de736d1f718e1f8",class:"gux-input-and-error-container"},i("div",{key:"d818fcb5b98ffb57105e7e6e1167b502286554eb",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"c2635b91afc4255a20214fdc5f30064df47ecdc0",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"48eb391485bfd146bc3d992fbc9eb382a05f70be"}))),i(n,{key:"cd8eaefa2bcf75b0a3a91b69dae3dd430f801a19",show:this.hasError},i("slot",{key:"73c069f3f489eb0ce7ed643375d6638104df489a",name:"error"})),i(f,{key:"a1017a202f74da9dee4a6705dafe16e3a97b6de6",show:!this.hasError&&this.hasHelp},i("slot",{key:"c984a15612b83357feacebacf2fe256410ece20e",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),c(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,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_phone}
@@ -1 +1 @@
1
- import{r as e,h as r,a as s}from"./p-COgvjwDR.js";import{t}from"./p-DKcDCy3c.js";const a=class{constructor(r){e(this,r)}componentWillLoad(){t(this.root)}render(){return r("gux-radial-loading",{key:"612250536de0310d6d4fe7f50b14dec060e58716",class:"gux-spinner","screenreader-text":this.screenreaderText,context:"full-page"})}get root(){return s(this)}};a.style=":host{display:flex}.gux-spinner{margin:auto}";export{a as gux_page_loading_spinner}
1
+ import{r as e,h as r,a as s}from"./p-BOFduQr_.js";import{t}from"./p-CGCaUZQX.js";const a=class{constructor(r){e(this,r)}componentWillLoad(){t(this.root)}render(){return r("gux-radial-loading",{key:"612250536de0310d6d4fe7f50b14dec060e58716",class:"gux-spinner","screenreader-text":this.screenreaderText,context:"full-page"})}get root(){return s(this)}};a.style=":host{display:flex}.gux-spinner{margin:auto}";export{a as gux_page_loading_spinner}
@@ -1 +1 @@
1
- import{r as e,h as t,a as o}from"./p-COgvjwDR.js";import{O as i}from"./p-vOC0-qDq.js";import{h as r}from"./p-qzV3vtOw.js";import{t as l}from"./p-DKcDCy3c.js";import{G as s,a}from"./p-Dry1Kkrx.js";import{G as n,a as f}from"./p-Co3DWTSR.js";import{a as h,g as d,v as u}from"./p-DHLxhscH.js";import{p}from"./p-PYfNAK8p.js";import{o as m}from"./p-De1NnCmO.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const c=class{constructor(t){e(this,t),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=d(this.root,'input[type="file"][slot="input"]'),p(this.input),this.required=this.input.required,this.requiredObserver=m(this.input,(e=>{this.required=e})),u(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(f,{key:"57c6933d66859a64428c6fc0b495cc798b4646c7",labelPosition:this.computedLabelPosition},t(n,{key:"70ed23b333a5a4e090ad67c4e331f9fade1f78d4",position:this.computedLabelPosition,required:this.required},t("slot",{key:"7f29f3e4f2f092cc618945812a7426a21f6981fb",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"2e3f9a5014ebea65122f0ec0af7bc34cb1374e14",variant:this.indicatorMark,required:this.required}),t("slot",{key:"4d4d7cd3fa161224794e9ebe461b5c5e14db15ec",name:"label-info"})),t("div",{key:"b14ea846d3d04027f5e440eff98f5b7ca0f335f1",class:"gux-input-and-error-container"},t("slot",{key:"50d8065171ad328e6526264ed070f344250a9a46",name:"input",onSlotchange:()=>this.setInput()}),t(s,{key:"67e413bfb58317d608e4d9cbbdfbe5633d3b1cb7",show:this.hasError},t("slot",{key:"f80cabf0b5b3cb59ee66d81c767b513acd2b0529",name:"error"})),t(a,{key:"18b201934530a4f58218fc3454e8596641384fb5",show:!this.hasError&&this.hasHelp},t("slot",{key:"0797f938e2c9af36ea3e0e838b1d6381d7318c31",name:"help"}))))}get root(){return o(this)}};(function(e,t,o,i){var r,l=arguments.length,s=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(t,o,s):r(t,o))||s);l>3&&s&&Object.defineProperty(t,o,s)})([i({childList:!0,subtree:!0})],c.prototype,"onMutation",null),c.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{c as gux_form_field_file}
1
+ import{r as e,h as t,a as o}from"./p-BOFduQr_.js";import{O as i}from"./p-B5Zw7XAl.js";import{h as r}from"./p-qzV3vtOw.js";import{t as l}from"./p-CGCaUZQX.js";import{G as s,a}from"./p-DVi-rLEw.js";import{G as n,a as f}from"./p-BmdndI-P.js";import{a as h,g as d,v as u}from"./p-DHLxhscH.js";import{p}from"./p-PYfNAK8p.js";import{o as m}from"./p-De1NnCmO.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const g=class{constructor(t){e(this,t),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=d(this.root,'input[type="file"][slot="input"]'),p(this.input),this.required=this.input.required,this.requiredObserver=m(this.input,(e=>{this.required=e})),u(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(f,{key:"57c6933d66859a64428c6fc0b495cc798b4646c7",labelPosition:this.computedLabelPosition},t(n,{key:"70ed23b333a5a4e090ad67c4e331f9fade1f78d4",position:this.computedLabelPosition,required:this.required},t("slot",{key:"7f29f3e4f2f092cc618945812a7426a21f6981fb",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"2e3f9a5014ebea65122f0ec0af7bc34cb1374e14",variant:this.indicatorMark,required:this.required}),t("slot",{key:"4d4d7cd3fa161224794e9ebe461b5c5e14db15ec",name:"label-info"})),t("div",{key:"b14ea846d3d04027f5e440eff98f5b7ca0f335f1",class:"gux-input-and-error-container"},t("slot",{key:"50d8065171ad328e6526264ed070f344250a9a46",name:"input",onSlotchange:()=>this.setInput()}),t(s,{key:"67e413bfb58317d608e4d9cbbdfbe5633d3b1cb7",show:this.hasError},t("slot",{key:"f80cabf0b5b3cb59ee66d81c767b513acd2b0529",name:"error"})),t(a,{key:"18b201934530a4f58218fc3454e8596641384fb5",show:!this.hasError&&this.hasHelp},t("slot",{key:"0797f938e2c9af36ea3e0e838b1d6381d7318c31",name:"help"}))))}get root(){return o(this)}};(function(e,t,o,i){var r,l=arguments.length,s=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(t,o,s):r(t,o))||s);l>3&&s&&Object.defineProperty(t,o,s)})([i({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{g as gux_form_field_file}
@@ -1 +1 @@
1
- import{r,h as d,a as e}from"./p-COgvjwDR.js";import{t as a}from"./p-DKcDCy3c.js";const o=class{constructor(d){r(this,d),this.accent="bordered"}componentWillLoad(){a(this.root,{variant:this.accent})}render(){return d("div",{key:"c01aa0504b534e5b00ab38daaf678c28d0be9504",class:{"gux-card":!0,[`gux-${this.accent}`]:!0}},d("slot",{key:"7928067234ae701d43d3f787e76d8f807446804d"}))}get root(){return e(this)}};o.style=":host{display:block;inline-size:fit-content}.gux-card{box-sizing:border-box;padding:var(--gse-ui-card-padding);background-color:var(--gse-ui-card-backgroundColor);border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color);border-radius:var(--gse-ui-card-borderRadius)}.gux-card.gux-bordered{border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color)}.gux-card.gux-raised{border:var(--gse-ui-card-raised-border-width) var(--gse-ui-card-raised-border-style) var(--gse-ui-card-raised-border-color);box-shadow:var(--gse-ui-card-raised-boxShadow)}.gux-card.gux-borderless{border:var(--gse-ui-card-borderless-border-width) var(--gse-ui-card-borderless-border-style) var(--gse-ui-card-borderless-border-color)}";export{o as gux_card}
1
+ import{r,h as d,a as e}from"./p-BOFduQr_.js";import{t as a}from"./p-CGCaUZQX.js";const o=class{constructor(d){r(this,d),this.accent="bordered"}componentWillLoad(){a(this.root,{variant:this.accent})}render(){return d("div",{key:"c01aa0504b534e5b00ab38daaf678c28d0be9504",class:{"gux-card":!0,[`gux-${this.accent}`]:!0}},d("slot",{key:"7928067234ae701d43d3f787e76d8f807446804d"}))}get root(){return e(this)}};o.style=":host{display:block;inline-size:fit-content}.gux-card{box-sizing:border-box;padding:var(--gse-ui-card-padding);background-color:var(--gse-ui-card-backgroundColor);border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color);border-radius:var(--gse-ui-card-borderRadius)}.gux-card.gux-bordered{border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color)}.gux-card.gux-raised{border:var(--gse-ui-card-raised-border-width) var(--gse-ui-card-raised-border-style) var(--gse-ui-card-raised-border-color);box-shadow:var(--gse-ui-card-raised-boxShadow)}.gux-card.gux-borderless{border:var(--gse-ui-card-borderless-border-width) var(--gse-ui-card-borderless-border-style) var(--gse-ui-card-borderless-border-color)}";export{o as gux_card}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-COgvjwDR.js";import{b as o}from"./p-D2nzPgXC.js";import{O as r}from"./p-vOC0-qDq.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as h}from"./p-Dry1Kkrx.js";import{G as d,a as u,b as c}from"./p-DiDRSPEJ.js";import{v as m,a as p}from"./p-DHLxhscH.js";import{t as g}from"./p-DKcDCy3c.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=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"1f6429d5eeca786f8c2234ef41d68a86ecf1662f",labelPosition:this.computedLabelPosition},i(u,{key:"16b43e600c427d5ec5467598bc6883197a6335c3"},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:"9eb3ba3a425b81894a1c7be23a8885c772c3a20e",position:this.computedLabelPosition,required:this.required},i("slot",{key:"5547c6807939dd09a7cfaf776b22011e5711fad6",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"2baad02d36b5435487d6085a87dcbd13755b0c3e",variant:this.indicatorMark,required:this.required}),i("slot",{key:"91baf0fd7d172c7102cb90ca8a9f9c915e1a9a4c",name:"label-info"})),i("slot",{key:"7f41002d539987045e8d7559f6106396c1378ae6",name:"label-info"}),i("div",{key:"5a172e3881c5cfb592dd9d030d3daa2a254bb425",class:"gux-input-and-error-container"},i("div",{key:"852605c2abba0ac00bc8fca84dae551382562774",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"3ee7bab448747d7e8cfab702d17e515c621a60f8"})),i(f,{key:"e4c4c96bebed24a493fabaad9afca2b0ba54448f",show:this.hasError},i("slot",{key:"382b7a541fbbb1a732b500a48908fa28d819dc2a",name:"error"})),i(h,{key:"cc0f845f1cea82c413c64ce195a4aa4532b68484",show:!this.hasError&&this.hasHelp},i("slot",{key:"bd70693757fddfde5d98dfe0df576218f1d390d0",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=a(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_zone_picker}
1
+ import{r as e,h as i,a as t}from"./p-BOFduQr_.js";import{b as o}from"./p-45DSrwlG.js";import{O as r}from"./p-B5Zw7XAl.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as h}from"./p-DVi-rLEw.js";import{G as d,a as u,b as c}from"./p-DfSSbAcG.js";import{v as m,a as p}from"./p-DHLxhscH.js";import{t as g}from"./p-CGCaUZQX.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=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"1f6429d5eeca786f8c2234ef41d68a86ecf1662f",labelPosition:this.computedLabelPosition},i(u,{key:"16b43e600c427d5ec5467598bc6883197a6335c3"},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:"9eb3ba3a425b81894a1c7be23a8885c772c3a20e",position:this.computedLabelPosition,required:this.required},i("slot",{key:"5547c6807939dd09a7cfaf776b22011e5711fad6",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"2baad02d36b5435487d6085a87dcbd13755b0c3e",variant:this.indicatorMark,required:this.required}),i("slot",{key:"91baf0fd7d172c7102cb90ca8a9f9c915e1a9a4c",name:"label-info"})),i("slot",{key:"7f41002d539987045e8d7559f6106396c1378ae6",name:"label-info"}),i("div",{key:"5a172e3881c5cfb592dd9d030d3daa2a254bb425",class:"gux-input-and-error-container"},i("div",{key:"852605c2abba0ac00bc8fca84dae551382562774",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"3ee7bab448747d7e8cfab702d17e515c621a60f8"})),i(f,{key:"e4c4c96bebed24a493fabaad9afca2b0ba54448f",show:this.hasError},i("slot",{key:"382b7a541fbbb1a732b500a48908fa28d819dc2a",name:"error"})),i(h,{key:"cc0f845f1cea82c413c64ce195a4aa4532b68484",show:!this.hasError&&this.hasHelp},i("slot",{key:"bd70693757fddfde5d98dfe0df576218f1d390d0",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=a(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_zone_picker}
@@ -1 +1 @@
1
- import{r as e,f as o,h as r,a as t}from"./p-COgvjwDR.js";import{O as i}from"./p-vOC0-qDq.js";import{h as l}from"./p-qzV3vtOw.js";import{l as a}from"./p-DxtJDeL9.js";import{b as s}from"./p-D2nzPgXC.js";import{s as n}from"./p-BMRf5pjV.js";import{a as f,G as h}from"./p-Dry1Kkrx.js";import{G as u,a as g,b as c}from"./p-DiDRSPEJ.js";import{g as d}from"./p-MAoEg4ig.js";import{t as p}from"./p-DKcDCy3c.js";import"./p-Cd4R0amv.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=m(e).length,r=function(e){return m(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function m(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}var b={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await s(this.root,b),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,m(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(c,{key:"cd41207bcf0e7fa581f45453c978e417f00399cd",labelPosition:"above"},r(g,{key:"c5cc46f0e994f49d5c2ce4eee68d0001c2c301ac"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"018a9dcafe88d3337bea53a53488083b5b27a6d2",position:"above",required:this.required},r("slot",{key:"e3fb3a38dc90f18b43a618b2a2cb0df8b622d569",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"26c540bbe51f05d763b28b52b4da9ca243d81cda",variant:this.indicatorMark,required:this.required}),r("slot",{key:"6e8b26bdd292e7a05a0e62d05767240e87bc8ae1",name:"group-label-info"})),r("slot",{key:"998cdb3c4498c27a0524f0103e38724397d462eb",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"7b4a080ba9712aa65137ee74337f1185b6671d1d",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"c137d23ed93339078fe224111d085eed892995f3",show:this.hasGroupError},r("slot",{key:"c30cbc6ec4417faaf69091f5eb9104ec14fab858",name:"group-error"})),r(f,{key:"a6217901c574c013c1234399031fec442f18cd08",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"072e27395b31e3fd73203f75d9e7148369ff0895",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,a=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,r,a):i(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-block-start:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-inline-start:var(--gse-ui-checkbox-group-paddingLeft)}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-inline-start:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}
1
+ import{r as e,f as o,h as r,a as t}from"./p-BOFduQr_.js";import{O as i}from"./p-B5Zw7XAl.js";import{h as l}from"./p-qzV3vtOw.js";import{l as a}from"./p-DxtJDeL9.js";import{b as s}from"./p-45DSrwlG.js";import{s as n}from"./p-BMRf5pjV.js";import{a as f,G as h}from"./p-DVi-rLEw.js";import{G as u,a as c,b as g}from"./p-DfSSbAcG.js";import{g as d}from"./p-MAoEg4ig.js";import{t as p}from"./p-CGCaUZQX.js";import"./p-Cd4R0amv.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=m(e).length,r=function(e){return m(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function m(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}var b={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await s(this.root,b),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,m(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(g,{key:"cd41207bcf0e7fa581f45453c978e417f00399cd",labelPosition:"above"},r(c,{key:"c5cc46f0e994f49d5c2ce4eee68d0001c2c301ac"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"018a9dcafe88d3337bea53a53488083b5b27a6d2",position:"above",required:this.required},r("slot",{key:"e3fb3a38dc90f18b43a618b2a2cb0df8b622d569",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"26c540bbe51f05d763b28b52b4da9ca243d81cda",variant:this.indicatorMark,required:this.required}),r("slot",{key:"6e8b26bdd292e7a05a0e62d05767240e87bc8ae1",name:"group-label-info"})),r("slot",{key:"998cdb3c4498c27a0524f0103e38724397d462eb",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"7b4a080ba9712aa65137ee74337f1185b6671d1d",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"c137d23ed93339078fe224111d085eed892995f3",show:this.hasGroupError},r("slot",{key:"c30cbc6ec4417faaf69091f5eb9104ec14fab858",name:"group-error"})),r(f,{key:"a6217901c574c013c1234399031fec442f18cd08",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"072e27395b31e3fd73203f75d9e7148369ff0895",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,a=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,r,a):i(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-block-start:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-inline-start:var(--gse-ui-checkbox-group-paddingLeft)}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-inline-start:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}
@@ -1 +1 @@
1
- import{r as e,h as t,H as s,a as o}from"./p-COgvjwDR.js";import{t as i}from"./p-DKcDCy3c.js";import{O as a}from"./p-DGRFHar4.js";import{b as r}from"./p-D2nzPgXC.js";import{b as n}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";var c={additionalActions:"Additional Actions"};const u=class{constructor(t){e(this,t),this.expanded=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.expanded=!1,t.includes(this.listElement)&&(e.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":t.includes(this.dropdownButton)&&(e.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){n((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}renderTooltip(){if(!this.expanded)return t("gux-tooltip-beta",null,t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){this.i18n=await r(this.root,c),i(this.root)}render(){return t(s,{key:"dd49b24a4fe0c685da9f27f5268a528c299b46a6",class:{"gux-show-menu":this.showMenu}},t("gux-popup",{key:"9f043c22c9ed34a76af2541a0db261e2e2c78097",expanded:this.expanded,"exceed-target-width":!0},t("div",{key:"00b3e38e8177844dcb20adb2748612191fe87bc6",slot:"target",class:"gux-toolbar-menu-container"},t("gux-button-slot",{key:"6e371e26c59393e4da151a698633a1b8c20949c6",accent:"secondary"},t("button",{key:"dca1886543276742e05bba4d67d6b4c66f86299a",class:"gux-menu-button",type:"button",ref:e=>this.dropdownButton=e,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},t("gux-icon",{key:"1208f23faefd26db958cfe684f6b66d0f08099d6","icon-name":"fa/ellipsis-regular",size:"small",decorative:!0}),t("gux-screen-reader-beta",{key:"b5fda673c8393b39eb02cfeecdac6cf409ff60f4"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"2d62be98b045fe722751925fb867039ec7af8c36",class:"gux-list-container",slot:"popup"},t("gux-list",{key:"57a47771b36648d6353090057351cfb6e818c9fd",ref:e=>this.listElement=e},t("slot",{key:"80ec1ac5ef2154b0f95615701e4260ec2364ceda"})))))}static get delegatesFocus(){return!0}get root(){return o(this)}};(function(e,t,s,o){var i,a=arguments.length,r=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,o);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(r=(a<3?i(r):a>3?i(t,s,r):i(t,s))||r);a>3&&r&&Object.defineProperty(t,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button{display:flex;color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:pointer;border:none}.gux-menu-button gux-icon{align-self:center}.gux-list-container{inline-size:min-content;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_table_toolbar_menu_button}
1
+ import{r as e,h as t,H as s,a as o}from"./p-BOFduQr_.js";import{t as i}from"./p-CGCaUZQX.js";import{O as a}from"./p-By6ZteG_.js";import{b as r}from"./p-45DSrwlG.js";import{b as n}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";var c={additionalActions:"Additional Actions"};const u=class{constructor(t){e(this,t),this.expanded=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.expanded=!1,t.includes(this.listElement)&&(e.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":t.includes(this.dropdownButton)&&(e.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){n((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}renderTooltip(){if(!this.expanded)return t("gux-tooltip-beta",null,t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){this.i18n=await r(this.root,c),i(this.root)}render(){return t(s,{key:"dd49b24a4fe0c685da9f27f5268a528c299b46a6",class:{"gux-show-menu":this.showMenu}},t("gux-popup",{key:"9f043c22c9ed34a76af2541a0db261e2e2c78097",expanded:this.expanded,"exceed-target-width":!0},t("div",{key:"00b3e38e8177844dcb20adb2748612191fe87bc6",slot:"target",class:"gux-toolbar-menu-container"},t("gux-button-slot",{key:"6e371e26c59393e4da151a698633a1b8c20949c6",accent:"secondary"},t("button",{key:"dca1886543276742e05bba4d67d6b4c66f86299a",class:"gux-menu-button",type:"button",ref:e=>this.dropdownButton=e,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},t("gux-icon",{key:"1208f23faefd26db958cfe684f6b66d0f08099d6","icon-name":"fa/ellipsis-regular",size:"small",decorative:!0}),t("gux-screen-reader-beta",{key:"b5fda673c8393b39eb02cfeecdac6cf409ff60f4"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"2d62be98b045fe722751925fb867039ec7af8c36",class:"gux-list-container",slot:"popup"},t("gux-list",{key:"57a47771b36648d6353090057351cfb6e818c9fd",ref:e=>this.listElement=e},t("slot",{key:"80ec1ac5ef2154b0f95615701e4260ec2364ceda"})))))}static get delegatesFocus(){return!0}get root(){return o(this)}};(function(e,t,s,o){var i,a=arguments.length,r=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,o);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(r=(a<3?i(r):a>3?i(t,s,r):i(t,s))||r);a>3&&r&&Object.defineProperty(t,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button{display:flex;color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:pointer;border:none}.gux-menu-button gux-icon{align-self:center}.gux-list-container{inline-size:min-content;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_table_toolbar_menu_button}
@@ -0,0 +1 @@
1
+ import{r as e,c as o,h as r,a as t}from"./p-BOFduQr_.js";import{r as a}from"./p-D9jKBqIb.js";import{a as i}from"./p-DxtJDeL9.js";const n=class{constructor(r){e(this,r),this.guxopened=o(this,"guxopened",7),this.guxclosed=o(this,"guxclosed",7),this.sectionId=a("gux-accordion-section"),this.headerId=a("gux-accordion-header"),this.arrowPosition="end",this.contentLayout="text",this.open=!1,this.disabled=!1,this.reverseHeadings=!1}watchOpen(e){e?this.guxopened.emit():this.guxclosed.emit()}toggle(){this.open=!this.open}isArrowPositionBeforeText(){return"start"===this.arrowPosition}handleSlotChange(e){const o=this.root.querySelector(`[slot="${e}"]`);o.role="presentation",o&&/^H[1-6]$/.test(o.nodeName)||i(this.root,`For accessibility reasons the ${e} slot should be filled with a HTML heading tag (h1 - h6).`),"header"==e&&(this.headingLevel=parseInt(o.nodeName.replace("H",""),10))}componentWillLoad(){this.hasIconSlot=!!this.root.querySelector('[slot="icon"]')}render(){return r("section",{key:"d6d79a3d1653a542bbf18de5b52a90c2b176d734",class:{"gux-disabled":this.disabled}},r("div",{key:"c20c237090c10de156583684e01fb215ad76ead7",id:this.headerId,role:"heading","aria-level":this.headingLevel},r("button",{key:"43229df56bb1171f20f5c93fda2669c71eefd632",class:{"gux-header":!0,"gux-reverse-headings":this.reverseHeadings},type:"button","aria-expanded":this.open.toString(),"aria-controls":this.sectionId,disabled:this.disabled,onClick:this.toggle.bind(this)},this.hasIconSlot&&r("slot",{key:"5a3a87ebc2049aaa18bc20cec310718f89fa2162",name:"icon"}),r("div",{key:"6be38d19a29b83717170ac5015db368b9e2aed02",class:{"gux-header-text":!0}},r("slot",{key:"d786bb89ce6812548b8f2642d749b37d8cf80cb6",onSlotchange:()=>this.handleSlotChange("header"),name:"header"}),r("slot",{key:"ff3c1a4fb7569f28a24151568640c062031f7d08",onSlotchange:()=>this.handleSlotChange("subheader"),name:"subheader"})),r("div",{key:"7bc3ead78de0ce567545dfa58f9b89c6c163cfe2",class:{"gux-header-icon":!0,"gux-expanded":this.open,"gux-arrow-position-start":this.isArrowPositionBeforeText()}},r("gux-icon",{key:"b7214df16eda106b936db934d79a8e8bbdbc9c47",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),r("div",{key:"202ac097d31ebb575825d8272a19a537d2014b75",id:this.sectionId,role:"region","aria-labelledby":this.headerId,class:{"gux-content":!0,"gux-expanded":this.open,"gux-text-content-layout":"text"===this.contentLayout}},r("slot",{key:"2d4f4633867f426bc8cbfa54662279bc9ebe12fd",name:"content"})))}get root(){return t(this)}static get watchers(){return{open:["watchOpen"]}}};n.style=":host(:first-child) section{border-block-start:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section.gux-disabled{cursor:default}section.gux-disabled>*{pointer-events:none;opacity:0.5}section{border-block-end:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section .gux-header{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:center flex-start;align-items:center;inline-size:100%;padding:var(--gse-ui-accordion-header-padding);margin:0;cursor:pointer}section .gux-header .gux-header-text{flex:1 1 auto;align-self:auto;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight);color:var(--gse-ui-accordion-header-default-foreground-labelColor);text-align:start}section .gux-header.gux-reverse-headings .gux-header-text{display:flex;flex-direction:column-reverse}section .gux-header ::slotted([slot=header]){padding:0;margin:0;font-family:var(--gse-ui-accordion-header-label-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-header-label-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-header-label-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-header-default-foreground-labelColor)}section .gux-header ::slotted([slot=subheader]){padding:0;margin-block:var(--gse-core-spacing-5xs) 0;margin-inline:0;font-family:var(--gse-ui-accordion-contentItem-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-contentItem-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-contentItem-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-contentItem-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-contentItem-foregroundColor)}section .gux-header ::slotted([slot=subheader]) .gux-reverse-headings{margin-block:0 var(--gse-core-spacing-5xs);margin-inline:0}section .gux-header ::slotted([slot=icon]){flex:0 0 auto;align-self:flex-start;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);margin-inline-end:var(--gse-ui-accordion-header-gap);color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed)}section .gux-header ::slotted([slot=icon]) .gux-reverse-headings{align-self:flex-end}section .gux-header .gux-header-icon{flex:0 1 auto;align-items:center;align-self:auto;margin-inline-start:var(--gse-ui-accordion-header-gap);line-height:0;color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed);transform-origin:center;transition:transform 0.5s ease}section .gux-header .gux-header-icon.gux-arrow-position-start{order:-1;margin-inline-end:var(--gse-ui-accordion-header-gap)}section .gux-header .gux-header-icon.gux-expanded{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-open);transform:rotate(-180deg)}section .gux-header:focus-visible{outline:var(--gse-ui-accordion-focusBorder-width) var(--gse-ui-accordion-focusBorder-style) var(--gse-ui-accordion-focusBorder-color);outline-offset:var(--gse-ui-accordion-focus-offset-gap);border-radius:var(--gse-ui-accordion-menuItem-focus-borderRadius)}section .gux-header:hover .gux-header-icon{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-hover)}section .gux-content{box-sizing:border-box;display:none}section .gux-content.gux-expanded{display:block}section .gux-content.gux-text-content-layout{padding:var(--gse-ui-accordion-contentItem-padding)}section .gux-content ::slotted([slot=content]){margin:0}";export{n as gux_accordion_section}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineCustomElements } from '../dist/loader';
9
9
  // Value templated out during build process (see scripts/wrap-stencil.js)
10
- export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.184.2-853/genesys-webcomponents/';
10
+ export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.185.1-856/genesys-webcomponents/';
11
11
  const DOMAIN_LIST = [
12
12
  '.inindca.com',
13
13
  '.dev-pure.cloud',
@@ -1,2 +1,2 @@
1
- export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.184.2-853/genesys-webcomponents/";
1
+ export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.185.1-856/genesys-webcomponents/";
2
2
  export declare function registerElements(): void;
@@ -0,0 +1 @@
1
+ export declare function escapeHtml(text: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark-components",
3
- "version": "4.184.2",
3
+ "version": "4.185.1",
4
4
  "description": "Common webcomponents",
5
5
  "license": "MIT",
6
6
  "main": "dist/stencil-wrapper.js",
@@ -79,14 +79,14 @@
79
79
  "@types/sortablejs": "^1.15.9",
80
80
  "axe-core": "^4.11.0",
81
81
  "axe-live": "^1.0.1",
82
- "eslint": "^9.38.0",
82
+ "eslint": "^9.39.1",
83
83
  "eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
84
- "eslint-plugin-playwright": "^2.2.2",
84
+ "eslint-plugin-playwright": "^2.3.0",
85
85
  "file-loader": "^6.2.0",
86
86
  "genesys-spark-tokens": "file:../genesys-spark-tokens",
87
87
  "genesys-spark-utils": "file:../genesys-spark-utils",
88
88
  "glob": "^11.0.3",
89
- "globals": "^16.4.0",
89
+ "globals": "^16.5.0",
90
90
  "handlebars": "^4.7.8",
91
91
  "inquirer": "^12.10.0",
92
92
  "jest": "^30.2.0",
@@ -1 +0,0 @@
1
- import{r as e,h as o,H as r}from"./p-COgvjwDR.js";const a=class{constructor(o){e(this,o)}render(){return o(r,{key:"634c7bd92b76c3db367e621877eeaf65bdea1add",role:"menu"},o("slot",{key:"040cfa7890cce02fd4d89b8ec7836538aab2358b"}))}};a.style=":host{flex-direction:column;inline-size:fit-content;padding:var(--gse-ui-menu-padding);background-color:var(--gse-ui-flyoutMenu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{a as gux_menu}
@@ -1 +0,0 @@
1
- import{e as t,r as a,h as s,a as i}from"./p-COgvjwDR.js";import{t as l}from"./p-DKcDCy3c.js";const n=new Map;async function r(a,s){const i=function(t,a){return`${a}-${t}`}(a,s);if(n.has(i))return n.get(i);const l=async function(a,s){const i=await fetch(t(function(t,a){return"background-shapes"===a?`./illustrations/${a}/${t.includes("narrow")?"narrow":"wide"}.svg`:`./illustrations/${a}/${t}.svg`}(a,s)));if(200===i.status)return i.text();throw new Error(`[gux-illustration] fetching failed for illustration "${a}" with status "${i.statusText} (${i.status})".`)}(a,s).then((t=>t)).catch((t=>(setTimeout((()=>{throw t}),0),r({variants:"add",status:"success","background-shapes":"solid-wide"}[s],s))));return n.set(i,l),l}const u=class{constructor(t){a(this,t),this.backgroundShape="solid-wide"}async prepVariant(t){t&&(this.variantSvgHtml=await r(t,"variants"),this.variantHtml=this.variantSvgHtml)}async prepStatus(t){t&&(this.statusSvgHtml=await r(t,"status"),this.statusHtml=this.statusSvgHtml)}async prepBackgroundShape(t){t&&(this.backgroundShapeSvgHtml=await r(t,"background-shapes"),this.backgroundShapeHtml=this.backgroundShapeSvgHtml)}async componentWillLoad(){l(this.root,{variant:this.variant}),await Promise.all([this.prepVariant(this.variant),this.prepStatus(this.status),this.prepBackgroundShape(this.backgroundShape)])}render(){return s("div",{key:"b784dff16a5af2bcea05f22e3478f1d78722080c",class:"gux-illustration"},this.backgroundShapeHtml&&s("div",{key:"d57aaeea21e7a23f73aea017e97f46690faddb0d",class:{"gux-background-shape":!0,[`gux-background-shape-${this.backgroundShape}`]:!0},innerHTML:this.backgroundShapeHtml}),this.variantHtml&&s("div",{key:"7c319cf6ee37a229e560656b662f58431f6f6f80",class:"gux-illustration-variant",innerHTML:this.variantHtml}),this.statusHtml&&s("div",{key:"df8b54846668fe2517d497dbedea6e2bdc339956",class:{"gux-illustration-status":!0,[`gux-illustration-status-${this.status}`]:!0},innerHTML:this.statusHtml}))}static get assetsDirs(){return["illustrations"]}get root(){return i(this)}static get watchers(){return{variant:["prepVariant"],status:["prepStatus"],backgroundShape:["prepBackgroundShape"]}}};u.style=".gux-illustration{position:relative;display:grid;place-items:center;inline-size:var(--gse-ui-blankState-mainIllustration-width);block-size:var(--gse-ui-blankState-mainIllustration-height)}.gux-background-shape{grid-area:1/1;inline-size:177px;block-size:70px}.gux-background-shape.gux-background-shape-solid-wide,.gux-background-shape.gux-background-shape-solid-narrow,.gux-background-shape svg{fill:var(--gse-ui-blankState-mainIllustration-background-solidColor)}.gux-background-shape.gux-background-shape-gradient-wide svg,.gux-background-shape.gux-background-shape-gradient-narrow svg{fill:var(--gse-ui-blankState-mainIllustration-background-gradient)}.gux-illustration-variant{display:flex;grid-area:1/1;place-items:center}.gux-illustration-variant svg{inline-size:var(--gse-ui-blankState-mainIllustration-illustration-height);block-size:var(--gse-ui-blankState-mainIllustration-illustration-height);fill:var(--gse-ui-blankState-mainIllustration-illustrationColor)}.gux-illustration-status{position:absolute;inset-block-start:66px;inset-inline-start:111px}.gux-illustration-status svg{inline-size:32px;block-size:32px}.gux-illustration-status.gux-illustration-status-success svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successBaseColor)}.gux-illustration-status.gux-illustration-status-success svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successSymbolColor)}.gux-illustration-status.gux-illustration-status-error svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorBaseColor)}.gux-illustration-status.gux-illustration-status-error svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorSymbolColor)}.gux-illustration-status.gux-illustration-status-info svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoBaseColor)}.gux-illustration-status.gux-illustration-status-info svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoSymbolColor)}.gux-illustration-status.gux-illustration-status-add svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationBaseColor)}.gux-illustration-status.gux-illustration-status-add svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationSymbolColor)}.gux-illustration-status.gux-illustration-status-warning svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningBaseColor)}.gux-illustration-status.gux-illustration-status-warning svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningSymbolColor)}";export{u as gux_illustration_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as o,a as s}from"./p-COgvjwDR.js";import{t as a}from"./p-DKcDCy3c.js";import{b as c}from"./p-Bg4q97BS.js";const i=class{constructor(e){t(this,e),this.politeness="polite"}async guxAnnounce(t){this.containerElement.innerText="",c((()=>{this.containerElement.innerText=t}))}componentWillLoad(){a(this.root)}render(){return e(o,{key:"96acda36ac04edb73e9fcc5af71fa83cd30fce92","aria-live":this.politeness},e("slot",{key:"b490bf95af7e150220969cc20383b9406b4bcf19"}),e("div",{key:"2c731aff495c684d15bda9ed006030608bc9a4e7",ref:t=>this.containerElement=t}))}get root(){return s(this)}};i.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{i as gux_announce_beta}
@@ -1 +0,0 @@
1
- import{r as e,f as i,h as t,H as r,a as o}from"./p-COgvjwDR.js";import{c as a,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-vOC0-qDq.js";import{o as s}from"./p-De1NnCmO.js";import{p as g}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as d,a as f}from"./p-Dry1Kkrx.js";import{a as h,G as p}from"./p-Co3DWTSR.js";import{g as c,v as x,a as b}from"./p-DHLxhscH.js";import{t as m}from"./p-DKcDCy3c.js";import{O as v}from"./p-DKPAGIJA.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var y=function(e,i,t,r){var o,a=arguments.length,n=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(a<3?o(n):a>3?o(i,t,n):o(i,t))||n);return a>3&&n&&Object.defineProperty(i,t,n),n};const k=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onInput(e){this.updateValue(e.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;this.active=!1,null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),m(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition(),this.tooltipElement&&i(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(r,{key:"c9659001a315704171830f441ec9182edcdb775b",class:{"gux-active":this.active}},t(h,{key:"6375acacb5ffe29e4ab47b537934b53adf2ca1eb",labelPosition:this.computedLabelPosition},t(p,{key:"bf3d45c557af11a891b35d4770f31627e181af4d",required:this.required,position:this.computedLabelPosition},t("slot",{key:"220710ee4498dee17925719dfd97833f2761a8b6",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"6409696d7f0261aaf56fedf08b9aefa225f77c87",variant:this.indicatorMark,required:this.required}),t("slot",{key:"404dd77023651d4c31e63e792c3aeb4a04e67f5d",name:"label-info"})),t("div",{key:"cc59cf41be40345152d4ba98a267502cb4b09da4",class:"gux-input-and-error-container"},this.renderRangeInput(),t(d,{key:"82eb5395053d1f34698b3efbfd1906fc4ef872e1",show:this.hasError},t("slot",{key:"dff24fd024a96675168b79286aa97b1a8352ecc1",name:"error"})),t(f,{key:"95f342c37af75350aba83b531b3dfa73680266d0",show:!this.hasError&&this.hasHelp},t("slot",{key:"235e9611fccf02f722d1b6eeb738656b4e1c8154",name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="range"][slot="input"]'),g(this.input),this.disabled=a(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled?"true":"false",ref:e=>this.containerElement=e},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),this.valueInTooltip&&t("gux-tooltip-base-beta",{ref:e=>this.tooltipElement=e,forElement:this.containerElement,offsetY:10,placement:"top"},t("span",{slot:"content"},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){var e,i,t;const r=Number((null===(e=this.input)||void 0===e?void 0:e.value)||0),o=Number((null===(i=this.input)||void 0===i?void 0:i.min)||0),a=(r-o)/(Number((null===(t=this.input)||void 0===t?void 0:t.max)||100)-o)*100;this.tooltipElement&&(this.tooltipElement.offsetX=(a/100-.5)*(this.containerElement.offsetWidth-20)),this.progressElement&&(this.progressElement.style.width=`${a}%`)}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return o(this)}};y([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),y([v()],k.prototype,"updatePosition",null),k.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input[type=range]){position:absolute;inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:calc(var(--gse-ui-rangeSlider-handle-height) / 2);margin-block-start:calc(-1 * (calc(var(--gse-ui-rangeSlider-handle-height) / 2) + var(--gse-ui-rangeSlider-bar-height)));margin-inline:0;-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-rangeSlider-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-rangeSlider-set-height);font-size:var(--gse-ui-rangeSlider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-rangeSlider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:6px;margin-inline:0;background:var(--gse-ui-rangeSlider-bar-default-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{block-size:var(--gse-ui-rangeSlider-bar-height);background-color:var(--gse-ui-rangeSlider-bar-selected-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin-block:0;margin-inline:var(--gux-spacing-medium) 0;font-family:var(--gse-ui-rangeSlider-label-text-fontFamily);font-size:var(--gse-ui-rangeSlider-label-text-fontSize);font-weight:var(--gse-ui-rangeSlider-label-text-fontWeight);line-height:var(--gse-ui-rangeSlider-label-text-lineHeight);text-align:end}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-form-field-label.gux-beside{inset-block-start:0}";export{k as gux_form_field_range}
@@ -1 +0,0 @@
1
- import{r as t,c as e,f as i,h as o,a as r}from"./p-COgvjwDR.js";import{O as n}from"./p-DGRFHar4.js";import{b as s}from"./p-D2nzPgXC.js";import{s as l}from"./p-BMRf5pjV.js";import{b as u}from"./p-Bg4q97BS.js";import{o as a}from"./p-Cb3FOYGS.js";import{t as d}from"./p-DKcDCy3c.js";import{c as g,s as h,g as c,a as f}from"./p-zrBw_m7x.js";import{O as x}from"./p-vOC0-qDq.js";import"./p-Cd4R0amv.js";import"./p-DjLdmWVU.js";var p={textInputResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown",numberSelected:"{numberSelected} selected",pressEnterToCreate:"Press Enter to create new option, {textInputValue}"},b=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const m=class{constructor(i){t(this,i),this.guxcreateoption=e(this,"guxcreateoption",7),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.hasCreate=!1,this.expanded=!1,this.textInput=""}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit()}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}focusSelectedItemAfterRender(t){t&&this.listboxElement&&u((()=>{this.hasTextInput()?this.textInputElement.focus():this.listboxElement.focus()})),!t&&this.textInputElement&&(this.textInput="",this.textInputElement.value="")}watchDisabled(t){t&&(this.expanded=!1)}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}getSelectedValues(){return Promise.resolve(g(this.value))}onKeydown(t){switch(t.key){case"Escape":return this.hasTextInput()&&document.activeElement===this.listboxElement?this.textInputElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.textInputElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,h(this.listboxElement)));case"Enter":return this.canCreateNewOption()&&this.isActiveElement()&&this.emitCreateOption(),void(this.expanded||this.isFilterable()||h(this.listboxElement));case" ":return void(this.expanded||this.isFilterable()||h(this.listboxElement))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),requestAnimationFrame((()=>{requestAnimationFrame((()=>i(this.root)))}))}onClearselected(t){t.stopPropagation(),this.updateValue(void 0),this.listboxElement&&(this.listboxElement.value=void 0),this.validateValue(this.value,this.listboxElement),this.fieldButtonElement.focus()}onCreatenewoption(t){t.stopPropagation(),this.emitCreateOption()}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t),this.isFilterable()&&(null==t?void 0:t.relatedTarget)&&!this.root.contains(null==t?void 0:t.relatedTarget)&&this.textInputElement.focus()}onClickOutside(){this.collapseListbox("noFocusChange")}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.hasCreate=!!this.root.querySelector("gux-create-option"))}async componentWillLoad(){d(this.root),this.i18n=await s(this.root,p),a(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.textInput=this.textInput)}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)?e.value=t:this.value=void 0:e&&(e.value=t)}hasTextInput(){return this.isFilterable()||this.hasCreate}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()}))}isFilterable(){return"custom"===this.filterType||"starts-with"===this.filterType}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}getOptionElementByValue(t){const e=Array.from(this.root.querySelectorAll("gux-option-multi")),i=g(t);return e.filter((t=>i.includes(t.value)))}fieldButtonClick(){this.expanded=!this.expanded}fieldButtonInputClick(){this.expanded||(this.expanded=!this.expanded)}filterInput(t){t.stopPropagation(),this.textInput=this.textInputElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.hasTextInput()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.hasTextInput()&&document.activeElement===this.listboxElement}emitCreateOption(){this.guxcreateoption.emit(this.textInput),this.textInput="",this.textInputElement.value=""}canCreateNewOption(){return this.hasCreate&&this.textInput&&!this.listboxElement.hasExactMatch}isActiveElement(){return document.activeElement===this.root}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){if("ArrowDown"===t.key)return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void h(this.listboxElement)}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,l(this.root,"input"),l(this.root,"change"))}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=c(this.listboxElement,t);if(i&&"custom"!==this.filterType){const t=f(i);return null==t?void 0:t.substring(e)}return""}}renderTargetDisplay(){return o("span",{class:"gux-placeholder"},this.getSrSelectedText(),this.getSelectedOptionText()||this.placeholder||this.i18n("noSelection"))}getSelectedOptionText(){const t=this.getSelectedOptionValueString();return!!t&&[t,o("span",{class:"gux-sr-only"},this.placeholder)]}getSelectedOptionValueString(){return this.getOptionElementByValue(this.value).map((t=>f(t))).join(", ")}getSrSelectedText(){const t=this.getOptionElementByValue(this.value);if(t.length)return o("span",{class:"gux-sr-only"},this.i18n("numberSelected",{numberSelected:t.length.toString()}))}getInputAriaLabel(){return this.canCreateNewOption()&&this.isActiveElement()?this.i18n("pressEnterToCreate",{textInputValue:this.textInput}):this.i18n("textInputResults")}selectAllPresent(){var t;return this.expanded&&!!(null===(t=this.listboxElement)||void 0===t?void 0:t.querySelector("gux-select-all"))}renderTag(){const t=g(this.value);if(t.length&&!this.selectAllPresent())return o("gux-dropdown-multi-tag",{disabled:this.disabled,"number-selected":t.length})}renderFilterInputField(){if(this.hasTextInput())return o("div",{class:"gux-field gux-input-field"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.textInput),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.textInput))),o("div",{class:"input-and-dropdown-button"},o("input",{onClick:this.fieldButtonInputClick.bind(this),placeholder:this.getSelectedOptionValueString()||this.placeholder||this.i18n("noSelection"),class:"gux-filter-input",type:"text","aria-label":this.getInputAriaLabel(),ref:t=>this.textInputElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),onFocus:()=>this.expanded=!0,disabled:this.disabled})))))}renderPopup(){return o("div",{slot:"popup",class:"gux-listbox-container"},o("slot",null))}renderTarget(){return o("div",{class:{"gux-target-container":!0,"gux-target-container-filterable":this.hasTextInput(),"gux-target-container-filterable-active":this.expanded&&this.hasTextInput(),"gux-target-container-not-filterable":!this.hasTextInput(),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:this.disabled,onClick:this.fieldButtonClick.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderTag(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},size:"small","screenreader-text":this.i18n("dropdown"),iconName:"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.hasTextInput())return o("span",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return[o("div",{key:"ad3d6cbd445fc2d5647b2024afed74712baf3792",class:"gux-dropdown-container"},o("gux-popup",{key:"5298497db14a996570661834e3c223438216e164",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup()))]}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["focusSelectedItemAfterRender"],disabled:["watchDisabled"],value:["watchValue"],textInput:["handleFilter"]}}};b([x({childList:!0,subtree:!0})],m.prototype,"onMutation",null),b([n({triggerEvents:"mousedown"})],m.prototype,"onClickOutside",null),m.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-dropdown-container{position:relative}.gux-error.gux-target-container-not-filterable .gux-field-button,.gux-error.gux-target-container-filterable{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-not-filterable .gux-field-button,.gux-disabled.gux-target-container-filterable{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-field,.gux-target-container-filterable{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-filterable,.gux-target-container-not-filterable .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-target-container-not-filterable .gux-field-button:hover,.gux-target-container-filterable:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-field.gux-input-field{block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{position:relative;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;overflow:hidden;text-overflow:ellipsis}.gux-field .gux-field-content .gux-filter .gux-sr-only,.gux-field .gux-field-content .gux-selected-option .gux-sr-only,.gux-field .gux-field-content .gux-placeholder .gux-sr-only{}.gux-field .gux-field-content .gux-filter .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-selected-option .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-placeholder .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.gux-field .gux-field-content .gux-filter{position:relative;block-size:100%;padding-inline-start:0}.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-input:placeholder-shown{text-overflow:ellipsis}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-filterable{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-filterable:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-filterable:focus-within:has(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-filterable.gux-target-container-filterable-active{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-filterable .gux-filter-input{background-color:inherit;border:none}.gux-target-container-filterable .gux-filter-input:focus{outline:none;border:none}.gux-target-container-filterable .gux-field-button{inline-size:auto;block-size:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-filterable .gux-field-button:focus{outline:none}.gux-target-container-not-filterable .gux-field-button{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-not-filterable .gux-field-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-not-filterable .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-not-filterable .gux-field-content .gux-placeholder{white-space:pre}.gux-listbox-container{box-sizing:border-box;margin:0}";export{m as gux_dropdown_multi}
@@ -1 +0,0 @@
1
- import{r,h as e}from"./p-COgvjwDR.js";const s=class{constructor(e){r(this,e)}render(){return e("slot",{key:"3c3232e7936c953ba4ec7c084a51deed16239d67"})}};export{s as gux_form_beta}
@@ -1 +0,0 @@
1
- import{r as e,f as r,h as t,a}from"./p-COgvjwDR.js";import{b as s}from"./p-D2nzPgXC.js";import{t as i}from"./p-DKcDCy3c.js";import"./p-Cd4R0amv.js";var o={breadcrumbs:"Breadcrumbs"};const d=class{constructor(r){e(this,r),this.accent="primary"}componentWillLoad(){i(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await s(this.root,o)}onSlotChange(){Array.from(this.root.children).forEach((e=>r(e)))}render(){return t("nav",{key:"f28644755d2c5053a1b7756621d2e0ddd076a64f","aria-label":this.i18n("breadcrumbs")},t("ol",{key:"d6e42de86f1addddcb45b08005085e615fcebc00"},t("slot",{key:"be51087d4684d64424a91de44e3d19fe2eeeb6f6",onSlotchange:this.onSlotChange.bind(this)})))}get root(){return a(this)}};d.style="ol{display:flex;flex-direction:row;flex-wrap:wrap;place-content:flex-start flex-start;align-items:center;padding:0;margin:0;list-style:none}";export{d as gux_breadcrumbs}