genesys-spark-components 4.82.0 → 4.83.0

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 (826) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +9 -9
  2. package/dist/cjs/{get-valid-timezone-47bf9353.js → get-valid-timezone-a670d106.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
  4. package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
  5. package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +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-badge.cjs.entry.js +4 -4
  14. package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
  15. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
  18. package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-button.cjs.entry.js +4 -4
  20. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-calendar.cjs.entry.js +5 -5
  22. package/dist/cjs/gux-card.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
  24. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  25. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  26. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  27. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  29. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
  31. package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
  32. package/dist/cjs/gux-datepicker.cjs.entry.js +6 -6
  33. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  34. package/dist/cjs/gux-dismiss-button.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
  37. package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
  38. package/dist/cjs/gux-dropdown_3.cjs.entry.js +10 -10
  39. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
  41. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
  44. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
  45. package/dist/cjs/gux-form-field-color.cjs.entry.js +8 -8
  46. package/dist/cjs/{gux-form-field-container-51849136.js → gux-form-field-container-acf6a036.js} +1 -1
  47. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
  48. package/dist/cjs/{gux-form-field-error-4e1d6772.js → gux-form-field-error-ec300f9a.js} +1 -1
  49. package/dist/cjs/{gux-form-field-fieldset-container-bf86cba7.js → gux-form-field-fieldset-container-629ca11f.js} +1 -1
  50. package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
  51. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
  52. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  53. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +14 -14
  54. package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
  55. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
  56. package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
  57. package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
  58. package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
  59. package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
  60. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +8 -8
  61. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
  62. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
  63. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
  64. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  66. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-icon.cjs.entry.js +3 -3
  69. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  70. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  71. package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
  73. package/dist/cjs/gux-list.cjs.entry.js +3 -3
  74. package/dist/cjs/gux-listbox-multi.cjs.entry.js +3 -3
  75. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
  76. package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-menu.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
  79. package/dist/cjs/gux-modal.cjs.entry.js +3 -3
  80. package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
  81. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
  83. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
  84. package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
  86. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  87. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
  88. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  89. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +4 -4
  90. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  91. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  92. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
  93. package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  95. package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
  96. package/dist/cjs/gux-popup.cjs.entry.js +4 -4
  97. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  98. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-rating.cjs.entry.js +3 -3
  100. package/dist/cjs/gux-row-select.cjs.entry.js +3 -3
  101. package/dist/cjs/gux-screen-reader-beta_2.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  109. package/dist/cjs/gux-sort-control.cjs.entry.js +6 -6
  110. package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
  111. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
  114. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  115. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  116. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  117. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-tab.cjs.entry.js +3 -3
  119. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  122. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
  123. package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
  124. package/dist/cjs/gux-table.cjs.entry.js +4 -4
  125. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
  127. package/dist/cjs/gux-tag.cjs.entry.js +4 -4
  128. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
  130. package/dist/cjs/gux-time-picker.cjs.entry.js +6 -6
  131. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  132. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  133. package/dist/cjs/gux-toast.cjs.entry.js +4 -4
  134. package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
  135. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  136. package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
  138. package/dist/cjs/gux-tooltip.cjs.entry.js +4 -4
  139. package/dist/cjs/gux-truncate.cjs.entry.js +6 -6
  140. package/dist/cjs/{index-f9d85787.js → index-0dfe7f6f.js} +1 -1
  141. package/dist/cjs/index-9fe2464a.js +2230 -0
  142. package/dist/cjs/loader.cjs.js +1 -1
  143. package/dist/cjs/{on-click-outside-6db914c3.js → on-click-outside-a38fafee.js} +1 -1
  144. package/dist/cjs/{on-mutation-3d294d15.js → on-mutation-c819498e.js} +1 -1
  145. package/dist/cjs/{on-resize-da1477df.js → on-resize-15b449e5.js} +1 -1
  146. package/dist/cjs/{usage-b92ab3f5.js → usage-b34c8cf8.js} +6 -7
  147. package/dist/cjs/{use-regional-dates-34243a86.js → use-regional-dates-44835a16.js} +14 -2
  148. package/dist/collection/collection-manifest.json +2 -2
  149. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  150. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  151. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  152. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  153. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  154. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  155. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  156. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  157. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  158. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  159. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  160. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  161. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  162. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  163. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  164. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  165. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  166. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  167. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  168. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  169. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  170. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  171. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  172. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  173. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  174. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  175. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  176. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  177. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  178. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  179. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +1 -1
  180. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +3 -3
  181. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  182. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  183. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  184. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  185. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  186. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  187. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  188. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  189. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  190. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  191. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  192. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  193. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  194. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  195. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  196. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  197. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  198. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  199. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  200. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  201. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  202. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  203. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
  204. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  205. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  206. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  207. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  208. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  209. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  210. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  211. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  212. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  213. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  214. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  215. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  216. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  217. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  218. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +2 -2
  219. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +1 -1
  220. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  221. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  222. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  223. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  224. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  225. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  226. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  227. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  228. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  229. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  230. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
  231. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  232. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  233. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  234. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  235. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  236. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  237. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  238. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  239. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  240. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  241. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  242. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  243. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  244. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  245. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  246. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  247. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  248. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  249. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  250. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  251. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  252. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  253. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  254. package/dist/collection/genesys-spark-utils/intl.js +14 -2
  255. package/dist/collection/test/setupAxeTests.js +3 -11
  256. package/dist/esm/genesys-webcomponents.js +10 -10
  257. package/dist/esm/{get-valid-timezone-6faa4c47.js → get-valid-timezone-3e8bbe2d.js} +1 -1
  258. package/dist/esm/gux-accordion-section.entry.js +6 -6
  259. package/dist/esm/gux-accordion.entry.js +3 -3
  260. package/dist/esm/gux-action-button.entry.js +5 -5
  261. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  262. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
  263. package/dist/esm/gux-all-row-select.entry.js +3 -3
  264. package/dist/esm/gux-announce-beta.entry.js +2 -2
  265. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  266. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  267. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  268. package/dist/esm/gux-badge.entry.js +4 -4
  269. package/dist/esm/gux-blank-state.entry.js +4 -4
  270. package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
  271. package/dist/esm/gux-breadcrumbs.entry.js +4 -4
  272. package/dist/esm/gux-button-multi.entry.js +4 -4
  273. package/dist/esm/gux-button-slot.entry.js +3 -3
  274. package/dist/esm/gux-button.entry.js +4 -4
  275. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  276. package/dist/esm/gux-calendar.entry.js +5 -5
  277. package/dist/esm/gux-card.entry.js +4 -4
  278. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  279. package/dist/esm/gux-column-manager.entry.js +4 -4
  280. package/dist/esm/gux-content-search.entry.js +5 -5
  281. package/dist/esm/gux-context-menu.entry.js +6 -6
  282. package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
  283. package/dist/esm/gux-create-option.entry.js +4 -4
  284. package/dist/esm/gux-cta-group.entry.js +1 -1
  285. package/dist/esm/gux-date-beta.entry.js +5 -5
  286. package/dist/esm/gux-date-time-beta.entry.js +5 -5
  287. package/dist/esm/gux-datepicker.entry.js +6 -6
  288. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  289. package/dist/esm/gux-dismiss-button.entry.js +4 -4
  290. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  291. package/dist/esm/gux-dropdown-multi.entry.js +6 -6
  292. package/dist/esm/gux-dropdown-option.entry.js +2 -2
  293. package/dist/esm/gux-dropdown_3.entry.js +10 -10
  294. package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
  295. package/dist/esm/gux-flyout-menu.entry.js +4 -4
  296. package/dist/esm/gux-form-beta.entry.js +1 -1
  297. package/dist/esm/gux-form-description.entry.js +1 -1
  298. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
  299. package/dist/esm/gux-form-field-checkbox.entry.js +6 -6
  300. package/dist/esm/gux-form-field-color.entry.js +8 -8
  301. package/dist/esm/{gux-form-field-container-777ec473.js → gux-form-field-container-342b6920.js} +1 -1
  302. package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
  303. package/dist/esm/{gux-form-field-error-1776797e.js → gux-form-field-error-e92661e1.js} +1 -1
  304. package/dist/esm/{gux-form-field-fieldset-container-1769a15e.js → gux-form-field-fieldset-container-269b6d42.js} +1 -1
  305. package/dist/esm/gux-form-field-file.entry.js +6 -6
  306. package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
  307. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  308. package/dist/esm/gux-form-field-number_3.entry.js +14 -14
  309. package/dist/esm/gux-form-field-phone.entry.js +10 -10
  310. package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
  311. package/dist/esm/gux-form-field-radio.entry.js +6 -6
  312. package/dist/esm/gux-form-field-range.entry.js +8 -8
  313. package/dist/esm/gux-form-field-search.entry.js +8 -8
  314. package/dist/esm/gux-form-field-select.entry.js +8 -8
  315. package/dist/esm/gux-form-field-text-like.entry.js +8 -8
  316. package/dist/esm/gux-form-field-textarea.entry.js +7 -7
  317. package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
  318. package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
  319. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  320. package/dist/esm/gux-form-footer.entry.js +2 -2
  321. package/dist/esm/gux-form-heading.entry.js +1 -1
  322. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  323. package/dist/esm/gux-icon.entry.js +3 -3
  324. package/dist/esm/gux-inline-alert.entry.js +5 -5
  325. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  326. package/dist/esm/gux-list-divider.entry.js +2 -2
  327. package/dist/esm/gux-list-item.entry.js +2 -2
  328. package/dist/esm/gux-list.entry.js +3 -3
  329. package/dist/esm/gux-listbox-multi.entry.js +3 -3
  330. package/dist/esm/gux-loading-message.entry.js +3 -3
  331. package/dist/esm/gux-menu-option.entry.js +2 -2
  332. package/dist/esm/gux-menu.entry.js +2 -2
  333. package/dist/esm/gux-modal-legacy.entry.js +4 -4
  334. package/dist/esm/gux-modal.entry.js +3 -3
  335. package/dist/esm/gux-month-calendar.entry.js +3 -3
  336. package/dist/esm/gux-month-list_2.entry.js +1 -1
  337. package/dist/esm/gux-month-picker-beta.entry.js +5 -5
  338. package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
  339. package/dist/esm/gux-option-group-beta.entry.js +2 -2
  340. package/dist/esm/gux-option-icon.entry.js +3 -3
  341. package/dist/esm/gux-option-multi.entry.js +4 -4
  342. package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
  343. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  344. package/dist/esm/gux-pagination-buttons_2.entry.js +4 -4
  345. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  346. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  347. package/dist/esm/gux-pagination-legacy.entry.js +3 -3
  348. package/dist/esm/gux-pagination.entry.js +3 -3
  349. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  350. package/dist/esm/gux-popover-list.entry.js +5 -5
  351. package/dist/esm/gux-popup.entry.js +4 -4
  352. package/dist/esm/gux-radial-loading.entry.js +4 -4
  353. package/dist/esm/gux-radial-progress.entry.js +2 -2
  354. package/dist/esm/gux-rating.entry.js +3 -3
  355. package/dist/esm/gux-row-select.entry.js +3 -3
  356. package/dist/esm/gux-screen-reader-beta_2.entry.js +2 -2
  357. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  358. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  359. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  360. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  361. package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
  362. package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
  363. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  364. package/dist/esm/gux-sort-control.entry.js +6 -6
  365. package/dist/esm/gux-submenu.entry.js +4 -4
  366. package/dist/esm/gux-switch-item.entry.js +2 -2
  367. package/dist/esm/gux-switch-legacy.entry.js +3 -3
  368. package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
  369. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  370. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  371. package/dist/esm/gux-tab-list.entry.js +5 -5
  372. package/dist/esm/gux-tab-panel.entry.js +2 -2
  373. package/dist/esm/gux-tab.entry.js +3 -3
  374. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  375. package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
  376. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  377. package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
  378. package/dist/esm/gux-table-toolbar.entry.js +6 -6
  379. package/dist/esm/gux-table.entry.js +4 -4
  380. package/dist/esm/gux-tabs-advanced.entry.js +3 -3
  381. package/dist/esm/gux-tabs.entry.js +3 -3
  382. package/dist/esm/gux-tag.entry.js +4 -4
  383. package/dist/esm/gux-text-highlight.entry.js +2 -2
  384. package/dist/esm/gux-time-beta.entry.js +5 -5
  385. package/dist/esm/gux-time-picker.entry.js +6 -6
  386. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  387. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  388. package/dist/esm/gux-toast.entry.js +4 -4
  389. package/dist/esm/gux-toggle-slider.entry.js +3 -3
  390. package/dist/esm/gux-toggle.entry.js +5 -5
  391. package/dist/esm/gux-tooltip-base-beta.entry.js +2 -2
  392. package/dist/esm/gux-tooltip-title.entry.js +5 -5
  393. package/dist/esm/gux-tooltip.entry.js +4 -4
  394. package/dist/esm/gux-truncate.entry.js +6 -6
  395. package/dist/esm/{index-ad321c23.js → index-23f79584.js} +1 -1
  396. package/dist/esm/index-a9821ed9.js +2197 -0
  397. package/dist/esm/loader.js +2 -2
  398. package/dist/esm/{on-click-outside-21dd269e.js → on-click-outside-e10242ab.js} +1 -1
  399. package/dist/esm/{on-mutation-1355c534.js → on-mutation-8eed4e0c.js} +1 -1
  400. package/dist/esm/{on-resize-6a194a58.js → on-resize-a83593c5.js} +1 -1
  401. package/dist/esm/{usage-3d6b4b20.js → usage-3aade09b.js} +6 -7
  402. package/dist/esm/{use-regional-dates-a47e74e6.js → use-regional-dates-dd987b2d.js} +14 -2
  403. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  404. package/dist/genesys-webcomponents/p-0179b174.entry.js +1 -0
  405. package/dist/genesys-webcomponents/{p-40435926.entry.js → p-02393e6b.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/p-027c43d4.js +1 -0
  407. package/dist/genesys-webcomponents/{p-2bcc4685.js → p-0436d67c.js} +1 -1
  408. package/dist/genesys-webcomponents/p-087d422d.entry.js +1 -0
  409. package/dist/genesys-webcomponents/p-09ad38fb.entry.js +1 -0
  410. package/dist/genesys-webcomponents/p-0ab33452.entry.js +1 -0
  411. package/dist/genesys-webcomponents/{p-e080422d.js → p-0ae26361.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-cc58f9d4.entry.js → p-0b08f674.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-2253f98c.entry.js → p-0edf08e9.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-d9256201.entry.js → p-108f5d83.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/p-11be71ca.entry.js +1 -0
  416. package/dist/genesys-webcomponents/{p-aee35636.entry.js → p-11c9be03.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-e634842f.entry.js → p-12214390.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-9773c4fe.js → p-1ea82bf6.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-ee3831e8.entry.js → p-1fb6d3e2.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-413ed990.entry.js → p-2196e991.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/p-22455f08.entry.js +1 -0
  422. package/dist/genesys-webcomponents/{p-6628cd36.entry.js → p-22df2780.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-60776811.entry.js → p-25086339.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-6fbca276.entry.js → p-264bdae8.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-b6a66278.entry.js → p-2757a6b4.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-0d990ed4.entry.js → p-27663fa2.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-26792730.entry.js → p-2917986a.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-62c9a4e1.entry.js → p-2bde7696.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-77e320b7.entry.js → p-2d5e9d0b.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-3f3b2904.entry.js → p-30abf0c4.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-09936465.entry.js → p-3364f18f.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-8c05807d.entry.js → p-35e1e445.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-cf590276.entry.js → p-376e469d.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/p-383a93b2.entry.js +1 -0
  435. package/dist/genesys-webcomponents/{p-1922ddd5.entry.js → p-38f6da60.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-5bcc54c7.js → p-3b4a0d71.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-94921fba.entry.js → p-3d362a82.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-6ca2c952.entry.js → p-3d92e226.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/p-4177f683.entry.js +1 -0
  440. package/dist/genesys-webcomponents/{p-aed20919.entry.js → p-41fe3804.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/p-4464d57b.entry.js +1 -0
  442. package/dist/genesys-webcomponents/{p-9cff2003.entry.js → p-453dcc14.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-d54d74fc.entry.js → p-4a22c6f7.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-7fae78d4.entry.js → p-4aa121d9.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-c5a8ab08.entry.js → p-4ada383c.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-4ef76102.entry.js → p-4b6e955f.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-53cd4011.entry.js → p-4ebba2da.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-7e87e002.entry.js → p-4ec598a6.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-4b3458d2.entry.js → p-50b1d53c.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-ccb7ef75.entry.js → p-50d50951.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-e2ee7d6f.entry.js → p-513ca276.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-0b95c4be.entry.js → p-53125d18.entry.js} +2 -2
  453. package/dist/genesys-webcomponents/{p-91abf805.entry.js → p-53e1504f.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/p-53ec575f.js +2 -0
  455. package/dist/genesys-webcomponents/{p-d1d36f09.entry.js → p-58f94798.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-387364be.entry.js → p-597adf41.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/p-5a6482eb.entry.js +1 -0
  458. package/dist/genesys-webcomponents/{p-2351e1ef.entry.js → p-5b22ae14.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-16e071d9.entry.js → p-5ccb16da.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-0d5dcdd3.js → p-60c044d0.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-c470f1b9.entry.js → p-60d69aa2.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-4dd0710d.entry.js → p-62e58d04.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-443b93e8.entry.js → p-65fc6ec2.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-7b018984.entry.js → p-6b5e20d7.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/p-7008e76b.entry.js +1 -0
  466. package/dist/genesys-webcomponents/p-750314f0.entry.js +1 -0
  467. package/dist/genesys-webcomponents/{p-3515818f.entry.js → p-766cbb49.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-fb1ab7b1.js → p-788c3a6d.js} +1 -1
  469. package/dist/genesys-webcomponents/p-7a02837f.entry.js +1 -0
  470. package/dist/genesys-webcomponents/{p-e601cc45.entry.js → p-7cb995fe.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-22fa8d25.entry.js → p-7ce74a69.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-aab34699.entry.js → p-7d371786.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-c5436f71.entry.js → p-7e9c7181.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/p-7f923c19.js +1 -0
  475. package/dist/genesys-webcomponents/{p-43996564.entry.js → p-8535c841.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-ca4cdad5.entry.js → p-87327f59.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-e9891ef0.entry.js → p-874dc747.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-7d29918d.entry.js → p-8db67b42.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-b811f588.entry.js → p-8faeada8.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/p-927c2b47.entry.js +1 -0
  481. package/dist/genesys-webcomponents/{p-d806095e.entry.js → p-949fef1f.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/p-97b1ea28.entry.js +1 -0
  483. package/dist/genesys-webcomponents/p-9a57af5e.entry.js +1 -0
  484. package/dist/genesys-webcomponents/{p-e3373caf.entry.js → p-a0c87358.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-e1aded78.entry.js → p-a36bd682.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-e135abdf.entry.js → p-a4a73d53.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-6cf2c987.entry.js → p-a689b4cd.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-ce59b6a5.entry.js → p-a7a93823.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-3f9ed1a0.entry.js → p-ab160e2d.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-82bb41ef.entry.js → p-ab1b396f.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/p-ab33e45e.entry.js +1 -0
  492. package/dist/genesys-webcomponents/{p-c2ed23d5.entry.js → p-ac31bfa7.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-7a0286ba.entry.js → p-adb38b12.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-fdbd5e42.entry.js → p-af3a368d.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-9b440896.entry.js → p-b409ebc9.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/p-b4633db2.entry.js +1 -0
  497. package/dist/genesys-webcomponents/{p-d17ab5c8.entry.js → p-b54b15b3.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/p-b62c2a0f.entry.js +1 -0
  499. package/dist/genesys-webcomponents/p-b8c02c2e.entry.js +1 -0
  500. package/dist/genesys-webcomponents/{p-f25264a0.entry.js → p-ba844217.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/p-bb803769.entry.js +1 -0
  502. package/dist/genesys-webcomponents/{p-0e99917d.entry.js → p-bdf597b4.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-73e09c03.entry.js → p-c08466fc.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-9b16ac3b.entry.js → p-c1c6fc20.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-81559e0d.entry.js → p-c28c1753.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-f04d4630.entry.js → p-c352994a.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-577dc151.entry.js → p-c4d9667d.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/p-c5847c69.js +1 -0
  509. package/dist/genesys-webcomponents/p-c6566c0c.entry.js +1 -0
  510. package/dist/genesys-webcomponents/{p-875432dd.entry.js → p-c7449808.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-4cf88aba.entry.js → p-c815fa61.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/p-c84cf91b.entry.js +1 -0
  513. package/dist/genesys-webcomponents/{p-346fcd0d.entry.js → p-c9ac4c45.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-8aefd475.entry.js → p-ca3db1aa.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-4e618678.entry.js → p-cf7c063a.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-f139788a.entry.js → p-d073ad95.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-78714157.entry.js → p-d0d0367f.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-7ffe0228.entry.js → p-d1235609.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-5a75e700.entry.js → p-d143d5a1.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-7cc77530.entry.js → p-d2d4cb90.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-3aa4d1ea.entry.js → p-d43975d5.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-faf1be96.entry.js → p-d48d4931.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-b333391d.entry.js → p-d53a2cb5.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-78290812.entry.js → p-d5dd6917.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-e30bf599.entry.js → p-db04d242.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-5e90b14c.entry.js → p-db24662a.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-bf71027a.entry.js → p-db2604f5.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-51114005.entry.js → p-dd21b0d9.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-75eb2888.entry.js → p-dd76305f.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-8b59ef4c.entry.js → p-e0778138.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-119e8407.entry.js → p-e3e8ca11.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-f4c492c3.entry.js → p-e4147c40.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-5aade352.js → p-e79ff8f4.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-c041d75a.entry.js → p-e8f3d6a5.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-730bfdcf.entry.js → p-ed37b4dc.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/p-ef6463ff.entry.js +1 -0
  537. package/dist/genesys-webcomponents/{p-ed4a0372.entry.js → p-ef9d03ae.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-1f8183dd.entry.js → p-f77fa8df.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-e0a538ec.entry.js → p-f84aceb6.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-f0e8888a.entry.js → p-f8fa6160.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-cfdf92ee.entry.js → p-f9b90dc5.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-2f417760.entry.js → p-fb9f4472.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/p-fbded9fb.entry.js +1 -0
  544. package/dist/genesys-webcomponents/p-fdf8db23.entry.js +1 -0
  545. package/dist/genesys-webcomponents/{p-7e3cce19.entry.js → p-fe179025.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-afcaf5a8.entry.js → p-fe1e5a80.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-a4dcdbe5.entry.js → p-fea1b60a.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-b27a19b1.entry.js → p-fec808f8.entry.js} +1 -1
  549. package/dist/loader/cdn.js +1 -3
  550. package/dist/loader/index.cjs.js +1 -3
  551. package/dist/loader/index.d.ts +3 -0
  552. package/dist/loader/index.es2017.js +1 -3
  553. package/dist/loader/index.js +1 -3
  554. package/dist/stencil-wrapper.js +1 -1
  555. package/dist/types/stencil-public-runtime.d.ts +3 -10
  556. package/dist/types/stencil-wrapper.d.ts +1 -1
  557. package/package.json +6 -7
  558. package/dist/cjs/index-7fb02c8c.js +0 -3076
  559. package/dist/collection/components/beta/gux-announce/tests/gux-announce.e2e.js +0 -18
  560. package/dist/collection/components/beta/gux-announce/tests/gux-announce.spec.js +0 -19
  561. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/tests/gux-avatar-change-photo.e2e.js +0 -14
  562. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/tests/gux-avatar-change-photo.spec.js +0 -29
  563. package/dist/collection/components/beta/gux-avatar/gux-avatar-focusable/gux-avatar-focusable.e2e.js +0 -29
  564. package/dist/collection/components/beta/gux-avatar/gux-avatar-focusable/tests/gux-avatar-focusable.spec.js +0 -66
  565. package/dist/collection/components/beta/gux-avatar/tests/gux-avatar.e2e.js +0 -67
  566. package/dist/collection/components/beta/gux-avatar/tests/gux-avatar.spec.js +0 -155
  567. package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.e2e.js +0 -202
  568. package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.spec.js +0 -19
  569. package/dist/collection/components/beta/gux-cta-group/tests/gux-cta-group.e2e.js +0 -32
  570. package/dist/collection/components/beta/gux-cta-group/tests/gux-cta-group.spec.js +0 -82
  571. package/dist/collection/components/beta/gux-date/tests/gux-date.e2e.js +0 -30
  572. package/dist/collection/components/beta/gux-date/tests/gux-date.spec.js +0 -82
  573. package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.e2e.js +0 -30
  574. package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.spec.js +0 -68
  575. package/dist/collection/components/beta/gux-flag-icon/tests/gux-flag-icon.e2e.js +0 -268
  576. package/dist/collection/components/beta/gux-flag-icon/tests/gux-flag-icon.spec.js +0 -267
  577. package/dist/collection/components/beta/gux-form/gux-form-description/tests/gux-form-description.e2e.js +0 -16
  578. package/dist/collection/components/beta/gux-form/gux-form-description/tests/gux-form-description.spec.js +0 -12
  579. package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/tests/gux-form-fieldset-heading.e2e.js +0 -16
  580. package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/tests/gux-form-fieldset-heading.spec.js +0 -11
  581. package/dist/collection/components/beta/gux-form/gux-form-footer/tests/gux-form-footer.e2e.js +0 -25
  582. package/dist/collection/components/beta/gux-form/gux-form-footer/tests/gux-form-footer.spec.js +0 -17
  583. package/dist/collection/components/beta/gux-form/gux-form-heading/tests/gux-form-heading.e2e.js +0 -16
  584. package/dist/collection/components/beta/gux-form/gux-form-heading/tests/gux-form-heading.spec.js +0 -11
  585. package/dist/collection/components/beta/gux-form/tests/gux-form.e2e.js +0 -78
  586. package/dist/collection/components/beta/gux-form/tests/gux-form.spec.js +0 -148
  587. package/dist/collection/components/beta/gux-icon-tooltip/tests/gux-icon-tooltip.e2e.js +0 -17
  588. package/dist/collection/components/beta/gux-icon-tooltip/tests/gux-icon-tooltip.spec.js +0 -19
  589. package/dist/collection/components/beta/gux-label-info/tests/gux-label-info.e2e.js +0 -17
  590. package/dist/collection/components/beta/gux-label-info/tests/gux-label-info.spec.js +0 -20
  591. package/dist/collection/components/beta/gux-month-picker/tests/gux-month-picker.e2e.js +0 -18
  592. package/dist/collection/components/beta/gux-month-picker/tests/gux-month-picker.spec.js +0 -50
  593. package/dist/collection/components/beta/gux-phone-input/tests/gux-phone-input.e2e.js +0 -110
  594. package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.e2e.js +0 -16
  595. package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.spec.js +0 -17
  596. package/dist/collection/components/beta/gux-segmented-control/tests/gux-segmented-control.e2e.js +0 -108
  597. package/dist/collection/components/beta/gux-segmented-control/tests/gux-segmented-control.spec.js +0 -126
  598. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/tests/gux-selector-card.e2e.js +0 -70
  599. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/tests/gux-selector-card.spec.js +0 -163
  600. package/dist/collection/components/beta/gux-selector-cards/tests/gux-selector-cards.e2e.js +0 -202
  601. package/dist/collection/components/beta/gux-selector-cards/tests/gux-selector-cards.spec.js +0 -157
  602. package/dist/collection/components/beta/gux-time/tests/gux-time.e2e.js +0 -30
  603. package/dist/collection/components/beta/gux-time/tests/gux-time.spec.js +0 -68
  604. package/dist/collection/components/beta/gux-time-zone/tests/gux-time-zone.service.spec.js +0 -24
  605. package/dist/collection/components/beta/gux-time-zone/tests/gux-time-zone.spec.js +0 -24
  606. package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.e2e.js +0 -60
  607. package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.spec.js +0 -16
  608. package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.e2e.js +0 -40
  609. package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.spec.js +0 -64
  610. package/dist/collection/components/legacy/gux-action-toast-legacy/tests/gux-action-toast.e2e.js +0 -26
  611. package/dist/collection/components/legacy/gux-action-toast-legacy/tests/gux-action-toast.spec.js +0 -28
  612. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/tests/gux-dropdown-option.spec.js +0 -47
  613. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/tests/gux-advanced-dropdown.e2e.js +0 -149
  614. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/tests/gux-advanced-dropdown.spec.js +0 -17
  615. package/dist/collection/components/legacy/gux-disclosure-button-legacy/tests/gux-disclosure-button.e2e.js +0 -80
  616. package/dist/collection/components/legacy/gux-disclosure-button-legacy/tests/gux-disclosure-button.spec.js +0 -82
  617. package/dist/collection/components/legacy/gux-modal-legacy/tests/gux-modal-legacy.e2e.js +0 -301
  618. package/dist/collection/components/legacy/gux-modal-legacy/tests/gux-modal-legacy.spec.js +0 -200
  619. package/dist/collection/components/legacy/gux-notification-toast-legacy/tests/gux-notification-toast.e2e.js +0 -109
  620. package/dist/collection/components/legacy/gux-notification-toast-legacy/tests/gux-notification-toast.spec.js +0 -99
  621. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/tests/gux-pagination-buttons.service.spec.js +0 -138
  622. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/tests/gux-pagination-buttons.spec.js +0 -39
  623. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/tests/gux-pagination-item-counts.spec.js +0 -30
  624. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/tests/gux-pagination-items-per-page.spec.js +0 -33
  625. package/dist/collection/components/legacy/gux-pagination-legacy/tests/gux-pagination.e2e.js +0 -53
  626. package/dist/collection/components/legacy/gux-pagination-legacy/tests/gux-pagination.spec.js +0 -65
  627. package/dist/collection/components/legacy/gux-simple-toast-legacy/tests/gux-simple-toast.e2e.js +0 -103
  628. package/dist/collection/components/legacy/gux-simple-toast-legacy/tests/gux-simple-toast.spec.js +0 -93
  629. package/dist/collection/components/legacy/gux-switch-legacy/tests/gux-switch.e2e.js +0 -87
  630. package/dist/collection/components/legacy/gux-switch-legacy/tests/gux-switch.spec.js +0 -116
  631. package/dist/collection/components/stable/gux-accordion/tests/gux-accordion.e2e.js +0 -46
  632. package/dist/collection/components/stable/gux-accordion/tests/gux-accordion.spec.js +0 -52
  633. package/dist/collection/components/stable/gux-action-button/tests/gux-action-button.e2e.js +0 -93
  634. package/dist/collection/components/stable/gux-action-button/tests/gux-action-button.spec.js +0 -95
  635. package/dist/collection/components/stable/gux-badge/tests/gux-badge.e2e.js +0 -38
  636. package/dist/collection/components/stable/gux-badge/tests/gux-badge.spec.js +0 -39
  637. package/dist/collection/components/stable/gux-blank-state/tests/gux-blank-state.e2e.js +0 -19
  638. package/dist/collection/components/stable/gux-blank-state/tests/gux-blank-state.spec.js +0 -22
  639. package/dist/collection/components/stable/gux-breadcrumbs/tests/gux-breadcrumbs.e2e.js +0 -48
  640. package/dist/collection/components/stable/gux-breadcrumbs/tests/gux-breadcrumbs.spec.js +0 -91
  641. package/dist/collection/components/stable/gux-button/tests/gux-button.e2e.js +0 -131
  642. package/dist/collection/components/stable/gux-button/tests/gux-button.spec.js +0 -114
  643. package/dist/collection/components/stable/gux-button-multi/tests/gux-button-multi.e2e.js +0 -70
  644. package/dist/collection/components/stable/gux-button-multi/tests/gux-button-multi.spec.js +0 -16
  645. package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.e2e.js +0 -206
  646. package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.spec.js +0 -258
  647. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.e2e.js +0 -45
  648. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.methods.spec.js +0 -235
  649. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.service.spec.js +0 -160
  650. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.spec.js +0 -62
  651. package/dist/collection/components/stable/gux-card/tests/gux-card.e2e.js +0 -16
  652. package/dist/collection/components/stable/gux-card/tests/gux-card.spec.js +0 -17
  653. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/tests/gux-column-manager-item.service.spec.js +0 -35
  654. package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.e2e.js +0 -557
  655. package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.spec.js +0 -198
  656. package/dist/collection/components/stable/gux-context-menu/tests/gux-context-menu.e2e.js +0 -79
  657. package/dist/collection/components/stable/gux-context-menu/tests/gux-context-menu.spec.js +0 -44
  658. package/dist/collection/components/stable/gux-copy-to-clipboard/tests/gux-copy-to-clipboard.e2e.js +0 -23
  659. package/dist/collection/components/stable/gux-copy-to-clipboard/tests/gux-copy-to-clipboard.spec.js +0 -44
  660. package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.e2e.js +0 -124
  661. package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.service.spec.js +0 -237
  662. package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.spec.js +0 -48
  663. package/dist/collection/components/stable/gux-dismiss-button/tests/gux-dismiss-button.e2e.js +0 -20
  664. package/dist/collection/components/stable/gux-dismiss-button/tests/gux-dismiss-button.spec.js +0 -22
  665. package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.e2e.js +0 -236
  666. package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.spec.js +0 -136
  667. package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.e2e.js +0 -284
  668. package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.spec.js +0 -24
  669. package/dist/collection/components/stable/gux-flyout-menu/tests/gux-flyout-menu.e2e.js +0 -71
  670. package/dist/collection/components/stable/gux-flyout-menu/tests/gux-flyout-menu.spec.js +0 -52
  671. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/tests/gux-form-field-checkbox.e2e.js +0 -93
  672. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/tests/gux-form-field-checkbox.spec.js +0 -64
  673. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/tests/gux-form-field-checkbox-group.e2e.js +0 -212
  674. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/tests/gux-form-field-checkbox-group.spec.js +0 -146
  675. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/tests/gux-form-field-color.e2e.js +0 -83
  676. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/tests/gux-form-field-color.spec.js +0 -92
  677. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.e2e.js +0 -196
  678. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.spec.js +0 -270
  679. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/tests/gux-form-field-file.e2e.js +0 -102
  680. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/tests/gux-form-field-file.spec.js +0 -130
  681. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.e2e.js +0 -110
  682. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.spec.js +0 -114
  683. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/tests/gux-form-field-phone.e2e.js +0 -82
  684. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/tests/gux-form-field-phone.spec.js +0 -77
  685. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/tests/gux-form-field-radio.e2e.js +0 -119
  686. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/tests/gux-form-field-radio.spec.js +0 -75
  687. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/tests/gux-form-field-radio-group.e2e.js +0 -206
  688. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/tests/gux-form-field-radio-group.spec.js +0 -172
  689. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.e2e.js +0 -83
  690. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.spec.js +0 -94
  691. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.e2e.js +0 -95
  692. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.spec.js +0 -117
  693. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.e2e.js +0 -198
  694. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.spec.js +0 -174
  695. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.e2e.js +0 -104
  696. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.spec.js +0 -108
  697. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/tests/gux-form-field-time-picker.e2e.js +0 -83
  698. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/tests/gux-form-field-time-picker.spec.js +0 -95
  699. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/tests/gux-form-field-time-zone-picker.e2e.js +0 -123
  700. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/tests/gux-form-field-time-zone-picker.spec.js +0 -142
  701. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-optional-indicator/tests/gux-form-field-label-indicator.spec.js +0 -20
  702. package/dist/collection/components/stable/gux-form-field/tests/gux-form-field.service.spec.js +0 -19
  703. package/dist/collection/components/stable/gux-icon/tests/gux-icon.service.spec.js +0 -22
  704. package/dist/collection/components/stable/gux-icon/tests/gux-icon.spec.js +0 -6
  705. package/dist/collection/components/stable/gux-icon/tests/icon-names-deprecated.spec.js +0 -13
  706. package/dist/collection/components/stable/gux-inline-alert/tests/gux-inline-alert.e2e.js +0 -18
  707. package/dist/collection/components/stable/gux-inline-alert/tests/gux-inline-alert.spec.js +0 -19
  708. package/dist/collection/components/stable/gux-list/gux-list-divider/tests/gux-list-divider.spec.js +0 -22
  709. package/dist/collection/components/stable/gux-list/gux-list-item/tests/gux-list-item.spec.js +0 -22
  710. package/dist/collection/components/stable/gux-list/tests/gux-list.e2e.js +0 -20
  711. package/dist/collection/components/stable/gux-list/tests/gux-list.spec.js +0 -23
  712. package/dist/collection/components/stable/gux-loading-message/tests/gux-loading-message.e2e.js +0 -14
  713. package/dist/collection/components/stable/gux-loading-message/tests/gux-loading-message.spec.js +0 -27
  714. package/dist/collection/components/stable/gux-modal/tests/gux-modal.e2e.js +0 -285
  715. package/dist/collection/components/stable/gux-modal/tests/gux-modal.spec.js +0 -195
  716. package/dist/collection/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.e2e.js +0 -33
  717. package/dist/collection/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.spec.js +0 -12
  718. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/tests/gux-pagination-buttons.service.spec.js +0 -129
  719. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/tests/gux-pagination-buttons.spec.js +0 -32
  720. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/tests/gux-pagination-item-counts.spec.js +0 -30
  721. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/tests/gux-pagination-items-per-page.spec.js +0 -33
  722. package/dist/collection/components/stable/gux-pagination/tests/gux-pagination.e2e.js +0 -97
  723. package/dist/collection/components/stable/gux-pagination/tests/gux-pagination.spec.js +0 -116
  724. package/dist/collection/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.e2e.js +0 -66
  725. package/dist/collection/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.spec.js +0 -67
  726. package/dist/collection/components/stable/gux-popover/tests/gux-popover.e2e.js +0 -60
  727. package/dist/collection/components/stable/gux-popover/tests/gux-popover.spec.js +0 -54
  728. package/dist/collection/components/stable/gux-popover-list/tests/gux-popover-list.e2e.js +0 -59
  729. package/dist/collection/components/stable/gux-popover-list/tests/gux-popover-list.spec.js +0 -53
  730. package/dist/collection/components/stable/gux-popup/tests/gux-popup.e2e.js +0 -30
  731. package/dist/collection/components/stable/gux-popup/tests/gux-popup.spec.js +0 -41
  732. package/dist/collection/components/stable/gux-radial-loading/tests/gux-radial-loading.e2e.js +0 -33
  733. package/dist/collection/components/stable/gux-radial-loading/tests/gux-radial-loading.spec.js +0 -33
  734. package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.e2e.js +0 -58
  735. package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.service.spec.js +0 -36
  736. package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.spec.js +0 -61
  737. package/dist/collection/components/stable/gux-rating/tests/gux-rating.e2e.js +0 -311
  738. package/dist/collection/components/stable/gux-rating/tests/gux-rating.spec.js +0 -44
  739. package/dist/collection/components/stable/gux-skip-navigation-list/tests/gux-skip-navigation-list.e2e.js +0 -24
  740. package/dist/collection/components/stable/gux-skip-navigation-list/tests/gux-skip-navigation-list.spec.js +0 -29
  741. package/dist/collection/components/stable/gux-table/gux-all-row-select/tests/gux-all-row-select.spec.js +0 -11
  742. package/dist/collection/components/stable/gux-table/gux-row-select/tests/gux-row-select.spec.js +0 -11
  743. package/dist/collection/components/stable/gux-table/gux-sort-control/tests/gux-sort-control.e2e.js +0 -56
  744. package/dist/collection/components/stable/gux-table/gux-sort-control/tests/gux-sort-control.spec.js +0 -44
  745. package/dist/collection/components/stable/gux-table/gux-table-select-menu/tests/gux-table-select-menu.spec.js +0 -24
  746. package/dist/collection/components/stable/gux-table/tests/gux-table.e2e.js +0 -543
  747. package/dist/collection/components/stable/gux-table/tests/gux-table.spec.js +0 -28
  748. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/tests/gux-table-toolbar-action.e2e.js +0 -53
  749. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/tests/gux-table-toolbar-action.spec.js +0 -54
  750. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/tests/gux-table-toolbar-custom-action.e2e.js +0 -44
  751. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/tests/gux-table-toolbar-custom-action.spec.js +0 -24
  752. package/dist/collection/components/stable/gux-table-toolbar/tests/gux-table-toolbar.e2e.js +0 -46
  753. package/dist/collection/components/stable/gux-table-toolbar/tests/gux-table-toolbar.spec.js +0 -59
  754. package/dist/collection/components/stable/gux-tabs/gux-tab/tests/gux-tab.e2e.js +0 -15
  755. package/dist/collection/components/stable/gux-tabs/gux-tab/tests/gux-tab.spec.js +0 -16
  756. package/dist/collection/components/stable/gux-tabs/gux-tab-list/tests/gux-tab-list.e2e.js +0 -15
  757. package/dist/collection/components/stable/gux-tabs/gux-tab-list/tests/gux-tab-list.spec.js +0 -16
  758. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/tests/gux-tab-panel.e2e.js +0 -15
  759. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/tests/gux-tab-panel.spec.js +0 -16
  760. package/dist/collection/components/stable/gux-tabs/tests/gux-tabs.e2e.js +0 -140
  761. package/dist/collection/components/stable/gux-tabs/tests/gux-tabs.spec.js +0 -57
  762. package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.e2e.js +0 -222
  763. package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.spec.js +0 -73
  764. package/dist/collection/components/stable/gux-tag/tests/gux-tag.e2e.js +0 -161
  765. package/dist/collection/components/stable/gux-tag/tests/gux-tag.spec.js +0 -134
  766. package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-highlight.e2e.js +0 -147
  767. package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-hightlight.spec.js +0 -149
  768. package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.e2e.js +0 -41
  769. package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.service.spec.js +0 -710
  770. package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.spec.js +0 -36
  771. package/dist/collection/components/stable/gux-toast/tests/gux-toast.e2e.js +0 -121
  772. package/dist/collection/components/stable/gux-toast/tests/gux-toast.spec.js +0 -111
  773. package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.e2e.js +0 -154
  774. package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.spec.js +0 -128
  775. package/dist/collection/components/stable/gux-tooltip/tests/gux-tooltip.e2e.js +0 -37
  776. package/dist/collection/components/stable/gux-tooltip/tests/gux-tooltip.spec.js +0 -63
  777. package/dist/collection/components/stable/gux-tooltip-title/tests/gux-tooltip-title.e2e.js +0 -86
  778. package/dist/collection/components/stable/gux-truncate/tests/gux-truncate.e2e.js +0 -76
  779. package/dist/collection/components/stable/gux-truncate/tests/gux-truncate.spec.js +0 -23
  780. package/dist/collection/utils/date/from-iso-time-string.spec.js +0 -13
  781. package/dist/collection/utils/date/get-valid-timezone.spec.js +0 -38
  782. package/dist/collection/utils/date/iso-dates.spec.js +0 -170
  783. package/dist/collection/utils/date/time-zone.spec.js +0 -22
  784. package/dist/collection/utils/date/year-month-values.spec.js +0 -81
  785. package/dist/collection/utils/dom/event-is-from.spec.js +0 -29
  786. package/dist/collection/utils/dom/manipulate-elements-classes.spec.js +0 -104
  787. package/dist/collection/utils/dom/random-html-id.spec.js +0 -14
  788. package/dist/collection/utils/dom/when-event-is-from.spec.js +0 -37
  789. package/dist/collection/utils/string/search.spec.js +0 -40
  790. package/dist/collection/utils/tracking/usage.spec.js +0 -121
  791. package/dist/esm/index-da21b737.js +0 -3043
  792. package/dist/esm/polyfills/core-js.js +0 -11
  793. package/dist/esm/polyfills/dom.js +0 -79
  794. package/dist/esm/polyfills/es5-html-element.js +0 -1
  795. package/dist/esm/polyfills/index.js +0 -34
  796. package/dist/esm/polyfills/system.js +0 -6
  797. package/dist/genesys-webcomponents/p-01471ba0.js +0 -1
  798. package/dist/genesys-webcomponents/p-059ba1e7.entry.js +0 -1
  799. package/dist/genesys-webcomponents/p-0b410c79.entry.js +0 -1
  800. package/dist/genesys-webcomponents/p-0e357b17.entry.js +0 -1
  801. package/dist/genesys-webcomponents/p-1946c20f.entry.js +0 -1
  802. package/dist/genesys-webcomponents/p-194e09a1.entry.js +0 -1
  803. package/dist/genesys-webcomponents/p-2e827df1.js +0 -2
  804. package/dist/genesys-webcomponents/p-351f6109.entry.js +0 -1
  805. package/dist/genesys-webcomponents/p-3b7a79af.entry.js +0 -1
  806. package/dist/genesys-webcomponents/p-477b6ccb.entry.js +0 -1
  807. package/dist/genesys-webcomponents/p-4c9dc5aa.entry.js +0 -1
  808. package/dist/genesys-webcomponents/p-4f5dc8e4.entry.js +0 -1
  809. package/dist/genesys-webcomponents/p-4f9cb6ca.entry.js +0 -1
  810. package/dist/genesys-webcomponents/p-522d095f.entry.js +0 -1
  811. package/dist/genesys-webcomponents/p-53ed124f.entry.js +0 -1
  812. package/dist/genesys-webcomponents/p-5de256c6.entry.js +0 -1
  813. package/dist/genesys-webcomponents/p-7a450e35.entry.js +0 -1
  814. package/dist/genesys-webcomponents/p-7e720a33.entry.js +0 -1
  815. package/dist/genesys-webcomponents/p-825590f8.entry.js +0 -1
  816. package/dist/genesys-webcomponents/p-83b34196.entry.js +0 -1
  817. package/dist/genesys-webcomponents/p-84e7e0c3.entry.js +0 -1
  818. package/dist/genesys-webcomponents/p-8e30e75e.entry.js +0 -1
  819. package/dist/genesys-webcomponents/p-8e98278f.entry.js +0 -1
  820. package/dist/genesys-webcomponents/p-a5415051.js +0 -1
  821. package/dist/genesys-webcomponents/p-ab6cf9b9.js +0 -1
  822. package/dist/genesys-webcomponents/p-b40006ba.entry.js +0 -1
  823. package/dist/genesys-webcomponents/p-b4c99969.entry.js +0 -1
  824. package/dist/genesys-webcomponents/p-c2395684.entry.js +0 -1
  825. package/dist/genesys-webcomponents/p-dab8f285.entry.js +0 -1
  826. package/dist/genesys-webcomponents/p-dec73db1.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as t,c as e,f as i,h as o,g as r,H as s}from"./p-53ec575f.js";import{O as n}from"./p-0ae26361.js";import{b as u}from"./p-3b4a0d71.js";import{s as a}from"./p-2c25e2f2.js";import{o as l,c as d}from"./p-f4751a15.js";import{b as h}from"./p-cf0e7d3b.js";import{t as g}from"./p-e79ff8f4.js";import{O as c}from"./p-c5847c69.js";import{s as f,l as p,g as x,c as v,h as b,a as m,b as w,d as C,e as y,f as F,i as k,j as S,k as z,m as R,o as T}from"./p-787c5373.js";import{h as j}from"./p-6d8b4027.js";import{w as E}from"./p-e97879b4.js";import{r as I}from"./p-0934300e.js";import"./p-4202e9f2.js";const L={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};var H=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var u=t.length-1;u>=0;u--)(r=t[u])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const O=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){t||(this.filter="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&h((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){g(this.root),this.i18n=await u(this.root,L),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType)return i.textContent.trim().substring(e)}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);default:return e}}renderOption(t){let e=t.textContent;if(j(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),o("span",{class:"gux-selected-icon"},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0}),o("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderFilterInputField(){if(this.expanded&&this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{onClick:this.fieldButtonClick.bind(this),class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),disabled:this.disabled})))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-expanded":this.expanded&&this.isFilterable(),"gux-target-container-collapsed":!(this.expanded&&this.isFilterable()),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"46113b9a83f7ce1f2342d1cc869178ddb6e889ff",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};H([n({triggerEvents:"mousedown"})],O.prototype,"onClickOutside",null),H([c({childList:!0,subtree:!0})],O.prototype,"onMutation",null),O.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;width:100%;height:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-field.gux-input-field{height:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-width:0;height:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);padding-left:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-expanded{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}.gux-selected-icon{display:flex;align-items:center}.gux-selected-icon gux-icon{width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);padding-right:var(--gse-ui-dropdown-gap)}";const W=["gux-option","gux-option-icon"].join(","),A={noMatches:"No matches",loading:"Loading..."},D=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.filterType="none",this.emptyMessage=void 0,this.selectedValues=[],this.listboxOptions=[],this.allListboxOptionsFiltered=void 0}onBlur(){v(this.root)}onKeydown(t){if(!b(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void S(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(F(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"ArrowUp":return t.preventDefault(),void(C(this.root)?(t.stopPropagation(),y(this.root)):m(this.root));case"Home":return t.preventDefault(),void w(this.root);case"End":return t.preventDefault(),void m(this.root);case" ":return void t.preventDefault()}1!==t.key.length||z(this.root,t.key)}onKeyup(t){" "!==t.key||S(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){E(W,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){S(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.value&&(this.selectedValues=this.value.split(",")),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),a(this.root,"input"),a(this.root,"change")}async componentWillLoad(){g(this.root),this.i18n=await u(this.root,A),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&(t.filtered=!R(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(s,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return r(this)}};D.style=":host{box-sizing:border-box;display:block;max-height:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;height:var(--gse-ui-menu-option-height);font-family:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontFamily);font-size:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontSize);font-weight:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontWeight);line-height:var(--gse-ui-dropdown-menu-emptyState-subheader-text-lineHeight);color:var(--gse-ui-dropdown-menu-emptyState-subheader-foregroundColor)}";const B=class{constructor(e){t(this,e),this.value=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||I("gux-option"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=j(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){return o(s,{key:"cf5fe5e745553b6d2dd60a16092c0a3685d3e56f",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},o("div",{key:"93046a8e31821e9953f77a288fb00e9ffd3a339e",class:"gux-option-wrapper"},o("gux-truncate",{key:"573bfa3e236fa31d70f743cdbced7c591526633e",ref:t=>this.truncateElement=t},o("slot",{key:"db1743e32b1a2ef216a785e70d6899bbfcef744d"})),o("slot",{key:"64af95d9800a03704c90112df781157c3429f21e",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};B.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{width:100%}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host(.gux-show-subtext){place-content:stretch flex-start;height:auto}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){height:var(--gse-ui-groupedMenu-subtext-height);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}";export{O as gux_dropdown,D as gux_listbox,B as gux_option}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,g as i}from"./p-53ec575f.js";import{o}from"./p-0f60c7b5.js";import{O as a}from"./p-0ae26361.js";import{a as c}from"./p-cf0e7d3b.js";import{t as n}from"./p-e79ff8f4.js";import{b as r}from"./p-3b4a0d71.js";import"./p-4202e9f2.js";const d={searchAria:"Search"};const p=class{constructor(s){e(this,s),this.input=t(this,"input",7),this.filter=t(this,"filter",7),this.disabled=!1,this.placeholder=void 0,this.noFilter=!1,this.filterDebounceTimeout=500,this.dropdownHeight="320px",this.srLabelledby=void 0,this.opened=void 0,this.currentlySelectedOption=void 0,this.selectionOptions=void 0}watchValue(e){this.opened&&e&&this.closeDropdown(!1)}get value(){var e;return null===(e=this.currentlySelectedOption)||void 0===e?void 0:e.text}getSelectedValues(){return Promise.resolve([this.value])}async setLabeledBy(e){this.srLabelledby=e}onClickOutside(){this.closeDropdown(!1)}async componentWillLoad(){n(this.root),this.i18n=await r(this.root,d),this.handleSelectionChange=this.handleSelectionChange.bind(this),this.updateSelectionState(),this.addOptionListener(),this.slotObserver=o(this.root,(()=>this.updateSelectionState()))}disconnectedCallback(){this.slotObserver&&this.slotObserver.disconnect()}render(){return s("gux-popup",{key:"ee5c16f4c77893a49fdcfee110f55f87d0d2aa10",expanded:this.opened,disabled:this.disabled},s("div",{key:"d73c0142821e13a834f43ac5d554a21207e81f12",slot:"target",class:"gux-select-field",onMouseDown:()=>this.inputMouseDown()},s("a",{key:"244aa0d713714afa58a3154516eaef22dfe06be2",ref:e=>this.inputBox=e,class:"gux-select-input","aria-labelledby":this.srLabelledby,tabindex:"0",onKeyDown:e=>this.inputKeyDown(e)},this.placeholder&&!this.value&&s("span",{key:"dc0b57749111c9669aa0c2ffaade0725a7248a53",class:"gux-select-placeholder",title:this.placeholder},this.placeholder),this.value&&s("span",{key:"b68334ab57d49c1272f3f45788643f95c4fba3d3",class:"gux-select-value",title:this.value},this.value)),s("div",{key:"767c891def8f989a9a65810734e0c5563463451c",class:"gux-icon-wrapper"},s("gux-icon",{key:"5cc7199ca49a1f3a437bb9925d06ea7a0a5574d1",decorative:!0,"icon-name":"custom/chevron-down-small-regular"}))),s("div",{key:"b8ad4b1c20b3f710d9134a514c0873d5207e6e99",slot:"popup",class:"gux-advanced-dropdown-menu"},s("div",{key:"626f236c6be21b5941110be7167496a89ddf148a",class:"gux-dropdown-menu-container"},s("gux-form-field-search",{key:"9ca1b73419e9b34d30e073e88800ea05054f1f1c","label-position":"screenreader"},s("label",{key:"3cdcf80eebb02572b853e9508f12b5f7422baa1c",slot:"label"},this.i18n("searchAria")),s("input",{key:"bdaa57712f58868af0036202ff3e7a690f6ab9be",slot:"input",type:"search",onInput:e=>{this.handleSearchInput(e)},ref:e=>this.searchInput=e})),s("div",{key:"247587c21dbc641349fa43be774373cc2b5f01d9",class:"gux-dropdown-options",style:{maxHeight:this.dropdownHeight},onKeyDown:e=>this.optionsKeyDown(e)},s("slot",{key:"965c438738384011cf8a0793be1298145b23649a"})))))}updateSelectionState(){this.selectionOptions=this.getSelectionOptions(),this.currentlySelectedOption=this.selectionOptions.find((e=>e.selected))}addOptionListener(){this.root.addEventListener("selectedChanged",(e=>this.handleSelectionChange(e)))}handleSelectionChange({target:e}){const t=e;this.closeDropdown(!0),this.currentlySelectedOption!==t&&(this.currentlySelectedOption&&(this.currentlySelectedOption.selected=!1),this.currentlySelectedOption=t,this.input.emit(t.value))}getSelectionOptions(){const e=this.root.querySelectorAll("gux-dropdown-option");return Array.from(e)}inputMouseDown(){this.disabled||(this.opened?this.closeDropdown(!0):this.openDropdown(!1))}getFocusIndex(){return this.selectionOptions.findIndex((e=>e.matches(":focus")))}optionsKeyDown(e){switch(e.key){case"ArrowUp":{e.preventDefault();const t=this.getFocusIndex();t>0&&this.selectionOptions[t-1].focus();break}case"ArrowDown":{e.preventDefault();const t=this.getFocusIndex();t<this.selectionOptions.length-1&&this.selectionOptions[t+1].focus();break}case"Home":if(!this.selectionOptions.length)return;this.selectionOptions[0].focus();break;case"End":if(!this.selectionOptions.length)return;this.selectionOptions[this.selectionOptions.length-1].focus()}}inputKeyDown(e){switch(e.key){case"ArrowUp":case"ArrowDown":case" ":this.openDropdown(!0)}}handleSearchInput(e){e.stopPropagation(),clearTimeout(this.filterDebounceTimer),this.filterDebounceTimer=setTimeout((()=>this.searchRequested()),this.filterDebounceTimeout)}searchRequested(){this.filter.emit(this.searchInput.value),this.setFilteredOptions()}setFilteredOptions(){const e=this.searchInput.value;if(!this.noFilter)for(const t of this.selectionOptions)t.shouldFilter(e).then((e=>{t.filtered=e}))}changeFocusToSearch(){c((()=>{this.searchInput.focus()}))}openDropdown(e){this.opened=!0,e&&this.changeFocusToSearch()}closeDropdown(e){this.opened=!1,this.searchInput.value="",this.setFilteredOptions(),e&&this.inputBox.focus()}get root(){return i(this)}static get watchers(){return{disabled:["watchValue"]}}};(function(e,t,s,i){var o,a=arguments.length,c=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,s,i);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(c=(a<3?o(c):a>3?o(t,s,c):o(t,s))||c);a>3&&c&&Object.defineProperty(t,s,c)})([a({triggerEvents:"mousedown"})],p.prototype,"onClickOutside",null),p.style=":host{color:#2e394c}gux-popup{display:block;margin:4px 0}gux-popup .gux-select-field{position:relative;width:100%;height:32px}gux-popup .gux-select-field a.gux-select-input{position:absolute;inset:0;padding:6px 24px 6px 12px;overflow:hidden;color:#2e394c;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder,gux-popup .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder{color:#596373}gux-popup .gux-select-field a.gux-select-input:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}gux-popup .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}gux-popup .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px;color:#596373}gux-popup .gux-select-field:hover .gux-icon-wrapper gux-icon{color:#2e394c}gux-popup .gux-advanced-dropdown-menu{background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 0 2px 0 rgba(32, 41, 55, 0.24)}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search{margin:8px 16px}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-cancel-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-results-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}gux-popup .gux-dropdown-options{padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border-radius:4px;box-shadow:none}";export{p as gux_advanced_dropdown_legacy}
@@ -1 +1 @@
1
- import{r as e,c as a,h as t}from"./p-2e827df1.js";const s=class{constructor(t){e(this,t),this.guxactivepanelchange=a(this,"guxactivepanelchange",7),this.tabId=void 0,this.active=!1}async guxSetActive(e){this.active=e}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return t("div",{key:"b33334b7e944f1e022f5fa6b586ffc4ac9ebcb60",id:`gux-${this.tabId}-panel`,class:"gux-tabpanel",role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active,"aria-live":"assertive"},t("slot",{key:"c11c68aafaf907a4bb17f1872b305a2405d37e74"}))}static get watchers(){return{active:["watchActivePanel"]}}};s.style="gux-tab-advanced-panel .gux-tabpanel:focus{outline:none}gux-tab-advanced-panel .gux-tabpanel:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}";export{s as gux_tab_advanced_panel}
1
+ import{r as e,c as a,h as t}from"./p-53ec575f.js";const s=class{constructor(t){e(this,t),this.guxactivepanelchange=a(this,"guxactivepanelchange",7),this.tabId=void 0,this.active=!1}async guxSetActive(e){this.active=e}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return t("div",{key:"967caae014d07da8946ab08cee6ed40974cff0f6",id:`gux-${this.tabId}-panel`,class:"gux-tabpanel",role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active,"aria-live":"assertive"},t("slot",{key:"8ce0217146c3ffaa0f5f512cb36edd4065d9251c"}))}static get watchers(){return{active:["watchActivePanel"]}}};s.style="gux-tab-advanced-panel .gux-tabpanel:focus{outline:none}gux-tab-advanced-panel .gux-tabpanel:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}";export{s as gux_tab_advanced_panel}
@@ -0,0 +1 @@
1
+ import{r as s,h as t,H as e,g as a}from"./p-53ec575f.js";import{l as r,n as o,f as i,p as n,b as c,c as d}from"./p-8d73b418.js";import{t as u}from"./p-e79ff8f4.js";const f=["gux-list-item"],l=class{constructor(t){s(this,t)}componentWillLoad(){u(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),n(this.root,f);break;case"Home":s.preventDefault(),i(this.root,f);break;case"ArrowDown":s.preventDefault(),o(this.root,f);break;case"End":s.preventDefault(),r(this.root,f)}}async guxFocusFirstItem(){i(this.root,f)}async guxFocusItemById(s){c(this.root,f,s)}async guxFocusItemByClosestId(s){d(this.root,f,s)}async guxFocusLastItem(){r(this.root,f)}renderFocusTarget(){return t("span",{tabindex:"-1","aria-hidden":"true"})}render(){return t(e,{key:"ad961f6ed0eb29a5359534c174d2fad033948d77",role:"list"},this.renderFocusTarget(),t("slot",{key:"2dd732f57f7770db60a5fc81a1a7f4aba7b7dfeb"}))}static get delegatesFocus(){return!0}get root(){return a(this)}};l.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{l as gux_list}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,g as s}from"./p-2e827df1.js";import{t as a}from"./p-5aade352.js";import{O as i}from"./p-e080422d.js";import{b as r}from"./p-5bcc54c7.js";import{b as n}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const c={additionalActions:"Additional Actions"};const u=class{constructor(t){e(this,t),this.showMenu=void 0,this.expanded=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.expanded=!1,t.includes(this.listElement)&&(e.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":t.includes(this.dropdownButton)&&(e.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}onFocusin(){this.tooltipTitleElement.setShowTooltip()}onFocusout(){this.tooltipTitleElement.setHideTooltip()}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){n((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}async componentWillLoad(){this.i18n=await r(this.root,c),a(this.root)}render(){return t(o,{key:"b7b05eac0bea2592ff06d8d9249e52a4f8360378",class:{"gux-show-menu":this.showMenu}},t("gux-popup",{key:"e5934fb8f06036bcd9e97394639937c16dd12319",expanded:this.expanded,"exceed-target-width":!0},t("div",{key:"d39d6f14d15f6b95c1caa955eee48bea08b20ec8",slot:"target",class:"gux-toolbar-menu-container"},t("gux-button-slot",{key:"a1b893c9e23dc4469707819aafb139e41b6538e7",class:"gux-menu-button"},t("button",{key:"246d500b283b7989b4d2815b9dfd030ca2eee788",type:"button",ref:e=>this.dropdownButton=e,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},t("gux-tooltip-title",{key:"5d2c512ca4a860d5a0fec5632e86ebad0cc2cc68",ref:e=>this.tooltipTitleElement=e},t("span",{key:"c116969333fa070cb5ad5e0c1504f1d9c9186dc5"},t("gux-icon",{key:"b2628fe77db4b69e5f2ff510bcdf5b1dae6e0773","screenreader-text":this.i18n("additionalActions"),"icon-name":"fa/ellipsis-regular"})))))),t("div",{key:"c47227dda3df9430cfbe3972f9087fdbdf46ffcd",class:"gux-list-container",slot:"popup"},t("gux-list",{key:"4937b6b5ced9ac436441eff4a85b775223d239ef",ref:e=>this.listElement=e},t("slot",{key:"1b469315984760b8eb81ec9d2709ec888d179c2a"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}};(function(e,t,o,s){var a,i=arguments.length,r=i<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,s);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(r=(i<3?a(r):i>3?a(t,o,r):a(t,o))||r);i>3&&r&&Object.defineProperty(t,o,r)})([i({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button button{color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:grab;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none}.gux-menu-button button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}.gux-list-container{width:min-content;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{u as gux_table_toolbar_menu_button}
1
+ import{r as e,h as t,H as o,g as s}from"./p-53ec575f.js";import{t as a}from"./p-e79ff8f4.js";import{O as i}from"./p-0ae26361.js";import{b as r}from"./p-3b4a0d71.js";import{b as n}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const u={additionalActions:"Additional Actions"};const b=class{constructor(t){e(this,t),this.showMenu=void 0,this.expanded=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.expanded=!1,t.includes(this.listElement)&&(e.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":t.includes(this.dropdownButton)&&(e.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}onFocusin(){this.tooltipTitleElement.setShowTooltip()}onFocusout(){this.tooltipTitleElement.setHideTooltip()}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){n((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}async componentWillLoad(){this.i18n=await r(this.root,u),a(this.root)}render(){return t(o,{key:"274f7fb6d01de9b490e666732a0e4c2b5d21dbfb",class:{"gux-show-menu":this.showMenu}},t("gux-popup",{key:"cc97aa4c6de35900361b964526b25b9859266b1b",expanded:this.expanded,"exceed-target-width":!0},t("div",{key:"16c37cfa53fb42607145c35ad0a1b5007e3b81e1",slot:"target",class:"gux-toolbar-menu-container"},t("gux-button-slot",{key:"f060eb243819061464cce829257648f40b94de1d",class:"gux-menu-button"},t("button",{key:"22b948e4c19ee39f7f2ba006524be472f05faeb4",type:"button",ref:e=>this.dropdownButton=e,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},t("gux-tooltip-title",{key:"60810e6732bb7a6ee24b2649599012f472d8ba97",ref:e=>this.tooltipTitleElement=e},t("span",{key:"5415bafd4640329eee48fd30d8fc377103a1f48a"},t("gux-icon",{key:"1bd37ada9db62cf6e1f0d99bd303993e0ec2ba60","screenreader-text":this.i18n("additionalActions"),"icon-name":"fa/ellipsis-regular"})))))),t("div",{key:"fb3803671ce7df9f90e622338d49be7af30e2609",class:"gux-list-container",slot:"popup"},t("gux-list",{key:"3015f722711301eba9aae5ab40dd9cfacfa6b2aa",ref:e=>this.listElement=e},t("slot",{key:"10097273fc34a649e6f1d2581ea9144f5e0cbbb0"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}};(function(e,t,o,s){var a,i=arguments.length,r=i<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,s);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(r=(i<3?a(r):i>3?a(t,o,r):a(t,o))||r);i>3&&r&&Object.defineProperty(t,o,r)})([i({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),b.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button button{color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:grab;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none}.gux-menu-button button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}.gux-list-container{width:min-content;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{b as gux_table_toolbar_menu_button}
@@ -1 +1 @@
1
- import{r as o,h as t,g as s}from"./p-2e827df1.js";import{t as e}from"./p-5aade352.js";const r=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),e(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"6bdd42cf388b84db92ec30990e8ea77fc808b60e"})}get root(){return s(this)}};r.style="gux-accordion{-custom-noop:noop}";export{r as gux_accordion}
1
+ import{r as o,h as t,g as s}from"./p-53ec575f.js";import{t as e}from"./p-e79ff8f4.js";const r=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),e(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"72852efdafc204b706f7efc44b26b7b187eefdf7"})}get root(){return s(this)}};r.style="gux-accordion{-custom-noop:noop}";export{r as gux_accordion}
@@ -1 +1 @@
1
- import{r as e,h as o,g as r}from"./p-2e827df1.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as a}from"./p-01471ba0.js";import{o as n}from"./p-e5b1cffc.js";import{p as l}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as d}from"./p-fb1ab7b1.js";import{G as f,a as g}from"./p-9773c4fe.js";import{v as h,a as p}from"./p-42f2e889.js";import{t as c}from"./p-5aade352.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(o){e(this,o),this.resize=void 0,this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=!0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),c(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(g,{key:"18cc1eed0c9625b9bb82c2348e8313d68d7f1cfb",labelPosition:this.computedLabelPosition},o(f,{key:"d056aedc764431ceed695834c12077353c10a603",required:this.required,position:this.computedLabelPosition},o("slot",{key:"e1072d653f2c2309f46e9235f98c2af6d4d276c2",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"6df8ed6f70d2140a88fd476e532895c4b0727d50",variant:this.indicatorMark,required:this.required}),o("slot",{key:"4b5e3f0e6d5b0df3230d7841d681edc3690c5012",name:"label-info"})),o("div",{key:"5009300428dbc2422bb042cf29fa4665f8102434",class:"gux-input-and-error-container"},o("div",{key:"b6a47e7ba3743a683c52c58a40496d40f43ed326",ref:e=>this.textareaContainerElement=e,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},o("slot",{key:"db9b67cbd35956c79b933baffec591f01a514330",name:"input"})),o(u,{key:"d0291412581c75eaf53eaefc12f882828bf3ba6d",show:this.hasError},o("slot",{key:"43919cbc9349192e193ee227818c9a67fcd0d54c",name:"error"})),o(d,{key:"a869861b244f7ae4450bd5fe3e2bcd532663ea34",show:!this.hasError&&this.hasHelp},o("slot",{key:"7031721d0c3ac8b9b7d21b4844e7f16a77b2e30e",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${e}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),l(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=n(this.input,(e=>{this.required=e})),h(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}updateHeight(e,o,r){"auto"===r&&e&&(e.dataset.replicatedValue=o.value,e.style.maxHeight=o.style.maxHeight)}get root(){return r(this)}};(function(e,o,r,t){var i,a=arguments.length,n=a<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,o,r,t);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(n=(a<3?i(n):a>3?i(o,r,n):i(o,r))||n);a>3&&n&&Object.defineProperty(o,r,n)})([a({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;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;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-bottom: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-top:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);resize:vertical;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none;padding:var(--gse-ui-formControl-textarea-padding);margin:0}::slotted(textarea)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}::slotted(textarea)[disabled]{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:flex;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);outline:none}.gux-input-and-error-container .gux-input:focus-within{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);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-focusRing-offset)}.gux-input-and-error-container .gux-input:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-input-and-error-container .gux-input.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) " ";padding:var(--gse-ui-formControl-textarea-padding);margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}';export{m as gux_form_field_textarea}
1
+ import{r as e,h as o,g as r}from"./p-53ec575f.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as a}from"./p-c5847c69.js";import{o as n}from"./p-e5b1cffc.js";import{p as l}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as d}from"./p-788c3a6d.js";import{G as f,a as g}from"./p-1ea82bf6.js";import{v as h,a as p}from"./p-42f2e889.js";import{t as c}from"./p-e79ff8f4.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(o){e(this,o),this.resize=void 0,this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=!0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),c(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(g,{key:"2df8e8c0180df0cc9ccc6aa2cebc48705925b2e4",labelPosition:this.computedLabelPosition},o(f,{key:"9772db76e39f4642f7ab05f660dc516dc0467ebf",required:this.required,position:this.computedLabelPosition},o("slot",{key:"abb7ea432242cf62d860caf1c9c0a2d3a9691744",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"fd8256a8d319cc0b49a7c950ac5c6513de00bd42",variant:this.indicatorMark,required:this.required}),o("slot",{key:"0b579b3ee118d7c85944193ff5b3cb4c943aec9c",name:"label-info"})),o("div",{key:"5aa038f7173b329bde1dd5452924b472b6dc5429",class:"gux-input-and-error-container"},o("div",{key:"da0492cf401dedf4ce4634a4e8b543a125bca2b1",ref:e=>this.textareaContainerElement=e,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},o("slot",{key:"4d8f6336f444db1ece5f794a10f44d642a8ad684",name:"input"})),o(u,{key:"73a719a285cc1eb1c53943834231fe876d6b6053",show:this.hasError},o("slot",{key:"1962caac9f235239eeec00c2767ada47c9bba4e4",name:"error"})),o(d,{key:"89fabd0537049dd567095190180b61b6a1426257",show:!this.hasError&&this.hasHelp},o("slot",{key:"ab914b417d16a31090c77485bcad9be32e82e250",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${e}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),l(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=n(this.input,(e=>{this.required=e})),h(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}updateHeight(e,o,r){"auto"===r&&e&&(e.dataset.replicatedValue=o.value,e.style.maxHeight=o.style.maxHeight)}get root(){return r(this)}};(function(e,o,r,t){var i,a=arguments.length,n=a<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,o,r,t);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(n=(a<3?i(n):a>3?i(o,r,n):i(o,r))||n);a>3&&n&&Object.defineProperty(o,r,n)})([a({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;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;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-bottom: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-top:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);resize:vertical;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none;padding:var(--gse-ui-formControl-textarea-padding);margin:0}::slotted(textarea)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}::slotted(textarea)[disabled]{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:flex;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);outline:none}.gux-input-and-error-container .gux-input:focus-within{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);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-focusRing-offset)}.gux-input-and-error-container .gux-input:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-input-and-error-container .gux-input.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) " ";padding:var(--gse-ui-formControl-textarea-padding);margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}';export{m as gux_form_field_textarea}
@@ -1 +1 @@
1
- import{r as o,h as i,g as e}from"./p-2e827df1.js";import{t as r}from"./p-5aade352.js";import{b as t}from"./p-5bcc54c7.js";import"./p-4202e9f2.js";const a={clickToCopy:"Click to Copy",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},c=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.copyButton.matches(":focus-visible")&&(this.tooltipContent="enterToCopy")}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{slot:"content",class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await t(this.root,a)}render(){return i("button",{key:"65ce96e454e69024bf0764b29a76d3eb763eefa2",class:"gux-copy-to-clipboard-wrapper",ref:o=>this.copyButton=o,onClick:this.onCopyToClipboard.bind(this)},i("div",{key:"423cfb853f553056b40d8c0e056e7402f674f565",class:"gux-copy-content"},i("slot",{key:"38bfb4e3be3a1bec62a9a7a3b2827bf65257d78e",name:"content"}),i("gux-icon",{key:"a3826f7118658d721fb8f41bc79e1eb5b26494ed","icon-name":"fa/copy-regular",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};c.style='button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center;max-width:100%}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;max-width:100%;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name="fa/copy-regular"]{flex-shrink:0;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding);visibility:hidden;background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip .gux-tooltip-content>*{vertical-align:middle}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name="fa/circle-check-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name="fa/circle-xmark-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}';export{c as gux_copy_to_clipboard}
1
+ import{r as o,h as i,g as e}from"./p-53ec575f.js";import{t as r}from"./p-e79ff8f4.js";import{b as c}from"./p-3b4a0d71.js";import"./p-4202e9f2.js";const t={clickToCopy:"Click to Copy",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},a=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.copyButton.matches(":focus-visible")&&(this.tooltipContent="enterToCopy")}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{slot:"content",class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await c(this.root,t)}render(){return i("button",{key:"519aef0cb46320762e2ef6e094159f095e7cf6af",class:"gux-copy-to-clipboard-wrapper",ref:o=>this.copyButton=o,onClick:this.onCopyToClipboard.bind(this)},i("div",{key:"b5eec192b1774c16aca02bc80e0dbb1fd0e27b3c",class:"gux-copy-content"},i("slot",{key:"56a5095cba2d918ce70c24afcc6d2c033f50f795",name:"content"}),i("gux-icon",{key:"f000e295eccd5e535b5793ebeddee58063f6fba3","icon-name":"fa/copy-regular",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};a.style='button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center;max-width:100%}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;max-width:100%;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name="fa/copy-regular"]{flex-shrink:0;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding);visibility:hidden;background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip .gux-tooltip-content>*{vertical-align:middle}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name="fa/circle-check-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name="fa/circle-xmark-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}';export{a as gux_copy_to_clipboard}
@@ -1 +1 @@
1
- import{r as e,h as t,g as o}from"./p-2e827df1.js";import{O as i}from"./p-01471ba0.js";import{h as r}from"./p-6d8b4027.js";import{t as l}from"./p-5aade352.js";import{a,G as s}from"./p-fb1ab7b1.js";import{G as f,a as n}from"./p-9773c4fe.js";import{a as h,g as d,v as p}from"./p-42f2e889.js";import{p as u}from"./p-a11d5d42.js";import{o as m}from"./p-e5b1cffc.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const g=class{constructor(t){e(this,t),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help")}handleKeyup(e){var t,o;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=d(this.root,'input[type="file"][slot="input"]'),u(this.input),this.required=this.input.required,this.requiredObserver=m(this.input,(e=>{this.required=e})),p(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(n,{key:"02b253ca15761a3f942dff46fee31701687b4448",labelPosition:this.computedLabelPosition},t(f,{key:"874303c861645b74bca40a9081fa5c40bd663210",position:this.computedLabelPosition,required:this.required},t("slot",{key:"6a6c8d788f7527304b40452fd7deab46e6c4500d",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"b787c16459b39df19e22f8fcd34d0c1818afc488",variant:this.indicatorMark,required:this.required}),t("slot",{key:"af84f811a6afed45f9a9837ce8676bd80efff91e",name:"label-info"})),t("div",{key:"ddea7c195b46989b1b00527d92ad5bb382c432c0",class:"gux-input-and-error-container"},t("slot",{key:"d0c3ce56d0ccb4848f9a3b943cfe5f66163e2519",name:"input",onSlotchange:()=>this.setInput()}),t(a,{key:"2612ef8ca6b34375be544e2adad168c040cc8256",show:this.hasError},t("slot",{key:"c99d71cef51302a13e421466752e4af684c7089e",name:"error"})),t(s,{key:"6b90f6a97692520a35675d6eaa0f99f3b2c800ef",show:!this.hasError&&this.hasHelp},t("slot",{key:"69ba3bc76e2ad3e56200a303b10f5db65a2d292e",name:"help"}))))}get root(){return o(this)}};(function(e,t,o,i){var r,l=arguments.length,a=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(t,o,a):r(t,o))||a);l>3&&a&&Object.defineProperty(t,o,a)})([i({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;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;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-bottom: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-top:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{g as gux_form_field_file}
1
+ import{r as e,h as t,g as o}from"./p-53ec575f.js";import{O as i}from"./p-c5847c69.js";import{h as r}from"./p-6d8b4027.js";import{t as l}from"./p-e79ff8f4.js";import{a,G as s}from"./p-788c3a6d.js";import{G as f,a as n}from"./p-1ea82bf6.js";import{a as h,g as d,v as p}from"./p-42f2e889.js";import{p as u}from"./p-a11d5d42.js";import{o as m}from"./p-e5b1cffc.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const g=class{constructor(t){e(this,t),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help")}handleKeyup(e){var t,o;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=d(this.root,'input[type="file"][slot="input"]'),u(this.input),this.required=this.input.required,this.requiredObserver=m(this.input,(e=>{this.required=e})),p(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(n,{key:"7e0dc0beaa1fa180d4b8a59d9dfe00b4e0653d34",labelPosition:this.computedLabelPosition},t(f,{key:"75a05ef6673d3c547cc60859b5f87f82dd980915",position:this.computedLabelPosition,required:this.required},t("slot",{key:"5004592368bc828d63d236db313b4683d9e2ab60",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"e27c8b29a246528c3982de11d17f1fd7d64c5f41",variant:this.indicatorMark,required:this.required}),t("slot",{key:"36570c844c35f6636c7c2f83dca491b2c00f3033",name:"label-info"})),t("div",{key:"50414e470aa19d81ad392073246e1e2089edd488",class:"gux-input-and-error-container"},t("slot",{key:"d6bd9fe4e908c75d9d63605e7c3eaf2d45982951",name:"input",onSlotchange:()=>this.setInput()}),t(a,{key:"120319afc4826e7c212008967af9899dea298acb",show:this.hasError},t("slot",{key:"fba07ff53d46d3561942dbb88a42b5afb6c4fbd1",name:"error"})),t(s,{key:"51a1f46d7920b826b528fb38161915faa5eda096",show:!this.hasError&&this.hasHelp},t("slot",{key:"7e262e73e07aeb3fb8665acb7f306dba65ad90c1",name:"help"}))))}get root(){return o(this)}};(function(e,t,o,i){var r,l=arguments.length,a=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(t,o,a):r(t,o))||a);l>3&&a&&Object.defineProperty(t,o,a)})([i({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;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;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-bottom: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-top:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{g as gux_form_field_file}
@@ -1 +1 @@
1
- import{r as e,h as t}from"./p-2e827df1.js";const r=class{constructor(t){e(this,t)}render(){return t("slot",{key:"955753bff72c465f0e72956388a5b358fff36a18"})}};r.style="::slotted(*){margin:0;font-family:var(--gse-semantic-forms-fieldset-header-text-fontFamily) !important;font-size:var(--gse-semantic-forms-fieldset-header-text-fontSize) !important;font-weight:var(--gse-semantic-forms-fieldset-header-text-fontWeight) !important;line-height:var(--gse-semantic-forms-fieldset-header-text-lineHeight) !important;color:var(--gse-semantic-forms-fieldset-header-foregroundColor) !important}";export{r as gux_form_fieldset_heading}
1
+ import{r as e,h as t}from"./p-53ec575f.js";const r=class{constructor(t){e(this,t)}render(){return t("slot",{key:"955753bff72c465f0e72956388a5b358fff36a18"})}};r.style="::slotted(*){margin:0;font-family:var(--gse-semantic-forms-fieldset-header-text-fontFamily) !important;font-size:var(--gse-semantic-forms-fieldset-header-text-fontSize) !important;font-weight:var(--gse-semantic-forms-fieldset-header-text-fontWeight) !important;line-height:var(--gse-semantic-forms-fieldset-header-text-lineHeight) !important;color:var(--gse-semantic-forms-fieldset-header-foregroundColor) !important}";export{r as gux_form_fieldset_heading}
@@ -0,0 +1 @@
1
+ import{g as n}from"./p-53ec575f.js";function t(t){return(c,i)=>{const{connectedCallback:e,disconnectedCallback:o}=c,s=new Map;c.connectedCallback=function(){const c=new MutationObserver(this[i].bind(this));return function(t,c,i,e){t.has(c)&&t.get(c).disconnect(),t.set(c,i),i.observe(n(c),e)}(s,this,c,t),e&&e.call(this)},c.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(s,this),o&&o.call(this)}}}export{t as O}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,H as e,g as i}from"./p-53ec575f.js";import{t as r}from"./p-e79ff8f4.js";import{D as o,g as h}from"./p-0436d67c.js";import{u as a,d as m,a as n}from"./p-7f923c19.js";import{g as p}from"./p-3b4a0d71.js";import"./p-4202e9f2.js";const f=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short",this.timeZone=void 0}componentWillLoad(){r(this.root),a()?this.hasRegionalDatesCookie=!0:this.formatter=new o(p(this.root))}renderTime(){return this.hasRegionalDatesCookie?m(n(this.root),{timeStyle:this.format,timeZone:h(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatTime(new Date(this.datetime),this.format,{timeZone:h(this.timeZone)})}render(){return s(e,{key:"b7e466d7e29d424c0e6832442fef6869277a666e"},this.renderTime())}get root(){return i(this)}};export{f as gux_time_beta}
@@ -1 +1 @@
1
- import{r as e,c as t,h as o,H as i,g as s}from"./p-2e827df1.js";import{r as n}from"./p-0934300e.js";import{b as a}from"./p-5bcc54c7.js";import"./p-4202e9f2.js";const r={createCustomOptionInstructions:", select to create a new custom option",createOption:'Add "{optionValue}"'},u=class{constructor(o){e(this,o),this.internalcreatenewoption=t(this,"internalcreatenewoption",7),this.value=void 0,this.active=!1,this.hidden=!0,this.filtered=!0,this.hovered=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}async guxEmitInternalCreateNewOption(){this.internalcreatenewoption.emit()}handleClick(){this.internalcreatenewoption.emit(this.value)}async componentWillLoad(){this.i18n=await a(this.root,r),this.root.id=this.root.id||n("gux-option-multi")}renderCustomOptionInstructions(){return o("span",{class:"gux-screenreader"},this.i18n("createCustomOptionInstructions"))}render(){return o(i,{key:"3350ea3c1b596ccef7a3e6caedc25a2ed262ec97",role:"option","aria-selected":!1,class:{"gux-active":this.active,"gux-hovered":this.hovered,"gux-filtered":this.filtered}},o("div",{key:"835177b597c4159cabe9e03338a380568f721df4",class:"gux-option"},o("gux-icon",{key:"6463f9b6e47da19ea7ec53d1a514fe3a06addd95",decorative:!0,"icon-name":"fa/plus-regular"}),o("div",{key:"8df695fa753fb4dffbf66a243d7d40cd9f951bf4",class:"gux-create-text"},this.i18n("createOption",{optionValue:this.value})),this.renderCustomOptionInstructions()))}get root(){return s(this)}};u.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;min-height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host:host(.gux-hovered:not([disabled])){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(.gux-filtered){display:none}:host gux-icon{width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height);padding-right:var(--gse-ui-menu-option-gap)}:host .gux-option{display:inline-flex}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{u as gux_create_option}
1
+ import{r as e,c as t,h as o,H as i,g as s}from"./p-53ec575f.js";import{r as n}from"./p-0934300e.js";import{b as a}from"./p-3b4a0d71.js";import"./p-4202e9f2.js";const r={createCustomOptionInstructions:", select to create a new custom option",createOption:'Add "{optionValue}"'},u=class{constructor(o){e(this,o),this.internalcreatenewoption=t(this,"internalcreatenewoption",7),this.value=void 0,this.active=!1,this.hidden=!0,this.filtered=!0,this.hovered=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}async guxEmitInternalCreateNewOption(){this.internalcreatenewoption.emit()}handleClick(){this.internalcreatenewoption.emit(this.value)}async componentWillLoad(){this.i18n=await a(this.root,r),this.root.id=this.root.id||n("gux-option-multi")}renderCustomOptionInstructions(){return o("span",{class:"gux-screenreader"},this.i18n("createCustomOptionInstructions"))}render(){return o(i,{key:"56d9ed4affeb1eb6138577df406ad5ddb397b2b2",role:"option","aria-selected":!1,class:{"gux-active":this.active,"gux-hovered":this.hovered,"gux-filtered":this.filtered}},o("div",{key:"96245daaf7f95ac89cf1179b4f5a3ab52f65aa20",class:"gux-option"},o("gux-icon",{key:"ab7121b9be86575ab6fd7f4b826ae5e062e73df3",decorative:!0,"icon-name":"fa/plus-regular"}),o("div",{key:"0e66206f686c355d0e49827728174ab90024e540",class:"gux-create-text"},this.i18n("createOption",{optionValue:this.value})),this.renderCustomOptionInstructions()))}get root(){return s(this)}};u.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;min-height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host:host(.gux-hovered:not([disabled])){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(.gux-filtered){display:none}:host gux-icon{width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height);padding-right:var(--gse-ui-menu-option-gap)}:host .gux-option{display:inline-flex}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{u as gux_create_option}
@@ -1 +1 @@
1
- import{r as t,h as a,H as i,g as s}from"./p-2e827df1.js";import{a as o}from"./p-8eaf8caf.js";const e=class{constructor(a){t(this,a),this.avatarElement=void 0}componentWillLoad(){this.validateSlot()}validateSlot(){var t;this.slottedElement=this.root.querySelector("a, button, gux-avatar-change-photo-beta"),this.slottedElement?(this.avatarElement=this.slottedElement.querySelector("gux-avatar-beta"),this.avatarElement||o(this.root,"Slotted element must contain a gux-avatar")):o(this.root,"An anchor tag, gux-avatar-change-photo-beta tag or button tag must be slotted into gux-avatar-focusable"),["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(this.slottedElement.addEventListener("keyup",(t=>{this.handleKeyEvent(t)})),this.slottedElement.addEventListener("focusout",(()=>{this.handleFocusOut()})))}disconnectedCallback(){var t,a,i;["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(null===(a=this.slottedElement)||void 0===a||a.removeEventListener("keyup",(t=>this.handleKeyEvent(t))),null===(i=this.slottedElement)||void 0===i||i.removeEventListener("focusout",(()=>this.handleFocusOut())))}handleKeyEvent(t){var a,i;"Tab"===t.key?this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(a=this.avatarElement)||void 0===a||a.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip()}),6e3)):this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(i=this.avatarElement)||void 0===i||i.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}handleFocusOut(){var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}render(){var t,s;return a(i,{key:"5a714928e48d84896fcefc7d4fc3d94077b736b1","gs-avatar-size":null!==(s=null===(t=this.avatarElement)||void 0===t?void 0:t.size)&&void 0!==s?s:"large"},a("slot",{key:"c2a04e76f9c917c495ba8e8de660472884c6c864"}))}get root(){return s(this)}};export{e as gux_avatar_focusable_beta}
1
+ import{r as t,h as a,H as i,g as s}from"./p-53ec575f.js";import{a as o}from"./p-8eaf8caf.js";const e=class{constructor(a){t(this,a),this.avatarElement=void 0}componentWillLoad(){this.validateSlot()}validateSlot(){var t;this.slottedElement=this.root.querySelector("a, button, gux-avatar-change-photo-beta"),this.slottedElement?(this.avatarElement=this.slottedElement.querySelector("gux-avatar-beta"),this.avatarElement||o(this.root,"Slotted element must contain a gux-avatar")):o(this.root,"An anchor tag, gux-avatar-change-photo-beta tag or button tag must be slotted into gux-avatar-focusable"),["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(this.slottedElement.addEventListener("keyup",(t=>{this.handleKeyEvent(t)})),this.slottedElement.addEventListener("focusout",(()=>{this.handleFocusOut()})))}disconnectedCallback(){var t,a,i;["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(null===(a=this.slottedElement)||void 0===a||a.removeEventListener("keyup",(t=>this.handleKeyEvent(t))),null===(i=this.slottedElement)||void 0===i||i.removeEventListener("focusout",(()=>this.handleFocusOut())))}handleKeyEvent(t){var a,i;"Tab"===t.key?this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(a=this.avatarElement)||void 0===a||a.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip()}),6e3)):this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(i=this.avatarElement)||void 0===i||i.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}handleFocusOut(){var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}render(){var t,s;return a(i,{key:"5a714928e48d84896fcefc7d4fc3d94077b736b1","gs-avatar-size":null!==(s=null===(t=this.avatarElement)||void 0===t?void 0:t.size)&&void 0!==s?s:"large"},a("slot",{key:"c2a04e76f9c917c495ba8e8de660472884c6c864"}))}get root(){return s(this)}};export{e as gux_avatar_focusable_beta}
@@ -0,0 +1 @@
1
+ import{r as e,f as o,h as t,g as r}from"./p-53ec575f.js";import{c as i,o as n}from"./p-f4751a15.js";import{O as l}from"./p-c5847c69.js";import{o as a}from"./p-e5b1cffc.js";import{p as s}from"./p-a11d5d42.js";import{h as f}from"./p-6d8b4027.js";import{a as u,G as d}from"./p-788c3a6d.js";import{G as p,a as g}from"./p-1ea82bf6.js";import{h,c,g as m,v as b,a as x}from"./p-42f2e889.js";import{t as v}from"./p-e79ff8f4.js";import{f as C}from"./p-54822e3b.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const y=class{constructor(o){e(this,o),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help")}handleKeyup(e){var o,t;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(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 guxForceUpdate(){this.hasContent=h(this.input),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(g,{key:"ee1ba845e3e069d33a4f843941433087966a9530",labelPosition:this.computedLabelPosition},t(p,{key:"fc30f907dd13e00a0965e0b43132d3ba189f664b",required:this.required,position:this.computedLabelPosition},t("slot",{key:"4ac5c5d7bf05b63fd72f03144c6b108a0b6367c2",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"6ecfc440ec3c70f27ee196bed53e7a0cfe484b56",variant:this.indicatorMark,required:this.required}),t("slot",{key:"2084f698c1828fb1f678148308ae0f1aa1f65e6d",name:"label-info"})),t("div",{key:"d18ed366dee72e7f8b8afcda6c03043b400b4f13",class:"gux-input-and-error-container"},t("div",{key:"cd80766d00e138306674e01e60d24a4e9fe978fd",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"a41e48e5b4e57c816af4a8a1b0081d5afb669f90",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"ba401019fff62d4a024e631e888b9c63b3eff925","icon-name":"fa/magnifying-glass-regular",decorative:!0}),t("slot",{key:"8be37fdfe79e838e66e76bd2db4239d3a1b4a88f",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"81f511295f00b69a4c4910b514a692293bbf577c",onClick:()=>c(this.input)}))),t(u,{key:"873888e1206a7c292a26a94a1dc37cf3bd20cf14",show:this.hasError},t("slot",{key:"4e2f93f89f8ef47653247aebf03dc833860e71ac",name:"error"})),t(d,{key:"fd65d4b252d260a0e738bb600c79d2f6d1720216",show:!this.hasError&&this.hasHelp},t("slot",{key:"61779b9bafbb1c4671f49373cbb9c8968d642cf2",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=h(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=h(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,l=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,t,l):i(o,t))||l);n>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;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;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-bottom: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-top: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){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);color:var(--gse-ui-formControl-input-populatedColor);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);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-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name=search]{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{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);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-focusRing-offset)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{y as gux_form_field_search}
@@ -1 +1 @@
1
- import{r as e,h as o,g as r}from"./p-2e827df1.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as n}from"./p-01471ba0.js";import{o as a}from"./p-e5b1cffc.js";import{p as l}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as f}from"./p-fb1ab7b1.js";import{G as d,a as p}from"./p-9773c4fe.js";import{v as g,a as c}from"./p-42f2e889.js";import{t as h}from"./p-5aade352.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(o){e(this,o),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),h(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"760bfeba50d1752e5fe40b8f9c960ea36389636b",labelPosition:this.computedLabelPosition},o(d,{key:"860f5c6100f4c65e5dd72d6a511211712c776eb9",required:this.required,position:this.computedLabelPosition},o("slot",{key:"171e431f5b48e9fde083e054544bd07300725a65",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"16eed4eb22cd41463cea6a49400a58c63abdaccb",variant:this.indicatorMark,required:this.required}),o("slot",{key:"b59a673e219a0db5da308491ad224de57389c8da",name:"label-info"})),o("div",{key:"4bae5cf7f7ceb0e8113be855ca622aac5a4b2198",class:"gux-input-and-error-container"},o("div",{key:"2e83a3a204825960a49a71a598553c445f8328f7",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"989d82b59d10a6c9994f65b54ab51b75ee66b6b5",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"7f95689539d778051a6e3ea722608395f860c07e",name:"input"}),o("gux-icon",{key:"1d0cb2955a5d02ad4e9b09a9448b9649e8c7dc63","icon-name":"custom/chevron-down-small-regular",decorative:!0}))),o(u,{key:"2f9df215c2078bb51ff5c970ef5269d3ac4ca624",show:this.hasError},o("slot",{key:"e2efb30eae0c20206017d4b21677d88ef884135b",name:"error"})),o(f,{key:"ed56813acf59677afe5db14ed67f779f517ca840",show:!this.hasError&&this.hasHelp},o("slot",{key:"70d7ea0ce9dc7bb0bc4871a9ae504b06aa30a398",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),l(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,a=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(o,r,a):i(o,r))||a);n>3&&a&&Object.defineProperty(o,r,a)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;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;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-bottom: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-top: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(select){flex:1 1 auto;align-self:auto;order:0;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding-left:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none}::slotted(select)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;width:100%;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);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-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;top:0;right:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{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);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-focusRing-offset)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{m as gux_form_field_select}
1
+ import{r as o,h as e,g as r}from"./p-53ec575f.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as n}from"./p-c5847c69.js";import{o as a}from"./p-e5b1cffc.js";import{p as l}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as f}from"./p-788c3a6d.js";import{G as d,a as p}from"./p-1ea82bf6.js";import{v as c,a as g}from"./p-42f2e889.js";import{t as h}from"./p-e79ff8f4.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(e){o(this,e),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(o){var e,r;"Tab"===o.key?this.input.matches(":focus-visible")&&(null===(e=this.labelInfo)||void 0===e||e.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var o;null===(o=this.labelInfo)||void 0===o||o.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var o;null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),h(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return e(p,{key:"a891d746f1e196c085401687a23d8e082db62558",labelPosition:this.computedLabelPosition},e(d,{key:"111051fdcd79a931c5e4fbb54f0f8dc858df324d",required:this.required,position:this.computedLabelPosition},e("slot",{key:"9fc7b6d5768b4c2783e9d5bb9ed606e89eda6cfd",name:"label",onSlotchange:()=>this.setLabel()}),e("gux-form-field-label-indicator",{key:"aa2355ad7107bbf7cc3ffc196328b71b9097a532",variant:this.indicatorMark,required:this.required}),e("slot",{key:"64e182139cf6ba85f444e50a386dd4776f921364",name:"label-info"})),e("div",{key:"063a815a8f0b490f434f22e5eca46151c60870da",class:"gux-input-and-error-container"},e("div",{key:"6d98a4f02855f4dedc72c3ef16fc4853b0edfda5",class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{key:"77c7a76e45c4b99254ca8ff0b6d9d476d83e6fc9",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},e("slot",{key:"a6b83dcf94d3ba5d18593fc7ca5c363fa1a76343",name:"input"}),e("gux-icon",{key:"37d692a4d81936dfc3359e720c0c3ec2342f3a58","icon-name":"custom/chevron-down-small-regular",decorative:!0}))),e(u,{key:"e7ac6050685cc4d6e591001428e0bfeb4c3d3a4b",show:this.hasError},e("slot",{key:"b0de1db0a8b8b1036284a7749dcd6063baf08a29",name:"error"})),e(f,{key:"07256c1cf58f785aa2069ce16b87e32bb372ec5c",show:!this.hasError&&this.hasHelp},e("slot",{key:"c09f0d5e5cdb02ea8d5a75f4a469f407d2168578",name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${o}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),l(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(o=>{this.disabled=o})),this.requiredObserver=a(this.input,(o=>{this.required=o})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return r(this)}};(function(o,e,r,t){var i,n=arguments.length,a=n<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(o,e,r,t);else for(var l=o.length-1;l>=0;l--)(i=o[l])&&(a=(n<3?i(a):n>3?i(e,r,a):i(e,r))||a);n>3&&a&&Object.defineProperty(e,r,a)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;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;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-bottom: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-top: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(select){flex:1 1 auto;align-self:auto;order:0;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding-left:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none}::slotted(select)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;width:100%;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);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-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;top:0;right:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{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);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-focusRing-offset)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{m as gux_form_field_select}
@@ -1 +1 @@
1
- import{r as e,h as o,H as t,g as r}from"./p-2e827df1.js";import{c as a,o as i}from"./p-f4751a15.js";import{O as s}from"./p-01471ba0.js";import{p as l}from"./p-a11d5d42.js";import{h as C}from"./p-6d8b4027.js";import{a as g,G as n}from"./p-fb1ab7b1.js";import{t as c}from"./p-5aade352.js";import{g as d,v as h}from"./p-42f2e889.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const u=class{constructor(o){e(this,o),this.labelPosition="beside",this.disabled=void 0,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:"f8e07dcdc6178dac8469a373e7fc9f1e8f89fa2c",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"4ae6689a6fc1a858590718119c487449793e024e",class:"gux-form-field-container"},o("div",{key:"1ac2613ffcc3f0d36dda677bd842a4071428160a",class:"gux-input-label"},o("div",{key:"1fcab62fb4fbee25db937968903bb210f9b5ae72",class:"gux-input"},o("slot",{key:"508ef0139fbbdb70f5a8a24770bec702710cead5",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"130dbb64399341cec6646991555c556b32a9ff61",class:`gux-label-${this.labelPosition}`,"aria-disabled":this.disabled?"true":"false"},o("slot",{key:"dab4781b5eb6f1a10ca162235d59bea844510642",name:"label"}))),o("div",{key:"34a2f5460c3a2d1eb54d87ce41d573ff066625db",class:"error-and-help-text"},o(g,{key:"59a2dfd40d166c56c1bb07b3160694b92d3baaeb",show:this.hasError},o("slot",{key:"886825073dbbdaaacf6edf8fc78ace33a0f116f9",name:"error"})),o(n,{key:"f8fbad0a38ebbb03ead3726c018cc365eacb4b1c",show:!this.hasError&&this.hasHelp},o("slot",{key:"d798fe0c5fcfb93c616be39031d2b38abca1240b",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=i(this.input,(e=>{this.disabled=e})),h(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var a,i=arguments.length,s=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(s=(i<3?a(s):i>3?a(o,t,s):a(o,t))||s);i>3&&s&&Object.defineProperty(o,t,s)})([s({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;align-items:center;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;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);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-top: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;width:var(--gse-ui-checkbox-icon-width);height:var(--gse-ui-checkbox-icon-height);margin:0;text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:focus-visible){border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall);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)}::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);color:var(--gse-ui-checkbox-label-foregroundColor);vertical-align:middle}";export{u as gux_form_field_checkbox}
1
+ import{r as e,h as o,H as t,g as r}from"./p-53ec575f.js";import{c as i,o as a}from"./p-f4751a15.js";import{O as s}from"./p-c5847c69.js";import{p as l}from"./p-a11d5d42.js";import{h as C}from"./p-6d8b4027.js";import{a as g,G as d}from"./p-788c3a6d.js";import{t as n}from"./p-e79ff8f4.js";import{g as c,v as h}from"./p-42f2e889.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const u=class{constructor(o){e(this,o),this.labelPosition="beside",this.disabled=void 0,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"),n(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"f5d20d98c22ac698bad67693c5db7adad45fc484",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"29ba725d2864d6e740d6742ee9f2fc2a85f4d026",class:"gux-form-field-container"},o("div",{key:"fd809950de0a938ce2ac03026786d858d1bba2f9",class:"gux-input-label"},o("div",{key:"67b905de811d7723de96b907df7bf152fb92c608",class:"gux-input"},o("slot",{key:"b7d0e493e505612196dbcd99479caea0da6f0e79",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"2036e55553e13322760add08a4edabd186b0cbca",class:`gux-label-${this.labelPosition}`,"aria-disabled":this.disabled?"true":"false"},o("slot",{key:"32eb7d321e15f817b53b09101a17e7e582ff945a",name:"label"}))),o("div",{key:"7fa805fbd8c0d74e56450efe6bb48d05a69629d4",class:"error-and-help-text"},o(g,{key:"4b1095674129a10ce108bcdd32dae5715546c788",show:this.hasError},o("slot",{key:"5c93afe494e13b9634174899e9f38337bfc1e23b",name:"error"})),o(d,{key:"4f9bae1bccb704dbfa21404c18091fd4094cad84",show:!this.hasError&&this.hasHelp},o("slot",{key:"7787802e47891d074c87a0a750c337852fc2352b",name:"help"})))))}get variant(){return this.labelPosition.toLowerCase()}setInput(){this.input=c(this.root,'input[type="checkbox"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),l(this.input),this.disabled=i(this.input),this.disabledObserver=a(this.input,(e=>{this.disabled=e})),h(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,a=arguments.length,s=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(s=(a<3?i(s):a>3?i(o,t,s):i(o,t))||s);a>3&&s&&Object.defineProperty(o,t,s)})([s({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;align-items:center;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;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);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-top: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;width:var(--gse-ui-checkbox-icon-width);height:var(--gse-ui-checkbox-icon-height);margin:0;text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:focus-visible){border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall);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)}::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);color:var(--gse-ui-checkbox-label-foregroundColor);vertical-align:middle}";export{u as gux_form_field_checkbox}
@@ -1 +1 @@
1
- import{r as e,h as o,g as t}from"./p-2e827df1.js";import{g as r}from"./p-4202e9f2.js";import{g as n}from"./p-0268a3e8.js";import{h as i}from"./p-6d8b4027.js";const s=class{constructor(o){e(this,o),this.value=void 0,this.selected=!1,this.disabled=!1,this.iconOnly=!1,this.position=void 0}onClick(e){this.disabled&&e.stopPropagation()}isInStartPosition(e){const o=r("gux-segmented-control-beta",e);return 0===Array.from(o.children).findIndex((o=>o===e))}isInEndPosition(e){const o=r("gux-segmented-control-beta",e),t=Array.from(o.children);return t.findIndex((o=>o===e))===t.length-1}renderTooltip(){if(this.iconOnly)return o("gux-tooltip",null,o("div",{slot:"content"},n(this.root,"text")))}renderIconSlot(){if(i(this.root,"icon"))return o("div",{class:{"gux-icon":!0,"gux-icon-only":this.iconOnly}},o("slot",{name:"icon"}))}render(){return o("div",{key:"bcae6b6301a82b51deb9a99955dc575fe2897153",class:{"gux-container":!0,"gux-start":this.isInStartPosition(this.root),"gux-end":this.isInEndPosition(this.root)}},o("button",{key:"a3b65a43182e16b702f6541a5adfb4045751554c",class:{"gux-segmented-control-item":!0,"gux-icon-only":this.iconOnly,"gux-selected":this.selected},type:"button",disabled:this.disabled},this.renderIconSlot(),o("div",{key:"5c0c4ae19ef344634f25ba6fd225042557e5187a",class:{"gux-text":!0,"gux-icon-only":this.iconOnly}},o("slot",{key:"097d01545d5ffced13fea50f67b0c05a0c8075a6",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return t(this)}};s.style="button{all:unset}.gux-container{height:var(--gse-ui-segmentedControl-height);cursor:pointer;border-color:var(--gse-ui-segmentedControl-divider-color);border-style:var(--gse-ui-segmentedControl-divider-style);border-width:var(--gse-ui-segmentedControl-divider-width);border-right:none;border-radius:var(--gse-ui-segmentedControl-button-middle-borderRadius)}.gux-container.gux-start{border-left-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-button-start-borderRadius)}.gux-container.gux-end{border-style:var(--gse-ui-segmentedControl-divider-style);border-width:var(--gse-ui-segmentedControl-divider-width);border-right-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-button-end-borderRadius)}.gux-container.gux-start.gux-end{border-radius:var(--gse-ui-segmentedControl-borderRadius)}.gux-container .gux-segmented-control-item{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-segmentedControl-button-gap);place-content:stretch flex-start;align-items:center;height:100%;padding:var(--gse-ui-segmentedControl-button-padding);color:var(--gse-ui-segmentedControl-button-default-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-default-backgroundColor)}.gux-container .gux-segmented-control-item.gux-icon-only{padding:var(--gse-ui-segmentedControl-iconOnly-padding)}.gux-container .gux-segmented-control-item.gux-icon-only .gux-text.gux-icon-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-container .gux-segmented-control-item:hover{color:var(--gse-ui-segmentedControl-button-hover-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-hover-backgroundColor)}.gux-container .gux-segmented-control-item[disabled]{color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor);pointer-events:none;background-color:var(--gse-ui-segmentedControl-button-disabled-backgroundColor);opacity:var(--gse-ui-segmentedControl-button-disabled-opacity)}.gux-container .gux-segmented-control-item.gux-selected{color:var(--gse-ui-segmentedControl-button-active-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-active-backgroundColor)}.gux-container .gux-segmented-control-item:focus-visible{position:relative;z-index:var(--gse-semantic-zIndex-showFocus);border-radius:var(--gse-ui-segmentedControl-borderRadius);outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset);outline-offset:var(--gse-ui-segmentedControl-focus-offset)}.gux-container .gux-segmented-control-item .gux-icon slot[name=icon]::slotted(gux-icon){width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}";export{s as gux_segmented_control_item}
1
+ import{r as e,h as o,g as t}from"./p-53ec575f.js";import{g as r}from"./p-4202e9f2.js";import{g as n}from"./p-0268a3e8.js";import{h as i}from"./p-6d8b4027.js";const s=class{constructor(o){e(this,o),this.value=void 0,this.selected=!1,this.disabled=!1,this.iconOnly=!1,this.position=void 0}onClick(e){this.disabled&&e.stopPropagation()}isInStartPosition(e){const o=r("gux-segmented-control-beta",e);return 0===Array.from(o.children).findIndex((o=>o===e))}isInEndPosition(e){const o=r("gux-segmented-control-beta",e),t=Array.from(o.children);return t.findIndex((o=>o===e))===t.length-1}renderTooltip(){if(this.iconOnly)return o("gux-tooltip",null,o("div",{slot:"content"},n(this.root,"text")))}renderIconSlot(){if(i(this.root,"icon"))return o("div",{class:{"gux-icon":!0,"gux-icon-only":this.iconOnly}},o("slot",{name:"icon"}))}render(){return o("div",{key:"bcae6b6301a82b51deb9a99955dc575fe2897153",class:{"gux-container":!0,"gux-start":this.isInStartPosition(this.root),"gux-end":this.isInEndPosition(this.root)}},o("button",{key:"a3b65a43182e16b702f6541a5adfb4045751554c",class:{"gux-segmented-control-item":!0,"gux-icon-only":this.iconOnly,"gux-selected":this.selected},type:"button",disabled:this.disabled},this.renderIconSlot(),o("div",{key:"5c0c4ae19ef344634f25ba6fd225042557e5187a",class:{"gux-text":!0,"gux-icon-only":this.iconOnly}},o("slot",{key:"097d01545d5ffced13fea50f67b0c05a0c8075a6",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return t(this)}};s.style="button{all:unset}.gux-container{height:var(--gse-ui-segmentedControl-height);cursor:pointer;border-color:var(--gse-ui-segmentedControl-divider-color);border-style:var(--gse-ui-segmentedControl-divider-style);border-width:var(--gse-ui-segmentedControl-divider-width);border-right:none;border-radius:var(--gse-ui-segmentedControl-button-middle-borderRadius)}.gux-container.gux-start{border-left-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-button-start-borderRadius)}.gux-container.gux-end{border-style:var(--gse-ui-segmentedControl-divider-style);border-width:var(--gse-ui-segmentedControl-divider-width);border-right-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-button-end-borderRadius)}.gux-container.gux-start.gux-end{border-radius:var(--gse-ui-segmentedControl-borderRadius)}.gux-container .gux-segmented-control-item{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-segmentedControl-button-gap);place-content:stretch flex-start;align-items:center;height:100%;padding:var(--gse-ui-segmentedControl-button-padding);color:var(--gse-ui-segmentedControl-button-default-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-default-backgroundColor)}.gux-container .gux-segmented-control-item.gux-icon-only{padding:var(--gse-ui-segmentedControl-iconOnly-padding)}.gux-container .gux-segmented-control-item.gux-icon-only .gux-text.gux-icon-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-container .gux-segmented-control-item:hover{color:var(--gse-ui-segmentedControl-button-hover-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-hover-backgroundColor)}.gux-container .gux-segmented-control-item[disabled]{color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor);pointer-events:none;background-color:var(--gse-ui-segmentedControl-button-disabled-backgroundColor);opacity:var(--gse-ui-segmentedControl-button-disabled-opacity)}.gux-container .gux-segmented-control-item.gux-selected{color:var(--gse-ui-segmentedControl-button-active-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-active-backgroundColor)}.gux-container .gux-segmented-control-item:focus-visible{position:relative;z-index:var(--gse-semantic-zIndex-showFocus);border-radius:var(--gse-ui-segmentedControl-borderRadius);outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset);outline-offset:var(--gse-ui-segmentedControl-focus-offset)}.gux-container .gux-segmented-control-item .gux-icon slot[name=icon]::slotted(gux-icon){width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}";export{s as gux_segmented_control_item}
@@ -1 +1 @@
1
- import{r as e,c as o,h as t,H as r,g as i}from"./p-2e827df1.js";import{b as a}from"./p-5bcc54c7.js";import{c as s}from"./p-db201bbc.js";import"./p-4202e9f2.js";import"./p-a43079c8.js";import"./p-2c25e2f2.js";const n={activateReordering:"Activate reordering mode for {columnName} column"},c=class{constructor(t){e(this,t),this.internal_order_change=o(this,"internal_order_change",7),this.internal_keyboard_reorder_start=o(this,"internal_keyboard_reorder_start",7),this.internal_keyboard_reorder_move=o(this,"internal_keyboard_reorder_move",7),this.internal_keyboard_reorder_emit=o(this,"internal_keyboard_reorder_emit",7),this.internal_keyboard_reorder_finish=o(this,"internal_keyboard_reorder_finish",7),this.orderId=void 0,this.highlightActive=void 0,this.highlight=void 0,this.text=void 0,this.pendingReorder="none",this.isDragging=!1,this.isReordering=!1}async guxSetHighlight(e="",o=!1){this.highlight=e,this.highlightActive=o}async guxFocus(){this.reorderButtonElement.focus()}onBlur(){this.setReorderMode(!1)}onDragStart(e){this.isDragging=!0;const o=s(this.root);e.dataTransfer.setData("oldIndex",String(o)),e.dataTransfer.effectAllowed="move"}onDragEnter(e){e.dataTransfer.dropEffect="move",this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragOver(e){e.preventDefault(),this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragLeave(){this.pendingReorder="none"}onDragEnd(){this.isDragging=!1}onDrop(e){const o=Number(e.dataTransfer.getData("oldIndex")),t=s(this.root);e.stopPropagation(),e.stopImmediatePropagation(),this.pendingReorder="none";const r=function(e,o,t){return e<o?t?o-1:o:t?o:o+1}(o,t,this.mouseOnTopHalf(e));return this.internal_order_change.emit({oldIndex:o,newIndex:r}),!1}mouseOnTopHalf(e){const o=this.root.getBoundingClientRect();return e.clientY-o.top<=(o.bottom-o.top)/2}onSlotChange(){this.text=this.root.querySelector("gux-form-field-checkbox label").textContent}setReorderMode(e,o=!1){this.isReordering!==e&&(this.isReordering=e,e?this.internal_keyboard_reorder_start.emit(this.text):(o&&this.internal_keyboard_reorder_emit.emit(),this.internal_keyboard_reorder_finish.emit()))}toggleReorderMode(){this.setReorderMode(!this.isReordering,!0)}keyboardReorder(e){if(this.isReordering)switch(e.key){case"ArrowUp":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1,column:this.text});break;case"ArrowDown":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1,column:this.text});break;case"Home":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1/0,column:this.text});break;case"End":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1/0,column:this.text});break;case"Escape":e.preventDefault(),this.setReorderMode(!1)}}async componentWillLoad(){this.i18n=await a(this.root,n)}render(){return t(r,{key:"2bb4ea21fc5012004432569cabaa49279967979d",draggable:"true"},t("div",{key:"4799c5a26f38565b36307fef017f024fc210f02b",class:{"gux-container":!0,[`gux-drop-${this.pendingReorder}`]:!0,"gux-dragging":this.isDragging}},t("button",{key:"a303cd9386a4d5a8e616ec192a709397e2da5b3b",class:{"gux-reorder":!0,"gux-reordering":this.isReordering},type:"button",onClick:()=>this.toggleReorderMode(),onKeyDown:e=>this.keyboardReorder(e),ref:e=>this.reorderButtonElement=e},t("gux-icon",{key:"f207fd6ffdf402e157688c30444264dbfb53a1fe","icon-name":"fa/grip-vertical-solid",decorative:!0}),t("span",{key:"0b2985784e3f1c9b65d71375784ed3c42154b571",class:"gux-sr-only"},this.i18n("activateReordering",{columnName:this.text}))),t("div",{key:"e632ea7e95a7a597b961c43f140434b046530ecf",class:"gux-select"},t("slot",{key:"97d48b3606f4e03d7c44e1e386b95a5f328c3a06",onSlotchange:()=>this.onSlotChange()}),t("gux-text-highlight",{key:"a5c48efa350c3351cef3fcd324e5d7574c9e3cca",highlight:this.highlight,text:this.text,strategy:"contains",dimmed:!this.highlightActive}))))}get root(){return i(this)}};c.style=":host([gs-reorder-indicator=above]) .gux-container{border-top-color:#aac9ff}:host([gs-reorder-indicator=below]) .gux-container{border-bottom-color:#aac9ff}.gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-editColumn-editColumnItem-gap);place-content:stretch flex-start;align-items:center;margin-bottom:-2px;border-top:2px solid transparent;border-bottom:2px solid transparent}.gux-container.gux-drop-above{border-top-color:#aac9ff}.gux-container.gux-drop-below{border-bottom-color:#aac9ff}.gux-container.gux-dragging{border-top-color:transparent;border-bottom-color:transparent;opacity:0.4}.gux-container .gux-reorder{all:unset;display:flex;flex:0 1 auto;align-self:auto;order:0;color:#596373;cursor:grab;border-radius:4px}.gux-container .gux-reorder gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}.gux-container .gux-reorder.gux-reordering:focus-visible gux-icon{color:#2a60c8}.gux-container .gux-reorder:active{pointer-events:none;cursor:grabbing !important}.gux-container .gux-reorder:hover,.gux-container .gux-reorder:focus-visible{outline:var(--gse-semantic-focusRing-small-border-color) var(--gse-semantic-focusRing-small-border-style) var(--gse-semantic-focusRing-small-border-width)}.gux-container .gux-reorder:hover gux-icon,.gux-container .gux-reorder:focus-visible gux-icon{color:#2a60c8}.gux-container .gux-select{position:relative;flex:1 1 auto;align-self:auto;order:1}.gux-container .gux-select gux-text-highlight{position:absolute;top:1px;left:calc(var(--gse-ui-icon-size-sm) + var(--gse-ui-checkbox-gap));color:transparent;pointer-events:none}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{c as gux_column_manager_item}
1
+ import{r as e,c as o,h as t,H as r,g as i}from"./p-53ec575f.js";import{b as s}from"./p-3b4a0d71.js";import{c as a}from"./p-db201bbc.js";import"./p-4202e9f2.js";import"./p-a43079c8.js";import"./p-2c25e2f2.js";const n={activateReordering:"Activate reordering mode for {columnName} column"},c=class{constructor(t){e(this,t),this.internal_order_change=o(this,"internal_order_change",7),this.internal_keyboard_reorder_start=o(this,"internal_keyboard_reorder_start",7),this.internal_keyboard_reorder_move=o(this,"internal_keyboard_reorder_move",7),this.internal_keyboard_reorder_emit=o(this,"internal_keyboard_reorder_emit",7),this.internal_keyboard_reorder_finish=o(this,"internal_keyboard_reorder_finish",7),this.orderId=void 0,this.highlightActive=void 0,this.highlight=void 0,this.text=void 0,this.pendingReorder="none",this.isDragging=!1,this.isReordering=!1}async guxSetHighlight(e="",o=!1){this.highlight=e,this.highlightActive=o}async guxFocus(){this.reorderButtonElement.focus()}onBlur(){this.setReorderMode(!1)}onDragStart(e){this.isDragging=!0;const o=a(this.root);e.dataTransfer.setData("oldIndex",String(o)),e.dataTransfer.effectAllowed="move"}onDragEnter(e){e.dataTransfer.dropEffect="move",this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragOver(e){e.preventDefault(),this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragLeave(){this.pendingReorder="none"}onDragEnd(){this.isDragging=!1}onDrop(e){const o=Number(e.dataTransfer.getData("oldIndex")),t=a(this.root);e.stopPropagation(),e.stopImmediatePropagation(),this.pendingReorder="none";const r=function(e,o,t){return e<o?t?o-1:o:t?o:o+1}(o,t,this.mouseOnTopHalf(e));return this.internal_order_change.emit({oldIndex:o,newIndex:r}),!1}mouseOnTopHalf(e){const o=this.root.getBoundingClientRect();return e.clientY-o.top<=(o.bottom-o.top)/2}onSlotChange(){this.text=this.root.querySelector("gux-form-field-checkbox label").textContent}setReorderMode(e,o=!1){this.isReordering!==e&&(this.isReordering=e,e?this.internal_keyboard_reorder_start.emit(this.text):(o&&this.internal_keyboard_reorder_emit.emit(),this.internal_keyboard_reorder_finish.emit()))}toggleReorderMode(){this.setReorderMode(!this.isReordering,!0)}keyboardReorder(e){if(this.isReordering)switch(e.key){case"ArrowUp":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1,column:this.text});break;case"ArrowDown":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1,column:this.text});break;case"Home":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1/0,column:this.text});break;case"End":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1/0,column:this.text});break;case"Escape":e.preventDefault(),this.setReorderMode(!1)}}async componentWillLoad(){this.i18n=await s(this.root,n)}render(){return t(r,{key:"5f78448224d699382c613e4967793af115acee53",draggable:"true"},t("div",{key:"bfb206922c32cfc86e1ab9d58bbfbd964993fe38",class:{"gux-container":!0,[`gux-drop-${this.pendingReorder}`]:!0,"gux-dragging":this.isDragging}},t("button",{key:"29f9dec15ed10934894afba83f66f0fba94d1ba2",class:{"gux-reorder":!0,"gux-reordering":this.isReordering},type:"button",onClick:()=>this.toggleReorderMode(),onKeyDown:e=>this.keyboardReorder(e),ref:e=>this.reorderButtonElement=e},t("gux-icon",{key:"8a86b73119466abf7b9bdf44ff6d8cbc6c07fb44","icon-name":"fa/grip-vertical-solid",decorative:!0}),t("span",{key:"688e1ee0d67223800d062c6f0a2782e527e63968",class:"gux-sr-only"},this.i18n("activateReordering",{columnName:this.text}))),t("div",{key:"4c915195cc11d21d657ebf4f76f0e30cd20e7f3b",class:"gux-select"},t("slot",{key:"d5e0e53225d2c9264b3acc1c4c276e69eb54ba47",onSlotchange:()=>this.onSlotChange()}),t("gux-text-highlight",{key:"3a3a5d6d8167f3000d248d9ce4de9fb084bc5080",highlight:this.highlight,text:this.text,strategy:"contains",dimmed:!this.highlightActive}))))}get root(){return i(this)}};c.style=":host([gs-reorder-indicator=above]) .gux-container{border-top-color:#aac9ff}:host([gs-reorder-indicator=below]) .gux-container{border-bottom-color:#aac9ff}.gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-editColumn-editColumnItem-gap);place-content:stretch flex-start;align-items:center;margin-bottom:-2px;border-top:2px solid transparent;border-bottom:2px solid transparent}.gux-container.gux-drop-above{border-top-color:#aac9ff}.gux-container.gux-drop-below{border-bottom-color:#aac9ff}.gux-container.gux-dragging{border-top-color:transparent;border-bottom-color:transparent;opacity:0.4}.gux-container .gux-reorder{all:unset;display:flex;flex:0 1 auto;align-self:auto;order:0;color:#596373;cursor:grab;border-radius:4px}.gux-container .gux-reorder gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}.gux-container .gux-reorder.gux-reordering:focus-visible gux-icon{color:#2a60c8}.gux-container .gux-reorder:active{pointer-events:none;cursor:grabbing !important}.gux-container .gux-reorder:hover,.gux-container .gux-reorder:focus-visible{outline:var(--gse-semantic-focusRing-small-border-color) var(--gse-semantic-focusRing-small-border-style) var(--gse-semantic-focusRing-small-border-width)}.gux-container .gux-reorder:hover gux-icon,.gux-container .gux-reorder:focus-visible gux-icon{color:#2a60c8}.gux-container .gux-select{position:relative;flex:1 1 auto;align-self:auto;order:1}.gux-container .gux-select gux-text-highlight{position:absolute;top:1px;left:calc(var(--gse-ui-icon-size-sm) + var(--gse-ui-checkbox-gap));color:transparent;pointer-events:none}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{c as gux_column_manager_item}