genesys-spark-components 4.168.2 → 4.169.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 (566) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  2. package/dist/cjs/{get-valid-timezone-O9sz5YqE.js → get-valid-timezone-CSHAtHhz.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  20. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  21. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  23. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  30. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  34. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  39. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  41. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  49. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  51. package/dist/cjs/{gux-form-field-container-ovgsVCeB.js → gux-form-field-container-C2fksqQG.js} +1 -1
  52. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
  53. package/dist/cjs/{gux-form-field-error-DUfMr6ry.js → gux-form-field-error-Co9MyJTY.js} +1 -1
  54. package/dist/cjs/{gux-form-field-fieldset-container-CdB9rfiv.js → gux-form-field-fieldset-container-fK6eDhMo.js} +1 -1
  55. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
  56. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  57. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  58. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  59. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
  60. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  61. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
  62. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  63. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  64. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  65. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  66. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  67. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  68. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  69. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
  70. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  76. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +22 -10
  77. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  83. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  92. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  101. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  105. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  106. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  108. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  110. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
  115. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
  117. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
  118. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
  119. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
  121. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  123. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  125. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  128. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  133. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  134. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  135. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  136. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  141. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  142. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  144. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  145. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  146. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  147. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  148. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  149. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  151. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  152. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
  153. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  154. package/dist/cjs/gux-table.cjs.entry.js +3 -3
  155. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  156. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  157. package/dist/cjs/gux-tag.cjs.entry.js +3 -3
  158. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  160. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  161. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  162. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  163. package/dist/cjs/gux-toast.cjs.entry.js +2 -2
  164. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  165. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  166. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  167. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  168. package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
  169. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  170. package/dist/cjs/{index-MzLSa5-6.js → index-Cyq6hpEg.js} +1 -1
  171. package/dist/cjs/{index-DfriyRbi.js → index-RakV3lKc.js} +1 -1
  172. package/dist/cjs/loader.cjs.js +2 -2
  173. package/dist/cjs/{on-click-outside-tA-29zc5.js → on-click-outside-D-W-7XQI.js} +1 -1
  174. package/dist/cjs/{on-mutation-CMD70X_L.js → on-mutation-Bo4xtasO.js} +1 -1
  175. package/dist/cjs/{on-resize-CxnTN0ML.js → on-resize-C3GFY0VI.js} +1 -1
  176. package/dist/cjs/{usage-DUmPb0-u.js → usage-vHxCbEFi.js} +1 -1
  177. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.css +6 -0
  178. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +38 -3
  179. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.common.js +68 -0
  180. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.common.js +52 -0
  181. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.common.js +68 -0
  182. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.common.js +96 -0
  183. package/dist/collection/components/stable/gux-table/tests/gux-table.common.js +162 -0
  184. package/dist/esm/genesys-webcomponents.js +3 -3
  185. package/dist/esm/{get-valid-timezone-CHniGDUw.js → get-valid-timezone-D5Ek3Dxm.js} +1 -1
  186. package/dist/esm/gux-accordion-section.entry.js +1 -1
  187. package/dist/esm/gux-accordion.entry.js +2 -2
  188. package/dist/esm/gux-action-button.entry.js +4 -4
  189. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  190. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  191. package/dist/esm/gux-all-row-select.entry.js +2 -2
  192. package/dist/esm/gux-announce-beta.entry.js +2 -2
  193. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  194. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  195. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  196. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  197. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  198. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  199. package/dist/esm/gux-badge.entry.js +4 -4
  200. package/dist/esm/gux-blank-state.entry.js +3 -3
  201. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  202. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  203. package/dist/esm/gux-button-multi.entry.js +3 -3
  204. package/dist/esm/gux-button-slot.entry.js +2 -2
  205. package/dist/esm/gux-button_2.entry.js +3 -3
  206. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  207. package/dist/esm/gux-calendar.entry.js +3 -3
  208. package/dist/esm/gux-card.entry.js +2 -2
  209. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  210. package/dist/esm/gux-column-manager.entry.js +3 -3
  211. package/dist/esm/gux-content-search.entry.js +3 -3
  212. package/dist/esm/gux-context-menu.entry.js +4 -4
  213. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  214. package/dist/esm/gux-create-option.entry.js +2 -2
  215. package/dist/esm/gux-cta-group.entry.js +1 -1
  216. package/dist/esm/gux-date-beta.entry.js +4 -4
  217. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  218. package/dist/esm/gux-datepicker.entry.js +4 -4
  219. package/dist/esm/gux-day-beta.entry.js +2 -2
  220. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  221. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  222. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  223. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  224. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  225. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  226. package/dist/esm/gux-file-list-item.entry.js +3 -3
  227. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  228. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  229. package/dist/esm/gux-form-beta.entry.js +1 -1
  230. package/dist/esm/gux-form-description.entry.js +1 -1
  231. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  232. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  233. package/dist/esm/gux-form-field-color.entry.js +5 -5
  234. package/dist/esm/{gux-form-field-container-BUktnXvr.js → gux-form-field-container-BL6oHlv6.js} +1 -1
  235. package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
  236. package/dist/esm/{gux-form-field-error-Dtf-QIJY.js → gux-form-field-error-CEfR5M5J.js} +1 -1
  237. package/dist/esm/{gux-form-field-fieldset-container-C9xk_bw_.js → gux-form-field-fieldset-container-DoqlAB18.js} +1 -1
  238. package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
  239. package/dist/esm/gux-form-field-file.entry.js +5 -5
  240. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  241. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  242. package/dist/esm/gux-form-field-number_2.entry.js +7 -7
  243. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  244. package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
  245. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  246. package/dist/esm/gux-form-field-range.entry.js +6 -6
  247. package/dist/esm/gux-form-field-search.entry.js +5 -5
  248. package/dist/esm/gux-form-field-select.entry.js +5 -5
  249. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  250. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  251. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  252. package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
  253. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  254. package/dist/esm/gux-form-footer.entry.js +2 -2
  255. package/dist/esm/gux-form-heading.entry.js +1 -1
  256. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  257. package/dist/esm/gux-icon.entry.js +2 -2
  258. package/dist/esm/gux-inline-alert.entry.js +3 -3
  259. package/dist/esm/gux-inline-dropdown-beta.entry.js +22 -10
  260. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  261. package/dist/esm/gux-link-beta.entry.js +2 -2
  262. package/dist/esm/gux-list-divider.entry.js +1 -1
  263. package/dist/esm/gux-list-item.entry.js +1 -1
  264. package/dist/esm/gux-list.entry.js +2 -2
  265. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  266. package/dist/esm/gux-loading-message.entry.js +2 -2
  267. package/dist/esm/gux-menu-option.entry.js +1 -1
  268. package/dist/esm/gux-menu.entry.js +1 -1
  269. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  270. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  271. package/dist/esm/gux-modal.entry.js +2 -2
  272. package/dist/esm/gux-month-calendar.entry.js +2 -2
  273. package/dist/esm/gux-month-list_2.entry.js +1 -1
  274. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  275. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  276. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  277. package/dist/esm/gux-option-icon.entry.js +1 -1
  278. package/dist/esm/gux-option-multi.entry.js +2 -2
  279. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  280. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  281. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  282. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  283. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  284. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  285. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  286. package/dist/esm/gux-pagination.entry.js +2 -2
  287. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  288. package/dist/esm/gux-popover-beta.entry.js +3 -3
  289. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  290. package/dist/esm/gux-popover-list.entry.js +3 -3
  291. package/dist/esm/gux-popup.entry.js +1 -1
  292. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  293. package/dist/esm/gux-radial-loading.entry.js +3 -3
  294. package/dist/esm/gux-radial-progress.entry.js +2 -2
  295. package/dist/esm/gux-rating.entry.js +2 -2
  296. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  297. package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
  298. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  299. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  300. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  301. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  302. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  303. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  304. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  305. package/dist/esm/gux-row-select.entry.js +2 -2
  306. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  307. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  308. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  309. package/dist/esm/gux-select-all.entry.js +2 -2
  310. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  311. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  312. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  313. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  314. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  315. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  316. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  317. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  318. package/dist/esm/gux-sort-control.entry.js +3 -3
  319. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  320. package/dist/esm/gux-step-title.entry.js +2 -2
  321. package/dist/esm/gux-step.entry.js +2 -2
  322. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  323. package/dist/esm/gux-submenu.entry.js +1 -1
  324. package/dist/esm/gux-switch-item.entry.js +1 -1
  325. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  326. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  327. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  328. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  329. package/dist/esm/gux-tab-list.entry.js +3 -3
  330. package/dist/esm/gux-tab-panel.entry.js +1 -1
  331. package/dist/esm/gux-tab.entry.js +1 -1
  332. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  333. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  334. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  335. package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
  336. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  337. package/dist/esm/gux-table.entry.js +3 -3
  338. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  339. package/dist/esm/gux-tabs.entry.js +2 -2
  340. package/dist/esm/gux-tag.entry.js +3 -3
  341. package/dist/esm/gux-text-highlight.entry.js +2 -2
  342. package/dist/esm/gux-time-beta.entry.js +4 -4
  343. package/dist/esm/gux-time-picker.entry.js +4 -4
  344. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  345. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  346. package/dist/esm/gux-toast.entry.js +2 -2
  347. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  348. package/dist/esm/gux-toggle.entry.js +3 -3
  349. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  350. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  351. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  352. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  353. package/dist/esm/index-Gxc7TbJn.js +2675 -0
  354. package/dist/esm/{index-RRoaNVqK.js → index-LAJGaQhj.js} +1 -1
  355. package/dist/esm/loader.js +3 -3
  356. package/dist/esm/{on-click-outside-CNaeI4Gs.js → on-click-outside-D98SCGUd.js} +1 -1
  357. package/dist/esm/{on-mutation-sLxucjSd.js → on-mutation-CAIX2BXB.js} +1 -1
  358. package/dist/esm/{on-resize-MRnvd4Hj.js → on-resize-BZvRLRht.js} +1 -1
  359. package/dist/esm/{usage-Diep8-qk.js → usage-DPbMWlWt.js} +1 -1
  360. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  361. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  362. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  363. package/dist/genesys-webcomponents/{p-0ffedb89.entry.js → p-00d2ab1a.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-5144e99a.entry.js → p-01cc91d7.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-685f8a2a.entry.js → p-02c84d66.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/p-0530c561.entry.js +1 -0
  367. package/dist/genesys-webcomponents/p-0ceaed58.entry.js +1 -0
  368. package/dist/genesys-webcomponents/{p-bc057889.entry.js → p-176c95ba.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-1d739b07.entry.js → p-1795622b.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-29aa7948.entry.js → p-18806b0a.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-73b0a361.entry.js → p-1c337a32.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-da257656.entry.js → p-1c5ac769.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/{p-352518d0.entry.js → p-1da286f4.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-ae8d74f3.entry.js → p-1e2f2c32.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-6d8ea7b7.entry.js → p-1fa0d59c.entry.js} +1 -1
  376. package/dist/genesys-webcomponents/{p-d5a60567.entry.js → p-205957ab.entry.js} +1 -1
  377. package/dist/genesys-webcomponents/{p-07d529ac.entry.js → p-26b90f93.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-e5b65ecf.entry.js → p-277b61bd.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-c1eff9b1.entry.js → p-281523ce.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-a205be8b.entry.js → p-28196bd2.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/p-298b025a.entry.js +1 -0
  382. package/dist/genesys-webcomponents/{p-e9a197d1.entry.js → p-2a4722ba.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/{p-1a1c3736.entry.js → p-2c35bd6d.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-c646764b.entry.js → p-2c360827.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-2b52bf22.entry.js → p-2e6d85ae.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-8b1c0c40.entry.js → p-2f0c2dce.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/p-32cebf63.entry.js +1 -0
  388. package/dist/genesys-webcomponents/{p-056f983c.entry.js → p-332fb57d.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-e4b0a440.entry.js → p-354afac0.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-90b07e89.entry.js → p-3640f7d8.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-aa50d2eb.entry.js → p-374c4cbf.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-01deb970.entry.js → p-38f8f734.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-9bbcc8f2.entry.js → p-3ae51fe8.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-df62c8ed.entry.js → p-3aecd272.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-f5217748.entry.js → p-3d818448.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-e2ad8e3d.entry.js → p-3e0d6697.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-b49a7b57.entry.js → p-3e565438.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-5067d9d6.entry.js → p-40b6d4e9.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-45489c3f.entry.js → p-4238aa29.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-e93f8524.entry.js → p-44283d3d.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-f462015d.entry.js → p-4a4626a7.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-79ebaee5.entry.js → p-4ef3ff84.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/p-4f655ca2.entry.js +1 -0
  404. package/dist/genesys-webcomponents/{p-db630009.entry.js → p-53c56604.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-41741554.entry.js → p-54cd663c.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-72dae430.entry.js → p-57ec87cc.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/p-5ae8c76a.entry.js +1 -0
  408. package/dist/genesys-webcomponents/{p-95d75801.entry.js → p-5bdd7966.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-d0a1e0bf.entry.js → p-5bfe80fd.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/p-5dc5c21d.entry.js +1 -0
  411. package/dist/genesys-webcomponents/{p-553ef5a4.entry.js → p-61a99eef.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-7b41155c.entry.js → p-61c82f12.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-e5c5edf2.entry.js → p-638315c2.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-75327845.entry.js → p-63f0db9d.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-9f08620b.entry.js → p-66dbda6f.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-71135bbd.entry.js → p-69b72efb.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-442f97a0.entry.js → p-69ed6ec7.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-683549ee.entry.js → p-6a892248.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-feae9cf4.entry.js → p-6def9bf6.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-a860a6a4.entry.js → p-6f94e567.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-00651040.entry.js → p-721c929c.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-61856a4a.entry.js → p-72ace26e.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-2afcfba2.entry.js → p-73f102ef.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-12843ded.entry.js → p-76d6e768.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/p-79dd2448.entry.js +1 -0
  426. package/dist/genesys-webcomponents/{p-a9ddf3c5.entry.js → p-7a0ae1b5.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-205ff21b.entry.js → p-7a0e9db2.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-4fe80ec6.entry.js → p-7b952227.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-aec56e64.entry.js → p-7b975a4d.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-1bd402b6.entry.js → p-7bd6ae3d.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-184d39c0.entry.js → p-7c3d4a7b.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-b23ab65e.entry.js → p-7e1c110a.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-fbf8d4e2.entry.js → p-7fe14722.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-e36059c6.entry.js → p-80fbd5c3.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-8d533169.entry.js → p-82a036b9.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-68155285.entry.js → p-82e984a3.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-a7533530.entry.js → p-8406f71c.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-b226ab9e.entry.js → p-880ef701.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-cfe3f34d.entry.js → p-88586d0d.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-5a4371de.entry.js → p-8949b647.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-0b047b0e.entry.js → p-8a7fbc1a.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-90adf480.entry.js → p-8aff55b1.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-22bb2add.entry.js → p-8c318467.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-8256120b.entry.js → p-8c3bb0b5.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/p-91992e66.entry.js +1 -0
  446. package/dist/genesys-webcomponents/{p-e50ad965.entry.js → p-91c81ea6.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-1c884bb2.entry.js → p-93543ccc.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-a526cbb2.entry.js → p-939a1c55.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-6fbd191b.entry.js → p-94e07800.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-1d32b0ab.entry.js → p-950efa71.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-45247d20.entry.js → p-9516cd91.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-dc4bda35.entry.js → p-95b0bd87.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-3afa2266.entry.js → p-97498aae.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-cb5ad564.entry.js → p-975797d3.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-abde6875.entry.js → p-982e8cb3.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-f92d7234.entry.js → p-984b0850.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-74383429.entry.js → p-9b599ded.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-31a31a1a.entry.js → p-9cd641ea.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-f063ea9b.entry.js → p-9d192a98.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-e3a157b0.entry.js → p-9e5a4d2a.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-f14f2654.entry.js → p-9e5be253.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-ebc77359.entry.js → p-9fe2f5eb.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-DYzt3wTZ.js → p-Bg4ncddC.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-CUmeOKr7.js → p-CD81sCHL.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-BecYkX6C.js → p-CaTVn8Dx.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-Bslt2WHp.js → p-CnEdQlAj.js} +1 -1
  467. package/dist/genesys-webcomponents/p-Cz8dogIw.js +1 -0
  468. package/dist/genesys-webcomponents/{p-nRW1nhY0.js → p-DL9G9XmO.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-Diep8-qk.js → p-DPbMWlWt.js} +1 -1
  470. package/dist/genesys-webcomponents/p-Gxc7TbJn.js +2 -0
  471. package/dist/genesys-webcomponents/{p-Dr7ZHFLr.js → p-KFlEPXXI.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-7e083daa.entry.js → p-a0973463.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-31a4b35c.entry.js → p-a2a7b0a4.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-2bdf33fe.entry.js → p-a41e677c.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-e15d71e8.entry.js → p-a42d6879.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-76c32e9b.entry.js → p-a8e13746.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-a3715f08.entry.js → p-a965838e.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-5fa06274.entry.js → p-a9cd689c.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-7dfbe9ec.entry.js → p-ac7a58dd.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-ebcfc902.entry.js → p-ae244aab.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-76797e7c.entry.js → p-af7b3b21.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-08000fdf.entry.js → p-b0ac336f.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-a709a088.entry.js → p-b1d7ce61.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-2ec1e00b.entry.js → p-b50843ce.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/p-b64a7393.entry.js +1 -0
  486. package/dist/genesys-webcomponents/{p-6240fa86.entry.js → p-b846daa2.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/p-b8823ede.entry.js +1 -0
  488. package/dist/genesys-webcomponents/{p-4755b068.entry.js → p-b923a046.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-ce77c6fd.entry.js → p-bb50c23c.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-25220769.entry.js → p-bd231b0b.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-9b669091.entry.js → p-be20112c.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-97c6be51.entry.js → p-be23ccea.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-52f2b726.entry.js → p-bed9ab4d.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-c01f66b7.entry.js → p-bf1a658d.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/p-bf3bd4f2.entry.js +1 -0
  496. package/dist/genesys-webcomponents/{p-25913d7e.entry.js → p-bffabd04.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-1e5b57a5.entry.js → p-c0882e5d.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-a3af60c5.entry.js → p-c2da24ee.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-95f20c79.entry.js → p-c42e19e2.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-4ee00112.entry.js → p-c93d18bb.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-b7a39b54.entry.js → p-c9594cb4.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/p-ca22c471.entry.js +1 -0
  503. package/dist/genesys-webcomponents/{p-0237f06e.entry.js → p-cea76dbf.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-b926185d.entry.js → p-cf5ac8b8.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-ec81f466.entry.js → p-d16cc0c1.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-cc985769.entry.js → p-d27efa3f.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-b8fbf51d.entry.js → p-d4cda218.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-a5887af2.entry.js → p-d6da836a.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-cda6b0ba.entry.js → p-d846b50d.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-d736ec8e.entry.js → p-d9ce2da6.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-42cc8b11.entry.js → p-da4b0589.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/p-db0ce25e.entry.js +1 -0
  513. package/dist/genesys-webcomponents/p-ddbc29f9.entry.js +1 -0
  514. package/dist/genesys-webcomponents/{p-c79b5c9d.entry.js → p-df307027.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-781cf440.entry.js → p-dfd27e92.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-d5a33ade.entry.js → p-e0c940a2.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-83cf5d6d.entry.js → p-e21f0911.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-bcabd248.entry.js → p-e263efc4.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-52e17752.entry.js → p-e38db9d1.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-08c1b379.entry.js → p-e40ec4da.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-a3538613.entry.js → p-e587fe3f.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-653c1ba7.entry.js → p-e717659e.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-3ea713cb.entry.js → p-ea3a05dd.entry.js} +2 -2
  524. package/dist/genesys-webcomponents/{p-070e9052.entry.js → p-ea71b32e.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/p-ecabf20f.entry.js +1 -0
  526. package/dist/genesys-webcomponents/{p-5bb32244.entry.js → p-efe49168.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-a0c786b2.entry.js → p-f03ebfa3.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-30e2dae0.entry.js → p-f3cf95fd.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-32135f97.entry.js → p-f93935f2.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-29ecbce3.entry.js → p-f9560342.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-7aebdeae.entry.js → p-fa4ecec6.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-911df5c0.entry.js → p-fa757cb1.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-e24341fc.entry.js → p-fa859b77.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-30da6a4c.entry.js → p-fdc73a26.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-bad1038c.entry.js → p-ff324b64.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/p-tf-B0dc6.js +1 -0
  537. package/dist/stencil-wrapper.js +1 -1
  538. package/dist/types/components/beta/gux-inline-dropdown/gux-inline-dropdown.d.ts +2 -0
  539. package/dist/types/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.common.d.ts +4 -0
  540. package/dist/types/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.common.d.ts +4 -0
  541. package/dist/types/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.common.d.ts +4 -0
  542. package/dist/types/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.common.d.ts +4 -0
  543. package/dist/types/components/stable/gux-table/tests/gux-table.common.d.ts +12 -0
  544. package/dist/types/components.d.ts +8 -0
  545. package/dist/types/stencil-wrapper.d.ts +1 -1
  546. package/package.json +1 -1
  547. package/dist/esm/index-C6bJEG4l.js +0 -2675
  548. package/dist/genesys-webcomponents/p-05a4c0e6.entry.js +0 -1
  549. package/dist/genesys-webcomponents/p-0b11cde3.entry.js +0 -1
  550. package/dist/genesys-webcomponents/p-0b9bc847.entry.js +0 -1
  551. package/dist/genesys-webcomponents/p-1e8a3787.entry.js +0 -1
  552. package/dist/genesys-webcomponents/p-28983253.entry.js +0 -1
  553. package/dist/genesys-webcomponents/p-3871b57d.entry.js +0 -1
  554. package/dist/genesys-webcomponents/p-61bac98b.entry.js +0 -1
  555. package/dist/genesys-webcomponents/p-7f4fda1e.entry.js +0 -1
  556. package/dist/genesys-webcomponents/p-88d4b125.entry.js +0 -1
  557. package/dist/genesys-webcomponents/p-9748da0a.entry.js +0 -1
  558. package/dist/genesys-webcomponents/p-Bd56gXhq.js +0 -1
  559. package/dist/genesys-webcomponents/p-BpUiAhFk.js +0 -1
  560. package/dist/genesys-webcomponents/p-C6bJEG4l.js +0 -2
  561. package/dist/genesys-webcomponents/p-a13a529e.entry.js +0 -1
  562. package/dist/genesys-webcomponents/p-bc57dafc.entry.js +0 -1
  563. package/dist/genesys-webcomponents/p-bfcc1136.entry.js +0 -1
  564. package/dist/genesys-webcomponents/p-c3fd23ee.entry.js +0 -1
  565. package/dist/genesys-webcomponents/p-e96783a6.entry.js +0 -1
  566. package/dist/genesys-webcomponents/p-f1d15d9e.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as e,h as i}from"./p-C6bJEG4l.js";import{a as s,c as a,o as n,f as o,e as d,s as c,h}from"./p-C8aV-TzO.js";const p=class{constructor(i){t(this,i),this.internalexpanded=e(this,"internalexpanded",7),this.internalcollapsed=e(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1,this.inline=!1}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth,e=this.inline;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),d({apply({rects:i,elements:s}){t&&!e?Object.assign(s.floating.style,{minWidth:`${i.reference.width}px`}):e||Object.assign(s.floating.style,{width:`${i.reference.width}px`})}}),c(),h()]}).then((({x:t,y:e,middlewareData:i})=>{const{referenceHidden:s}=i.hide;isNaN(t)||Object.assign(this.popupElementContainer.style,{left:`${t}px`}),isNaN(e)||Object.assign(this.popupElementContainer.style,{top:`${e}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"7af8b3d681562a9ebf0a607f9575a24af6517ca2",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:t=>this.targetElementContainer=t},i("slot",{key:"f48563e5b4e7cc60717d36db7c642dfe09eacd14",name:"target"}),i("div",{key:"775358f21c52b85a44c477c6f47eef0ad63e0b55",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},i("slot",{key:"a4c4fbafe9520d9f1abfbedb1e69d43c72dcf80f",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};p.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;inline-size:max-content;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip{}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{p as gux_popup}
1
+ import{r as t,c as e,h as i}from"./p-Gxc7TbJn.js";import{a as s,c as a,o as n,f as o,e as c,s as d,h}from"./p-C8aV-TzO.js";const p=class{constructor(i){t(this,i),this.internalexpanded=e(this,"internalexpanded",7),this.internalcollapsed=e(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1,this.inline=!1}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth,e=this.inline;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),c({apply({rects:i,elements:s}){t&&!e?Object.assign(s.floating.style,{minWidth:`${i.reference.width}px`}):e||Object.assign(s.floating.style,{width:`${i.reference.width}px`})}}),d(),h()]}).then((({x:t,y:e,middlewareData:i})=>{const{referenceHidden:s}=i.hide;isNaN(t)||Object.assign(this.popupElementContainer.style,{left:`${t}px`}),isNaN(e)||Object.assign(this.popupElementContainer.style,{top:`${e}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"7af8b3d681562a9ebf0a607f9575a24af6517ca2",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:t=>this.targetElementContainer=t},i("slot",{key:"f48563e5b4e7cc60717d36db7c642dfe09eacd14",name:"target"}),i("div",{key:"775358f21c52b85a44c477c6f47eef0ad63e0b55",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},i("slot",{key:"a4c4fbafe9520d9f1abfbedb1e69d43c72dcf80f",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};p.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;inline-size:max-content;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip{}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{p as gux_popup}
@@ -1 +1 @@
1
- import{r as e,f as i,h as t,H as r,a as o}from"./p-C6bJEG4l.js";import{c as a,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-Bd56gXhq.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 h}from"./p-nRW1nhY0.js";import{a as f,G as p}from"./p-Bslt2WHp.js";import{g as c,v as x,a as m}from"./p-DHLxhscH.js";import{t as b}from"./p-Diep8-qk.js";import{O as v}from"./p-BpUiAhFk.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;"Tab"===e.key?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)):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"),b(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:"31f01769550d411a4713273f21460ef8a17bfe9b",class:{"gux-active":this.active}},t(f,{key:"05666e5c2da8a83fc5dbb5e4c74fc6cebafe1873",labelPosition:this.computedLabelPosition},t(p,{key:"944a961259a0ba609321ed18d390643356f46e0b",required:this.required,position:this.computedLabelPosition},t("slot",{key:"251d8d4585e9341a219d6471e6094097e30db03a",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"b2254578b8fc410c9ad118c18c3fae319fcaf213",variant:this.indicatorMark,required:this.required}),t("slot",{key:"526d1c560163c94a3cd7773fc01e06121c96782f",name:"label-info"})),t("div",{key:"607cd1107fe1b1be5efaf086ce488d7754656412",class:"gux-input-and-error-container"},this.renderRangeInput(),t(d,{key:"46a6d1cde69ee6bc024dd7d6b5c71a936573464a",show:this.hasError},t("slot",{key:"e1166d2a1b2ecc7aa68c6fee47c2ce3515016ec1",name:"error"})),t(h,{key:"bc7b2c84530ff62e5eb9e8163b83139409547e76",show:!this.hasError&&this.hasHelp},t("slot",{key:"fbb856c477c50e0fafdaa74abc8d62dab8a70410",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=m(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled},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 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(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
+ import{r as e,f as i,h as t,H as r,a as o}from"./p-Gxc7TbJn.js";import{c as a,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-tf-B0dc6.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 h}from"./p-DL9G9XmO.js";import{a as f,G as c}from"./p-CnEdQlAj.js";import{g as p,v as x,a as m}from"./p-DHLxhscH.js";import{t as b}from"./p-DPbMWlWt.js";import{O as v}from"./p-Cz8dogIw.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;"Tab"===e.key?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)):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"),b(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:"31f01769550d411a4713273f21460ef8a17bfe9b",class:{"gux-active":this.active}},t(f,{key:"05666e5c2da8a83fc5dbb5e4c74fc6cebafe1873",labelPosition:this.computedLabelPosition},t(c,{key:"944a961259a0ba609321ed18d390643356f46e0b",required:this.required,position:this.computedLabelPosition},t("slot",{key:"251d8d4585e9341a219d6471e6094097e30db03a",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"b2254578b8fc410c9ad118c18c3fae319fcaf213",variant:this.indicatorMark,required:this.required}),t("slot",{key:"526d1c560163c94a3cd7773fc01e06121c96782f",name:"label-info"})),t("div",{key:"607cd1107fe1b1be5efaf086ce488d7754656412",class:"gux-input-and-error-container"},this.renderRangeInput(),t(d,{key:"46a6d1cde69ee6bc024dd7d6b5c71a936573464a",show:this.hasError},t("slot",{key:"e1166d2a1b2ecc7aa68c6fee47c2ce3515016ec1",name:"error"})),t(h,{key:"bc7b2c84530ff62e5eb9e8163b83139409547e76",show:!this.hasError&&this.hasHelp},t("slot",{key:"fbb856c477c50e0fafdaa74abc8d62dab8a70410",name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=p(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=m(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled},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 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(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}
@@ -0,0 +1 @@
1
+ import{r as s,h as t,H as a,a as e}from"./p-Gxc7TbJn.js";import{l as o,n as r,f as i,p as c,b as n,a as l}from"./p-BebXX5IS.js";import{t as d}from"./p-DPbMWlWt.js";const m=["gux-list-item"],p=class{constructor(t){s(this,t)}componentWillLoad(){d(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),c(this.root,m);break;case"Home":s.preventDefault(),i(this.root,m);break;case"ArrowDown":s.preventDefault(),r(this.root,m);break;case"End":s.preventDefault(),o(this.root,m)}}async guxFocusFirstItem(){i(this.root,m)}async guxFocusItemById(s){n(this.root,m,s)}async guxFocusItemByClosestId(s){l(this.root,m,s)}async guxFocusLastItem(){o(this.root,m)}render(){return t(a,{key:"769e96008978c3c427f6ac6657289d3a86167b45",tabindex:"-1",role:"list"},t("slot",{key:"d8130d172a4589d8dc362fef2299fbc136119598"}))}get root(){return e(this)}};p.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{p as gux_list}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,a as i}from"./p-C6bJEG4l.js";import{O as a}from"./p-CUmeOKr7.js";import{w as o}from"./p-kLXvN2m9.js";import{a as r}from"./p-Bg4q97BS.js";import{t as n}from"./p-Diep8-qk.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){t(this,s),this.open=e(this,"open",7),this.close=e(this,"close",7),this.disabled=!1,this.accent="secondary",this.guxAriaLabel="",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"Enter":case"ArrowDown":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){r((()=>{this.listElement.guxFocusLastItem()}))}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"d0471123ebbef7706d65e54444eed83bdc12e8c5",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"b0518abc3f62574c92e51bb7aef6d2a63796084e",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"cfbb5ae0ab92a8b73a455fc98eb2e2169bcb625f",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"1e632b8a5081b7baf0ab68faa19ba48de2131844",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.guxAriaLabel},s("slot",{key:"6f41114c448e2e3bfa155d0f3650e6eea54eadb4",name:"title"}),s("gux-icon",{key:"6d16800f1259010172329c1095a654ac273cb8be",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"0ceaafa916a6334c13245b6127b88958f0bcf9d7",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"e131b5fb0eaae56f8f2a811f14cb28feb7865430",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"006b0c69edb184c8259a1dc3bb2366c9aa6eacb2"}))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,s,i){var a,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,s,r):a(e,s))||r);o>3&&r&&Object.defineProperty(e,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;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_button_multi}
1
+ import{r as t,c as e,h as s,a as i}from"./p-Gxc7TbJn.js";import{O as a}from"./p-CD81sCHL.js";import{w as o}from"./p-kLXvN2m9.js";import{a as r}from"./p-Bg4q97BS.js";import{t as n}from"./p-DPbMWlWt.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){t(this,s),this.open=e(this,"open",7),this.close=e(this,"close",7),this.disabled=!1,this.accent="secondary",this.guxAriaLabel="",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"Enter":case"ArrowDown":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){r((()=>{this.listElement.guxFocusLastItem()}))}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"d0471123ebbef7706d65e54444eed83bdc12e8c5",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"b0518abc3f62574c92e51bb7aef6d2a63796084e",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"cfbb5ae0ab92a8b73a455fc98eb2e2169bcb625f",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"1e632b8a5081b7baf0ab68faa19ba48de2131844",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.guxAriaLabel},s("slot",{key:"6f41114c448e2e3bfa155d0f3650e6eea54eadb4",name:"title"}),s("gux-icon",{key:"6d16800f1259010172329c1095a654ac273cb8be",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"0ceaafa916a6334c13245b6127b88958f0bcf9d7",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"e131b5fb0eaae56f8f2a811f14cb28feb7865430",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"006b0c69edb184c8259a1dc3bb2366c9aa6eacb2"}))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,s,i){var a,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,s,r):a(e,s))||r);o>3&&r&&Object.defineProperty(e,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;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_button_multi}
@@ -1 +1 @@
1
- import{r as t,c as e,h as o,a as n}from"./p-C6bJEG4l.js";import{t as i}from"./p-Diep8-qk.js";import{b as r}from"./p-BecYkX6C.js";import{a}from"./p-De1NnCmO.js";import{f as s}from"./p-JHLuJ8Pb.js";import"./p-Cd4R0amv.js";var u={eraseBtnAria:"Clear search text",navigateNextBtn:"Highlight next match",navigatePreviousBtn:"Highlight previous match",totalMatches:"{currentMatch, number} of {matchCount, number}",clear:"Clear"};const c=class{constructor(o){t(this,o),this.guxcurrentmatchchanged=e(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0}async clear(){this.disabled||(this.matchCount=0,this.currentMatch=0,this.value="",this.resetInputSlottedElement(),this.emitCurrentMatchChanged(),this.inputSlottedElement.focus())}async componentWillLoad(){i(this.root),this.i18n=await r(this.root,u),this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=a(this.inputSlottedElement,(t=>{this.disabled=t})),this.inputSlottedElement.addEventListener("input",(t=>this.onInput(t)))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o("div",{key:"ef4715513267f640e3146f356942998a1d7f9e8e",class:{"gux-content-search":!0,"gux-disabled":this.disabled},onClick:()=>s(this.inputSlottedElement)},o("div",{key:"2f2a5f82d513ca4c1c09e74c83854986a85806f7",class:"gux-search-icon"},o("gux-icon",{key:"d0dffb2cfa01e19729d43c4f8560288ca97c3af0",size:"small",decorative:!0,"icon-name":"fa/magnifying-glass-regular"})),o("slot",{key:"830f23a720ef5d477402fb6666da5b9503c453e7"}),this.getNavigationPanel())}getNavigationPanel(){if(this.showNavigationPanel()){const t=this.disableNavigationPanel();return o("div",{class:"gux-content-control-panel"},o("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":t},"aria-disabled":t.toString()},o("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":t}},this.matchCountResult()),o("div",{class:"gux-navigation-buttons"},o("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:()=>this.previousClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-up-solid",size:"small"})),o("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:()=>this.nextClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-down-solid",size:"small"}))),o("div",{class:"gux-navigation-divider"})),o("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.i18n("clear"),onClick:()=>{this.clear()},disabled:t},o("gux-icon",{"icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"})))}return null}matchCountResult(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}showNavigationPanel(){return""!==this.value}disableNavigationPanel(){return this.disabled||this.getNormalizedMatchCount()<=0}getNormalizedMatchCount(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}getNormalizedCurrentMatch(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}resetInputSlottedElement(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}nextClick(){this.disableNavigationPanel()||(this.currentMatch=this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?1:this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}previousClick(){this.disableNavigationPanel()||(this.currentMatch=1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.getNormalizedMatchCount():this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}onInput(t){this.value=t.target.value}emitCurrentMatchChanged(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}get root(){return n(this)}};c.style=":host{display:inline-block;inline-size:var(--gse-ui-search-width);min-inline-size:var(--gse-ui-search-width)}::slotted(input[disabled]){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(input){box-sizing:border-box;flex-shrink:1;flex-basis:100%;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-search-counter-text-fontFamily);font-size:var(--gse-ui-search-counter-text-fontSize);font-weight:var(--gse-ui-search-counter-text-fontWeight);line-height:var(--gse-ui-search-counter-text-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:0;border-radius:0}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-populatedColor)}::slotted(input).gux-focused,::slotted(input):focus,::slotted(input):focus-visible{outline:none;border:0;box-shadow:none}.gux-content-search{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-formControl-input-gap);inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-textarea-padding);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-content-search gux-truncate{display:flex;align-items:center}.gux-content-search.gux-disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search:focus-visible,.gux-content-search: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-content-search:not(:disabled):not(.gux-disabled):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-content-search .gux-search-icon{display:flex;flex-shrink:0;align-items:center}.gux-content-search .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-search-icon gux-icon{color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-content-search .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;gap:var(--gse-ui-formControl-input-gap);place-content:center flex-end;align-items:center;padding:0}.gux-content-search .gux-content-control-panel button{display:block;align-items:center;block-size:var(--gse-ui-search-counter-icon-height);padding:0;overflow:hidden;color:var(--gse-ui-search-counter-default-foregroundColor);cursor:pointer;outline:none;background:none;border:none;border-radius:var(--gse-ui-button-borderRadius)}.gux-content-search .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel button:not(:disabled):hover,.gux-content-search .gux-content-control-panel button:not(:disabled):focus-visible{color:var(--gse-ui-search-counter-hover-foregroundColor)}.gux-content-search .gux-content-control-panel button:not(.gux-clear-button):focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-content-search .gux-content-control-panel button.gux-clear-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel button.gux-clear-button gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-content-search .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel .gux-navigation-panel{display:flex;gap:var(--gse-ui-search-counter-gap);align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-divider{box-sizing:border-box;align-self:center;block-size:var(--gse-ui-search-counter-divider-height);color:var(--gse-ui-search-counter-default-foregroundColor);border:var(--gse-ui-search-counter-divider-border-width) var(--gse-ui-search-counter-divider-border-style) var(--gse-ui-search-counter-divider-border-color)}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-buttons{display:flex;flex-direction:row}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;color:var(--gse-ui-search-counter-default-foregroundColor);white-space:nowrap}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center}";export{c as gux_content_search}
1
+ import{r as t,c as e,h as o,a as n}from"./p-Gxc7TbJn.js";import{t as i}from"./p-DPbMWlWt.js";import{b as r}from"./p-CaTVn8Dx.js";import{a}from"./p-De1NnCmO.js";import{f as s}from"./p-JHLuJ8Pb.js";import"./p-Cd4R0amv.js";var u={eraseBtnAria:"Clear search text",navigateNextBtn:"Highlight next match",navigatePreviousBtn:"Highlight previous match",totalMatches:"{currentMatch, number} of {matchCount, number}",clear:"Clear"};const c=class{constructor(o){t(this,o),this.guxcurrentmatchchanged=e(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0}async clear(){this.disabled||(this.matchCount=0,this.currentMatch=0,this.value="",this.resetInputSlottedElement(),this.emitCurrentMatchChanged(),this.inputSlottedElement.focus())}async componentWillLoad(){i(this.root),this.i18n=await r(this.root,u),this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=a(this.inputSlottedElement,(t=>{this.disabled=t})),this.inputSlottedElement.addEventListener("input",(t=>this.onInput(t)))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o("div",{key:"ef4715513267f640e3146f356942998a1d7f9e8e",class:{"gux-content-search":!0,"gux-disabled":this.disabled},onClick:()=>s(this.inputSlottedElement)},o("div",{key:"2f2a5f82d513ca4c1c09e74c83854986a85806f7",class:"gux-search-icon"},o("gux-icon",{key:"d0dffb2cfa01e19729d43c4f8560288ca97c3af0",size:"small",decorative:!0,"icon-name":"fa/magnifying-glass-regular"})),o("slot",{key:"830f23a720ef5d477402fb6666da5b9503c453e7"}),this.getNavigationPanel())}getNavigationPanel(){if(this.showNavigationPanel()){const t=this.disableNavigationPanel();return o("div",{class:"gux-content-control-panel"},o("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":t},"aria-disabled":t.toString()},o("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":t}},this.matchCountResult()),o("div",{class:"gux-navigation-buttons"},o("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:()=>this.previousClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-up-solid",size:"small"})),o("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:()=>this.nextClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-down-solid",size:"small"}))),o("div",{class:"gux-navigation-divider"})),o("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.i18n("clear"),onClick:()=>{this.clear()},disabled:t},o("gux-icon",{"icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"})))}return null}matchCountResult(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}showNavigationPanel(){return""!==this.value}disableNavigationPanel(){return this.disabled||this.getNormalizedMatchCount()<=0}getNormalizedMatchCount(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}getNormalizedCurrentMatch(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}resetInputSlottedElement(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}nextClick(){this.disableNavigationPanel()||(this.currentMatch=this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?1:this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}previousClick(){this.disableNavigationPanel()||(this.currentMatch=1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.getNormalizedMatchCount():this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}onInput(t){this.value=t.target.value}emitCurrentMatchChanged(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}get root(){return n(this)}};c.style=":host{display:inline-block;inline-size:var(--gse-ui-search-width);min-inline-size:var(--gse-ui-search-width)}::slotted(input[disabled]){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(input){box-sizing:border-box;flex-shrink:1;flex-basis:100%;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-search-counter-text-fontFamily);font-size:var(--gse-ui-search-counter-text-fontSize);font-weight:var(--gse-ui-search-counter-text-fontWeight);line-height:var(--gse-ui-search-counter-text-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:0;border-radius:0}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-populatedColor)}::slotted(input).gux-focused,::slotted(input):focus,::slotted(input):focus-visible{outline:none;border:0;box-shadow:none}.gux-content-search{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-formControl-input-gap);inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-textarea-padding);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-content-search gux-truncate{display:flex;align-items:center}.gux-content-search.gux-disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search:focus-visible,.gux-content-search: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-content-search:not(:disabled):not(.gux-disabled):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-content-search .gux-search-icon{display:flex;flex-shrink:0;align-items:center}.gux-content-search .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-search-icon gux-icon{color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-content-search .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;gap:var(--gse-ui-formControl-input-gap);place-content:center flex-end;align-items:center;padding:0}.gux-content-search .gux-content-control-panel button{display:block;align-items:center;block-size:var(--gse-ui-search-counter-icon-height);padding:0;overflow:hidden;color:var(--gse-ui-search-counter-default-foregroundColor);cursor:pointer;outline:none;background:none;border:none;border-radius:var(--gse-ui-button-borderRadius)}.gux-content-search .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel button:not(:disabled):hover,.gux-content-search .gux-content-control-panel button:not(:disabled):focus-visible{color:var(--gse-ui-search-counter-hover-foregroundColor)}.gux-content-search .gux-content-control-panel button:not(.gux-clear-button):focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-content-search .gux-content-control-panel button.gux-clear-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel button.gux-clear-button gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-content-search .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel .gux-navigation-panel{display:flex;gap:var(--gse-ui-search-counter-gap);align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-divider{box-sizing:border-box;align-self:center;block-size:var(--gse-ui-search-counter-divider-height);color:var(--gse-ui-search-counter-default-foregroundColor);border:var(--gse-ui-search-counter-divider-border-width) var(--gse-ui-search-counter-divider-border-style) var(--gse-ui-search-counter-divider-border-color)}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-buttons{display:flex;flex-direction:row}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;color:var(--gse-ui-search-counter-default-foregroundColor);white-space:nowrap}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center}";export{c as gux_content_search}
@@ -1 +1 @@
1
- import{r as e,h as r,a as o}from"./p-C6bJEG4l.js";import{t as a}from"./p-Diep8-qk.js";import{b as g}from"./p-BecYkX6C.js";import{O as i}from"./p-Bd56gXhq.js";import"./p-Cd4R0amv.js";var l={info:"badge with label: {label}, accent: info","info-bold":"badge with label: {label}, accent: info bold",success:"badge with label: {label}, accent: success","success-bold":"badge with label: {label}, accent: success bold",warning:"badge with label: {label}, accent: warning","warning-bold":"badge with label: {label}, accent: warning bold",error:"badge with label: {label}, accent: error","error-bold":"badge with label: {label}, accent: error bold",inherit:"badge with label: {label}","inherit-bold":"badge with label: {label}, bold"};const t=class{constructor(r){e(this,r),this.accent="info",this.bold=!1}onMutation(){this.label=this.root.textContent||""}onSlotChange(e){const r=e.composedPath()[0].assignedNodes();this.label=r.map((e=>e.textContent)).join("")}renderBadgeTitle(){return r("gux-tooltip-title",{"aria-hidden":"true"},r("span",null,r("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return r("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.accent}${this.bold?"-bold":""}`}async componentWillLoad(){a(this.root),this.i18n=await g(this.root,l)}render(){return r("div",{key:"e76bc3b1f5b461aaf992f5ba79ba778f1084fec7",class:{"gux-badge":!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return o(this)}};(function(e,r,o,a){var g,i=arguments.length,l=i<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,r,o,a);else for(var t=e.length-1;t>=0;t--)(g=e[t])&&(l=(i<3?g(l):i>3?g(r,o,l):g(r,o))||l);i>3&&l&&Object.defineProperty(r,o,l)})([i({childList:!0,subtree:!0,characterData:!0})],t.prototype,"onMutation",null),t.style=":host{display:inline-block;block-size:fit-content;border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge{display:flex;flex-direction:row;gap:var(--gse-ui-badge-gap);align-items:center;justify-content:center;block-size:var(--gse-ui-badge-height);padding:var(--gse-ui-badge-padding);font-family:var(--gse-ui-badge-text-fontFamily);font-size:var(--gse-ui-badge-text-fontSize);font-weight:var(--gse-ui-badge-text-fontWeight);line-height:var(--gse-ui-badge-text-lineHeight);border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge .gux-sr-only{}.gux-badge .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.gux-badge.gux-info{color:var(--gse-ui-badge-info-regular-foregroundColor);background-color:var(--gse-ui-badge-info-regular-backgroundColor)}.gux-badge.gux-info.gux-bold{color:var(--gse-ui-badge-info-bold-foregroundColor);background-color:var(--gse-ui-badge-info-bold-backgroundColor)}.gux-badge.gux-error{color:var(--gse-ui-badge-error-regular-foregroundColor);background-color:var(--gse-ui-badge-error-regular-backgroundColor)}.gux-badge.gux-error.gux-bold{color:var(--gse-ui-badge-error-bold-foregroundColor);background-color:var(--gse-ui-badge-error-bold-backgroundColor)}.gux-badge.gux-warning{color:var(--gse-ui-badge-warning-regular-foregroundColor);background-color:var(--gse-ui-badge-warning-regular-backgroundColor)}.gux-badge.gux-warning.gux-bold{color:var(--gse-ui-badge-warning-bold-foregroundColor);background-color:var(--gse-ui-badge-warning-bold-backgroundColor)}.gux-badge.gux-success{color:var(--gse-ui-badge-success-regular-foregroundColor);background-color:var(--gse-ui-badge-success-regular-backgroundColor)}.gux-badge.gux-success.gux-bold{color:var(--gse-ui-badge-success-bold-foregroundColor);background-color:var(--gse-ui-badge-success-bold-backgroundColor)}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{t as gux_badge}
1
+ import{r as e,h as r,a as o}from"./p-Gxc7TbJn.js";import{t as a}from"./p-DPbMWlWt.js";import{b as g}from"./p-CaTVn8Dx.js";import{O as i}from"./p-tf-B0dc6.js";import"./p-Cd4R0amv.js";var l={info:"badge with label: {label}, accent: info","info-bold":"badge with label: {label}, accent: info bold",success:"badge with label: {label}, accent: success","success-bold":"badge with label: {label}, accent: success bold",warning:"badge with label: {label}, accent: warning","warning-bold":"badge with label: {label}, accent: warning bold",error:"badge with label: {label}, accent: error","error-bold":"badge with label: {label}, accent: error bold",inherit:"badge with label: {label}","inherit-bold":"badge with label: {label}, bold"};const t=class{constructor(r){e(this,r),this.accent="info",this.bold=!1}onMutation(){this.label=this.root.textContent||""}onSlotChange(e){const r=e.composedPath()[0].assignedNodes();this.label=r.map((e=>e.textContent)).join("")}renderBadgeTitle(){return r("gux-tooltip-title",{"aria-hidden":"true"},r("span",null,r("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return r("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.accent}${this.bold?"-bold":""}`}async componentWillLoad(){a(this.root),this.i18n=await g(this.root,l)}render(){return r("div",{key:"e76bc3b1f5b461aaf992f5ba79ba778f1084fec7",class:{"gux-badge":!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return o(this)}};(function(e,r,o,a){var g,i=arguments.length,l=i<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,r,o,a);else for(var t=e.length-1;t>=0;t--)(g=e[t])&&(l=(i<3?g(l):i>3?g(r,o,l):g(r,o))||l);i>3&&l&&Object.defineProperty(r,o,l)})([i({childList:!0,subtree:!0,characterData:!0})],t.prototype,"onMutation",null),t.style=":host{display:inline-block;block-size:fit-content;border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge{display:flex;flex-direction:row;gap:var(--gse-ui-badge-gap);align-items:center;justify-content:center;block-size:var(--gse-ui-badge-height);padding:var(--gse-ui-badge-padding);font-family:var(--gse-ui-badge-text-fontFamily);font-size:var(--gse-ui-badge-text-fontSize);font-weight:var(--gse-ui-badge-text-fontWeight);line-height:var(--gse-ui-badge-text-lineHeight);border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge .gux-sr-only{}.gux-badge .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.gux-badge.gux-info{color:var(--gse-ui-badge-info-regular-foregroundColor);background-color:var(--gse-ui-badge-info-regular-backgroundColor)}.gux-badge.gux-info.gux-bold{color:var(--gse-ui-badge-info-bold-foregroundColor);background-color:var(--gse-ui-badge-info-bold-backgroundColor)}.gux-badge.gux-error{color:var(--gse-ui-badge-error-regular-foregroundColor);background-color:var(--gse-ui-badge-error-regular-backgroundColor)}.gux-badge.gux-error.gux-bold{color:var(--gse-ui-badge-error-bold-foregroundColor);background-color:var(--gse-ui-badge-error-bold-backgroundColor)}.gux-badge.gux-warning{color:var(--gse-ui-badge-warning-regular-foregroundColor);background-color:var(--gse-ui-badge-warning-regular-backgroundColor)}.gux-badge.gux-warning.gux-bold{color:var(--gse-ui-badge-warning-bold-foregroundColor);background-color:var(--gse-ui-badge-warning-bold-backgroundColor)}.gux-badge.gux-success{color:var(--gse-ui-badge-success-regular-foregroundColor);background-color:var(--gse-ui-badge-success-regular-backgroundColor)}.gux-badge.gux-success.gux-bold{color:var(--gse-ui-badge-success-bold-foregroundColor);background-color:var(--gse-ui-badge-success-bold-backgroundColor)}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{t as gux_badge}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,H as i,a as o}from"./p-Gxc7TbJn.js";import{t as r}from"./p-DPbMWlWt.js";import{b as n}from"./p-CaTVn8Dx.js";import{g as e,f as a,t as c}from"./p-DXWkLCow.js";import"./p-Cd4R0amv.js";const p=class{constructor(s){t(this,s)}renderZoneDisplay(){let t=this.i18n(this.timeZoneId);this.shorten&&(t=function(t){const s=t.split("/");return(null==s?void 0:s.pop())||t}(t));let i=t;if(this.offset){const s=function(t,s){const i=e().find((t=>t.name===s));return`${t}${a(null==i?void 0:i.currentTimeOffsetInMinutes)}`}(this.i18n("UTC"),this.timeZoneId);i=`${t} ${s}`,this.surroundOffset&&(i=`${t} (${s})`)}return s("span",null,i)}async componentWillLoad(){r(this.root),this.i18n=await n(this.root,c,"gux-time-zone-picker")}render(){return s(i,{key:"305b2895b6e1a43dc0f9e6b9684777b76af07c29"},this.renderZoneDisplay())}get root(){return o(this)}};export{p as gux_time_zone_beta}
@@ -1 +1 @@
1
- import{r as o,h as e,a as t}from"./p-C6bJEG4l.js";import{m as n}from"./p-QGDBFOq1.js";const u=class{constructor(e){o(this,e),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals)}connectedCallback(){this.internals.role="menuitem"}async guxFocus(){this.buttonElement.focus()}onKeydown(o){switch(n(o,this.root),o.key){case"ArrowRight":case"Enter":o.stopPropagation()}}onKeyup(o){" "===o.key&&o.stopPropagation()}render(){return e("button",{key:"2de491d39c836b2f319b6c96b87b31e408b3ecee",type:"button",class:"gux-menu-option-button","aria-haspopup":"false",tabIndex:-1,ref:o=>this.buttonElement=o},e("span",{key:"ec9cfa62ddd1a747a7121a22f1de50acbde01fe7",class:"gux-menu-option-button-text"},e("slot",{key:"6557fc3a2b2c38890e3e8ee8304f9e5b05a09f46"})))}static get formAssociated(){return!0}get root(){return t(this)}};u.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-menu-option-button{all:unset;box-sizing:border-box;inline-size:var(--gse-ui-flyoutMenu-width);block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-menu-option-button:focus-within,:host .gux-menu-option-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-menu-option-button:enabled{cursor:pointer}:host .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}";export{u as gux_menu_option}
1
+ import{r as o,h as e,a as t}from"./p-Gxc7TbJn.js";import{m as n}from"./p-QGDBFOq1.js";const u=class{constructor(e){o(this,e),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals)}connectedCallback(){this.internals.role="menuitem"}async guxFocus(){this.buttonElement.focus()}onKeydown(o){switch(n(o,this.root),o.key){case"ArrowRight":case"Enter":o.stopPropagation()}}onKeyup(o){" "===o.key&&o.stopPropagation()}render(){return e("button",{key:"2de491d39c836b2f319b6c96b87b31e408b3ecee",type:"button",class:"gux-menu-option-button","aria-haspopup":"false",tabIndex:-1,ref:o=>this.buttonElement=o},e("span",{key:"ec9cfa62ddd1a747a7121a22f1de50acbde01fe7",class:"gux-menu-option-button-text"},e("slot",{key:"6557fc3a2b2c38890e3e8ee8304f9e5b05a09f46"})))}static get formAssociated(){return!0}get root(){return t(this)}};u.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-menu-option-button{all:unset;box-sizing:border-box;inline-size:var(--gse-ui-flyoutMenu-width);block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-menu-option-button:focus-within,:host .gux-menu-option-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-menu-option-button:enabled{cursor:pointer}:host .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}";export{u as gux_menu_option}
@@ -1 +1 @@
1
- import{r as e,h as g}from"./p-C6bJEG4l.js";const r=class{constructor(g){e(this,g),this.checked=!1,this.disabled=!1,this.guxAriaLabel="",this.labelId="",this.errorId=""}componentDidLoad(){var e,g;null===(e=this.checkboxElement)||void 0===e||e.setAttribute("aria-label",this.guxAriaLabel),this.errorId&&(null===(g=this.checkboxElement)||void 0===g||g.setAttribute("aria-describedby",this.errorId))}render(){const e=this.errorId.length>0;return g("div",{key:"fcc03113d091f954d1d953fab64cfece5b1a6014",class:{"gux-toggle-slider":!0,"gux-checked":this.checked,"gux-disabled":this.disabled,"gux-error":e},role:"checkbox","aria-checked":this.checked.toString(),"aria-disabled":this.disabled.toString(),tabindex:this.disabled?"":"0",ref:e=>this.checkboxElement=e},g("div",{key:"5b062c5e0dced6b67fe11708ce0af56e9ab059f7",class:"gux-slider"},g("div",{key:"f423c3fed3f45f33b0f1b5482de7722f939d83b3",class:"gux-switch"},!e&&g("gux-icon",{key:"4c09c356f3bd813409aec15b40ef5c3689b328a4","icon-name":"fa/check-solid",decorative:!0}))))}};r.style='gux-toggle-slider{display:flex;align-items:center;padding:2px;outline:none}gux-toggle-slider .gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-toggle-track-width);block-size:var(--gse-ui-toggle-track-height);cursor:pointer;border-radius:var(--gse-ui-toggle-track-borderRadius)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider{background-color:var(--gse-ui-toggle-track-error-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider .gux-switch{border:var(--gse-ui-toggle-handle-error-border-width) var(--gse-ui-toggle-handle-error-border-style) var(--gse-ui-toggle-handle-error-border-color)}gux-toggle-slider .gux-toggle-slider.gux-error.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-error-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;background-color:var(--gse-ui-toggle-track-disabled-off-backgroundColor);opacity:var(--gse-ui-toggle-disabled-opacity)}gux-toggle-slider .gux-toggle-slider:focus-visible{outline:var(--gse-ui-toggle-focus-border-width) var(--gse-ui-toggle-focus-border-style) var(--gse-ui-toggle-focus-border-color);outline-offset:var(--gse-ui-toggle-focus-offset);border-radius:var(--gse-ui-toggle-focus-borderRadius)}gux-toggle-slider .gux-toggle-slider .gux-slider{position:absolute;inset:0;background-color:var(--gse-ui-toggle-track-enabled-off-backgroundColor);border-radius:calc(var(--gse-ui-toggle-track-height) / 2);transition:background-color 0.2s ease}gux-toggle-slider .gux-toggle-slider .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch{position:absolute;inset-block-end:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inset-inline-start:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inline-size:calc(var(--gse-ui-toggle-handle-width) - 4px);block-size:calc(var(--gse-ui-toggle-handle-height) - 4px);color:var(--gse-ui-toggle-handle-foregroundColor);content:"";background-color:var(--gse-ui-toggle-handle-backgroundColor);border:var(--gse-ui-toggle-handle-enabled-border-width) var(--gse-ui-toggle-handle-enabled-border-style) var(--gse-ui-toggle-handle-enabled-border-color);border-radius:var(--gse-ui-toggle-handle-borderRadius);transition:0.2s}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch gux-icon{position:absolute;inset:0;inline-size:calc(var(--gse-ui-toggle-handle-width) - 6px);block-size:calc(var(--gse-ui-toggle-handle-width) - 6px);margin:auto;color:var(--gse-ui-toggle-handle-backgroundColor);transition:color 0.2s linear}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-enabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled{background-color:var(--gse-ui-toggle-track-disabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled .gux-switch{border:var(--gse-ui-toggle-handle-disabled-border-width) var(--gse-ui-toggle-handle-disabled-border-style) var(--gse-ui-toggle-handle-disabled-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover .gux-switch{border:var(--gse-ui-toggle-handle-hover-border-width) var(--gse-ui-toggle-handle-hover-border-style) var(--gse-ui-toggle-handle-hover-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch{transform:translateX(calc(var(--gse-ui-toggle-track-width) - var(--gse-ui-toggle-track-height)))}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:var(--gse-ui-toggle-handle-foregroundColor);opacity:1;transition:opacity 0.1s linear;transition-delay:0.1s}';export{r as gux_toggle_slider}
1
+ import{r as e,h as g}from"./p-Gxc7TbJn.js";const r=class{constructor(g){e(this,g),this.checked=!1,this.disabled=!1,this.guxAriaLabel="",this.labelId="",this.errorId=""}componentDidLoad(){var e,g;null===(e=this.checkboxElement)||void 0===e||e.setAttribute("aria-label",this.guxAriaLabel),this.errorId&&(null===(g=this.checkboxElement)||void 0===g||g.setAttribute("aria-describedby",this.errorId))}render(){const e=this.errorId.length>0;return g("div",{key:"fcc03113d091f954d1d953fab64cfece5b1a6014",class:{"gux-toggle-slider":!0,"gux-checked":this.checked,"gux-disabled":this.disabled,"gux-error":e},role:"checkbox","aria-checked":this.checked.toString(),"aria-disabled":this.disabled.toString(),tabindex:this.disabled?"":"0",ref:e=>this.checkboxElement=e},g("div",{key:"5b062c5e0dced6b67fe11708ce0af56e9ab059f7",class:"gux-slider"},g("div",{key:"f423c3fed3f45f33b0f1b5482de7722f939d83b3",class:"gux-switch"},!e&&g("gux-icon",{key:"4c09c356f3bd813409aec15b40ef5c3689b328a4","icon-name":"fa/check-solid",decorative:!0}))))}};r.style='gux-toggle-slider{display:flex;align-items:center;padding:2px;outline:none}gux-toggle-slider .gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-toggle-track-width);block-size:var(--gse-ui-toggle-track-height);cursor:pointer;border-radius:var(--gse-ui-toggle-track-borderRadius)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider{background-color:var(--gse-ui-toggle-track-error-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider .gux-switch{border:var(--gse-ui-toggle-handle-error-border-width) var(--gse-ui-toggle-handle-error-border-style) var(--gse-ui-toggle-handle-error-border-color)}gux-toggle-slider .gux-toggle-slider.gux-error.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-error-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;background-color:var(--gse-ui-toggle-track-disabled-off-backgroundColor);opacity:var(--gse-ui-toggle-disabled-opacity)}gux-toggle-slider .gux-toggle-slider:focus-visible{outline:var(--gse-ui-toggle-focus-border-width) var(--gse-ui-toggle-focus-border-style) var(--gse-ui-toggle-focus-border-color);outline-offset:var(--gse-ui-toggle-focus-offset);border-radius:var(--gse-ui-toggle-focus-borderRadius)}gux-toggle-slider .gux-toggle-slider .gux-slider{position:absolute;inset:0;background-color:var(--gse-ui-toggle-track-enabled-off-backgroundColor);border-radius:calc(var(--gse-ui-toggle-track-height) / 2);transition:background-color 0.2s ease}gux-toggle-slider .gux-toggle-slider .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch{position:absolute;inset-block-end:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inset-inline-start:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);inline-size:calc(var(--gse-ui-toggle-handle-width) - 4px);block-size:calc(var(--gse-ui-toggle-handle-height) - 4px);color:var(--gse-ui-toggle-handle-foregroundColor);content:"";background-color:var(--gse-ui-toggle-handle-backgroundColor);border:var(--gse-ui-toggle-handle-enabled-border-width) var(--gse-ui-toggle-handle-enabled-border-style) var(--gse-ui-toggle-handle-enabled-border-color);border-radius:var(--gse-ui-toggle-handle-borderRadius);transition:0.2s}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch gux-icon{position:absolute;inset:0;inline-size:calc(var(--gse-ui-toggle-handle-width) - 6px);block-size:calc(var(--gse-ui-toggle-handle-width) - 6px);margin:auto;color:var(--gse-ui-toggle-handle-backgroundColor);transition:color 0.2s linear}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-enabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled{background-color:var(--gse-ui-toggle-track-disabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled .gux-switch{border:var(--gse-ui-toggle-handle-disabled-border-width) var(--gse-ui-toggle-handle-disabled-border-style) var(--gse-ui-toggle-handle-disabled-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover .gux-switch{border:var(--gse-ui-toggle-handle-hover-border-width) var(--gse-ui-toggle-handle-hover-border-style) var(--gse-ui-toggle-handle-hover-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch{transform:translateX(calc(var(--gse-ui-toggle-track-width) - var(--gse-ui-toggle-track-height)))}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:var(--gse-ui-toggle-handle-foregroundColor);opacity:1;transition:opacity 0.1s linear;transition-delay:0.1s}';export{r as gux_toggle_slider}
@@ -0,0 +1 @@
1
+ import{r as t,h as o,a as s}from"./p-Gxc7TbJn.js";import{t as r}from"./p-DPbMWlWt.js";const e=class{constructor(o){t(this,o),this.singleOpenSection=!1}handleGuxopened(t){this.singleOpenSection&&this.getAccordionSections().forEach((o=>{o!==t.target&&this.closeSection(o)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((t,o)=>(t&&this.closeSection(o),t||o.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(t){t.disabled||(t.open=!1)}render(){return o("slot",{key:"40c10eb6df635f2f67aedef0880d2a2575d7e4be"})}get root(){return s(this)}};e.style="gux-accordion{-custom-noop:noop}";export{e as gux_accordion}
@@ -1 +1 @@
1
- import{r as e,h as o,H as t,a as r}from"./p-C6bJEG4l.js";import{c as a,o as s}from"./p-Cb3FOYGS.js";import{O as i}from"./p-Bd56gXhq.js";import{p as l}from"./p-PYfNAK8p.js";import{h as C}from"./p-qzV3vtOw.js";import{G as g,a as n}from"./p-nRW1nhY0.js";import{t as c}from"./p-Diep8-qk.js";import{g as d,v as h}from"./p-DHLxhscH.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const u=class{constructor(o){e(this,o),this.labelPosition="beside",this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"e33c81e5ebf0d6384e70c9dbebd425818b629b05",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"3209c402cd3086dc5973c814cd170431fc40e5e1",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"b8fb142b0a7a9aa18e561fde1e78aa346acae7cf",class:"gux-input-label"},o("div",{key:"aa9799bbe2619e3457184eb79c4060c645f042df",class:"gux-input"},o("slot",{key:"c653d17b1ce35b6de6da2af0b3ba4a494ff561b2",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"99c76426d28252d0cb0f4814aacc110b9fad5d42",class:`gux-label-${this.labelPosition}`,"aria-disabled":this.disabled?"true":"false"},o("slot",{key:"6baef9d2ebd2416132c3f344204f38958378bfbf",name:"label"}))),o("div",{key:"f4a6883b718d55544f99147aefebbc1973cd583d",class:"error-and-help-text"},o(g,{key:"3e48227d9ca51e366c6a667858faa3bfe2c689ab",show:this.hasError},o("slot",{key:"36e87306f5aaf967487c2326e2473c72b2762b46",name:"error"})),o(n,{key:"fbf8f14d1ff02e9285957ef594ac1d9f0a60a984",show:!this.hasError&&this.hasHelp},o("slot",{key:"13a9478a6e10abdff37a4ac822a979c0686f7de7",name:"help"})))))}get variant(){return this.labelPosition.toLowerCase()}setInput(){this.input=d(this.root,'input[type="checkbox"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),l(this.input),this.disabled=a(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),h(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var a,s=arguments.length,i=s<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(s<3?a(i):s>3?a(o,t,i):a(o,t))||i);s>3&&i&&Object.defineProperty(o,t,i)})([i({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:inline-flex;flex-direction:row;gap:var(--gse-ui-checkbox-gap)}.gux-input-label .gux-label-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(input[type=checkbox]){display:inline-grid;inline-size:var(--gse-ui-checkbox-icon-width);block-size:var(--gse-ui-checkbox-icon-height);margin:0;vertical-align:middle;text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:focus-visible){outline:var(--gse-ui-checkbox-focus-border-width) var(--gse-ui-checkbox-focus-border-style) var(--gse-ui-checkbox-focus-border-color);outline-offset:var(--gse-ui-checkbox-focus-offset);border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall)}::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-unselectedForegroundColor)}::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked:not(:disabled):hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:not(:disabled):indeterminate:hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-checkbox-label-text-fontFamily);font-size:12px;font-weight:var(--gse-ui-checkbox-label-text-fontWeight);line-height:var(--gse-ui-checkbox-label-text-lineHeight);vertical-align:middle;color:var(--gse-ui-checkbox-label-foregroundColor)}";export{u as gux_form_field_checkbox}
1
+ import{r as e,h as o,H as t,a as r}from"./p-Gxc7TbJn.js";import{c as a,o as s}from"./p-Cb3FOYGS.js";import{O as i}from"./p-tf-B0dc6.js";import{p as l}from"./p-PYfNAK8p.js";import{h as C}from"./p-qzV3vtOw.js";import{G as g,a as n}from"./p-DL9G9XmO.js";import{t as c}from"./p-DPbMWlWt.js";import{g as d,v as h}from"./p-DHLxhscH.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const u=class{constructor(o){e(this,o),this.labelPosition="beside",this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"e33c81e5ebf0d6384e70c9dbebd425818b629b05",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"3209c402cd3086dc5973c814cd170431fc40e5e1",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"b8fb142b0a7a9aa18e561fde1e78aa346acae7cf",class:"gux-input-label"},o("div",{key:"aa9799bbe2619e3457184eb79c4060c645f042df",class:"gux-input"},o("slot",{key:"c653d17b1ce35b6de6da2af0b3ba4a494ff561b2",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"99c76426d28252d0cb0f4814aacc110b9fad5d42",class:`gux-label-${this.labelPosition}`,"aria-disabled":this.disabled?"true":"false"},o("slot",{key:"6baef9d2ebd2416132c3f344204f38958378bfbf",name:"label"}))),o("div",{key:"f4a6883b718d55544f99147aefebbc1973cd583d",class:"error-and-help-text"},o(g,{key:"3e48227d9ca51e366c6a667858faa3bfe2c689ab",show:this.hasError},o("slot",{key:"36e87306f5aaf967487c2326e2473c72b2762b46",name:"error"})),o(n,{key:"fbf8f14d1ff02e9285957ef594ac1d9f0a60a984",show:!this.hasError&&this.hasHelp},o("slot",{key:"13a9478a6e10abdff37a4ac822a979c0686f7de7",name:"help"})))))}get variant(){return this.labelPosition.toLowerCase()}setInput(){this.input=d(this.root,'input[type="checkbox"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),l(this.input),this.disabled=a(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),h(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var a,s=arguments.length,i=s<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(s<3?a(i):s>3?a(o,t,i):a(o,t))||i);s>3&&i&&Object.defineProperty(o,t,i)})([i({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:inline-flex;flex-direction:row;gap:var(--gse-ui-checkbox-gap)}.gux-input-label .gux-label-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(input[type=checkbox]){display:inline-grid;inline-size:var(--gse-ui-checkbox-icon-width);block-size:var(--gse-ui-checkbox-icon-height);margin:0;vertical-align:middle;text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:focus-visible){outline:var(--gse-ui-checkbox-focus-border-width) var(--gse-ui-checkbox-focus-border-style) var(--gse-ui-checkbox-focus-border-color);outline-offset:var(--gse-ui-checkbox-focus-offset);border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall)}::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-unselectedForegroundColor)}::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked:not(:disabled):hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:not(:disabled):indeterminate:hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-checkbox-label-text-fontFamily);font-size:12px;font-weight:var(--gse-ui-checkbox-label-text-fontWeight);line-height:var(--gse-ui-checkbox-label-text-lineHeight);vertical-align:middle;color:var(--gse-ui-checkbox-label-foregroundColor)}";export{u as gux_form_field_checkbox}
@@ -1 +1 @@
1
- import{r as t,h as e,a as s}from"./p-C6bJEG4l.js";import{g as o}from"./p-BZb6pJEJ.js";import{t as i}from"./p-Diep8-qk.js";import{g as n}from"./p-MAoEg4ig.js";const a=class{constructor(e){t(this,e),this.iconOnly=!1,this.accent="secondary",this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}hideText(){const t=o(this.root,"gux-table-toolbar"),e="condensed"!==(null==t?void 0:t.getAttribute("gs-layout"));return this.iconOnly&&e}renderTooltip(){if(this.hideText())return e("gux-tooltip",null,e("div",{slot:"content"},n(this.root,"text")))}componentWillLoad(){i(this.root)}render(){return e("gux-button-slot",{key:"c48fbdf23b4a10aaa493ab89bcaff7247d65b070",accent:this.accent},e("button",{key:"40f89c31bacb1db4ddbdd6e8176284d069da8b9b",disabled:this.disabled,type:"button",class:"gux-action-title"},e("slot",{key:"7d754b3248d4579a7080cd2cb1dc3b5e86c57537",name:"icon"}),e("span",{key:"94d3f023d553346cf07138b4b84f58544a354310",class:{"gux-sr-only":this.hideText()}},e("slot",{key:"809895127dc5de4e5b9e7d7c4eba2130efa50571",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return s(this)}};a.style=":host([disabled]),button[disabled]{pointer-events:none;user-select:none}.gux-sr-only{display:flex;}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}gux-button-slot{inline-size:100%}.gux-action-title{display:flex;flex-direction:row;gap:var(--gse-ui-button-gap);align-items:center}.gux-action-title slot[name=icon]::slotted(gux-icon){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{a as gux_table_toolbar_custom_action}
1
+ import{r as t,h as e,a as s}from"./p-Gxc7TbJn.js";import{g as o}from"./p-BZb6pJEJ.js";import{t as i}from"./p-DPbMWlWt.js";import{g as n}from"./p-MAoEg4ig.js";const a=class{constructor(e){t(this,e),this.iconOnly=!1,this.accent="secondary",this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}hideText(){const t=o(this.root,"gux-table-toolbar"),e="condensed"!==(null==t?void 0:t.getAttribute("gs-layout"));return this.iconOnly&&e}renderTooltip(){if(this.hideText())return e("gux-tooltip",null,e("div",{slot:"content"},n(this.root,"text")))}componentWillLoad(){i(this.root)}render(){return e("gux-button-slot",{key:"c48fbdf23b4a10aaa493ab89bcaff7247d65b070",accent:this.accent},e("button",{key:"40f89c31bacb1db4ddbdd6e8176284d069da8b9b",disabled:this.disabled,type:"button",class:"gux-action-title"},e("slot",{key:"7d754b3248d4579a7080cd2cb1dc3b5e86c57537",name:"icon"}),e("span",{key:"94d3f023d553346cf07138b4b84f58544a354310",class:{"gux-sr-only":this.hideText()}},e("slot",{key:"809895127dc5de4e5b9e7d7c4eba2130efa50571",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return s(this)}};a.style=":host([disabled]),button[disabled]{pointer-events:none;user-select:none}.gux-sr-only{display:flex;}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}gux-button-slot{inline-size:100%}.gux-action-title{display:flex;flex-direction:row;gap:var(--gse-ui-button-gap);align-items:center}.gux-action-title slot[name=icon]::slotted(gux-icon){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{a as gux_table_toolbar_custom_action}
@@ -1 +1 @@
1
- import{r as e,h as a,H as t,a as o}from"./p-C6bJEG4l.js";import{t as s}from"./p-Diep8-qk.js";const i=class{constructor(a){e(this,a)}componentWillLoad(){s(this.root)}render(){return a(t,{key:"1506992246aa83217b6d73cfdd0e8c85631e8278"},a("div",{key:"e51d40ec1cc3650da7a8c56b44886e19af8f5c82",class:"gux-header"},a("div",{key:"b82beceef04d6c3826865501295278cdd42eb59b",class:"gux-icon"},a("slot",{key:"113bdb46f8e908f2ba692c61cbd004bd1dbcd68e",name:"icon"})),a("div",{key:"d82f9009a6dc984f4b510f2afff51baacc7ad262",class:"gux-title"},a("slot",{key:"572c9821793787350bf4794cdafa52578178e873",name:"title"}))),a("div",{key:"bb9fdfeb5cc2c5e0b6ce799ae5c73f44e0377e99",class:"gux-message"},a("slot",{key:"4b5224ff6c9b8d9d89599fb3844764caa02977a5",name:"message"})),a("div",{key:"cb928aaca6ee3b28daef8650359d9fe081e53a2e",class:"gux-action-buttons"},a("div",{key:"3031f0c0b5111bac18d42cd65c4086a26838fc15",class:"gux-positive-button"},a("slot",{key:"dde475930730886bea30537ace45997f091ca576",name:"positive-button"})),a("div",{key:"99c2f76f71099fce3a21e40fc51f920305d2a1aa",class:"gux-negative-button"},a("slot",{key:"9ab48c1cbc8c92087b7427aedba720cd60eb2073",name:"negative-button"}))))}get root(){return o(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:var(--gse-core-colorLegacy-secondary-aquaGreen)}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}";export{i as gux_action_toast_legacy}
1
+ import{r as e,h as a,H as t,a as o}from"./p-Gxc7TbJn.js";import{t as s}from"./p-DPbMWlWt.js";const i=class{constructor(a){e(this,a)}componentWillLoad(){s(this.root)}render(){return a(t,{key:"1506992246aa83217b6d73cfdd0e8c85631e8278"},a("div",{key:"e51d40ec1cc3650da7a8c56b44886e19af8f5c82",class:"gux-header"},a("div",{key:"b82beceef04d6c3826865501295278cdd42eb59b",class:"gux-icon"},a("slot",{key:"113bdb46f8e908f2ba692c61cbd004bd1dbcd68e",name:"icon"})),a("div",{key:"d82f9009a6dc984f4b510f2afff51baacc7ad262",class:"gux-title"},a("slot",{key:"572c9821793787350bf4794cdafa52578178e873",name:"title"}))),a("div",{key:"bb9fdfeb5cc2c5e0b6ce799ae5c73f44e0377e99",class:"gux-message"},a("slot",{key:"4b5224ff6c9b8d9d89599fb3844764caa02977a5",name:"message"})),a("div",{key:"cb928aaca6ee3b28daef8650359d9fe081e53a2e",class:"gux-action-buttons"},a("div",{key:"3031f0c0b5111bac18d42cd65c4086a26838fc15",class:"gux-positive-button"},a("slot",{key:"dde475930730886bea30537ace45997f091ca576",name:"positive-button"})),a("div",{key:"99c2f76f71099fce3a21e40fc51f920305d2a1aa",class:"gux-negative-button"},a("slot",{key:"9ab48c1cbc8c92087b7427aedba720cd60eb2073",name:"negative-button"}))))}get root(){return o(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:var(--gse-core-colorLegacy-secondary-aquaGreen)}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}";export{i as gux_action_toast_legacy}
@@ -1 +1 @@
1
- import{r as e,h as r,H as a,a as t}from"./p-C6bJEG4l.js";import{a as i}from"./p-DxtJDeL9.js";const n=class{constructor(r){e(this,r)}getAccent(){const e=this.root.closest("gux-breadcrumbs");if(e)return e.accent;i(this.root,"This component must be a child of a gux-breadcrumbs component.")}isActiveBreadcrumb(){const e=this.root.parentNode.children;return e[e.length-1]===this.root}getBreadcrumb(e){return this.isActiveBreadcrumb()?r("span",{class:"gux-breadcrumb-content gux-active","aria-current":"page"},r("slot",null)):this.href?r("gux-link-beta",{size:"secondary"===e?"small":"medium",standalone:!0},r("a",{href:this.href},r("slot",null))):r("span",{class:"gux-breadcrumb-content"},r("slot",null))}getSeparatorIcon(){return this.isActiveBreadcrumb()?null:r("span",{class:"gux-breadcrumb-separator","aria-hidden":"true"},"/")}render(){const e=this.getAccent();return r(a,{key:"dc776ce73d09cdc31397017a03c56b7612a896ba",role:"listitem"},r("span",{key:"9e6106e96f4e83cc5c1ff26135f50f293ef06afe",class:`gux-breadcrumb-generation gux-${e}`},this.getBreadcrumb(e),this.getSeparatorIcon()))}get root(){return t(this)}};n.style=".gux-breadcrumb-generation{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;min-block-size:var(--gse-ui-breadcrumbs-secondary-height)}.gux-breadcrumb-generation .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-small-text-fontFamily);font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight);text-decoration:none;color:var(--gse-ui-links-default-foregroundColor);pointer-events:none}.gux-breadcrumb-generation .gux-breadcrumb-content.gux-active{color:var(--gse-ui-links-active-foregroundColor)}.gux-breadcrumb-generation .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-secondary-separator-padding);font-family:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-secondary-separator-typography-lineHeight);color:var(--gse-ui-breadcrumbs-separator-color)}.gux-breadcrumb-generation.gux-primary{min-block-size:var(--gse-ui-breadcrumbs-primary-height)}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-medium-text-fontFamily);font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);text-decoration:none}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-primary-separator-padding);font-family:var(--gse-ui-breadcrumbs-primary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-primary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-primary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-primary-separator-typography-lineHeight)}";export{n as gux_breadcrumb_item}
1
+ import{r as e,h as r,H as a,a as t}from"./p-Gxc7TbJn.js";import{a as i}from"./p-DxtJDeL9.js";const n=class{constructor(r){e(this,r)}getAccent(){const e=this.root.closest("gux-breadcrumbs");if(e)return e.accent;i(this.root,"This component must be a child of a gux-breadcrumbs component.")}isActiveBreadcrumb(){const e=this.root.parentNode.children;return e[e.length-1]===this.root}getBreadcrumb(e){return this.isActiveBreadcrumb()?r("span",{class:"gux-breadcrumb-content gux-active","aria-current":"page"},r("slot",null)):this.href?r("gux-link-beta",{size:"secondary"===e?"small":"medium",standalone:!0},r("a",{href:this.href},r("slot",null))):r("span",{class:"gux-breadcrumb-content"},r("slot",null))}getSeparatorIcon(){return this.isActiveBreadcrumb()?null:r("span",{class:"gux-breadcrumb-separator","aria-hidden":"true"},"/")}render(){const e=this.getAccent();return r(a,{key:"dc776ce73d09cdc31397017a03c56b7612a896ba",role:"listitem"},r("span",{key:"9e6106e96f4e83cc5c1ff26135f50f293ef06afe",class:`gux-breadcrumb-generation gux-${e}`},this.getBreadcrumb(e),this.getSeparatorIcon()))}get root(){return t(this)}};n.style=".gux-breadcrumb-generation{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;min-block-size:var(--gse-ui-breadcrumbs-secondary-height)}.gux-breadcrumb-generation .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-small-text-fontFamily);font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight);text-decoration:none;color:var(--gse-ui-links-default-foregroundColor);pointer-events:none}.gux-breadcrumb-generation .gux-breadcrumb-content.gux-active{color:var(--gse-ui-links-active-foregroundColor)}.gux-breadcrumb-generation .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-secondary-separator-padding);font-family:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-secondary-separator-typography-lineHeight);color:var(--gse-ui-breadcrumbs-separator-color)}.gux-breadcrumb-generation.gux-primary{min-block-size:var(--gse-ui-breadcrumbs-primary-height)}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-medium-text-fontFamily);font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);text-decoration:none}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-primary-separator-padding);font-family:var(--gse-ui-breadcrumbs-primary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-primary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-primary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-primary-separator-typography-lineHeight)}";export{n as gux_breadcrumb_item}
@@ -1 +1 @@
1
- import{r as t,h as o,a as e}from"./p-C6bJEG4l.js";import{t as i}from"./p-Diep8-qk.js";import{g as a}from"./p-MAoEg4ig.js";const r=class{constructor(o){t(this,o),this.placement="right"}componentWillLoad(){i(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return o("div",{key:"1d7c4cd8f3a16245f010ec66dd975c97234b01ac",class:"gux-icon-tooltip"},o("gux-screen-reader-beta",{key:"d6fef5089af4f967c9df31d2732c65d160604beb"},o("slot",{key:"6867e45124f6031a25a5b3c8725642773871a39e",name:"content"})),o("gux-icon",{key:"ead0d91cb12c90697046d89c114206020d4d685c","icon-name":this.iconName,size:"small",decorative:!0}),o("gux-tooltip-beta",{key:"49cabba6e05798ee7720dd085b6686f669ab59be",placement:this.placement,ref:t=>this.tooltip=t},o("div",{key:"439b5a9da00fa5cd885dac7c51238c3f8ee5c72e",slot:"content"},a(this.root,"content"))))}get root(){return e(this)}};r.style=".gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{r as gux_icon_tooltip_beta}
1
+ import{r as t,h as o,a as e}from"./p-Gxc7TbJn.js";import{t as i}from"./p-DPbMWlWt.js";import{g as a}from"./p-MAoEg4ig.js";const r=class{constructor(o){t(this,o),this.placement="right"}componentWillLoad(){i(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return o("div",{key:"1d7c4cd8f3a16245f010ec66dd975c97234b01ac",class:"gux-icon-tooltip"},o("gux-screen-reader-beta",{key:"d6fef5089af4f967c9df31d2732c65d160604beb"},o("slot",{key:"6867e45124f6031a25a5b3c8725642773871a39e",name:"content"})),o("gux-icon",{key:"ead0d91cb12c90697046d89c114206020d4d685c","icon-name":this.iconName,size:"small",decorative:!0}),o("gux-tooltip-beta",{key:"49cabba6e05798ee7720dd085b6686f669ab59be",placement:this.placement,ref:t=>this.tooltip=t},o("div",{key:"439b5a9da00fa5cd885dac7c51238c3f8ee5c72e",slot:"content"},a(this.root,"content"))))}get root(){return e(this)}};r.style=".gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{r as gux_icon_tooltip_beta}
@@ -1 +1 @@
1
- import{r as t,f as e,h as s,a as i}from"./p-C6bJEG4l.js";import{t as r}from"./p-Diep8-qk.js";import{h as o}from"./p-Bqbn0_rB.js";import{O as n}from"./p-CUmeOKr7.js";import{b as a}from"./p-Bg4q97BS.js";import{b as l}from"./p-BecYkX6C.js";import{t as u}from"./p-DN3YAdAX.js";import"./p-BZb6pJEJ.js";import"./p-Cd4R0amv.js";const h=class{constructor(e){t(this,e),this.expanded=!1,this.disabled=!1}onClickOutside(){this.expanded=!1}watchValue(t){this.validateValue(t,this.listElement)}watchDisabled(t){t&&(this.expanded=!1)}onInternallistitemsupdated(t){t.stopPropagation(),e(this.root)}handleKeydown(t){const e=t.composedPath().includes(this.actionButton),s=t.composedPath().includes(this.listElement);switch(t.key){case"Escape":s&&(t.preventDefault(),this.expanded=!1,this.actionButton.focus());break;case"ArrowDown":case"Enter":e&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem());break;case"Tab":this.expanded=!1;break;case"ArrowUp":e&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusLastListItem())}}handleKeyup(t){" "===t.key&&t.composedPath().includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem())}focusFirstListItem(){a((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){a((()=>{this.listElement.guxFocusLastItem()}))}async componentWillLoad(){r(this.root),this.i18n=await l(this.root,u)}componentWillRender(){(null==this?void 0:this.listElement)&&this.validateValue(this.value,this.listElement)}validateValue(t,e){void 0!==t?this.getListItemElementByValue(t)&&(e.value=t):e.value=t}get listItemElements(){const t=this.listElement.querySelector("slot");if(t)return Array.from(t.assignedElements())}getListItemElementByValue(t){return this.listItemElements.find((e=>e.value===t))}renderTargetDisplay(){if(null==this?void 0:this.listElement){const t=this.getListItemElementByValue(this.value);if(t)return s("span",null,this.renderListItem(t))}}renderMenu(){return s("div",{class:"gux-target-display"},this.renderTargetDisplay(),s("gux-icon",{"icon-name":this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular","screenreader-text":this.i18n("richStyleDropdown")}))}renderListItem(t){return s("gux-truncate",{"max-lines":1},t.textContent)}renderTooltip(){if(!this.disabled&&!this.expanded)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n("richStyle")))}onActionButtonClick(){this.expanded=!this.expanded,this.expanded&&this.focusFirstListItem()}updateValue(t){this.value!==t&&(this.value=t)}onListClick(t){const e=t.target.closest("gux-rich-style-list-item");e&&(this.expanded=!1,this.updateValue(e.value),this.actionButton.focus())}renderPopup(){return s("div",{class:"gux-list-container",slot:"popup"},s("gux-rich-text-editor-list",{ref:t=>this.listElement=t,onClick:t=>this.onListClick(t)},s("slot",null)))}renderTarget(){return s("gux-button-slot",{accent:"ghost",slot:"target","icon-only":!0},s("button",{type:"button",ref:t=>this.actionButton=t,class:{"gux-is-pressed":this.expanded},onClick:()=>this.onActionButtonClick(),disabled:this.disabled||o(this.root),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},this.renderMenu()),this.renderTooltip())}render(){return s("gux-popup",{key:"31d3df51267bea55cbc738e9b737b5512882184f",expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};(function(t,e,s,i){var r,o=arguments.length,n=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(o<3?r(n):o>3?r(e,s,n):r(e,s))||n);o>3&&n&&Object.defineProperty(e,s,n)})([n({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:block}gux-button-slot button .gux-target-display{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:center}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}.gux-list-container{inline-size:214px;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{h as gux_rich_text_editor_action_rich_style}
1
+ import{r as t,f as s,h as e,a as i}from"./p-Gxc7TbJn.js";import{t as r}from"./p-DPbMWlWt.js";import{h as o}from"./p-Bqbn0_rB.js";import{O as n}from"./p-CD81sCHL.js";import{b as a}from"./p-Bg4q97BS.js";import{b as l}from"./p-CaTVn8Dx.js";import{t as u}from"./p-DN3YAdAX.js";import"./p-BZb6pJEJ.js";import"./p-Cd4R0amv.js";const h=class{constructor(s){t(this,s),this.expanded=!1,this.disabled=!1}onClickOutside(){this.expanded=!1}watchValue(t){this.validateValue(t,this.listElement)}watchDisabled(t){t&&(this.expanded=!1)}onInternallistitemsupdated(t){t.stopPropagation(),s(this.root)}handleKeydown(t){const s=t.composedPath().includes(this.actionButton),e=t.composedPath().includes(this.listElement);switch(t.key){case"Escape":e&&(t.preventDefault(),this.expanded=!1,this.actionButton.focus());break;case"ArrowDown":case"Enter":s&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem());break;case"Tab":this.expanded=!1;break;case"ArrowUp":s&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusLastListItem())}}handleKeyup(t){" "===t.key&&t.composedPath().includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem())}focusFirstListItem(){a((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){a((()=>{this.listElement.guxFocusLastItem()}))}async componentWillLoad(){r(this.root),this.i18n=await l(this.root,u)}componentWillRender(){(null==this?void 0:this.listElement)&&this.validateValue(this.value,this.listElement)}validateValue(t,s){void 0!==t?this.getListItemElementByValue(t)&&(s.value=t):s.value=t}get listItemElements(){const t=this.listElement.querySelector("slot");if(t)return Array.from(t.assignedElements())}getListItemElementByValue(t){return this.listItemElements.find((s=>s.value===t))}renderTargetDisplay(){if(null==this?void 0:this.listElement){const t=this.getListItemElementByValue(this.value);if(t)return e("span",null,this.renderListItem(t))}}renderMenu(){return e("div",{class:"gux-target-display"},this.renderTargetDisplay(),e("gux-icon",{"icon-name":this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular","screenreader-text":this.i18n("richStyleDropdown")}))}renderListItem(t){return e("gux-truncate",{"max-lines":1},t.textContent)}renderTooltip(){if(!this.disabled&&!this.expanded)return e("gux-tooltip-beta",null,e("div",{slot:"content"},this.i18n("richStyle")))}onActionButtonClick(){this.expanded=!this.expanded,this.expanded&&this.focusFirstListItem()}updateValue(t){this.value!==t&&(this.value=t)}onListClick(t){const s=t.target.closest("gux-rich-style-list-item");s&&(this.expanded=!1,this.updateValue(s.value),this.actionButton.focus())}renderPopup(){return e("div",{class:"gux-list-container",slot:"popup"},e("gux-rich-text-editor-list",{ref:t=>this.listElement=t,onClick:t=>this.onListClick(t)},e("slot",null)))}renderTarget(){return e("gux-button-slot",{accent:"ghost",slot:"target","icon-only":!0},e("button",{type:"button",ref:t=>this.actionButton=t,class:{"gux-is-pressed":this.expanded},onClick:()=>this.onActionButtonClick(),disabled:this.disabled||o(this.root),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},this.renderMenu()),this.renderTooltip())}render(){return e("gux-popup",{key:"31d3df51267bea55cbc738e9b737b5512882184f",expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};(function(t,s,e,i){var r,o=arguments.length,n=o<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,s,e,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(o<3?r(n):o>3?r(s,e,n):r(s,e))||n);o>3&&n&&Object.defineProperty(s,e,n)})([n({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:block}gux-button-slot button .gux-target-display{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:center}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}.gux-list-container{inline-size:214px;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{h as gux_rich_text_editor_action_rich_style}
@@ -1 +1 @@
1
- import{r as e,c as t,h as a,a as n}from"./p-C6bJEG4l.js";import{a as r}from"./p-Bg4q97BS.js";import{a as s,c as i,b as d,f as o}from"./p-aKaDsw_5.js";import{t as u}from"./p-Diep8-qk.js";import{b as l,g as c,c as g}from"./p-BecYkX6C.js";import{c as h}from"./p-Cf6_BoFM.js";import{d as x}from"./p-B0p1zRQq.js";import{u as b}from"./p-ZuNZ-MBw.js";import"./p-Cd4R0amv.js";import"./p-BZb6pJEJ.js";function f(e,t){v(e,"remove",t)}function v(e=[],t,a){const n=[].concat(e);for(const e of n)e.classList[t](a)}var m={previousMonth:"Go to the previous month",nextMonth:"Go to the next month"};function y(e,t){return b()?h(x(t,{year:"numeric",month:"long"}).format(e)):h(e.toLocaleDateString(t,{year:"numeric",month:"long"}))}const p=class{constructor(a){e(this,a),this.calendarSelect=t(this,"calendarSelect",7),this.value="",this.minDate="",this.maxDate="",this.mode="single",this.numberOfMonths=1,this.previewValue=new Date,this.selectingDate=null,this.locale="en"}emitCalendarSelect(){this.calendarSelect.emit(this.value)}async setValue(e){if("range"===this.mode&&e instanceof Array){const[t,a]=e;this.value=s(t,a),this.previewValue=i(this.value)[0]}else{const t=e;this.value=d(t),this.previewValue=t}}async focusPreviewDate(){const e=this.root.shadowRoot.querySelector(`td[data-date="${this.previewValue.getTime()}"]`);e&&e.focus()}async resetCalendarView(e){this.previewValue=e}incrementPreviewDateByMonth(e){this.previewValue=new Date(this.previewValue.getFullYear(),this.previewValue.getMonth()+e,15,0,0,0)}async setValueAndEmit(e){await this.setValue(e),this.emitCalendarSelect()}outOfBounds(e){return""!==this.maxDate&&o(this.maxDate)<e||""!==this.minDate&&o(this.minDate)>e}generateDatesFrom(e,t,a){const n=[],r=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0);for(let t=0;t<a;t++){const t=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0),a=[],s=new Date,d=r.getFullYear()===s.getFullYear()&&r.getMonth()===s.getMonth()&&r.getDate()===s.getDate();let u=!1,l=!1;t.getMonth()!==e&&(a.push("gux-not-in-month"),u=!0,"range"===this.mode&&(a.push("gux-hidden"),l=!0)),this.outOfBounds(t)&&(a.push("gux-disabled"),u=!0);let c=!1;if(d&&a.push("gux-current-date"),"range"===this.mode){const[e,n]=i(this.value),r=e.getTime(),s=n.getTime();t.getTime()===r&&t.getTime()===s?(c=!0,a.push("gux-selected")):t.getTime()===r?(c=!0,a.push("gux-selected"),a.push("gux-start-date")):t.getTime()===s&&(c=!0,a.push("gux-selected"),a.push("gux-end-date"))}else{const e=o(this.value).getTime();t.getTime()===e&&(c=!0,a.push("gux-selected"))}n.push({class:a.join(" "),date:t,hidden:l,disabled:u,selected:c,isToday:d}),r.setDate(r.getDate()+1)}return n}create2DArray(e,t){const a=[];for(let n=0;n<t-1;n++){const r=e.slice(n*t,n*t+t);this.weekShouldBeDisplayed(r)&&a.push(r)}return a}isFocusableDate(e){return e.selected||this.previewValue.getTime()===e.date.getTime()}weekShouldBeDisplayed(e){const t=e.find((e=>!e.hidden));return e.length&&!!t}getMonthDays(e){const t=new Date(this.previewValue.getTime());t.setDate(1),t.setMonth(t.getMonth()+e);const a=t.getMonth(),n=function(e,t,a){const n=new Date(t,e,1,1,0,0,0),r=-1*(a-n.getDay()-7)%7;return new Date(n.getTime()-864e5*r)}(a,t.getFullYear(),this.startDayOfWeek),r=this.generateDatesFrom(a,n,42);return this.create2DArray(r,7)}addDays(e,t){const a=new Date(e.valueOf());return a.setDate(a.getDate()+t),a}getAllDatesElements(){const e=this.root.shadowRoot.querySelectorAll("td");return Array.from(e)}getAllSelectableDatesElements(){const e=this.root.shadowRoot.querySelectorAll('td[tabindex="0"]');return Array.from(e)}getRangeDatesElements(e,t){const a=[];let n;n=t<e?this.getRangeDates(t,e):this.getRangeDates(e,t);for(const e of n){const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]:not(.gux-hidden)`);t&&a.push(t)}return a}getRangeDates(e,t){const a=[];let n=e;for(;n<=t;)a.push(new Date(n)),n=this.addDays(n,1);return a}async onDateClick(e){if(!this.outOfBounds(e))if("range"!==this.mode)await this.setValueAndEmit(e);else if(null===this.selectingDate)f(this.getAllDatesElements(),"gux-hovered"),this.selectingDate=new Date(e.valueOf()),this.value=s(e,e);else{const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]`);t&&t.classList.add("gux-selected"),this.updateRangeElements(),await this.setValueAndEmit([this.selectingDate,e]),this.previewValue=e,this.selectingDate=null}}onDateMouseEnter(e){"range"===this.mode&&null!==this.selectingDate&&(this.value=s(e,this.selectingDate),this.updateRangeElements())}updateRangeElements(){if("range"===this.mode){f(this.getAllDatesElements(),"gux-hovered");const[e,t]=i(this.value);v(this.getRangeDatesElements(e,t),"add","gux-hovered")}}async onKeyDown(e){switch(e.key){case" ":case"Enter":e.preventDefault(),await this.onDateClick(this.previewValue);break;case"ArrowDown":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowUp":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowLeft":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowRight":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageUp":e.preventDefault(),this.incrementPreviewDateByMonth(1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageDown":e.preventDefault(),this.incrementPreviewDateByMonth(-1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}))}}async componentWillLoad(){if(u(this.root,{variant:this.mode}),this.i18n=await l(this.root,m),this.locale=c(this.root),this.startDayOfWeek=this.startDayOfWeek||g(this.locale),!this.value){const e=new Date;e.setHours(0,0,0,0),this.value="range"===this.mode?s(e,e):d(e)}this.previewValue=o(this.value)}componentDidRender(){this.updateRangeElements()}renderMonthHeader(){return a("div",{class:"gux-month-list"},Array.from(Array(this.numberOfMonths).keys()).map((e=>{const t=function(e,t){const a=new Date(e);return a.setDate(1),a.setMonth(a.getMonth()+t),a}(this.previewValue,e);return a("label",null,y(t,this.locale))})))}renderCalendarTable(e){return a("table",null,a("tr",null,function(e,t){const a=[],n=new Date(1970,0,4);for(let t=0;t<7;t++){const t=n.toLocaleString(e,{weekday:"narrow"});a.push(t),n.setDate(n.getDate()+1)}return(r=a).concat(r.splice(0,(s=t)>r.length?s%r.length:s));var r,s}(this.locale,this.startDayOfWeek).map((e=>a("th",null,e)))),this.getMonthDays(e).map((e=>a("tr",null,e.map((e=>a("td",{tabindex:this.isFocusableDate(e)?"0":"-1",class:e.class,"aria-hidden":e.hidden?"true":"false","aria-disabled":e.disabled?"true":"false","data-date":e.date.getTime(),onClick:()=>{this.onDateClick(e.date)},onMouseEnter:()=>this.onDateMouseEnter(e.date),onKeyDown:e=>{this.onKeyDown(e)}},a("div",{class:"gux-date"},e.date.getDate(),a("span",{class:"gux-sr-only"},y(e.date,this.locale))))))))))}render(){return a("div",{key:"e7078b80ee2b85e0fe1c83f96e60a7964939545b",class:"gux-calendar"},a("div",{key:"f1e5fe1d328ef32158989cc9e20909f9e3139a67",class:"gux-header"},a("button",{key:"aae4da818ac5081ef787c16c812a7c0bc680a32d",type:"button",class:"gux-left","aria-label":this.i18n("previousMonth"),onClick:()=>this.incrementPreviewDateByMonth(-1)},a("gux-icon",{key:"823f261e39e0b061ead849afb82f5e0a2c5d55e4",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),this.renderMonthHeader(),a("button",{key:"d1d9ebc762d7278b19964ec38d00296b47f98b78",type:"button",class:"gux-right","aria-label":this.i18n("nextMonth"),onClick:()=>this.incrementPreviewDateByMonth(1)},a("gux-icon",{key:"a7bf63b4506e7c55f691d3aaad430f18edf0623a",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("div",{key:"b1cd35692c38c748363d6a0edd9c3f8d866d944e",class:"gux-content"},Array.from(Array(this.numberOfMonths).keys()).map((e=>this.renderCalendarTable(e)))))}get root(){return n(this)}};p.style=":host{display:inline-block}.gux-calendar{margin-block-start:2px;border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar .gux-header .gux-left,.gux-calendar .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar .gux-header .gux-left:focus-visible,.gux-calendar .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar .gux-header .gux-month-list{display:flex;justify-content:space-between;inline-size:100%;font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight)}.gux-calendar .gux-header .gux-month-list label{inline-size:100%;text-align:center}.gux-calendar .gux-content{display:flex;align-items:flex-start;block-size:var(--gse-ui-calendarMenu-height);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar .gux-content table{inline-size:var(--gse-ui-calendarMenu-day-input-width);text-align:start;-ms-user-select:none;user-select:none;table-layout:fixed;border-spacing:0}.gux-calendar .gux-content table:not(:last-child){padding-inline-end:24px}.gux-calendar .gux-content table tr{block-size:var(--gse-ui-calendarMenu-day-input-height)}.gux-calendar .gux-content table tr:empty{display:none}.gux-calendar .gux-content table tr th,.gux-calendar .gux-content table tr td{inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);padding:0;margin:0;text-align:center}.gux-calendar .gux-content table tr th{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight)}.gux-calendar .gux-content table tr td{font-family:var(--gse-ui-calendarMenu-date-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-defaultText-lineHeight);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);cursor:pointer}.gux-calendar .gux-content table tr td.gux-hovered{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-selected{color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-selected:hover:not(.gux-calendar .gux-content table tr td.gux-selected.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-selected.gux-end-date){background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date,.gux-calendar .gux-content table tr td.gux-end-date{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date,.gux-calendar .gux-content table tr td.gux-end-date .gux-date{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date:hover,.gux-calendar .gux-content table tr td.gux-end-date .gux-date:hover{background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date{border-radius:var(--gse-ui-calendarMenu-range-date-startDate-borderRadius)}.gux-calendar .gux-content table tr td.gux-end-date{border-radius:var(--gse-ui-calendarMenu-range-date-endDate-borderRadius)}.gux-calendar .gux-content table tr td:hover:not(.gux-calendar .gux-content table tr td.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-end-date):not(.gux-calendar .gux-content table tr td.gux-hovered):not(.gux-calendar .gux-content table tr td.gux-selected){background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month{opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month:hover{background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor)}.gux-calendar .gux-content table tr td.gux-not-in-month.gux-hidden{visibility:hidden}.gux-calendar .gux-content table tr td.gux-current-date{font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-currentText-lineHeight)}.gux-calendar .gux-content table tr td:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius);outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{p as gux_calendar}
1
+ import{r as e,c as t,h as a,a as n}from"./p-Gxc7TbJn.js";import{a as r}from"./p-Bg4q97BS.js";import{a as s,c as i,b as d,f as o}from"./p-aKaDsw_5.js";import{t as u}from"./p-DPbMWlWt.js";import{b as l,g as c,c as g}from"./p-CaTVn8Dx.js";import{c as h}from"./p-Cf6_BoFM.js";import{d as x}from"./p-B0p1zRQq.js";import{u as b}from"./p-ZuNZ-MBw.js";import"./p-Cd4R0amv.js";import"./p-BZb6pJEJ.js";function f(e,t){v(e,"remove",t)}function v(e=[],t,a){const n=[].concat(e);for(const e of n)e.classList[t](a)}var m={previousMonth:"Go to the previous month",nextMonth:"Go to the next month"};function y(e,t){return b()?h(x(t,{year:"numeric",month:"long"}).format(e)):h(e.toLocaleDateString(t,{year:"numeric",month:"long"}))}const M=class{constructor(a){e(this,a),this.calendarSelect=t(this,"calendarSelect",7),this.value="",this.minDate="",this.maxDate="",this.mode="single",this.numberOfMonths=1,this.previewValue=new Date,this.selectingDate=null,this.locale="en"}emitCalendarSelect(){this.calendarSelect.emit(this.value)}async setValue(e){if("range"===this.mode&&e instanceof Array){const[t,a]=e;this.value=s(t,a),this.previewValue=i(this.value)[0]}else{const t=e;this.value=d(t),this.previewValue=t}}async focusPreviewDate(){const e=this.root.shadowRoot.querySelector(`td[data-date="${this.previewValue.getTime()}"]`);e&&e.focus()}async resetCalendarView(e){this.previewValue=e}incrementPreviewDateByMonth(e){this.previewValue=new Date(this.previewValue.getFullYear(),this.previewValue.getMonth()+e,15,0,0,0)}async setValueAndEmit(e){await this.setValue(e),this.emitCalendarSelect()}outOfBounds(e){return""!==this.maxDate&&o(this.maxDate)<e||""!==this.minDate&&o(this.minDate)>e}generateDatesFrom(e,t,a){const n=[],r=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0);for(let t=0;t<a;t++){const t=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0),a=[],s=new Date,d=r.getFullYear()===s.getFullYear()&&r.getMonth()===s.getMonth()&&r.getDate()===s.getDate();let u=!1,l=!1;t.getMonth()!==e&&(a.push("gux-not-in-month"),u=!0,"range"===this.mode&&(a.push("gux-hidden"),l=!0)),this.outOfBounds(t)&&(a.push("gux-disabled"),u=!0);let c=!1;if(d&&a.push("gux-current-date"),"range"===this.mode){const[e,n]=i(this.value),r=e.getTime(),s=n.getTime();t.getTime()===r&&t.getTime()===s?(c=!0,a.push("gux-selected")):t.getTime()===r?(c=!0,a.push("gux-selected"),a.push("gux-start-date")):t.getTime()===s&&(c=!0,a.push("gux-selected"),a.push("gux-end-date"))}else{const e=o(this.value).getTime();t.getTime()===e&&(c=!0,a.push("gux-selected"))}n.push({class:a.join(" "),date:t,hidden:l,disabled:u,selected:c,isToday:d}),r.setDate(r.getDate()+1)}return n}create2DArray(e,t){const a=[];for(let n=0;n<t-1;n++){const r=e.slice(n*t,n*t+t);this.weekShouldBeDisplayed(r)&&a.push(r)}return a}isFocusableDate(e){return e.selected||this.previewValue.getTime()===e.date.getTime()}weekShouldBeDisplayed(e){const t=e.find((e=>!e.hidden));return e.length&&!!t}getMonthDays(e){const t=new Date(this.previewValue.getTime());t.setDate(1),t.setMonth(t.getMonth()+e);const a=t.getMonth(),n=function(e,t,a){const n=new Date(t,e,1,1,0,0,0),r=-1*(a-n.getDay()-7)%7;return new Date(n.getTime()-864e5*r)}(a,t.getFullYear(),this.startDayOfWeek),r=this.generateDatesFrom(a,n,42);return this.create2DArray(r,7)}addDays(e,t){const a=new Date(e.valueOf());return a.setDate(a.getDate()+t),a}getAllDatesElements(){const e=this.root.shadowRoot.querySelectorAll("td");return Array.from(e)}getAllSelectableDatesElements(){const e=this.root.shadowRoot.querySelectorAll('td[tabindex="0"]');return Array.from(e)}getRangeDatesElements(e,t){const a=[];let n;n=t<e?this.getRangeDates(t,e):this.getRangeDates(e,t);for(const e of n){const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]:not(.gux-hidden)`);t&&a.push(t)}return a}getRangeDates(e,t){const a=[];let n=e;for(;n<=t;)a.push(new Date(n)),n=this.addDays(n,1);return a}async onDateClick(e){if(!this.outOfBounds(e))if("range"!==this.mode)await this.setValueAndEmit(e);else if(null===this.selectingDate)f(this.getAllDatesElements(),"gux-hovered"),this.selectingDate=new Date(e.valueOf()),this.value=s(e,e);else{const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]`);t&&t.classList.add("gux-selected"),this.updateRangeElements(),await this.setValueAndEmit([this.selectingDate,e]),this.previewValue=e,this.selectingDate=null}}onDateMouseEnter(e){"range"===this.mode&&null!==this.selectingDate&&(this.value=s(e,this.selectingDate),this.updateRangeElements())}updateRangeElements(){if("range"===this.mode){f(this.getAllDatesElements(),"gux-hovered");const[e,t]=i(this.value);v(this.getRangeDatesElements(e,t),"add","gux-hovered")}}async onKeyDown(e){switch(e.key){case" ":case"Enter":e.preventDefault(),await this.onDateClick(this.previewValue);break;case"ArrowDown":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowUp":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowLeft":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowRight":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageUp":e.preventDefault(),this.incrementPreviewDateByMonth(1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageDown":e.preventDefault(),this.incrementPreviewDateByMonth(-1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}))}}async componentWillLoad(){if(u(this.root,{variant:this.mode}),this.i18n=await l(this.root,m),this.locale=c(this.root),this.startDayOfWeek=this.startDayOfWeek||g(this.locale),!this.value){const e=new Date;e.setHours(0,0,0,0),this.value="range"===this.mode?s(e,e):d(e)}this.previewValue=o(this.value)}componentDidRender(){this.updateRangeElements()}renderMonthHeader(){return a("div",{class:"gux-month-list"},Array.from(Array(this.numberOfMonths).keys()).map((e=>{const t=function(e,t){const a=new Date(e);return a.setDate(1),a.setMonth(a.getMonth()+t),a}(this.previewValue,e);return a("label",null,y(t,this.locale))})))}renderCalendarTable(e){return a("table",null,a("tr",null,function(e,t){const a=[],n=new Date(1970,0,4);for(let t=0;t<7;t++){const t=n.toLocaleString(e,{weekday:"narrow"});a.push(t),n.setDate(n.getDate()+1)}return(r=a).concat(r.splice(0,(s=t)>r.length?s%r.length:s));var r,s}(this.locale,this.startDayOfWeek).map((e=>a("th",null,e)))),this.getMonthDays(e).map((e=>a("tr",null,e.map((e=>a("td",{tabindex:this.isFocusableDate(e)?"0":"-1",class:e.class,"aria-hidden":e.hidden?"true":"false","aria-disabled":e.disabled?"true":"false","data-date":e.date.getTime(),onClick:()=>{this.onDateClick(e.date)},onMouseEnter:()=>this.onDateMouseEnter(e.date),onKeyDown:e=>{this.onKeyDown(e)}},a("div",{class:"gux-date"},e.date.getDate(),a("span",{class:"gux-sr-only"},y(e.date,this.locale))))))))))}render(){return a("div",{key:"e7078b80ee2b85e0fe1c83f96e60a7964939545b",class:"gux-calendar"},a("div",{key:"f1e5fe1d328ef32158989cc9e20909f9e3139a67",class:"gux-header"},a("button",{key:"aae4da818ac5081ef787c16c812a7c0bc680a32d",type:"button",class:"gux-left","aria-label":this.i18n("previousMonth"),onClick:()=>this.incrementPreviewDateByMonth(-1)},a("gux-icon",{key:"823f261e39e0b061ead849afb82f5e0a2c5d55e4",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),this.renderMonthHeader(),a("button",{key:"d1d9ebc762d7278b19964ec38d00296b47f98b78",type:"button",class:"gux-right","aria-label":this.i18n("nextMonth"),onClick:()=>this.incrementPreviewDateByMonth(1)},a("gux-icon",{key:"a7bf63b4506e7c55f691d3aaad430f18edf0623a",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("div",{key:"b1cd35692c38c748363d6a0edd9c3f8d866d944e",class:"gux-content"},Array.from(Array(this.numberOfMonths).keys()).map((e=>this.renderCalendarTable(e)))))}get root(){return n(this)}};M.style=":host{display:inline-block}.gux-calendar{margin-block-start:2px;border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar .gux-header .gux-left,.gux-calendar .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar .gux-header .gux-left:focus-visible,.gux-calendar .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar .gux-header .gux-month-list{display:flex;justify-content:space-between;inline-size:100%;font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight)}.gux-calendar .gux-header .gux-month-list label{inline-size:100%;text-align:center}.gux-calendar .gux-content{display:flex;align-items:flex-start;block-size:var(--gse-ui-calendarMenu-height);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar .gux-content table{inline-size:var(--gse-ui-calendarMenu-day-input-width);text-align:start;-ms-user-select:none;user-select:none;table-layout:fixed;border-spacing:0}.gux-calendar .gux-content table:not(:last-child){padding-inline-end:24px}.gux-calendar .gux-content table tr{block-size:var(--gse-ui-calendarMenu-day-input-height)}.gux-calendar .gux-content table tr:empty{display:none}.gux-calendar .gux-content table tr th,.gux-calendar .gux-content table tr td{inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);padding:0;margin:0;text-align:center}.gux-calendar .gux-content table tr th{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight)}.gux-calendar .gux-content table tr td{font-family:var(--gse-ui-calendarMenu-date-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-defaultText-lineHeight);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);cursor:pointer}.gux-calendar .gux-content table tr td.gux-hovered{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-selected{color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-selected:hover:not(.gux-calendar .gux-content table tr td.gux-selected.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-selected.gux-end-date){background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date,.gux-calendar .gux-content table tr td.gux-end-date{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date,.gux-calendar .gux-content table tr td.gux-end-date .gux-date{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date:hover,.gux-calendar .gux-content table tr td.gux-end-date .gux-date:hover{background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date{border-radius:var(--gse-ui-calendarMenu-range-date-startDate-borderRadius)}.gux-calendar .gux-content table tr td.gux-end-date{border-radius:var(--gse-ui-calendarMenu-range-date-endDate-borderRadius)}.gux-calendar .gux-content table tr td:hover:not(.gux-calendar .gux-content table tr td.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-end-date):not(.gux-calendar .gux-content table tr td.gux-hovered):not(.gux-calendar .gux-content table tr td.gux-selected){background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month{opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month:hover{background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor)}.gux-calendar .gux-content table tr td.gux-not-in-month.gux-hidden{visibility:hidden}.gux-calendar .gux-content table tr td.gux-current-date{font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-currentText-lineHeight)}.gux-calendar .gux-content table tr td:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius);outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{M as gux_calendar}
@@ -1 +1 @@
1
- import{r as a,c as t,d as i,h as e,a as n}from"./p-C6bJEG4l.js";import{a as s}from"./p-Bg4q97BS.js";import{t as o}from"./p-Diep8-qk.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"5d554086341d0a1a4c5e114dae8ff1e01d5a44c5",class:"gux-pagination-container"},e("div",{key:"6fb4cc0186e243987d59d39c56e71817333f7386",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"fd99e490e30527848491ce17be1adef7c1f65482","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"f6aa9c10e588bcc0404f37c3be786480db9e47cc",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"65c79da711cddaed988f4aae4db86550ff8f1dd5",class:"gux-pagination-spacer"}),e("div",{key:"b37111fe53095f6a3780cdfe24f34d8fdc6aa0bf",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"ac20edbf4542f3f4e7c29ca5e6eeb49116fcdeef",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
1
+ import{r as a,c as t,d as i,h as e,a as n}from"./p-Gxc7TbJn.js";import{a as s}from"./p-Bg4q97BS.js";import{t as o}from"./p-DPbMWlWt.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"5d554086341d0a1a4c5e114dae8ff1e01d5a44c5",class:"gux-pagination-container"},e("div",{key:"6fb4cc0186e243987d59d39c56e71817333f7386",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"fd99e490e30527848491ce17be1adef7c1f65482","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"f6aa9c10e588bcc0404f37c3be786480db9e47cc",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"65c79da711cddaed988f4aae4db86550ff8f1dd5",class:"gux-pagination-spacer"}),e("div",{key:"b37111fe53095f6a3780cdfe24f34d8fdc6aa0bf",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"ac20edbf4542f3f4e7c29ca5e6eeb49116fcdeef",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,a as e}from"./p-C6bJEG4l.js";import{s as a}from"./p-BMRf5pjV.js";import{t as o}from"./p-Diep8-qk.js";const h=class{constructor(s){t(this,s),this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,a(this.root,"input"),a(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"636ba23f9f730f26792bbbe606ec742967b678eb",role:"group",class:`gux-${this.layout}`},s("slot",{key:"d0d8b7103c7d91457e7a195eecaaaa0c154719c0",onSlotchange:this.slotChanged.bind(this)}))}get root(){return e(this)}};h.style=":host{display:flex;align-items:flex-end}";export{h as gux_switch_legacy}
1
+ import{r as t,h as s,H as i,a as e}from"./p-Gxc7TbJn.js";import{s as a}from"./p-BMRf5pjV.js";import{t as o}from"./p-DPbMWlWt.js";const h=class{constructor(s){t(this,s),this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,a(this.root,"input"),a(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"636ba23f9f730f26792bbbe606ec742967b678eb",role:"group",class:`gux-${this.layout}`},s("slot",{key:"d0d8b7103c7d91457e7a195eecaaaa0c154719c0",onSlotchange:this.slotChanged.bind(this)}))}get root(){return e(this)}};h.style=":host{display:flex;align-items:flex-end}";export{h as gux_switch_legacy}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-C6bJEG4l.js";import{b as o}from"./p-BecYkX6C.js";import{O as r}from"./p-Bd56gXhq.js";import{a as l,o as s}from"./p-De1NnCmO.js";import{h as a}from"./p-qzV3vtOw.js";import{g as f}from"./p-MAoEg4ig.js";import{G as n,a as d}from"./p-nRW1nhY0.js";import{G as h,a as u,b as c}from"./p-DYzt3wTZ.js";import{v as m,a as p}from"./p-DHLxhscH.js";import{t as g}from"./p-Diep8-qk.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-zone-picker-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasLabelInfo=a(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"1ad4d1c99aabb9a05e74fc29f2b837395f09b509",labelPosition:this.computedLabelPosition},i(u,{key:"ad6f9aad86f1f204bc1e031922854e7d49cbf4bb"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(f(this.root,"error"),this.hasError),this.renderText(f(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"dae40a4854def934d8f0c36fc4839b489a5daeac",position:this.computedLabelPosition,required:this.required},i("slot",{key:"6bfdc3715997776d902ef4d2fd5e77687c082da0",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"8216331ad832ec97847bf6eec4bfb2f0fcc5c36a",variant:this.indicatorMark,required:this.required}),i("slot",{key:"3f8a3c2ab7f0eafafd5cb5e04655c9db971716e1",name:"label-info"})),i("slot",{key:"2f6f4e8cd88b743cefdd8d3f57b184fec3dd2e24",name:"label-info"}),i("div",{key:"0c64f7fb01d27455a15cf0141922cfed7e8d3903",class:"gux-input-and-error-container"},i("div",{key:"6435dbd53f58b7562dd26661174ba80150f08c20",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"b3753cfe2c0ff405a8d50810e803ded2b788f275"})),i(n,{key:"78c8ca42bd66e97d9acfcdc121b6c05c37086fb6",show:this.hasError},i("slot",{key:"ca9116ecdb5f8ef1c27ab79c4d15fb482b001e37",name:"error"})),i(d,{key:"f8da82f8466efe11d5a6e4ffab6a4fa0c2ea6ef3",show:!this.hasError&&this.hasHelp},i("slot",{key:"f1b21555ecfdeb1b007af82f0d01b7a6db94787f",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),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,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(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-Gxc7TbJn.js";import{b as o}from"./p-CaTVn8Dx.js";import{O as r}from"./p-tf-B0dc6.js";import{a as l,o as s}from"./p-De1NnCmO.js";import{h as a}from"./p-qzV3vtOw.js";import{g as f}from"./p-MAoEg4ig.js";import{G as n,a as d}from"./p-DL9G9XmO.js";import{G as h,a as u,b as c}from"./p-Bg4ncddC.js";import{v as m,a as p}from"./p-DHLxhscH.js";import{t as g}from"./p-DPbMWlWt.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-zone-picker-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasLabelInfo=a(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"1ad4d1c99aabb9a05e74fc29f2b837395f09b509",labelPosition:this.computedLabelPosition},i(u,{key:"ad6f9aad86f1f204bc1e031922854e7d49cbf4bb"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(f(this.root,"error"),this.hasError),this.renderText(f(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"dae40a4854def934d8f0c36fc4839b489a5daeac",position:this.computedLabelPosition,required:this.required},i("slot",{key:"6bfdc3715997776d902ef4d2fd5e77687c082da0",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"8216331ad832ec97847bf6eec4bfb2f0fcc5c36a",variant:this.indicatorMark,required:this.required}),i("slot",{key:"3f8a3c2ab7f0eafafd5cb5e04655c9db971716e1",name:"label-info"})),i("slot",{key:"2f6f4e8cd88b743cefdd8d3f57b184fec3dd2e24",name:"label-info"}),i("div",{key:"0c64f7fb01d27455a15cf0141922cfed7e8d3903",class:"gux-input-and-error-container"},i("div",{key:"6435dbd53f58b7562dd26661174ba80150f08c20",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"b3753cfe2c0ff405a8d50810e803ded2b788f275"})),i(n,{key:"78c8ca42bd66e97d9acfcdc121b6c05c37086fb6",show:this.hasError},i("slot",{key:"ca9116ecdb5f8ef1c27ab79c4d15fb482b001e37",name:"error"})),i(d,{key:"f8da82f8466efe11d5a6e4ffab6a4fa0c2ea6ef3",show:!this.hasError&&this.hasHelp},i("slot",{key:"f1b21555ecfdeb1b007af82f0d01b7a6db94787f",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),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,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(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}